@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
package/types/i18n/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { i18n } from 'i18next';
|
|
8
|
-
|
|
9
|
-
export type I18nState = {
|
|
10
|
-
instances: Record<string, i18n>;
|
|
11
|
-
defaultI18n: i18n;
|
|
12
|
-
locale: string;
|
|
13
|
-
setters: {
|
|
14
|
-
setLocale: (locale: string) => void;
|
|
15
|
-
};
|
|
16
|
-
actions: {
|
|
17
|
-
addI18n: (apps: Array<CarbonioModule>, locale: string) => void;
|
|
18
|
-
};
|
|
19
|
-
};
|
package/types/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export * from './network';
|
|
8
|
-
export * from './exports';
|
|
9
|
-
export * from './account';
|
|
10
|
-
export * from './apps';
|
|
11
|
-
export * from './notification';
|
|
12
|
-
export * from './integrations';
|
|
13
|
-
export * from './theme';
|
|
14
|
-
export * from './search';
|
|
15
|
-
export * from './misc';
|
|
16
|
-
export * from './tags';
|
|
17
|
-
export * from './workers';
|
|
18
|
-
export * from './folder';
|
|
19
|
-
export * from './i18n';
|
|
20
|
-
export * from './boards';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { ComponentType } from 'react';
|
|
8
|
-
|
|
9
|
-
import { DropdownItem } from '@zextras/carbonio-design-system';
|
|
10
|
-
|
|
11
|
-
export type IntegrationsState = {
|
|
12
|
-
actions: ActionMap;
|
|
13
|
-
components: ComponentMap;
|
|
14
|
-
functions: FunctionMap;
|
|
15
|
-
removeActions: (...ids: Array<string>) => void;
|
|
16
|
-
registerActions: (
|
|
17
|
-
...items: Array<{ id: string; action: ActionFactory<unknown>; type: string }>
|
|
18
|
-
) => void;
|
|
19
|
-
removeComponents: (...ids: Array<string>) => void;
|
|
20
|
-
registerComponents: (
|
|
21
|
-
app: string
|
|
22
|
-
) => <P>(...items: Array<{ id: string; component: ComponentType<P> }>) => void;
|
|
23
|
-
removeFunctions: (...ids: Array<string>) => void;
|
|
24
|
-
registerFunctions: (...items: Array<{ id: string; fn: AnyFunction }>) => void;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export type Action = DropdownItem & {
|
|
28
|
-
primary?: boolean;
|
|
29
|
-
group?: string;
|
|
30
|
-
/** @deprecated use onClick instead */
|
|
31
|
-
click?: DropdownItem['onClick'];
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export type ActionFactory<T> = (target: T) => Action;
|
|
35
|
-
export type CombinedActionFactory<T> = (target: T) => Array<Action>;
|
|
36
|
-
|
|
37
|
-
export type ActionMap = Record<string, Record<string, ActionFactory<unknown>>>;
|
|
38
|
-
export type ComponentMap = Record<string, { app: string; item: ComponentType<unknown> }>;
|
|
39
|
-
export type FunctionMap = Record<string, AnyFunction>;
|
|
40
|
-
|
|
41
|
-
export type AnyFunction = (...args: unknown[]) => unknown;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export type LoginConfigStore = {
|
|
8
|
-
carbonioWebUiDarkMode?: boolean;
|
|
9
|
-
carbonioWebUiAppLogo?: string;
|
|
10
|
-
carbonioWebUiDarkAppLogo?: string;
|
|
11
|
-
carbonioWebUiTitle: string;
|
|
12
|
-
carbonioWebUiFavicon: string;
|
|
13
|
-
carbonioWebUiPrimaryColor?: string;
|
|
14
|
-
carbonioWebUiDarkPrimaryColor?: string;
|
|
15
|
-
carbonioWebUiLogoutURL?: string;
|
|
16
|
-
loaded: boolean;
|
|
17
|
-
};
|
package/types/misc/index.d.ts
DELETED
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import type { ComponentType } from 'react';
|
|
9
|
-
|
|
10
|
-
import type { Store } from '@reduxjs/toolkit';
|
|
11
|
-
import type { To } from 'history';
|
|
12
|
-
|
|
13
|
-
import { DARK_READER_VALUES } from '../../src/constants';
|
|
14
|
-
import type { CarbonioModule, PanelMode } from '../apps';
|
|
15
|
-
|
|
16
|
-
// eslint-disable-next-line no-shadow
|
|
17
|
-
export enum JSNS {
|
|
18
|
-
ACCOUNT = 'urn:zimbraAccount',
|
|
19
|
-
ADMIN = 'urn:zimbraAdmin',
|
|
20
|
-
MAIL = 'urn:zimbraMail',
|
|
21
|
-
ALL = 'urn:zimbra',
|
|
22
|
-
SYNC = 'urn:zimbraSync'
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export type DarkReaderPropValues = (typeof DARK_READER_VALUES)[number];
|
|
26
|
-
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
28
|
-
export type PackageDependentFunction = (app: string) => Function;
|
|
29
|
-
|
|
30
|
-
export type ContextBridgeState = {
|
|
31
|
-
packageDependentFunctions: Record<string, PackageDependentFunction>;
|
|
32
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
33
|
-
functions: Record<string, Function>;
|
|
34
|
-
add: (content: Partial<Omit<ContextBridgeState, 'add'>>) => void;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export type LoadedAppRuntime = AppInjections & {
|
|
38
|
-
pkg: CarbonioModule;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export type LoadedAppsCache = {
|
|
42
|
-
[pkgName: string]: LoadedAppRuntime;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export type AppInjections = {
|
|
46
|
-
store: Store;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export type HistoryParams =
|
|
50
|
-
| {
|
|
51
|
-
path: To;
|
|
52
|
-
route?: string;
|
|
53
|
-
}
|
|
54
|
-
| string;
|
|
55
|
-
export type UtilityBarStore = {
|
|
56
|
-
mode: PanelMode;
|
|
57
|
-
setMode: (mode: PanelMode) => void;
|
|
58
|
-
current?: string;
|
|
59
|
-
setCurrent: (current: string) => void;
|
|
60
|
-
secondaryBarState: boolean;
|
|
61
|
-
setSecondaryBarState: (state: boolean) => void;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export type AccountProps = {
|
|
65
|
-
accountId?: string;
|
|
66
|
-
type?: string;
|
|
67
|
-
id?: number;
|
|
68
|
-
email?: string;
|
|
69
|
-
label?: string;
|
|
70
|
-
personaLabel?: string;
|
|
71
|
-
identityId?: string;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
/** @deprecated */
|
|
75
|
-
export type IdentityProps = {
|
|
76
|
-
id: string;
|
|
77
|
-
/**
|
|
78
|
-
* Type of the identity
|
|
79
|
-
*/
|
|
80
|
-
flgType: 'primary' | 'persona' | 'IMAP' | 'POP';
|
|
81
|
-
/**
|
|
82
|
-
* Localized description of the type of identity
|
|
83
|
-
*/
|
|
84
|
-
type: string;
|
|
85
|
-
/**
|
|
86
|
-
* is a number while you are creating a new one
|
|
87
|
-
*/
|
|
88
|
-
identityId: string | number;
|
|
89
|
-
fromAddress?: string;
|
|
90
|
-
identityName?: string;
|
|
91
|
-
fromDisplay?: string;
|
|
92
|
-
recoveryAccount?: string;
|
|
93
|
-
replyToDisplay?: string;
|
|
94
|
-
replyToAddress?: string;
|
|
95
|
-
replyToEnabled?: string;
|
|
96
|
-
saveToSent?: string;
|
|
97
|
-
sentMailFolder?: string;
|
|
98
|
-
whenInFoldersEnabled?: string;
|
|
99
|
-
whenSentToEnabled?: string;
|
|
100
|
-
whenSentToAddresses?: string;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
export type CreateModalProps = {
|
|
104
|
-
background: string;
|
|
105
|
-
centered: boolean;
|
|
106
|
-
children: React.ReactElement;
|
|
107
|
-
confirmColor: string;
|
|
108
|
-
confirmLabel: string;
|
|
109
|
-
copyLabel: string;
|
|
110
|
-
customFooter: React.ReactElement;
|
|
111
|
-
disablePortal: boolean;
|
|
112
|
-
dismissLabel: string;
|
|
113
|
-
hideFooter: boolean;
|
|
114
|
-
maxHeight: string;
|
|
115
|
-
onClose: () => void;
|
|
116
|
-
onConfirm: () => void;
|
|
117
|
-
onSecondaryAction: () => void;
|
|
118
|
-
optionalFooter: React.ReactElement;
|
|
119
|
-
secondaryActionLabel: string;
|
|
120
|
-
showCloseIcon: boolean;
|
|
121
|
-
size: string;
|
|
122
|
-
title: string;
|
|
123
|
-
type: string;
|
|
124
|
-
zIndex: number;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
// Custom metadata
|
|
128
|
-
type Meta<T extends Record<string, unknown>> = {
|
|
129
|
-
// Section. Normally present. If absent this indicates that CustomMetadata info is present but there are no sections to report on.
|
|
130
|
-
section?: string;
|
|
131
|
-
_attrs: T;
|
|
132
|
-
};
|
|
133
|
-
// Grants
|
|
134
|
-
type Grant = {
|
|
135
|
-
// Rights - Some combination of (r)ead, (w)rite, (i)nsert, (d)elete, (a)dminister, workflow action (x), view (p)rivate, view (f)reebusy, (c)reate subfolder
|
|
136
|
-
perm: string;
|
|
137
|
-
/* The type of Grantee:
|
|
138
|
-
"usr",
|
|
139
|
-
"grp",
|
|
140
|
-
"dom" (domain),
|
|
141
|
-
"cos",
|
|
142
|
-
"all" (all authenticated users),
|
|
143
|
-
"pub" (public authenticated and unauthenticated access),
|
|
144
|
-
"guest" (non-Zimbra email address and password),
|
|
145
|
-
"key" (non-Zimbra email address and access key)
|
|
146
|
-
*/
|
|
147
|
-
gt: 'usr' | 'grp' | 'dom' | 'cos' | 'all' | 'guest' | 'key' | 'pub';
|
|
148
|
-
// Grantee ID
|
|
149
|
-
zid: string;
|
|
150
|
-
// Time when this grant expires. For internal/guest grant: If this attribute is not specified, the expiry of the grant is derived from internalGrantExpiry/guestGrantExpiry of the ACL it is part of. If this attribute is specified (overridden), the expiry value can not be greater than the corresponding expiry value in the ACL. For public grant: If this attribute is not specified, defaults to the maximum allowed expiry for a public grant. If not specified in the response, defaults to 0. Value of 0 indicates that this grant never expires.
|
|
151
|
-
expiry?: string;
|
|
152
|
-
// Name or email address of the principal being granted rights. optional if {grantee-type} is "all"/"guest"/"pub". When specified in a request, this can be just the username portion of the address in the default domain.
|
|
153
|
-
d?: string;
|
|
154
|
-
// Optional argument. password when {grantee-type} is "guest"
|
|
155
|
-
pw?: string;
|
|
156
|
-
// Optional argument. Access key when {grantee-type} is "key"
|
|
157
|
-
key?: string;
|
|
158
|
-
};
|
|
159
|
-
export type SoapPolicy = {
|
|
160
|
-
// Retention policy type
|
|
161
|
-
type?: 'user' | 'system';
|
|
162
|
-
id?: string;
|
|
163
|
-
name?: string;
|
|
164
|
-
lifetime?: string;
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
export type SoapRetentionPolicy = Array<{
|
|
168
|
-
keep: Array<{ policy: SoapPolicy }>;
|
|
169
|
-
purge: Array<{ policy: SoapPolicy }>;
|
|
170
|
-
}>;
|
|
171
|
-
|
|
172
|
-
export type FolderView =
|
|
173
|
-
| 'search folder'
|
|
174
|
-
| 'tag'
|
|
175
|
-
| 'conversation'
|
|
176
|
-
| 'message'
|
|
177
|
-
| 'contact'
|
|
178
|
-
| 'document'
|
|
179
|
-
| 'appointment'
|
|
180
|
-
| 'virtual conversation'
|
|
181
|
-
| 'remote folder'
|
|
182
|
-
| 'wiki'
|
|
183
|
-
| 'task'
|
|
184
|
-
| 'chat';
|
|
185
|
-
export type BaseFolder = {
|
|
186
|
-
// Folder ID
|
|
187
|
-
id: string;
|
|
188
|
-
// Item's UUID - a globally unique identifier
|
|
189
|
-
uuid: string;
|
|
190
|
-
// Name of folder; max length 128; whitespace is trimmed by server; Cannot contain ':', '"', '/', or any character below 0x20
|
|
191
|
-
name: string;
|
|
192
|
-
// Absolute Folder path
|
|
193
|
-
absFolderPath?: string;
|
|
194
|
-
// ID of parent folder (absent for root folder)
|
|
195
|
-
l?: string;
|
|
196
|
-
// UUID of parent folder (absent for root folder)
|
|
197
|
-
luuid?: string;
|
|
198
|
-
// Flags - checked in UI (#), exclude free/(b)usy info, IMAP subscribed (*), does not (i)nherit rights from parent, is a s(y)nc folder with external data source, sync is turned on(~), folder does n(o)t allow inferiors / children
|
|
199
|
-
f?: string;
|
|
200
|
-
// color numeric; range 0-127; defaults to 0 if not present; client can display only 0-7
|
|
201
|
-
color?: number;
|
|
202
|
-
// RGB color in format #rrggbb where r,g and b are hex digits
|
|
203
|
-
rgb?: string;
|
|
204
|
-
// Number of unread messages in folder
|
|
205
|
-
u?: number;
|
|
206
|
-
// Number of unread messages with this tag, including those with the IMAP \Deleted flag set
|
|
207
|
-
i4u?: number;
|
|
208
|
-
// (optional) Default type for the folder; used by web client to decide which view to use;
|
|
209
|
-
view?: FolderView;
|
|
210
|
-
// Revision
|
|
211
|
-
rev?: number;
|
|
212
|
-
// Modified sequence
|
|
213
|
-
ms?: number;
|
|
214
|
-
// Modified date in seconds
|
|
215
|
-
md?: number;
|
|
216
|
-
// Number of non-subfolder items in folder
|
|
217
|
-
n?: number;
|
|
218
|
-
// Number of non-subfolder items in folder, including those with the IMAP \Deleted flag set
|
|
219
|
-
i4n?: number;
|
|
220
|
-
// Total size of all of non-subfolder items in folder
|
|
221
|
-
s?: number;
|
|
222
|
-
// Imap modified sequence
|
|
223
|
-
i4ms?: number;
|
|
224
|
-
// IMAP UIDNEXT
|
|
225
|
-
i4next?: number;
|
|
226
|
-
// URL (RSS, iCal, etc.) this folder syncs its contents to
|
|
227
|
-
url?: string;
|
|
228
|
-
activesyncdisabled: boolean;
|
|
229
|
-
// Number of days for which web client would sync folder data for offline use
|
|
230
|
-
webOfflineSyncDays?: number;
|
|
231
|
-
// For remote folders, the access rights the authenticated user has on the folder - will contain the calculated (c)reate folder permission if the user has both (i)nsert and (r)ead access on the folder
|
|
232
|
-
perm?: string;
|
|
233
|
-
// recursive
|
|
234
|
-
recursive: boolean;
|
|
235
|
-
// URL to the folder in the REST interface for rest-enabled apps (such as notebook)
|
|
236
|
-
rest?: string;
|
|
237
|
-
// whether this folder can be deleted
|
|
238
|
-
deletable: boolean;
|
|
239
|
-
// custom metadata
|
|
240
|
-
meta?: Array<Meta>;
|
|
241
|
-
// ACL for sharing
|
|
242
|
-
acl?: { grant: Array<Grant> };
|
|
243
|
-
retentionPolicy?: SoapRetentionPolicy;
|
|
244
|
-
// indicates whether this folder is displayed in Calendars
|
|
245
|
-
checked?: boolean;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
export type LinkFolderFields = {
|
|
249
|
-
// Primary email address of the owner of the linked-to resource
|
|
250
|
-
owner?: string;
|
|
251
|
-
// Zimbra ID (guid) of the owner of the linked-to resource
|
|
252
|
-
zid?: string;
|
|
253
|
-
// Item ID of the linked-to resource in the remote mailbox
|
|
254
|
-
rid?: string;
|
|
255
|
-
// UUID of the linked-to resource in the remote mailbox
|
|
256
|
-
ruuid?: string;
|
|
257
|
-
// The name presently used for the item by the owner
|
|
258
|
-
oname?: string;
|
|
259
|
-
// If set, client should display reminders for shared appointments/tasks
|
|
260
|
-
reminder: boolean;
|
|
261
|
-
// If "tr" is true in the request, broken is set if this is a broken link
|
|
262
|
-
broken: boolean;
|
|
263
|
-
};
|
|
264
|
-
export type SearchFolderFields = {
|
|
265
|
-
// Query
|
|
266
|
-
query?: string;
|
|
267
|
-
// Sort by
|
|
268
|
-
sortBy?: SortBy;
|
|
269
|
-
// Comma-separated list. Legal values in list are:
|
|
270
|
-
// appointment|chat|contact|conversation|document|message|tag|task|wiki (default is "conversation")
|
|
271
|
-
types?: string;
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
export type SortBy =
|
|
275
|
-
| 'dateDesc'
|
|
276
|
-
| 'dateAsc'
|
|
277
|
-
| 'idDesc'
|
|
278
|
-
| 'idAsc'
|
|
279
|
-
| 'subjDesc'
|
|
280
|
-
| 'subjAsc'
|
|
281
|
-
| 'nameDesc'
|
|
282
|
-
| 'nameAsc'
|
|
283
|
-
| 'durDesc'
|
|
284
|
-
| 'durAsc'
|
|
285
|
-
| 'none'
|
|
286
|
-
| 'taskDueAsc'
|
|
287
|
-
| 'taskDueDesc'
|
|
288
|
-
| 'taskStatusAsc'
|
|
289
|
-
| 'taskStatusDesc'
|
|
290
|
-
| 'taskPercCompletedAsc'
|
|
291
|
-
| 'taskPercCompletedDesc'
|
|
292
|
-
| 'rcptAsc'
|
|
293
|
-
| 'rcptDesc'
|
|
294
|
-
| 'readAsc'
|
|
295
|
-
| 'readDesc';
|
|
296
|
-
|
|
297
|
-
export type AccordionFolder = {
|
|
298
|
-
id: string;
|
|
299
|
-
label: string;
|
|
300
|
-
folder: Folder;
|
|
301
|
-
CustomComponent: ComponentType<{ folder: Folder }>;
|
|
302
|
-
items: Array<AccordionFolder>;
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
export type TreeNode<T> = T & {
|
|
306
|
-
id: string;
|
|
307
|
-
children: TreeNode<T>[];
|
|
308
|
-
parent?: TreeNode<T>;
|
|
309
|
-
};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
// The type of grantee:
|
|
7
|
-
export type GranteeType =
|
|
8
|
-
// usr - Zimbra user
|
|
9
|
-
| 'usr'
|
|
10
|
-
// grp - Zimbra group(distribution list)
|
|
11
|
-
| 'grp'
|
|
12
|
-
// an external AD group
|
|
13
|
-
| 'egp'
|
|
14
|
-
// all - all authenticated users
|
|
15
|
-
| 'all'
|
|
16
|
-
// Zimbra Domain
|
|
17
|
-
| 'dom'
|
|
18
|
-
// non-Zimbra domain (used with sendToDistList right)
|
|
19
|
-
| 'edom'
|
|
20
|
-
// gst - non-Zimbra email address and password (not yet supported)
|
|
21
|
-
| 'gst'
|
|
22
|
-
// key - external user with an accesskey
|
|
23
|
-
| 'key'
|
|
24
|
-
// pub - public authenticated and unauthenticated access
|
|
25
|
-
| 'pub'
|
|
26
|
-
// Pseudo grantee type. Granting code will map to usr/grp/egp or gst
|
|
27
|
-
| 'email';
|
|
28
|
-
|
|
29
|
-
export type Right =
|
|
30
|
-
// Following rights are partial, they are the result of
|
|
31
|
-
// description: automatically add meeting invites from grantee to the target's calendar
|
|
32
|
-
// right type: preset
|
|
33
|
-
// target type(s): account
|
|
34
|
-
// grant target type: (default)
|
|
35
|
-
// right class: USER
|
|
36
|
-
| 'invite'
|
|
37
|
-
// description: login as another user. Currently this is only honored for imap/pop3 login.
|
|
38
|
-
// right type: preset
|
|
39
|
-
// target type(s): account
|
|
40
|
-
// grant target type: (default)
|
|
41
|
-
// right class: USER
|
|
42
|
-
| 'loginAs'
|
|
43
|
-
// description: reply to messages in a shared folder as the owner of the folder
|
|
44
|
-
// right type: preset
|
|
45
|
-
// target type(s): account
|
|
46
|
-
// grant target type: account
|
|
47
|
-
// right class: USER
|
|
48
|
-
| 'sendAs'
|
|
49
|
-
// description: send messages on behalf of the grantor
|
|
50
|
-
// right type: preset
|
|
51
|
-
// target type(s): account
|
|
52
|
-
// grant target type: account
|
|
53
|
-
// right class: USER
|
|
54
|
-
| 'sendOnBehalfOf'
|
|
55
|
-
// description: view free/busy
|
|
56
|
-
// right type: preset
|
|
57
|
-
// target type(s): account
|
|
58
|
-
// grant target type: (default)
|
|
59
|
-
// right class: USER
|
|
60
|
-
| 'viewFreeBusy';
|
|
61
|
-
|
|
62
|
-
/** Specify Access Control Entries */
|
|
63
|
-
export interface AccountACEInfo {
|
|
64
|
-
/** Zimbra ID of the grantee */
|
|
65
|
-
zid?: string;
|
|
66
|
-
/**
|
|
67
|
-
* The type of grantee:
|
|
68
|
-
* usr - Zimbra user
|
|
69
|
-
* grp - Zimbra group(distribution list)
|
|
70
|
-
* all - all authenticated users
|
|
71
|
-
* gst - non-Zimbra email address and password (not yet supported)
|
|
72
|
-
* key - external user with an accesskey
|
|
73
|
-
* pub - public authenticated and unauthenticated access
|
|
74
|
-
* If the value is:
|
|
75
|
-
* usr - either {zimbra-id} or {grantee-name} is required
|
|
76
|
-
* grp - either {zimbra-id} or {grantee-name} is required
|
|
77
|
-
* all - {zimbra-id}, {grantee-name} and {password} are ignored
|
|
78
|
-
* gst - {zimbra-id} is ignored, {grantee-name} is required, {password} is optional
|
|
79
|
-
* key - {zimbra-id} is ignored, {grantee-name} is required
|
|
80
|
-
* pub - {zimbra-id}, {grantee-name} and {password} are ignored
|
|
81
|
-
* For usr and grp:
|
|
82
|
-
* if {zimbra-id} is provided, server will lookup the entry by {zimbra-id} and
|
|
83
|
-
* if {zimbra-id} is not provided, server will lookup the grantee by {grantee-type} and {grantee-name}
|
|
84
|
-
* if the lookup fails, NO_SUCH_ACCOUNT/NO_SUCH_DISTRIBUTION_LIST will be thrown.
|
|
85
|
-
* If {grantee-type} == key:
|
|
86
|
-
* if key is given, server will use that as the access key for this grant
|
|
87
|
-
* if key is not given, server will generate an access key
|
|
88
|
-
* If chkgt is "1 (true)", INVALID_REQUEST will be thrown if wrong grantee type is specified.
|
|
89
|
-
*/
|
|
90
|
-
gt: GranteeType;
|
|
91
|
-
/** Right */
|
|
92
|
-
right: Right;
|
|
93
|
-
/**
|
|
94
|
-
* Name or email address of the grantee.
|
|
95
|
-
* Not present if {grantee-type} is "all" or "pub"
|
|
96
|
-
*/
|
|
97
|
-
d?: string;
|
|
98
|
-
/** Optional access key when {grantee-type} is "key" */
|
|
99
|
-
key?: string;
|
|
100
|
-
/** Password when {grantee-type} is "gst" (not yet supported) */
|
|
101
|
-
pw?: string;
|
|
102
|
-
/** "1" if a right is specifically denied or "0" (default) */
|
|
103
|
-
deny?: boolean;
|
|
104
|
-
/** "1 (true)" if check grantee type or "0 (false)" (default) */
|
|
105
|
-
chkgt?: boolean;
|
|
106
|
-
}
|