chore: compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2026-01-27 18:19:49 +01:00
parent 16fbf5ac9b
commit b4b5986be9
362 changed files with 735 additions and 1891 deletions

2
dist/1142-1142.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
1142-1142.js.license

2
dist/1598-1598.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/1598-1598.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/1598-1598.js.map.license vendored Symbolic link
View file

@ -0,0 +1 @@
1598-1598.js.license

2
dist/2605-2605.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,459 +0,0 @@
SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: BSD-3-Clause
SPDX-License-Identifier: BSD-2-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
SPDX-FileCopyrightText: xiaokai <kexiaokai@gmail.com>
SPDX-FileCopyrightText: string_decoder developers
SPDX-FileCopyrightText: readable-stream developers
SPDX-FileCopyrightText: qs developers
SPDX-FileCopyrightText: jden <jason@denizac.org>
SPDX-FileCopyrightText: inherits developers
SPDX-FileCopyrightText: escape-html developers
SPDX-FileCopyrightText: defunctzombie
SPDX-FileCopyrightText: debounce developers
SPDX-FileCopyrightText: atomiks
SPDX-FileCopyrightText: Varun A P
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
SPDX-FileCopyrightText: Sindre Sorhus
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
SPDX-FileCopyrightText: Raynos <raynos2@gmail.com>
SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
SPDX-FileCopyrightText: Olivier Scherrer <pode.fr@gmail.com>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)
SPDX-FileCopyrightText: Matt Zabriskie
SPDX-FileCopyrightText: Mathias Bynens
SPDX-FileCopyrightText: Julian Gruber
SPDX-FileCopyrightText: Joyent
SPDX-FileCopyrightText: José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)
SPDX-FileCopyrightText: Jordan Harband <ljharb@gmail.com>
SPDX-FileCopyrightText: Jordan Harband
SPDX-FileCopyrightText: Jordan Harbamd <ljharb@gmail.com>
SPDX-FileCopyrightText: John Hiesey
SPDX-FileCopyrightText: James Halliday
SPDX-FileCopyrightText: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)
SPDX-FileCopyrightText: Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
SPDX-FileCopyrightText: Guillaume Chau
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
SPDX-FileCopyrightText: Felix Boehm <me@feedic.com>
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Dylan Piercey <pierceydylan@gmail.com>
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: David Clark
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Ben Drucker
SPDX-FileCopyrightText: Arnout Kazemier
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
SPDX-FileCopyrightText: Anthony Fu <anthonyfu117@hotmail.com>
SPDX-FileCopyrightText: Amit Gupta (https://solothought.com)
SPDX-FileCopyrightText: Amit Gupta (https://amitkumargupta.work/)
SPDX-FileCopyrightText: @nextcloud/dialogs developers
This file is generated from multiple sources. Included packages:
- @buttercup/fetch
- version: 0.2.1
- license: MIT
- @floating-ui/core
- version: 1.7.3
- license: MIT
- @floating-ui/utils
- version: 0.2.10
- license: MIT
- @nextcloud/auth
- version: 2.5.3
- license: GPL-3.0-or-later
- @nextcloud/axios
- version: 2.5.2
- license: GPL-3.0-or-later
- @nextcloud/browser-storage
- version: 0.5.0
- license: GPL-3.0-or-later
- @nextcloud/capabilities
- version: 1.2.1
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.3.3
- license: AGPL-3.0-or-later
- @vueuse/core
- version: 14.1.0
- license: MIT
- @vueuse/shared
- version: 14.1.0
- license: MIT
- focus-trap
- version: 7.6.6
- license: MIT
- vue-router
- version: 4.6.4
- license: MIT
- vue
- version: 3.5.26
- license: MIT
- @nextcloud/dialogs
- version: 7.2.0
- license: AGPL-3.0-or-later
- semver
- version: 7.7.2
- license: ISC
- @nextcloud/event-bus
- version: 3.3.3
- license: GPL-3.0-or-later
- @nextcloud/initial-state
- version: 3.0.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.1
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 3.0.3
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.2.0
- license: AGPL-3.0-or-later
- @vue/reactivity
- version: 3.5.24
- license: MIT
- @vue/runtime-core
- version: 3.5.24
- license: MIT
- @vue/runtime-dom
- version: 3.5.24
- license: MIT
- @vue/shared
- version: 3.5.24
- license: MIT
- vue-router
- version: 4.6.3
- license: MIT
- vue
- version: 3.5.24
- license: MIT
- @nextcloud/password-confirmation
- version: 6.0.2
- license: MIT
- @nextcloud/paths
- version: 3.0.0
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.1.0
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 8.35.3
- license: AGPL-3.0-or-later
- @vue/devtools-api
- version: 6.6.4
- license: MIT
- @vue/reactivity
- version: 3.5.26
- license: MIT
- @vue/runtime-core
- version: 3.5.26
- license: MIT
- @vue/runtime-dom
- version: 3.5.26
- license: MIT
- @vue/shared
- version: 3.5.26
- license: MIT
- @vueuse/core
- version: 11.3.0
- license: MIT
- @vueuse/shared
- version: 11.3.0
- license: MIT
- available-typed-arrays
- version: 1.0.7
- license: MIT
- axios
- version: 1.12.2
- license: MIT
- balanced-match
- version: 1.0.2
- license: MIT
- base-64
- version: 1.0.0
- license: MIT
- base64-js
- version: 1.5.1
- license: MIT
- brace-expansion
- version: 2.0.2
- license: MIT
- builtin-status-codes
- version: 3.0.0
- license: MIT
- byte-length
- version: 1.0.2
- license: MIT
- call-bind-apply-helpers
- version: 1.0.2
- license: MIT
- call-bind
- version: 1.0.8
- license: MIT
- call-bound
- version: 1.0.4
- license: MIT
- camelcase
- version: 9.0.0
- license: MIT
- charenc
- version: 0.0.2
- license: BSD-3-Clause
- crypt
- version: 0.0.2
- license: BSD-3-Clause
- css-loader
- version: 7.1.2
- license: MIT
- debounce
- version: 3.0.0
- license: MIT
- define-data-property
- version: 1.1.4
- license: MIT
- dompurify
- version: 3.3.1
- license: (MPL-2.0 OR Apache-2.0)
- dunder-proto
- version: 1.0.1
- license: MIT
- es-define-property
- version: 1.0.1
- license: MIT
- es-errors
- version: 1.3.0
- license: MIT
- es-object-atoms
- version: 1.1.1
- license: MIT
- escape-html
- version: 1.0.3
- license: MIT
- events
- version: 3.3.0
- license: MIT
- floating-vue
- version: 1.0.0-beta.19
- license: MIT
- focus-trap
- version: 7.8.0
- license: MIT
- for-each
- version: 0.3.5
- license: MIT
- function-bind
- version: 1.1.2
- license: MIT
- generator-function
- version: 2.0.1
- license: MIT
- get-intrinsic
- version: 1.3.0
- license: MIT
- get-proto
- version: 1.0.1
- license: MIT
- gopd
- version: 1.2.0
- license: MIT
- has-property-descriptors
- version: 1.0.2
- license: MIT
- has-symbols
- version: 1.1.0
- license: MIT
- has-tostringtag
- version: 1.0.2
- license: MIT
- hasown
- version: 2.0.2
- license: MIT
- hot-patcher
- version: 2.0.1
- license: MIT
- https-browserify
- version: 1.0.0
- license: MIT
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
- inherits
- version: 2.0.4
- license: ISC
- is-arguments
- version: 1.2.0
- license: MIT
- is-buffer
- version: 1.1.6
- license: MIT
- is-callable
- version: 1.2.7
- license: MIT
- is-generator-function
- version: 1.1.2
- license: MIT
- is-regex
- version: 1.2.1
- license: MIT
- is-typed-array
- version: 1.1.15
- license: MIT
- layerr
- version: 3.0.0
- license: MIT
- math-intrinsics
- version: 1.1.0
- license: MIT
- md5
- version: 2.3.0
- license: BSD-3-Clause
- nested-property
- version: 4.0.0
- license: MIT
- buffer
- version: 6.0.3
- license: MIT
- object-inspect
- version: 1.13.4
- license: MIT
- path-posix
- version: 1.0.0
- license: ISC
- possible-typed-array-names
- version: 1.1.0
- license: MIT
- process
- version: 0.11.10
- license: MIT
- punycode
- version: 1.4.1
- license: MIT
- qs
- version: 6.14.1
- license: BSD-3-Clause
- querystringify
- version: 2.2.0
- license: MIT
- requires-port
- version: 1.0.0
- license: MIT
- safe-buffer
- version: 5.2.1
- license: MIT
- safe-regex-test
- version: 1.1.0
- license: MIT
- set-function-length
- version: 1.2.2
- license: MIT
- side-channel-list
- version: 1.0.0
- license: MIT
- side-channel-map
- version: 1.0.1
- license: MIT
- side-channel-weakmap
- version: 1.0.2
- license: MIT
- side-channel
- version: 1.1.0
- license: MIT
- readable-stream
- version: 3.6.2
- license: MIT
- stream-browserify
- version: 3.0.0
- license: MIT
- readable-stream
- version: 3.6.2
- license: MIT
- stream-http
- version: 3.2.0
- license: MIT
- string_decoder
- version: 1.3.0
- license: MIT
- style-loader
- version: 4.0.0
- license: MIT
- tabbable
- version: 6.4.0
- license: MIT
- toastify-js
- version: 1.12.0
- license: MIT
- url-join
- version: 5.0.0
- license: MIT
- url-parse
- version: 1.5.10
- license: MIT
- url
- version: 0.11.4
- license: MIT
- util-deprecate
- version: 1.0.2
- license: MIT
- util
- version: 0.12.5
- license: MIT
- vue-color
- version: 2.8.2
- license: MIT
- vue-demi
- version: 0.14.10
- license: MIT
- vue-loader
- version: 15.11.1
- license: MIT
- vue-material-design-icons
- version: 5.3.1
- license: MIT
- vue
- version: 2.7.16
- license: MIT
- entities
- version: 6.0.1
- license: BSD-2-Clause
- fast-xml-parser
- version: 4.5.3
- license: MIT
- minimatch
- version: 9.0.5
- license: ISC
- strnum
- version: 1.1.2
- license: MIT
- webdav
- version: 5.8.0
- license: MIT
- which-typed-array
- version: 1.1.19
- license: MIT
- xtend
- version: 4.0.2
- license: MIT
- base64-js
- version: 1.5.1
- license: MIT
- buffer
- version: 5.7.1
- license: MIT
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
- nextcloud
- version: 1.0.0
- license: AGPL-3.0-or-later

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
2605-2605.js.license

2
dist/6692-6692.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
6692-6692.js.license

2
dist/9429-9429.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/9429-9429.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/9429-9429.js.map.license vendored Symbolic link
View file

@ -0,0 +1 @@
9429-9429.js.license

View file

@ -0,0 +1,2 @@
import{b as g,q as y,s as v,c as p,u as o,o as n,L as h,w as _,g as V,t as b,v as x,r as M,j as d,e as f,F as q,C as w,E as K,G as U}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as j}from"./index-D9L8KHF3.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-D4yQFKNw.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{c as L}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as S}from"./NcSelect-Czzsi3P_-wYuKB0zM.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BCSKF7Tk-BDM2s1GW.chunk.mjs";import{N}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{_ as z}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{C as c,a as k}from"./types-DD622x-I.chunk.mjs";import{l as B}from"./logger-CrDakPzW.chunk.mjs";const P=g({__name:"ConfigurationEntry",props:y({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue");return(t,i)=>e.configOption.type!==o(c).Boolean?(n(),p(h(e.configOption.type===o(c).Password?o(N):o(z)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),name:e.configKey,required:!(e.configOption.flags&o(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(n(),p(o(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=g({__name:"AuthMechanismRsa",props:y({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=M();x(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await j.post(E("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=l.data.private_key,a.value.public_key=l.data.public_key}catch(l){B.error("Error generating RSA key pair",{error:l}),C(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(q,null,w(e.authMechanism.configuration,(r,u)=>K((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:r},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(r.flags&o(k).Hidden)]])),128)),f(o(S),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(L),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
//# sourceMappingURL=AuthMechanismRsa-Bd11WxBh.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{b as g,p as y,q as v,c as p,u as o,o as n,N as h,w as _,g as V,t as b,s as x,r as M,j as d,e as f,F as q,C as w,E as K,G as U}from"./runtime-dom.esm-bundler-OnXpa8v9.chunk.mjs";import{c as j}from"./index-BT4wQaDP.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-nZKKuBvr.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-gw0g4US-.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9--Zqj3wLs.chunk.mjs";import{c as N}from"./NcNoteCard-CVhtNL04-CJazPt2C.chunk.mjs";import{N as S}from"./NcSelect-Czzsi3P_-C6N5izGc.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BCSKF7Tk-DUHTT_Np.chunk.mjs";import{N as L}from"./NcPasswordField-djttkA5Q-Dyr2DfKl.chunk.mjs";import{_ as z}from"./TrashCanOutline-DxP9to3z.chunk.mjs";import{C as c,a as k}from"./types-BrEQjG8Y.chunk.mjs";import{l as B}from"./logger-CrDakPzW.chunk.mjs";const P=g({__name:"ConfigurationEntry",props:y({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue");return(t,i)=>e.configOption.type!==o(c).Boolean?(n(),p(h(e.configOption.type===o(c).Password?o(L):o(z)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),name:e.configKey,required:!(e.configOption.flags&o(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(n(),p(o(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=g({__name:"AuthMechanismRsa",props:y({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=M();x(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await j.post(E("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=l.data.private_key,a.value.public_key=l.data.public_key}catch(l){B.error("Error generating RSA key pair",{error:l}),C(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(q,null,w(e.authMechanism.configuration,(r,u)=>K((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:r},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(r.flags&o(k).Hidden)]])),128)),f(o(S),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(N),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
//# sourceMappingURL=AuthMechanismRsa-je5836Yr.chunk.mjs.map

View file

@ -1,2 +1,2 @@
import{r as g,_ as p,t as h}from"./createElementId-DhjFt1I9--Zqj3wLs.chunk.mjs";import{b as C,j as i,o as e,k as o,l as s,m as _,g as y,t as r,u as d,e as k,y as f}from"./runtime-dom.esm-bundler-OnXpa8v9.chunk.mjs";import{a as H}from"./index-xFugdZPW.chunk.mjs";const b={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A=["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,m,u){return e(),i("span",f(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]=n=>a.$emit("click",n))}),[(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,r(t.title),1)):s("",!0)])],8,v))],16,A)}const M=p(b,[["render",z]]);g();const S={class:"settings-section"},x={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=C({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=h("External documentation");return(t,c)=>(e(),i("div",S,[o("h2",x,[y(r(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)},[k(M,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,r(t.description),1)):s("",!0),_(t.$slots,"default",{},void 0,!0)]))}}),T=p(N,[["__scopeId","data-v-9cedb949"]]),U={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B=["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"},j={key:0};function E(a,l,t,c,m,u){return e(),i("span",f(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]=n=>a.$emit("click",n))}),[(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",j,r(t.title),1)):s("",!0)])],8,L))],16,B)}const F=H(U,[["render",E]]);export{F as I,T as N};
//# sourceMappingURL=ContentCopy-Dzkm7Khn.chunk.mjs.map
import{r as g,_ as p,t as h}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as C,j as i,o as e,k as o,l as s,m as _,g as k,t as r,u as d,e as y,z as f}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{a as H}from"./index-xFugdZPW.chunk.mjs";const b={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A=["aria-hidden","aria-label"],v=["fill","width","height"],z={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"},V={key:0};function w(a,l,t,c,m,u){return e(),i("span",f(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]=n=>a.$emit("click",n))}),[(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",V,r(t.title),1)):s("",!0)])],8,v))],16,A)}const M=p(b,[["render",w]]);g();const S={class:"settings-section"},x={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=C({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=h("External documentation");return(t,c)=>(e(),i("div",S,[o("h2",x,[k(r(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)},[y(M,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,r(t.description),1)):s("",!0),_(t.$slots,"default",{},void 0,!0)]))}}),T=p(N,[["__scopeId","data-v-9cedb949"]]),U={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B=["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"},j={key:0};function E(a,l,t,c,m,u){return e(),i("span",f(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]=n=>a.$emit("click",n))}),[(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",j,r(t.title),1)):s("",!0)])],8,L))],16,B)}const F=H(U,[["render",E]]);export{F as I,T as N};
//# sourceMappingURL=ContentCopy-caJ7vqeg.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-Dzo4H_NA.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{_ as c}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{b as g,c as f,o as h,w as x,e as s,u as e,r as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./index-D9L8KHF3.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";const k=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(h(),f(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","data-cy-external-storage-auth-dialog-login":"",label:e(t)("files_external","Login"),placeholder:e(t)("files_external","Enter the storage login"),minlength:"2",name:"login",required:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","data-cy-external-storage-auth-dialog-password":"",label:e(t)("files_external","Password"),placeholder:e(t)("files_external","Enter the storage password"),name:"password",required:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{k as default};
//# sourceMappingURL=CredentialsDialog-DwWjxtIL.chunk.mjs.map

View file

@ -1 +1 @@
{"version":3,"file":"CredentialsDialog-tP25sKHn.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"kvBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
{"version":3,"file":"CredentialsDialog-DwWjxtIL.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"sxBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}

View file

@ -1,2 +0,0 @@
import{t}from"./translation-DoG5ZELJ-gw0g4US-.chunk.mjs";import{N as m}from"./index-JpgrUA2Z-nZKKuBvr.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-CJazPt2C.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-Dyr2DfKl.chunk.mjs";import{_ as c}from"./TrashCanOutline-DxP9to3z.chunk.mjs";import{b as g,c as f,o as h,w as x,e as s,u as e,r as n}from"./runtime-dom.esm-bundler-OnXpa8v9.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./createElementId-DhjFt1I9--Zqj3wLs.chunk.mjs";import"./mdi-jSyRgDgA.chunk.mjs";import"./index-BT4wQaDP.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bu0D97at.chunk.mjs";const $=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),u=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(h(),f(e(m),{buttons:u,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","data-cy-external-storage-auth-dialog-login":"",label:e(t)("files_external","Login"),placeholder:e(t)("files_external","Enter the storage login"),minlength:"2",name:"login",required:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","data-cy-external-storage-auth-dialog-password":"",label:e(t)("files_external","Password"),placeholder:e(t)("files_external","Enter the storage password"),name:"password",required:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{$ as default};
//# sourceMappingURL=CredentialsDialog-tP25sKHn.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

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

View file

@ -0,0 +1,2 @@
import{N as u,m as g}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as k}from"./PencilOutline-BPy7Lagu.chunk.mjs";import{a as y}from"./index-Dzo4H_NA.chunk.mjs";import{r as P,t as b,_ as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as N,i as S,j as f,o as s,l as n,k as $,c as i,m as c,g as h,t as m,p as z,w as e,e as L,u as j,n as w}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";P();const B={key:0,class:"nc-chip__icon"},I={class:"nc-chip__text"},A=N({__name:"NcChip",props:{ariaLabelClose:{default:b("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(v,{emit:_}){const t=v,C=_,l=S(),o=z(()=>!t.noClose),r=()=>!!l.actions,p=()=>!!(t.iconPath||t.iconSvg||l.icon);return(a,d)=>(s(),f("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!r(),"nc-chip--no-icon":!p()}])},[p()?(s(),f("span",B,[c(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(s(),i(u,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):n("",!0)],!0)])):n("",!0),$("span",I,[c(a.$slots,"default",{},()=>[h(m(a.text),1)],!0)]),o.value||r()?(s(),i(y,{key:1,class:"nc-chip__actions",container:a.actionsContainer,"force-menu":!o.value,variant:"tertiary-no-background"},{default:e(()=>[o.value?(s(),i(k,{key:0,"close-after-click":"",onClick:d[0]||(d[0]=D=>C("close"))},{icon:e(()=>[L(u,{path:j(g),size:20},null,8,["path"])]),default:e(()=>[h(" "+m(a.ariaLabelClose),1)]),_:1})):n("",!0),c(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","force-menu"])):n("",!0)],2))}}),F=x(A,[["__scopeId","data-v-2aa1d7ea"]]);export{F as N};
//# sourceMappingURL=NcChip-D8tGFzRl-BmzaEo05.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
.material-design-icon[data-v-2aa1d7ea]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.nc-chip[data-v-2aa1d7ea]{--chip-size: 24px;--chip-radius: calc(var(--chip-size) / 2);height:var(--chip-size);max-width:fit-content;display:flex;flex-direction:row;align-items:center;border-radius:var(--chip-radius);background-color:var(--color-background-hover)}.nc-chip--primary[data-v-2aa1d7ea]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.nc-chip--secondary[data-v-2aa1d7ea]{background-color:var(--color-primary-element-light);color:var(--color-primary-element-light-text)}.nc-chip--error[data-v-2aa1d7ea]{background-color:var(--color-error);color:var(--color-error-text)}.nc-chip--warning[data-v-2aa1d7ea]{background-color:var(--color-warning);color:var(--color-warning-text)}.nc-chip--success[data-v-2aa1d7ea]{background-color:var(--color-success);color:var(--color-success-text)}.nc-chip--no-actions .nc-chip__text[data-v-2aa1d7ea]{padding-inline-end:calc(2 * var(--default-grid-baseline))}.nc-chip--no-icon .nc-chip__text[data-v-2aa1d7ea]{padding-inline-start:calc(2 * var(--default-grid-baseline))}.nc-chip__text[data-v-2aa1d7ea]{flex:1 auto;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.nc-chip__icon[data-v-2aa1d7ea]{flex:0 0 var(--chip-size);margin-inline-end:var(--default-grid-baseline);line-height:1;display:flex;align-items:center;justify-content:center;overflow:hidden;height:var(--chip-size);width:var(--chip-size)}.nc-chip__actions[data-v-2aa1d7ea]{flex:0 0 var(--chip-size);--default-clickable-area: var(--chip-size);--border-radius-element: var(--chip-radius)}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/NcDateTime-DS-ziNw6.chunk.css vendored Normal file
View file

@ -0,0 +1 @@
.material-design-icon[data-v-32f01b7a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-32f01b7a]:hover,li.action.active[data-v-32f01b7a]{border-radius:6px;padding:0}li.action[data-v-32f01b7a]:hover{background-color:var(--color-background-hover)}.action-link[data-v-32f01b7a]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-link>span[data-v-32f01b7a]{cursor:pointer;white-space:nowrap}.action-link__icon[data-v-32f01b7a]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-link[data-v-32f01b7a] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-link[data-v-32f01b7a] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-link__longtext-wrapper[data-v-32f01b7a],.action-link__longtext[data-v-32f01b7a]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-link__longtext[data-v-32f01b7a]{cursor:pointer;white-space:pre-wrap!important}.action-link__name[data-v-32f01b7a]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-link__description[data-v-32f01b7a]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-link__menu-icon[data-v-32f01b7a]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.material-design-icon[data-v-87267750]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-87267750]:hover,li.action.active[data-v-87267750]{border-radius:6px;padding:0}li.action[data-v-87267750]:hover{background-color:var(--color-background-hover)}.action-router[data-v-87267750]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-router>span[data-v-87267750]{cursor:pointer;white-space:nowrap}.action-router__icon[data-v-87267750]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-router[data-v-87267750] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-router[data-v-87267750] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-router__longtext-wrapper[data-v-87267750],.action-router__longtext[data-v-87267750]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-router__longtext[data-v-87267750]{cursor:pointer;white-space:pre-wrap!important}.action-router__name[data-v-87267750]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-router__description[data-v-87267750]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-router__menu-icon[data-v-87267750]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action--disabled[data-v-87267750]{pointer-events:none;opacity:.5}.action--disabled[data-v-87267750]:hover,.action--disabled[data-v-87267750]:focus{cursor:default;opacity:.5}.action--disabled[data-v-87267750] *{opacity:1!important}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
import{a as d}from"./PencilOutline-BPy7Lagu.chunk.mjs";import{d as _,z as C,A as S}from"./index-Dzo4H_NA.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{j as a,o,k as n,m as x,l as g,N as k,n as y,t as l,f as I,e as v,w as h,b as w,u as T,p as m,Z as p}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],N=["download","href","aria-label","target","title","role"],U={key:0,class:"action-link__longtext-wrapper"},j={class:"action-link__name"},$=["textContent"],A=["textContent"],R={key:2,class:"action-link__text"};function W(e,t,i,u,c,r){return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",U,[n("strong",j,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,$)])):e.isLongText?(o(),a("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(o(),a("span",R,l(e.text),1)),g("",!0)],8,N)],8,M)}const V=f(L,[["render",W],["__scopeId","data-v-32f01b7a"]]),q={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},B=["role"],O={key:0,class:"action-router__longtext-wrapper"},z={class:"action-router__name"},D=["textContent"],Z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",O,[n("strong",z,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,D)])):e.isLongText?(o(),a("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,Z)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,B)}const X=f(q,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Y=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(o(),a("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{V as N,Y as _,X as a};
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-Bb9gAlar.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

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
import{b as j,q as h,s as q,D as F,x as L,j as n,o as i,k as p,l as u,E as z,c as t,z as A,p as d,t as v,G as D,m as y,w as E,u as s,g as G,n as M}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as S,d as g,N as o,e as m,i as x}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{_ as H,c as J}from"./createElementId-DhjFt1I9-Bjk2333q.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=j({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>J()},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:h(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:k,emit:B}){const r=q(c,"modelValue"),l=c,$=B;k({focus:O,select:I});const f=F(),b=L("input"),T=d(()=>l.showTrailingButton||l.success),w=d(()=>{if(l.placeholder)return l.placeholder;if(l.label)return x?l.label:""}),_=d(()=>l.label||l.labelOutside),C=d(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function O(e){b.value.focus(e)}function I(){b.value.select()}function N(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:M(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(x)},e.$props.class]])},[p("div",K,[p("input",A(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:N}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),z(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[D,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(S,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=V=>$("trailingButtonClick",V))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(o,{key:0,path:s(g)},null,8,["path"])):(i(),t(o,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(o,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),G(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-a0e80f48"]]);export{le as N};
//# sourceMappingURL=NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs.map

