You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/dist/4221-4221.js.map

1 lines
6.8 KiB

{"version":3,"file":"4221-4221.js?v=8176a71aa66260e1e1b2","mappings":"u4BAOA,MAAMA,EAAI,CAACC,EAAGC,EAAGC,EAAI,YAEnB,MAAMC,EAAIC,SAASC,cAAc,QAChCD,SAASE,cAAmB,MAALL,OAAY,EAASA,EAAEM,YAAcH,SAASI,MAAMC,YAAYN,GACxF,MAAMO,EAAI,IAAI,UAAE,CAAEC,GAAIR,EAAGS,KAAM,kBAAmBC,OAASC,GAAMA,EAAEd,EAAG,CAAEe,MAAOd,EAAGe,GAAI,CAAEC,MAAO,KAC7Ff,IAAKQ,EAAEQ,UAAU,MACV,EAEXC,eAAeC,EAAEpB,EAAGC,EAAGC,GAAI,EAAIC,EAAGO,EAAGI,EAAGO,EAAGC,GACzC,MAAMC,EAAI,CAACC,EAAGC,KACZ,MAAMC,EAAKC,IACT,MAAMC,GAAU,MAALD,OAAY,EAASA,EAAEE,OAAS,GAC3C,IAAIC,GAAU,MAALH,OAAY,EAASA,EAAEI,OAAS,GACzC,OAAOD,EAAEE,WAAWJ,KAAOE,EAAIA,EAAEG,MAAML,EAAEM,SAAW,KAAMJ,CAAC,EAE7D,OAAO5B,EAAKyB,GAAMH,EAAEG,EAAEQ,IAAIT,GAAID,GAAME,GAAMH,EAAEE,EAAEC,EAAE,IAAKF,EAAE,EAKzD,IAAIW,EACJtB,IAAM,EAAAuB,EAAEC,QAAUF,EAAI,IAAKd,EAAEiB,SAAW,IAAIC,SAAShB,IACnDY,EAAEK,KAAK,CAAEC,SAAUnB,EAAEtB,EAAGuB,EAAEmB,MAAOC,MAAOpB,EAAEqB,KAAMF,KAAMnB,EAAEsB,cAAgB,UAAY,aAAc,KAC9FV,EAAI,CAACZ,EAAGC,KACZ,IAAIC,EAAGC,EAAGC,EACV,MAAME,EAAI,GAAIiB,GAA8E,OAAxEpB,E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MAA6B,OAArBc,EAAIF,EAAEwB,iBAAsB,EAAStB,EAAE2C,cAAgB7C,EAAE0B,SAAUoB,MAA6B,OAArB3C,EAAIH,EAAEwB,iBAAsB,EAASrB,EAAE2C,OAAS,KAAMC,YAAmC,OAArB3C,EAAIJ,EAAEwB,iBAAsB,EAASpB,EAAE2C,aAAe,KAAMC,WAAkC,OAArB1C,EAAIN,EAAEwB,iBAAsB,EAASlB,EAAE0C,YAAc,KAAMC,qBAA4C,OAArB1B,EAAIvB,EAAEwB,iBAAsB,EAASD,EAAE0B,sBAAwB,KAAMhB,KAAM,KAAMiB,iBAAkB,KAAM,EAWzeC,CAAEnD,KACxF,MAAMoD,EAAgB,iBAALzE,EAAgB,CAACA,GAAKA,GAAK,GAC5CJ,EAAE,IAAG,IAAK4D,EAAG/C,KAAMZ,EAAGuC,QAASH,EAAGyC,YAAa3E,EAAG6B,KAAMV,EAAGyD,eAAgBF,EAAGG,oBAAuE,KAA7C,MAALzD,OAAY,EAASA,EAAE0D,wBAAiCJ,EAAEK,SAAS,yBACxK,CACA9D,eAAe+D,EAAElF,EAAGC,EAAGC,EAAGC,GACxBJ,EAAE,IAAG,CAAEa,KAAMX,EAAGkF,QAASnF,EAAGuC,QAAS,CAAC,CAAEK,MAAO,KAAMF,SAAU,IAAMxC,GAAE,IAAO,CAAE0C,MAAO,MAAOD,KAAM,UAAWD,SAAU,IAAMxC,GAAE,KAAQkF,KAAM,UAAW,IAAMlF,GAAE,IACpK,C","sources":["webpack:///nextcloud/node_modules/@nextcloud/upload/node_modules/@nextcloud/dialogs/dist/legacy.mjs"],"sourcesContent":["import { basename as D } from \"path\";\nimport { a, t as y, c as P } from \"./chunks/index-03982120.mjs\";\nimport \"toastify-js\";\nimport q from \"vue\";\nimport { D as x } from \"./chunks/DialogBase-6dda6320.mjs\";\nimport B from \"@mdi/svg/svg/folder-multiple.svg\";\nimport T from \"@mdi/svg/svg/folder-move.svg\";\nconst k = (d, o, n = () => {\n}) => {\n const u = document.createElement(\"div\");\n (document.querySelector(o == null ? void 0 : o.container) || document.body).appendChild(u);\n const h = new q({ el: u, name: \"VueDialogHelper\", render: (i) => i(d, { props: o, on: { close: () => {\n n(), h.$destroy();\n } } }) });\n};\nasync function V(d, o, n = !1, u, h, i, M, s) {\n const b = (t, c) => {\n const r = (e) => {\n const p = (e == null ? void 0 : e.root) || \"\";\n let l = (e == null ? void 0 : e.path) || \"\";\n return l.startsWith(p) && (l = l.slice(p.length) || \"/\"), l;\n };\n return n ? (e) => t(e.map(r), c) : (e) => t(r(e[0]), c);\n }, w = (t) => {\n var c, r, e, p, l, m;\n return { id: t.fileid || null, path: t.path, mimetype: t.mime || null, mtime: ((c = t.mtime) == null ? void 0 : c.getTime()) || null, permissions: t.permissions, name: ((r = t.attributes) == null ? void 0 : r.displayname) || t.basename, etag: ((e = t.attributes) == null ? void 0 : e.etag) || null, hasPreview: ((p = t.attributes) == null ? void 0 : p.hasPreview) || null, mountType: ((l = t.attributes) == null ? void 0 : l.mountType) || null, quotaAvailableBytes: ((m = t.attributes) == null ? void 0 : m.quotaAvailableBytes) || null, icon: null, sharePermissions: null };\n };\n let v;\n i === a.Custom ? (v = [], (s.buttons || []).forEach((t) => {\n v.push({ callback: b(o, t.type), label: t.text, type: t.defaultButton ? \"primary\" : \"secondary\" });\n })) : v = (t, c) => {\n var r, e, p;\n const l = [], m = ((e = (r = t == null ? void 0 : t[0]) == null ? void 0 : r.attributes) == null ? void 0 : e.displayName) || ((p = t == null ? void 0 : t[0]) == null ? void 0 : p.basename), f = m || D(c);\n return i === a.Choose && l.push({ callback: b(o, a.Choose), label: m && !n ? y(\"Choose {file}\", { file: m }) : y(\"Choose\"), type: \"primary\" }), (i === a.CopyMove || i === a.Copy) && l.push({ callback: b(o, a.Copy), label: f ? y(\"Copy to {target}\", { target: f }) : y(\"Copy\"), type: \"primary\", icon: B }), (i === a.Move || i === a.CopyMove) && l.push({ callback: b(o, a.Move), label: f ? y(\"Move to {target}\", { target: f }) : y(\"Move\"), type: i === a.Move ? \"primary\" : \"secondary\", icon: T }), l;\n };\n const C = {};\n typeof (s == null ? void 0 : s.filter) == \"function\" && (C.filterFn = (t) => s.filter(w(t)));\n const g = typeof u == \"string\" ? [u] : u || [];\n k(P, { ...C, name: d, buttons: v, multiselect: n, path: M, mimetypeFilter: g, allowPickDirectory: (s == null ? void 0 : s.allowDirectoryChooser) === !0 || g.includes(\"httpd/unix-directory\") });\n}\nasync function W(d, o, n, u) {\n k(x, { name: o, message: d, buttons: [{ label: \"No\", callback: () => n(!1) }, { label: \"Yes\", type: \"primary\", callback: () => n(!0) }], size: \"small\" }, () => n(!1));\n}\nexport {\n W as confirm,\n V as filepicker\n};\n"],"names":["k","d","o","n","u","document","createElement","querySelector","container","body","appendChild","h","el","name","render","i","props","on","close","$destroy","async","V","M","s","b","t","c","r","e","p","root","l","path","startsWith","slice","length","map","v","a","Custom","buttons","forEach","push","callback","type","label","text","defaultButton","m","attributes","displayName","basename","f","Choose","file","CopyMove","Copy","target","icon","Move","C","filter","filterFn","id","fileid","mimetype","mime","mtime","getTime","permissions","displayname","etag","hasPreview","mountType","quotaAvailableBytes","sharePermissions","w","g","multiselect","mimetypeFilter","allowPickDirectory","allowDirectoryChooser","includes","W","message","size"],"sourceRoot":""}