@zextras/carbonio-shell-ui 2.0.2 → 2.0.3
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 +7 -0
- package/dist/PKGBUILD +7 -7
- package/dist/commit +1 -1
- package/dist/component.json +3 -3
- package/dist/index.html +1 -1
- package/dist/{node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.dd17b97f.chunk.js → node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.30f3563f.chunk.js} +25 -8
- package/dist/node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.30f3563f.chunk.js.map +1 -0
- package/dist/{src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.ee783722.chunk.js → src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.2f41c2dd.chunk.js} +6 -6
- package/dist/{src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.ee783722.chunk.js.map → src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.2f41c2dd.chunk.js.map} +1 -1
- package/dist/{src_workers_tag_ts.827addd8.chunk.js → src_workers_tag_ts.a14c553d.chunk.js} +2 -2
- package/dist/{src_workers_tag_ts.827addd8.chunk.js.map → src_workers_tag_ts.a14c553d.chunk.js.map} +1 -1
- package/dist/{style.e561dcf5.css → style.0db252b0.css} +29 -29
- package/dist/{style.e561dcf5.css.map → style.0db252b0.css.map} +1 -1
- package/dist/zapp-shell.bundle.js +2 -2
- package/dist/zapp-shell.bundle.js.map +1 -1
- package/package.json +1 -1
- package/dist/node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.dd17b97f.chunk.js.map +0 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.0.3](https://github.com/zextras/carbonio-shell-ui/compare/v2.0.2...v2.0.3) (2023-03-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* handle linkfolder created ([9ed09d3](https://github.com/zextras/carbonio-shell-ui/commit/9ed09d3978287661b080adf9af7ce3181bd3360c))
|
|
11
|
+
|
|
5
12
|
### [2.0.2](https://github.com/zextras/carbonio-shell-ui/compare/v2.0.1...v2.0.2) (2023-03-13)
|
|
6
13
|
|
|
7
14
|
### [2.0.1](https://github.com/zextras/carbonio-shell-ui/compare/v2.0.0...v2.0.1) (2023-03-02)
|
package/dist/PKGBUILD
CHANGED
|
@@ -10,7 +10,7 @@ targets=(
|
|
|
10
10
|
"ubuntu"
|
|
11
11
|
)
|
|
12
12
|
pkgname="carbonio-shell-ui"
|
|
13
|
-
pkgver="2.0.
|
|
13
|
+
pkgver="2.0.3"
|
|
14
14
|
pkgrel="1"
|
|
15
15
|
pkgdesc="The Zextras Carbonio web client"
|
|
16
16
|
pkgdesclong=(
|
|
@@ -35,11 +35,11 @@ preinst() {
|
|
|
35
35
|
|
|
36
36
|
package() {
|
|
37
37
|
cd "${srcdir}"
|
|
38
|
-
mkdir -p "${pkgdir}/opt/zextras/web/iris/${pkgname}/
|
|
39
|
-
cp -a ../dist/* "${pkgdir}/opt/zextras/web/iris/${pkgname}/
|
|
40
|
-
chown root:root -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/
|
|
41
|
-
chmod 644 -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/
|
|
42
|
-
find "${pkgdir}/opt/zextras/web/iris/${pkgname}/
|
|
38
|
+
mkdir -p "${pkgdir}/opt/zextras/web/iris/${pkgname}/cf9063afe38a1e6fa22e11caf8f429873ad18de9"
|
|
39
|
+
cp -a ../dist/* "${pkgdir}/opt/zextras/web/iris/${pkgname}/cf9063afe38a1e6fa22e11caf8f429873ad18de9" || true
|
|
40
|
+
chown root:root -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/cf9063afe38a1e6fa22e11caf8f429873ad18de9"
|
|
41
|
+
chmod 644 -R "${pkgdir}/opt/zextras/web/iris/${pkgname}/cf9063afe38a1e6fa22e11caf8f429873ad18de9"
|
|
42
|
+
find "${pkgdir}/opt/zextras/web/iris/${pkgname}/cf9063afe38a1e6fa22e11caf8f429873ad18de9" -type d -exec chmod a+x "{}" \;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
postinst() {
|
|
@@ -47,7 +47,7 @@ postinst() {
|
|
|
47
47
|
mkdir -p "/opt/zextras/web/iris/${pkgname}/current"
|
|
48
48
|
|
|
49
49
|
# not every package has a index.html
|
|
50
|
-
cd "/opt/zextras/web/iris/${pkgname}/
|
|
50
|
+
cd "/opt/zextras/web/iris/${pkgname}/cf9063afe38a1e6fa22e11caf8f429873ad18de9"
|
|
51
51
|
find . -name "*.html" -exec cp --parents "{}" /opt/zextras/web/iris/${pkgname}/current/ \;
|
|
52
52
|
|
|
53
53
|
# re-generate the component list, for every component
|
package/dist/commit
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cf9063afe38a1e6fa22e11caf8f429873ad18de9
|
package/dist/component.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbonio-shell-ui",
|
|
3
|
-
"js_entrypoint": "/static/iris/carbonio-shell-ui/
|
|
3
|
+
"js_entrypoint": "/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/zapp-shell.bundle.js",
|
|
4
4
|
"description": "The Zextras Carbonio web client",
|
|
5
|
-
"version": "2.0.
|
|
6
|
-
"commit": "
|
|
5
|
+
"version": "2.0.3",
|
|
6
|
+
"commit": "cf9063afe38a1e6fa22e11caf8f429873ad18de9",
|
|
7
7
|
"priority": -1,
|
|
8
8
|
"type": "shell",
|
|
9
9
|
"attrKey": "",
|
package/dist/index.html
CHANGED
|
@@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|
|
16
16
|
<meta http-equiv="Cache-Control" content="no-cache" />
|
|
17
17
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
18
18
|
<meta http-equiv="Expires" content="0" />
|
|
19
|
-
<script defer src="/static/iris/carbonio-shell-ui/
|
|
19
|
+
<script defer src="/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/zapp-shell.bundle.js"></script><link href="/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/style.0db252b0.css" rel="stylesheet"></head>
|
|
20
20
|
|
|
21
21
|
<body>
|
|
22
22
|
<div id="app"></div>
|
|
@@ -161,7 +161,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
161
161
|
/* harmony export */ "handleFolderCreated": () => (/* binding */ handleFolderCreated),
|
|
162
162
|
/* harmony export */ "handleFolderDeleted": () => (/* binding */ handleFolderDeleted),
|
|
163
163
|
/* harmony export */ "handleFolderModified": () => (/* binding */ handleFolderModified),
|
|
164
|
-
/* harmony export */ "handleFolderNotify": () => (/* binding */ handleFolderNotify)
|
|
164
|
+
/* harmony export */ "handleFolderNotify": () => (/* binding */ handleFolderNotify),
|
|
165
|
+
/* harmony export */ "handleLinkCreated": () => (/* binding */ handleLinkCreated)
|
|
165
166
|
/* harmony export */ });
|
|
166
167
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ "./node_modules/core-js/modules/es.object.keys.js");
|
|
167
168
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -386,6 +387,21 @@ var handleFolderCreated = function handleFolderCreated(created) {
|
|
|
386
387
|
}
|
|
387
388
|
});
|
|
388
389
|
};
|
|
390
|
+
var handleLinkCreated = function handleLinkCreated(created) {
|
|
391
|
+
return created.forEach(function (val) {
|
|
392
|
+
if (val.id && val.l) {
|
|
393
|
+
var parent = folders[val.l];
|
|
394
|
+
var folder = _objectSpread(_objectSpread({}, normalizeLink(val, parent)), {}, {
|
|
395
|
+
isLink: true,
|
|
396
|
+
children: [],
|
|
397
|
+
parent: parent,
|
|
398
|
+
depth: parent !== null && parent !== void 0 && parent.depth ? parent.depth + 1 : 0
|
|
399
|
+
});
|
|
400
|
+
folders[val.id] = folder;
|
|
401
|
+
parent.children.push(folder);
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
};
|
|
389
405
|
var handleFolderModified = function handleFolderModified(modified) {
|
|
390
406
|
return modified.forEach(function (val) {
|
|
391
407
|
if (val.id) {
|
|
@@ -429,13 +445,14 @@ var handleFolderDeleted = function handleFolderDeleted(deleted) {
|
|
|
429
445
|
});
|
|
430
446
|
};
|
|
431
447
|
var handleFolderNotify = function handleFolderNotify(notify) {
|
|
432
|
-
var
|
|
433
|
-
handleFolderCreated((
|
|
434
|
-
|
|
448
|
+
var _notify$created$folde, _notify$created, _notify$created$link, _notify$created2, _ref2, _notify$modified$fold, _notify$modified, _notify$modified2, _notify$deleted;
|
|
449
|
+
handleFolderCreated((_notify$created$folde = (_notify$created = notify.created) === null || _notify$created === void 0 ? void 0 : _notify$created.folder) !== null && _notify$created$folde !== void 0 ? _notify$created$folde : []);
|
|
450
|
+
handleLinkCreated((_notify$created$link = (_notify$created2 = notify.created) === null || _notify$created2 === void 0 ? void 0 : _notify$created2.link) !== null && _notify$created$link !== void 0 ? _notify$created$link : []);
|
|
451
|
+
handleFolderModified((_ref2 = (_notify$modified$fold = (_notify$modified = notify.modified) === null || _notify$modified === void 0 ? void 0 : _notify$modified.folder) !== null && _notify$modified$fold !== void 0 ? _notify$modified$fold : (_notify$modified2 = notify.modified) === null || _notify$modified2 === void 0 ? void 0 : _notify$modified2.link) !== null && _ref2 !== void 0 ? _ref2 : []);
|
|
435
452
|
handleFolderDeleted((_notify$deleted = notify.deleted) !== null && _notify$deleted !== void 0 ? _notify$deleted : []);
|
|
436
453
|
};
|
|
437
|
-
onmessage = function onmessage(
|
|
438
|
-
var data =
|
|
454
|
+
onmessage = function onmessage(_ref3) {
|
|
455
|
+
var data = _ref3.data;
|
|
439
456
|
if (data.op === 'refresh' && data.folder) {
|
|
440
457
|
handleFolderRefresh(data.folder);
|
|
441
458
|
}
|
|
@@ -607,7 +624,7 @@ onmessage = function onmessage(_ref4) {
|
|
|
607
624
|
/******/
|
|
608
625
|
/******/ /* webpack/runtime/publicPath */
|
|
609
626
|
/******/ (() => {
|
|
610
|
-
/******/ __webpack_require__.p = "/static/iris/carbonio-shell-ui/
|
|
627
|
+
/******/ __webpack_require__.p = "/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/";
|
|
611
628
|
/******/ })();
|
|
612
629
|
/******/
|
|
613
630
|
/******/ /* webpack/runtime/importScripts chunk loading */
|
|
@@ -666,4 +683,4 @@ onmessage = function onmessage(_ref4) {
|
|
|
666
683
|
/******/
|
|
667
684
|
/******/ })()
|
|
668
685
|
;
|
|
669
|
-
//# sourceMappingURL=node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.
|
|
686
|
+
//# sourceMappingURL=node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.30f3563f.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node_modules_core-js_internals_add-to-unscopables_js-src_workers_folder_ts.30f3563f.chunk.js","mappings":";;;;;;;;;AAAA,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,aAAa,mBAAO,CAAC,qFAA4B;AACjD,qBAAqB,gIAAgD;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAA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AM,8FAAIiF,MAAM,CAACT,QAAQ,sDAAf,kBAAiB1E,IAAI,yCAAI,EAAE,CAAC;EAC5EgF,mBAAmB,oBAACG,MAAM,CAACF,OAAO,6DAAI,EAAE,CAAC;AAC1C,CAAC;AACDG,SAAS,GAAG,0BAAmC;EAAA,IAAhCC,IAAI,SAAJA,IAAI;EAClB,IAAIA,IAAI,CAACC,EAAE,KAAK,SAAS,IAAID,IAAI,CAACnF,MAAM,EAAE;IACzCiE,mBAAmB,CAACkB,IAAI,CAACnF,MAAM,CAAC;EACjC;EACA,IAAImF,IAAI,CAACC,EAAE,KAAK,QAAQ,EAAE;IACzBJ,kBAAkB,CAACG,IAAI,CAACF,MAAM,CAAC;EAChC;EACAI,WAAW,CAAC;IAAE5F,OAAO,EAAPA,OAAO;IAAEC,KAAK,EAALA,KAAK;IAAEC,QAAQ,EAARA;EAAS,CAAC,CAAC;AAC1C,CAAC;;;;;;UCxPD;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,sVAAsV;WACpX;;;;;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/./node_modules/core-js/internals/add-to-unscopables.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/internals/create-html.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/internals/string-html-forced.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/modules/es.object.assign.js","webpack://@zextras/carbonio-shell-ui/./node_modules/core-js/modules/es.string.link.js","webpack://@zextras/carbonio-shell-ui/./src/utils/utils.ts","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":["var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\n","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","/*\n * SPDX-FileCopyrightText: 2023 Zextras <https://www.zextras.com>\n *\n * SPDX-License-Identifier: AGPL-3.0-only\n */\nexport const testFolderIsChecked = ({ string }: { string: string | undefined }): boolean =>\n\t/#/.test(string || '');\n","/*\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';\nimport { testFolderIsChecked } from '../utils/utils';\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\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tlink: _1,\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tfolder: _2,\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\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, p?: Folder): 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\tchecked: testFolderIsChecked({ string: f.f }),\n\tf: f.f,\n\tcolor: f.color || p?.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, p?: Folder): BaseFolder & LinkFolderFields => ({\n\t...normalize(l, p),\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, parent),\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, parent),\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, parent),\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 handleLinkCreated = (created: Array<SoapLink>): void =>\n\tcreated.forEach((val: SoapLink) => {\n\t\tif (val.id && val.l) {\n\t\t\tconst parent = folders[val.l];\n\t\t\tconst folder: LinkFolder = {\n\t\t\t\t...normalizeLink(val, parent),\n\t\t\t\tisLink: true,\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 (typeof val.f !== 'undefined') {\n\t\t\t\t\tfolder.checked = testFolderIsChecked({ string: val.f });\n\t\t\t\t}\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\thandleLinkCreated(notify.created?.link ?? []);\n\thandleFolderModified(notify.modified?.folder ?? notify.modified?.link ?? []);\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-3be330\",\"vendors-node_modules_core-js_internals_object-assign_js-node_modules_core-js_modules_es_array-b9dcc3\"], () => (__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\":\"864f2daf\",\"vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-3be330\":\"bf459aec\",\"vendors-node_modules_core-js_internals_object-assign_js-node_modules_core-js_modules_es_array-b9dcc3\":\"8c1b9aac\"}[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/cf9063afe38a1e6fa22e11caf8f429873ad18de9/\";","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t\"node_modules_core-js_internals_add-to-unscopables_js-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-3be330\",\"vendors-node_modules_core-js_internals_object-assign_js-node_modules_core-js_modules_es_array-b9dcc3\"].map(__webpack_require__.e, __webpack_require__)).then(next);\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":["testFolderIsChecked","string","test","IM_LOGS","ROOT_NAME","DEFAULT_ROOT","folders","roots","searches","omit","_1","link","_2","folder","_3","search","obj","hasId","f","id","split","includes","normalize","p","uuid","name","absFolderPath","l","luuid","checked","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","handleLinkCreated","handleFolderModified","modified","Object","assign","oldParent","newParent","filter","handleFolderDeleted","deleted","handleFolderNotify","notify","onmessage","data","op","postMessage"],"sourceRoot":""}
|
|
@@ -2592,7 +2592,7 @@ var loginConfig = function loginConfig() {
|
|
|
2592
2592
|
_store_login_store__WEBPACK_IMPORTED_MODULE_2__.useLoginConfigStore.setState(data);
|
|
2593
2593
|
var favicon = document.getElementById('favicon');
|
|
2594
2594
|
if (favicon && favicon instanceof HTMLLinkElement) {
|
|
2595
|
-
favicon.href = data.carbonioWebUiFavicon ? data.carbonioWebUiFavicon : "".concat("/static/iris/carbonio-shell-ui/
|
|
2595
|
+
favicon.href = data.carbonioWebUiFavicon ? data.carbonioWebUiFavicon : "".concat("/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/", "favicon.svg");
|
|
2596
2596
|
}
|
|
2597
2597
|
if (data.carbonioWebUiTitle) {
|
|
2598
2598
|
document.title = data.carbonioWebUiTitle;
|
|
@@ -13307,7 +13307,7 @@ var useI18nStore = (0,zustand__WEBPACK_IMPORTED_MODULE_9__["default"])(function
|
|
|
13307
13307
|
console.warn("Missing translation with key '".concat(key, "'"));
|
|
13308
13308
|
},
|
|
13309
13309
|
backend: {
|
|
13310
|
-
loadPath: app.name === _constants__WEBPACK_IMPORTED_MODULE_7__.SHELL_APP_ID ? "".concat("/static/iris/carbonio-shell-ui/
|
|
13310
|
+
loadPath: app.name === _constants__WEBPACK_IMPORTED_MODULE_7__.SHELL_APP_ID ? "".concat("/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/", "/i18n/{{lng}}.json") : "".concat((0,lodash__WEBPACK_IMPORTED_MODULE_6__.dropRight)(app.js_entrypoint.split('/')).join('/'), "/i18n/{{lng}}.json")
|
|
13311
13311
|
}
|
|
13312
13312
|
});
|
|
13313
13313
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -13339,7 +13339,7 @@ defaultI18n.use(i18next_http_backend__WEBPACK_IMPORTED_MODULE_5__["default"])
|
|
|
13339
13339
|
console.warn("Missing translation with key '".concat(key, "'"));
|
|
13340
13340
|
},
|
|
13341
13341
|
backend: {
|
|
13342
|
-
loadPath: "".concat("/static/iris/carbonio-shell-ui/
|
|
13342
|
+
loadPath: "".concat("/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/", "/i18n/{{lng}}.json")
|
|
13343
13343
|
}
|
|
13344
13344
|
});
|
|
13345
13345
|
|
|
@@ -13529,8 +13529,8 @@ var Composer = function Composer(_ref) {
|
|
|
13529
13529
|
}, [inlineLabel, onFileClick, onFileSelect, t]);
|
|
13530
13530
|
var editorInitConfig = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {
|
|
13531
13531
|
return {
|
|
13532
|
-
content_css: "".concat("/static/iris/carbonio-shell-ui/
|
|
13533
|
-
language_url: "".concat("/static/iris/carbonio-shell-ui/
|
|
13532
|
+
content_css: "".concat("/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/", "/tinymce/skins/content/default/content.css"),
|
|
13533
|
+
language_url: "".concat("/static/iris/carbonio-shell-ui/cf9063afe38a1e6fa22e11caf8f429873ad18de9/", "tinymce/langs/").concat(locale, ".js"),
|
|
13534
13534
|
language: locale,
|
|
13535
13535
|
setup: setupCallback,
|
|
13536
13536
|
min_height: 350,
|
|
@@ -15704,4 +15704,4 @@ module.exports = __webpack_require__.p + "20d012c938e8d0dcc703.mp3";
|
|
|
15704
15704
|
/***/ })
|
|
15705
15705
|
|
|
15706
15706
|
}]);
|
|
15707
|
-
//# sourceMappingURL=src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.
|
|
15707
|
+
//# sourceMappingURL=src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.2f41c2dd.chunk.js.map
|