Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>pull/57200/head
parent
2d6bd8b86a
commit
ee04846dec
@ -0,0 +1,2 @@ |
||||
import{n as h,_ as p,d as m,q as C,a as i,o as e,b as o,e as s,A as _,i as y,t as n,B as d,h as A,C as u,f as H}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";const b={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},k=["aria-hidden","aria-label"],v=["fill","width","height"],V={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},w={key:0};function z(a,l,t,c,f,g){return e(),i("span",u(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=r=>a.$emit("click",r))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",V,[t.title?(e(),i("title",w,n(t.title),1)):s("",!0)])],8,v))],16,k)}const M=p(b,[["render",z]]);h();const S={class:"settings-section"},x={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=m({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=C("External documentation");return(t,c)=>(e(),i("div",S,[o("h2",x,[y(n(t.name)+" ",1),t.docUrl?(e(),i("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[A(M,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,n(t.description),1)):s("",!0),_(t.$slots,"default",{},void 0,!0)]))}}),D=p(N,[["__scopeId","data-v-9cedb949"]]),B={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},U=["aria-hidden","aria-label"],L=["fill","width","height"],Z={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},q={key:0};function E(a,l,t,c,f,g){return e(),i("span",u(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=r=>a.$emit("click",r))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",Z,[t.title?(e(),i("title",q,n(t.title),1)):s("",!0)])],8,L))],16,U)}const P=H(B,[["render",E]]);export{P as I,D as N}; |
||||
//# sourceMappingURL=ContentCopy-CRRsp8jg.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,20 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) |
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: ts-md5 developers |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- @vueuse/components |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- striptags |
||||
- version: 3.2.0 |
||||
- license: MIT |
||||
- ts-md5 |
||||
- version: 2.0.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,20 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) |
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: ts-md5 developers |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- @vueuse/components |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- striptags |
||||
- version: 3.2.0 |
||||
- license: MIT |
||||
- ts-md5 |
||||
- version: 2.0.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,32 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: BSD-3-Clause |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Borys Serebrov |
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Scott Cooper <scttcper@gmail.com> |
||||
SPDX-FileCopyrightText: atomiks |
||||
SPDX-FileCopyrightText: chenkai |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @ckpack/vue-color |
||||
- version: 1.6.0 |
||||
- license: MIT |
||||
- @ctrl/tinycolor |
||||
- version: 3.6.1 |
||||
- license: MIT |
||||
- @floating-ui/dom |
||||
- version: 1.7.4 |
||||
- license: MIT |
||||
- @floating-ui/utils |
||||
- version: 0.2.10 |
||||
- license: MIT |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- emoji-mart-vue-fast |
||||
- version: 15.0.5 |
||||
- license: BSD-3-Clause |
||||
- vue-select |
||||
- version: 4.0.0-beta.6 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,32 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: BSD-3-Clause |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Borys Serebrov |
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Scott Cooper <scttcper@gmail.com> |
||||
SPDX-FileCopyrightText: atomiks |
||||
SPDX-FileCopyrightText: chenkai |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @ckpack/vue-color |
||||
- version: 1.6.0 |
||||
- license: MIT |
||||
- @ctrl/tinycolor |
||||
- version: 3.6.1 |
||||
- license: MIT |
||||
- @floating-ui/dom |
||||
- version: 1.7.4 |
||||
- license: MIT |
||||
- @floating-ui/utils |
||||
- version: 0.2.10 |
||||
- license: MIT |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- emoji-mart-vue-fast |
||||
- version: 15.0.5 |
||||
- license: BSD-3-Clause |
||||
- vue-select |
||||
- version: 4.0.0-beta.6 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@ |
||||
import{t as p,v as d}from"./index-JpgrUA2Z-CosWrxLg.chunk.mjs";import{d as u,c as e,a1 as m,a as c,o as v,t as f,B as g}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";const S=["data-timestamp","title","textContent"],B=u({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(o){const t=o,i=e(()=>({format:t.format})),s=e(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),a=p(m(()=>t.timestamp),i),n=d(m(()=>t.timestamp),s),r=e(()=>t.relativeTime?n.value:a.value);return(l,T)=>(v(),c("span",{class:"nc-datetime",dir:"auto","data-timestamp":l.timestamp,title:g(a),textContent:f(r.value)},null,8,S))}});export{B as _}; |
||||
//# sourceMappingURL=NcListItem-CZnKmy9X-XGYE74hH.chunk.mjs.map
|
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
@ -0,0 +1 @@ |
||||
{"version":3,"file":"NcListItem-CZnKmy9X-XGYE74hH.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U.mjs"],"sourcesContent":["import { defineComponent, computed, toRef, createElementBlock, openBlock, toDisplayString, unref } from \"vue\";\nimport { useFormatTime, useFormatRelativeTime } from \"../composables/useFormatDateTime/index.mjs\";\nconst _hoisted_1 = [\"data-timestamp\", \"title\", \"textContent\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"NcDateTime\",\n props: {\n timestamp: {},\n format: { default: () => ({ timeStyle: \"medium\", dateStyle: \"short\" }) },\n relativeTime: { type: [Boolean, String], default: \"long\" },\n ignoreSeconds: { type: Boolean }\n },\n setup(__props) {\n const props = __props;\n const timeOptions = computed(() => ({ format: props.format }));\n const relativeTimeOptions = computed(() => ({\n ignoreSeconds: props.ignoreSeconds,\n relativeTime: props.relativeTime || \"long\",\n update: props.relativeTime !== false\n }));\n const title = useFormatTime(toRef(() => props.timestamp), timeOptions);\n const relativeTime = useFormatRelativeTime(toRef(() => props.timestamp), relativeTimeOptions);\n const formattedTime = computed(() => props.relativeTime ? relativeTime.value : title.value);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n class: \"nc-datetime\",\n dir: \"auto\",\n \"data-timestamp\": _ctx.timestamp,\n title: unref(title),\n textContent: toDisplayString(formattedTime.value)\n }, null, 8, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U.mjs.map\n"],"names":["_hoisted_1","_sfc_main","defineComponent","__props","props","timeOptions","computed","relativeTimeOptions","title","useFormatTime","toRef","relativeTime","useFormatRelativeTime","formattedTime","_ctx","_cache","openBlock","createElementBlock","unref","toDisplayString"],"mappings":"6KAEA,MAAMA,EAAa,CAAC,iBAAkB,QAAS,aAAa,EACtDC,EAA4BC,EAAgB,CAChD,OAAQ,aACR,MAAO,CACL,UAAW,CAAA,EACX,OAAQ,CAAE,QAAS,KAAO,CAAE,UAAW,SAAU,UAAW,OAAO,EAAG,EACtE,aAAc,CAAE,KAAM,CAAC,QAAS,MAAM,EAAG,QAAS,MAAM,EACxD,cAAe,CAAE,KAAM,OAAO,CAClC,EACE,MAAMC,EAAS,CACb,MAAMC,EAAQD,EACRE,EAAcC,EAAS,KAAO,CAAE,OAAQF,EAAM,MAAM,EAAG,EACvDG,EAAsBD,EAAS,KAAO,CAC1C,cAAeF,EAAM,cACrB,aAAcA,EAAM,cAAgB,OACpC,OAAQA,EAAM,eAAiB,EACrC,EAAM,EACII,EAAQC,EAAcC,EAAM,IAAMN,EAAM,SAAS,EAAGC,CAAW,EAC/DM,EAAeC,EAAsBF,EAAM,IAAMN,EAAM,SAAS,EAAGG,CAAmB,EACtFM,EAAgBP,EAAS,IAAMF,EAAM,aAAeO,EAAa,MAAQH,EAAM,KAAK,EAC1F,MAAO,CAACM,EAAMC,KACLC,EAAS,EAAIC,EAAmB,OAAQ,CAC7C,MAAO,cACP,IAAK,OACL,iBAAkBH,EAAK,UACvB,MAAOI,EAAMV,CAAK,EAClB,YAAaW,EAAgBN,EAAc,KAAK,CACxD,EAAS,KAAM,EAAGb,CAAU,EAE1B,CACF,CAAC","x_google_ignoreList":[0]} |
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
@ -0,0 +1 @@ |
||||
.material-design-icon[data-v-cf399190]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.loading-icon[data-v-cf399190]{overflow:hidden}.loading-icon svg[data-v-cf399190]{animation:rotate var(--animation-duration, .8s) linear infinite} |
||||
@ -0,0 +1,2 @@ |
||||
import{_ as r,d as s,c as d,a as e,o as l,b as n,e as c,t as p}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";const u=["aria-label"],g=["width","height"],h=["fill"],f=["fill"],m={key:0},v=s({__name:"NcLoadingIcon",props:{appearance:{default:"auto"},name:{default:""},size:{default:20}},setup(o){const i=o,t=d(()=>{const a=["#777","#CCC"];return i.appearance==="light"?a:i.appearance==="dark"?a.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]});return(a,_)=>(l(),e("span",{"aria-label":a.name,role:"img",class:"material-design-icon loading-icon"},[(l(),e("svg",{width:a.size,height:a.size,viewBox:"0 0 24 24"},[n("path",{fill:t.value[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"},null,8,h),n("path",{fill:t.value[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"},[a.name?(l(),e("title",m,p(a.name),1)):c("",!0)],8,f)],8,g))],8,u))}}),A=r(v,[["__scopeId","data-v-cf399190"]]);export{A as N}; |
||||
//# sourceMappingURL=NcLoadingIcon-b_ajZ_nQ-w7Nn62Bk.chunk.mjs.map
|
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
@ -0,0 +1 @@ |
||||
{"version":3,"file":"NcLoadingIcon-b_ajZ_nQ-w7Nn62Bk.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcLoadingIcon-b_ajZ_nQ.mjs"],"sourcesContent":["import '../assets/NcLoadingIcon-CWUlo4XY.css';\nimport { defineComponent, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString } from \"vue\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"width\", \"height\"];\nconst _hoisted_3 = [\"fill\"];\nconst _hoisted_4 = [\"fill\"];\nconst _hoisted_5 = { key: 0 };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"NcLoadingIcon\",\n props: {\n appearance: { default: \"auto\" },\n name: { default: \"\" },\n size: { default: 20 }\n },\n setup(__props) {\n const props = __props;\n const colors = computed(() => {\n const colors2 = [\"#777\", \"#CCC\"];\n if (props.appearance === \"light\") {\n return colors2;\n } else if (props.appearance === \"dark\") {\n return colors2.reverse();\n }\n return [\"var(--color-loading-light)\", \"var(--color-loading-dark)\"];\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n \"aria-label\": _ctx.name,\n role: \"img\",\n class: \"material-design-icon loading-icon\"\n }, [\n (openBlock(), createElementBlock(\"svg\", {\n width: _ctx.size,\n height: _ctx.size,\n viewBox: \"0 0 24 24\"\n }, [\n createElementVNode(\"path\", {\n fill: colors.value[0],\n d: \"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z\"\n }, null, 8, _hoisted_3),\n createElementVNode(\"path\", {\n fill: colors.value[1],\n d: \"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z\"\n }, [\n _ctx.name ? (openBlock(), createElementBlock(\"title\", _hoisted_5, toDisplayString(_ctx.name), 1)) : createCommentVNode(\"\", true)\n ], 8, _hoisted_4)\n ], 8, _hoisted_2))\n ], 8, _hoisted_1);\n };\n }\n});\nconst NcLoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__scopeId\", \"data-v-cf399190\"]]);\nexport {\n NcLoadingIcon as N\n};\n//# sourceMappingURL=NcLoadingIcon-b_ajZ_nQ.mjs.map\n"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_sfc_main","defineComponent","__props","props","colors","computed","colors2","_ctx","_cache","openBlock","createElementBlock","createElementVNode","toDisplayString","createCommentVNode","NcLoadingIcon","_export_sfc"],"mappings":"oHAGA,MAAMA,EAAa,CAAC,YAAY,EAC1BC,EAAa,CAAC,QAAS,QAAQ,EAC/BC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAC,MAAM,EACpBC,EAAa,CAAE,IAAK,CAAC,EACrBC,EAA4BC,EAAgB,CAChD,OAAQ,gBACR,MAAO,CACL,WAAY,CAAE,QAAS,MAAM,EAC7B,KAAM,CAAE,QAAS,EAAE,EACnB,KAAM,CAAE,QAAS,EAAE,CACvB,EACE,MAAMC,EAAS,CACb,MAAMC,EAAQD,EACRE,EAASC,EAAS,IAAM,CAC5B,MAAMC,EAAU,CAAC,OAAQ,MAAM,EAC/B,OAAIH,EAAM,aAAe,QAChBG,EACEH,EAAM,aAAe,OACvBG,EAAQ,QAAO,EAEjB,CAAC,6BAA8B,2BAA2B,CACnE,CAAC,EACD,MAAO,CAACC,EAAMC,KACLC,EAAS,EAAIC,EAAmB,OAAQ,CAC7C,aAAcH,EAAK,KACnB,KAAM,MACN,MAAO,mCACf,EAAS,EACAE,EAAS,EAAIC,EAAmB,MAAO,CACtC,MAAOH,EAAK,KACZ,OAAQA,EAAK,KACb,QAAS,WACnB,EAAW,CACDI,EAAmB,OAAQ,CACzB,KAAMP,EAAO,MAAM,CAAC,EACpB,EAAG,8CACf,EAAa,KAAM,EAAGP,CAAU,EACtBc,EAAmB,OAAQ,CACzB,KAAMP,EAAO,MAAM,CAAC,EACpB,EAAG,8CACf,EAAa,CACDG,EAAK,MAAQE,EAAS,EAAIC,EAAmB,QAASX,EAAYa,EAAgBL,EAAK,IAAI,EAAG,CAAC,GAAKM,EAAmB,GAAI,EAAI,CAC3I,EAAa,EAAGf,CAAU,CAC1B,EAAW,EAAGF,CAAU,EACxB,EAAS,EAAGD,CAAU,EAEpB,CACF,CAAC,EACKmB,EAAgCC,EAAYf,EAAW,CAAC,CAAC,YAAa,iBAAiB,CAAC,CAAC","x_google_ignoreList":[0]} |
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
||||
.material-design-icon[data-v-b2684de6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}[data-v-b2684de6] .password-field__input--secure-text{-webkit-text-security:disc} |
||||
@ -0,0 +1,2 @@ |
||||
import{d as k,a as C,l as S,N,m as F,b as M}from"./NcNoteCard-CVhtNL04-Lr3K6fmX.chunk.mjs";import{c as $}from"./index-D_jg0qLx.chunk.mjs";import{n as j,_ as q,d as z,s as c,u as v,v as A,x as H,y as h,c as m,j as I,q as r,g as L,o as O,z as U,w as f,A as D,h as E,B as l,C as G}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";import{N as J}from"./TrayArrowDown-CCnVDkvm.chunk.mjs";j();const K=z({__name:"NcPasswordField",props:c({class:{},inputClass:{default:""},id:{},label:{},labelOutside:{type:Boolean},placeholder:{},showTrailingButton:{type:Boolean,default:!0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},checkPasswordStrength:{type:Boolean},minlength:{default:void 0},asText:{type:Boolean}},{modelValue:{default:""},modelModifiers:{},visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:c(["valid","invalid"],["update:modelValue","update:visible"]),setup(o,{expose:y,emit:w}){const s=v(o,"modelValue"),a=v(o,"visible"),t=o,d=w;A(s,k(B,500)),y({focus:T,select:P});const{password_policy:g}=C(),u=H("inputField"),i=h(""),n=h(),x=m(()=>{const e={...t};return delete e.checkPasswordStrength,delete e.minlength,delete e.asText,delete e.error,delete e.helperText,delete e.inputClass,delete e.success,e}),b=m(()=>t.minlength??(t.checkPasswordStrength?g?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await $.post(I("apps/password_policy/api/v1/validate"),{password:s.value});if(n.value=e.ocs.data.passed,e.ocs.data.passed){i.value=r("Password is secure"),d("valid");return}i.value=e.ocs.data.reason,d("invalid")}catch(e){S.error("Password policy returned an error",{error:e})}}function _(){a.value=!a.value}function T(e){u.value.focus(e)}function P(){u.value.select()}return(e,p)=>(O(),L(J,G(x.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),error:e.error||n.value===!1,"helper-text":e.helperText||i.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:b.value,success:e.success||n.value===!0,"trailing-button-label":a.value?l(r)("Hide password"):l(r)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:_}),U({"trailing-button-icon":f(()=>[E(N,{path:a.value?l(F):l(M)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[D(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),Y=q(K,[["__scopeId","data-v-b2684de6"]]);export{Y as N}; |
||||
//# sourceMappingURL=NcPasswordField-djttkA5Q-6tk92bTt.chunk.mjs.map
|
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Rich Harris |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- rollup |
||||
- version: 4.52.5 |
||||
- license: MIT |
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Rich Harris |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- rollup |
||||
- version: 4.52.5 |
||||
- license: MIT |
||||
@ -0,0 +1 @@ |
||||
.material-design-icon[data-v-ad356e41]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-bubble__wrapper[data-v-ad356e41]{display:inline-block;vertical-align:middle;min-width:0;max-width:100%}.user-bubble__content[data-v-ad356e41]{display:inline-flex;max-width:100%;background-color:var(--color-background-dark)}.user-bubble__content--primary[data-v-ad356e41]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.user-bubble__content[data-v-ad356e41]>:last-child{padding-inline-end:8px}.user-bubble__avatar[data-v-ad356e41]{align-self:center}.user-bubble__name[data-v-ad356e41]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-bubble__name[data-v-ad356e41],.user-bubble__secondary[data-v-ad356e41]{padding-block:0;padding-inline:4px 0} |
||||
@ -0,0 +1 @@ |
||||
.material-design-icon[data-v-881a79fb]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-status-icon[data-v-881a79fb]{--user-status-color-online: #2D7B41;--user-status-color-busy: #DB0606;--user-status-color-away: #C88800;--user-status-color-offline: #6B6B6B;display:flex;justify-content:center;align-items:center}.user-status-icon--invisible[data-v-881a79fb]{filter:var(--background-invert-if-dark)}.user-status-icon[data-v-881a79fb] svg{width:100%;height:100%} |
||||
@ -0,0 +1,47 @@ |
||||
import{c as T}from"./index-D_jg0qLx.chunk.mjs";import{a as q,l as p}from"./NcNoteCard-CVhtNL04-Lr3K6fmX.chunk.mjs";import{n as l,D as h,_ as g,d as w,q as s,s as f,u as x,c as o,v as m,j as y,a as b,e as D,o as B,E as I}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";const S=`<!--
|
||||
- SPDX-FileCopyrightText: 2020 Google Inc. |
||||
- SPDX-License-Identifier: Apache-2.0 |
||||
--> |
||||
<svg viewBox="0 -960 960 960" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg"> |
||||
<path |
||||
fill="var(--user-status-color-away, var(--color-warning, #C88800))" |
||||
d="m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/> |
||||
</svg> |
||||
`,P=`<!-- |
||||
- SPDX-FileCopyrightText: 2020 Google Inc. |
||||
- SPDX-License-Identifier: Apache-2.0 |
||||
--> |
||||
<svg viewBox="0 -960 960 960" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg"> |
||||
<path |
||||
fill="var(--user-status-color-busy, var(--color-error, #DB0606))" |
||||
d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/> |
||||
</svg> |
||||
`,X=`<!-- |
||||
- SPDX-FileCopyrightText: 2020 Google Inc. |
||||
- SPDX-License-Identifier: Apache-2.0 |
||||
--> |
||||
<svg viewBox="0 -960 960 960" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg"> |
||||
<path |
||||
fill="var(--user-status-color-busy, var(--color-error, #DB0606))" |
||||
d="M280-440h400v-80H280v80ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/> |
||||
</svg> |
||||
`,u=`<!-- |
||||
- SPDX-FileCopyrightText: 2020 Google Inc. |
||||
- SPDX-License-Identifier: Apache-2.0 |
||||
--> |
||||
<svg viewBox="0 -960 960 960" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg"> |
||||
<path |
||||
fill="var(--user-status-color-offline, var(--color-text-maxcontrast, #6B6B6B))" |
||||
d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/> |
||||
</svg> |
||||
`,Z=`<!-- |
||||
- SPDX-FileCopyrightText: 2020 Google Inc. |
||||
- SPDX-License-Identifier: Apache-2.0 |
||||
--> |
||||
<svg viewBox="0 -960 960 960" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg"> |
||||
<path |
||||
fill="var(--user-status-color-online, var(--color-success, #2D7B41))" |
||||
d="m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/> |
||||
</svg> |
||||
`;l(),l(h);function M(a){switch(a){case"away":return s("away");case"busy":return s("busy");case"dnd":return s("do not disturb");case"online":return s("online");case"invisible":return s("invisible");case"offline":return s("offline");default:return a}}const L=["aria-hidden","aria-label","innerHTML"],_=w({__name:"NcUserStatusIcon",props:f({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(a){const e=x(a,"status"),i=a,v=o(()=>e.value&&["invisible","offline"].includes(e.value)),n=o(()=>e.value&&(!i.ariaHidden||i.ariaHidden==="false")?s("User status: {status}",{status:M(e.value)}):void 0);m(()=>i.user,async r=>{if(!e.value&&r&&q()?.user_status?.enabled)try{const{data:t}=await T.get(y("/apps/user_status/api/v1/statuses/{user}",{user:r}));e.value=t.ocs?.data?.status}catch(t){p.debug("Error while fetching user status",{error:t})}},{immediate:!0});const c={online:Z,away:S,busy:P,dnd:X,invisible:u,offline:u},d=o(()=>e.value&&c[e.value]);return(r,t)=>e.value?(B(),b("span",{key:0,class:I(["user-status-icon",{"user-status-icon--invisible":v.value}]),"aria-hidden":!n.value||void 0,"aria-label":n.value,role:"img",innerHTML:d.value},null,10,L)):D("",!0)}}),F=g(_,[["__scopeId","data-v-881a79fb"]]);export{F as N,M as g};
|
||||
//# sourceMappingURL=NcUserStatusIcon-CGEf7fej-onghoEJ3.chunk.mjs.map
|
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,112 +0,0 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: BSD-3-Clause |
||||
SPDX-License-Identifier: GPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: @nextcloud/dialogs developers |
||||
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu> |
||||
SPDX-FileCopyrightText: Arnout Kazemier |
||||
SPDX-FileCopyrightText: Borys Serebrov |
||||
SPDX-FileCopyrightText: David Clark |
||||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) |
||||
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com> |
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> |
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com> |
||||
SPDX-FileCopyrightText: Jordan Humphreys <jordan@zurb.com> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Nick Frasser (https://nfrasser.com) |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
SPDX-FileCopyrightText: Scott Cooper <scttcper@gmail.com> |
||||
SPDX-FileCopyrightText: Sindre Sorhus |
||||
SPDX-FileCopyrightText: Varun A P |
||||
SPDX-FileCopyrightText: Vuepic |
||||
SPDX-FileCopyrightText: atomiks |
||||
SPDX-FileCopyrightText: chenkai |
||||
SPDX-FileCopyrightText: date-fns developers |
||||
SPDX-FileCopyrightText: p-queue developers |
||||
SPDX-FileCopyrightText: ts-md5 developers |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @ckpack/vue-color |
||||
- version: 1.6.0 |
||||
- license: MIT |
||||
- @ctrl/tinycolor |
||||
- version: 3.6.1 |
||||
- license: MIT |
||||
- @floating-ui/core |
||||
- version: 1.7.3 |
||||
- license: MIT |
||||
- @floating-ui/dom |
||||
- version: 1.1.1 |
||||
- license: MIT |
||||
- @floating-ui/dom |
||||
- version: 1.7.4 |
||||
- license: MIT |
||||
- @floating-ui/utils |
||||
- version: 0.2.10 |
||||
- license: MIT |
||||
- @nextcloud/dialogs |
||||
- version: 7.1.0 |
||||
- license: AGPL-3.0-or-later |
||||
- @nextcloud/l10n |
||||
- version: 3.4.1 |
||||
- license: GPL-3.0-or-later |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- @vuepic/vue-datepicker |
||||
- version: 11.0.3 |
||||
- license: MIT |
||||
- @vueuse/components |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- @vueuse/core |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- @vueuse/shared |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- date-fns |
||||
- version: 4.1.0 |
||||
- license: MIT |
||||
- emoji-mart-vue-fast |
||||
- version: 15.0.5 |
||||
- license: BSD-3-Clause |
||||
- eventemitter3 |
||||
- version: 5.0.1 |
||||
- license: MIT |
||||
- floating-vue |
||||
- version: 5.2.2 |
||||
- license: MIT |
||||
- focus-trap |
||||
- version: 7.6.6 |
||||
- license: MIT |
||||
- linkifyjs |
||||
- version: 4.3.2 |
||||
- license: MIT |
||||
- p-queue |
||||
- version: 9.0.1 |
||||
- license: MIT |
||||
- p-timeout |
||||
- version: 7.0.1 |
||||
- license: MIT |
||||
- striptags |
||||
- version: 3.2.0 |
||||
- license: MIT |
||||
- tabbable |
||||
- version: 6.3.0 |
||||
- license: MIT |
||||
- toastify-js |
||||
- version: 1.12.0 |
||||
- license: MIT |
||||
- tributejs |
||||
- version: 5.1.3 |
||||
- license: MIT |
||||
- ts-md5 |
||||
- version: 2.0.1 |
||||
- license: MIT |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
- vue-select |
||||
- version: 4.0.0-beta.6 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
@ -1,112 +0,0 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: BSD-3-Clause |
||||
SPDX-License-Identifier: GPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: @nextcloud/dialogs developers |
||||
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu> |
||||
SPDX-FileCopyrightText: Arnout Kazemier |
||||
SPDX-FileCopyrightText: Borys Serebrov |
||||
SPDX-FileCopyrightText: David Clark |
||||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) |
||||
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com> |
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> |
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com> |
||||
SPDX-FileCopyrightText: Jordan Humphreys <jordan@zurb.com> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Nick Frasser (https://nfrasser.com) |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
SPDX-FileCopyrightText: Scott Cooper <scttcper@gmail.com> |
||||
SPDX-FileCopyrightText: Sindre Sorhus |
||||
SPDX-FileCopyrightText: Varun A P |
||||
SPDX-FileCopyrightText: Vuepic |
||||
SPDX-FileCopyrightText: atomiks |
||||
SPDX-FileCopyrightText: chenkai |
||||
SPDX-FileCopyrightText: date-fns developers |
||||
SPDX-FileCopyrightText: p-queue developers |
||||
SPDX-FileCopyrightText: ts-md5 developers |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @ckpack/vue-color |
||||
- version: 1.6.0 |
||||
- license: MIT |
||||
- @ctrl/tinycolor |
||||
- version: 3.6.1 |
||||
- license: MIT |
||||
- @floating-ui/core |
||||
- version: 1.7.3 |
||||
- license: MIT |
||||
- @floating-ui/dom |
||||
- version: 1.1.1 |
||||
- license: MIT |
||||
- @floating-ui/dom |
||||
- version: 1.7.4 |
||||
- license: MIT |
||||
- @floating-ui/utils |
||||
- version: 0.2.10 |
||||
- license: MIT |
||||
- @nextcloud/dialogs |
||||
- version: 7.1.0 |
||||
- license: AGPL-3.0-or-later |
||||
- @nextcloud/l10n |
||||
- version: 3.4.1 |
||||
- license: GPL-3.0-or-later |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- @vuepic/vue-datepicker |
||||
- version: 11.0.3 |
||||
- license: MIT |
||||
- @vueuse/components |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- @vueuse/core |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- @vueuse/shared |
||||
- version: 14.1.0 |
||||
- license: MIT |
||||
- date-fns |
||||
- version: 4.1.0 |
||||
- license: MIT |
||||
- emoji-mart-vue-fast |
||||
- version: 15.0.5 |
||||
- license: BSD-3-Clause |
||||
- eventemitter3 |
||||
- version: 5.0.1 |
||||
- license: MIT |
||||
- floating-vue |
||||
- version: 5.2.2 |
||||
- license: MIT |
||||
- focus-trap |
||||
- version: 7.6.6 |
||||
- license: MIT |
||||
- linkifyjs |
||||
- version: 4.3.2 |
||||
- license: MIT |
||||
- p-queue |
||||
- version: 9.0.1 |
||||
- license: MIT |
||||
- p-timeout |
||||
- version: 7.0.1 |
||||
- license: MIT |
||||
- striptags |
||||
- version: 3.2.0 |
||||
- license: MIT |
||||
- tabbable |
||||
- version: 6.3.0 |
||||
- license: MIT |
||||
- toastify-js |
||||
- version: 1.12.0 |
||||
- license: MIT |
||||
- tributejs |
||||
- version: 5.1.3 |
||||
- license: MIT |
||||
- ts-md5 |
||||
- version: 2.0.1 |
||||
- license: MIT |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
- vue-select |
||||
- version: 4.0.0-beta.6 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,40 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Arnout Kazemier |
||||
SPDX-FileCopyrightText: Jordan Humphreys <jordan@zurb.com> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Nick Frasser (https://nfrasser.com) |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
SPDX-FileCopyrightText: Sindre Sorhus |
||||
SPDX-FileCopyrightText: Vuepic |
||||
SPDX-FileCopyrightText: date-fns developers |
||||
SPDX-FileCopyrightText: p-queue developers |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- @vuepic/vue-datepicker |
||||
- version: 11.0.3 |
||||
- license: MIT |
||||
- date-fns |
||||
- version: 4.1.0 |
||||
- license: MIT |
||||
- eventemitter3 |
||||
- version: 5.0.1 |
||||
- license: MIT |
||||
- linkifyjs |
||||
- version: 4.3.2 |
||||
- license: MIT |
||||
- p-queue |
||||
- version: 9.0.1 |
||||
- license: MIT |
||||
- p-timeout |
||||
- version: 7.0.1 |
||||
- license: MIT |
||||
- tributejs |
||||
- version: 5.1.3 |
||||
- license: MIT |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,40 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Arnout Kazemier |
||||
SPDX-FileCopyrightText: Jordan Humphreys <jordan@zurb.com> |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Nick Frasser (https://nfrasser.com) |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
SPDX-FileCopyrightText: Sindre Sorhus |
||||
SPDX-FileCopyrightText: Vuepic |
||||
SPDX-FileCopyrightText: date-fns developers |
||||
SPDX-FileCopyrightText: p-queue developers |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- @vuepic/vue-datepicker |
||||
- version: 11.0.3 |
||||
- license: MIT |
||||
- date-fns |
||||
- version: 4.1.0 |
||||
- license: MIT |
||||
- eventemitter3 |
||||
- version: 5.0.1 |
||||
- license: MIT |
||||
- linkifyjs |
||||
- version: 4.3.2 |
||||
- license: MIT |
||||
- p-queue |
||||
- version: 9.0.1 |
||||
- license: MIT |
||||
- p-timeout |
||||
- version: 7.0.1 |
||||
- license: MIT |
||||
- tributejs |
||||
- version: 5.1.3 |
||||
- license: MIT |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@ |
||||
import{N as f,p as v,q as k,s as w}from"./NcNoteCard-CVhtNL04-Lr3K6fmX.chunk.mjs";import{n as x,d as C,s as I,u as _,x as M,q as c,c as O,g as d,o as l,z,w as h,A as N,B as a,C as V,f as S,a as p,b as T,e as $,t as j}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";import{N as g}from"./TrayArrowDown-CCnVDkvm.chunk.mjs";x();const W=C({__name:"NcTextField",props:I({class:{},inputClass:{},id:{},label:{},labelOutside:{type:Boolean},type:{},placeholder:{},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},trailingButtonIcon:{default:"close"}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:i}){const e=_(o,"modelValue"),s=o;i({focus:B,select:b});const r=M("inputField"),m={arrowEnd:c("Save changes"),close:c("Clear text"),undo:c("Undo changes")},u=new Set(Object.keys(g.props)),y=O(()=>{const t=Object.fromEntries(Object.entries(s).filter(([n])=>u.has(n)));return t.trailingButtonLabel??=m[s.trailingButtonIcon],t});function B(t){r.value.focus(t)}function b(){r.value.select()}return(t,n)=>(l(),d(a(g),V(y.value,{ref:"inputField",modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=H=>e.value=H)}),z({_:2},[t.$slots.icon?{name:"icon",fn:h(()=>[N(t.$slots,"icon")]),key:"0"}:void 0,t.type!=="search"?{name:"trailing-button-icon",fn:h(()=>[t.trailingButtonIcon==="arrowEnd"?(l(),d(a(f),{key:0,directional:"",path:a(v)},null,8,["path"])):(l(),d(a(f),{key:1,path:t.trailingButtonIcon==="undo"?a(k):a(w)},null,8,["path"]))]),key:"1"}:void 0]),1040,["modelValue"]))}}),A={name:"TrashCanOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},E=["aria-hidden","aria-label"],F=["fill","width","height"],q={d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z"},L={key:0};function U(o,i,e,s,r,m){return l(),p("span",V(o.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon trash-can-outline-icon",role:"img",onClick:i[0]||(i[0]=u=>o.$emit("click",u))}),[(l(),p("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[T("path",q,[e.title?(l(),p("title",L,j(e.title),1)):$("",!0)])],8,F))],16,E)}const Z=S(A,[["render",U]]);export{Z as I,W as _}; |
||||
//# sourceMappingURL=TrashCanOutline-r8oN-L7E.chunk.mjs.map
|
||||
@ -1,12 +1,12 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net> |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- webdav |
||||
- version: 5.8.0 |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
@ -1,12 +1,12 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net> |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- webdav |
||||
- version: 5.8.0 |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
@ -0,0 +1,2 @@ |
||||
import{_ as N,d as O,s as m,u as S,au as z,x as A,c as f,a as t,o as l,b as h,e as d,as as F,g as o,C as L,t as g,av as Z,A as k,w as j,B as r,i as q,E as D,ad as E,f as G}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";import{t as w,c as J,o as x,N as b,u as B}from"./NcNoteCard-CVhtNL04-Lr3K6fmX.chunk.mjs";const K={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=O({inheritAttrs:!1,__name:"NcInputField",props:m({class:{default:""},inputClass:{default:""},id:{default:()=>E()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:m(["trailingButtonClick"],["update:modelValue"]),setup(s,{expose:u,emit:a}){const p=S(s,"modelValue"),i=s,v=a;u({focus:T,select:H});const c=z(),_=A("input"),C=f(()=>i.showTrailingButton||i.success),$=f(()=>{if(i.placeholder)return i.placeholder;if(i.label)return w?i.label:""}),y=f(()=>i.label||i.labelOutside),V=f(()=>{const e=[];return i.helperText&&e.push(`${i.id}-helper-text`),c["aria-describedby"]&&e.push(String(c["aria-describedby"])),e.join(" ")||void 0});function T(e){_.value.focus(e)}function H(){_.value.select()}function I(e){const n=e.target;p.value=i.type==="number"&&typeof p.value=="number"?parseFloat(n.value):n.value}return(e,n)=>(l(),t("div",{class:D(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!y.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":C.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":r(w)},e.$props.class]])},[h("div",K,[h("input",L(e.$attrs,{id:e.id,ref:"input","aria-describedby":V.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:$.value,type:e.type,value:p.value.toString(),onInput:I}),null,16,P),!e.labelOutside&&y.value?(l(),t("label",{key:0,class:"input-field__label",for:e.id},g(e.label),9,Q)):d("",!0),F(h("div",R,[k(e.$slots,"icon",{},void 0,!0)],512),[[Z,!!e.$slots.icon]]),e.showTrailingButton?(l(),o(J,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:n[0]||(n[0]=M=>v("trailingButtonClick",M))},{icon:j(()=>[k(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(l(),t("div",U,[e.success?(l(),o(b,{key:0,path:r(x)},null,8,["path"])):(l(),o(b,{key:1,path:r(B)},null,8,["path"]))])):d("",!0)]),e.helperText?(l(),t("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(l(),o(b,{key:0,class:"input-field__helper-text-message__icon",path:r(x),inline:""},null,8,["path"])):e.error?(l(),o(b,{key:1,class:"input-field__helper-text-message__icon",path:r(B),inline:""},null,8,["path"])):d("",!0),q(" "+g(e.helperText),1)],8,W)):d("",!0)],2))}}),oe=N(X,[["__scopeId","data-v-a0e80f48"]]),re='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-check" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg>',Y={name:"TrayArrowDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ee=["aria-hidden","aria-label"],ie=["fill","width","height"],le={d:"M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 15L17.55 9.54L16.13 8.13L13 11.25V2H11V11.25L7.88 8.13L6.46 9.55L12 15Z"},ae={key:0};function te(s,u,a,p,i,v){return l(),t("span",L(s.$attrs,{"aria-hidden":a.title?null:"true","aria-label":a.title,class:"material-design-icon tray-arrow-down-icon",role:"img",onClick:u[0]||(u[0]=c=>s.$emit("click",c))}),[(l(),t("svg",{fill:a.fillColor,class:"material-design-icon__svg",width:a.size,height:a.size,viewBox:"0 0 24 24"},[h("path",le,[a.title?(l(),t("title",ae,g(a.title),1)):d("",!0)])],8,ie))],16,ee)}const de=G(Y,[["render",te]]);export{de as D,oe as N,re as s}; |
||||
//# sourceMappingURL=TrayArrowDown-CCnVDkvm.chunk.mjs.map
|
||||
@ -0,0 +1,17 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: Apache-2.0 |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Austin Andrews |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @mdi/svg |
||||
- version: 7.4.47 |
||||
- license: Apache-2.0 |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,17 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-License-Identifier: Apache-2.0 |
||||
SPDX-License-Identifier: MIT |
||||
SPDX-FileCopyrightText: Austin Andrews |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me> |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @mdi/svg |
||||
- version: 7.4.47 |
||||
- license: Apache-2.0 |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
- vue-material-design-icons |
||||
- version: 5.3.1 |
||||
- license: MIT |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@ |
||||
import{n as f,p,q as e}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";f(p);class t{constructor(n,o,r,i){this.r=n,this.g=o,this.b=r,this.name=i,this.r=Math.min(n,255),this.g=Math.min(o,255),this.b=Math.min(r,255),this.name=i}get color(){const n=o=>`00${o.toString(16)}`.slice(-2);return`#${n(this.r)}${n(this.g)}${n(this.b)}`}}function m(s,n,o){return{r:(o.r-n.r)/s,g:(o.g-n.g)/s,b:(o.b-n.b)/s}}function h(s,n,o){const r=[];r.push(n);const i=m(s,n,o);for(let c=1;c<s;c++){const w=Math.floor(n.r+i.r*c),g=Math.floor(n.g+i.g*c),b=Math.floor(n.b+i.b*c);r.push(new t(w,g,b))}return r}const l=new t(182,70,157,e("Purple")),u=new t(221,203,85,e("Gold")),a=new t(0,130,201,e("Nextcloud blue")),d=new t(0,0,0,e("Black")),B=new t(255,255,255,e("White")),$=[l,new t(191,103,139,e("Rosy brown")),new t(201,136,121,e("Feldspar")),new t(211,169,103,e("Whiskey")),u,new t(165,184,114,e("Olivine")),new t(110,166,143,e("Acapulco")),new t(55,148,172,e("Boston Blue")),a,new t(45,115,190,e("Mariner")),new t(91,100,179,e("Blue Violet")),new t(136,85,168,e("Deluge"))];function x(s){const n=h(s,l,u),o=h(s,u,a),r=h(s,a,l);return n.concat(o).concat(r)}export{d as C,B as a,t as b,$ as d,x as g}; |
||||
//# sourceMappingURL=colors-Go3zmZRD-0_rU0xTg.chunk.mjs.map
|
||||
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@ |
||||
SPDX-License-Identifier: AGPL-3.0-or-later |
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors |
||||
|
||||
This file is generated from multiple sources. Included packages: |
||||
- @nextcloud/vue |
||||
- version: 9.3.1 |
||||
- license: AGPL-3.0-or-later |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,5 @@ |
||||
/* extracted by css-entry-points-plugin */ |
||||
@import './dav-dav-settings-admin-caldav-7NASuukx.chunk.css'; |
||||
@import './TrayArrowDown-D7mIRwIy.chunk.css'; |
||||
@import './ContentCopy-Ck29Gkyh.chunk.css'; |
||||
@import './NcLoadingIcon-b_ajZ_nQ-BYHcrfvW.chunk.css'; |
||||
@import './NcCheckboxRadioSwitch-BCSKF7Tk-BgdwjgMO.chunk.css'; |
||||
@import './ContentCopy-D7mIRwIy.chunk.css'; |
||||
@ -1,2 +1,2 @@ |
||||
import{l as i,_ as y,N as b,c as g,d as R,p as E,e as u,r as v,o as C,w as r,k as n,a as c,b as m,t as l,f as S}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{N as V}from"./ContentCopy-DUGe9ppe.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:V,NcSettingsSection:b},setup(){return{t:u}},data(){return{userSyncCalendarsDocUrl:h,sendInvitations:i("dav","sendInvitations"),generateBirthdayCalendar:i("dav","generateBirthdayCalendar"),sendEventReminders:i("dav","sendEventReminders"),sendEventRemindersToSharedUsers:i("dav","sendEventRemindersToSharedUsers"),sendEventRemindersPush:i("dav","sendEventRemindersPush")}},computed:{hint(){return u("dav","Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.").replace("{calendarappstoreopen}",'<a target="_blank" href="../apps/office/calendar">').replace("{calendardocopen}",`<a target="_blank" href="${h}" rel="noreferrer noopener">`).replace(/\{linkclose\}/g,"</a>")},sendInvitationsHelpText(){return u("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")},sendEventRemindersHelpText(){return u("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")}},watch:{generateBirthdayCalendar(d){const e=d?"/apps/dav/enableBirthdayCalendar":"/apps/dav/disableBirthdayCalendar";R.post(E(e))},sendInvitations(d){OCP.AppConfig.setValue("dav","sendInvitations",d?"yes":"no")},sendEventReminders(d){OCP.AppConfig.setValue("dav","sendEventReminders",d?"yes":"no")},sendEventRemindersToSharedUsers(d){OCP.AppConfig.setValue("dav","sendEventRemindersToSharedUsers",d?"yes":"no")},sendEventRemindersPush(d){OCP.AppConfig.setValue("dav","sendEventRemindersPush",d?"yes":"no")}}},T=["innerHTML"],w=["innerHTML"],_=["innerHTML"],U={class:"indented"},P={class:"indented"};function H(d,e,x,s,a,p){const o=v("NcCheckboxRadioSwitch"),f=v("NcSettingsSection");return C(),g(f,{name:s.t("dav","Calendar server"),"doc-url":a.userSyncCalendarsDocUrl},{default:r(()=>[n("p",{class:"settings-hint",innerHTML:p.hint},null,8,T),n("p",null,[c(o,{id:"caldavSendInvitations",modelValue:a.sendInvitations,"onUpdate:modelValue":e[0]||(e[0]=t=>a.sendInvitations=t),type:"switch"},{default:r(()=>[m(l(s.t("dav","Send invitations to attendees")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.sendInvitationsHelpText},null,8,w)]),n("p",null,[c(o,{id:"caldavGenerateBirthdayCalendar",modelValue:a.generateBirthdayCalendar,"onUpdate:modelValue":e[1]||(e[1]=t=>a.generateBirthdayCalendar=t),type:"switch",class:"checkbox"},{default:r(()=>[m(l(s.t("dav","Automatically generate a birthday calendar")),1)]),_:1},8,["modelValue"]),n("em",null,l(s.t("dav","Birthday calendars will be generated by a background job.")),1),e[5]||(e[5]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Hence they will not be available immediately after enabling but will show up after some time.")),1)]),n("p",null,[c(o,{id:"caldavSendEventReminders",modelValue:a.sendEventReminders,"onUpdate:modelValue":e[2]||(e[2]=t=>a.sendEventReminders=t),type:"switch"},{default:r(()=>[m(l(s.t("dav","Send notifications for events")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.sendEventRemindersHelpText},null,8,_),e[6]||(e[6]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Notifications are sent via background jobs, so these must occur often enough.")),1)]),n("p",U,[c(o,{id:"caldavSendEventRemindersToSharedGroupMembers",modelValue:a.sendEventRemindersToSharedUsers,"onUpdate:modelValue":e[3]||(e[3]=t=>a.sendEventRemindersToSharedUsers=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[m(l(s.t("dav","Send reminder notifications to calendar sharees as well")),1)]),_:1},8,["modelValue","disabled"]),n("em",null,l(s.t("dav","Reminders are always sent to organizers and attendees.")),1)]),n("p",P,[c(o,{id:"caldavSendEventRemindersPush",modelValue:a.sendEventRemindersPush,"onUpdate:modelValue":e[4]||(e[4]=t=>a.sendEventRemindersPush=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[m(l(s.t("dav","Enable notifications for events via push")),1)]),_:1},8,["modelValue","disabled"])])]),_:1},8,["name","doc-url"])}const I=y(k,[["render",H],["__scopeId","data-v-84465bd0"]]),B=S(I);B.mount("#settings-admin-caldav"); |
||||
import{l as i,f as y,g,G as b,k as u,r as v,o as R,w as r,b as n,h as c,i as m,t as l,m as E}from"./_plugin-vue_export-helper-CkDS_aHW.chunk.mjs";import{c as C}from"./index-D_jg0qLx.chunk.mjs";import{N as S}from"./NcCheckboxRadioSwitch-BCSKF7Tk-BavRHIsI.chunk.mjs";import{N as V}from"./ContentCopy-CRRsp8jg.chunk.mjs";import"./NcLoadingIcon-b_ajZ_nQ-w7Nn62Bk.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:S,NcSettingsSection:V},setup(){return{t:u}},data(){return{userSyncCalendarsDocUrl:h,sendInvitations:i("dav","sendInvitations"),generateBirthdayCalendar:i("dav","generateBirthdayCalendar"),sendEventReminders:i("dav","sendEventReminders"),sendEventRemindersToSharedUsers:i("dav","sendEventRemindersToSharedUsers"),sendEventRemindersPush:i("dav","sendEventRemindersPush")}},computed:{hint(){return u("dav","Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.").replace("{calendarappstoreopen}",'<a target="_blank" href="../apps/office/calendar">').replace("{calendardocopen}",`<a target="_blank" href="${h}" rel="noreferrer noopener">`).replace(/\{linkclose\}/g,"</a>")},sendInvitationsHelpText(){return u("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")},sendEventRemindersHelpText(){return u("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")}},watch:{generateBirthdayCalendar(d){const e=d?"/apps/dav/enableBirthdayCalendar":"/apps/dav/disableBirthdayCalendar";C.post(b(e))},sendInvitations(d){OCP.AppConfig.setValue("dav","sendInvitations",d?"yes":"no")},sendEventReminders(d){OCP.AppConfig.setValue("dav","sendEventReminders",d?"yes":"no")},sendEventRemindersToSharedUsers(d){OCP.AppConfig.setValue("dav","sendEventRemindersToSharedUsers",d?"yes":"no")},sendEventRemindersPush(d){OCP.AppConfig.setValue("dav","sendEventRemindersPush",d?"yes":"no")}}},T=["innerHTML"],w=["innerHTML"],U=["innerHTML"],_={class:"indented"},P={class:"indented"};function H(d,e,x,s,a,p){const o=v("NcCheckboxRadioSwitch"),f=v("NcSettingsSection");return R(),g(f,{name:s.t("dav","Calendar server"),"doc-url":a.userSyncCalendarsDocUrl},{default:r(()=>[n("p",{class:"settings-hint",innerHTML:p.hint},null,8,T),n("p",null,[c(o,{id:"caldavSendInvitations",modelValue:a.sendInvitations,"onUpdate:modelValue":e[0]||(e[0]=t=>a.sendInvitations=t),type:"switch"},{default:r(()=>[m(l(s.t("dav","Send invitations to attendees")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.sendInvitationsHelpText},null,8,w)]),n("p",null,[c(o,{id:"caldavGenerateBirthdayCalendar",modelValue:a.generateBirthdayCalendar,"onUpdate:modelValue":e[1]||(e[1]=t=>a.generateBirthdayCalendar=t),type:"switch",class:"checkbox"},{default:r(()=>[m(l(s.t("dav","Automatically generate a birthday calendar")),1)]),_:1},8,["modelValue"]),n("em",null,l(s.t("dav","Birthday calendars will be generated by a background job.")),1),e[5]||(e[5]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Hence they will not be available immediately after enabling but will show up after some time.")),1)]),n("p",null,[c(o,{id:"caldavSendEventReminders",modelValue:a.sendEventReminders,"onUpdate:modelValue":e[2]||(e[2]=t=>a.sendEventReminders=t),type:"switch"},{default:r(()=>[m(l(s.t("dav","Send notifications for events")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.sendEventRemindersHelpText},null,8,U),e[6]||(e[6]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Notifications are sent via background jobs, so these must occur often enough.")),1)]),n("p",_,[c(o,{id:"caldavSendEventRemindersToSharedGroupMembers",modelValue:a.sendEventRemindersToSharedUsers,"onUpdate:modelValue":e[3]||(e[3]=t=>a.sendEventRemindersToSharedUsers=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[m(l(s.t("dav","Send reminder notifications to calendar sharees as well")),1)]),_:1},8,["modelValue","disabled"]),n("em",null,l(s.t("dav","Reminders are always sent to organizers and attendees.")),1)]),n("p",P,[c(o,{id:"caldavSendEventRemindersPush",modelValue:a.sendEventRemindersPush,"onUpdate:modelValue":e[4]||(e[4]=t=>a.sendEventRemindersPush=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[m(l(s.t("dav","Enable notifications for events via push")),1)]),_:1},8,["modelValue","disabled"])])]),_:1},8,["name","doc-url"])}const I=y(k,[["render",H],["__scopeId","data-v-84465bd0"]]),B=E(I);B.mount("#settings-admin-caldav"); |
||||
//# sourceMappingURL=dav-settings-admin-caldav.mjs.map
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,6 +1,15 @@ |
||||
/* extracted by css-entry-points-plugin */ |
||||
@import './dav-dav-settings-admin-example-content-BWzlcBW1.chunk.css'; |
||||
@import './TrayArrowDown-D7mIRwIy.chunk.css'; |
||||
@import './TrashCanOutline-CKjk9wDJ.chunk.css'; |
||||
@import './ContentCopy-Ck29Gkyh.chunk.css'; |
||||
@import './Plus-BNipQsdX.chunk.css'; |
||||
@import './NcNoteCard-CVhtNL04-DopLwvn9.chunk.css'; |
||||
@import './NcLoadingIcon-b_ajZ_nQ-BYHcrfvW.chunk.css'; |
||||
@import './index-JpgrUA2Z-PxDoi4mB.chunk.css'; |
||||
@import './NcUserStatusIcon-CGEf7fej-Bq_6hmXG.chunk.css'; |
||||
@import './NcAvatar-DmUGApWA-wDDaoPIL.chunk.css'; |
||||
@import './TrayArrowDown-_gyGHRGx.chunk.css'; |
||||
@import './NcPasswordField-djttkA5Q-2EzJaBaw.chunk.css'; |
||||
@import './NcEmojiPicker-pM4Pg2yq-Bhf55cM7.chunk.css'; |
||||
@import './NcCheckboxRadioSwitch-BCSKF7Tk-BgdwjgMO.chunk.css'; |
||||
@import './Plus-Ljy8Xyfk.chunk.css'; |
||||
@import './NcListItem-CZnKmy9X-CMlC-wJV.chunk.css'; |
||||
@import './ContentCopy-D7mIRwIy.chunk.css'; |
||||
@import './NcUserBubble-B3Jad98g-BlWKA8PK.chunk.css'; |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,15 @@ |
||||
/* extracted by css-entry-points-plugin */ |
||||
@import './dav-dav-settings-personal-availability-CTwf8DDv.chunk.css'; |
||||
@import './TrayArrowDown-D7mIRwIy.chunk.css'; |
||||
@import './TrashCanOutline-CKjk9wDJ.chunk.css'; |
||||
@import './ContentCopy-Ck29Gkyh.chunk.css'; |
||||
@import './Plus-BNipQsdX.chunk.css'; |
||||
@import './ContentCopy-D7mIRwIy.chunk.css'; |
||||
@import './NcNoteCard-CVhtNL04-DopLwvn9.chunk.css'; |
||||
@import './NcLoadingIcon-b_ajZ_nQ-BYHcrfvW.chunk.css'; |
||||
@import './index-JpgrUA2Z-PxDoi4mB.chunk.css'; |
||||
@import './TrayArrowDown-_gyGHRGx.chunk.css'; |
||||
@import './NcPasswordField-djttkA5Q-2EzJaBaw.chunk.css'; |
||||
@import './NcUserStatusIcon-CGEf7fej-Bq_6hmXG.chunk.css'; |
||||
@import './NcAvatar-DmUGApWA-wDDaoPIL.chunk.css'; |
||||
@import './NcEmojiPicker-pM4Pg2yq-Bhf55cM7.chunk.css'; |
||||
@import './NcCheckboxRadioSwitch-BCSKF7Tk-BgdwjgMO.chunk.css'; |
||||
@import './Plus-Ljy8Xyfk.chunk.css'; |
||||
@import './NcListItem-CZnKmy9X-CMlC-wJV.chunk.css'; |
||||
@import './NcUserBubble-B3Jad98g-BlWKA8PK.chunk.css'; |
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue