Skip to content

Commit 7dc2cfa

Browse files
fix(deps): Fix npm audit
Signed-off-by: GitHub <[email protected]>
1 parent 225e64c commit 7dc2cfa

12 files changed

+225
-175
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
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]);
2-
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)});
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('firstrunwizard', '', 'js/main-crB6X2x7.chunk.mjs'),window.OC.filePath('firstrunwizard', '', 'js/NcIconSvgWrapper-CHmdAuhg-jauN2lNZ.chunk.mjs')])))=>i.map(i=>d[i]);
2+
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-crB6X2x7.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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
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]);
2-
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()});
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('firstrunwizard', '', 'js/main-crB6X2x7.chunk.mjs'),window.OC.filePath('firstrunwizard', '', 'js/NcIconSvgWrapper-CHmdAuhg-jauN2lNZ.chunk.mjs')])))=>i.map(i=>d[i]);
2+
import{_ as t}from"./modulepreload-polyfill-Cp76Uzro.chunk.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-crB6X2x7.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: 0 additions & 9 deletions
This file was deleted.

js/main-B4ixgFCu.chunk.mjs.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

js/main-crB6X2x7.chunk.mjs

Lines changed: 10 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This file is generated from multiple sources. Included packages:
2626
- version: 8.23.1
2727
- license: AGPL-3.0-or-later
2828
- axios
29-
- version: 1.7.4
29+
- version: 1.8.4
3030
- license: MIT
3131
- firstrunwizard
3232
- version: 4.0.0

js/main-crB6X2x7.chunk.mjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This file is generated from multiple sources. Included packages:
2626
- version: 8.23.1
2727
- license: AGPL-3.0-or-later
2828
- axios
29-
- version: 1.7.4
29+
- version: 1.8.4
3030
- license: MIT
3131
- firstrunwizard
3232
- version: 4.0.0

0 commit comments

Comments
 (0)