@zextras/carbonio-shell-ui 9.0.0-devel.1736931653329 → 9.0.1

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.
Files changed (151) hide show
  1. package/lib/boot/app/app-context-provider.d.ts +0 -5
  2. package/lib/boot/app/app-context-provider.js +0 -5
  3. package/lib/boot/app/app-context-provider.js.map +1 -1
  4. package/lib/boot/app/app-dependant-exports.d.ts +2 -1
  5. package/lib/boot/app/app-dependant-exports.js +1 -0
  6. package/lib/boot/app/app-dependant-exports.js.map +1 -1
  7. package/lib/boot/app/app-direct-exports.d.ts +8 -19
  8. package/lib/boot/app/app-direct-exports.js +30 -18
  9. package/lib/boot/app/app-direct-exports.js.map +1 -1
  10. package/lib/boot/app/app-error-catcher.js +7 -17
  11. package/lib/boot/app/app-error-catcher.js.map +1 -1
  12. package/lib/constants/index.d.ts +50 -1
  13. package/lib/constants/index.js +59 -3
  14. package/lib/constants/index.js.map +1 -1
  15. package/lib/constants/locales.d.ts +87 -6
  16. package/lib/constants/locales.js +19 -92
  17. package/lib/constants/locales.js.map +1 -1
  18. package/lib/dark-mode/use-dark-reader-result-value.js +4 -3
  19. package/lib/dark-mode/use-dark-reader-result-value.js.map +1 -1
  20. package/lib/history/hooks.d.ts +2 -2
  21. package/lib/history/hooks.js +2 -2
  22. package/lib/history/hooks.js.map +1 -1
  23. package/lib/lib.d.ts +8 -2
  24. package/lib/lib.js +1 -1
  25. package/lib/lib.js.map +1 -1
  26. package/lib/network/edit-settings.d.ts +1 -1
  27. package/lib/network/fetch-utils.d.ts +1 -1
  28. package/lib/network/fetch.d.ts +3 -3
  29. package/lib/network/fetch.js +1 -0
  30. package/lib/network/fetch.js.map +1 -1
  31. package/lib/network/tags.d.ts +27 -0
  32. package/lib/network/tags.js +31 -0
  33. package/lib/network/tags.js.map +1 -0
  34. package/lib/network/utils.js +3 -2
  35. package/lib/network/utils.js.map +1 -1
  36. package/lib/search/run-search.d.ts +2 -0
  37. package/lib/search/run-search.js +17 -0
  38. package/lib/search/run-search.js.map +1 -0
  39. package/lib/search/search-store.d.ts +2 -0
  40. package/lib/search/search-store.js +20 -0
  41. package/lib/search/search-store.js.map +1 -0
  42. package/lib/search/useSearchModule.d.ts +3 -0
  43. package/lib/search/useSearchModule.js +21 -0
  44. package/lib/search/useSearchModule.js.map +1 -0
  45. package/lib/settings/components/settings-header.js +7 -17
  46. package/lib/settings/components/settings-header.js.map +1 -1
  47. package/lib/shell/creation-button.js +8 -24
  48. package/lib/shell/creation-button.js.map +1 -1
  49. package/lib/shell/hooks/useLocalStorage.js +2 -2
  50. package/lib/shell/hooks/useLocalStorage.js.map +1 -1
  51. package/lib/store/account/utils.js +5 -4
  52. package/lib/store/account/utils.js.map +1 -1
  53. package/lib/store/app/store.d.ts +4 -2
  54. package/lib/store/app/store.js +28 -5
  55. package/lib/store/app/store.js.map +1 -1
  56. package/lib/store/app/utils.d.ts +3 -2
  57. package/lib/store/app/utils.js +14 -1
  58. package/lib/store/app/utils.js.map +1 -1
  59. package/lib/store/boards/hooks.js +7 -17
  60. package/lib/store/boards/hooks.js.map +1 -1
  61. package/lib/store/boards/store.d.ts +4 -4
  62. package/lib/store/folder/hooks.d.ts +21 -0
  63. package/lib/store/folder/hooks.js +77 -0
  64. package/lib/store/folder/hooks.js.map +1 -0
  65. package/lib/store/folder/index.d.ts +2 -0
  66. package/lib/store/folder/index.js +24 -0
  67. package/lib/store/folder/index.js.map +1 -0
  68. package/lib/store/folder/store.d.ts +2 -0
  69. package/lib/store/folder/store.js +20 -0
  70. package/lib/store/folder/store.js.map +1 -0
  71. package/lib/store/folder/utils.d.ts +16 -0
  72. package/lib/store/folder/utils.js +53 -0
  73. package/lib/store/folder/utils.js.map +1 -0
  74. package/lib/store/i18n/store.js +4 -14
  75. package/lib/store/i18n/store.js.map +1 -1
  76. package/lib/store/integrations/composer.d.ts +1 -1
  77. package/lib/store/integrations/composer.js +7 -17
  78. package/lib/store/integrations/composer.js.map +1 -1
  79. package/lib/store/integrations/getters.d.ts +4 -4
  80. package/lib/store/integrations/getters.js +1 -3
  81. package/lib/store/integrations/getters.js.map +1 -1
  82. package/lib/store/integrations/hooks.d.ts +4 -4
  83. package/lib/store/integrations/hooks.js.map +1 -1
  84. package/lib/store/integrations/utils.d.ts +2 -2
  85. package/lib/store/integrations/utils.js +8 -12
  86. package/lib/store/integrations/utils.js.map +1 -1
  87. package/lib/store/login/getters.js +3 -2
  88. package/lib/store/login/getters.js.map +1 -1
  89. package/lib/store/login/hooks.js +3 -2
  90. package/lib/store/login/hooks.js.map +1 -1
  91. package/lib/store/network/utils.d.ts +2 -1
  92. package/lib/store/network/utils.js +46 -5
  93. package/lib/store/network/utils.js.map +1 -1
  94. package/lib/store/tags/hooks.d.ts +3 -0
  95. package/lib/store/tags/hooks.js +15 -0
  96. package/lib/store/tags/hooks.js.map +1 -0
  97. package/lib/store/tags/index.d.ts +2 -0
  98. package/lib/store/tags/index.js +24 -0
  99. package/lib/store/tags/index.js.map +1 -0
  100. package/lib/store/tags/store.d.ts +2 -0
  101. package/lib/store/tags/store.js +18 -0
  102. package/lib/store/tags/store.js.map +1 -0
  103. package/lib/types/apps/index.d.ts +15 -2
  104. package/lib/types/folder/index.d.ts +29 -0
  105. package/lib/types/folder/index.js +8 -0
  106. package/lib/types/folder/index.js.map +1 -0
  107. package/lib/types/misc/index.d.ts +16 -0
  108. package/lib/types/network/index.d.ts +1 -0
  109. package/lib/types/search/index.d.ts +11 -0
  110. package/lib/types/search/index.js +23 -0
  111. package/lib/types/search/index.js.map +1 -0
  112. package/lib/types/search/items.d.ts +6 -0
  113. package/lib/types/{theme.js → search/items.js} +1 -1
  114. package/lib/types/search/items.js.map +1 -0
  115. package/lib/types/tags/index.d.ts +4 -0
  116. package/lib/types/workers/index.d.ts +17 -0
  117. package/lib/types/workers/index.js +3 -0
  118. package/lib/types/workers/index.js.map +1 -0
  119. package/lib/ui-extras/app-link.js +7 -17
  120. package/lib/ui-extras/app-link.js.map +1 -1
  121. package/lib/ui-extras/nav-guard.js +7 -17
  122. package/lib/ui-extras/nav-guard.js.map +1 -1
  123. package/lib/ui-extras/spinner.d.ts +2 -0
  124. package/lib/ui-extras/spinner.js +18 -0
  125. package/lib/ui-extras/spinner.js.map +1 -0
  126. package/lib/utils/typeUtils.d.ts +1 -0
  127. package/lib/utils/utils.d.ts +3 -0
  128. package/lib/utils/utils.js +6 -4
  129. package/lib/utils/utils.js.map +1 -1
  130. package/lib/workers/index.d.ts +2 -0
  131. package/lib/workers/index.js +15 -0
  132. package/lib/workers/index.js.map +1 -0
  133. package/package.json +20 -22
  134. package/THIRDPARTIES +0 -431
  135. package/lib/network/logout.d.ts +0 -1
  136. package/lib/network/logout.js +0 -29
  137. package/lib/network/logout.js.map +0 -1
  138. package/lib/types/theme.d.ts +0 -10
  139. package/lib/types/theme.js.map +0 -1
  140. package/lib/ui-extras/auth-guard.d.ts +0 -5
  141. package/lib/ui-extras/auth-guard.js +0 -14
  142. package/lib/ui-extras/auth-guard.js.map +0 -1
  143. package/lib/utility-bar/bar.d.ts +0 -19
  144. package/lib/utility-bar/bar.js +0 -129
  145. package/lib/utility-bar/bar.js.map +0 -1
  146. package/lib/utility-bar/store.d.ts +0 -2
  147. package/lib/utility-bar/store.js +0 -19
  148. package/lib/utility-bar/store.js.map +0 -1
  149. package/lib/utility-bar/utils.d.ts +0 -4
  150. package/lib/utility-bar/utils.js +0 -30
  151. package/lib/utility-bar/utils.js.map +0 -1