View file

@ -1,2 +0,0 @@
import{b as q,p as h,q as F,D as L,v as N,j as n,o as i,k as p,l as u,E as z,c as t,y as A,z as d,t as v,G as D,m as y,w as E,u as s,g as G,n as M}from"./runtime-dom.esm-bundler-OnXpa8v9.chunk.mjs";import{c as S,d as g,a as o,e as m,i as k}from"./NcNoteCard-CVhtNL04-CJazPt2C.chunk.mjs";import{_ as H,c as J}from"./createElementId-DhjFt1I9--Zqj3wLs.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=q({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>J()},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:h(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:x,emit:B}){const r=F(c,"modelValue"),l=c,$=B;x({focus:O,select:I});const f=L(),b=N("input"),T=d(()=>l.showTrailingButton||l.success),w=d(()=>{if(l.placeholder)return l.placeholder;if(l.label)return k?l.label:""}),_=d(()=>l.label||l.labelOutside),C=d(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function O(e){b.value.focus(e)}function I(){b.value.select()}function V(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:M(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(k)},e.$props.class]])},[p("div",K,[p("input",A(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:V}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),z(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[D,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(S,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=j=>$("trailingButtonClick",j))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(o,{key:0,path:s(g)},null,8,["path"])):(i(),t(o,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(o,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),G(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-a0e80f48"]]);export{le as N};
//# sourceMappingURL=NcInputField-Bwsh2aHY-Bu0D97at.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

