@zextras/carbonio-shell-ui 0.4.20 → 0.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +2 -0
- package/dist/PKGBUILD +6 -6
- package/dist/commit +1 -1
- package/dist/component.json +3 -3
- package/dist/i18n/it.json +2 -2
- package/dist/i18n/pt.json +505 -1
- package/dist/index.html +3 -3
- package/dist/{src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.00f4613f.chunk.js → src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.756cd673.chunk.js} +2 -2
- package/dist/{src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.00f4613f.chunk.js.map → src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.756cd673.chunk.js.map} +1 -1
- package/dist/{src_workers_folder_ts.fffe1a8e.chunk.js → src_workers_folder_ts.8b5a13c5.chunk.js} +2 -2
- package/dist/{src_workers_folder_ts.fffe1a8e.chunk.js.map → src_workers_folder_ts.8b5a13c5.chunk.js.map} +1 -1
- package/dist/{src_workers_tag_ts.78b43ca1.chunk.js → src_workers_tag_ts.ecd90f7b.chunk.js} +2 -2
- package/dist/{src_workers_tag_ts.78b43ca1.chunk.js.map → src_workers_tag_ts.ecd90f7b.chunk.js.map} +1 -1
- package/dist/{style.ff4d2796.css → style.245ebb9e.css} +1 -1
- package/dist/{style.ff4d2796.css.map → style.245ebb9e.css.map} +1 -1
- package/dist/{vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-eb34a0.8a622d34.chunk.js → vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-eb34a0.4ca594ac.chunk.js} +2 -2
- package/dist/{vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-eb34a0.8a622d34.chunk.js.map → vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-eb34a0.4ca594ac.chunk.js.map} +1 -1
- package/dist/zapp-shell.bundle.js +2 -2
- package/dist/zapp-shell.bundle.js.map +1 -1
- package/package.json +2 -2
package/dist/{src_workers_folder_ts.fffe1a8e.chunk.js → src_workers_folder_ts.8b5a13c5.chunk.js}
RENAMED
|
@@ -490,7 +490,7 @@ onmessage = function onmessage(_ref2) {
|
|
|
490
490
|
/******/
|
|
491
491
|
/******/ /* webpack/runtime/publicPath */
|
|
492
492
|
/******/ (() => {
|
|
493
|
-
/******/ __webpack_require__.p = "/static/iris/carbonio-shell-ui/
|
|
493
|
+
/******/ __webpack_require__.p = "/static/iris/carbonio-shell-ui/69c6a93cc3671a72363673938d2209ac70427ebd/";
|
|
494
494
|
/******/ })();
|
|
495
495
|
/******/
|
|
496
496
|
/******/ /* webpack/runtime/importScripts chunk loading */
|
|
@@ -549,4 +549,4 @@ onmessage = function onmessage(_ref2) {
|
|
|
549
549
|
/******/
|
|
550
550
|
/******/ })()
|
|
551
551
|
;
|
|
552
|
-
//# sourceMappingURL=src_workers_folder_ts.
|
|
552
|
+
//# sourceMappingURL=src_workers_folder_ts.8b5a13c5.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"src_workers_folder_ts.fffe1a8e.chunk.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAmBA,IAAMA,OAAO,GAAG,IAAhB;AACA,IAAMC,SAAS,GAAG,WAAlB;AACA,IAAMC,YAAY,GAAG,MAArB;AAEA,IAAMC,OAAgB,GAAG,EAAzB;AACA,IAAMC,KAAY,GAAG,EAArB;AACA,IAAMC,QAAkB,GAAG,EAA3B;;AAEA,IAAMC,IAAI,GAAG,SAAPA,IAAO;AAAA,MACNC,EADM,QACZC,IADY;AAAA,MAEJC,EAFI,QAEZC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;AACA,CAJM;;AAKPG,SAAS,GAAG,0BAAmC;AAAA,MAAhCC,IAAgC,SAAhCA,IAAgC;;AAC9C,MAAIA,IAAI,CAACC,EAAL,KAAY,SAAZ,IAAyBD,IAAI,CAAChF,MAAlC,EAA0C;AACzC+D,IAAAA,mBAAmB,CAACiB,IAAI,CAAChF,MAAN,CAAnB;AACA;;AACD,MAAIgF,IAAI,CAACC,EAAL,KAAY,QAAhB,EAA0B;AACzBJ,IAAAA,kBAAkB,CAACG,IAAI,CAACF,MAAN,CAAlB;AACA;;AACDI,EAAAA,WAAW,CAAC;AAAEzF,IAAAA,OAAO,EAAPA,OAAF;AAAWC,IAAAA,KAAK,EAALA,KAAX;AAAkBC,IAAAA,QAAQ,EAARA;AAAlB,GAAD,CAAX;AACA,CARD;;;;;;UCxNA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;;;;WClCA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA,8BAA8B,wcAAwc;WACte;;;;;WCJA;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,aAAa;WACb;WACA;WACA;WACA;;WAEA;WACA;WACA;;WAEA;;WAEA;;;;;WCpCA;WACA;WACA;WACA;;;;;UEHA;UACA","sources":["webpack://@zextras/carbonio-shell-ui/./src/workers/folder.ts","webpack://@zextras/carbonio-shell-ui/webpack/bootstrap","webpack://@zextras/carbonio-shell-ui/webpack/runtime/chunk loaded","webpack://@zextras/carbonio-shell-ui/webpack/runtime/compat get default export","webpack://@zextras/carbonio-shell-ui/webpack/runtime/define property getters","webpack://@zextras/carbonio-shell-ui/webpack/runtime/ensure chunk","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get javascript chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get mini-css chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/global","webpack://@zextras/carbonio-shell-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@zextras/carbonio-shell-ui/webpack/runtime/make namespace object","webpack://@zextras/carbonio-shell-ui/webpack/runtime/publicPath","webpack://@zextras/carbonio-shell-ui/webpack/runtime/importScripts chunk loading","webpack://@zextras/carbonio-shell-ui/webpack/runtime/startup chunk dependencies","webpack://@zextras/carbonio-shell-ui/webpack/before-startup","webpack://@zextras/carbonio-shell-ui/webpack/startup","webpack://@zextras/carbonio-shell-ui/webpack/after-startup"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\n\nimport {\n\tBaseFolder,\n\tUserFolder,\n\tFolderMessage,\n\tFolders,\n\tLinkFolder,\n\tLinkFolderFields,\n\tRoots,\n\tSearches,\n\tSearchFolderFields,\n\tSoapFolder,\n\tSoapLink,\n\tSoapNotify,\n\tSoapSearchFolder,\n\tFolder\n} from '../../types';\n\nconst IM_LOGS = '14';\nconst ROOT_NAME = 'USER_ROOT';\nconst DEFAULT_ROOT = 'USER';\n\nconst folders: Folders = {};\nconst roots: Roots = {};\nconst searches: Searches = {};\n\nconst omit = ({\n\tlink: _1,\n\tfolder: _2,\n\tsearch: _3,\n\t...obj\n}: Partial<SoapFolder>): Partial<SoapFolder> => obj;\n\nconst hasId = (f: SoapFolder, id: string): boolean => f.id.split(':').includes(id);\nconst normalize = (f: SoapFolder): BaseFolder => ({\n\tid: f.id,\n\tuuid: f.uuid,\n\tname: f.name,\n\tabsFolderPath: f.absFolderPath,\n\tl: f.l,\n\tluuid: f.luuid,\n\tf: f.f,\n\tcolor: f.color,\n\trgb: f.rgb,\n\tu: f.u,\n\ti4u: f.i4u,\n\tview: f.view,\n\trev: f.rev,\n\tms: f.ms,\n\tmd: f.md,\n\tn: f.n,\n\ti4n: f.i4n,\n\ts: f.s,\n\ti4ms: f.i4ms,\n\ti4next: f.i4next,\n\turl: f.url,\n\tactivesyncdisabled: !!f.activesyncdisabled,\n\twebOfflineSyncDays: f.webOfflineSyncDays,\n\tperm: f.perm,\n\trecursive: !!f.recursive,\n\trest: f.rest,\n\tdeletable: !!f.deletable,\n\tmeta: f.meta,\n\tacl: f.acl,\n\tretentionPolicy: f.retentionPolicy\n});\n\nconst normalizeSearch = (s: SoapSearchFolder): BaseFolder & SearchFolderFields => ({\n\t...normalize(s),\n\tquery: s.query,\n\tsortBy: s.sortBy,\n\ttypes: s.types\n});\n\nconst normalizeLink = (l: SoapLink): BaseFolder & LinkFolderFields => ({\n\t...normalize(l),\n\towner: l.owner,\n\tzid: l.zid,\n\trid: l.rid,\n\truuid: l.ruuid,\n\toname: l.oname,\n\treminder: !!l.reminder,\n\tbroken: !!l.broken\n});\n\nconst processSearch = (soapSearch: SoapSearchFolder, parent: Folder): void => {\n\tconst search = {\n\t\t...normalizeSearch(soapSearch),\n\t\tparent,\n\t\tisLink: parent?.isLink\n\t};\n\tsearches[search.id] = search;\n};\n\nconst processLink = (soapLink: SoapLink, depth: number, parent?: Folder): LinkFolder => {\n\tconst link = {\n\t\t...normalizeLink(soapLink),\n\t\tisLink: true,\n\t\tchildren: [],\n\t\tparent,\n\t\tdepth\n\t} as LinkFolder;\n\t// eslint-disable-next-line no-param-reassign\n\tfolders[soapLink.id] = link;\n\tif (link.oname === ROOT_NAME) {\n\t\troots[link.owner ?? 'unknown'] = link;\n\t}\n\tsoapLink?.folder?.forEach((f) => {\n\t\tif (!hasId(f, IM_LOGS)) {\n\t\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\tconst child = processFolder(f, depth + 1, link);\n\t\t\tlink.children.push(child);\n\t\t}\n\t});\n\tsoapLink?.link?.forEach((l) => {\n\t\tif (!hasId(l, IM_LOGS)) {\n\t\t\tconst child = processLink(l, depth + 1, link);\n\t\t\tlink.children.push(child);\n\t\t}\n\t});\n\tsoapLink?.search?.forEach((s) => {\n\t\tprocessSearch(s, link);\n\t});\n\n\treturn link;\n};\n\nconst processFolder = (soapFolder: SoapFolder, depth: number, parent?: Folder): UserFolder => {\n\tconst folder: UserFolder = {\n\t\t...normalize(soapFolder),\n\t\tisLink: false,\n\t\tchildren: [],\n\t\tparent,\n\t\tdepth\n\t};\n\tfolders[soapFolder.id] = folder;\n\tif (folder.name === ROOT_NAME) {\n\t\troots[DEFAULT_ROOT] = folder;\n\t}\n\tsoapFolder?.folder?.forEach((f) => {\n\t\tif (!hasId(f, IM_LOGS)) {\n\t\t\tconst child = processFolder(f, depth + 1, folder);\n\t\t\tfolder.children.push(child);\n\t\t}\n\t});\n\tsoapFolder?.link?.forEach((l) => {\n\t\tif (!hasId(l, IM_LOGS)) {\n\t\t\tconst child = processLink(l, depth + 1, folder);\n\t\t\tfolder.children.push(child);\n\t\t}\n\t});\n\tsoapFolder?.search?.forEach((s) => {\n\t\tprocessSearch(s, folder);\n\t});\n\treturn folder;\n};\n\nconst handleFolderRefresh = (soapFolders: Array<SoapFolder>): UserFolder =>\n\tprocessFolder(soapFolders[0], 0);\n\nexport const handleFolderCreated = (created: Array<SoapFolder>): void =>\n\tcreated.forEach((val: SoapFolder) => {\n\t\tif (val.id && val.l) {\n\t\t\tconst parent = folders[val.l];\n\t\t\tconst folder: UserFolder = {\n\t\t\t\t...normalize(val),\n\t\t\t\tisLink: false,\n\t\t\t\tchildren: [],\n\t\t\t\tparent,\n\t\t\t\tdepth: parent?.depth ? parent.depth + 1 : 0\n\t\t\t};\n\t\t\tfolders[val.id] = folder;\n\t\t\tparent.children.push(folder);\n\t\t}\n\t});\nexport const handleFolderModified = (modified: Array<Partial<UserFolder>>): void =>\n\tmodified.forEach((val: Partial<SoapFolder>): void => {\n\t\tif (val.id) {\n\t\t\tconst folder = folders[val.id];\n\t\t\tif (folder) {\n\t\t\t\tObject.assign(folder, omit(val));\n\t\t\t\tif (val.l) {\n\t\t\t\t\tconst oldParent = folders[val.id].parent;\n\t\t\t\t\tconst newParent = folders[val.l];\n\t\t\t\t\tif (oldParent) {\n\t\t\t\t\t\toldParent.children = oldParent.children.filter((f) => f.id !== val.id);\n\t\t\t\t\t\tnewParent.children.push(folder);\n\t\t\t\t\t}\n\t\t\t\t\tfolder.parent = newParent;\n\t\t\t\t}\n\t\t\t\tfolders[val.id] = folder;\n\t\t\t}\n\t\t}\n\t});\nexport const handleFolderDeleted = (deleted: string[]): void =>\n\tdeleted.forEach((val) => {\n\t\tconst folder = folders[val];\n\t\tif (folder) {\n\t\t\tif (folder.parent) {\n\t\t\t\tfolder.parent.children = folder.parent.children.filter((f) => f.id !== val);\n\t\t\t}\n\t\t\tdelete folders[val];\n\t\t\tdelete roots[val];\n\t\t\tdelete searches[val];\n\t\t}\n\t});\nexport const handleFolderNotify = (notify: SoapNotify): void => {\n\thandleFolderCreated(notify.created?.folder ?? []);\n\thandleFolderModified(notify.modified?.folder ?? []);\n\thandleFolderDeleted(notify.deleted ?? []);\n};\nonmessage = ({ data }: FolderMessage): void => {\n\tif (data.op === 'refresh' && data.folder) {\n\t\thandleFolderRefresh(data.folder);\n\t}\n\tif (data.op === 'notify') {\n\t\thandleFolderNotify(data.notify);\n\t}\n\tpostMessage({ folders, roots, searches });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\",\"vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90\",\"vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68\"], () => (__webpack_require__(\"./src/workers/folder.ts\")))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\":\"5b2b999c\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\":\"428e0a2a\",\"vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90\":\"cc38c8f6\",\"vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68\":\"e87ecee6\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/static/iris/carbonio-shell-ui/0daa0cb2025806209758dd6ceceea9a4ed27b5e6/\";","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t\"src_workers_folder_ts\": 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunk_zextras_carbonio_shell_ui\"] = self[\"webpackChunk_zextras_carbonio_shell_ui\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn Promise.all([\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\",\"vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90\",\"vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68\"].map(__webpack_require__.e, __webpack_require__)).then(next);\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":["IM_LOGS","ROOT_NAME","DEFAULT_ROOT","folders","roots","searches","omit","_1","link","_2","folder","_3","search","obj","hasId","f","id","split","includes","normalize","uuid","name","absFolderPath","l","luuid","color","rgb","u","i4u","view","rev","ms","md","n","i4n","s","i4ms","i4next","url","activesyncdisabled","webOfflineSyncDays","perm","recursive","rest","deletable","meta","acl","retentionPolicy","normalizeSearch","query","sortBy","types","normalizeLink","owner","zid","rid","ruuid","oname","reminder","broken","processSearch","soapSearch","parent","isLink","processLink","soapLink","depth","children","forEach","child","processFolder","push","soapFolder","handleFolderRefresh","soapFolders","handleFolderCreated","created","val","handleFolderModified","modified","Object","assign","oldParent","newParent","filter","handleFolderDeleted","deleted","handleFolderNotify","notify","onmessage","data","op","postMessage"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"src_workers_folder_ts.8b5a13c5.chunk.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAmBA,IAAMA,OAAO,GAAG,IAAhB;AACA,IAAMC,SAAS,GAAG,WAAlB;AACA,IAAMC,YAAY,GAAG,MAArB;AAEA,IAAMC,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ACA,8BAA8B,wcAAwc;WACte;;;;;WCJA;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,aAAa;WACb;WACA;WACA;WACA;;WAEA;WACA;WACA;;WAEA;;WAEA;;;;;WCpCA;WACA;WACA;WACA;;;;;UEHA;UACA","sources":["webpack://@zextras/carbonio-shell-ui/./src/workers/folder.ts","webpack://@zextras/carbonio-shell-ui/webpack/bootstrap","webpack://@zextras/carbonio-shell-ui/webpack/runtime/chunk loaded","webpack://@zextras/carbonio-shell-ui/webpack/runtime/compat get default export","webpack://@zextras/carbonio-shell-ui/webpack/runtime/define property getters","webpack://@zextras/carbonio-shell-ui/webpack/runtime/ensure chunk","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get javascript chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get mini-css chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/global","webpack://@zextras/carbonio-shell-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@zextras/carbonio-shell-ui/webpack/runtime/make namespace object","webpack://@zextras/carbonio-shell-ui/webpack/runtime/publicPath","webpack://@zextras/carbonio-shell-ui/webpack/runtime/importScripts chunk loading","webpack://@zextras/carbonio-shell-ui/webpack/runtime/startup chunk dependencies","webpack://@zextras/carbonio-shell-ui/webpack/before-startup","webpack://@zextras/carbonio-shell-ui/webpack/startup","webpack://@zextras/carbonio-shell-ui/webpack/after-startup"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\n\nimport {\n\tBaseFolder,\n\tUserFolder,\n\tFolderMessage,\n\tFolders,\n\tLinkFolder,\n\tLinkFolderFields,\n\tRoots,\n\tSearches,\n\tSearchFolderFields,\n\tSoapFolder,\n\tSoapLink,\n\tSoapNotify,\n\tSoapSearchFolder,\n\tFolder\n} from '../../types';\n\nconst IM_LOGS = '14';\nconst ROOT_NAME = 'USER_ROOT';\nconst DEFAULT_ROOT = 'USER';\n\nconst folders: Folders = {};\nconst roots: Roots = {};\nconst searches: Searches = {};\n\nconst omit = ({\n\tlink: _1,\n\tfolder: _2,\n\tsearch: _3,\n\t...obj\n}: Partial<SoapFolder>): Partial<SoapFolder> => obj;\n\nconst hasId = (f: SoapFolder, id: string): boolean => f.id.split(':').includes(id);\nconst normalize = (f: SoapFolder): BaseFolder => ({\n\tid: f.id,\n\tuuid: f.uuid,\n\tname: f.name,\n\tabsFolderPath: f.absFolderPath,\n\tl: f.l,\n\tluuid: f.luuid,\n\tf: f.f,\n\tcolor: f.color,\n\trgb: f.rgb,\n\tu: f.u,\n\ti4u: f.i4u,\n\tview: f.view,\n\trev: f.rev,\n\tms: f.ms,\n\tmd: f.md,\n\tn: f.n,\n\ti4n: f.i4n,\n\ts: f.s,\n\ti4ms: f.i4ms,\n\ti4next: f.i4next,\n\turl: f.url,\n\tactivesyncdisabled: !!f.activesyncdisabled,\n\twebOfflineSyncDays: f.webOfflineSyncDays,\n\tperm: f.perm,\n\trecursive: !!f.recursive,\n\trest: f.rest,\n\tdeletable: !!f.deletable,\n\tmeta: f.meta,\n\tacl: f.acl,\n\tretentionPolicy: f.retentionPolicy\n});\n\nconst normalizeSearch = (s: SoapSearchFolder): BaseFolder & SearchFolderFields => ({\n\t...normalize(s),\n\tquery: s.query,\n\tsortBy: s.sortBy,\n\ttypes: s.types\n});\n\nconst normalizeLink = (l: SoapLink): BaseFolder & LinkFolderFields => ({\n\t...normalize(l),\n\towner: l.owner,\n\tzid: l.zid,\n\trid: l.rid,\n\truuid: l.ruuid,\n\toname: l.oname,\n\treminder: !!l.reminder,\n\tbroken: !!l.broken\n});\n\nconst processSearch = (soapSearch: SoapSearchFolder, parent: Folder): void => {\n\tconst search = {\n\t\t...normalizeSearch(soapSearch),\n\t\tparent,\n\t\tisLink: parent?.isLink\n\t};\n\tsearches[search.id] = search;\n};\n\nconst processLink = (soapLink: SoapLink, depth: number, parent?: Folder): LinkFolder => {\n\tconst link = {\n\t\t...normalizeLink(soapLink),\n\t\tisLink: true,\n\t\tchildren: [],\n\t\tparent,\n\t\tdepth\n\t} as LinkFolder;\n\t// eslint-disable-next-line no-param-reassign\n\tfolders[soapLink.id] = link;\n\tif (link.oname === ROOT_NAME) {\n\t\troots[link.owner ?? 'unknown'] = link;\n\t}\n\tsoapLink?.folder?.forEach((f) => {\n\t\tif (!hasId(f, IM_LOGS)) {\n\t\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\tconst child = processFolder(f, depth + 1, link);\n\t\t\tlink.children.push(child);\n\t\t}\n\t});\n\tsoapLink?.link?.forEach((l) => {\n\t\tif (!hasId(l, IM_LOGS)) {\n\t\t\tconst child = processLink(l, depth + 1, link);\n\t\t\tlink.children.push(child);\n\t\t}\n\t});\n\tsoapLink?.search?.forEach((s) => {\n\t\tprocessSearch(s, link);\n\t});\n\n\treturn link;\n};\n\nconst processFolder = (soapFolder: SoapFolder, depth: number, parent?: Folder): UserFolder => {\n\tconst folder: UserFolder = {\n\t\t...normalize(soapFolder),\n\t\tisLink: false,\n\t\tchildren: [],\n\t\tparent,\n\t\tdepth\n\t};\n\tfolders[soapFolder.id] = folder;\n\tif (folder.name === ROOT_NAME) {\n\t\troots[DEFAULT_ROOT] = folder;\n\t}\n\tsoapFolder?.folder?.forEach((f) => {\n\t\tif (!hasId(f, IM_LOGS)) {\n\t\t\tconst child = processFolder(f, depth + 1, folder);\n\t\t\tfolder.children.push(child);\n\t\t}\n\t});\n\tsoapFolder?.link?.forEach((l) => {\n\t\tif (!hasId(l, IM_LOGS)) {\n\t\t\tconst child = processLink(l, depth + 1, folder);\n\t\t\tfolder.children.push(child);\n\t\t}\n\t});\n\tsoapFolder?.search?.forEach((s) => {\n\t\tprocessSearch(s, folder);\n\t});\n\treturn folder;\n};\n\nconst handleFolderRefresh = (soapFolders: Array<SoapFolder>): UserFolder =>\n\tprocessFolder(soapFolders[0], 0);\n\nexport const handleFolderCreated = (created: Array<SoapFolder>): void =>\n\tcreated.forEach((val: SoapFolder) => {\n\t\tif (val.id && val.l) {\n\t\t\tconst parent = folders[val.l];\n\t\t\tconst folder: UserFolder = {\n\t\t\t\t...normalize(val),\n\t\t\t\tisLink: false,\n\t\t\t\tchildren: [],\n\t\t\t\tparent,\n\t\t\t\tdepth: parent?.depth ? parent.depth + 1 : 0\n\t\t\t};\n\t\t\tfolders[val.id] = folder;\n\t\t\tparent.children.push(folder);\n\t\t}\n\t});\nexport const handleFolderModified = (modified: Array<Partial<UserFolder>>): void =>\n\tmodified.forEach((val: Partial<SoapFolder>): void => {\n\t\tif (val.id) {\n\t\t\tconst folder = folders[val.id];\n\t\t\tif (folder) {\n\t\t\t\tObject.assign(folder, omit(val));\n\t\t\t\tif (val.l) {\n\t\t\t\t\tconst oldParent = folders[val.id].parent;\n\t\t\t\t\tconst newParent = folders[val.l];\n\t\t\t\t\tif (oldParent) {\n\t\t\t\t\t\toldParent.children = oldParent.children.filter((f) => f.id !== val.id);\n\t\t\t\t\t\tnewParent.children.push(folder);\n\t\t\t\t\t}\n\t\t\t\t\tfolder.parent = newParent;\n\t\t\t\t}\n\t\t\t\tfolders[val.id] = folder;\n\t\t\t}\n\t\t}\n\t});\nexport const handleFolderDeleted = (deleted: string[]): void =>\n\tdeleted.forEach((val) => {\n\t\tconst folder = folders[val];\n\t\tif (folder) {\n\t\t\tif (folder.parent) {\n\t\t\t\tfolder.parent.children = folder.parent.children.filter((f) => f.id !== val);\n\t\t\t}\n\t\t\tdelete folders[val];\n\t\t\tdelete roots[val];\n\t\t\tdelete searches[val];\n\t\t}\n\t});\nexport const handleFolderNotify = (notify: SoapNotify): void => {\n\thandleFolderCreated(notify.created?.folder ?? []);\n\thandleFolderModified(notify.modified?.folder ?? []);\n\thandleFolderDeleted(notify.deleted ?? []);\n};\nonmessage = ({ data }: FolderMessage): void => {\n\tif (data.op === 'refresh' && data.folder) {\n\t\thandleFolderRefresh(data.folder);\n\t}\n\tif (data.op === 'notify') {\n\t\thandleFolderNotify(data.notify);\n\t}\n\tpostMessage({ folders, roots, searches });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\",\"vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90\",\"vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68\"], () => (__webpack_require__(\"./src/workers/folder.ts\")))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\":\"5b2b999c\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\":\"428e0a2a\",\"vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90\":\"cc38c8f6\",\"vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68\":\"e87ecee6\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/static/iris/carbonio-shell-ui/69c6a93cc3671a72363673938d2209ac70427ebd/\";","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t\"src_workers_folder_ts\": 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunk_zextras_carbonio_shell_ui\"] = self[\"webpackChunk_zextras_carbonio_shell_ui\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn Promise.all([\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\",\"vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90\",\"vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68\"].map(__webpack_require__.e, __webpack_require__)).then(next);\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":["IM_LOGS","ROOT_NAME","DEFAULT_ROOT","folders","roots","searches","omit","_1","link","_2","folder","_3","search","obj","hasId","f","id","split","includes","normalize","uuid","name","absFolderPath","l","luuid","color","rgb","u","i4u","view","rev","ms","md","n","i4n","s","i4ms","i4next","url","activesyncdisabled","webOfflineSyncDays","perm","recursive","rest","deletable","meta","acl","retentionPolicy","normalizeSearch","query","sortBy","types","normalizeLink","owner","zid","rid","ruuid","oname","reminder","broken","processSearch","soapSearch","parent","isLink","processLink","soapLink","depth","children","forEach","child","processFolder","push","soapFolder","handleFolderRefresh","soapFolders","handleFolderCreated","created","val","handleFolderModified","modified","Object","assign","oldParent","newParent","filter","handleFolderDeleted","deleted","handleFolderNotify","notify","onmessage","data","op","postMessage"],"sourceRoot":""}
|
|
@@ -372,7 +372,7 @@ onmessage = function onmessage(_ref) {
|
|
|
372
372
|
/******/
|
|
373
373
|
/******/ /* webpack/runtime/publicPath */
|
|
374
374
|
/******/ (() => {
|
|
375
|
-
/******/ __webpack_require__.p = "/static/iris/carbonio-shell-ui/
|
|
375
|
+
/******/ __webpack_require__.p = "/static/iris/carbonio-shell-ui/69c6a93cc3671a72363673938d2209ac70427ebd/";
|
|
376
376
|
/******/ })();
|
|
377
377
|
/******/
|
|
378
378
|
/******/ /* webpack/runtime/importScripts chunk loading */
|
|
@@ -434,4 +434,4 @@ onmessage = function onmessage(_ref) {
|
|
|
434
434
|
/******/
|
|
435
435
|
/******/ })()
|
|
436
436
|
;
|
|
437
|
-
//# sourceMappingURL=src_workers_tag_ts.
|
|
437
|
+
//# sourceMappingURL=src_workers_tag_ts.ecd90f7b.chunk.js.map
|
package/dist/{src_workers_tag_ts.78b43ca1.chunk.js.map → src_workers_tag_ts.ecd90f7b.chunk.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"src_workers_tag_ts.78b43ca1.chunk.js","mappings":";;;;;;;;;AAAA,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC1CA,cAAc,mBAAO,CAAC,iFAA0B;AAChD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C;AACA;;;;;;;;;;;;;ACHa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,+GAAyC;AACvD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,cAAc,mBAAO,CAAC,uFAA6B;AACnD;AACA;A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WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA,8BAA8B,oOAAoO;WAClQ;;;;;WCJA;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,aAAa;WACb;WACA;WACA;WACA;;WAEA;WACA;WACA;;WAEA;;WAEA;;;;;WCpCA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;UENA;UACA","sources":["webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/internals/array-reduce.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/internals/engine-is-node.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/modules/es.array.reduce.js","webpack://@zextras/carbonio-shell-ui/./src/workers/tag.ts","webpack://@zextras/carbonio-shell-ui/webpack/bootstrap","webpack://@zextras/carbonio-shell-ui/webpack/runtime/chunk loaded","webpack://@zextras/carbonio-shell-ui/webpack/runtime/compat get default export","webpack://@zextras/carbonio-shell-ui/webpack/runtime/define property getters","webpack://@zextras/carbonio-shell-ui/webpack/runtime/ensure chunk","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get javascript chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get mini-css chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/global","webpack://@zextras/carbonio-shell-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@zextras/carbonio-shell-ui/webpack/runtime/make namespace object","webpack://@zextras/carbonio-shell-ui/webpack/runtime/publicPath","webpack://@zextras/carbonio-shell-ui/webpack/runtime/importScripts chunk loading","webpack://@zextras/carbonio-shell-ui/webpack/runtime/startup chunk dependencies","webpack://@zextras/carbonio-shell-ui/webpack/before-startup","webpack://@zextras/carbonio-shell-ui/webpack/startup","webpack://@zextras/carbonio-shell-ui/webpack/after-startup"],"sourcesContent":["var global = require('../internals/global');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar TypeError = global.TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","/*\n * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\n\nimport { SoapNotify, Tag, TagMessage, Tags } from '../../types';\n\nexport const handleTagRefresh = (tags: Array<Tag>): Tags => {\n\tif (typeof tags !== 'undefined') {\n\t\treturn tags.reduce((acc: Tags, val: Tag): Tags => {\n\t\t\t// eslint-disable-next-line no-param-reassign\n\t\t\tacc[val.id] = val;\n\t\t\treturn acc;\n\t\t}, {});\n\t}\n\treturn {};\n};\n\nexport const handleTagCreated = (tags: Tags, created: Array<Tag>): Tags =>\n\tcreated.reduce((acc: Tags, val: Tag): Tags => {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tacc[val.id] = val;\n\t\treturn acc;\n\t}, tags);\nexport const handleTagModified = (tags: Tags, modified: Array<Partial<Tag>>): Tags =>\n\tmodified.reduce((acc: Tags, val: Partial<Tag>): Tags => {\n\t\tif (val.id) {\n\t\t\t// eslint-disable-next-line no-param-reassign\n\t\t\tacc[val.id] = { ...tags[val.id], ...val };\n\t\t}\n\t\treturn acc;\n\t}, tags);\nexport const handleTagDeleted = (tags: Tags, deleted: string[]): Tags =>\n\tdeleted.reduce((acc, val) => {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tdelete acc[val];\n\t\treturn acc;\n\t}, tags);\nexport const handleTagNotify = (notify: SoapNotify, state: Tags): Tags =>\n\thandleTagDeleted(\n\t\thandleTagModified(\n\t\t\thandleTagCreated(state, notify.created?.tag ?? []),\n\t\t\tnotify.modified?.tag ?? []\n\t\t),\n\t\tnotify.deleted ?? []\n\t);\n\nonmessage = ({ data }: TagMessage): void => {\n\tif (data.op === 'refresh' && data.tags) postMessage({ tags: handleTagRefresh(data.tags.tag) });\n\tif (data.op === 'notify') postMessage({ tags: handleTagNotify(data.notify, data.state) });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\"], () => (__webpack_require__(\"./src/workers/tag.ts\")))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\":\"5b2b999c\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\":\"428e0a2a\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/static/iris/carbonio-shell-ui/0daa0cb2025806209758dd6ceceea9a4ed27b5e6/\";","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t\"src_workers_tag_ts\": 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunk_zextras_carbonio_shell_ui\"] = self[\"webpackChunk_zextras_carbonio_shell_ui\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn Promise.all([\n\t\t__webpack_require__.e(\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\"),\n\t\t__webpack_require__.e(\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\")\n\t]).then(next);\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":["handleTagRefresh","tags","reduce","acc","val","id","handleTagCreated","created","handleTagModified","modified","handleTagDeleted","deleted","handleTagNotify","notify","state","tag","onmessage","data","op","postMessage"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"src_workers_tag_ts.ecd90f7b.chunk.js","mappings":";;;;;;;;;AAAA,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC1CA,cAAc,mBAAO,CAAC,iFAA0B;AAChD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C;AACA;;;;;;;;;;;;;ACHa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,+GAAyC;AACvD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,cAAc,mBAAO,CAAC,uFAA6B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;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ACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA,8BAA8B,oOAAoO;WAClQ;;;;;WCJA;WACA;WACA;WACA;WACA;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,aAAa;WACb;WACA;WACA;WACA;;WAEA;WACA;WACA;;WAEA;;WAEA;;;;;WCpCA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;UENA;UACA","sources":["webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/internals/array-reduce.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/internals/engine-is-node.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/modules/es.array.reduce.js","webpack://@zextras/carbonio-shell-ui/./src/workers/tag.ts","webpack://@zextras/carbonio-shell-ui/webpack/bootstrap","webpack://@zextras/carbonio-shell-ui/webpack/runtime/chunk loaded","webpack://@zextras/carbonio-shell-ui/webpack/runtime/compat get default export","webpack://@zextras/carbonio-shell-ui/webpack/runtime/define property getters","webpack://@zextras/carbonio-shell-ui/webpack/runtime/ensure chunk","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get javascript chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/get mini-css chunk filename","webpack://@zextras/carbonio-shell-ui/webpack/runtime/global","webpack://@zextras/carbonio-shell-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@zextras/carbonio-shell-ui/webpack/runtime/make namespace object","webpack://@zextras/carbonio-shell-ui/webpack/runtime/publicPath","webpack://@zextras/carbonio-shell-ui/webpack/runtime/importScripts chunk loading","webpack://@zextras/carbonio-shell-ui/webpack/runtime/startup chunk dependencies","webpack://@zextras/carbonio-shell-ui/webpack/before-startup","webpack://@zextras/carbonio-shell-ui/webpack/startup","webpack://@zextras/carbonio-shell-ui/webpack/after-startup"],"sourcesContent":["var global = require('../internals/global');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar TypeError = global.TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","/*\n * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\n\nimport { SoapNotify, Tag, TagMessage, Tags } from '../../types';\n\nexport const handleTagRefresh = (tags: Array<Tag>): Tags => {\n\tif (typeof tags !== 'undefined') {\n\t\treturn tags.reduce((acc: Tags, val: Tag): Tags => {\n\t\t\t// eslint-disable-next-line no-param-reassign\n\t\t\tacc[val.id] = val;\n\t\t\treturn acc;\n\t\t}, {});\n\t}\n\treturn {};\n};\n\nexport const handleTagCreated = (tags: Tags, created: Array<Tag>): Tags =>\n\tcreated.reduce((acc: Tags, val: Tag): Tags => {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tacc[val.id] = val;\n\t\treturn acc;\n\t}, tags);\nexport const handleTagModified = (tags: Tags, modified: Array<Partial<Tag>>): Tags =>\n\tmodified.reduce((acc: Tags, val: Partial<Tag>): Tags => {\n\t\tif (val.id) {\n\t\t\t// eslint-disable-next-line no-param-reassign\n\t\t\tacc[val.id] = { ...tags[val.id], ...val };\n\t\t}\n\t\treturn acc;\n\t}, tags);\nexport const handleTagDeleted = (tags: Tags, deleted: string[]): Tags =>\n\tdeleted.reduce((acc, val) => {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tdelete acc[val];\n\t\treturn acc;\n\t}, tags);\nexport const handleTagNotify = (notify: SoapNotify, state: Tags): Tags =>\n\thandleTagDeleted(\n\t\thandleTagModified(\n\t\t\thandleTagCreated(state, notify.created?.tag ?? []),\n\t\t\tnotify.modified?.tag ?? []\n\t\t),\n\t\tnotify.deleted ?? []\n\t);\n\nonmessage = ({ data }: TagMessage): void => {\n\tif (data.op === 'refresh' && data.tags) postMessage({ tags: handleTagRefresh(data.tags.tag) });\n\tif (data.op === 'notify') postMessage({ tags: handleTagNotify(data.notify, data.state) });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\"], () => (__webpack_require__(\"./src/workers/tag.ts\")))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\":\"5b2b999c\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\":\"428e0a2a\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/static/iris/carbonio-shell-ui/69c6a93cc3671a72363673938d2209ac70427ebd/\";","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t\"src_workers_tag_ts\": 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunk_zextras_carbonio_shell_ui\"] = self[\"webpackChunk_zextras_carbonio_shell_ui\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn Promise.all([\n\t\t__webpack_require__.e(\"vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2\"),\n\t\t__webpack_require__.e(\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe\")\n\t]).then(next);\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":["handleTagRefresh","tags","reduce","acc","val","id","handleTagCreated","created","handleTagModified","modified","handleTagDeleted","deleted","handleTagNotify","notify","state","tag","onmessage","data","op","postMessage"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.
|
|
1
|
+
{"version":3,"file":"style.245ebb9e.css","mappings":";;;AAAA;;;;EAIE;AAGF;;EACE;EACA;EACA;AAAF;AAGA;EACE;EACA;AADF;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;AAFF;AAKA;EACC;EACA;EACA;AAHD;AAMA;EACC;IACC;EAJA;AACF;AAOA;EACC;IACC;EALA;AACF;;;;;ACtCA;;;;EAIE;AAEF;EACC;IAAG,gBAAgB;IAEjB;IACA;EAAD;EAED;IACE;EAAD;EAGD;IACE;IADC,gBAAgB;IAGjB;EADD;AACF;AAbA;EACC;IAAG,gBAAgB;IAEjB;IACA;EAAD;EAED;IACE;EAAD;EAGD;IACE;IADC,gBAAgB;IAGjB;EADD;AACF;AAIA;EACC;EACA;EACA;EACA;EACA;EACA;AAFD;AAIA;EACC;EACA;EACA;EACA;EAEA;UAAA;EACA;UAAA;EACA;UAAA;EACA;UAAA;EACA;UAAA;AAHD;AAKA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAHD;AAKA;EACC;IACC;IACA;EAHA;EAKD;IACC;EAHA;EAKD;IACC;EAHA;AACF;AAMA;EACC;IACC;IACA;EAJA;EAMD;IACC;EAJA;EAMD;IACC;EAJA;AACF","sources":["webpack://@zextras/carbonio-shell-ui/./src/index.css","webpack://@zextras/carbonio-shell-ui/./src/splash.css"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\n\n\nhtml, body {\n height: 100vh;\n width: 100vw;\n overflow: hidden;\n}\n\nbody {\n margin: 0;\n font-family: \"Roboto\", sans-serif;\n}\n\n#app {\n display: flex;\n flex-direction: column;\n width: 100vw;\n max-width: 100vw;\n height: 100%;\n min-height: 100%;\n max-height: 100%;\n}\n\n.tox.tox-tinymce {\n\twidth: 100%;\n\theight: 100%;\n\tborder: none;\n}\n\n@media (prefers-color-scheme: dark) {\n\thtml {\n\t\tbackground: #00506D;\n\t}\n}\n\n@media (prefers-color-scheme: light) {\n\thtml {\n\t\tbackground: #e5e5e5;\n\t}\n}\n","/*\n * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\n\n@keyframes loader-animation {\n\t0% {\n\t\t\t/* width: 15%; */\n\t\t\twidth: 20%;\n\t\t\tleft: 0%;\n\t}\n\t50% {\n\t\t\twidth: 50%;\n\t}\n\n\t100% {\n\t\t\tleft: 100%;\n\t\t\t/* width: 15%; */\n\t\t\twidth: 20%;\n\t\t\t\n\t}\n}\n.loader {\n\theight: 4px;\n\tmin-height: 4px;\n\tposition: relative;\n\twidth: 100%;\n\toverflow-x: clip;\n\toverflow-y: visible;\n}\n.loader .bar {\n\tposition: absolute;\n\ttransform: translateX(-50%);\n\ttop: -2px;\n\theight: 8px;\n\t\n\tanimation-name: loader-animation;\n\tanimation-direction: alternate;\n\tanimation-duration: 1.5s;\n\tanimation-iteration-count: infinite;\n\tanimation-timing-function: ease-in-out;\n}\n.splash {\n\twidth: 100vw;\n\theight: 100vh;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: space-evenly;\n\tpadding: 15vh 30vw;\n\tbox-sizing: border-box;\n}\n@media (prefers-color-scheme: dark) {\n\t.splash {\n\t\tbackground: #00506D;\n\t\tcolor: #FFFFFF;\n\t}\n\t.loader .bar {\n\t\tbackground-color: #FFFFFF;\n\t}\n\t.loader {\n\t\tbackground: #AAC8EE;\n\t}\n}\n\n@media (prefers-color-scheme: light) {\n\t.splash {\n\t\tbackground: #e5e5e5;\n\t\tcolor: #A3AEBC;\n\t}\n\t.loader .bar {\n\t\tbackground-color: #00506D;\n\t}\n\t.loader {\n\t\tbackground: #FFFFFF;\n\t}\n}\n"],"names":[],"sourceRoot":""}
|
|
@@ -47152,7 +47152,7 @@ var AccordionItem = /*#__PURE__*/React__default["default"].forwardRef(function A
|
|
|
47152
47152
|
padding: {
|
|
47153
47153
|
all: 'small'
|
|
47154
47154
|
},
|
|
47155
|
-
height:
|
|
47155
|
+
height: 40,
|
|
47156
47156
|
ref: ref,
|
|
47157
47157
|
style: {
|
|
47158
47158
|
minWidth: 0,
|
|
@@ -251180,4 +251180,4 @@ var loadLanguages = instance.loadLanguages;
|
|
|
251180
251180
|
/***/ })
|
|
251181
251181
|
|
|
251182
251182
|
}]);
|
|
251183
|
-
//# sourceMappingURL=vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-eb34a0.
|
|
251183
|
+
//# sourceMappingURL=vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-eb34a0.4ca594ac.chunk.js.map
|