@@ -3,10 +3,5 @@ interface AppContextProviderProps {
3
3
  pkg: string;
4
4
  children: React.ReactNode | React.ReactNode[];
5
5
  }
6
- /**
7
- * Provide all the base providers of an app (e.g. i18n)
8
- * @param pkg - The app key of the module
9
- * @param children -
10
- */
11
6
  export declare const AppContextProvider: ({ pkg, children }: AppContextProviderProps) => React.JSX.Element;
12
7
  export {};
@@ -12,11 +12,6 @@ exports.AppContextProvider = void 0;
12
12
  const react_1 = __importDefault(require("react"));
13
13
  const app_error_catcher_1 = require("./app-error-catcher");
14
14
  const module_i18next_provider_1 = require("../module-i18next-provider");
15
- /**
16
- * Provide all the base providers of an app (e.g. i18n)
17
- * @param pkg - The app key of the module
18
- * @param children -
19
- */
20
15
  const AppContextProvider = ({ pkg, children }) => (react_1.default.createElement(module_i18next_provider_1.ModuleI18nextProvider, { pkg: pkg },
21
16
  react_1.default.createElement(app_error_catcher_1.AppErrorCatcher, null, children)));
22
17
  exports.AppContextProvider = AppContextProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"app-context-provider.js","sourceRoot":"","sources":["../../../src/boot/app/app-context-provider.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,kDAA0B;AAE1B,2DAAsD;AACtD,wEAAmE;AAOnE;;;;GAIG;AACI,MAAM,kBAAkB,GAAG,CAAC,EAClC,GAAG,EACH,QAAQ,EACiB,EAAqB,EAAE,CAAC,CACjD,8BAAC,+CAAqB,IAAC,GAAG,EAAE,GAAG;IAC9B,8BAAC,mCAAe,QAAE,QAAQ,CAAmB,CACtB,CACxB,CAAC;AAPW,QAAA,kBAAkB,sBAO7B"}