View file

@ -0,0 +1,2 @@
import{r as T,o as B,p as I,q as N,s as O,t as h,N as S,i as V,u as D,v as $,w as j,x as q}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{b as E,I as L,K as v,a6 as P,p as i,u as l,j as m,o as y,m as x,k as _,e as R,n as A,l as M,t as b}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{_ as z}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";function C(t){const n=v(T),a=v(B),r=i(()=>{const s=l(t.to);return n.resolve(s)}),e=i(()=>{const{matched:s}=r.value,{length:c}=s,f=s[c-1],u=a.matched;if(!f||!u.length)return-1;const p=u.findIndex(h.bind(null,f));if(p>-1)return p;const g=k(s[c-2]);return c>1&&k(f)===g&&u[u.length-1].path!==g?u.findIndex(h.bind(null,s[c-2])):p}),o=i(()=>e.value>-1&&J(a.params,r.value.params)),d=i(()=>e.value>-1&&e.value===a.matched.length-1&&N(a.params,r.value.params));function K(s={}){if(H(s)){const c=n[l(t.replace)?"replace":"push"](l(t.to)).catch(I);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:i(()=>r.value.href),isActive:o,isExactActive:d,navigate:K}}function F(t){return t.length===1?t[0]:t}const G=E({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:C,setup(t,{slots:n}){const a=L(C(t)),{options:r}=v(T),e=i(()=>({[w(t.activeClass,r.linkActiveClass,"router-link-active")]:a.isActive,[w(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const o=n.default&&F(n.default(a));return t.custom?o:P("a",{"aria-current":a.isExactActive?t.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:e.value},o)}}}),et=G;function H(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function J(t,n){for(const a in n){const r=n[a],e=t[a];if(typeof r=="string"){if(r!==e)return!1}else if(!O(e)||e.length!==r.length||r.some((o,d)=>o!==e[d]))return!1}return!0}function k(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const w=(t,n,a)=>t??n??a,Q=["role"],U={key:0,class:"notecard__heading"},W={class:"notecard__text"},X=E({__name:"NcNoteCard",props:{heading:{default:void 0},showAlert:{type:Boolean},text:{default:void 0},type:{default:"warning"}},setup(t){const n=t,a=i(()=>n.showAlert||n.type==="error"),r=i(()=>{switch(n.type){case"error":return q;case"success":return j;case"info":return $;default:return D}});return(e,o)=>(y(),m("div",{class:A(["notecard",{[`notecard--${e.type}`]:e.type,"notecard--legacy":l(V)}]),role:a.value?"alert":"note"},[x(e.$slots,"icon",{},()=>[R(l(S),{path:r.value,class:A(["notecard__icon",{"notecard__icon--heading":e.heading}]),inline:""},null,8,["path","class"])],!0),_("div",null,[e.heading?(y(),m("p",U,b(e.heading),1)):M("",!0),x(e.$slots,"default",{},()=>[_("p",W,b(e.text),1)],!0)])],10,Q))}}),at=z(X,[["__scopeId","data-v-7e4656f9"]]);export{at as N,et as R};
//# sourceMappingURL=NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
.material-design-icon[data-v-7e4656f9]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-7e4656f9]{--note-card-icon-size: 20px;--note-card-padding: calc(2 * var(--default-grid-baseline));color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:var(--default-grid-baseline) solid var(--note-theme);border-radius:var(--border-radius-small);margin:1rem 0;padding:var(--note-card-padding);display:flex;flex-direction:row;gap:var(--note-card-padding)}.notecard__heading[data-v-7e4656f9]{font-size:var(--note-card-icon-size);font-weight:600}.notecard__icon[data-v-7e4656f9]{color:var(--note-theme)}.notecard__icon--heading[data-v-7e4656f9]{font-size:var(--note-card-icon-size);margin-block:calc((1lh - 1em)/2) auto}.notecard--success[data-v-7e4656f9]{--note-background: var(--color-success);--note-theme: var(--color-success-text)}.notecard--info[data-v-7e4656f9]{--note-background: var(--color-info);--note-theme: var(--color-info-text)}.notecard--error[data-v-7e4656f9]{--note-background: var(--color-error);--note-theme: var(--color-error-text)}.notecard--warning[data-v-7e4656f9]{--note-background: var(--color-warning);--note-theme: var(--color-warning-text)}.notecard--legacy[data-v-7e4656f9]{background-color:color-mix(in srgb,var(--note-background),var(--color-main-background) 80%)!important;color:var(--color-main-text)!important}

