Skip to content

Commit 6899a82

Browse files
dependabot[bot]nextcloud-command
authored andcommitted
Chore(deps-dev): Bump @nextcloud/vite-config from 1.5.2 to 1.5.4
Bumps [@nextcloud/vite-config](https://github.com/nextcloud/nextcloud-vite-config) from 1.5.2 to 1.5.4. - [Release notes](https://github.com/nextcloud/nextcloud-vite-config/releases) - [Changelog](https://github.com/nextcloud-libraries/nextcloud-vite-config/blob/v1.5.4/CHANGELOG.md) - [Commits](nextcloud-libraries/nextcloud-vite-config@v1.5.2...v1.5.4) --- updated-dependencies: - dependency-name: "@nextcloud/vite-config" dependency-version: 1.5.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 47831ed commit 6899a82

8 files changed

+293
-245
lines changed

js/NcIconSvgWrapper-CHmdAuhg-jauN2lNZ.chunk.mjs

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

js/firstrunwizard-about.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('firstrunwizard', '', 'js/main-B4ixgFCu.chunk.mjs'),window.OC.filePath('firstrunwizard', '', 'js/NcIconSvgWrapper-CHmdAuhg-jauN2lNZ.chunk.mjs')])))=>i.map(i=>d[i]);
22
import{_ as i}from"./modulepreload-polyfill-Cp76Uzro.chunk.mjs";document.addEventListener("DOMContentLoaded",function(){const e=()=>document.querySelector("#firstrunwizard_about"),n=()=>{e().addEventListener("click",async function(t){t.stopPropagation(),t.preventDefault();const o=document.querySelector('[aria-controls="header-menu-user-menu"]')??void 0,{open:r}=await i(async()=>{const{open:u}=await import("./main-B4ixgFCu.chunk.mjs");return{open:u}},__vite__mapDeps([0,1]),import.meta.url);r(o),OC.hideMenus(()=>!1)})};e()?n():window._nc_event_bus.subscribe("core:user-menu:mounted",n)});
3+
//# sourceMappingURL=firstrunwizard-about.mjs.map

js/firstrunwizard-activate.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('firstrunwizard', '', 'js/main-B4ixgFCu.chunk.mjs'),window.OC.filePath('firstrunwizard', '', 'js/NcIconSvgWrapper-CHmdAuhg-jauN2lNZ.chunk.mjs')])))=>i.map(i=>d[i]);
22
import{_ as t}from"./modulepreload-polyfill-Cp76Uzro.chunk.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-B4ixgFCu.chunk.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()});
3+
//# sourceMappingURL=firstrunwizard-activate.mjs.map

