@zextras/carbonio-shell-ui 0.4.5 → 0.4.6
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 +14 -0
- package/dist/PKGBUILD +6 -6
- package/dist/commit +1 -1
- package/dist/component.json +3 -3
- package/dist/i18n/de.json +91 -6
- package/dist/i18n/en.json +140 -91
- package/dist/i18n/es.json +91 -6
- package/dist/i18n/fr.json +81 -5
- package/dist/i18n/hi.json +120 -5
- package/dist/i18n/id.json +120 -5
- package/dist/i18n/it.json +4 -1
- package/dist/i18n/ja.json +120 -5
- package/dist/i18n/nl.json +91 -6
- package/dist/i18n/pt_BR.json +91 -6
- package/dist/i18n/ru.json +6 -4
- package/dist/i18n/th.json +120 -5
- package/dist/i18n/tr.json +3 -1
- package/dist/i18n/zh_Hans.json +91 -6
- package/dist/index.html +3 -3
- package/dist/{src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.15e5aa63.chunk.js → src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.b2fa4170.chunk.js} +1094 -303
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.b2fa4170.chunk.js.map +1 -0
- package/dist/src_workers_folder_ts.00bb811e.chunk.js +549 -0
- package/dist/src_workers_folder_ts.00bb811e.chunk.js.map +1 -0
- package/dist/{src_workers_tag_ts.2d4d45d9.chunk.js → src_workers_tag_ts.6c2c1688.chunk.js} +118 -13
- package/dist/src_workers_tag_ts.6c2c1688.chunk.js.map +1 -0
- package/dist/{style.34e02677.css → style.e7c1b109.css} +1 -1
- package/dist/{style.34e02677.css.map → style.e7c1b109.css.map} +1 -1
- package/dist/vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68.e87ecee6.chunk.js +288 -0
- package/dist/vendors-node_modules_core-js_internals_add-to-unscopables_js-node_modules_core-js_internals_s-261a68.e87ecee6.chunk.js.map +1 -0
- package/dist/{vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-84ce1e.93156963.chunk.js → vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe.428e0a2a.chunk.js} +2 -17
- package/dist/vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-a012fe.428e0a2a.chunk.js.map +1 -0
- package/dist/{vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-6bcff8.23638bf9.chunk.js → vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2.5b2b999c.chunk.js} +2 -88
- package/dist/vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-f8dfc2.5b2b999c.chunk.js.map +1 -0
- package/dist/vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90.cc38c8f6.chunk.js +869 -0
- package/dist/vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_es_fun-f57f90.cc38c8f6.chunk.js.map +1 -0
- package/dist/{vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-706ed2.css → vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-d86d9b.css} +1 -1
- package/dist/{vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-706ed2.css.map → vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-d86d9b.css.map} +1 -1
- package/dist/{vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-706ed2.2e8c7e6c.chunk.js → vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-d86d9b.dc7aedf1.chunk.js} +379 -1115
- package/dist/{vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-706ed2.2e8c7e6c.chunk.js.map → vendors-node_modules_reduxjs_toolkit_dist_redux-toolkit_esm_js-node_modules_sentry_browser_es-d86d9b.dc7aedf1.chunk.js.map} +1 -1
- package/dist/zapp-shell.bundle.js +4 -4
- package/dist/zapp-shell.bundle.js.map +1 -1
- package/package.json +4 -4
- package/types/exports/index.d.ts +36 -1
- package/types/folder/index.d.ts +33 -0
- package/types/index.d.ts +1 -0
- package/types/misc/index.d.ts +190 -26
- package/types/network/index.d.ts +2 -59
- package/types/network/soap.d.ts +76 -0
- package/types/workers/index.d.ts +7 -8
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.15e5aa63.chunk.js.map +0 -1
- package/dist/src_workers_tag_ts.2d4d45d9.chunk.js.map +0 -1
- package/dist/vendors-node_modules_core-js_internals_array-iteration_js-node_modules_core-js_internals_arra-84ce1e.93156963.chunk.js.map +0 -1
- package/dist/vendors-node_modules_core-js_modules_es_array_filter_js-node_modules_core-js_modules_es_array-6bcff8.23638bf9.chunk.js.map +0 -1
|
@@ -142,9 +142,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
142
142
|
/* harmony import */ var _history_hooks__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../history/hooks */ "./src/history/hooks.ts");
|
|
143
143
|
/* harmony import */ var _shell_boards_board_hooks__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../shell/boards/board-hooks */ "./src/shell/boards/board-hooks.ts");
|
|
144
144
|
/* harmony import */ var _network_fetch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../network/fetch */ "./src/network/fetch.ts");
|
|
145
|
-
/* harmony import */ var
|
|
146
|
-
/* harmony import */ var
|
|
147
|
-
/* harmony import */ var
|
|
145
|
+
/* harmony import */ var _store_folder__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../store/folder */ "./src/store/folder/index.ts");
|
|
146
|
+
/* harmony import */ var _store_tags__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../store/tags */ "./src/store/tags/index.ts");
|
|
147
|
+
/* harmony import */ var _store_network__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../store/network */ "./src/store/network/index.ts");
|
|
148
|
+
/* harmony import */ var _network_tags__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../network/tags */ "./src/network/tags.ts");
|
|
148
149
|
|
|
149
150
|
|
|
150
151
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -183,6 +184,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
183
184
|
|
|
184
185
|
|
|
185
186
|
|
|
187
|
+
|
|
186
188
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
187
189
|
|
|
188
190
|
var getAppFunctions = function getAppFunctions(pkg) {
|
|
@@ -220,10 +222,27 @@ var getAppFunctions = function getAppFunctions(pkg) {
|
|
|
220
222
|
useUserRights: _store_account__WEBPACK_IMPORTED_MODULE_16__.useUserRights,
|
|
221
223
|
getUserRight: _store_account__WEBPACK_IMPORTED_MODULE_16__.getUserRight,
|
|
222
224
|
getUserRights: _store_account__WEBPACK_IMPORTED_MODULE_16__.getUserRights,
|
|
223
|
-
useTags:
|
|
224
|
-
getTags:
|
|
225
|
-
useNotify:
|
|
226
|
-
useRefresh:
|
|
225
|
+
useTags: _store_tags__WEBPACK_IMPORTED_MODULE_23__.useTags,
|
|
226
|
+
getTags: _store_tags__WEBPACK_IMPORTED_MODULE_23__.getTags,
|
|
227
|
+
useNotify: _store_network__WEBPACK_IMPORTED_MODULE_24__.useNotify,
|
|
228
|
+
useRefresh: _store_network__WEBPACK_IMPORTED_MODULE_24__.useRefresh,
|
|
229
|
+
// FOLDERS
|
|
230
|
+
useFoldersAccordionByView: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useFoldersAccordionByView,
|
|
231
|
+
useFoldersByView: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useFoldersByView,
|
|
232
|
+
useFolder: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useFolder,
|
|
233
|
+
getFolder: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getFolder,
|
|
234
|
+
useFolders: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useFolders,
|
|
235
|
+
getFolders: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getFolders,
|
|
236
|
+
useRoot: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useRoot,
|
|
237
|
+
getRoot: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getRoot,
|
|
238
|
+
useRoots: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useRoots,
|
|
239
|
+
getRoots: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getRoots,
|
|
240
|
+
useSearch: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useSearch,
|
|
241
|
+
useSearches: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useSearches,
|
|
242
|
+
getSearch: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getSearch,
|
|
243
|
+
getSearches: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getSearches,
|
|
244
|
+
useRootByUser: _store_folder__WEBPACK_IMPORTED_MODULE_22__.useRootByUser,
|
|
245
|
+
getRootByUser: _store_folder__WEBPACK_IMPORTED_MODULE_22__.getRootByUser,
|
|
227
246
|
// BOARDS
|
|
228
247
|
useAddBoardCallback: (0,_shell_boards_board_hooks__WEBPACK_IMPORTED_MODULE_20__.getUseAddBoardCallback)(pkg.name),
|
|
229
248
|
useUpdateCurrentBoard: _shell_boards_board_hooks__WEBPACK_IMPORTED_MODULE_20__.useUpdateCurrentBoard,
|
|
@@ -239,11 +258,10 @@ var getAppFunctions = function getAppFunctions(pkg) {
|
|
|
239
258
|
goBackHistory: _history_hooks__WEBPACK_IMPORTED_MODULE_19__.goBackHistory,
|
|
240
259
|
replaceHistory: _history_hooks__WEBPACK_IMPORTED_MODULE_19__.replaceHistory,
|
|
241
260
|
// TAGS
|
|
242
|
-
createTag:
|
|
243
|
-
renameTag:
|
|
244
|
-
changeTagColor:
|
|
245
|
-
deleteTag:
|
|
246
|
-
updateTag: _network_tags__WEBPACK_IMPORTED_MODULE_24__.updateTag,
|
|
261
|
+
createTag: _network_tags__WEBPACK_IMPORTED_MODULE_25__.createTag,
|
|
262
|
+
renameTag: _network_tags__WEBPACK_IMPORTED_MODULE_25__.renameTag,
|
|
263
|
+
changeTagColor: _network_tags__WEBPACK_IMPORTED_MODULE_25__.changeTagColor,
|
|
264
|
+
deleteTag: _network_tags__WEBPACK_IMPORTED_MODULE_25__.deleteTag,
|
|
247
265
|
// STUFF
|
|
248
266
|
useIsMobile: _shell_hooks__WEBPACK_IMPORTED_MODULE_17__.useIsMobile,
|
|
249
267
|
getBridgedFunctions: function getBridgedFunctions() {
|
|
@@ -1519,7 +1537,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1519
1537
|
/* harmony export */ "ACTION_TYPES": () => (/* binding */ ACTION_TYPES),
|
|
1520
1538
|
/* harmony export */ "darkReaderDynamicThemeFixes": () => (/* binding */ darkReaderDynamicThemeFixes),
|
|
1521
1539
|
/* harmony export */ "BASENAME": () => (/* binding */ BASENAME),
|
|
1522
|
-
/* harmony export */ "EMAIL_VALIDATION_REGEX": () => (/* binding */ EMAIL_VALIDATION_REGEX)
|
|
1540
|
+
/* harmony export */ "EMAIL_VALIDATION_REGEX": () => (/* binding */ EMAIL_VALIDATION_REGEX),
|
|
1541
|
+
/* harmony export */ "ROOT_NAME": () => (/* binding */ ROOT_NAME)
|
|
1523
1542
|
/* harmony export */ });
|
|
1524
1543
|
/*
|
|
1525
1544
|
* SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
|
|
@@ -1621,6 +1640,7 @@ var darkReaderDynamicThemeFixes = {
|
|
|
1621
1640
|
var BASENAME = "/carbonio/";
|
|
1622
1641
|
var EMAIL_VALIDATION_REGEX = // eslint-disable-next-line @typescript-eslint/no-unused-vars, max-len, no-control-regex
|
|
1623
1642
|
/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/;
|
|
1643
|
+
var ROOT_NAME = 'USER_ROOT';
|
|
1624
1644
|
|
|
1625
1645
|
/***/ }),
|
|
1626
1646
|
|
|
@@ -1903,7 +1923,7 @@ var I18nFactory = /*#__PURE__*/function () {
|
|
|
1903
1923
|
}
|
|
1904
1924
|
|
|
1905
1925
|
var newI18n = i18next__WEBPACK_IMPORTED_MODULE_7__["default"].createInstance();
|
|
1906
|
-
var baseI18nPath = appPkgDescription.name === _constants__WEBPACK_IMPORTED_MODULE_11__.SHELL_APP_ID ? "/static/iris/carbonio-shell-ui/
|
|
1926
|
+
var baseI18nPath = appPkgDescription.name === _constants__WEBPACK_IMPORTED_MODULE_11__.SHELL_APP_ID ? "/static/iris/carbonio-shell-ui/75d8734c461f4e4a54dd4e8eaa999c0c751fbf58/" : (0,lodash__WEBPACK_IMPORTED_MODULE_9__.dropRight)(appPkgDescription.js_entrypoint.split('/')).join('/');
|
|
1907
1927
|
newI18n // load translation using http -> see /public/locales (i.e. https://github.com/i18next/react-i18next/tree/master/example/react/public/locales)
|
|
1908
1928
|
// learn more: https://github.com/i18next/i18next-http-backend
|
|
1909
1929
|
.use(i18next_http_backend__WEBPACK_IMPORTED_MODULE_8__["default"]) // detect user language
|
|
@@ -2391,7 +2411,7 @@ var handleResponse = function handleResponse(api, res) {
|
|
|
2391
2411
|
}
|
|
2392
2412
|
|
|
2393
2413
|
if ((_res$Header = res.Header) !== null && _res$Header !== void 0 && _res$Header.context) {
|
|
2394
|
-
var _res$Header$context$r, _res$Header$context, _res$Header$context$r2, _res$Header$context$r3, _res$Header$context$r4, _res$Header$context2, _res$Header$context2$, _res$Header$context2$2, _res$Header$context2$3, _res$Header$context2$4, _res$Header$context2$5, _maxBy$seq, _maxBy;
|
|
2414
|
+
var _res$Header$context$r, _res$Header$context, _res$Header$context$r2, _res$Header$context$r3, _res$Header$context$r4, _res$Header$context2, _res$Header$context2$, _res$Header$context2$2, _res$Header$context2$3, _res$Header$context2$4, _res$Header$context2$5, _maxBy$seq, _maxBy, _res$Body;
|
|
2395
2415
|
|
|
2396
2416
|
var responseUsedQuota = (_res$Header$context$r = (_res$Header$context = res.Header.context) === null || _res$Header$context === void 0 ? void 0 : (_res$Header$context$r2 = _res$Header$context.refresh) === null || _res$Header$context$r2 === void 0 ? void 0 : (_res$Header$context$r3 = _res$Header$context$r2.mbx) === null || _res$Header$context$r3 === void 0 ? void 0 : (_res$Header$context$r4 = _res$Header$context$r3[0]) === null || _res$Header$context$r4 === void 0 ? void 0 : _res$Header$context$r4.s) !== null && _res$Header$context$r !== void 0 ? _res$Header$context$r : (_res$Header$context2 = res.Header.context) === null || _res$Header$context2 === void 0 ? void 0 : (_res$Header$context2$ = _res$Header$context2.notify) === null || _res$Header$context2$ === void 0 ? void 0 : (_res$Header$context2$2 = _res$Header$context2$[0]) === null || _res$Header$context2$2 === void 0 ? void 0 : (_res$Header$context2$3 = _res$Header$context2$2.modified) === null || _res$Header$context2$3 === void 0 ? void 0 : (_res$Header$context2$4 = _res$Header$context2$3.mbx) === null || _res$Header$context2$4 === void 0 ? void 0 : (_res$Header$context2$5 = _res$Header$context2$4[0]) === null || _res$Header$context2$5 === void 0 ? void 0 : _res$Header$context2$5.s;
|
|
2397
2417
|
|
|
@@ -2402,10 +2422,12 @@ var handleResponse = function handleResponse(api, res) {
|
|
|
2402
2422
|
_store_account__WEBPACK_IMPORTED_MODULE_21__.useAccountStore.setState({
|
|
2403
2423
|
usedQuota: responseUsedQuota !== null && responseUsedQuota !== void 0 ? responseUsedQuota : usedQuota
|
|
2404
2424
|
});
|
|
2425
|
+
var nextPollingInterval = res !== null && res !== void 0 && (_res$Body = res.Body) !== null && _res$Body !== void 0 && _res$Body.waitDisallowed ? 10000 : pollingInterval;
|
|
2405
2426
|
_store_network__WEBPACK_IMPORTED_MODULE_23__.useNetworkStore.setState(_objectSpread({
|
|
2406
2427
|
noOpTimeout: setTimeout(function () {
|
|
2407
2428
|
return noOp();
|
|
2408
|
-
},
|
|
2429
|
+
}, nextPollingInterval),
|
|
2430
|
+
pollingInterval: nextPollingInterval,
|
|
2409
2431
|
seq: seq
|
|
2410
2432
|
}, _context));
|
|
2411
2433
|
} // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -2681,49 +2703,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2681
2703
|
/* harmony export */ "createTag": () => (/* binding */ createTag),
|
|
2682
2704
|
/* harmony export */ "deleteTag": () => (/* binding */ deleteTag),
|
|
2683
2705
|
/* harmony export */ "renameTag": () => (/* binding */ renameTag),
|
|
2684
|
-
/* harmony export */ "updateTag": () => (/* binding */ updateTag),
|
|
2685
2706
|
/* harmony export */ "changeTagColor": () => (/* binding */ changeTagColor)
|
|
2686
2707
|
/* harmony export */ });
|
|
2687
|
-
/* harmony import */ var
|
|
2688
|
-
/* harmony import */ var
|
|
2689
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js");
|
|
2690
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
2691
|
-
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ "./node_modules/core-js/modules/es.array.filter.js");
|
|
2692
|
-
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
2693
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js");
|
|
2694
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
2695
|
-
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ "./node_modules/core-js/modules/es.object.get-own-property-descriptor.js");
|
|
2696
|
-
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
2697
|
-
/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ "./node_modules/core-js/modules/es.array.for-each.js");
|
|
2698
|
-
/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
2699
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
2700
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
2701
|
-
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ "./node_modules/core-js/modules/es.object.get-own-property-descriptors.js");
|
|
2702
|
-
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
2703
|
-
/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.object.define-properties.js */ "./node_modules/core-js/modules/es.object.define-properties.js");
|
|
2704
|
-
/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
2705
|
-
/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ "./node_modules/core-js/modules/es.object.define-property.js");
|
|
2706
|
-
/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
2707
|
-
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
2708
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../constants */ "./src/constants/index.ts");
|
|
2709
|
-
/* harmony import */ var _store_tags__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../store/tags */ "./src/store/tags/index.ts");
|
|
2710
|
-
/* harmony import */ var _fetch__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./fetch */ "./src/network/fetch.ts");
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2724
|
-
|
|
2725
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_10__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2726
|
-
|
|
2708
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants */ "./src/constants/index.ts");
|
|
2709
|
+
/* harmony import */ var _fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fetch */ "./src/network/fetch.ts");
|
|
2727
2710
|
/*
|
|
2728
2711
|
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
2729
2712
|
*
|
|
@@ -2731,16 +2714,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
2731
2714
|
*/
|
|
2732
2715
|
|
|
2733
2716
|
|
|
2734
|
-
|
|
2735
|
-
var set = _store_tags__WEBPACK_IMPORTED_MODULE_12__.useTagStore.setState;
|
|
2736
2717
|
var createTag = function createTag(tag) {
|
|
2737
|
-
return (0,
|
|
2718
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_1__.getSoapFetch)(_constants__WEBPACK_IMPORTED_MODULE_0__.SHELL_APP_ID)('CreateTag', {
|
|
2738
2719
|
_jsns: 'urn:zimbraMail',
|
|
2739
2720
|
tag: tag
|
|
2740
2721
|
});
|
|
2741
2722
|
};
|
|
2742
2723
|
var deleteTag = function deleteTag(id) {
|
|
2743
|
-
return (0,
|
|
2724
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_1__.getSoapFetch)(_constants__WEBPACK_IMPORTED_MODULE_0__.SHELL_APP_ID)('TagAction', {
|
|
2744
2725
|
_jsns: 'urn:zimbraMail',
|
|
2745
2726
|
action: {
|
|
2746
2727
|
op: 'delete',
|
|
@@ -2749,7 +2730,7 @@ var deleteTag = function deleteTag(id) {
|
|
|
2749
2730
|
});
|
|
2750
2731
|
};
|
|
2751
2732
|
var renameTag = function renameTag(id, name) {
|
|
2752
|
-
return (0,
|
|
2733
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_1__.getSoapFetch)(_constants__WEBPACK_IMPORTED_MODULE_0__.SHELL_APP_ID)('TagAction', {
|
|
2753
2734
|
_jsns: 'urn:zimbraMail',
|
|
2754
2735
|
action: {
|
|
2755
2736
|
op: 'rename',
|
|
@@ -2758,16 +2739,8 @@ var renameTag = function renameTag(id, name) {
|
|
|
2758
2739
|
}
|
|
2759
2740
|
});
|
|
2760
2741
|
};
|
|
2761
|
-
var updateTag = function updateTag(tag) {
|
|
2762
|
-
return (0,_fetch__WEBPACK_IMPORTED_MODULE_13__.getSoapFetch)(_constants__WEBPACK_IMPORTED_MODULE_11__.SHELL_APP_ID)('TagAction', {
|
|
2763
|
-
_jsns: 'urn:zimbraMail',
|
|
2764
|
-
action: _objectSpread({
|
|
2765
|
-
op: 'update'
|
|
2766
|
-
}, tag)
|
|
2767
|
-
});
|
|
2768
|
-
};
|
|
2769
2742
|
var changeTagColor = function changeTagColor(id, color) {
|
|
2770
|
-
return (0,
|
|
2743
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_1__.getSoapFetch)(_constants__WEBPACK_IMPORTED_MODULE_0__.SHELL_APP_ID)('TagAction', {
|
|
2771
2744
|
_jsns: 'urn:zimbraMail',
|
|
2772
2745
|
action: typeof color === 'number' ? {
|
|
2773
2746
|
op: 'color',
|
|
@@ -7999,525 +7972,825 @@ var localeList = function localeList(t) {
|
|
|
7999
7972
|
var timeZoneList = function timeZoneList(t) {
|
|
8000
7973
|
return [{
|
|
8001
7974
|
value: 'Etc/GMT+12',
|
|
8002
|
-
label: t('timezone.
|
|
8003
|
-
value: 'GMT -12:00
|
|
7975
|
+
label: t('timezone.etc_gmt+12', {
|
|
7976
|
+
value: 'GMT -12:00',
|
|
8004
7977
|
defaultValue: '{{value}} Dateline'
|
|
8005
7978
|
})
|
|
8006
7979
|
}, {
|
|
8007
7980
|
value: 'Pacific/Midway',
|
|
8008
|
-
label: t('timezone.
|
|
7981
|
+
label: t('timezone.pacific_midway', {
|
|
8009
7982
|
value: 'GMT -11:00',
|
|
8010
7983
|
defaultValue: '{{value}} Samoa'
|
|
8011
7984
|
})
|
|
8012
7985
|
}, {
|
|
8013
|
-
value: '
|
|
8014
|
-
label: t('timezone.
|
|
8015
|
-
value: 'GMT -
|
|
8016
|
-
defaultValue: '{{value}}
|
|
7986
|
+
value: 'America/Adak',
|
|
7987
|
+
label: t('timezone.america_adak', {
|
|
7988
|
+
value: 'GMT -10:00',
|
|
7989
|
+
defaultValue: '{{value}} Adak'
|
|
8017
7990
|
})
|
|
8018
7991
|
}, {
|
|
8019
7992
|
value: 'Pacific/Honolulu',
|
|
8020
|
-
label: t('timezone.
|
|
7993
|
+
label: t('timezone.pacific_honolulu', {
|
|
8021
7994
|
value: 'GMT -10:00',
|
|
8022
7995
|
defaultValue: '{{value}} Hawaii'
|
|
8023
7996
|
})
|
|
7997
|
+
}, {
|
|
7998
|
+
value: 'Pacific/Marquesas',
|
|
7999
|
+
label: t('timezone.pacific_marquesas', {
|
|
8000
|
+
value: 'GMT -09:30',
|
|
8001
|
+
defaultValue: '{{value}} Marquesas'
|
|
8002
|
+
})
|
|
8024
8003
|
}, {
|
|
8025
8004
|
value: 'America/Anchorage',
|
|
8026
|
-
label: t('timezone.
|
|
8005
|
+
label: t('timezone.america_anchorage', {
|
|
8027
8006
|
value: 'GMT -09:00',
|
|
8028
8007
|
defaultValue: '{{value}} Alaska'
|
|
8029
8008
|
})
|
|
8030
8009
|
}, {
|
|
8031
8010
|
value: 'America/Los_Angeles',
|
|
8032
|
-
label: t('timezone.
|
|
8011
|
+
label: t('timezone.america_los_angeles', {
|
|
8033
8012
|
value: 'GMT -08:00',
|
|
8034
8013
|
defaultValue: '{{value}} US/Canada Pacific'
|
|
8035
8014
|
})
|
|
8036
8015
|
}, {
|
|
8037
8016
|
value: 'America/Tijuana',
|
|
8038
|
-
label: t('timezone.
|
|
8017
|
+
label: t('timezone.america_tijuana', {
|
|
8039
8018
|
value: 'GMT -08:00',
|
|
8040
8019
|
defaultValue: '{{value}} Baja California'
|
|
8041
8020
|
})
|
|
8021
|
+
}, {
|
|
8022
|
+
value: 'America/Chihuahua',
|
|
8023
|
+
label: t('timezone.america_chihuahua', {
|
|
8024
|
+
value: 'GMT -07:00',
|
|
8025
|
+
defaultValue: '{{value}} Chihuahua, La Paz, Mazatlan'
|
|
8026
|
+
})
|
|
8042
8027
|
}, {
|
|
8043
8028
|
value: 'America/Denver',
|
|
8044
|
-
label: t('timezone.
|
|
8029
|
+
label: t('timezone.america_denver', {
|
|
8045
8030
|
value: 'GMT -07:00',
|
|
8046
8031
|
defaultValue: '{{value}} US/Canada Mountain'
|
|
8047
8032
|
})
|
|
8048
8033
|
}, {
|
|
8049
|
-
value: 'America/
|
|
8050
|
-
label: t('timezone.
|
|
8034
|
+
value: 'America/Fort_Nelson',
|
|
8035
|
+
label: t('timezone.america_fort_nelson', {
|
|
8051
8036
|
value: 'GMT -07:00',
|
|
8052
|
-
defaultValue: '{{value}}
|
|
8037
|
+
defaultValue: '{{value}} Fort Nelson'
|
|
8053
8038
|
})
|
|
8054
8039
|
}, {
|
|
8055
8040
|
value: 'America/Phoenix',
|
|
8056
|
-
label: t('timezone.
|
|
8041
|
+
label: t('timezone.america_phoenix', {
|
|
8057
8042
|
value: 'GMT -07:00',
|
|
8058
8043
|
defaultValue: '{{value}} Arizona'
|
|
8059
8044
|
})
|
|
8045
|
+
}, {
|
|
8046
|
+
value: 'America/Whitehorse',
|
|
8047
|
+
label: t('timezone.america_whitehorse', {
|
|
8048
|
+
value: 'GMT -07:00',
|
|
8049
|
+
defaultValue: '{{value}} Yukon'
|
|
8050
|
+
})
|
|
8060
8051
|
}, {
|
|
8061
8052
|
value: 'America/Chicago',
|
|
8062
|
-
label: t('timezone.
|
|
8053
|
+
label: t('timezone.america_chicago', {
|
|
8063
8054
|
value: 'GMT -06:00',
|
|
8064
8055
|
defaultValue: '{{value}} US/Canada Central'
|
|
8065
8056
|
})
|
|
8066
8057
|
}, {
|
|
8067
|
-
value: 'America/
|
|
8068
|
-
label: t('timezone.
|
|
8058
|
+
value: 'America/Guatemala',
|
|
8059
|
+
label: t('timezone.america_guatemala', {
|
|
8069
8060
|
value: 'GMT -06:00',
|
|
8070
|
-
defaultValue: '{{value}}
|
|
8061
|
+
defaultValue: '{{value}} Central America'
|
|
8071
8062
|
})
|
|
8072
8063
|
}, {
|
|
8073
8064
|
value: 'America/Mexico_City',
|
|
8074
|
-
label: t('timezone.
|
|
8075
|
-
value: 'GMT -06:00
|
|
8076
|
-
defaultValue: '{{value}} Guadalajara, Mexico City, Monterrey
|
|
8065
|
+
label: t('timezone.america_mexico_city', {
|
|
8066
|
+
value: 'GMT -06:00',
|
|
8067
|
+
defaultValue: '{{value}} Guadalajara, Mexico City, Monterrey'
|
|
8077
8068
|
})
|
|
8078
8069
|
}, {
|
|
8079
|
-
value: 'America/
|
|
8080
|
-
label: t('timezone.
|
|
8070
|
+
value: 'America/Regina',
|
|
8071
|
+
label: t('timezone.america_regina', {
|
|
8081
8072
|
value: 'GMT -06:00',
|
|
8082
|
-
defaultValue: '{{value}}
|
|
8073
|
+
defaultValue: '{{value}} Saskatchewan'
|
|
8083
8074
|
})
|
|
8084
8075
|
}, {
|
|
8085
|
-
value: '
|
|
8086
|
-
label: t('timezone.
|
|
8076
|
+
value: 'Pacific/Easter',
|
|
8077
|
+
label: t('timezone.pacific_easter', {
|
|
8078
|
+
value: 'GMT -06:00',
|
|
8079
|
+
defaultValue: '{{value}} Easter'
|
|
8080
|
+
})
|
|
8081
|
+
}, {
|
|
8082
|
+
value: 'America/Bogota',
|
|
8083
|
+
label: t('timezone.america_bogota', {
|
|
8087
8084
|
value: 'GMT -05:00',
|
|
8088
|
-
defaultValue: '{{value}}
|
|
8085
|
+
defaultValue: '{{value}} Colombia'
|
|
8086
|
+
})
|
|
8087
|
+
}, {
|
|
8088
|
+
value: 'America/Cancun',
|
|
8089
|
+
label: t('timezone.america_cancun', {
|
|
8090
|
+
value: 'GMT -05:00',
|
|
8091
|
+
defaultValue: '{{value}} Cancun, Chetumal'
|
|
8092
|
+
})
|
|
8093
|
+
}, {
|
|
8094
|
+
value: 'America/Grand_Turk',
|
|
8095
|
+
label: t('timezone.america_grand_turk', {
|
|
8096
|
+
value: 'GMT -05:00',
|
|
8097
|
+
defaultValue: '{{value}} Turks and Caicos Islands'
|
|
8098
|
+
})
|
|
8099
|
+
}, {
|
|
8100
|
+
value: 'America/Havana',
|
|
8101
|
+
label: t('timezone.america_havana', {
|
|
8102
|
+
value: 'GMT -05:00',
|
|
8103
|
+
defaultValue: '{{value}} Havana'
|
|
8089
8104
|
})
|
|
8090
8105
|
}, {
|
|
8091
8106
|
value: 'America/Indiana/Indianapolis',
|
|
8092
|
-
label: t('timezone.
|
|
8107
|
+
label: t('timezone.america_indiana_indianapolis', {
|
|
8093
8108
|
value: 'GMT -05:00',
|
|
8094
8109
|
defaultValue: '{{value}} Indiana (East)'
|
|
8095
8110
|
})
|
|
8096
8111
|
}, {
|
|
8097
|
-
value: 'America/
|
|
8098
|
-
label: t('timezone.
|
|
8112
|
+
value: 'America/New_York',
|
|
8113
|
+
label: t('timezone.america_new_york', {
|
|
8099
8114
|
value: 'GMT -05:00',
|
|
8100
|
-
defaultValue: '{{value}}
|
|
8115
|
+
defaultValue: '{{value}} US/Canada Eastern'
|
|
8101
8116
|
})
|
|
8102
8117
|
}, {
|
|
8103
|
-
value: 'America/
|
|
8104
|
-
label: t('timezone.
|
|
8105
|
-
value: 'GMT -
|
|
8106
|
-
defaultValue: '{{value}}
|
|
8118
|
+
value: 'America/Port-au-Prince',
|
|
8119
|
+
label: t('timezone.america_port-au-prince', {
|
|
8120
|
+
value: 'GMT -05:00',
|
|
8121
|
+
defaultValue: '{{value}} Port-au-Prince'
|
|
8107
8122
|
})
|
|
8108
8123
|
}, {
|
|
8109
|
-
value: 'America/
|
|
8110
|
-
label: t('timezone.
|
|
8124
|
+
value: 'America/Asuncion',
|
|
8125
|
+
label: t('timezone.america_asuncion', {
|
|
8111
8126
|
value: 'GMT -04:00',
|
|
8112
|
-
defaultValue: '{{value}}
|
|
8127
|
+
defaultValue: '{{value}} Asuncion'
|
|
8113
8128
|
})
|
|
8114
8129
|
}, {
|
|
8115
|
-
value: 'America/
|
|
8116
|
-
label: t('timezone.
|
|
8130
|
+
value: 'America/Caracas',
|
|
8131
|
+
label: t('timezone.america_caracas', {
|
|
8117
8132
|
value: 'GMT -04:00',
|
|
8118
|
-
defaultValue: '{{value}}
|
|
8133
|
+
defaultValue: '{{value}} Caracas'
|
|
8119
8134
|
})
|
|
8120
8135
|
}, {
|
|
8121
|
-
value: 'America/
|
|
8122
|
-
label: t('timezone.
|
|
8136
|
+
value: 'America/Cuiaba',
|
|
8137
|
+
label: t('timezone.america_cuiaba', {
|
|
8123
8138
|
value: 'GMT -04:00',
|
|
8124
|
-
defaultValue: '{{value}}
|
|
8139
|
+
defaultValue: '{{value}} Cuiaba'
|
|
8125
8140
|
})
|
|
8126
8141
|
}, {
|
|
8127
8142
|
value: 'America/Guyana',
|
|
8128
|
-
label: t('timezone.
|
|
8143
|
+
label: t('timezone.america_guyana', {
|
|
8129
8144
|
value: 'GMT -04:00',
|
|
8130
8145
|
defaultValue: '{{value}} Georgetown, La Paz, Manaus, San Juan'
|
|
8131
8146
|
})
|
|
8132
|
-
}, {
|
|
8133
|
-
value: 'America/Cuiaba',
|
|
8134
|
-
label: t('timezone.cuiaba', {
|
|
8135
|
-
value: 'GMT -04:00',
|
|
8136
|
-
defaultValue: '{{value}} Cuiaba'
|
|
8137
|
-
})
|
|
8138
8147
|
}, {
|
|
8139
8148
|
value: 'America/Halifax',
|
|
8140
|
-
label: t('timezone.
|
|
8149
|
+
label: t('timezone.america_halifax', {
|
|
8141
8150
|
value: 'GMT -04:00',
|
|
8142
8151
|
defaultValue: '{{value}} Atlantic Time (Canada)'
|
|
8143
8152
|
})
|
|
8144
8153
|
}, {
|
|
8145
|
-
value: 'America/
|
|
8146
|
-
label: t('timezone.
|
|
8147
|
-
value: 'GMT -04:00
|
|
8148
|
-
defaultValue: '{{value}}
|
|
8154
|
+
value: 'America/Santiago',
|
|
8155
|
+
label: t('timezone.america_santiago', {
|
|
8156
|
+
value: 'GMT -04:00',
|
|
8157
|
+
defaultValue: '{{value}} Pacific South America'
|
|
8149
8158
|
})
|
|
8150
8159
|
}, {
|
|
8151
8160
|
value: 'America/St_Johns',
|
|
8152
|
-
label: t('timezone.
|
|
8161
|
+
label: t('timezone.america_st_johns', {
|
|
8153
8162
|
value: 'GMT -03:30',
|
|
8154
8163
|
defaultValue: '{{value}} Newfoundland'
|
|
8155
8164
|
})
|
|
8156
8165
|
}, {
|
|
8157
|
-
value: 'America/
|
|
8158
|
-
label: t('timezone.
|
|
8166
|
+
value: 'America/Araguaina',
|
|
8167
|
+
label: t('timezone.america_araguaina', {
|
|
8159
8168
|
value: 'GMT -03:00',
|
|
8160
|
-
defaultValue: '{{value}}
|
|
8169
|
+
defaultValue: '{{value}} Araguaina'
|
|
8170
|
+
})
|
|
8171
|
+
}, {
|
|
8172
|
+
value: 'America/Argentina/Buenos_Aires',
|
|
8173
|
+
label: t('timezone.america_argentina_buenos_aires', {
|
|
8174
|
+
value: 'GMT -03:00',
|
|
8175
|
+
defaultValue: '{{value}} Argentina'
|
|
8161
8176
|
})
|
|
8162
8177
|
}, {
|
|
8163
|
-
value: 'America/
|
|
8164
|
-
label: t('timezone.
|
|
8178
|
+
value: 'America/Bahia',
|
|
8179
|
+
label: t('timezone.america_bahia', {
|
|
8165
8180
|
value: 'GMT -03:00',
|
|
8166
|
-
defaultValue: '{{value}}
|
|
8181
|
+
defaultValue: '{{value}} Salvador'
|
|
8167
8182
|
})
|
|
8168
8183
|
}, {
|
|
8169
8184
|
value: 'America/Cayenne',
|
|
8170
|
-
label: t('timezone.
|
|
8185
|
+
label: t('timezone.america_cayenne', {
|
|
8171
8186
|
value: 'GMT -03:00',
|
|
8172
8187
|
defaultValue: '{{value}} Cayenne, Fortaleza'
|
|
8173
8188
|
})
|
|
8174
8189
|
}, {
|
|
8175
|
-
value: 'America/
|
|
8176
|
-
label: t('timezone.
|
|
8190
|
+
value: 'America/Miquelon',
|
|
8191
|
+
label: t('timezone.america_miquelon', {
|
|
8177
8192
|
value: 'GMT -03:00',
|
|
8178
|
-
defaultValue: '{{value}}
|
|
8193
|
+
defaultValue: '{{value}} Miquelon'
|
|
8179
8194
|
})
|
|
8180
8195
|
}, {
|
|
8181
|
-
value: 'America/
|
|
8182
|
-
label: t('timezone.
|
|
8196
|
+
value: 'America/Montevideo',
|
|
8197
|
+
label: t('timezone.america_montevideo', {
|
|
8183
8198
|
value: 'GMT -03:00',
|
|
8184
|
-
defaultValue: '{{value}}
|
|
8199
|
+
defaultValue: '{{value}} Montevideo'
|
|
8200
|
+
})
|
|
8201
|
+
}, {
|
|
8202
|
+
value: 'America/Punta_Arenas',
|
|
8203
|
+
label: t('timezone.america_punta_arenas', {
|
|
8204
|
+
value: 'GMT -03:00',
|
|
8205
|
+
defaultValue: '{{value}} Punta_Arenas'
|
|
8206
|
+
})
|
|
8207
|
+
}, {
|
|
8208
|
+
value: 'America/Sao_Paulo',
|
|
8209
|
+
label: t('timezone.america_sao_paulo', {
|
|
8210
|
+
value: 'GMT -03:00',
|
|
8211
|
+
defaultValue: '{{value}} Brasilia'
|
|
8185
8212
|
})
|
|
8186
8213
|
}, {
|
|
8187
8214
|
value: 'Atlantic/South_Georgia',
|
|
8188
|
-
label: t('timezone.
|
|
8215
|
+
label: t('timezone.atlantic_south_georgia', {
|
|
8189
8216
|
value: 'GMT -02:00',
|
|
8190
8217
|
defaultValue: '{{value}} Mid-Atlantic'
|
|
8191
8218
|
})
|
|
8192
8219
|
}, {
|
|
8193
|
-
value: '
|
|
8194
|
-
label: t('timezone.
|
|
8195
|
-
value: 'GMT -
|
|
8196
|
-
defaultValue: '{{value}}
|
|
8220
|
+
value: 'Atlantic/Azores',
|
|
8221
|
+
label: t('timezone.atlantic_azores', {
|
|
8222
|
+
value: 'GMT -01:00',
|
|
8223
|
+
defaultValue: '{{value}} Azores'
|
|
8197
8224
|
})
|
|
8198
8225
|
}, {
|
|
8199
8226
|
value: 'Atlantic/Cape_Verde',
|
|
8200
|
-
label: t('timezone.
|
|
8227
|
+
label: t('timezone.atlantic_cape_verde', {
|
|
8201
8228
|
value: 'GMT -01:00',
|
|
8202
8229
|
defaultValue: '{{value}} Cape Verde Is.'
|
|
8203
8230
|
})
|
|
8204
8231
|
}, {
|
|
8205
|
-
value: '
|
|
8206
|
-
label: t('timezone.
|
|
8207
|
-
value: 'GMT
|
|
8208
|
-
defaultValue: '{{value}}
|
|
8232
|
+
value: 'Africa/Monrovia',
|
|
8233
|
+
label: t('timezone.africa_monrovia', {
|
|
8234
|
+
value: 'GMT +00:00',
|
|
8235
|
+
defaultValue: '{{value}} Monrovia'
|
|
8209
8236
|
})
|
|
8210
8237
|
}, {
|
|
8211
|
-
value: '
|
|
8212
|
-
label: t('timezone.
|
|
8213
|
-
value: 'GMT
|
|
8214
|
-
defaultValue: '{{value}}
|
|
8238
|
+
value: 'Africa/Sao_Tome',
|
|
8239
|
+
label: t('timezone.africa_sao_tome', {
|
|
8240
|
+
value: 'GMT +00:00',
|
|
8241
|
+
defaultValue: '{{value}} Sao Tome'
|
|
8215
8242
|
})
|
|
8216
8243
|
}, {
|
|
8217
8244
|
value: 'Europe/London',
|
|
8218
|
-
label: t('timezone.
|
|
8245
|
+
label: t('timezone.europe_london', {
|
|
8219
8246
|
value: 'GMT +00:00',
|
|
8220
8247
|
defaultValue: '{{value}} Britain, Ireland, Portugal'
|
|
8221
8248
|
})
|
|
8222
8249
|
}, {
|
|
8223
|
-
value: '
|
|
8224
|
-
label: t('timezone.
|
|
8225
|
-
value: 'GMT
|
|
8226
|
-
defaultValue: '{{value}}
|
|
8250
|
+
value: 'UTC',
|
|
8251
|
+
label: t('timezone.utc', {
|
|
8252
|
+
value: 'GMT/UTC',
|
|
8253
|
+
defaultValue: '{{value}} Coordinated Universal Time'
|
|
8227
8254
|
})
|
|
8228
8255
|
}, {
|
|
8229
|
-
value: 'Africa/
|
|
8230
|
-
label: t('timezone.
|
|
8231
|
-
value: 'GMT +
|
|
8232
|
-
defaultValue: '{{value}}
|
|
8256
|
+
value: 'Africa/Algiers',
|
|
8257
|
+
label: t('timezone.africa_algiers', {
|
|
8258
|
+
value: 'GMT +01:00',
|
|
8259
|
+
defaultValue: '{{value}} West Central Africa'
|
|
8233
8260
|
})
|
|
8234
8261
|
}, {
|
|
8235
|
-
value: '
|
|
8236
|
-
label: t('timezone.
|
|
8262
|
+
value: 'Africa/Casablanca',
|
|
8263
|
+
label: t('timezone.africa_casablanca', {
|
|
8237
8264
|
value: 'GMT +01:00',
|
|
8238
|
-
defaultValue: '{{value}}
|
|
8265
|
+
defaultValue: '{{value}} Casablanca'
|
|
8239
8266
|
})
|
|
8240
8267
|
}, {
|
|
8241
8268
|
value: 'Europe/Belgrade',
|
|
8242
|
-
label: t('timezone.
|
|
8269
|
+
label: t('timezone.europe_belgrade', {
|
|
8243
8270
|
value: 'GMT +01:00',
|
|
8244
8271
|
defaultValue: '{{value}} Belgrade, Bratislava, Budapest, Ljubljana, Prague'
|
|
8245
8272
|
})
|
|
8246
8273
|
}, {
|
|
8247
|
-
value: 'Europe/
|
|
8248
|
-
label: t('timezone.
|
|
8249
|
-
value: 'GMT +01:00
|
|
8250
|
-
defaultValue: '{{value}}
|
|
8274
|
+
value: 'Europe/Berlin',
|
|
8275
|
+
label: t('timezone.europe_berlin', {
|
|
8276
|
+
value: 'GMT +01:00',
|
|
8277
|
+
defaultValue: '{{value}} Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna'
|
|
8251
8278
|
})
|
|
8252
8279
|
}, {
|
|
8253
|
-
value: '
|
|
8254
|
-
label: t('timezone.
|
|
8280
|
+
value: 'Europe/Brussels',
|
|
8281
|
+
label: t('timezone.europe_brussels', {
|
|
8255
8282
|
value: 'GMT +01:00',
|
|
8256
|
-
defaultValue: '{{value}}
|
|
8283
|
+
defaultValue: '{{value}} Brussels, Copenhagen, Madrid, Paris'
|
|
8257
8284
|
})
|
|
8258
8285
|
}, {
|
|
8259
8286
|
value: 'Europe/Warsaw',
|
|
8260
|
-
label: t('timezone.
|
|
8287
|
+
label: t('timezone.europe_warsaw', {
|
|
8261
8288
|
value: 'GMT +01:00',
|
|
8262
8289
|
defaultValue: '{{value}} Sarajevo, Skopje, Warsaw, Zagreb'
|
|
8263
8290
|
})
|
|
8264
8291
|
}, {
|
|
8265
|
-
value: 'Africa/
|
|
8266
|
-
label: t('timezone.
|
|
8267
|
-
value: 'GMT +
|
|
8268
|
-
defaultValue: '{{value}}
|
|
8292
|
+
value: 'Africa/Cairo',
|
|
8293
|
+
label: t('timezone.africa_cairo', {
|
|
8294
|
+
value: 'GMT +02:00',
|
|
8295
|
+
defaultValue: '{{value}} Egypt'
|
|
8269
8296
|
})
|
|
8270
8297
|
}, {
|
|
8271
|
-
value: '
|
|
8272
|
-
label: t('timezone.
|
|
8298
|
+
value: 'Africa/Harare',
|
|
8299
|
+
label: t('timezone.africa_harare', {
|
|
8273
8300
|
value: 'GMT +02:00',
|
|
8274
|
-
defaultValue: '{{value}}
|
|
8301
|
+
defaultValue: '{{value}} Harare, Pretoria'
|
|
8302
|
+
})
|
|
8303
|
+
}, {
|
|
8304
|
+
value: 'Africa/Juba',
|
|
8305
|
+
label: t('timezone.africa_juba', {
|
|
8306
|
+
value: 'GMT +02:00',
|
|
8307
|
+
defaultValue: '{{value}} Juba'
|
|
8308
|
+
})
|
|
8309
|
+
}, {
|
|
8310
|
+
value: 'Africa/Khartoum',
|
|
8311
|
+
label: t('timezone.africa_khartoum', {
|
|
8312
|
+
value: 'GMT +02:00',
|
|
8313
|
+
defaultValue: '{{value}} Khartoum'
|
|
8314
|
+
})
|
|
8315
|
+
}, {
|
|
8316
|
+
value: 'Africa/Tripoli',
|
|
8317
|
+
label: t('timezone.africa_tripoli', {
|
|
8318
|
+
value: 'GMT +02:00',
|
|
8319
|
+
defaultValue: '{{value}} Tripoli'
|
|
8320
|
+
})
|
|
8321
|
+
}, {
|
|
8322
|
+
value: 'Africa/Windhoek',
|
|
8323
|
+
label: t('timezone.africa_windhoek', {
|
|
8324
|
+
value: 'GMT +02:00',
|
|
8325
|
+
defaultValue: '{{value}} Namibia'
|
|
8326
|
+
})
|
|
8327
|
+
}, {
|
|
8328
|
+
value: 'Asia/Amman',
|
|
8329
|
+
label: t('timezone.asia_amman', {
|
|
8330
|
+
value: 'GMT +02:00',
|
|
8331
|
+
defaultValue: '{{value}} Jordan'
|
|
8275
8332
|
})
|
|
8276
8333
|
}, {
|
|
8277
8334
|
value: 'Asia/Beirut',
|
|
8278
|
-
label: t('timezone.
|
|
8335
|
+
label: t('timezone.asia_beirut', {
|
|
8279
8336
|
value: 'GMT +02:00',
|
|
8280
8337
|
defaultValue: '{{value}} Beirut'
|
|
8281
8338
|
})
|
|
8282
8339
|
}, {
|
|
8283
8340
|
value: 'Asia/Damascus',
|
|
8284
|
-
label: t('timezone.
|
|
8341
|
+
label: t('timezone.asia_damascus', {
|
|
8285
8342
|
value: 'GMT +02:00',
|
|
8286
8343
|
defaultValue: '{{value}} Damascus'
|
|
8287
8344
|
})
|
|
8288
8345
|
}, {
|
|
8289
|
-
value: '
|
|
8290
|
-
label: t('timezone.
|
|
8346
|
+
value: 'Asia/Gaza',
|
|
8347
|
+
label: t('timezone.asia_gaza', {
|
|
8291
8348
|
value: 'GMT +02:00',
|
|
8292
|
-
defaultValue: '{{value}}
|
|
8349
|
+
defaultValue: '{{value}} Gaza'
|
|
8293
8350
|
})
|
|
8294
8351
|
}, {
|
|
8295
|
-
value: '
|
|
8296
|
-
label: t('timezone.
|
|
8352
|
+
value: 'Asia/Jerusalem',
|
|
8353
|
+
label: t('timezone.asia_jerusalem', {
|
|
8297
8354
|
value: 'GMT +02:00',
|
|
8298
|
-
defaultValue: '{{value}}
|
|
8355
|
+
defaultValue: '{{value}} Jerusalem'
|
|
8299
8356
|
})
|
|
8300
8357
|
}, {
|
|
8301
|
-
value: 'Europe/
|
|
8302
|
-
label: t('timezone.
|
|
8358
|
+
value: 'Europe/Athens',
|
|
8359
|
+
label: t('timezone.europe_athens', {
|
|
8303
8360
|
value: 'GMT +02:00',
|
|
8304
|
-
defaultValue: '{{value}}
|
|
8361
|
+
defaultValue: '{{value}} Athens, Beirut, Bucharest, Istanbul'
|
|
8305
8362
|
})
|
|
8306
8363
|
}, {
|
|
8307
|
-
value: 'Europe/
|
|
8308
|
-
label: t('timezone.
|
|
8364
|
+
value: 'Europe/Bucharest',
|
|
8365
|
+
label: t('timezone.europe_bucharest', {
|
|
8309
8366
|
value: 'GMT +02:00',
|
|
8310
|
-
defaultValue: '{{value}}
|
|
8367
|
+
defaultValue: '{{value}} Bucharest'
|
|
8311
8368
|
})
|
|
8312
8369
|
}, {
|
|
8313
|
-
value: '
|
|
8314
|
-
label: t('timezone.
|
|
8370
|
+
value: 'Europe/Chisinau',
|
|
8371
|
+
label: t('timezone.europe_chisinau', {
|
|
8315
8372
|
value: 'GMT +02:00',
|
|
8316
|
-
defaultValue: '{{value}}
|
|
8373
|
+
defaultValue: '{{value}} Chisinau'
|
|
8317
8374
|
})
|
|
8318
8375
|
}, {
|
|
8319
|
-
value: '
|
|
8320
|
-
label: t('timezone.
|
|
8376
|
+
value: 'Europe/Helsinki',
|
|
8377
|
+
label: t('timezone.europe_helsinki', {
|
|
8321
8378
|
value: 'GMT +02:00',
|
|
8322
|
-
defaultValue: '{{value}}
|
|
8379
|
+
defaultValue: '{{value}} Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius'
|
|
8323
8380
|
})
|
|
8324
8381
|
}, {
|
|
8325
8382
|
value: 'Europe/Kaliningrad',
|
|
8326
|
-
label: t('timezone.
|
|
8383
|
+
label: t('timezone.europe_kaliningrad', {
|
|
8327
8384
|
value: 'GMT +02:00',
|
|
8328
8385
|
defaultValue: '{{value}} Kaliningrad (RTZ 1)'
|
|
8329
8386
|
})
|
|
8387
|
+
}, {
|
|
8388
|
+
value: 'Africa/Nairobi',
|
|
8389
|
+
label: t('timezone.africa_nairobi', {
|
|
8390
|
+
value: 'GMT +03:00',
|
|
8391
|
+
defaultValue: '{{value}} Nairobi'
|
|
8392
|
+
})
|
|
8330
8393
|
}, {
|
|
8331
8394
|
value: 'Asia/Baghdad',
|
|
8332
|
-
label: t('timezone.
|
|
8395
|
+
label: t('timezone.asia_baghdad', {
|
|
8333
8396
|
value: 'GMT +03:00',
|
|
8334
8397
|
defaultValue: '{{value}} Iraq'
|
|
8335
8398
|
})
|
|
8336
8399
|
}, {
|
|
8337
8400
|
value: 'Asia/Kuwait',
|
|
8338
|
-
label: t('timezone.
|
|
8401
|
+
label: t('timezone.asia_kuwait', {
|
|
8339
8402
|
value: 'GMT +03:00',
|
|
8340
8403
|
defaultValue: '{{value}} Kuwait, Riyadh'
|
|
8341
8404
|
})
|
|
8405
|
+
}, {
|
|
8406
|
+
value: 'Europe/Istanbul',
|
|
8407
|
+
label: t('timezone.europe_istanbul', {
|
|
8408
|
+
value: 'GMT +03:00',
|
|
8409
|
+
defaultValue: '{{value}} Istanbul'
|
|
8410
|
+
})
|
|
8342
8411
|
}, {
|
|
8343
8412
|
value: 'Europe/Minsk',
|
|
8344
|
-
label: t('timezone.
|
|
8413
|
+
label: t('timezone.europe_minsk', {
|
|
8345
8414
|
value: 'GMT +03:00',
|
|
8346
8415
|
defaultValue: '{{value}} Minsk'
|
|
8347
8416
|
})
|
|
8348
8417
|
}, {
|
|
8349
8418
|
value: 'Europe/Moscow',
|
|
8350
|
-
label: t('timezone.
|
|
8419
|
+
label: t('timezone.europe_moscow', {
|
|
8351
8420
|
value: 'GMT +03:00',
|
|
8352
8421
|
defaultValue: '{{value}} Moscow, St. Petersburg, Volgograd (RTZ 2)'
|
|
8353
8422
|
})
|
|
8354
8423
|
}, {
|
|
8355
|
-
value: '
|
|
8356
|
-
label: t('timezone.
|
|
8424
|
+
value: 'Europe/Volgograd',
|
|
8425
|
+
label: t('timezone.europe_volgograd', {
|
|
8357
8426
|
value: 'GMT +03:00',
|
|
8358
|
-
defaultValue: '{{value}}
|
|
8427
|
+
defaultValue: '{{value}} Volgograd'
|
|
8359
8428
|
})
|
|
8360
8429
|
}, {
|
|
8361
8430
|
value: 'Asia/Tehran',
|
|
8362
|
-
label: t('timezone.
|
|
8431
|
+
label: t('timezone.asia_tehran', {
|
|
8363
8432
|
value: 'GMT +03:30',
|
|
8364
8433
|
defaultValue: '{{value}} Tehran'
|
|
8365
8434
|
})
|
|
8366
|
-
}, {
|
|
8367
|
-
value: 'Asia/Muscat',
|
|
8368
|
-
label: t('timezone.abu_dhabi_muscat', {
|
|
8369
|
-
value: 'GMT +04:00',
|
|
8370
|
-
defaultValue: '{{value}} Abu Dhabi, Muscat'
|
|
8371
|
-
})
|
|
8372
8435
|
}, {
|
|
8373
8436
|
value: 'Asia/Baku',
|
|
8374
|
-
label: t('timezone.
|
|
8437
|
+
label: t('timezone.asia_baku', {
|
|
8375
8438
|
value: 'GMT +04:00',
|
|
8376
8439
|
defaultValue: '{{value}} Baku'
|
|
8377
8440
|
})
|
|
8378
8441
|
}, {
|
|
8379
|
-
value: '
|
|
8380
|
-
label: t('timezone.
|
|
8442
|
+
value: 'Asia/Muscat',
|
|
8443
|
+
label: t('timezone.asia_muscat', {
|
|
8381
8444
|
value: 'GMT +04:00',
|
|
8382
|
-
defaultValue: '{{value}}
|
|
8445
|
+
defaultValue: '{{value}} Abu Dhabi, Muscat'
|
|
8383
8446
|
})
|
|
8384
8447
|
}, {
|
|
8385
8448
|
value: 'Asia/Tbilisi',
|
|
8386
|
-
label: t('timezone.
|
|
8449
|
+
label: t('timezone.asia_tbilisi', {
|
|
8387
8450
|
value: 'GMT +04:00',
|
|
8388
8451
|
defaultValue: '{{value}} Tbilisi'
|
|
8389
8452
|
})
|
|
8390
8453
|
}, {
|
|
8391
8454
|
value: 'Asia/Yerevan',
|
|
8392
|
-
label: t('timezone.
|
|
8455
|
+
label: t('timezone.asia_yerevan', {
|
|
8393
8456
|
value: 'GMT +04:00',
|
|
8394
8457
|
defaultValue: '{{value}} Yerevan'
|
|
8395
8458
|
})
|
|
8459
|
+
}, {
|
|
8460
|
+
value: 'Europe/Astrakhan',
|
|
8461
|
+
label: t('timezone.europe_astrakhan', {
|
|
8462
|
+
value: 'GMT +04:00',
|
|
8463
|
+
defaultValue: '{{value}} Astrakhan'
|
|
8464
|
+
})
|
|
8465
|
+
}, {
|
|
8466
|
+
value: 'Europe/Samara',
|
|
8467
|
+
label: t('timezone.europe_samara', {
|
|
8468
|
+
value: 'GMT +04:00',
|
|
8469
|
+
defaultValue: '{{value}} Izhevsk, Samara (RTZ 3)'
|
|
8470
|
+
})
|
|
8471
|
+
}, {
|
|
8472
|
+
value: 'Europe/Saratov',
|
|
8473
|
+
label: t('timezone.europe_saratov', {
|
|
8474
|
+
value: 'GMT +04:00',
|
|
8475
|
+
defaultValue: '{{value}} Saratov'
|
|
8476
|
+
})
|
|
8477
|
+
}, {
|
|
8478
|
+
value: 'Indian/Mauritius',
|
|
8479
|
+
label: t('timezone.indian_mauritius', {
|
|
8480
|
+
value: 'GMT +04:00',
|
|
8481
|
+
defaultValue: '{{value}} Port Louis'
|
|
8482
|
+
})
|
|
8396
8483
|
}, {
|
|
8397
8484
|
value: 'Asia/Kabul',
|
|
8398
|
-
label: t('timezone.
|
|
8485
|
+
label: t('timezone.asia_kabul', {
|
|
8399
8486
|
value: 'GMT +04:30',
|
|
8400
8487
|
defaultValue: '{{value}} Kabul'
|
|
8401
8488
|
})
|
|
8489
|
+
}, {
|
|
8490
|
+
value: 'Asia/Karachi',
|
|
8491
|
+
label: t('timezone.asia_karachi', {
|
|
8492
|
+
value: 'GMT +05:00',
|
|
8493
|
+
defaultValue: '{{value}} Islamabad, Karachi'
|
|
8494
|
+
})
|
|
8495
|
+
}, {
|
|
8496
|
+
value: 'Asia/Qyzylorda',
|
|
8497
|
+
label: t('timezone.asia_qyzylorda', {
|
|
8498
|
+
value: 'GMT +05:00',
|
|
8499
|
+
defaultValue: '{{value}} Qyzylorda'
|
|
8500
|
+
})
|
|
8501
|
+
}, {
|
|
8502
|
+
value: 'Asia/Tashkent',
|
|
8503
|
+
label: t('timezone.asia_tashkent', {
|
|
8504
|
+
value: 'GMT +05:00',
|
|
8505
|
+
defaultValue: '{{value}} Tashkent'
|
|
8506
|
+
})
|
|
8402
8507
|
}, {
|
|
8403
8508
|
value: 'Asia/Yekaterinburg',
|
|
8404
|
-
label: t('timezone.
|
|
8509
|
+
label: t('timezone.asia_yekaterinburg', {
|
|
8405
8510
|
value: 'GMT +05:00',
|
|
8406
8511
|
defaultValue: '{{value}} Ekaterinburg (RTZ 4)'
|
|
8407
8512
|
})
|
|
8408
8513
|
}, {
|
|
8409
8514
|
value: 'Asia/Colombo',
|
|
8410
|
-
label: t('timezone.
|
|
8515
|
+
label: t('timezone.asia_colombo', {
|
|
8411
8516
|
value: 'GMT +05:30',
|
|
8412
8517
|
defaultValue: '{{value}} Sri Jayawardenepura Kotte'
|
|
8413
8518
|
})
|
|
8414
8519
|
}, {
|
|
8415
8520
|
value: 'Asia/Kolkata',
|
|
8416
|
-
label: t('timezone.
|
|
8521
|
+
label: t('timezone.asia_kolkata', {
|
|
8417
8522
|
value: 'GMT +05:30',
|
|
8418
8523
|
defaultValue: '{{value}} Chennai, Kolkata, Mumbai, New Delhi'
|
|
8419
8524
|
})
|
|
8420
8525
|
}, {
|
|
8421
8526
|
value: 'Asia/Kathmandu',
|
|
8422
|
-
label: t('timezone.
|
|
8527
|
+
label: t('timezone.asia_kathmandu', {
|
|
8423
8528
|
value: 'GMT +05:45',
|
|
8424
8529
|
defaultValue: '{{value}} Kathmandu'
|
|
8425
8530
|
})
|
|
8531
|
+
}, {
|
|
8532
|
+
value: 'Asia/Almaty',
|
|
8533
|
+
label: t('timezone.asia_almaty', {
|
|
8534
|
+
value: 'GMT +06:00',
|
|
8535
|
+
defaultValue: '{{value}} Astana'
|
|
8536
|
+
})
|
|
8426
8537
|
}, {
|
|
8427
8538
|
value: 'Asia/Dhaka',
|
|
8428
|
-
label: t('timezone.
|
|
8539
|
+
label: t('timezone.asia_dhaka', {
|
|
8429
8540
|
value: 'GMT +06:00',
|
|
8430
8541
|
defaultValue: '{{value}} Dhaka'
|
|
8431
8542
|
})
|
|
8543
|
+
}, {
|
|
8544
|
+
value: 'Asia/Omsk',
|
|
8545
|
+
label: t('timezone.asia_omsk', {
|
|
8546
|
+
value: 'GMT +06:00',
|
|
8547
|
+
defaultValue: '{{value}} Omsk'
|
|
8548
|
+
})
|
|
8432
8549
|
}, {
|
|
8433
8550
|
value: 'Asia/Yangon',
|
|
8434
|
-
label: t('timezone.
|
|
8435
|
-
value: 'GMT +06:30
|
|
8551
|
+
label: t('timezone.asia_yangon', {
|
|
8552
|
+
value: 'GMT +06:30',
|
|
8436
8553
|
defaultValue: '{{value}} Yangon'
|
|
8437
8554
|
})
|
|
8438
8555
|
}, {
|
|
8439
8556
|
value: 'Asia/Bangkok',
|
|
8440
|
-
label: t('timezone.
|
|
8557
|
+
label: t('timezone.asia_bangkok', {
|
|
8441
8558
|
value: 'GMT +07:00',
|
|
8442
8559
|
defaultValue: '{{value}} Bangkok, Hanoi, Jakarta'
|
|
8443
8560
|
})
|
|
8561
|
+
}, {
|
|
8562
|
+
value: 'Asia/Barnaul',
|
|
8563
|
+
label: t('timezone.asia_barnaul', {
|
|
8564
|
+
value: 'GMT +07:00',
|
|
8565
|
+
defaultValue: '{{value}} Barnaul'
|
|
8566
|
+
})
|
|
8567
|
+
}, {
|
|
8568
|
+
value: 'Asia/Hovd',
|
|
8569
|
+
label: t('timezone.asia_hovd', {
|
|
8570
|
+
value: 'GMT +07:00',
|
|
8571
|
+
defaultValue: '{{value}} Hovd'
|
|
8572
|
+
})
|
|
8444
8573
|
}, {
|
|
8445
8574
|
value: 'Asia/Krasnoyarsk',
|
|
8446
|
-
label: t('timezone.
|
|
8575
|
+
label: t('timezone.asia_krasnoyarsk', {
|
|
8447
8576
|
value: 'GMT +07:00',
|
|
8448
8577
|
defaultValue: '{{value}} Krasnoyarsk (RTZ 6)'
|
|
8449
8578
|
})
|
|
8579
|
+
}, {
|
|
8580
|
+
value: 'Asia/Novosibirsk',
|
|
8581
|
+
label: t('timezone.asia_novosibirsk', {
|
|
8582
|
+
value: 'GMT +07:00',
|
|
8583
|
+
defaultValue: '{{value}} Novosibirsk (RTZ 5)'
|
|
8584
|
+
})
|
|
8585
|
+
}, {
|
|
8586
|
+
value: 'Asia/Tomsk',
|
|
8587
|
+
label: t('timezone.asia_tomsk', {
|
|
8588
|
+
value: 'GMT +07:00',
|
|
8589
|
+
defaultValue: '{{value}} Tomsk'
|
|
8590
|
+
})
|
|
8450
8591
|
}, {
|
|
8451
8592
|
value: 'Asia/Hong_Kong',
|
|
8452
|
-
label: t('timezone.
|
|
8593
|
+
label: t('timezone.asia_hong_kong', {
|
|
8453
8594
|
value: 'GMT +08:00',
|
|
8454
8595
|
defaultValue: '{{value}} Beijing, Chongqing, Hong Kong, Urumqi'
|
|
8455
8596
|
})
|
|
8456
8597
|
}, {
|
|
8457
8598
|
value: 'Asia/Irkutsk',
|
|
8458
|
-
label: t('timezone.
|
|
8599
|
+
label: t('timezone.asia_irkutsk', {
|
|
8459
8600
|
value: 'GMT +08:00',
|
|
8460
8601
|
defaultValue: '{{value}} Irkutsk (RTZ 7)'
|
|
8461
8602
|
})
|
|
8603
|
+
}, {
|
|
8604
|
+
value: 'Asia/Kuala_Lumpur',
|
|
8605
|
+
label: t('timezone.asia_kuala_lumpur', {
|
|
8606
|
+
value: 'GMT +08:00',
|
|
8607
|
+
defaultValue: '{{value}} Kuala Lumpur'
|
|
8608
|
+
})
|
|
8609
|
+
}, {
|
|
8610
|
+
value: 'Asia/Singapore',
|
|
8611
|
+
label: t('timezone.asia_singapore', {
|
|
8612
|
+
value: 'GMT +08:00',
|
|
8613
|
+
defaultValue: '{{value}} Singapore'
|
|
8614
|
+
})
|
|
8615
|
+
}, {
|
|
8616
|
+
value: 'Asia/Taipei',
|
|
8617
|
+
label: t('timezone.asia_taipei', {
|
|
8618
|
+
value: 'GMT +08:00',
|
|
8619
|
+
defaultValue: '{{value}} Taipei'
|
|
8620
|
+
})
|
|
8621
|
+
}, {
|
|
8622
|
+
value: 'Asia/Ulaanbaatar',
|
|
8623
|
+
label: t('timezone.asia_ulaanbaatar', {
|
|
8624
|
+
value: 'GMT +08:00',
|
|
8625
|
+
defaultValue: '{{value}} Ulaanbaatar'
|
|
8626
|
+
})
|
|
8627
|
+
}, {
|
|
8628
|
+
value: 'Australia/Perth',
|
|
8629
|
+
label: t('timezone.australia_perth', {
|
|
8630
|
+
value: 'GMT +08:00',
|
|
8631
|
+
defaultValue: '{{value}} Perth'
|
|
8632
|
+
})
|
|
8462
8633
|
}, {
|
|
8463
8634
|
value: 'Australia/Eucla',
|
|
8464
|
-
label: t('timezone.
|
|
8635
|
+
label: t('timezone.australia_eucla', {
|
|
8465
8636
|
value: 'GMT +08:45',
|
|
8466
8637
|
defaultValue: '{{value}} Eucla'
|
|
8467
8638
|
})
|
|
8468
8639
|
}, {
|
|
8469
8640
|
value: 'Asia/Chita',
|
|
8470
|
-
label: t('timezone.
|
|
8641
|
+
label: t('timezone.asia_chita', {
|
|
8471
8642
|
value: 'GMT +09:00',
|
|
8472
8643
|
defaultValue: '{{value}} Chita'
|
|
8473
8644
|
})
|
|
8474
8645
|
}, {
|
|
8475
8646
|
value: 'Asia/Pyongyang',
|
|
8476
|
-
label: t('timezone.
|
|
8477
|
-
value: 'GMT +
|
|
8647
|
+
label: t('timezone.asia_pyongyang', {
|
|
8648
|
+
value: 'GMT +09:00',
|
|
8478
8649
|
defaultValue: '{{value}} Pyongyang'
|
|
8479
8650
|
})
|
|
8480
8651
|
}, {
|
|
8481
8652
|
value: 'Asia/Seoul',
|
|
8482
|
-
label: t('timezone.
|
|
8483
|
-
value: 'GMT +09:00
|
|
8653
|
+
label: t('timezone.asia_seoul', {
|
|
8654
|
+
value: 'GMT +09:00',
|
|
8484
8655
|
defaultValue: '{{value}} Korea'
|
|
8485
8656
|
})
|
|
8657
|
+
}, {
|
|
8658
|
+
value: 'Asia/Tokyo',
|
|
8659
|
+
label: t('timezone.asia_tokyo', {
|
|
8660
|
+
value: 'GMT +09:00',
|
|
8661
|
+
defaultValue: '{{value}} Japan'
|
|
8662
|
+
})
|
|
8663
|
+
}, {
|
|
8664
|
+
value: 'Asia/Yakutsk',
|
|
8665
|
+
label: t('timezone.asia_yakutsk', {
|
|
8666
|
+
value: 'GMT +09:00',
|
|
8667
|
+
defaultValue: '{{value}} Yakutsk (RTZ 8)'
|
|
8668
|
+
})
|
|
8669
|
+
}, {
|
|
8670
|
+
value: 'Australia/Adelaide',
|
|
8671
|
+
label: t('timezone.australia_adelaide', {
|
|
8672
|
+
value: 'GMT +09:30',
|
|
8673
|
+
defaultValue: '{{value}} Adelaide'
|
|
8674
|
+
})
|
|
8486
8675
|
}, {
|
|
8487
8676
|
value: 'Australia/Darwin',
|
|
8488
|
-
label: t('timezone.
|
|
8677
|
+
label: t('timezone.australia_darwin', {
|
|
8489
8678
|
value: 'GMT +09:30',
|
|
8490
8679
|
defaultValue: '{{value}} Darwin'
|
|
8491
8680
|
})
|
|
8492
8681
|
}, {
|
|
8493
8682
|
value: 'Asia/Vladivostok',
|
|
8494
|
-
label: t('timezone.
|
|
8683
|
+
label: t('timezone.asia_vladivostok', {
|
|
8684
|
+
value: 'GMT +10:00',
|
|
8685
|
+
defaultValue: '{{value}} Vladivostok, Magadan (RTZ 9)'
|
|
8686
|
+
})
|
|
8687
|
+
}, {
|
|
8688
|
+
value: 'Australia/Brisbane',
|
|
8689
|
+
label: t('timezone.australia_brisbane', {
|
|
8690
|
+
value: 'GMT +10:00',
|
|
8691
|
+
defaultValue: '{{value}} Brisbane'
|
|
8692
|
+
})
|
|
8693
|
+
}, {
|
|
8694
|
+
value: 'Australia/Hobart',
|
|
8695
|
+
label: t('timezone.australia_hobart', {
|
|
8696
|
+
value: 'GMT +10:00',
|
|
8697
|
+
defaultValue: '{{value}} Hobart'
|
|
8698
|
+
})
|
|
8699
|
+
}, {
|
|
8700
|
+
value: 'Australia/Sydney',
|
|
8701
|
+
label: t('timezone.australia_sydney', {
|
|
8495
8702
|
value: 'GMT +10:00',
|
|
8496
|
-
defaultValue: '{{value}}
|
|
8703
|
+
defaultValue: '{{value}} Canberra, Melbourne, Sydney'
|
|
8704
|
+
})
|
|
8705
|
+
}, {
|
|
8706
|
+
value: 'Pacific/Guam',
|
|
8707
|
+
label: t('timezone.pacific_guam', {
|
|
8708
|
+
value: 'GMT +10:00',
|
|
8709
|
+
defaultValue: '{{value}} Guam, Port Moresby'
|
|
8710
|
+
})
|
|
8711
|
+
}, {
|
|
8712
|
+
value: 'Australia/Lord_Howe',
|
|
8713
|
+
label: t('timezone.australia_lord_howe', {
|
|
8714
|
+
value: 'GMT +10:30',
|
|
8715
|
+
defaultValue: '{{value}} Lord_Howe'
|
|
8497
8716
|
})
|
|
8498
8717
|
}, {
|
|
8499
8718
|
value: 'Asia/Magadan',
|
|
8500
|
-
label: t('timezone.
|
|
8719
|
+
label: t('timezone.asia_magadan', {
|
|
8501
8720
|
value: 'GMT +11:00',
|
|
8502
8721
|
defaultValue: '{{value}} Magadan'
|
|
8503
8722
|
})
|
|
8723
|
+
}, {
|
|
8724
|
+
value: 'Asia/Sakhalin',
|
|
8725
|
+
label: t('timezone.asia_sakhalin', {
|
|
8726
|
+
value: 'GMT +11:00',
|
|
8727
|
+
defaultValue: '{{value}} Sakhalin'
|
|
8728
|
+
})
|
|
8729
|
+
}, {
|
|
8730
|
+
value: 'Asia/Srednekolymsk',
|
|
8731
|
+
label: t('timezone.asia_srednekolymsk', {
|
|
8732
|
+
value: 'GMT +11:00',
|
|
8733
|
+
defaultValue: '{{value}} Chokurdakh (RTZ 10)'
|
|
8734
|
+
})
|
|
8735
|
+
}, {
|
|
8736
|
+
value: 'Pacific/Bougainville',
|
|
8737
|
+
label: t('timezone.pacific_bougainville', {
|
|
8738
|
+
value: 'GMT +11:00',
|
|
8739
|
+
defaultValue: '{{value}} Bougainville Standard Time'
|
|
8740
|
+
})
|
|
8741
|
+
}, {
|
|
8742
|
+
value: 'Pacific/Guadalcanal',
|
|
8743
|
+
label: t('timezone.pacific_guadalcanal', {
|
|
8744
|
+
value: 'GMT +11:00',
|
|
8745
|
+
defaultValue: '{{value}} Solomon Is. / New Caledonia'
|
|
8746
|
+
})
|
|
8747
|
+
}, {
|
|
8748
|
+
value: 'Pacific/Norfolk',
|
|
8749
|
+
label: t('timezone.pacific_norfolk', {
|
|
8750
|
+
value: 'GMT +11:00',
|
|
8751
|
+
defaultValue: '{{value}} Norfolk'
|
|
8752
|
+
})
|
|
8504
8753
|
}, {
|
|
8505
8754
|
value: 'Asia/Kamchatka',
|
|
8506
|
-
label: t('timezone.
|
|
8755
|
+
label: t('timezone.asia_kamchatka', {
|
|
8507
8756
|
value: 'GMT +12:00',
|
|
8508
8757
|
defaultValue: '{{value}} Anadyr, Petropavlovsk-Kamchatsky (RTZ 11)'
|
|
8509
8758
|
})
|
|
8759
|
+
}, {
|
|
8760
|
+
value: 'Pacific/Auckland',
|
|
8761
|
+
label: t('timezone.pacific_auckland', {
|
|
8762
|
+
value: 'GMT +12:00',
|
|
8763
|
+
defaultValue: '{{value}} New Zealand'
|
|
8764
|
+
})
|
|
8765
|
+
}, {
|
|
8766
|
+
value: 'Pacific/Fiji',
|
|
8767
|
+
label: t('timezone.pacific_fiji', {
|
|
8768
|
+
value: 'GMT +12:00',
|
|
8769
|
+
defaultValue: '{{value}} Fiji'
|
|
8770
|
+
})
|
|
8771
|
+
}, {
|
|
8772
|
+
value: 'Pacific/Chatham',
|
|
8773
|
+
label: t('timezone.pacific_chatham', {
|
|
8774
|
+
value: 'GMT +12:45',
|
|
8775
|
+
defaultValue: '{{value}} Chatham'
|
|
8776
|
+
})
|
|
8777
|
+
}, {
|
|
8778
|
+
value: 'Pacific/Apia',
|
|
8779
|
+
label: t('timezone.pacific_apia', {
|
|
8780
|
+
value: 'GMT +13:00',
|
|
8781
|
+
defaultValue: '{{value}} Samoa'
|
|
8782
|
+
})
|
|
8510
8783
|
}, {
|
|
8511
8784
|
value: 'Pacific/Tongatapu',
|
|
8512
|
-
label: t('timezone.
|
|
8785
|
+
label: t('timezone.pacific_tongatapu', {
|
|
8513
8786
|
value: 'GMT +13:00',
|
|
8514
8787
|
defaultValue: '{{value}} Nuku’alofa'
|
|
8515
8788
|
})
|
|
8516
8789
|
}, {
|
|
8517
8790
|
value: 'Pacific/Kiritimati',
|
|
8518
|
-
label: t('timezone.
|
|
8791
|
+
label: t('timezone.pacific_kiritimati', {
|
|
8519
8792
|
value: 'GMT +14:00',
|
|
8520
|
-
defaultValue: '{{value}}
|
|
8793
|
+
defaultValue: '{{value}} Kiritimati Island'
|
|
8521
8794
|
})
|
|
8522
8795
|
}];
|
|
8523
8796
|
};
|
|
@@ -8841,14 +9114,18 @@ var LanguageAndTimeZone = function LanguageAndTimeZone(_ref) {
|
|
|
8841
9114
|
id: settings.prefs.zimbraPrefLocale
|
|
8842
9115
|
}) ? (0,lodash__WEBPACK_IMPORTED_MODULE_3__.find)(locales, {
|
|
8843
9116
|
id: settings.prefs.zimbraPrefLocale
|
|
8844
|
-
}) : locales
|
|
9117
|
+
}) : (0,lodash__WEBPACK_IMPORTED_MODULE_3__.find)(locales, {
|
|
9118
|
+
id: 'en'
|
|
9119
|
+
});
|
|
8845
9120
|
}, [locales, settings.prefs.zimbraPrefLocale]);
|
|
8846
9121
|
var defaultTimeZone = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
|
8847
9122
|
return settings.prefs.zimbraPrefTimeZoneId && (0,lodash__WEBPACK_IMPORTED_MODULE_3__.find)(timezones, {
|
|
8848
9123
|
value: settings.prefs.zimbraPrefTimeZoneId
|
|
8849
9124
|
}) ? (0,lodash__WEBPACK_IMPORTED_MODULE_3__.find)(timezones, {
|
|
8850
9125
|
value: settings.prefs.zimbraPrefTimeZoneId
|
|
8851
|
-
}) : timezones
|
|
9126
|
+
}) : (0,lodash__WEBPACK_IMPORTED_MODULE_3__.find)(timezones, {
|
|
9127
|
+
value: 'UTC'
|
|
9128
|
+
});
|
|
8852
9129
|
}, [timezones, settings.prefs.zimbraPrefTimeZoneId]);
|
|
8853
9130
|
var sectionTitle = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
|
8854
9131
|
return (0,_general_settings_sub_sections__WEBPACK_IMPORTED_MODULE_5__.timezoneAndLanguageSubSection)(t);
|
|
@@ -11082,7 +11359,8 @@ var PrimaryBarElement = function PrimaryBarElement(_ref5) {
|
|
|
11082
11359
|
backgroundColor: active ? 'gray4' : 'gray6',
|
|
11083
11360
|
iconColor: active ? 'primary' : 'text',
|
|
11084
11361
|
onClick: onClick,
|
|
11085
|
-
size: "large"
|
|
11362
|
+
size: "large",
|
|
11363
|
+
"data-isselected": active
|
|
11086
11364
|
}) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(view.component, {
|
|
11087
11365
|
active: active
|
|
11088
11366
|
})));
|
|
@@ -12368,6 +12646,375 @@ var useBridge = function useBridge(content) {
|
|
|
12368
12646
|
|
|
12369
12647
|
/***/ }),
|
|
12370
12648
|
|
|
12649
|
+
/***/ "./src/store/folder/hooks.ts":
|
|
12650
|
+
/*!***********************************!*\
|
|
12651
|
+
!*** ./src/store/folder/hooks.ts ***!
|
|
12652
|
+
\***********************************/
|
|
12653
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12654
|
+
|
|
12655
|
+
"use strict";
|
|
12656
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12657
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12658
|
+
/* harmony export */ "useFolder": () => (/* binding */ useFolder),
|
|
12659
|
+
/* harmony export */ "getFolder": () => (/* binding */ getFolder),
|
|
12660
|
+
/* harmony export */ "useFolders": () => (/* binding */ useFolders),
|
|
12661
|
+
/* harmony export */ "getFolders": () => (/* binding */ getFolders),
|
|
12662
|
+
/* harmony export */ "useRoot": () => (/* binding */ useRoot),
|
|
12663
|
+
/* harmony export */ "getRoot": () => (/* binding */ getRoot),
|
|
12664
|
+
/* harmony export */ "useRoots": () => (/* binding */ useRoots),
|
|
12665
|
+
/* harmony export */ "getRoots": () => (/* binding */ getRoots),
|
|
12666
|
+
/* harmony export */ "useRootByUser": () => (/* binding */ useRootByUser),
|
|
12667
|
+
/* harmony export */ "getRootByUser": () => (/* binding */ getRootByUser),
|
|
12668
|
+
/* harmony export */ "useSearch": () => (/* binding */ useSearch),
|
|
12669
|
+
/* harmony export */ "getSearch": () => (/* binding */ getSearch),
|
|
12670
|
+
/* harmony export */ "useSearches": () => (/* binding */ useSearches),
|
|
12671
|
+
/* harmony export */ "getSearches": () => (/* binding */ getSearches),
|
|
12672
|
+
/* harmony export */ "useFoldersByView": () => (/* binding */ useFoldersByView),
|
|
12673
|
+
/* harmony export */ "useFoldersAccordionByView": () => (/* binding */ useFoldersAccordionByView)
|
|
12674
|
+
/* harmony export */ });
|
|
12675
|
+
/* harmony import */ var core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.values.js */ "./node_modules/core-js/modules/es.object.values.js");
|
|
12676
|
+
/* harmony import */ var core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
12677
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js");
|
|
12678
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
12679
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|
12680
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|
12681
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./store */ "./src/store/folder/store.ts");
|
|
12682
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils */ "./src/store/folder/utils.ts");
|
|
12683
|
+
|
|
12684
|
+
|
|
12685
|
+
|
|
12686
|
+
/*
|
|
12687
|
+
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
12688
|
+
*
|
|
12689
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
12690
|
+
*/
|
|
12691
|
+
|
|
12692
|
+
|
|
12693
|
+
// FOLDERS
|
|
12694
|
+
|
|
12695
|
+
var useFolder = function useFolder(id) {
|
|
12696
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12697
|
+
var _s$folders;
|
|
12698
|
+
|
|
12699
|
+
return (_s$folders = s.folders) === null || _s$folders === void 0 ? void 0 : _s$folders[id];
|
|
12700
|
+
});
|
|
12701
|
+
};
|
|
12702
|
+
var getFolder = function getFolder(id) {
|
|
12703
|
+
var _useFolderStore$getSt, _useFolderStore$getSt2;
|
|
12704
|
+
|
|
12705
|
+
return (_useFolderStore$getSt = _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState()) === null || _useFolderStore$getSt === void 0 ? void 0 : (_useFolderStore$getSt2 = _useFolderStore$getSt.folders) === null || _useFolderStore$getSt2 === void 0 ? void 0 : _useFolderStore$getSt2[id];
|
|
12706
|
+
};
|
|
12707
|
+
var useFolders = function useFolders() {
|
|
12708
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12709
|
+
return s.folders;
|
|
12710
|
+
});
|
|
12711
|
+
};
|
|
12712
|
+
var getFolders = function getFolders() {
|
|
12713
|
+
return _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState().folders;
|
|
12714
|
+
}; // ROOTS
|
|
12715
|
+
|
|
12716
|
+
var useRoot = function useRoot(id) {
|
|
12717
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12718
|
+
var _s$roots;
|
|
12719
|
+
|
|
12720
|
+
return (_s$roots = s.roots) === null || _s$roots === void 0 ? void 0 : _s$roots[id];
|
|
12721
|
+
});
|
|
12722
|
+
};
|
|
12723
|
+
var getRoot = function getRoot(id) {
|
|
12724
|
+
var _useFolderStore$getSt3;
|
|
12725
|
+
|
|
12726
|
+
return (_useFolderStore$getSt3 = _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState().roots) === null || _useFolderStore$getSt3 === void 0 ? void 0 : _useFolderStore$getSt3[id];
|
|
12727
|
+
};
|
|
12728
|
+
var useRoots = function useRoots() {
|
|
12729
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12730
|
+
return s.roots;
|
|
12731
|
+
});
|
|
12732
|
+
};
|
|
12733
|
+
var getRoots = function getRoots() {
|
|
12734
|
+
return _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState().roots;
|
|
12735
|
+
}; // ROOTS BY VIEW
|
|
12736
|
+
|
|
12737
|
+
var useRootByUser = function useRootByUser(userId) {
|
|
12738
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12739
|
+
return s.roots ? s.roots[userId] : {};
|
|
12740
|
+
});
|
|
12741
|
+
};
|
|
12742
|
+
var getRootByUser = function getRootByUser(userId) {
|
|
12743
|
+
var folders = _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState();
|
|
12744
|
+
return folders.roots ? folders.roots[userId] : {};
|
|
12745
|
+
}; // SEARCHES
|
|
12746
|
+
|
|
12747
|
+
var useSearch = function useSearch(id) {
|
|
12748
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12749
|
+
var _s$searches;
|
|
12750
|
+
|
|
12751
|
+
return (_s$searches = s.searches) === null || _s$searches === void 0 ? void 0 : _s$searches[id];
|
|
12752
|
+
});
|
|
12753
|
+
};
|
|
12754
|
+
var getSearch = function getSearch(id) {
|
|
12755
|
+
return _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState().searches[id];
|
|
12756
|
+
};
|
|
12757
|
+
var useSearches = function useSearches() {
|
|
12758
|
+
return (0,_store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore)(function (s) {
|
|
12759
|
+
return s.searches;
|
|
12760
|
+
});
|
|
12761
|
+
};
|
|
12762
|
+
var getSearches = function getSearches() {
|
|
12763
|
+
return _store__WEBPACK_IMPORTED_MODULE_3__.useFolderStore.getState().searches;
|
|
12764
|
+
}; // Accordion-ize
|
|
12765
|
+
|
|
12766
|
+
var useFoldersByView = function useFoldersByView(view) {
|
|
12767
|
+
var roots = useRoots();
|
|
12768
|
+
var filtered = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
|
12769
|
+
return roots ? (0,_utils__WEBPACK_IMPORTED_MODULE_4__.filterNodes)(Object.values(roots), (0,_utils__WEBPACK_IMPORTED_MODULE_4__.folderViewFilter)(view)) : [];
|
|
12770
|
+
}, [roots, view]);
|
|
12771
|
+
return filtered;
|
|
12772
|
+
};
|
|
12773
|
+
var useFoldersAccordionByView = function useFoldersAccordionByView(view, customComponent) {
|
|
12774
|
+
var roots = useRoots();
|
|
12775
|
+
var mapped = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
|
12776
|
+
return roots ? (0,_utils__WEBPACK_IMPORTED_MODULE_4__.mapNodes)(Object.values(roots), {
|
|
12777
|
+
mapFunction: function mapFunction(f) {
|
|
12778
|
+
return {
|
|
12779
|
+
id: f.id,
|
|
12780
|
+
label: f.name,
|
|
12781
|
+
customComponent: customComponent,
|
|
12782
|
+
items: [],
|
|
12783
|
+
folder: f
|
|
12784
|
+
};
|
|
12785
|
+
},
|
|
12786
|
+
filterFunction: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.folderViewFilter)(view),
|
|
12787
|
+
recursionKey: 'items',
|
|
12788
|
+
sortFunction: _utils__WEBPACK_IMPORTED_MODULE_4__.sortFolders
|
|
12789
|
+
}) : [];
|
|
12790
|
+
}, [customComponent, roots, view]);
|
|
12791
|
+
return mapped;
|
|
12792
|
+
};
|
|
12793
|
+
|
|
12794
|
+
/***/ }),
|
|
12795
|
+
|
|
12796
|
+
/***/ "./src/store/folder/index.ts":
|
|
12797
|
+
/*!***********************************!*\
|
|
12798
|
+
!*** ./src/store/folder/index.ts ***!
|
|
12799
|
+
\***********************************/
|
|
12800
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12801
|
+
|
|
12802
|
+
"use strict";
|
|
12803
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12804
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12805
|
+
/* harmony export */ "useFolderStore": () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.useFolderStore),
|
|
12806
|
+
/* harmony export */ "getFolder": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getFolder),
|
|
12807
|
+
/* harmony export */ "getFolders": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getFolders),
|
|
12808
|
+
/* harmony export */ "getRoot": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getRoot),
|
|
12809
|
+
/* harmony export */ "getRootByUser": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getRootByUser),
|
|
12810
|
+
/* harmony export */ "getRoots": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getRoots),
|
|
12811
|
+
/* harmony export */ "getSearch": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getSearch),
|
|
12812
|
+
/* harmony export */ "getSearches": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.getSearches),
|
|
12813
|
+
/* harmony export */ "useFolder": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useFolder),
|
|
12814
|
+
/* harmony export */ "useFolders": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useFolders),
|
|
12815
|
+
/* harmony export */ "useFoldersAccordionByView": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useFoldersAccordionByView),
|
|
12816
|
+
/* harmony export */ "useFoldersByView": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useFoldersByView),
|
|
12817
|
+
/* harmony export */ "useRoot": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useRoot),
|
|
12818
|
+
/* harmony export */ "useRootByUser": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useRootByUser),
|
|
12819
|
+
/* harmony export */ "useRoots": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useRoots),
|
|
12820
|
+
/* harmony export */ "useSearch": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useSearch),
|
|
12821
|
+
/* harmony export */ "useSearches": () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_1__.useSearches)
|
|
12822
|
+
/* harmony export */ });
|
|
12823
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store */ "./src/store/folder/store.ts");
|
|
12824
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hooks */ "./src/store/folder/hooks.ts");
|
|
12825
|
+
/*
|
|
12826
|
+
* SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
|
|
12827
|
+
*
|
|
12828
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
12829
|
+
*/
|
|
12830
|
+
|
|
12831
|
+
|
|
12832
|
+
|
|
12833
|
+
/***/ }),
|
|
12834
|
+
|
|
12835
|
+
/***/ "./src/store/folder/store.ts":
|
|
12836
|
+
/*!***********************************!*\
|
|
12837
|
+
!*** ./src/store/folder/store.ts ***!
|
|
12838
|
+
\***********************************/
|
|
12839
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12840
|
+
|
|
12841
|
+
"use strict";
|
|
12842
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12843
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12844
|
+
/* harmony export */ "useFolderStore": () => (/* binding */ useFolderStore)
|
|
12845
|
+
/* harmony export */ });
|
|
12846
|
+
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! zustand */ "./node_modules/zustand/esm/index.js");
|
|
12847
|
+
/* harmony import */ var _workers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../workers */ "./src/workers/index.ts");
|
|
12848
|
+
/*
|
|
12849
|
+
* SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
|
|
12850
|
+
*
|
|
12851
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
12852
|
+
*/
|
|
12853
|
+
|
|
12854
|
+
|
|
12855
|
+
var useFolderStore = (0,zustand__WEBPACK_IMPORTED_MODULE_1__["default"])(function () {
|
|
12856
|
+
return {
|
|
12857
|
+
folders: {},
|
|
12858
|
+
roots: {},
|
|
12859
|
+
searches: {}
|
|
12860
|
+
};
|
|
12861
|
+
});
|
|
12862
|
+
|
|
12863
|
+
_workers__WEBPACK_IMPORTED_MODULE_0__.folderWorker.onmessage = function (_ref) {
|
|
12864
|
+
var data = _ref.data;
|
|
12865
|
+
useFolderStore.setState(data);
|
|
12866
|
+
};
|
|
12867
|
+
|
|
12868
|
+
/***/ }),
|
|
12869
|
+
|
|
12870
|
+
/***/ "./src/store/folder/utils.ts":
|
|
12871
|
+
/*!***********************************!*\
|
|
12872
|
+
!*** ./src/store/folder/utils.ts ***!
|
|
12873
|
+
\***********************************/
|
|
12874
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12875
|
+
|
|
12876
|
+
"use strict";
|
|
12877
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12878
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12879
|
+
/* harmony export */ "sortFolders": () => (/* binding */ sortFolders),
|
|
12880
|
+
/* harmony export */ "isTrash": () => (/* binding */ isTrash),
|
|
12881
|
+
/* harmony export */ "isRoot": () => (/* binding */ isRoot),
|
|
12882
|
+
/* harmony export */ "folderViewFilter": () => (/* binding */ folderViewFilter),
|
|
12883
|
+
/* harmony export */ "filterNodes": () => (/* binding */ filterNodes),
|
|
12884
|
+
/* harmony export */ "mapNodes": () => (/* binding */ mapNodes)
|
|
12885
|
+
/* harmony export */ });
|
|
12886
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
12887
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ "./node_modules/core-js/modules/es.array.includes.js");
|
|
12888
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
12889
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/core-js/modules/es.string.includes.js");
|
|
12890
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
12891
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js");
|
|
12892
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
12893
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ "./node_modules/core-js/modules/es.string.split.js");
|
|
12894
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
12895
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js");
|
|
12896
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
12897
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js");
|
|
12898
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
12899
|
+
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ "./node_modules/core-js/modules/es.array.filter.js");
|
|
12900
|
+
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
12901
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js");
|
|
12902
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
12903
|
+
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/core-js/modules/es.array.reduce.js");
|
|
12904
|
+
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
12905
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ "./node_modules/core-js/modules/es.object.keys.js");
|
|
12906
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
12907
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js");
|
|
12908
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
12909
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ "./node_modules/core-js/modules/es.object.get-own-property-descriptor.js");
|
|
12910
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
12911
|
+
/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ "./node_modules/core-js/modules/es.array.for-each.js");
|
|
12912
|
+
/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
12913
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
12914
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
12915
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ "./node_modules/core-js/modules/es.object.get-own-property-descriptors.js");
|
|
12916
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
12917
|
+
/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.object.define-properties.js */ "./node_modules/core-js/modules/es.object.define-properties.js");
|
|
12918
|
+
/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
12919
|
+
/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ "./node_modules/core-js/modules/es.object.define-property.js");
|
|
12920
|
+
/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
12921
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! lodash */ "./node_modules/lodash/lodash.js");
|
|
12922
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_18__);
|
|
12923
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../constants */ "./src/constants/index.ts");
|
|
12924
|
+
|
|
12925
|
+
|
|
12926
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12927
|
+
|
|
12928
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12929
|
+
|
|
12930
|
+
|
|
12931
|
+
|
|
12932
|
+
|
|
12933
|
+
|
|
12934
|
+
|
|
12935
|
+
|
|
12936
|
+
|
|
12937
|
+
|
|
12938
|
+
|
|
12939
|
+
|
|
12940
|
+
|
|
12941
|
+
|
|
12942
|
+
|
|
12943
|
+
|
|
12944
|
+
|
|
12945
|
+
|
|
12946
|
+
|
|
12947
|
+
|
|
12948
|
+
/*
|
|
12949
|
+
* SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
|
|
12950
|
+
*
|
|
12951
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
12952
|
+
*/
|
|
12953
|
+
|
|
12954
|
+
|
|
12955
|
+
|
|
12956
|
+
var hasId = function hasId(f, id) {
|
|
12957
|
+
return f.id.split(':').includes(id);
|
|
12958
|
+
};
|
|
12959
|
+
|
|
12960
|
+
var getOriginalId = function getOriginalId(f) {
|
|
12961
|
+
var _parts$;
|
|
12962
|
+
|
|
12963
|
+
var parts = f.id.split(':');
|
|
12964
|
+
return (_parts$ = parts[1]) !== null && _parts$ !== void 0 ? _parts$ : parts[0];
|
|
12965
|
+
};
|
|
12966
|
+
|
|
12967
|
+
var sortFolders = function sortFolders(f) {
|
|
12968
|
+
var id = getOriginalId(f);
|
|
12969
|
+
|
|
12970
|
+
if (id === _constants__WEBPACK_IMPORTED_MODULE_19__.FOLDERS.TRASH) {
|
|
12971
|
+
return '~';
|
|
12972
|
+
} // should work fine
|
|
12973
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
12974
|
+
// @ts-ignore
|
|
12975
|
+
|
|
12976
|
+
|
|
12977
|
+
return id < 17 ? id : f.name.toLowerCase();
|
|
12978
|
+
};
|
|
12979
|
+
var isTrash = function isTrash(f) {
|
|
12980
|
+
return hasId(f, _constants__WEBPACK_IMPORTED_MODULE_19__.FOLDERS.TRASH);
|
|
12981
|
+
};
|
|
12982
|
+
var isRoot = function isRoot(f) {
|
|
12983
|
+
return f.id === _constants__WEBPACK_IMPORTED_MODULE_19__.FOLDERS.USER_ROOT || f.oname === _constants__WEBPACK_IMPORTED_MODULE_19__.ROOT_NAME;
|
|
12984
|
+
};
|
|
12985
|
+
var folderViewFilter = function folderViewFilter(v) {
|
|
12986
|
+
return function (f, r) {
|
|
12987
|
+
return f.view === v || isTrash(f) || isRoot(f) && !r;
|
|
12988
|
+
};
|
|
12989
|
+
};
|
|
12990
|
+
var filterNodes = function filterNodes(children, f) {
|
|
12991
|
+
return children.filter(f).map(function (i) {
|
|
12992
|
+
return _objectSpread(_objectSpread({}, i), {}, {
|
|
12993
|
+
children: filterNodes(i.children, f)
|
|
12994
|
+
});
|
|
12995
|
+
});
|
|
12996
|
+
};
|
|
12997
|
+
var mapNodes = function mapNodes(children, _ref, inRecursion) {
|
|
12998
|
+
var mapFunction = _ref.mapFunction,
|
|
12999
|
+
filterFunction = _ref.filterFunction,
|
|
13000
|
+
recursionKey = _ref.recursionKey,
|
|
13001
|
+
sortFunction = _ref.sortFunction;
|
|
13002
|
+
return (0,lodash__WEBPACK_IMPORTED_MODULE_18__.sortBy)(children, sortFunction).reduce(function (acc, folder) {
|
|
13003
|
+
if (filterFunction(folder, inRecursion)) {
|
|
13004
|
+
acc.push(_objectSpread(_objectSpread({}, mapFunction(folder)), {}, (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, recursionKey, mapNodes(folder.children, {
|
|
13005
|
+
mapFunction: mapFunction,
|
|
13006
|
+
filterFunction: filterFunction,
|
|
13007
|
+
recursionKey: recursionKey,
|
|
13008
|
+
sortFunction: sortFunction
|
|
13009
|
+
}, true))));
|
|
13010
|
+
}
|
|
13011
|
+
|
|
13012
|
+
return acc;
|
|
13013
|
+
}, []);
|
|
13014
|
+
};
|
|
13015
|
+
|
|
13016
|
+
/***/ }),
|
|
13017
|
+
|
|
12371
13018
|
/***/ "./src/store/integrations/composer.tsx":
|
|
12372
13019
|
/*!*********************************************!*\
|
|
12373
13020
|
!*** ./src/store/integrations/composer.tsx ***!
|
|
@@ -13098,8 +13745,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13098
13745
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "./node_modules/lodash/lodash.js");
|
|
13099
13746
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
|
13100
13747
|
/* harmony import */ var _workers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../workers */ "./src/workers/index.ts");
|
|
13101
|
-
/* harmony import */ var
|
|
13102
|
-
/* harmony import */ var
|
|
13748
|
+
/* harmony import */ var _folder__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../folder */ "./src/store/folder/index.ts");
|
|
13749
|
+
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tags */ "./src/store/tags/index.ts");
|
|
13750
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./store */ "./src/store/network/store.ts");
|
|
13103
13751
|
|
|
13104
13752
|
|
|
13105
13753
|
|
|
@@ -13116,20 +13764,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13116
13764
|
|
|
13117
13765
|
|
|
13118
13766
|
|
|
13767
|
+
|
|
13119
13768
|
var handleSync = function handleSync(_ref) {
|
|
13120
13769
|
var refresh = _ref.refresh,
|
|
13121
13770
|
notify = _ref.notify;
|
|
13122
13771
|
return new Promise(function (r) {
|
|
13123
|
-
var _useNetworkStore$getS =
|
|
13772
|
+
var _useNetworkStore$getS = _store__WEBPACK_IMPORTED_MODULE_6__.useNetworkStore.getState(),
|
|
13124
13773
|
seq = _useNetworkStore$getS.seq;
|
|
13125
13774
|
|
|
13126
13775
|
if (refresh) {
|
|
13127
|
-
var _refresh$tags$tag, _refresh$tags;
|
|
13776
|
+
var _refresh$tags$tag, _refresh$tags, _refresh$folder;
|
|
13128
13777
|
|
|
13129
13778
|
_workers__WEBPACK_IMPORTED_MODULE_3__.tagWorker.postMessage({
|
|
13130
13779
|
op: 'refresh',
|
|
13131
13780
|
tags: (_refresh$tags$tag = (_refresh$tags = refresh.tags) === null || _refresh$tags === void 0 ? void 0 : _refresh$tags.tag) !== null && _refresh$tags$tag !== void 0 ? _refresh$tags$tag : []
|
|
13132
13781
|
});
|
|
13782
|
+
_workers__WEBPACK_IMPORTED_MODULE_3__.folderWorker.postMessage({
|
|
13783
|
+
op: 'refresh',
|
|
13784
|
+
folder: (_refresh$folder = refresh.folder) !== null && _refresh$folder !== void 0 ? _refresh$folder : []
|
|
13785
|
+
});
|
|
13133
13786
|
}
|
|
13134
13787
|
|
|
13135
13788
|
if (notify !== null && notify !== void 0 && notify.length) {
|
|
@@ -13138,7 +13791,12 @@ var handleSync = function handleSync(_ref) {
|
|
|
13138
13791
|
_workers__WEBPACK_IMPORTED_MODULE_3__.tagWorker.postMessage({
|
|
13139
13792
|
op: 'notify',
|
|
13140
13793
|
notify: item,
|
|
13141
|
-
state:
|
|
13794
|
+
state: _tags__WEBPACK_IMPORTED_MODULE_5__.useTagStore.getState().tags
|
|
13795
|
+
});
|
|
13796
|
+
_workers__WEBPACK_IMPORTED_MODULE_3__.folderWorker.postMessage({
|
|
13797
|
+
op: 'notify',
|
|
13798
|
+
notify: item,
|
|
13799
|
+
state: _folder__WEBPACK_IMPORTED_MODULE_4__.useFolderStore.getState().folders
|
|
13142
13800
|
});
|
|
13143
13801
|
}
|
|
13144
13802
|
});
|
|
@@ -13473,19 +14131,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13473
14131
|
/* harmony export */ "ShellUtilityBar": () => (/* binding */ ShellUtilityBar)
|
|
13474
14132
|
/* harmony export */ });
|
|
13475
14133
|
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
|
|
13476
|
-
/* harmony import */ var
|
|
13477
|
-
/* harmony import */ var
|
|
13478
|
-
/* harmony import */ var
|
|
13479
|
-
/* harmony import */ var
|
|
13480
|
-
/* harmony import */ var
|
|
13481
|
-
/* harmony import */ var
|
|
13482
|
-
/* harmony import */ var
|
|
13483
|
-
/* harmony import */ var
|
|
13484
|
-
/* harmony import */ var
|
|
13485
|
-
/* harmony import */ var
|
|
13486
|
-
/* harmony import */ var
|
|
13487
|
-
/* harmony import */ var
|
|
13488
|
-
/* harmony import */ var
|
|
14134
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js");
|
|
14135
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
14136
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|
14137
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|
14138
|
+
/* harmony import */ var _zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @zextras/carbonio-design-system */ "./node_modules/@zextras/carbonio-design-system/dist/zapp-ui.bundle.js");
|
|
14139
|
+
/* harmony import */ var _zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__);
|
|
14140
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ "./node_modules/lodash/lodash.js");
|
|
14141
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
|
|
14142
|
+
/* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react-i18next */ "./node_modules/react-i18next/dist/es/useTranslation.js");
|
|
14143
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./store */ "./src/utility-bar/store.ts");
|
|
14144
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../types */ "./types/index.d.ts");
|
|
14145
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils */ "./src/utility-bar/utils.ts");
|
|
14146
|
+
/* harmony import */ var _network_logout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../network/logout */ "./src/network/logout.ts");
|
|
14147
|
+
/* harmony import */ var _store_context_bridge__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../store/context-bridge */ "./src/store/context-bridge.ts");
|
|
14148
|
+
/* harmony import */ var _network_fetch__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../network/fetch */ "./src/network/fetch.ts");
|
|
14149
|
+
/* harmony import */ var _store_account__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../store/account */ "./src/store/account/index.ts");
|
|
14150
|
+
|
|
13489
14151
|
|
|
13490
14152
|
|
|
13491
14153
|
/*
|
|
@@ -13504,26 +14166,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13504
14166
|
|
|
13505
14167
|
|
|
13506
14168
|
|
|
14169
|
+
|
|
13507
14170
|
var UtilityBarItem = function UtilityBarItem(_ref) {
|
|
13508
14171
|
var view = _ref.view;
|
|
13509
14172
|
|
|
13510
|
-
var _useUtilityBarStore = (0,
|
|
14173
|
+
var _useUtilityBarStore = (0,_store__WEBPACK_IMPORTED_MODULE_4__.useUtilityBarStore)(),
|
|
13511
14174
|
mode = _useUtilityBarStore.mode,
|
|
13512
14175
|
setMode = _useUtilityBarStore.setMode,
|
|
13513
14176
|
current = _useUtilityBarStore.current,
|
|
13514
14177
|
setCurrent = _useUtilityBarStore.setCurrent;
|
|
13515
14178
|
|
|
13516
|
-
var onClick = (0,
|
|
14179
|
+
var onClick = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function () {
|
|
13517
14180
|
// eslint-disable-next-line no-nested-ternary
|
|
13518
14181
|
setMode(current !== view.id ? 'open' : mode !== 'open' ? 'open' : 'closed');
|
|
13519
14182
|
setCurrent(view.id);
|
|
13520
14183
|
}, [current, mode, setCurrent, setMode, view.id]);
|
|
13521
14184
|
|
|
13522
14185
|
if (typeof view.button === 'string') {
|
|
13523
|
-
return /*#__PURE__*/
|
|
14186
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__.Tooltip, {
|
|
13524
14187
|
label: view.label,
|
|
13525
14188
|
placement: "bottom-end"
|
|
13526
|
-
}, /*#__PURE__*/
|
|
14189
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__.IconButton, {
|
|
13527
14190
|
icon: view.button,
|
|
13528
14191
|
iconColor: current === view.id ? 'primary' : 'text',
|
|
13529
14192
|
onClick: onClick,
|
|
@@ -13531,27 +14194,40 @@ var UtilityBarItem = function UtilityBarItem(_ref) {
|
|
|
13531
14194
|
}));
|
|
13532
14195
|
}
|
|
13533
14196
|
|
|
13534
|
-
return /*#__PURE__*/
|
|
14197
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(view.button, {
|
|
13535
14198
|
mode: mode,
|
|
13536
14199
|
setMode: setMode
|
|
13537
14200
|
});
|
|
13538
14201
|
};
|
|
13539
14202
|
|
|
13540
14203
|
var ShellUtilityBar = function ShellUtilityBar() {
|
|
13541
|
-
var
|
|
14204
|
+
var _account$displayName2;
|
|
14205
|
+
|
|
14206
|
+
var views = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.useUtilityViews)();
|
|
13542
14207
|
|
|
13543
|
-
var _useTranslation = (0,
|
|
14208
|
+
var _useTranslation = (0,react_i18next__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(),
|
|
13544
14209
|
_useTranslation2 = (0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_useTranslation, 1),
|
|
13545
14210
|
t = _useTranslation2[0];
|
|
13546
14211
|
|
|
13547
|
-
var
|
|
14212
|
+
var account = (0,_store_account__WEBPACK_IMPORTED_MODULE_10__.useUserAccount)();
|
|
14213
|
+
var accountItems = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
|
14214
|
+
var _account$displayName;
|
|
14215
|
+
|
|
13548
14216
|
return [{
|
|
14217
|
+
id: 'account',
|
|
14218
|
+
label: (_account$displayName = account === null || account === void 0 ? void 0 : account.displayName) !== null && _account$displayName !== void 0 ? _account$displayName : account === null || account === void 0 ? void 0 : account.name,
|
|
14219
|
+
disabled: true
|
|
14220
|
+
}, {
|
|
14221
|
+
type: 'divider',
|
|
14222
|
+
id: 'divider',
|
|
14223
|
+
label: 'divider'
|
|
14224
|
+
}, {
|
|
13549
14225
|
id: 'feedback',
|
|
13550
14226
|
label: t('label.feedback', 'Feedback'),
|
|
13551
14227
|
click: function click() {
|
|
13552
14228
|
var _useContextBridge$get;
|
|
13553
14229
|
|
|
13554
|
-
return (_useContextBridge$get =
|
|
14230
|
+
return (_useContextBridge$get = _store_context_bridge__WEBPACK_IMPORTED_MODULE_8__.useContextBridge.getState().packageDependentFunctions) === null || _useContextBridge$get === void 0 ? void 0 : _useContextBridge$get.addBoard(_types__WEBPACK_IMPORTED_MODULE_5__.SHELL_APP_ID)('/feedback/', {
|
|
13555
14231
|
title: t('label.feedback', 'Feedback')
|
|
13556
14232
|
});
|
|
13557
14233
|
},
|
|
@@ -13560,7 +14236,7 @@ var ShellUtilityBar = function ShellUtilityBar() {
|
|
|
13560
14236
|
id: 'update',
|
|
13561
14237
|
label: t('label.update_view', 'Update view'),
|
|
13562
14238
|
click: function click() {
|
|
13563
|
-
return (0,
|
|
14239
|
+
return (0,_network_fetch__WEBPACK_IMPORTED_MODULE_9__.noOp)();
|
|
13564
14240
|
},
|
|
13565
14241
|
icon: 'Refresh'
|
|
13566
14242
|
}, {
|
|
@@ -13574,24 +14250,26 @@ var ShellUtilityBar = function ShellUtilityBar() {
|
|
|
13574
14250
|
}, {
|
|
13575
14251
|
id: 'logout',
|
|
13576
14252
|
label: t('label.logout', 'Logout'),
|
|
13577
|
-
click:
|
|
14253
|
+
click: _network_logout__WEBPACK_IMPORTED_MODULE_7__.logout,
|
|
13578
14254
|
icon: 'LogOut'
|
|
13579
14255
|
}];
|
|
13580
|
-
}, [t]);
|
|
13581
|
-
return /*#__PURE__*/
|
|
14256
|
+
}, [account, t]);
|
|
14257
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__.Container, {
|
|
13582
14258
|
orientation: "horizontal",
|
|
13583
14259
|
width: "fit"
|
|
13584
|
-
}, (0,
|
|
13585
|
-
return /*#__PURE__*/
|
|
14260
|
+
}, (0,lodash__WEBPACK_IMPORTED_MODULE_3__.map)(views, function (view) {
|
|
14261
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(UtilityBarItem, {
|
|
13586
14262
|
view: view,
|
|
13587
14263
|
key: view.id
|
|
13588
14264
|
});
|
|
13589
|
-
}), /*#__PURE__*/
|
|
13590
|
-
label:
|
|
13591
|
-
placement: "
|
|
13592
|
-
}, /*#__PURE__*/
|
|
13593
|
-
items: accountItems
|
|
13594
|
-
|
|
14265
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__.Tooltip, {
|
|
14266
|
+
label: (_account$displayName2 = account === null || account === void 0 ? void 0 : account.displayName) !== null && _account$displayName2 !== void 0 ? _account$displayName2 : account === null || account === void 0 ? void 0 : account.name,
|
|
14267
|
+
placement: "bottom-end"
|
|
14268
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__.Dropdown, {
|
|
14269
|
+
items: accountItems,
|
|
14270
|
+
maxWidth: "200px",
|
|
14271
|
+
disableAutoFocus: true
|
|
14272
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_zextras_carbonio_design_system__WEBPACK_IMPORTED_MODULE_11__.IconButton, {
|
|
13595
14273
|
icon: "PersonOutline",
|
|
13596
14274
|
size: "large"
|
|
13597
14275
|
}))));
|
|
@@ -13823,7 +14501,8 @@ var useUtilityViews = function useUtilityViews() {
|
|
|
13823
14501
|
"use strict";
|
|
13824
14502
|
__webpack_require__.r(__webpack_exports__);
|
|
13825
14503
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13826
|
-
/* harmony export */ "tagWorker": () => (/* binding */ tagWorker)
|
|
14504
|
+
/* harmony export */ "tagWorker": () => (/* binding */ tagWorker),
|
|
14505
|
+
/* harmony export */ "folderWorker": () => (/* binding */ folderWorker)
|
|
13827
14506
|
/* harmony export */ });
|
|
13828
14507
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js");
|
|
13829
14508
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -13851,7 +14530,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13851
14530
|
*/
|
|
13852
14531
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
13853
14532
|
// @ts-ignore
|
|
13854
|
-
var tagWorker = new Worker(new URL(/* worker import */ __webpack_require__.p + __webpack_require__.u("src_workers_tag_ts"), __webpack_require__.b));
|
|
14533
|
+
var tagWorker = new Worker(new URL(/* worker import */ __webpack_require__.p + __webpack_require__.u("src_workers_tag_ts"), __webpack_require__.b)); // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
14534
|
+
// @ts-ignore
|
|
14535
|
+
|
|
14536
|
+
var folderWorker = new Worker(new URL(/* worker import */ __webpack_require__.p + __webpack_require__.u("src_workers_folder_ts"), __webpack_require__.b));
|
|
13855
14537
|
|
|
13856
14538
|
/***/ }),
|
|
13857
14539
|
|
|
@@ -13928,6 +14610,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13928
14610
|
/* harmony export */ "getTags": () => (/* binding */ getTags),
|
|
13929
14611
|
/* harmony export */ "useTag": () => (/* binding */ useTag),
|
|
13930
14612
|
/* harmony export */ "getTag": () => (/* binding */ getTag),
|
|
14613
|
+
/* harmony export */ "useFolder": () => (/* binding */ useFolder),
|
|
14614
|
+
/* harmony export */ "getFolder": () => (/* binding */ getFolder),
|
|
14615
|
+
/* harmony export */ "useFolders": () => (/* binding */ useFolders),
|
|
14616
|
+
/* harmony export */ "getFolders": () => (/* binding */ getFolders),
|
|
14617
|
+
/* harmony export */ "useRoot": () => (/* binding */ useRoot),
|
|
14618
|
+
/* harmony export */ "getRoot": () => (/* binding */ getRoot),
|
|
14619
|
+
/* harmony export */ "useRoots": () => (/* binding */ useRoots),
|
|
14620
|
+
/* harmony export */ "getRoots": () => (/* binding */ getRoots),
|
|
14621
|
+
/* harmony export */ "useRootByView": () => (/* binding */ useRootByView),
|
|
14622
|
+
/* harmony export */ "getRootByView": () => (/* binding */ getRootByView),
|
|
13931
14623
|
/* harmony export */ "createTag": () => (/* binding */ createTag),
|
|
13932
14624
|
/* harmony export */ "renameTag": () => (/* binding */ renameTag),
|
|
13933
14625
|
/* harmony export */ "deleteTag": () => (/* binding */ deleteTag),
|
|
@@ -13939,7 +14631,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13939
14631
|
/* harmony export */ "store": () => (/* binding */ store),
|
|
13940
14632
|
/* harmony export */ "useNotify": () => (/* binding */ useNotify),
|
|
13941
14633
|
/* harmony export */ "useRefresh": () => (/* binding */ useRefresh),
|
|
13942
|
-
/* harmony export */ "
|
|
14634
|
+
/* harmony export */ "AppLink": () => (/* binding */ AppLink),
|
|
13943
14635
|
/* harmony export */ "Spinner": () => (/* binding */ Spinner),
|
|
13944
14636
|
/* harmony export */ "useAddBoardCallback": () => (/* binding */ useAddBoardCallback),
|
|
13945
14637
|
/* harmony export */ "useUpdateCurrentBoard": () => (/* binding */ useUpdateCurrentBoard),
|
|
@@ -13982,7 +14674,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13982
14674
|
/* harmony export */ "replaceHistory": () => (/* binding */ replaceHistory),
|
|
13983
14675
|
/* harmony export */ "goBackHistory": () => (/* binding */ goBackHistory),
|
|
13984
14676
|
/* harmony export */ "useCurrentRoute": () => (/* binding */ useCurrentRoute),
|
|
13985
|
-
/* harmony export */ "getCurrentRoute": () => (/* binding */ getCurrentRoute)
|
|
14677
|
+
/* harmony export */ "getCurrentRoute": () => (/* binding */ getCurrentRoute),
|
|
14678
|
+
/* harmony export */ "useRootByUser": () => (/* binding */ useRootByUser),
|
|
14679
|
+
/* harmony export */ "getRootByUser": () => (/* binding */ getRootByUser),
|
|
14680
|
+
/* harmony export */ "useSearch": () => (/* binding */ useSearch),
|
|
14681
|
+
/* harmony export */ "getSearch": () => (/* binding */ getSearch),
|
|
14682
|
+
/* harmony export */ "useSearches": () => (/* binding */ useSearches),
|
|
14683
|
+
/* harmony export */ "getSearches": () => (/* binding */ getSearches),
|
|
14684
|
+
/* harmony export */ "useFoldersByView": () => (/* binding */ useFoldersByView),
|
|
14685
|
+
/* harmony export */ "useFoldersAccordionByView": () => (/* binding */ useFoldersAccordionByView)
|
|
13986
14686
|
/* harmony export */ });
|
|
13987
14687
|
/*
|
|
13988
14688
|
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
@@ -14031,6 +14731,16 @@ var useTags;
|
|
|
14031
14731
|
var getTags;
|
|
14032
14732
|
var useTag;
|
|
14033
14733
|
var getTag;
|
|
14734
|
+
var useFolder;
|
|
14735
|
+
var getFolder;
|
|
14736
|
+
var useFolders;
|
|
14737
|
+
var getFolders;
|
|
14738
|
+
var useRoot;
|
|
14739
|
+
var getRoot;
|
|
14740
|
+
var useRoots;
|
|
14741
|
+
var getRoots;
|
|
14742
|
+
var useRootByView;
|
|
14743
|
+
var getRootByView;
|
|
14034
14744
|
var createTag;
|
|
14035
14745
|
var renameTag;
|
|
14036
14746
|
var deleteTag;
|
|
@@ -14042,7 +14752,7 @@ var getUserSetting;
|
|
|
14042
14752
|
var store;
|
|
14043
14753
|
var useNotify;
|
|
14044
14754
|
var useRefresh;
|
|
14045
|
-
var
|
|
14755
|
+
var AppLink;
|
|
14046
14756
|
var Spinner;
|
|
14047
14757
|
var useAddBoardCallback;
|
|
14048
14758
|
var useUpdateCurrentBoard;
|
|
@@ -14107,7 +14817,32 @@ var pushHistory;
|
|
|
14107
14817
|
var replaceHistory;
|
|
14108
14818
|
var goBackHistory;
|
|
14109
14819
|
var useCurrentRoute;
|
|
14110
|
-
var getCurrentRoute;
|
|
14820
|
+
var getCurrentRoute; // FOLDERS
|
|
14821
|
+
// ROOTS
|
|
14822
|
+
// ROOTS BY USER
|
|
14823
|
+
|
|
14824
|
+
var useRootByUser;
|
|
14825
|
+
var getRootByUser; // SEARCHES
|
|
14826
|
+
|
|
14827
|
+
var useSearch;
|
|
14828
|
+
var getSearch;
|
|
14829
|
+
var useSearches;
|
|
14830
|
+
var getSearches; // Accordion-ize
|
|
14831
|
+
|
|
14832
|
+
var useFoldersByView;
|
|
14833
|
+
var useFoldersAccordionByView;
|
|
14834
|
+
|
|
14835
|
+
/***/ }),
|
|
14836
|
+
|
|
14837
|
+
/***/ "./types/folder/index.d.ts":
|
|
14838
|
+
/*!*********************************!*\
|
|
14839
|
+
!*** ./types/folder/index.d.ts ***!
|
|
14840
|
+
\*********************************/
|
|
14841
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14842
|
+
|
|
14843
|
+
"use strict";
|
|
14844
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14845
|
+
|
|
14111
14846
|
|
|
14112
14847
|
/***/ }),
|
|
14113
14848
|
|
|
@@ -14121,7 +14856,7 @@ var getCurrentRoute;
|
|
|
14121
14856
|
__webpack_require__.r(__webpack_exports__);
|
|
14122
14857
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14123
14858
|
/* harmony export */ "ACTION_TYPES": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.ACTION_TYPES),
|
|
14124
|
-
/* harmony export */ "
|
|
14859
|
+
/* harmony export */ "AppLink": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.AppLink),
|
|
14125
14860
|
/* harmony export */ "BASENAME": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.BASENAME),
|
|
14126
14861
|
/* harmony export */ "FOLDERS": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.FOLDERS),
|
|
14127
14862
|
/* harmony export */ "SEARCH_APP_ID": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.SEARCH_APP_ID),
|
|
@@ -14149,9 +14884,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14149
14884
|
/* harmony export */ "getAppContext": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getAppContext),
|
|
14150
14885
|
/* harmony export */ "getBridgedFunctions": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getBridgedFunctions),
|
|
14151
14886
|
/* harmony export */ "getCurrentRoute": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getCurrentRoute),
|
|
14887
|
+
/* harmony export */ "getFolder": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getFolder),
|
|
14888
|
+
/* harmony export */ "getFolders": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getFolders),
|
|
14152
14889
|
/* harmony export */ "getIntegratedComponent": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getIntegratedComponent),
|
|
14153
14890
|
/* harmony export */ "getIntegratedFunction": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getIntegratedFunction),
|
|
14154
14891
|
/* harmony export */ "getIntegratedHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getIntegratedHook),
|
|
14892
|
+
/* harmony export */ "getRoot": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getRoot),
|
|
14893
|
+
/* harmony export */ "getRootByUser": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getRootByUser),
|
|
14894
|
+
/* harmony export */ "getRootByView": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getRootByView),
|
|
14895
|
+
/* harmony export */ "getRoots": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getRoots),
|
|
14896
|
+
/* harmony export */ "getSearch": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getSearch),
|
|
14897
|
+
/* harmony export */ "getSearches": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getSearches),
|
|
14155
14898
|
/* harmony export */ "getTag": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getTag),
|
|
14156
14899
|
/* harmony export */ "getTags": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getTags),
|
|
14157
14900
|
/* harmony export */ "getUserAccount": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.getUserAccount),
|
|
@@ -14195,6 +14938,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14195
14938
|
/* harmony export */ "useAppContext": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useAppContext),
|
|
14196
14939
|
/* harmony export */ "useBoardConfig": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useBoardConfig),
|
|
14197
14940
|
/* harmony export */ "useCurrentRoute": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useCurrentRoute),
|
|
14941
|
+
/* harmony export */ "useFolder": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useFolder),
|
|
14942
|
+
/* harmony export */ "useFolders": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useFolders),
|
|
14943
|
+
/* harmony export */ "useFoldersAccordionByView": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useFoldersAccordionByView),
|
|
14944
|
+
/* harmony export */ "useFoldersByView": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useFoldersByView),
|
|
14198
14945
|
/* harmony export */ "useGoBackHistoryCallback": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useGoBackHistoryCallback),
|
|
14199
14946
|
/* harmony export */ "useIntegratedComponent": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useIntegratedComponent),
|
|
14200
14947
|
/* harmony export */ "useIntegratedFunction": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useIntegratedFunction),
|
|
@@ -14205,6 +14952,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14205
14952
|
/* harmony export */ "useRefresh": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useRefresh),
|
|
14206
14953
|
/* harmony export */ "useRemoveCurrentBoard": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useRemoveCurrentBoard),
|
|
14207
14954
|
/* harmony export */ "useReplaceHistoryCallback": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useReplaceHistoryCallback),
|
|
14955
|
+
/* harmony export */ "useRoot": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useRoot),
|
|
14956
|
+
/* harmony export */ "useRootByUser": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useRootByUser),
|
|
14957
|
+
/* harmony export */ "useRootByView": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useRootByView),
|
|
14958
|
+
/* harmony export */ "useRoots": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useRoots),
|
|
14959
|
+
/* harmony export */ "useSearch": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useSearch),
|
|
14960
|
+
/* harmony export */ "useSearches": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useSearches),
|
|
14208
14961
|
/* harmony export */ "useTag": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useTag),
|
|
14209
14962
|
/* harmony export */ "useTags": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useTags),
|
|
14210
14963
|
/* harmony export */ "useUpdateCurrentBoard": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useUpdateCurrentBoard),
|
|
@@ -14214,7 +14967,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14214
14967
|
/* harmony export */ "useUserRights": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useUserRights),
|
|
14215
14968
|
/* harmony export */ "useUserSetting": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useUserSetting),
|
|
14216
14969
|
/* harmony export */ "useUserSettings": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.useUserSettings),
|
|
14217
|
-
/* harmony export */ "xmlSoapFetch": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.xmlSoapFetch)
|
|
14970
|
+
/* harmony export */ "xmlSoapFetch": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_1__.xmlSoapFetch),
|
|
14971
|
+
/* harmony export */ "JSNS": () => (/* reexport safe */ _misc__WEBPACK_IMPORTED_MODULE_7__.JSNS)
|
|
14218
14972
|
/* harmony export */ });
|
|
14219
14973
|
/* harmony import */ var _network__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./network */ "./types/network/index.d.ts");
|
|
14220
14974
|
/* harmony import */ var _exports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./exports */ "./types/exports/index.d.ts");
|
|
@@ -14226,6 +14980,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14226
14980
|
/* harmony import */ var _misc__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./misc */ "./types/misc/index.d.ts");
|
|
14227
14981
|
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./tags */ "./types/tags/index.d.ts");
|
|
14228
14982
|
/* harmony import */ var _workers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./workers */ "./types/workers/index.d.ts");
|
|
14983
|
+
/* harmony import */ var _folder__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./folder */ "./types/folder/index.d.ts");
|
|
14229
14984
|
/*
|
|
14230
14985
|
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
14231
14986
|
*
|
|
@@ -14242,6 +14997,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14242
14997
|
|
|
14243
14998
|
|
|
14244
14999
|
|
|
15000
|
+
|
|
14245
15001
|
/***/ }),
|
|
14246
15002
|
|
|
14247
15003
|
/***/ "./types/integrations/index.d.ts":
|
|
@@ -14264,7 +15020,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14264
15020
|
|
|
14265
15021
|
"use strict";
|
|
14266
15022
|
__webpack_require__.r(__webpack_exports__);
|
|
15023
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15024
|
+
/* harmony export */ "JSNS": () => (/* binding */ JSNS)
|
|
15025
|
+
/* harmony export */ });
|
|
15026
|
+
/*
|
|
15027
|
+
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
15028
|
+
*
|
|
15029
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
15030
|
+
*/
|
|
15031
|
+
var JSNS;
|
|
14267
15032
|
|
|
15033
|
+
(function (JSNS) {
|
|
15034
|
+
JSNS["ACCOUNT"] = "urn:zimbraAccount";
|
|
15035
|
+
JSNS["ADMIN"] = "urn:zimbraAdmin";
|
|
15036
|
+
JSNS["MAIL"] = "urn:zimbraMail";
|
|
15037
|
+
JSNS["ALL"] = "urn:zimbra";
|
|
15038
|
+
JSNS["SYNC"] = "urn:zimbraSync";
|
|
15039
|
+
})(JSNS || (JSNS = {}));
|
|
14268
15040
|
|
|
14269
15041
|
/***/ }),
|
|
14270
15042
|
|
|
@@ -14274,6 +15046,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14274
15046
|
\**********************************/
|
|
14275
15047
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14276
15048
|
|
|
15049
|
+
"use strict";
|
|
15050
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15051
|
+
/* harmony import */ var _soap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./soap */ "./types/network/soap.d.ts");
|
|
15052
|
+
/*
|
|
15053
|
+
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
15054
|
+
*
|
|
15055
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
15056
|
+
*/
|
|
15057
|
+
|
|
15058
|
+
|
|
15059
|
+
|
|
15060
|
+
/***/ }),
|
|
15061
|
+
|
|
15062
|
+
/***/ "./types/network/soap.d.ts":
|
|
15063
|
+
/*!*********************************!*\
|
|
15064
|
+
!*** ./types/network/soap.d.ts ***!
|
|
15065
|
+
\*********************************/
|
|
15066
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15067
|
+
|
|
14277
15068
|
"use strict";
|
|
14278
15069
|
__webpack_require__.r(__webpack_exports__);
|
|
14279
15070
|
|
|
@@ -14655,4 +15446,4 @@ webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";
|
|
|
14655
15446
|
/***/ })
|
|
14656
15447
|
|
|
14657
15448
|
}]);
|
|
14658
|
-
//# sourceMappingURL=src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.
|
|
15449
|
+
//# sourceMappingURL=src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.b2fa4170.chunk.js.map
|