View file

@ -0,0 +1,2 @@
import{l as k,N as S,a as C,b as N}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{c as F}from"./index-D9L8KHF3.chunk.mjs";import{g as M}from"./index-xFugdZPW.chunk.mjs";import{r as $,_ as q,a as z,t as n}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{d as H}from"./index-6_gsQFyp.chunk.mjs";import{N as I}from"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";import{b as L,q as c,s as v,v as O,x as U,r as m,c as j,o as A,y as D,w as f,m as E,e as G,u as o,z as J,p as h}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";$();const K=L({__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(l,{expose:y,emit:w}){const s=v(l,"modelValue"),a=v(l,"visible"),t=l,d=w;O(s,H(B,500)),y({focus:T,select:P});const{password_policy:b}=M(),u=U("inputField"),r=m(""),i=m(),g=h(()=>{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}),x=h(()=>t.minlength??(t.checkPasswordStrength?b?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await F.post(z("apps/password_policy/api/v1/validate"),{password:s.value});if(i.value=e.ocs.data.passed,e.ocs.data.passed){r.value=n("Password is secure"),d("valid");return}r.value=e.ocs.data.reason,d("invalid")}catch(e){k.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)=>(A(),j(I,J(g.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),error:e.error||i.value===!1,"helper-text":e.helperText||r.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:x.value,success:e.success||i.value===!0,"trailing-button-label":a.value?o(n)("Hide password"):o(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:_}),D({"trailing-button-icon":f(()=>[G(S,{path:a.value?o(C):o(N)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[E(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),ae=q(K,[["__scopeId","data-v-b2684de6"]]);export{ae as N};
//# sourceMappingURL=NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs.map

