@zextras/carbonio-shell-ui 6.0.0 → 7.0.0
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/lib/boot/app/app-context-provider.d.ts +7 -0
- package/lib/boot/app/app-context-provider.js +17 -0
- package/lib/boot/app/app-context-provider.js.map +1 -0
- package/lib/boot/app/app-error-catcher.d.ts +3 -0
- package/lib/boot/app/app-error-catcher.js +41 -0
- package/lib/boot/app/app-error-catcher.js.map +1 -0
- package/lib/boot/app/app-loader-functions.d.ts +37 -0
- package/lib/boot/app/app-loader-functions.js +121 -0
- package/lib/boot/app/app-loader-functions.js.map +1 -0
- package/lib/boot/app/app-loader-setters.d.ts +38 -0
- package/lib/boot/app/app-loader-setters.js +46 -0
- package/lib/boot/app/app-loader-setters.js.map +1 -0
- package/lib/boot/matomo.d.ts +12 -0
- package/lib/boot/matomo.js +22 -0
- package/lib/boot/matomo.js.map +1 -0
- package/lib/boot/module-i18next-provider.d.ts +7 -0
- package/lib/boot/module-i18next-provider.js +22 -0
- package/lib/boot/module-i18next-provider.js.map +1 -0
- package/lib/boot/tracker.d.ts +11 -0
- package/lib/boot/tracker.js +57 -0
- package/lib/boot/tracker.js.map +1 -0
- package/lib/constants/index.d.ts +146 -0
- package/lib/constants/index.js +160 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/locales.d.ts +83 -0
- package/lib/constants/locales.js +86 -0
- package/lib/constants/locales.js.map +1 -0
- package/lib/history/hooks.d.ts +12 -0
- package/lib/history/hooks.js +69 -0
- package/lib/history/hooks.js.map +1 -0
- package/lib/lib.d.ts +74 -0
- package/lib/lib.js +134 -0
- package/lib/lib.js.map +1 -0
- package/lib/network/edit-settings.d.ts +14 -0
- package/lib/network/edit-settings.js +144 -0
- package/lib/network/edit-settings.js.map +1 -0
- package/lib/network/fetch.d.ts +4 -0
- package/lib/network/fetch.js +175 -0
- package/lib/network/fetch.js.map +1 -0
- package/lib/network/tags.d.ts +27 -0
- package/lib/network/tags.js +31 -0
- package/lib/network/tags.js.map +1 -0
- package/lib/network/user-agent.d.ts +1 -0
- package/lib/network/user-agent.js +15 -0
- package/lib/network/user-agent.js.map +1 -0
- package/lib/network/utils.d.ts +2 -0
- package/lib/network/utils.js +17 -0
- package/lib/network/utils.js.map +1 -0
- package/lib/notification/NotificationManager.d.ts +22 -0
- package/lib/notification/NotificationManager.js +153 -0
- package/lib/notification/NotificationManager.js.map +1 -0
- package/lib/reporting/functions.d.ts +2 -0
- package/lib/reporting/functions.js +14 -0
- package/lib/reporting/functions.js.map +1 -0
- package/lib/reporting/store.d.ts +8 -0
- package/lib/reporting/store.js +43 -0
- package/lib/reporting/store.js.map +1 -0
- package/lib/search/run-search.d.ts +2 -0
- package/lib/search/run-search.js +17 -0
- package/lib/search/run-search.js.map +1 -0
- package/lib/search/search-store.d.ts +2 -0
- package/lib/search/search-store.js +20 -0
- package/lib/search/search-store.js.map +1 -0
- package/lib/search/useSearchModule.d.ts +3 -0
- package/lib/search/useSearchModule.js +21 -0
- package/lib/search/useSearchModule.js.map +1 -0
- package/lib/settings/components/settings-header.d.ts +9 -0
- package/lib/settings/components/settings-header.js +86 -0
- package/lib/settings/components/settings-header.js.map +1 -0
- package/lib/shell/hooks/useIsMobile.d.ts +4 -0
- package/lib/shell/hooks/useIsMobile.js +22 -0
- package/lib/shell/hooks/useIsMobile.js.map +1 -0
- package/lib/shell/hooks/useLocalStorage.d.ts +14 -0
- package/lib/shell/hooks/useLocalStorage.js +77 -0
- package/lib/shell/hooks/useLocalStorage.js.map +1 -0
- package/lib/shell/shell-context.d.ts +4 -0
- package/lib/shell/shell-context.js +11 -0
- package/lib/shell/shell-context.js.map +1 -0
- package/lib/store/account/hooks.d.ts +14 -0
- package/lib/store/account/hooks.js +51 -0
- package/lib/store/account/hooks.js.map +1 -0
- package/lib/store/account/index.d.ts +2 -0
- package/lib/store/account/index.js +24 -0
- package/lib/store/account/index.js.map +1 -0
- package/lib/store/account/store.d.ts +2 -0
- package/lib/store/account/store.js +23 -0
- package/lib/store/account/store.js.map +1 -0
- package/lib/store/app/hooks.d.ts +14 -0
- package/lib/store/app/hooks.js +41 -0
- package/lib/store/app/hooks.js.map +1 -0
- package/lib/store/app/index.d.ts +2 -0
- package/lib/store/app/index.js +24 -0
- package/lib/store/app/index.js.map +1 -0
- package/lib/store/app/store.d.ts +44 -0
- package/lib/store/app/store.js +265 -0
- package/lib/store/app/store.js.map +1 -0
- package/lib/store/app/utils.d.ts +10 -0
- package/lib/store/app/utils.js +123 -0
- package/lib/store/app/utils.js.map +1 -0
- package/lib/store/boards/hooks.d.ts +31 -0
- package/lib/store/boards/hooks.js +82 -0
- package/lib/store/boards/hooks.js.map +1 -0
- package/lib/store/boards/index.d.ts +2 -0
- package/lib/store/boards/index.js +24 -0
- package/lib/store/boards/index.js.map +1 -0
- package/lib/store/boards/store.d.ts +23 -0
- package/lib/store/boards/store.js +124 -0
- package/lib/store/boards/store.js.map +1 -0
- package/lib/store/context-bridge.d.ts +11 -0
- package/lib/store/context-bridge.js +34 -0
- package/lib/store/context-bridge.js.map +1 -0
- package/lib/store/folder/hooks.d.ts +21 -0
- package/lib/store/folder/hooks.js +77 -0
- package/lib/store/folder/hooks.js.map +1 -0
- package/lib/store/folder/index.d.ts +2 -0
- package/lib/store/folder/index.js +24 -0
- package/lib/store/folder/index.js.map +1 -0
- package/lib/store/folder/store.d.ts +2 -0
- package/lib/store/folder/store.js +20 -0
- package/lib/store/folder/store.js.map +1 -0
- package/lib/store/folder/utils.d.ts +16 -0
- package/lib/store/folder/utils.js +53 -0
- package/lib/store/folder/utils.js.map +1 -0
- package/lib/store/i18n/hooks.d.ts +4 -0
- package/lib/store/i18n/hooks.js +21 -0
- package/lib/store/i18n/hooks.js.map +1 -0
- package/lib/store/i18n/store.d.ts +13 -0
- package/lib/store/i18n/store.js +104 -0
- package/lib/store/i18n/store.js.map +1 -0
- package/lib/store/integrations/composer.d.ts +49 -0
- package/lib/store/integrations/composer.js +233 -0
- package/lib/store/integrations/composer.js.map +1 -0
- package/lib/store/integrations/getters.d.ts +9 -0
- package/lib/store/integrations/getters.js +41 -0
- package/lib/store/integrations/getters.js.map +1 -0
- package/lib/store/integrations/hooks.d.ts +9 -0
- package/lib/store/integrations/hooks.js +42 -0
- package/lib/store/integrations/hooks.js.map +1 -0
- package/lib/store/integrations/store.d.ts +41 -0
- package/lib/store/integrations/store.js +65 -0
- package/lib/store/integrations/store.js.map +1 -0
- package/lib/store/integrations/utils.d.ts +8 -0
- package/lib/store/integrations/utils.js +50 -0
- package/lib/store/integrations/utils.js.map +1 -0
- package/lib/store/login/getters.d.ts +2 -0
- package/lib/store/login/getters.js +18 -0
- package/lib/store/login/getters.js.map +1 -0
- package/lib/store/login/store.d.ts +12 -0
- package/lib/store/login/store.js +18 -0
- package/lib/store/login/store.js.map +1 -0
- package/lib/store/network/hooks.d.ts +3 -0
- package/lib/store/network/hooks.js +14 -0
- package/lib/store/network/hooks.js.map +1 -0
- package/lib/store/network/index.d.ts +2 -0
- package/lib/store/network/index.js +24 -0
- package/lib/store/network/index.js.map +1 -0
- package/lib/store/network/store.d.ts +2 -0
- package/lib/store/network/store.js +15 -0
- package/lib/store/network/store.js.map +1 -0
- package/lib/store/network/utils.d.ts +13 -0
- package/lib/store/network/utils.js +94 -0
- package/lib/store/network/utils.js.map +1 -0
- package/lib/store/tags/hooks.d.ts +3 -0
- package/lib/store/tags/hooks.js +15 -0
- package/lib/store/tags/hooks.js.map +1 -0
- package/lib/store/tags/index.d.ts +2 -0
- package/lib/store/tags/index.js +24 -0
- package/lib/store/tags/index.js.map +1 -0
- package/lib/store/tags/store.d.ts +2 -0
- package/lib/store/tags/store.js +18 -0
- package/lib/store/tags/store.js.map +1 -0
- package/lib/tsdoc-metadata.json +11 -0
- package/lib/types/account/index.d.ts +140 -0
- package/lib/types/account/index.js +8 -0
- package/lib/types/account/index.js.map +1 -0
- package/lib/types/apps/index.d.ts +120 -0
- package/lib/types/apps/index.js +9 -0
- package/lib/types/apps/index.js.map +1 -0
- package/lib/types/boards/index.d.ts +10 -0
- package/lib/types/boards/index.js +3 -0
- package/lib/types/boards/index.js.map +1 -0
- package/lib/types/folder/index.d.ts +29 -0
- package/lib/types/folder/index.js +8 -0
- package/lib/types/folder/index.js.map +1 -0
- package/lib/types/integrations/index.d.ts +8 -0
- package/lib/types/integrations/index.js +8 -0
- package/lib/types/integrations/index.js.map +1 -0
- package/lib/types/misc/index.d.ts +156 -0
- package/lib/types/misc/index.js +8 -0
- package/lib/types/misc/index.js.map +1 -0
- package/lib/types/network/entities.d.ts +47 -0
- package/lib/types/network/entities.js +3 -0
- package/lib/types/network/entities.js.map +1 -0
- package/lib/types/network/index.d.ts +171 -0
- package/lib/types/network/index.js +23 -0
- package/lib/types/network/index.js.map +1 -0
- package/lib/types/network/soap.d.ts +102 -0
- package/lib/types/network/soap.js +8 -0
- package/lib/types/network/soap.js.map +1 -0
- package/lib/types/search/index.d.ts +11 -0
- package/lib/types/search/index.js +23 -0
- package/lib/types/search/index.js.map +1 -0
- package/lib/types/search/items.d.ts +6 -0
- package/lib/types/search/items.js +3 -0
- package/lib/types/search/items.js.map +1 -0
- package/lib/types/tags/index.d.ts +12 -0
- package/lib/types/tags/index.js +9 -0
- package/lib/types/tags/index.js.map +1 -0
- package/lib/types/workers/index.d.ts +17 -0
- package/lib/types/workers/index.js +3 -0
- package/lib/types/workers/index.js.map +1 -0
- package/lib/ui-extras/app-link.d.ts +6 -0
- package/lib/ui-extras/app-link.js +40 -0
- package/lib/ui-extras/app-link.js.map +1 -0
- package/lib/ui-extras/nav-guard.d.ts +9 -0
- package/lib/ui-extras/nav-guard.js +96 -0
- package/lib/ui-extras/nav-guard.js.map +1 -0
- package/lib/ui-extras/spinner.d.ts +2 -0
- package/lib/ui-extras/spinner.js +18 -0
- package/lib/ui-extras/spinner.js.map +1 -0
- package/lib/utils/typeUtils.d.ts +14 -0
- package/lib/utils/typeUtils.js +3 -0
- package/lib/utils/typeUtils.js.map +1 -0
- package/lib/utils/utils.d.ts +20 -0
- package/lib/utils/utils.js +39 -0
- package/lib/utils/utils.js.map +1 -0
- package/lib/workers/index.d.ts +2 -0
- package/lib/workers/index.js +15 -0
- package/lib/workers/index.js.map +1 -0
- package/package.json +34 -37
- package/dist/20d012c938e8d0dcc703.mp3 +0 -0
- package/dist/2d9c9ae572663301cb7d.js +0 -75391
- package/dist/CHANGELOG.md +0 -701
- package/dist/carbonio-head.svg +0 -200
- package/dist/carbonio.svg +0 -10
- package/dist/commit +0 -1
- package/dist/component.json +0 -13
- package/dist/favicon.png +0 -0
- package/dist/files/roboto-cyrillic-300-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-300-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-500-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-500-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-300-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-500-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-greek-300-normal.woff +0 -0
- package/dist/files/roboto-greek-300-normal.woff2 +0 -0
- package/dist/files/roboto-greek-400-normal.woff +0 -0
- package/dist/files/roboto-greek-400-normal.woff2 +0 -0
- package/dist/files/roboto-greek-500-normal.woff +0 -0
- package/dist/files/roboto-greek-500-normal.woff2 +0 -0
- package/dist/files/roboto-greek-700-normal.woff +0 -0
- package/dist/files/roboto-greek-700-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-300-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-300-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-500-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-500-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-latin-300-normal.woff +0 -0
- package/dist/files/roboto-latin-300-normal.woff2 +0 -0
- package/dist/files/roboto-latin-400-normal.woff +0 -0
- package/dist/files/roboto-latin-400-normal.woff2 +0 -0
- package/dist/files/roboto-latin-500-normal.woff +0 -0
- package/dist/files/roboto-latin-500-normal.woff2 +0 -0
- package/dist/files/roboto-latin-700-normal.woff +0 -0
- package/dist/files/roboto-latin-700-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-300-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-300-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-500-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-500-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-300-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-300-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-500-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-500-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
- package/dist/i18n/ar.json +0 -1
- package/dist/i18n/de.json +0 -438
- package/dist/i18n/en-US.json +0 -1
- package/dist/i18n/en.json +0 -438
- package/dist/i18n/es-419.json +0 -1
- package/dist/i18n/es.json +0 -438
- package/dist/i18n/fa.json +0 -1
- package/dist/i18n/fi.json +0 -12
- package/dist/i18n/fr.json +0 -438
- package/dist/i18n/hi.json +0 -438
- package/dist/i18n/hr.json +0 -1
- package/dist/i18n/hu.json +0 -31
- package/dist/i18n/id.json +0 -438
- package/dist/i18n/it.json +0 -438
- package/dist/i18n/ja.json +0 -438
- package/dist/i18n/ky.json +0 -6
- package/dist/i18n/nl.json +0 -438
- package/dist/i18n/pl.json +0 -438
- package/dist/i18n/pt-PT.json +0 -1
- package/dist/i18n/pt.json +0 -438
- package/dist/i18n/pt_BR.json +0 -438
- package/dist/i18n/ro.json +0 -9
- package/dist/i18n/ru.json +0 -438
- package/dist/i18n/th.json +0 -438
- package/dist/i18n/tr.json +0 -438
- package/dist/i18n/uk.json +0 -186
- package/dist/i18n/vi.json +0 -396
- package/dist/i18n/zh_Hans.json +0 -412
- package/dist/index.html +0 -25
- package/dist/notification.mp3 +0 -0
- package/dist/package/PKGBUILD +0 -45
- package/dist/plugins/help/js/i18n/keynav/de.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/en.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/es.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/it.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/dist/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/dist/skins/content/dark/content.css +0 -59
- package/dist/skins/content/dark/content.min.css +0 -8
- package/dist/skins/content/default/content.css +0 -49
- package/dist/skins/content/default/content.min.css +0 -8
- package/dist/skins/content/document/content.css +0 -53
- package/dist/skins/content/document/content.min.css +0 -8
- package/dist/skins/content/writer/content.css +0 -50
- package/dist/skins/content/writer/content.min.css +0 -8
- package/dist/skins/ui/oxide/content.css +0 -615
- package/dist/skins/ui/oxide/content.inline.css +0 -608
- package/dist/skins/ui/oxide/content.inline.min.css +0 -8
- package/dist/skins/ui/oxide/content.min.css +0 -8
- package/dist/skins/ui/oxide/content.mobile.css +0 -29
- package/dist/skins/ui/oxide/content.mobile.min.css +0 -8
- package/dist/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/dist/skins/ui/oxide/skin.css +0 -2884
- package/dist/skins/ui/oxide/skin.min.css +0 -8
- package/dist/skins/ui/oxide/skin.mobile.css +0 -673
- package/dist/skins/ui/oxide/skin.mobile.min.css +0 -8
- package/dist/skins/ui/oxide-dark/content.css +0 -596
- package/dist/skins/ui/oxide-dark/content.inline.css +0 -608
- package/dist/skins/ui/oxide-dark/content.inline.min.css +0 -8
- package/dist/skins/ui/oxide-dark/content.min.css +0 -8
- package/dist/skins/ui/oxide-dark/content.mobile.css +0 -29
- package/dist/skins/ui/oxide-dark/content.mobile.min.css +0 -8
- package/dist/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
- package/dist/skins/ui/oxide-dark/skin.css +0 -2884
- package/dist/skins/ui/oxide-dark/skin.min.css +0 -8
- package/dist/skins/ui/oxide-dark/skin.mobile.css +0 -673
- package/dist/skins/ui/oxide-dark/skin.mobile.min.css +0 -8
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.css +0 -21
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.css.map +0 -1
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d07f086d.chunk.js +0 -13399
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d07f086d.chunk.js.map +0 -1
- package/dist/src_workers_folder_ts.2df69eae.chunk.js +0 -537
- package/dist/src_workers_folder_ts.2df69eae.chunk.js.map +0 -1
- package/dist/src_workers_tag_ts.59a752d7.chunk.js +0 -113
- package/dist/src_workers_tag_ts.59a752d7.chunk.js.map +0 -1
- package/dist/style.a7eb9e6c.css +0 -389
- package/dist/style.a7eb9e6c.css.map +0 -1
- package/dist/tinymce/langs/de.js +0 -1
- package/dist/tinymce/langs/es.js +0 -1
- package/dist/tinymce/langs/fr_FR.js +0 -1
- package/dist/tinymce/langs/hi.js +0 -1
- package/dist/tinymce/langs/it.js +0 -1
- package/dist/tinymce/langs/ja.js +0 -1
- package/dist/tinymce/langs/nl.js +0 -1
- package/dist/tinymce/langs/pl.js +0 -1
- package/dist/tinymce/langs/pt_BR.js +0 -1
- package/dist/tinymce/langs/ro.js +0 -1
- package/dist/tinymce/langs/ru.js +0 -1
- package/dist/tinymce/langs/th_TH.js +0 -1
- package/dist/tinymce/langs/tr.js +0 -1
- package/dist/tinymce/langs/vi.js +0 -1
- package/dist/tinymce/langs/zh-Hans.js +0 -1
- package/dist/vendors-node_modules_date-fns__lib_isSameUTCWeek_index_js-node_modules_date-fns_locale__lib_b-41ea83.3e405109.chunk.js +0 -412
- package/dist/vendors-node_modules_date-fns__lib_isSameUTCWeek_index_js-node_modules_date-fns_locale__lib_b-41ea83.3e405109.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_de_index_js.42fc0cb6.chunk.js +0 -787
- package/dist/vendors-node_modules_date-fns_locale_de_index_js.42fc0cb6.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_en-US_index_js.1575ad91.chunk.js +0 -693
- package/dist/vendors-node_modules_date-fns_locale_en-US_index_js.1575ad91.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_es_index_js.a054d7dc.chunk.js +0 -685
- package/dist/vendors-node_modules_date-fns_locale_es_index_js.a054d7dc.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_fr_index_js.20eefc5f.chunk.js +0 -644
- package/dist/vendors-node_modules_date-fns_locale_fr_index_js.20eefc5f.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_hi_index_js.016d9c1b.chunk.js +0 -741
- package/dist/vendors-node_modules_date-fns_locale_hi_index_js.016d9c1b.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_it_index_js.b1509e74.chunk.js +0 -531
- package/dist/vendors-node_modules_date-fns_locale_it_index_js.b1509e74.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_ja_index_js.7ee709ea.chunk.js +0 -703
- package/dist/vendors-node_modules_date-fns_locale_ja_index_js.7ee709ea.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_nl_index_js.03ea6284.chunk.js +0 -638
- package/dist/vendors-node_modules_date-fns_locale_nl_index_js.03ea6284.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_pl_index_js.b1a781fa.chunk.js +0 -623
- package/dist/vendors-node_modules_date-fns_locale_pl_index_js.b1a781fa.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_pt-BR_index_js.695bc207.chunk.js +0 -682
- package/dist/vendors-node_modules_date-fns_locale_pt-BR_index_js.695bc207.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_pt_index_js.09460edb.chunk.js +0 -678
- package/dist/vendors-node_modules_date-fns_locale_pt_index_js.09460edb.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_ro_index_js.53425395.chunk.js +0 -670
- package/dist/vendors-node_modules_date-fns_locale_ro_index_js.53425395.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_ru_index_js.ab8b44d9.chunk.js +0 -707
- package/dist/vendors-node_modules_date-fns_locale_ru_index_js.ab8b44d9.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_th_index_js.9f2448ee.chunk.js +0 -672
- package/dist/vendors-node_modules_date-fns_locale_th_index_js.9f2448ee.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_tr_index_js.c47c86fa.chunk.js +0 -677
- package/dist/vendors-node_modules_date-fns_locale_tr_index_js.c47c86fa.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_vi_index_js.d02adf1c.chunk.js +0 -765
- package/dist/vendors-node_modules_date-fns_locale_vi_index_js.d02adf1c.chunk.js.map +0 -1
- package/dist/vendors-node_modules_date-fns_locale_zh-CN_index_js.505f5507.chunk.js +0 -521
- package/dist/vendors-node_modules_date-fns_locale_zh-CN_index_js.505f5507.chunk.js.map +0 -1
- package/dist/vendors-node_modules_lodash_lodash_js-node_modules_core-js_modules_es_array_push_js.8ced7511.chunk.js +0 -19112
- package/dist/vendors-node_modules_lodash_lodash_js-node_modules_core-js_modules_es_array_push_js.8ced7511.chunk.js.map +0 -1
- package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.88e81e25.chunk.js +0 -219343
- package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.88e81e25.chunk.js.map +0 -1
- package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.css +0 -4104
- package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.css.map +0 -1
- package/dist/yap.json +0 -11
- package/dist/zapp-shell.bundle.js +0 -30430
- package/dist/zapp-shell.bundle.js.map +0 -1
- package/types/account/index.d.ts +0 -179
- package/types/apps/index.d.ts +0 -198
- package/types/boards/index.d.ts +0 -31
- package/types/exports/index.d.ts +0 -256
- package/types/folder/index.d.ts +0 -33
- package/types/i18n/index.d.ts +0 -19
- package/types/index.d.ts +0 -20
- package/types/integrations/index.d.ts +0 -41
- package/types/loginConfig/index.d.ts +0 -17
- package/types/misc/index.d.ts +0 -309
- package/types/network/entities.d.ts +0 -106
- package/types/network/index.d.ts +0 -239
- package/types/network/soap.d.ts +0 -106
- package/types/notification/index.d.ts +0 -31
- package/types/search/index.d.ts +0 -18
- package/types/search/items.d.ts +0 -13
- package/types/settings/index.d.ts +0 -10
- package/types/styled-components.d.ts +0 -18
- package/types/tags/index.d.ts +0 -21
- package/types/theme/index.d.ts +0 -9
- package/types/workers/index.d.ts +0 -24
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import type { DELEGATED_SEND_SAVE_TARGET } from '../../constants';
|
|
2
|
+
import type { StringOfLength } from '../../utils/typeUtils';
|
|
3
|
+
export interface ZimletProp {
|
|
4
|
+
name: string;
|
|
5
|
+
zimlet: string;
|
|
6
|
+
_content: string;
|
|
7
|
+
}
|
|
8
|
+
export type AccountState = {
|
|
9
|
+
authenticated: boolean;
|
|
10
|
+
account?: Account;
|
|
11
|
+
settings: AccountSettings;
|
|
12
|
+
zimbraVersion?: string;
|
|
13
|
+
usedQuota: number;
|
|
14
|
+
};
|
|
15
|
+
export interface Identity {
|
|
16
|
+
/** Identity name */
|
|
17
|
+
name?: string;
|
|
18
|
+
/** Identity ID */
|
|
19
|
+
id: string;
|
|
20
|
+
/** Attributes */
|
|
21
|
+
_attrs: IdentityAttrs;
|
|
22
|
+
}
|
|
23
|
+
export type Account = {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
signatures: {
|
|
28
|
+
signature: Array<unknown>;
|
|
29
|
+
};
|
|
30
|
+
identities: {
|
|
31
|
+
identity: Array<Identity>;
|
|
32
|
+
};
|
|
33
|
+
rights: AccountRights;
|
|
34
|
+
};
|
|
35
|
+
export type BooleanString = 'TRUE' | 'FALSE';
|
|
36
|
+
type GeneralizedTimeObj = {
|
|
37
|
+
year: `${number}` & StringOfLength<4>;
|
|
38
|
+
month: `${number}` & StringOfLength<2>;
|
|
39
|
+
date: `${number}` & StringOfLength<2>;
|
|
40
|
+
hour: `${number}` & StringOfLength<2>;
|
|
41
|
+
min: `${number}` & StringOfLength<2>;
|
|
42
|
+
sec: `${number}` & StringOfLength<2>;
|
|
43
|
+
ms: (`.${number}` & StringOfLength<4>) | '';
|
|
44
|
+
timezone: 'Z' | '';
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* A GeneralizedTime is a string representing a date in UTC with the format YYYYMMDDHHmmss[.SSS][Z]
|
|
48
|
+
*/
|
|
49
|
+
export type GeneralizedTime = `${GeneralizedTimeObj['year']}${GeneralizedTimeObj['month']}${GeneralizedTimeObj['date']}${GeneralizedTimeObj['hour']}${GeneralizedTimeObj['min']}${GeneralizedTimeObj['sec']}${GeneralizedTimeObj['ms']}${GeneralizedTimeObj['timezone']}`;
|
|
50
|
+
export type DurationUnit = 'd' | 'h' | 'm' | 's' | 'ms';
|
|
51
|
+
export type Duration = `${number}${DurationUnit | ''}`;
|
|
52
|
+
export interface AccountSettingsPrefs {
|
|
53
|
+
zimbraPrefOutOfOfficeExternalReply?: string;
|
|
54
|
+
zimbraPrefOutOfOfficeReply?: string;
|
|
55
|
+
zimbraPrefOutOfOfficeReplyEnabled?: BooleanString;
|
|
56
|
+
zimbraPrefOutOfOfficeExternalReplyEnabled?: BooleanString;
|
|
57
|
+
zimbraPrefExternalSendersType?: 'ALL' | 'ALLNOTINAB' | 'INAB' | 'INSD';
|
|
58
|
+
zimbraPrefOutOfOfficeSuppressExternalReply?: BooleanString;
|
|
59
|
+
zimbraPrefOutOfOfficeFreeBusyStatus?: 'BUSY' | 'OUTOFOFFICE';
|
|
60
|
+
zimbraPrefOutOfOfficeStatusAlertOnLogin?: BooleanString;
|
|
61
|
+
zimbraPrefIncludeSharedItemsInSearch?: BooleanString;
|
|
62
|
+
zimbraPrefIncludeSpamInSearch?: BooleanString;
|
|
63
|
+
zimbraPrefIncludeTrashInSearch?: BooleanString;
|
|
64
|
+
zimbraPrefOutOfOfficeFromDate?: GeneralizedTime;
|
|
65
|
+
zimbraPrefOutOfOfficeUntilDate?: GeneralizedTime;
|
|
66
|
+
zimbraPrefHtmlEditorDefaultFontColor?: string;
|
|
67
|
+
zimbraPrefHtmlEditorDefaultFontFamily?: string;
|
|
68
|
+
zimbraPrefHtmlEditorDefaultFontSize?: string;
|
|
69
|
+
zimbraPrefLocale?: string;
|
|
70
|
+
zimbraPrefMailPollingInterval?: Duration;
|
|
71
|
+
zimbraPrefMailTrustedSenderList?: Array<string> | string;
|
|
72
|
+
zimbraPrefDelegatedSendSaveTarget?: (typeof DELEGATED_SEND_SAVE_TARGET)[number];
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated the timezone preference is going to be removed, because now we rely on the system timezone.
|
|
75
|
+
*/
|
|
76
|
+
zimbraPrefTimeZoneId?: string;
|
|
77
|
+
[key: string]: string | number | Array<string | number> | undefined;
|
|
78
|
+
}
|
|
79
|
+
export type AccountSettingsAttrs = {
|
|
80
|
+
zimbraFeatureOptionsEnabled?: BooleanString;
|
|
81
|
+
zimbraIdentityMaxNumEntries?: number;
|
|
82
|
+
[key: string]: string | number | Array<string | number> | undefined;
|
|
83
|
+
};
|
|
84
|
+
export type AccountSettings = {
|
|
85
|
+
attrs: AccountSettingsAttrs;
|
|
86
|
+
prefs: AccountSettingsPrefs;
|
|
87
|
+
props: Array<ZimletProp>;
|
|
88
|
+
};
|
|
89
|
+
export interface IdentityAttrs {
|
|
90
|
+
/** default mail signature for account/identity/dataSource */
|
|
91
|
+
zimbraPrefDefaultSignatureId?: string;
|
|
92
|
+
zimbraPrefForwardReplyFormat?: `'text' | 'html' | 'same'`;
|
|
93
|
+
/** forward/reply signature id for account/identity/dataSource */
|
|
94
|
+
zimbraPrefForwardReplySignatureId?: string;
|
|
95
|
+
/** email address to put in from header. Deprecated on data source as of bug 67068. */
|
|
96
|
+
zimbraPrefFromAddress?: string;
|
|
97
|
+
/** Type of the email address from header. (sendAs or sendOnBehalfOf) */
|
|
98
|
+
zimbraPrefFromAddressType?: 'sendAs' | 'sendOnBehalfOf';
|
|
99
|
+
/** personal part of email address put in from header */
|
|
100
|
+
zimbraPrefFromDisplay?: string;
|
|
101
|
+
zimbraPrefIdentityId?: string;
|
|
102
|
+
/** name of the identity */
|
|
103
|
+
zimbraPrefIdentityName?: string;
|
|
104
|
+
zimbraPrefMailSignatureStyle?: 'outlook' | 'internet';
|
|
105
|
+
/** address to put in reply-to header */
|
|
106
|
+
zimbraPrefReplyToAddress?: string;
|
|
107
|
+
/** personal part of email address put in reply-to header */
|
|
108
|
+
zimbraPrefReplyToDisplay?: string;
|
|
109
|
+
/** TRUE if we should set a reply-to header */
|
|
110
|
+
zimbraPrefReplyToEnabled?: BooleanString;
|
|
111
|
+
/** name of folder to save sent mail in (deprecatedSince 5.0 in identity) */
|
|
112
|
+
zimbraPrefSentMailFolder?: string;
|
|
113
|
+
zimbraPrefWhenInFolderIds?: Array<string | null>;
|
|
114
|
+
/** TRUE if we should look at zimbraPrefWhenInFolderIds (deprecatedSince 5.0 in account) */
|
|
115
|
+
zimbraPrefWhenInFoldersEnabled?: BooleanString;
|
|
116
|
+
/** addresses that we will look at to see if we should use an identity (deprecatedSince 5.0 in account) */
|
|
117
|
+
zimbraPrefWhenSentToAddresses?: Array<string | null>;
|
|
118
|
+
/** TRUE if we should look at zimbraPrefWhenSentToAddresses (deprecatedSince 5.0 in account) */
|
|
119
|
+
zimbraPrefWhenSentToEnabled?: BooleanString;
|
|
120
|
+
/** whether or not to save outgoing mail (deprecatedSince 5.0 in identity) */
|
|
121
|
+
zimbraPrefSaveToSent?: BooleanString;
|
|
122
|
+
}
|
|
123
|
+
export type AccountRightTargetEmail = {
|
|
124
|
+
addr: string;
|
|
125
|
+
};
|
|
126
|
+
export type AccountRightTarget = {
|
|
127
|
+
d: string;
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
type: string;
|
|
131
|
+
email: Array<AccountRightTargetEmail>;
|
|
132
|
+
};
|
|
133
|
+
export type AccountRightName = 'sendAs' | 'sendAsDistList' | 'viewFreeBusy' | 'sendOnBehalfOf' | 'sendOnBehalfOfDistList';
|
|
134
|
+
export type AccountRights = {
|
|
135
|
+
targets: Array<{
|
|
136
|
+
right: AccountRightName;
|
|
137
|
+
target: Array<AccountRightTarget>;
|
|
138
|
+
}>;
|
|
139
|
+
};
|
|
140
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/account/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { ComponentType, FC } from 'react';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
import type { DefaultTheme } from 'styled-components';
|
|
4
|
+
import type { QueryChip } from '../search';
|
|
5
|
+
export type CarbonioModule = {
|
|
6
|
+
commit: string;
|
|
7
|
+
description: string;
|
|
8
|
+
js_entrypoint: string;
|
|
9
|
+
name: string;
|
|
10
|
+
priority: number;
|
|
11
|
+
version: string;
|
|
12
|
+
type: 'carbonio' | 'shell';
|
|
13
|
+
attrKey?: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
display: string;
|
|
16
|
+
sentryDsn?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AppRoute = {
|
|
19
|
+
id: string;
|
|
20
|
+
route: string;
|
|
21
|
+
app: string;
|
|
22
|
+
focusMode?: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type BadgeInfo = {
|
|
25
|
+
show: boolean;
|
|
26
|
+
count?: number;
|
|
27
|
+
showCount?: boolean;
|
|
28
|
+
color?: keyof DefaultTheme['palette'];
|
|
29
|
+
};
|
|
30
|
+
export type CarbonioView<P> = {
|
|
31
|
+
id: string;
|
|
32
|
+
app: string;
|
|
33
|
+
route: string;
|
|
34
|
+
component: ComponentType<P>;
|
|
35
|
+
};
|
|
36
|
+
export type CarbonioAccessoryView<P> = {
|
|
37
|
+
id: string;
|
|
38
|
+
app: string;
|
|
39
|
+
whitelistRoutes?: Array<string>;
|
|
40
|
+
blacklistRoutes?: Array<string>;
|
|
41
|
+
position: number;
|
|
42
|
+
component: ComponentType<P>;
|
|
43
|
+
};
|
|
44
|
+
export type PrimaryBarComponentProps = {
|
|
45
|
+
active: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type SecondaryBarComponentProps = {
|
|
48
|
+
expanded: boolean;
|
|
49
|
+
};
|
|
50
|
+
export type AppViewComponentProps = {};
|
|
51
|
+
export type BoardViewComponentProps = {
|
|
52
|
+
windowHistory: History;
|
|
53
|
+
};
|
|
54
|
+
export type SettingsViewProps = {};
|
|
55
|
+
export type SearchViewProps = {
|
|
56
|
+
useQuery: () => [QueryChip[], Function];
|
|
57
|
+
ResultsHeader: FC<{
|
|
58
|
+
label: string;
|
|
59
|
+
}>;
|
|
60
|
+
useDisableSearch: () => [boolean, Function];
|
|
61
|
+
};
|
|
62
|
+
export type PrimaryAccessoryViewProps = {};
|
|
63
|
+
export type SecondaryAccessoryViewProps = {
|
|
64
|
+
expanded: boolean;
|
|
65
|
+
};
|
|
66
|
+
export type PanelMode = 'closed' | 'overlap' | 'open';
|
|
67
|
+
export type UtilityBarComponentProps = {
|
|
68
|
+
mode: PanelMode;
|
|
69
|
+
setMode: (mode: PanelMode) => void;
|
|
70
|
+
};
|
|
71
|
+
export type PrimaryBarView = Omit<CarbonioView<PrimaryBarComponentProps>, 'component'> & {
|
|
72
|
+
component: string | ComponentType<PrimaryBarComponentProps>;
|
|
73
|
+
badge: BadgeInfo;
|
|
74
|
+
position: number;
|
|
75
|
+
visible: boolean;
|
|
76
|
+
label: string;
|
|
77
|
+
};
|
|
78
|
+
export type SecondaryBarView = CarbonioView<SecondaryBarComponentProps>;
|
|
79
|
+
export type AppView = CarbonioView<AppViewComponentProps>;
|
|
80
|
+
export type BoardView = CarbonioView<BoardViewComponentProps>;
|
|
81
|
+
export type UtilityView = CarbonioAccessoryView<UtilityBarComponentProps> & {
|
|
82
|
+
button: string | ComponentType<UtilityBarComponentProps>;
|
|
83
|
+
component: ComponentType<UtilityBarComponentProps>;
|
|
84
|
+
badge: BadgeInfo;
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
export type SettingsSubSection = {
|
|
88
|
+
label: string;
|
|
89
|
+
id: string;
|
|
90
|
+
};
|
|
91
|
+
export type SettingsView = CarbonioView<SettingsViewProps> & {
|
|
92
|
+
icon: string;
|
|
93
|
+
label: string;
|
|
94
|
+
position: number;
|
|
95
|
+
subSections?: Array<SettingsSubSection>;
|
|
96
|
+
};
|
|
97
|
+
export type SearchView = CarbonioView<SearchViewProps> & {
|
|
98
|
+
icon: string;
|
|
99
|
+
label: string;
|
|
100
|
+
position: number;
|
|
101
|
+
};
|
|
102
|
+
export type PrimaryAccessoryView = CarbonioAccessoryView<PrimaryAccessoryViewProps> & {
|
|
103
|
+
component: string | ComponentType;
|
|
104
|
+
onClick?: (ev: KeyboardEvent | React.MouseEvent<HTMLButtonElement> | undefined) => void;
|
|
105
|
+
label: string;
|
|
106
|
+
};
|
|
107
|
+
export type SecondaryAccessoryView = CarbonioAccessoryView<SecondaryAccessoryViewProps>;
|
|
108
|
+
export type AppRouteDescriptor = {
|
|
109
|
+
id: string;
|
|
110
|
+
route: string;
|
|
111
|
+
app: string;
|
|
112
|
+
primaryBar: string | ComponentType<PrimaryBarComponentProps>;
|
|
113
|
+
badge: BadgeInfo;
|
|
114
|
+
position: number;
|
|
115
|
+
visible: boolean;
|
|
116
|
+
label: string;
|
|
117
|
+
secondaryBar?: ComponentType<SecondaryBarComponentProps>;
|
|
118
|
+
appView: ComponentType<AppViewComponentProps>;
|
|
119
|
+
focusMode?: boolean;
|
|
120
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
3
|
+
/*
|
|
4
|
+
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: AGPL-3.0-only
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/apps/index.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/boards/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BaseFolder, LinkFolderFields, SearchFolderFields } from '../misc';
|
|
2
|
+
export type FolderFields = {
|
|
3
|
+
isLink: boolean;
|
|
4
|
+
depth: number;
|
|
5
|
+
parent?: Folder;
|
|
6
|
+
children: Array<Folder>;
|
|
7
|
+
};
|
|
8
|
+
export type UserFolder = BaseFolder & FolderFields & {
|
|
9
|
+
isLink: false;
|
|
10
|
+
};
|
|
11
|
+
export type LinkFolder = BaseFolder & FolderFields & LinkFolderFields & {
|
|
12
|
+
isLink: true;
|
|
13
|
+
};
|
|
14
|
+
export type SearchFolder = BaseFolder & Pick<FolderFields, 'parent' | 'isLink'> & SearchFolderFields;
|
|
15
|
+
export type Folder = UserFolder | LinkFolder;
|
|
16
|
+
export type Folders = {
|
|
17
|
+
[id: string]: Folder;
|
|
18
|
+
};
|
|
19
|
+
export type Roots = {
|
|
20
|
+
[id: string]: Folder;
|
|
21
|
+
};
|
|
22
|
+
export type Searches = {
|
|
23
|
+
[id: string]: SearchFolder;
|
|
24
|
+
};
|
|
25
|
+
export type FolderState = {
|
|
26
|
+
folders: Folders;
|
|
27
|
+
roots: Roots;
|
|
28
|
+
searches: Searches;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/folder/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DropdownItem } from '@zextras/carbonio-design-system';
|
|
2
|
+
export type Action = DropdownItem & {
|
|
3
|
+
primary?: boolean;
|
|
4
|
+
group?: string;
|
|
5
|
+
/** @deprecated use onClick instead */
|
|
6
|
+
click?: DropdownItem['onClick'];
|
|
7
|
+
};
|
|
8
|
+
export type ActionFactory<T> = (target: T) => Action;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/integrations/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { Store } from '@reduxjs/toolkit';
|
|
3
|
+
import type { To } from 'history';
|
|
4
|
+
import type { CarbonioModule, PanelMode } from '../apps';
|
|
5
|
+
import type { Folder } from '../folder';
|
|
6
|
+
export type LoadedAppRuntime = AppInjections & {
|
|
7
|
+
pkg: CarbonioModule;
|
|
8
|
+
};
|
|
9
|
+
export type LoadedAppsCache = {
|
|
10
|
+
[pkgName: string]: LoadedAppRuntime;
|
|
11
|
+
};
|
|
12
|
+
export type AppInjections = {
|
|
13
|
+
store: Store;
|
|
14
|
+
};
|
|
15
|
+
export type HistoryParams = {
|
|
16
|
+
path: To;
|
|
17
|
+
route?: string;
|
|
18
|
+
} | string;
|
|
19
|
+
export type UtilityBarStore = {
|
|
20
|
+
mode: PanelMode;
|
|
21
|
+
setMode: (mode: PanelMode) => void;
|
|
22
|
+
current?: string;
|
|
23
|
+
setCurrent: (current: string) => void;
|
|
24
|
+
secondaryBarState: boolean;
|
|
25
|
+
setSecondaryBarState: (state: boolean) => void;
|
|
26
|
+
};
|
|
27
|
+
export type AccountProps = {
|
|
28
|
+
accountId?: string;
|
|
29
|
+
type?: string;
|
|
30
|
+
id?: number;
|
|
31
|
+
email?: string;
|
|
32
|
+
label?: string;
|
|
33
|
+
personaLabel?: string;
|
|
34
|
+
identityId?: string;
|
|
35
|
+
};
|
|
36
|
+
/** @deprecated */
|
|
37
|
+
export type IdentityProps = {
|
|
38
|
+
id: string;
|
|
39
|
+
/**
|
|
40
|
+
* Type of the identity
|
|
41
|
+
*/
|
|
42
|
+
flgType: 'primary' | 'persona' | 'IMAP' | 'POP';
|
|
43
|
+
/**
|
|
44
|
+
* Localized description of the type of identity
|
|
45
|
+
*/
|
|
46
|
+
type: string;
|
|
47
|
+
/**
|
|
48
|
+
* is a number while you are creating a new one
|
|
49
|
+
*/
|
|
50
|
+
identityId: string | number;
|
|
51
|
+
fromAddress?: string;
|
|
52
|
+
identityName?: string;
|
|
53
|
+
fromDisplay?: string;
|
|
54
|
+
recoveryAccount?: string;
|
|
55
|
+
replyToDisplay?: string;
|
|
56
|
+
replyToAddress?: string;
|
|
57
|
+
replyToEnabled?: string;
|
|
58
|
+
saveToSent?: string;
|
|
59
|
+
sentMailFolder?: string;
|
|
60
|
+
whenInFoldersEnabled?: string;
|
|
61
|
+
whenSentToEnabled?: string;
|
|
62
|
+
whenSentToAddresses?: string;
|
|
63
|
+
};
|
|
64
|
+
type Meta<T extends Record<string, unknown>> = {
|
|
65
|
+
section?: string;
|
|
66
|
+
_attrs: T;
|
|
67
|
+
};
|
|
68
|
+
export type Grant = {
|
|
69
|
+
perm: string;
|
|
70
|
+
gt: 'usr' | 'grp' | 'dom' | 'cos' | 'all' | 'guest' | 'key' | 'pub';
|
|
71
|
+
zid: string;
|
|
72
|
+
expiry?: string;
|
|
73
|
+
d?: string;
|
|
74
|
+
pw?: string;
|
|
75
|
+
key?: string;
|
|
76
|
+
};
|
|
77
|
+
export type SoapPolicy = {
|
|
78
|
+
type?: 'user' | 'system';
|
|
79
|
+
id?: string;
|
|
80
|
+
name?: string;
|
|
81
|
+
lifetime?: string;
|
|
82
|
+
};
|
|
83
|
+
export type SoapRetentionPolicy = Array<{
|
|
84
|
+
keep: Array<{
|
|
85
|
+
policy: SoapPolicy;
|
|
86
|
+
}>;
|
|
87
|
+
purge: Array<{
|
|
88
|
+
policy: SoapPolicy;
|
|
89
|
+
}>;
|
|
90
|
+
}>;
|
|
91
|
+
export type FolderView = 'search folder' | 'tag' | 'conversation' | 'message' | 'contact' | 'document' | 'appointment' | 'virtual conversation' | 'remote folder' | 'wiki' | 'task' | 'chat';
|
|
92
|
+
export type BaseFolder = {
|
|
93
|
+
id: string;
|
|
94
|
+
uuid: string;
|
|
95
|
+
name: string;
|
|
96
|
+
absFolderPath?: string;
|
|
97
|
+
l?: string;
|
|
98
|
+
luuid?: string;
|
|
99
|
+
f?: string;
|
|
100
|
+
color?: number;
|
|
101
|
+
rgb?: string;
|
|
102
|
+
u?: number;
|
|
103
|
+
i4u?: number;
|
|
104
|
+
view?: FolderView;
|
|
105
|
+
rev?: number;
|
|
106
|
+
ms?: number;
|
|
107
|
+
md?: number;
|
|
108
|
+
n?: number;
|
|
109
|
+
i4n?: number;
|
|
110
|
+
s?: number;
|
|
111
|
+
i4ms?: number;
|
|
112
|
+
i4next?: number;
|
|
113
|
+
url?: string;
|
|
114
|
+
activesyncdisabled: boolean;
|
|
115
|
+
webOfflineSyncDays?: number;
|
|
116
|
+
perm?: string;
|
|
117
|
+
recursive: boolean;
|
|
118
|
+
rest?: string;
|
|
119
|
+
deletable: boolean;
|
|
120
|
+
meta?: Array<Meta<Record<string, unknown>>>;
|
|
121
|
+
acl?: {
|
|
122
|
+
grant: Array<Grant>;
|
|
123
|
+
};
|
|
124
|
+
retentionPolicy?: SoapRetentionPolicy;
|
|
125
|
+
checked?: boolean;
|
|
126
|
+
};
|
|
127
|
+
export type LinkFolderFields = {
|
|
128
|
+
owner?: string;
|
|
129
|
+
zid?: string;
|
|
130
|
+
rid?: string;
|
|
131
|
+
ruuid?: string;
|
|
132
|
+
oname?: string;
|
|
133
|
+
reminder: boolean;
|
|
134
|
+
broken: boolean;
|
|
135
|
+
};
|
|
136
|
+
export type SearchFolderFields = {
|
|
137
|
+
query?: string;
|
|
138
|
+
sortBy?: SortBy;
|
|
139
|
+
types?: string;
|
|
140
|
+
};
|
|
141
|
+
export type SortBy = 'dateDesc' | 'dateAsc' | 'idDesc' | 'idAsc' | 'subjDesc' | 'subjAsc' | 'nameDesc' | 'nameAsc' | 'durDesc' | 'durAsc' | 'none' | 'taskDueAsc' | 'taskDueDesc' | 'taskStatusAsc' | 'taskStatusDesc' | 'taskPercCompletedAsc' | 'taskPercCompletedDesc' | 'rcptAsc' | 'rcptDesc' | 'readAsc' | 'readDesc';
|
|
142
|
+
export type AccordionFolder = {
|
|
143
|
+
id: string;
|
|
144
|
+
label: string;
|
|
145
|
+
folder: Folder;
|
|
146
|
+
CustomComponent: ComponentType<{
|
|
147
|
+
folder: Folder;
|
|
148
|
+
}>;
|
|
149
|
+
items: Array<AccordionFolder>;
|
|
150
|
+
};
|
|
151
|
+
export type TreeNode<T> = T & {
|
|
152
|
+
id: string;
|
|
153
|
+
children: TreeNode<T>[];
|
|
154
|
+
parent?: TreeNode<T>;
|
|
155
|
+
};
|
|
156
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/misc/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export type GranteeType = 'usr' | 'grp' | 'egp' | 'all' | 'dom' | 'edom' | 'gst' | 'key' | 'pub' | 'email';
|
|
2
|
+
export type Right = 'invite' | 'loginAs' | 'sendAs' | 'sendOnBehalfOf' | 'viewFreeBusy';
|
|
3
|
+
/** Specify Access Control Entries */
|
|
4
|
+
export interface AccountACEInfo {
|
|
5
|
+
/** Zimbra ID of the grantee */
|
|
6
|
+
zid?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The type of grantee:
|
|
9
|
+
* usr - Zimbra user
|
|
10
|
+
* grp - Zimbra group(distribution list)
|
|
11
|
+
* all - all authenticated users
|
|
12
|
+
* gst - non-Zimbra email address and password (not yet supported)
|
|
13
|
+
* key - external user with an accesskey
|
|
14
|
+
* pub - public authenticated and unauthenticated access
|
|
15
|
+
* If the value is:
|
|
16
|
+
* usr - either \{zimbra-id\} or \{grantee-name\} is required
|
|
17
|
+
* grp - either \{zimbra-id\} or \{grantee-name\} is required
|
|
18
|
+
* all - \{zimbra-id\}, \{grantee-name\} and \{password\} are ignored
|
|
19
|
+
* gst - \{zimbra-id\} is ignored, \{grantee-name\} is required, \{password\} is optional
|
|
20
|
+
* key - \{zimbra-id\} is ignored, \{grantee-name\} is required
|
|
21
|
+
* pub - \{zimbra-id\}, \{grantee-name\} and \{password\} are ignored
|
|
22
|
+
* For usr and grp:
|
|
23
|
+
* if \{zimbra-id\} is provided, server will lookup the entry by \{zimbra-id\} and
|
|
24
|
+
* if \{zimbra-id\} is not provided, server will lookup the grantee by \{grantee-type\} and \{grantee-name\}
|
|
25
|
+
* if the lookup fails, NO_SUCH_ACCOUNT/NO_SUCH_DISTRIBUTION_LIST will be thrown.
|
|
26
|
+
* If \{grantee-type\} == key:
|
|
27
|
+
* if key is given, server will use that as the access key for this grant
|
|
28
|
+
* if key is not given, server will generate an access key
|
|
29
|
+
* If chkgt is "1 (true)", INVALID_REQUEST will be thrown if wrong grantee type is specified.
|
|
30
|
+
*/
|
|
31
|
+
gt: GranteeType;
|
|
32
|
+
/** Right */
|
|
33
|
+
right: Right;
|
|
34
|
+
/**
|
|
35
|
+
* Name or email address of the grantee.
|
|
36
|
+
* Not present if \{grantee-type\} is "all" or "pub"
|
|
37
|
+
*/
|
|
38
|
+
d?: string;
|
|
39
|
+
/** Optional access key when \{grantee-type\} is "key" */
|
|
40
|
+
key?: string;
|
|
41
|
+
/** Password when \{grantee-type\} is "gst" (not yet supported) */
|
|
42
|
+
pw?: string;
|
|
43
|
+
/** "1" if a right is specifically denied or "0" (default) */
|
|
44
|
+
deny?: boolean;
|
|
45
|
+
/** "1 (true)" if check grantee type or "0 (false)" (default) */
|
|
46
|
+
chkgt?: boolean;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../src/types/network/entities.ts"],"names":[],"mappings":""}
|