1
+ {"version":3,"file":"app-context-provider.js","sourceRoot":"","sources":["../../../src/boot/app/app-context-provider.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,kDAA0B;AAE1B,2DAAsD;AACtD,wEAAmE;AAO5D,MAAM,kBAAkB,GAAG,CAAC,EAClC,GAAG,EACH,QAAQ,EACiB,EAAqB,EAAE,CAAC,CACjD,8BAAC,+CAAqB,IAAC,GAAG,EAAE,GAAG;IAC9B,8BAAC,mCAAe,QAAE,QAAQ,CAAmB,CACtB,CACxB,CAAC;AAPW,QAAA,kBAAkB,sBAO7B"}
@@ -6,12 +6,13 @@ import { addBoard } from '../../store/boards';
6
6
  import type { ContextBridgeState } from '../../store/context-bridge';
7
7
  import { getI18n, getTFunction } from '../../store/i18n/hooks';
8
8
  import type { IntegrationActions } from '../../store/integrations/store';
9
- import type { AppRouteDescriptor, BoardView, CarbonioModule, PrimaryAccessoryView, SecondaryAccessoryView, SettingsView, UtilityView } from '../../types/apps';
9
+ import type { AppRouteDescriptor, BoardView, CarbonioModule, PrimaryAccessoryView, SearchView, SecondaryAccessoryView, SettingsView, UtilityView } from '../../types/apps';
10
10
  export type AppDependantExports = {
11
11
  setAppContext: ReturnType<StoreAppSetters['setAppContext']>;
12
12
  addRoute: (data: Partial<AppRouteDescriptor>) => ReturnType<StoreAppSetters['addRoute']>;
13
13
  addBoardView: (data: Omit<BoardView, 'app'>) => ReturnType<StoreAppSetters['addBoardView']>;
14
14
  addSettingsView: (data: Partial<SettingsView>) => ReturnType<StoreAppSetters['addSettingsView']>;
15
+ addSearchView: (data: Partial<SearchView>) => ReturnType<StoreAppSetters['addSearchView']>;
15
16
  addUtilityView: (data: Partial<UtilityView>) => ReturnType<StoreAppSetters['addUtilityView']>;
16
17
  addPrimaryAccessoryView: (data: Partial<PrimaryAccessoryView>) => ReturnType<StoreAppSetters['addPrimaryAccessoryView']>;
17
18
  addSecondaryAccessoryView: (data: Partial<SecondaryAccessoryView>) => ReturnType<StoreAppSetters['addSecondaryAccessoryView']>;
@@ -23,6 +23,7 @@ const getAppDependantExports = (pkg) => {
23
23
  addRoute: (route) => appStore.addRoute((0, utils_1.normalizeRoute)(route, pkg)),
24
24
  addBoardView: (data) => appStore.addBoardView((0, utils_1.normalizeBoardView)(data, pkg)),
25
25
  addSettingsView: (data) => appStore.addSettingsView((0, utils_1.normalizeSettingsView)(data, pkg)),
26
+ addSearchView: (data) => appStore.addSearchView((0, utils_1.normalizeSearchView)(data, pkg)),
26
27
  addUtilityView: (data) => appStore.addUtilityView((0, utils_1.normalizeUtilityView)(data, pkg)),
27
28
  addPrimaryAccessoryView: (data) => appStore.addPrimaryAccessoryView((0, utils_1.normalizePrimaryAccessoryView)(data, pkg)),
28
29
  addSecondaryAccessoryView: (data) => appStore.addSecondaryAccessoryView((0, utils_1.normalizeSecondaryAccessoryView)(data, pkg)),
@@ -1 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,0BAyCjC"}
@@ -1,35 +1,24 @@
1
1
  export { useAction, useActions, useIntegratedComponent, useIntegratedFunction } from '../../store/integrations/hooks';
2
2
  export { getAction, getActions, getIntegratedComponent, getIntegratedFunction } from '../../store/integrations/getters';
3
- export declare const registerFunctions: (...items: Array<{
3
+ export declare const registerFunctions: (...items: {
4
4
  id: string;
5
5
  fn: import("../../utils/typeUtils").AnyFunction;
6
- }>) => void, removeFunctions: (...ids: Array<string>) => void, registerActions: <TAction extends import("../../lib").Action = import("../../lib").Action>(...items: Array<{
6
+ }[]) => void, removeFunctions: (...ids: string[]) => void, registerActions: <TAction extends import("../../lib").Action = import("../../lib").Action>(...items: {
7
7
  id: string;
8
8
  action: import("../../types/integrations").ActionFactory<unknown, TAction>;
9
9
  type: string;
10
- }>) => void, removeActions: (...ids: Array<string>) => void, removeComponents: (...ids: Array<string>) => void;
10
+ }[]) => void, removeActions: (...ids: string[]) => void, removeComponents: (...ids: string[]) => void;
11
11
  export { getUserAccount, getUserAccounts, getUserSetting, getUserSettings, useUserAccount, useUserAccounts, useUserSetting, useUserSettings, useUserRight, useUserRights, getUserRight, getUserRights, useAuthenticated, updateSettings, updateAccount } from '../../store/account';
12
+ export { getTags, useTags } from '../../store/tags';
13
+ export { changeTagColor, createTag, deleteTag, renameTag } from '../../network/tags';
12
14
  export { useNotify, useRefresh } from '../../store/network';
15
+ export { getFolder, getFolders, useFolder, useFolders, useRoot, getRoot, useRoots, getRoots, useSearchFolder, useSearchFolders, getSearchFolder, getSearchFolders, useFoldersByView, useFoldersAccordionByView, useRootByUser, getRootByUser } from '../../store/folder';
13
16
  export { closeBoard, updateBoard, updateBoardContext, getBoardById, getBoardContextById, useBoardContextById, useBoardById, useBoard, minimizeBoards, expandBoards, reopenBoards, setCurrentBoard, useBoardHooks } from '../../store/boards';
14
17
  export { usePushHistoryCallback, useGoBackHistoryCallback, useReplaceHistoryCallback, getCurrentRoute, useCurrentRoute, replaceHistory, goBackHistory, pushHistory } from '../../history/hooks';
15
18
  export { getNotificationManager } from '../../notification/NotificationManager';
19
+ export { runSearch } from '../../search/run-search';
16
20
  export { useLocalStorage } from '../../shell/hooks/useLocalStorage';
17
- export declare const updatePrimaryBadge: (badge: Partial<import("../../lib").BadgeInfo>, id: string) => void, setRouteVisibility: (id: string, visible: boolean) => void, removeRoute: (id: string) => void, removeBoardView: (id: string) => void, removeSettingsView: (id: string) => void, removeUtilityView: (id: string) => void, removePrimaryAccessoryView: (id: string) => void, removeSecondaryAccessoryView: (id: string) => void,
18
- /**
19
- * Add or update the translatable display label for an app.
20
- * These fields are the ones used in the UI.
21
- * @param app - The app to update based on the name field
22
- * @example
23
- * upsertApp(\{
24
- * name: 'carbonio-example-ui',
25
- * display: t('label.app_name', 'Example')
26
- * \});
27
- */
28
- upsertApp: (app: Pick<import("../../types/apps").CarbonioModule, "name" | "display">) => void;
21
+ export declare const updatePrimaryBadge: (badge: Partial<import("../../lib").BadgeInfo>, id: string) => void, setRouteVisibility: (id: string, visible: boolean) => void, removeRoute: (id: string) => void, removeBoardView: (id: string) => void, removeSettingsView: (id: string) => void, removeSearchView: (id: string) => void, removeUtilityView: (id: string) => void, removePrimaryAccessoryView: (id: string) => void, removeSecondaryAccessoryView: (id: string) => void;
29
22
  export { useIsCarbonioCE } from '../../store/login/hooks';
30
23
  export type { NewAction } from '../../shell/creation-button';
31
- export type { AccountMenuAction } from '../../utility-bar/bar';
32
24
  export { useTracker } from '../../tracker/tracker';
33
- export { AppContextProvider } from './app-context-provider';
34
- export type { AuthGuardProps } from '../../ui-extras/auth-guard';
35
- export { AuthGuard } from '../../ui-extras/auth-guard';
@@ -6,8 +6,8 @@
6
6
  */
7
7
  var _a, _b;
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.goBackHistory = exports.replaceHistory = exports.useCurrentRoute = exports.getCurrentRoute = exports.useReplaceHistoryCallback = exports.useGoBackHistoryCallback = exports.usePushHistoryCallback = exports.useBoardHooks = exports.setCurrentBoard = exports.reopenBoards = exports.expandBoards = exports.minimizeBoards = exports.useBoard = exports.useBoardById = exports.useBoardContextById = exports.getBoardContextById = exports.getBoardById = exports.updateBoardContext = exports.updateBoard = exports.closeBoard = exports.useRefresh = exports.useNotify = exports.updateAccount = exports.updateSettings = exports.useAuthenticated = exports.getUserRights = exports.getUserRight = exports.useUserRights = exports.useUserRight = exports.useUserSettings = exports.useUserSetting = exports.useUserAccounts = exports.useUserAccount = exports.getUserSettings = exports.getUserSetting = exports.getUserAccounts = exports.getUserAccount = exports.removeComponents = exports.removeActions = exports.registerActions = exports.removeFunctions = exports.registerFunctions = exports.getIntegratedFunction = exports.getIntegratedComponent = exports.getActions = exports.getAction = exports.useIntegratedFunction = exports.useIntegratedComponent = exports.useActions = exports.useAction = void 0;
10
- exports.AuthGuard = exports.AppContextProvider = exports.useTracker = exports.useIsCarbonioCE = exports.upsertApp = exports.removeSecondaryAccessoryView = exports.removePrimaryAccessoryView = exports.removeUtilityView = exports.removeSettingsView = exports.removeBoardView = exports.removeRoute = exports.setRouteVisibility = exports.updatePrimaryBadge = exports.useLocalStorage = exports.getNotificationManager = exports.pushHistory = void 0;
9
+ exports.useFoldersAccordionByView = exports.useFoldersByView = exports.getSearchFolders = exports.getSearchFolder = exports.useSearchFolders = exports.useSearchFolder = exports.getRoots = exports.useRoots = exports.getRoot = exports.useRoot = exports.useFolders = exports.useFolder = exports.getFolders = exports.getFolder = exports.useRefresh = exports.useNotify = exports.renameTag = exports.deleteTag = exports.createTag = exports.changeTagColor = exports.useTags = exports.getTags = exports.updateAccount = exports.updateSettings = exports.useAuthenticated = exports.getUserRights = exports.getUserRight = exports.useUserRights = exports.useUserRight = exports.useUserSettings = exports.useUserSetting = exports.useUserAccounts = exports.useUserAccount = exports.getUserSettings = exports.getUserSetting = exports.getUserAccounts = exports.getUserAccount = exports.removeComponents = exports.removeActions = exports.registerActions = exports.removeFunctions = exports.registerFunctions = exports.getIntegratedFunction = exports.getIntegratedComponent = exports.getActions = exports.getAction = exports.useIntegratedFunction = exports.useIntegratedComponent = exports.useActions = exports.useAction = void 0;
10
+ exports.useTracker = exports.useIsCarbonioCE = exports.removeSecondaryAccessoryView = exports.removePrimaryAccessoryView = exports.removeUtilityView = exports.removeSearchView = exports.removeSettingsView = exports.removeBoardView = exports.removeRoute = exports.setRouteVisibility = exports.updatePrimaryBadge = exports.useLocalStorage = exports.runSearch = exports.getNotificationManager = exports.pushHistory = exports.goBackHistory = exports.replaceHistory = exports.useCurrentRoute = exports.getCurrentRoute = exports.useReplaceHistoryCallback = exports.useGoBackHistoryCallback = exports.usePushHistoryCallback = exports.useBoardHooks = exports.setCurrentBoard = exports.reopenBoards = exports.expandBoards = exports.minimizeBoards = exports.useBoard = exports.useBoardById = exports.useBoardContextById = exports.getBoardContextById = exports.getBoardById = exports.updateBoardContext = exports.updateBoard = exports.closeBoard = exports.getRootByUser = exports.useRootByUser = void 0;
11
11
  const app_1 = require("../../store/app");
12
12
  const store_1 = require("../../store/integrations/store");
13
13
  var hooks_1 = require("../../store/integrations/hooks");
@@ -37,9 +37,34 @@ Object.defineProperty(exports, "getUserRights", { enumerable: true, get: functio
37
37
  Object.defineProperty(exports, "useAuthenticated", { enumerable: true, get: function () { return account_1.useAuthenticated; } });
38
38
  Object.defineProperty(exports, "updateSettings", { enumerable: true, get: function () { return account_1.updateSettings; } });
39
39
  Object.defineProperty(exports, "updateAccount", { enumerable: true, get: function () { return account_1.updateAccount; } });
40
+ var tags_1 = require("../../store/tags");
41
+ Object.defineProperty(exports, "getTags", { enumerable: true, get: function () { return tags_1.getTags; } });
42
+ Object.defineProperty(exports, "useTags", { enumerable: true, get: function () { return tags_1.useTags; } });
43
+ var tags_2 = require("../../network/tags");
44
+ Object.defineProperty(exports, "changeTagColor", { enumerable: true, get: function () { return tags_2.changeTagColor; } });
45
+ Object.defineProperty(exports, "createTag", { enumerable: true, get: function () { return tags_2.createTag; } });
46
+ Object.defineProperty(exports, "deleteTag", { enumerable: true, get: function () { return tags_2.deleteTag; } });
47
+ Object.defineProperty(exports, "renameTag", { enumerable: true, get: function () { return tags_2.renameTag; } });
40
48
  var network_1 = require("../../store/network");
41
49
  Object.defineProperty(exports, "useNotify", { enumerable: true, get: function () { return network_1.useNotify; } });
42
50
  Object.defineProperty(exports, "useRefresh", { enumerable: true, get: function () { return network_1.useRefresh; } });
51
+ var folder_1 = require("../../store/folder");
52
+ Object.defineProperty(exports, "getFolder", { enumerable: true, get: function () { return folder_1.getFolder; } });
53
+ Object.defineProperty(exports, "getFolders", { enumerable: true, get: function () { return folder_1.getFolders; } });
54
+ Object.defineProperty(exports, "useFolder", { enumerable: true, get: function () { return folder_1.useFolder; } });
55
+ Object.defineProperty(exports, "useFolders", { enumerable: true, get: function () { return folder_1.useFolders; } });
56
+ Object.defineProperty(exports, "useRoot", { enumerable: true, get: function () { return folder_1.useRoot; } });
57
+ Object.defineProperty(exports, "getRoot", { enumerable: true, get: function () { return folder_1.getRoot; } });
58
+ Object.defineProperty(exports, "useRoots", { enumerable: true, get: function () { return folder_1.useRoots; } });
59
+ Object.defineProperty(exports, "getRoots", { enumerable: true, get: function () { return folder_1.getRoots; } });
60
+ Object.defineProperty(exports, "useSearchFolder", { enumerable: true, get: function () { return folder_1.useSearchFolder; } });
61
+ Object.defineProperty(exports, "useSearchFolders", { enumerable: true, get: function () { return folder_1.useSearchFolders; } });
62
+ Object.defineProperty(exports, "getSearchFolder", { enumerable: true, get: function () { return folder_1.getSearchFolder; } });
63
+ Object.defineProperty(exports, "getSearchFolders", { enumerable: true, get: function () { return folder_1.getSearchFolders; } });
64
+ Object.defineProperty(exports, "useFoldersByView", { enumerable: true, get: function () { return folder_1.useFoldersByView; } });
65
+ Object.defineProperty(exports, "useFoldersAccordionByView", { enumerable: true, get: function () { return folder_1.useFoldersAccordionByView; } });
66
+ Object.defineProperty(exports, "useRootByUser", { enumerable: true, get: function () { return folder_1.useRootByUser; } });
67
+ Object.defineProperty(exports, "getRootByUser", { enumerable: true, get: function () { return folder_1.getRootByUser; } });
43
68
  var boards_1 = require("../../store/boards");
44
69
  Object.defineProperty(exports, "closeBoard", { enumerable: true, get: function () { return boards_1.closeBoard; } });
45
70
  Object.defineProperty(exports, "updateBoard", { enumerable: true, get: function () { return boards_1.updateBoard; } });
@@ -65,26 +90,13 @@ Object.defineProperty(exports, "goBackHistory", { enumerable: true, get: functio
65
90
  Object.defineProperty(exports, "pushHistory", { enumerable: true, get: function () { return hooks_2.pushHistory; } });
66
91
  var NotificationManager_1 = require("../../notification/NotificationManager");
67
92
  Object.defineProperty(exports, "getNotificationManager", { enumerable: true, get: function () { return NotificationManager_1.getNotificationManager; } });
93
+ var run_search_1 = require("../../search/run-search");
94
+ Object.defineProperty(exports, "runSearch", { enumerable: true, get: function () { return run_search_1.runSearch; } });
68
95
  var useLocalStorage_1 = require("../../shell/hooks/useLocalStorage");
69
96
  Object.defineProperty(exports, "useLocalStorage", { enumerable: true, get: function () { return useLocalStorage_1.useLocalStorage; } });
70
- _b = app_1.useAppStore.getState(), exports.updatePrimaryBadge = _b.updatePrimaryBadge, exports.setRouteVisibility = _b.setRouteVisibility, exports.removeRoute = _b.removeRoute, exports.removeBoardView = _b.removeBoardView, exports.removeSettingsView = _b.removeSettingsView, exports.removeUtilityView = _b.removeUtilityView, exports.removePrimaryAccessoryView = _b.removePrimaryAccessoryView, exports.removeSecondaryAccessoryView = _b.removeSecondaryAccessoryView,
71
- /**
72
- * Add or update the translatable display label for an app.
73
- * These fields are the ones used in the UI.
74
- * @param app - The app to update based on the name field
75
- * @example
76
- * upsertApp(\{
77
- * name: 'carbonio-example-ui',
78
- * display: t('label.app_name', 'Example')
79
- * \});
80
- */
81
- exports.upsertApp = _b.upsertApp;
97
+ _b = app_1.useAppStore.getState(), exports.updatePrimaryBadge = _b.updatePrimaryBadge, exports.setRouteVisibility = _b.setRouteVisibility, exports.removeRoute = _b.removeRoute, exports.removeBoardView = _b.removeBoardView, exports.removeSettingsView = _b.removeSettingsView, exports.removeSearchView = _b.removeSearchView, exports.removeUtilityView = _b.removeUtilityView, exports.removePrimaryAccessoryView = _b.removePrimaryAccessoryView, exports.removeSecondaryAccessoryView = _b.removeSecondaryAccessoryView;
82
98
  var hooks_3 = require("../../store/login/hooks");
83
99
  Object.defineProperty(exports, "useIsCarbonioCE", { enumerable: true, get: function () { return hooks_3.useIsCarbonioCE; } });
84
100
  var tracker_1 = require("../../tracker/tracker");
85
101
  Object.defineProperty(exports, "useTracker", { enumerable: true, get: function () { return tracker_1.useTracker; } });
86
- var app_context_provider_1 = require("./app-context-provider");
87
- Object.defineProperty(exports, "AppContextProvider", { enumerable: true, get: function () { return app_context_provider_1.AppContextProvider; } });
88
- var auth_guard_1 = require("../../ui-extras/auth-guard");
89
- Object.defineProperty(exports, "AuthGuard", { enumerable: true, get: function () { return auth_guard_1.AuthGuard; } });
90
102
  //# sourceMappingURL=app-direct-exports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-direct-exports.js","sourceRoot":"","sources":["../../../src/boot/app/app-direct-exports.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAEH,yCAA8C;AAC9C,0DAAsE;AAEtE,wDAKwC;AAJvC,kGAAA,SAAS,OAAA;AACT,mGAAA,UAAU,OAAA;AACV,+GAAA,sBAAsB,OAAA;AACtB,8GAAA,qBAAqB,OAAA;AAGtB,4DAK0C;AAJzC,oGAAA,SAAS,OAAA;AACT,qGAAA,UAAU,OAAA;AACV,iHAAA,sBAAsB,OAAA;AACtB,gHAAA,qBAAqB,OAAA;AAGT,KAMT,4BAAoB,CAAC,QAAQ,EAAE,EALlC,yBAAiB,yBACjB,uBAAe,uBACf,uBAAe,uBACf,qBAAa,qBACb,wBAAgB,uBACmB;AAEpC,+CAgB6B;AAf5B,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd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AC1B,oCAA4B,mCACF;AAE3B,iDAA0D;AAAjD,wGAAA,eAAe,OAAA;AAGxB,iDAAmD;AAA1C,qGAAA,UAAU,OAAA"}
@@ -20,23 +20,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
20
20
  }) : function(o, v) {
21
21
  o["default"] = v;
22
22
  });
23
- var __importStar = (this && this.__importStar) || (function () {
24
- var ownKeys = function(o) {
25
- ownKeys = Object.getOwnPropertyNames || function (o) {
26
- var ar = [];
27
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
28
- return ar;
29
- };
30
- return ownKeys(o);
31
- };
32
- return function (mod) {
33
- if (mod && mod.__esModule) return mod;
34
- var result = {};
35
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
36
- __setModuleDefault(result, mod);
37
- return result;
38
- };
39
- })();
23
+ var __importStar = (this && this.__importStar) || function (mod) {
24
+ if (mod && mod.__esModule) return mod;
25
+ var result = {};
26
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
27
+ __setModuleDefault(result, mod);
28
+ return result;
29
+ };
40
30
  Object.defineProperty(exports, "__esModule", { value: true });
41
31
  exports.AppErrorCatcher = void 0;
42
32
  const react_1 = __importStar(require("react"));
@@ -1 +1 @@
1
- {"version":3,"file":"app-error-catcher.js","sourceRoot":"","sources":["../../../src/boot/app/app-error-catcher.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAA2C;AAE3C,4EAA0D;AAEnD,MAAM,eAAe,GAAG,CAAC,EAAE,QAAQ,EAA2B,EAAqB,EAAE;IAC3F,MAAM,OAAO,GAAG,IAAA,mBAAW,EAAC,CAAC,KAAc,EAAE,EAAE;QAC9C,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,8BAAC,gCAAO,IAAC,OAAO,EAAE,OAAO,IAAG,QAAQ,CAAW,CAAC;AACxD,CAAC,CAAC;AALW,QAAA,eAAe,mBAK1B"}
1
+ {"version":3,"file":"app-error-catcher.js","sourceRoot":"","sources":["../../../src/boot/app/app-error-catcher.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAA2C;AAE3C,4EAA0D;AAEnD,MAAM,eAAe,GAAG,CAAC,EAAE,QAAQ,EAA2B,EAAqB,EAAE;IAC3F,MAAM,OAAO,GAAG,IAAA,mBAAW,EAAC,CAAC,KAAc,EAAE,EAAE;QAC9C,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,8BAAC,gCAAO,IAAC,OAAO,EAAE,OAAO,IAAG,QAAQ,CAAW,CAAC;AACxD,CAAC,CAAC;AALW,QAAA,eAAe,mBAK1B"}
@@ -1,10 +1,42 @@
1
1
  import type { DynamicThemeFix } from 'darkreader';
2
+ /**
3
+ * @deprecated This constant is not used inside shell, and therefore it does not belong to it
4
+ * reference: https://zextras.atlassian.net/wiki/spaces/IRIS/pages/223215854/UI+Guidelines+and+theming
5
+ */
6
+ export declare const ZIMBRA_STANDARD_COLORS: {
7
+ zValue: number;
8
+ hex: string;
9
+ zLabel: string;
10
+ }[];
11
+ /**
12
+ * @deprecated Folders concept is something that does not belong to shell
13
+ */
14
+ export declare const FOLDERS: {
15
+ readonly USER_ROOT: "1";
16
+ readonly INBOX: "2";
17
+ readonly TRASH: "3";
18
+ readonly SPAM: "4";
19
+ readonly SENT: "5";
20
+ readonly DRAFTS: "6";
21
+ readonly CONTACTS: "7";
22
+ readonly TAGS: "8";
23
+ readonly CONVERSATIONS: "9";
24
+ readonly CALENDAR: "10";
25
+ readonly ROOT: "11";
26
+ readonly NOTEBOOK: "12";
27
+ readonly AUTO_CONTACTS: "13";
28
+ readonly IM_LOGS: "14";
29
+ readonly TASKS: "15";
30
+ readonly BRIEFCASE: "16";
31
+ readonly LAST_SYSTEM_FOLDER_POSITION: "16.1";
32
+ };
2
33
  export declare const SHELL_APP_ID = "carbonio-shell-ui";
3
34
  export declare const SETTINGS_APP_ID = "settings";
4
35
  /**
5
36
  * @deprecated This constant is not used and will be deleted in next releases
6
37
  */
7
38
  export declare const ACCOUNTS_APP_ID = "accounts";
39
+ export declare const SEARCH_APP_ID = "search";
8
40
  export declare const ACTION_TYPES: {
9
41
  /** @deprecated this action does not belong to shell, and therefore it will be removed in next releases */
10
42
  readonly CONVERSATION: "conversation";
@@ -35,15 +67,32 @@ export declare const ACTION_TYPES: {
35
67
  /** @deprecated this action does not belong to shell, and therefore it will be removed in next releases */
36
68
  readonly CALENDAR_lIST: "calendar_list";
37
69
  readonly NEW: "new";
38
- readonly ACCOUNT_MENU: "account_menu";
39
70
  };
40
71
  export declare const darkReaderDynamicThemeFixes: DynamicThemeFix;
41
72
  export declare const IS_FOCUS_MODE: boolean;
42
73
  export declare const BASENAME: string;
43
74
  export declare const EMAIL_VALIDATION_REGEX: RegExp;
75
+ /** @deprecated This user root concept does not belong to the shell, and therefore it will be removed asap */
76
+ export declare const ROOT_NAME = "USER_ROOT";
44
77
  export declare const DARK_READER_VALUES: readonly ["auto", "enabled", "disabled"];
78
+ /** @deprecated this const is not used inside shell, and therefore it does not belong to it */
79
+ export declare const FOLDER_VIEW: {
80
+ search_folder: string;
81
+ tag: string;
82
+ conversation: string;
83
+ message: string;
84
+ contact: string;
85
+ document: string;
86
+ appointment: string;
87
+ virtual_conversation: string;
88
+ remote_folder: string;
89
+ wiki: string;
90
+ task: string;
91
+ chat: string;
92
+ };
45
93
  export declare const LOCAL_STORAGE_SETTINGS_KEY = "settings";
46
94
  export declare const LOCAL_STORAGE_LAST_PRIMARY_KEY = "config";
95
+ export declare const LOCAL_STORAGE_SEARCH_KEY = "search_suggestions";
47
96
  export declare const LOCAL_STORAGE_BOARD_SIZE = "board_size";
48
97
  export declare const SCALING_OPTIONS: readonly [{
49
98
  readonly value: 75;
@@ -1,12 +1,51 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JSNS = exports.CUSTOM_EVENTS = exports.DELEGATED_SEND_SAVE_TARGET = exports.BOARD_MIN_VISIBILITY = exports.BOARD_CONTAINER_ZINDEX = exports.BOARD_TAB_WIDTH = exports.BOARD_HEADER_HEIGHT = exports.PRIMARY_BAR_WIDTH = exports.HEADER_BAR_HEIGHT = exports.RESULT_LABEL_TYPE = exports.SENTRY_SHELL_DSN = exports.DARK_READER_PROP_KEY = exports.LOGIN_V3_CONFIG_PATH = exports.SCALING_LIMIT = exports.BASE_FONT_SIZE = exports.SCALING_OPTIONS = exports.LOCAL_STORAGE_BOARD_SIZE = exports.LOCAL_STORAGE_LAST_PRIMARY_KEY = exports.LOCAL_STORAGE_SETTINGS_KEY = exports.DARK_READER_VALUES = exports.EMAIL_VALIDATION_REGEX = exports.BASENAME = exports.IS_FOCUS_MODE = exports.darkReaderDynamicThemeFixes = exports.ACTION_TYPES = exports.ACCOUNTS_APP_ID = exports.SETTINGS_APP_ID = exports.SHELL_APP_ID = void 0;
3
+ exports.JSNS = exports.CUSTOM_EVENTS = exports.DELEGATED_SEND_SAVE_TARGET = exports.BOARD_MIN_VISIBILITY = exports.BOARD_CONTAINER_ZINDEX = exports.BOARD_TAB_WIDTH = exports.BOARD_HEADER_HEIGHT = exports.PRIMARY_BAR_WIDTH = exports.HEADER_BAR_HEIGHT = exports.RESULT_LABEL_TYPE = exports.SENTRY_SHELL_DSN = exports.DARK_READER_PROP_KEY = exports.LOGIN_V3_CONFIG_PATH = exports.SCALING_LIMIT = exports.BASE_FONT_SIZE = exports.SCALING_OPTIONS = exports.LOCAL_STORAGE_BOARD_SIZE = exports.LOCAL_STORAGE_SEARCH_KEY = exports.LOCAL_STORAGE_LAST_PRIMARY_KEY = exports.LOCAL_STORAGE_SETTINGS_KEY = exports.FOLDER_VIEW = exports.DARK_READER_VALUES = exports.ROOT_NAME = exports.EMAIL_VALIDATION_REGEX = exports.BASENAME = exports.IS_FOCUS_MODE = exports.darkReaderDynamicThemeFixes = exports.ACTION_TYPES = exports.SEARCH_APP_ID = exports.ACCOUNTS_APP_ID = exports.SETTINGS_APP_ID = exports.SHELL_APP_ID = exports.FOLDERS = exports.ZIMBRA_STANDARD_COLORS = void 0;
4
+ /**
5
+ * @deprecated This constant is not used inside shell, and therefore it does not belong to it
6
+ * reference: https://zextras.atlassian.net/wiki/spaces/IRIS/pages/223215854/UI+Guidelines+and+theming
7
+ */
8
+ exports.ZIMBRA_STANDARD_COLORS = [
9
+ { zValue: 0, hex: '#000000', zLabel: 'black' },
10
+ { zValue: 1, hex: '#2b73d2', zLabel: 'blue' },
11
+ { zValue: 2, hex: '#29B6F6', zLabel: 'cyan' },
12
+ { zValue: 3, hex: '#66BB6A', zLabel: 'green' },
13
+ { zValue: 4, hex: '#7e57c2', zLabel: 'purple' },
14
+ { zValue: 5, hex: '#ef5350', zLabel: 'red' },
15
+ { zValue: 6, hex: '#ffc107', zLabel: 'yellow' },
16
+ { zValue: 7, hex: '#edaeab', zLabel: 'pink' },
17
+ { zValue: 8, hex: '#828282', zLabel: 'gray' },
18
+ { zValue: 9, hex: '#FF7043', zLabel: 'orange' }
19
+ ];
20
+ /**
21
+ * @deprecated Folders concept is something that does not belong to shell
22
+ */
23
+ exports.FOLDERS = {
24
+ USER_ROOT: '1',
25
+ INBOX: '2',
26
+ TRASH: '3',
27
+ SPAM: '4',
28
+ SENT: '5',
29
+ DRAFTS: '6',
30
+ CONTACTS: '7',
31
+ TAGS: '8',
32
+ CONVERSATIONS: '9',
33
+ CALENDAR: '10',
34
+ ROOT: '11',
35
+ NOTEBOOK: '12', // no longer created in new mailboxes since Helix (bug 39647). old mailboxes may still contain a system folder with id 12
36
+ AUTO_CONTACTS: '13',
37
+ IM_LOGS: '14',
38
+ TASKS: '15',
39
+ BRIEFCASE: '16',
40
+ LAST_SYSTEM_FOLDER_POSITION: '16.1'
41
+ };
4
42
  exports.SHELL_APP_ID = 'carbonio-shell-ui';
5
43
  exports.SETTINGS_APP_ID = 'settings';
6
44
  /**
7
45
  * @deprecated This constant is not used and will be deleted in next releases
8
46
  */
9
47
  exports.ACCOUNTS_APP_ID = 'accounts';
48
+ exports.SEARCH_APP_ID = 'search';
10
49
  exports.ACTION_TYPES = {
11
50
  /** @deprecated this action does not belong to shell, and therefore it will be removed in next releases */
12
51
  CONVERSATION: 'conversation',
@@ -36,8 +75,7 @@ exports.ACTION_TYPES = {
36
75
  CALENDAR: 'calendar',
37
76
  /** @deprecated this action does not belong to shell, and therefore it will be removed in next releases */
38
77
  CALENDAR_lIST: 'calendar_list',
39
- NEW: 'new',
40
- ACCOUNT_MENU: 'account_menu'
78
+ NEW: 'new'
41
79
  };
42
80
  exports.darkReaderDynamicThemeFixes = {
43
81
  ignoreImageAnalysis: ['.no-dr-invert *'],
@@ -58,9 +96,27 @@ exports.BASENAME = exports.IS_FOCUS_MODE ? focusModeBase : base;
58
96
  exports.EMAIL_VALIDATION_REGEX =
59
97
  // eslint-disable-next-line @typescript-eslint/no-unused-vars, max-len, no-control-regex
60
98
  /(?:[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])+)\])/;
99
+ /** @deprecated This user root concept does not belong to the shell, and therefore it will be removed asap */
100
+ exports.ROOT_NAME = 'USER_ROOT';
61
101
  exports.DARK_READER_VALUES = ['auto', 'enabled', 'disabled'];
102
+ /** @deprecated this const is not used inside shell, and therefore it does not belong to it */
103
+ exports.FOLDER_VIEW = {
104
+ search_folder: 'search folder',
105
+ tag: 'tag',
106
+ conversation: 'conversation',
107
+ message: 'message',
108
+ contact: 'contact',
109
+ document: 'document',
110
+ appointment: 'appointment',
111
+ virtual_conversation: 'virtual conversation',
112
+ remote_folder: 'remote folder',
113
+ wiki: 'wiki',
114
+ task: 'task',
115
+ chat: 'chat'
116
+ };
62
117
  exports.LOCAL_STORAGE_SETTINGS_KEY = 'settings';
63
118
  exports.LOCAL_STORAGE_LAST_PRIMARY_KEY = 'config';
119
+ exports.LOCAL_STORAGE_SEARCH_KEY = 'search_suggestions';
64
120
  exports.LOCAL_STORAGE_BOARD_SIZE = 'board_size';
65
121
  exports.SCALING_OPTIONS = [
66
122
  { value: 75, label: 'xs' },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;AAOa,QAAA,YAAY,GAAG,mBAAmB,CAAC;AACnC,QAAA,eAAe,GAAG,UAAU,CAAC;AAC1C;;GAEG;AACU,QAAA,eAAe,GAAG,UAAU,CAAC;AAE7B,QAAA,YAAY,GAAG;IAC3B,0GAA0G;IAC1G,YAAY,EAAE,cAAc;IAC5B,0GAA0G;IAC1G,iBAAiB,EAAE,mBAAmB;IACtC,0GAA0G;IAC1G,OAAO,EAAE,SAAS;IAClB,0GAA0G;IAC1G,YAAY,EAAE,cAAc;IAC5B,0GAA0G;IAC1G,OAAO,EAAE,SAAS;IAClB,0GAA0G;IAC1G,YAAY,EAAE,cAAc;IAC5B,0GAA0G;IAC1G,MAAM,EAAE,QAAQ;IAChB,0GAA0G;IAC1G,WAAW,EAAE,aAA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AG;IAC5B,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,GAAG;IACX,GAAG,EAAE,CAAC,CAAC,qBAAqB;CACnB,CAAC;AAEE,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAC7C,QAAA,oBAAoB,GAAG,oBAAoB,CAAC;AAC5C,QAAA,gBAAgB,GAAG,mEAAmE,CAAC;AAEvF,QAAA,iBAAiB,GAAG;IAChC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACL,CAAC;AAEE,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAC9B,QAAA,iBAAiB,GAAG,WAAW,CAAC;AAChC,QAAA,mBAAmB,GAAG,MAAM,CAAC;AAC7B,QAAA,eAAe,GAAG,mBAAmB,CAAC;AACtC,QAAA,sBAAsB,GAAG,EAAE,CAAC;AAC5B,QAAA,oBAAoB,GAAG;IACnC,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;CACR,CAAC;AAEW,QAAA,0BAA0B,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AACjE,QAAA,aAAa,GAAG,EAAE,UAAU,EAAE,YAAY,EAAW,CAAC;AAEtD,QAAA,IAAI,GAAG;IACnB,OAAO,EAAE,mBAAmB;IAC5B,KAAK,EAAE,iBAAiB;IACxB,IAAI,EAAE,gBAAgB;IACtB,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,gBAAgB;CACb,CAAC"}
@@ -1,11 +1,92 @@
1
- import type { Locale } from 'date-fns';
2
1
  export type LocaleDescriptor = {
3
2
  name: string;
4
3
  value: string;
5
- dateFnsLocale: {
6
- key?: string;
7
- localeImportPath: () => Promise<Locale>;
8
- } | undefined;
4
+ dateFnsLocale?: string;
9
5
  tinymceLocale?: string;
10
6
  };
11
- export declare const SUPPORTED_LOCALES: Record<string, LocaleDescriptor>;
7
+ export declare const SUPPORTED_LOCALES: {
8
+ readonly zh_CN: {
9
+ readonly name: "中文 (中国)";
10
+ readonly value: "zh_CN";
11
+ readonly dateFnsLocale: "zh-CN";
12
+ readonly tinymceLocale: "zh-Hans";
13
+ };
14
+ readonly nl: {
15
+ readonly name: "Nederlands";
16
+ readonly value: "nl";
17
+ };
18
+ readonly en: {
19
+ readonly name: "English";
20
+ readonly value: "en";
21
+ readonly dateFnsLocale: "en-US";
22
+ };
23
+ readonly de: {
24
+ readonly name: "Deutsch";
25
+ readonly value: "de";
26
+ };
27
+ readonly hi: {
28
+ readonly name: "हिंदी";
29
+ readonly value: "hi";
30
+ };
31
+ readonly hu: {
32
+ readonly name: "Magyar";
33
+ readonly value: "hu";
34
+ readonly tinymceLocale: "hu_HU";
35
+ };
36
+ readonly it: {
37
+ readonly name: "italiano";
38
+ readonly value: "it";
39
+ };
40
+ readonly ja: {
41
+ readonly name: "日本語";
42
+ readonly value: "ja";
43
+ };
44
+ readonly pt: {
45
+ readonly name: "português";
46
+ readonly value: "pt";
47
+ readonly tinymceLocale: "pt_BR";
48
+ };
49
+ readonly pl: {
50
+ readonly name: "polski";
51
+ readonly value: "pl";
52
+ };
53
+ readonly pt_BR: {
54
+ readonly name: "português (Brasil)";
55
+ readonly value: "pt_BR";
56
+ readonly dateFnsLocale: "pt-BR";
57
+ };
58
+ readonly ro: {
59
+ readonly name: "română";
60
+ readonly value: "ro";
61
+ };
62
+ readonly ru: {
63
+ readonly name: "русский";
64
+ readonly value: "ru";
65
+ };
66
+ readonly es: {
67
+ readonly name: "español";
68
+ readonly value: "es";
69
+ };
70
+ readonly th: {
71
+ readonly name: "ไทย";
72
+ readonly value: "th";
73
+ readonly tinymceLocale: "th_TH";
74
+ };
75
+ readonly tr: {
76
+ readonly name: "Türkçe";
77
+ readonly value: "tr";
78
+ };
79
+ readonly fr: {
80
+ readonly name: "français";
81
+ readonly value: "fr";
82
+ readonly tinymceLocale: "fr_FR";
83
+ };
84
+ readonly vi: {
85
+ readonly name: "Tiếng Việt";
86
+ readonly value: "vi";
87
+ };
88
+ readonly ky: {
89
+ readonly name: "Кыргызча";
90
+ readonly value: "ky";
91
+ };
92
+ };