View file

@ -1,2 +0,0 @@
import{l as k,a as S,m as C,b as F}from"./NcNoteCard-CVhtNL04-CJazPt2C.chunk.mjs";import{c as N}from"./index-BT4wQaDP.chunk.mjs";import{g as M}from"./index-xFugdZPW.chunk.mjs";import{r as $,_ as q,a as z,t as n}from"./createElementId-DhjFt1I9--Zqj3wLs.chunk.mjs";import{d as H}from"./index-6_gsQFyp.chunk.mjs";import{N as I}from"./NcInputField-Bwsh2aHY-Bu0D97at.chunk.mjs";import{b as L,p as c,q as v,s as O,v as U,r as m,c as j,o as A,x as D,w as f,m as E,e as G,u as o,y as J,z as h}from"./runtime-dom.esm-bundler-OnXpa8v9.chunk.mjs";$();const K=L({__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(l,{expose:y,emit:w}){const s=v(l,"modelValue"),a=v(l,"visible"),t=l,d=w;O(s,H(B,500)),y({focus:T,select:P});const{password_policy:b}=M(),u=U("inputField"),r=m(""),i=m(),g=h(()=>{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}),x=h(()=>t.minlength??(t.checkPasswordStrength?b?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await N.post(z("apps/password_policy/api/v1/validate"),{password:s.value});if(i.value=e.ocs.data.passed,e.ocs.data.passed){r.value=n("Password is secure"),d("valid");return}r.value=e.ocs.data.reason,d("invalid")}catch(e){k.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)=>(A(),j(I,J(g.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),error:e.error||i.value===!1,"helper-text":e.helperText||r.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:x.value,success:e.success||i.value===!0,"trailing-button-label":a.value?o(n)("Hide password"):o(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:_}),D({"trailing-button-icon":f(()=>[G(S,{path:a.value?o(C):o(F)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[E(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),ae=q(K,[["__scopeId","data-v-b2684de6"]]);export{ae as N};
//# sourceMappingURL=NcPasswordField-djttkA5Q-Dyr2DfKl.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

Some files were not shown because too many files have changed in this diff Show more