js/firstrunwizard-settings.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,3 +930,4 @@ Content-Type: text/plain; charset=UTF-8
930930
Language: zu_ZA
931931
Plural-Forms: nplurals=2; plural=(n != 1);
932932
`]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:[""]}}}}}].map(e=>Z.addTranslation(e.locale,e.json));const w=Z.build();w.ngettext.bind(w),w.gettext.bind(w);const ns="off",rs="polite",os="assertive";var B=(e=>(e[e.OFF=ns]="OFF",e[e.POLITE=rs]="POLITE",e[e.ASSERTIVE=os]="ASSERTIVE",e))(B||{});const is=7e3;function W(e,s){var t;if(s=Object.assign({timeout:is,isHTML:!1,type:void 0,selector:void 0,onRemove:()=>{},onClick:void 0,close:!0},s),typeof e=="string"&&!s.isHTML){const i=document.createElement("div");i.innerHTML=e,e=i.innerText}let n=(t=s.type)!=null?t:"";typeof s.onClick=="function"&&(n+=" toast-with-click ");const o=e instanceof Node;let r=B.POLITE;s.ariaLive?r=s.ariaLive:(s.type==="toast-error"||s.type==="toast-undo")&&(r=B.ASSERTIVE);const a=as({[o?"node":"text"]:e,duration:s.timeout,callback:s.onRemove,onClick:s.onClick,close:s.close,gravity:"top",selector:s.selector,position:"right",backgroundColor:"",className:"dialogs "+n,escapeMarkup:!s.isHTML,ariaLive:r});return a.showToast(),a}function ls(e,s){return W(e,{...s,type:"toast-error"})}function us(e,s){return W(e,{...s,type:"toast-success"})}V(ne);const ms={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var ds=function(){var e=this,s=e._self._c;return s("span",e._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[s("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[s("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[e.title?s("title",[e._v(e._s(e.title))]):e._e()])])])},gs=[],cs=F(ms,ds,gs,!1,null,null);const ps=cs.exports,fs={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var hs=function(){var e=this,s=e._self._c;return s("span",e._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[s("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[s("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[e.title?s("title",[e._v(e._s(e.title))]):e._e()])])])},xs=[],Cs=F(fs,hs,xs,!1,null,null);const ys=Cs.exports;function Fs(e,s,t=!1){const n=re().proxy;return t&&n.$props[e]===void 0&&n.$props.modelValue===void 0&&K.util.warn(`Missing required prop: "modelValue" or old "${e}"`),oe({get(){return n.$props[e]!==void 0?n.$props[e]:n.$props.modelValue},set(o){n.$emit("update:modelValue",o),n.$emit("update:model-value",o),n.$emit(s,o)}})}const ws={name:"NcInputField",components:{NcButton:I,AlertCircle:ps,Check:ys},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},type:{type:String,default:"text",validator:e=>["text","password","email","tel","url","search","number"].includes(e)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","update:modelValue","update:model-value","trailing-button-click"],setup(){return{model:Fs("value","update:value",!0)}},computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+ie()},hasTrailingIcon(){return this.success},hasPlaceholder(){return this.placeholder!==""&&this.placeholder!==void 0},computedPlaceholder(){return this.hasPlaceholder?this.placeholder:this.label},isValidLabel(){const e=this.label||this.labelOutside;return e||console.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),e},ariaDescribedby(){const e=[];return this.helperText.length>0&&e.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&e.push(this.$attrs["aria-describedby"]),e.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(e){const s=this.type==="number"&&typeof this.model=="number"?parseFloat(e.target.value,10):e.target.value;this.model=s},handleTrailingButtonClick(e){this.$emit("trailing-button-click",e)}}};var vs=function(){var e=this,s=e._self._c;return s("div",{staticClass:"input-field",class:{"input-field--disabled":e.disabled,"input-field--label-outside":e.labelOutside||!e.isValidLabel,"input-field--leading-icon":!!e.$scopedSlots.icon||!!e.$scopedSlots.default||!!e.$slots.default,"input-field--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field--pill":e.pill}},[s("div",{staticClass:"input-field__main-wrapper"},[s("input",e._g(e._b({ref:"input",staticClass:"input-field__input",class:[e.inputClass,{"input-field__input--success":e.success,"input-field__input--error":e.error}],attrs:{id:e.computedId,type:e.type,disabled:e.disabled,placeholder:e.computedPlaceholder,"aria-describedby":e.ariaDescribedby,"aria-live":"polite"},domProps:{value:e.model?.toString()},on:{input:e.handleInput}},"input",e.$attrs,!1),e.$listeners)),!e.labelOutside&&e.isValidLabel?s("label",{staticClass:"input-field__label",attrs:{for:e.computedId}},[e._v(" "+e._s(e.label)+" ")]):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:!!e.$scopedSlots.icon||!!e.$scopedSlots.default||!!e.$slots.default,expression:"!!$scopedSlots.icon || !!$scopedSlots.default || !!$slots.default"}],staticClass:"input-field__icon input-field__icon--leading"},[e._t("icon",function(){return[e._t("default")]})],2),e.showTrailingButton?s("NcButton",{staticClass:"input-field__trailing-button",attrs:{type:"tertiary-no-background","aria-label":e.trailingButtonLabel,disabled:e.disabled},on:{click:e.handleTrailingButtonClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("trailing-button-icon")]},proxy:!0}],null,!0)}):e.success||e.error?s("div",{staticClass:"input-field__icon input-field__icon--trailing"},[e.success?s("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):e.error?s("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):e._e()],1):e._e()],1),e.helperText.length>0?s("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":e.error,"input-field__helper-text-message--success":e.success},attrs:{id:`${e.inputName}-helper-text`}},[e.success?s("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e.error?s("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e._e(),e._v(" "+e._s(e.helperText)+" ")],1):e._e()])},Ts=[],Es=F(ws,vs,Ts,!1,null,"ceb23641");const Ns=Es.exports,Ls=T({__name:"SettingsServer",setup(e){const s=le(),t=b(U),n=b(0);function o(){try{window.navigator.clipboard.writeText(s),us(h("firstrunwizard","URL copied")),n.value&&window.clearTimeout(n.value),t.value=me,n.value=window.setTimeout(()=>{t.value=U},3e3)}catch{ls(h("firstrunwizard","Could not copy the URL, please copy manually"))}}return{__sfc:!0,url:s,copyIcon:t,pendingTimeout:n,onCopyContent:o,t:h,NcIconSvgWrapper:ue,NcInputField:Ns,NcSettingsSection:A}}}),ks="_input_ybjc8_2",Bs={input:ks};var Ss=function(){var e=this,s=e._self._c,t=e._self._setupProxy;return s(t.NcSettingsSection,{attrs:{name:t.t("firstrunwizard","Server address"),description:t.t("firstrunwizard","Use this link to connect your apps and desktop client to this server:")}},[s(t.NcInputField,{class:e.$style.input,attrs:{id:"endpoint-url",label:t.t("firstrunwizard","Server address"),"show-trailing-button":"",readonly:"",value:t.url},on:{"trailing-button-click":t.onCopyContent},scopedSlots:e._u([{key:"trailing-button-icon",fn:function(){return[s(t.NcIconSvgWrapper,{attrs:{path:t.copyIcon}})]},proxy:!0}])})],1)},As=[];const J={$style:Bs};function bs(e){for(var s in J)this[s]=J[s]}var Us=E(Ls,Ss,As,!1,bs);const Ds=Us.exports,_s=T({__name:"Settings",setup(e){return{__sfc:!0,Fragment:Ee,SettingsApps:Ve,SettingsClients:es,SettingsServer:Ds}}});var Ms=function(){var e=this,s=e._self._c,t=e._self._setupProxy;return s(t.Fragment,[s(t.SettingsClients),s(t.SettingsApps),s(t.SettingsServer)],1)},Ps=[],zs=E(_s,Ms,Ps,!1,null);const js=zs.exports,Hs=K.extend(js);new Hs().$mount("#firstrunwizard-settings");
933+
//# sourceMappingURL=firstrunwizard-settings.mjs.map

js/main-B4ixgFCu.chunk.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ import{k as he,s as gn,u as Er,p as st,g as mn,_ as mt,d as z,v as se,b as A,c a
77
`,ja=`<svg viewBox="0 0 1200 1227" xmlns="http://www.w3.org/2000/svg"><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="currentColor"/></svg>
88
`,Ma=z({__name:"SharePage",setup(e){const t=encodeURIComponent(encodeURI(Z.link)),r=encodeURIComponent(Z.shareSubject??A("firstrunwizard","Nextcloud Hub {version} release",{version:Z.version})),s=encodeURIComponent(A("firstrunwizard","Read more about it on the Nextcloud Hub {version} blog",{version:Z.version})+`
99
`+Z.link),a=[{id:"facebook",name:"Facebook",link:`https://www.facebook.com/sharer/sharer.php?u=${t}`,icon:ka},{id:"x",name:"X",link:`https://x.com/intent/post?url=${t}&via=Nextclouders&text=${encodeURIComponent(Z.shareSubject??"")}`,icon:ja},{id:"mastodon",name:"Mastodon",link:`https://mastodon.social/share?text=${t}`,icon:Fa},{id:"email",name:"EMail",link:`mailto:?subject=${r}&body=${s}`,icon:Nr}];return{__sfc:!0,encodedLink:t,mailSubject:r,mailBody:s,shareLinks:a,t:A,NcButton:wn,NcIconSvgWrapper:yt,HubRelease:Z,WizardPage:me,Card:We}}}),Da="_share_section_1krl5_2",za="_share_wrapper_1krl5_6",qa="_card_1krl5_15",Ga="_heading_1krl5_23",Ha={share_section:Da,share_wrapper:za,card:qa,heading:Ga};var Wa=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","Find out more on the blog")}},[t(r.NcButton,{attrs:{href:r.HubRelease.link,target:"_blank"}},[e._v(" "+e._s(r.t("firstrunwizard","Read the Nextcloud Hub {version} blog",{version:r.HubRelease.version}))+" ↗ ")]),t("section",{class:e.$style.share_section},[t("h3",{class:e.$style.heading},[e._v(" "+e._s(r.t("firstrunwizard","Share your opinion about Nextcloud Hub {version}",{version:r.HubRelease.version}))+" ")]),t("div",{class:e.$style.share_wrapper},e._l(r.shareLinks,function(s){return t(r.Card,{key:s.id,class:e.$style.card,attrs:{href:s.link,title:s.id==="email"?r.t("firstrunwizard","Share via email"):r.t("firstrunwizard","Share on {socialMedia}",{socialMedia:s.name})}},[s.icon?t(r.NcIconSvgWrapper,{attrs:{svg:s.id!=="email"?s.icon:void 0,path:s.id==="email"?s.icon:void 0}}):e._e()],1)}),1)])],1)},Xa=[];const pn={$style:Ha};function Va(e){for(var t in pn)this[t]=pn[t]}var Ja=q(Ma,Wa,Xa,!1,Va);const Ka=Ja.exports,Za=z({__name:"WhatsNew",setup(e){return{__sfc:!0,t:A,HubRelease:Z,WizardPage:me}}}),Qa="_list_lk7o9_2",Ya="_entry_lk7o9_6",eu={list:Qa,entry:Ya};var tu=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","New in Nextcloud Hub {version}",{version:r.HubRelease.version})+" 🚀"}},[t("ul",{class:e.$style.list},e._l(r.HubRelease.releaseNotes,function(s,a){return t("li",{key:a,class:e.$style.entry},[e._v(" "+e._s(s)+" ")])}),0)])},nu=[];const dn={$style:eu};function ru(e){for(var t in dn)this[t]=dn[t]}var ou=q(Za,tu,nu,!1,ru);const su=ou.exports,ot=[{id:"key-aspects",component:Ua,buttons:[{to:"hub-release",label:A("firstrunwizard","What's new?")},{to:"devices",label:A("firstrunwizard","Nextcloud on all your devices")}]},{id:"devices",component:wa,buttons:[{to:"about",label:A("firstrunwizard","More about Nextcloud")}]},{id:"about",component:sa,buttons:[{to:"hub-release",label:A("firstrunwizard","Nextcloud Hub {version}",{version:Z.version})}]},{id:"hub-release",component:Aa,buttons:[{to:"whats-new",label:A("firstrunwizard","Read more")}]},{id:"whats-new",component:su,buttons:[{to:"share",label:A("firstrunwizard","Share on social media")}]},{id:"share",component:Ka,buttons:[{to:"close",label:A("firstrunwizard","Get started!")}]}],iu=z({__name:"App",setup(e,{expose:t}){const r=_n(),s=$e("firstrunwizard","changelogOnly",!1),a=Math.min(ot.findIndex(O=>O.id==="hub-release"),0),u=he(!1),c=he(null),m=he(),p=D(()=>!r.value&&c.value!==null&&c.value>0),h=D(()=>!r.value&&c.value!==null&&c.value<ot.length-1);function l(O){m.value=O,c.value=null,u.value=!0}function b(){c.value=null,u.value=!1,fe.delete(mt("/apps/firstrunwizard/wizard"))}return t({open:l,close:b}),Tr(()=>{c.value===-1&&b()}),{__sfc:!0,isMobile:r,showChangelogOnly:s,changelogPage:a,showModal:u,currentPage:c,setReturnFocus:m,hasPrevious:p,hasNext:h,open:l,close:b,NcModal:Cr,IntroAnimation:mi,SlideShow:xi,pages:ot}}});var au=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return r.showModal?t(r.NcModal,{staticClass:"first-run-wizard",attrs:{id:"firstrunwizard",size:"normal",dark:!r.isMobile,"has-next":r.hasNext,"has-previous":r.hasPrevious,"set-return-focus":r.setReturnFocus},on:{close:r.close,next:function(s){r.currentPage+=1},previous:function(s){r.currentPage-=1}}},[r.currentPage===null?t(r.IntroAnimation,{on:{next:function(s){r.currentPage=r.showChangelogOnly?r.changelogPage:0}}}):t(r.SlideShow,{attrs:{pages:r.pages,"current-index":r.currentPage},on:{"update:currentIndex":function(s){r.currentPage=s},"update:current-index":function(s){r.currentPage=s}}})],1):e._e()},uu=[],lu=q(iu,au,uu,!1,null);const cu=lu.exports;Te.prototype.t=A,Te.prototype.n=xr,Te.prototype.oc_defaults=window.oc_defaults;const gt=document.createElement("div");gt.id="firstrunwizard",document.querySelector("body").appendChild(gt);const fu=Te.extend(cu),hu=new fu().$mount(gt),du=hu.open;export{du as open};
10+
//# sourceMappingURL=main-B4ixgFCu.chunk.mjs.map
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
const h="modulepreload",y=function(s,c){return new URL(s,c).href},m={},g=function(s,c,l){let e=Promise.resolve();if(c&&c.length>0){const r=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),f=n?.nonce||n?.getAttribute("nonce");e=Promise.allSettled(c.map(o=>{if(o=y(o,l),o in m)return;m[o]=!0;const d=o.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(l)for(let u=r.length-1;u>=0;u--){const a=r[u];if(a.href===o&&(!d||a.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${p}`))return;const i=document.createElement("link");if(i.rel=d?"stylesheet":h,d||(i.as="script"),i.crossOrigin="",i.href=o,f&&i.setAttribute("nonce",f),document.head.appendChild(i),d)return new Promise((u,a)=>{i.addEventListener("load",u),i.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${o}`)))})}))}function t(r){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=r,window.dispatchEvent(n),!n.defaultPrevented)throw r}return e.then(r=>{for(const n of r||[])n.status==="rejected"&&t(n.reason);return s().catch(t)})};(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))l(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const r of t.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function c(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function l(e){if(e.ep)return;e.ep=!0;const t=c(e);fetch(e.href,t)}})();export{g as _};
2+
//# sourceMappingURL=modulepreload-polyfill-Cp76Uzro.chunk.mjs.map

0 commit comments

Comments
 (0)