@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.
Files changed (461) hide show
  1. package/lib/boot/app/app-context-provider.d.ts +7 -0
  2. package/lib/boot/app/app-context-provider.js +17 -0
  3. package/lib/boot/app/app-context-provider.js.map +1 -0
  4. package/lib/boot/app/app-error-catcher.d.ts +3 -0
  5. package/lib/boot/app/app-error-catcher.js +41 -0
  6. package/lib/boot/app/app-error-catcher.js.map +1 -0
  7. package/lib/boot/app/app-loader-functions.d.ts +37 -0
  8. package/lib/boot/app/app-loader-functions.js +121 -0
  9. package/lib/boot/app/app-loader-functions.js.map +1 -0
  10. package/lib/boot/app/app-loader-setters.d.ts +38 -0
  11. package/lib/boot/app/app-loader-setters.js +46 -0
  12. package/lib/boot/app/app-loader-setters.js.map +1 -0
  13. package/lib/boot/matomo.d.ts +12 -0
  14. package/lib/boot/matomo.js +22 -0
  15. package/lib/boot/matomo.js.map +1 -0
  16. package/lib/boot/module-i18next-provider.d.ts +7 -0
  17. package/lib/boot/module-i18next-provider.js +22 -0
  18. package/lib/boot/module-i18next-provider.js.map +1 -0
  19. package/lib/boot/tracker.d.ts +11 -0
  20. package/lib/boot/tracker.js +57 -0
  21. package/lib/boot/tracker.js.map +1 -0
  22. package/lib/constants/index.d.ts +146 -0
  23. package/lib/constants/index.js +160 -0
  24. package/lib/constants/index.js.map +1 -0
  25. package/lib/constants/locales.d.ts +83 -0
  26. package/lib/constants/locales.js +86 -0
  27. package/lib/constants/locales.js.map +1 -0
  28. package/lib/history/hooks.d.ts +12 -0
  29. package/lib/history/hooks.js +69 -0
  30. package/lib/history/hooks.js.map +1 -0
  31. package/lib/lib.d.ts +74 -0
  32. package/lib/lib.js +134 -0
  33. package/lib/lib.js.map +1 -0
  34. package/lib/network/edit-settings.d.ts +14 -0
  35. package/lib/network/edit-settings.js +144 -0
  36. package/lib/network/edit-settings.js.map +1 -0
  37. package/lib/network/fetch.d.ts +4 -0
  38. package/lib/network/fetch.js +175 -0
  39. package/lib/network/fetch.js.map +1 -0
  40. package/lib/network/tags.d.ts +27 -0
  41. package/lib/network/tags.js +31 -0
  42. package/lib/network/tags.js.map +1 -0
  43. package/lib/network/user-agent.d.ts +1 -0
  44. package/lib/network/user-agent.js +15 -0
  45. package/lib/network/user-agent.js.map +1 -0
  46. package/lib/network/utils.d.ts +2 -0
  47. package/lib/network/utils.js +17 -0
  48. package/lib/network/utils.js.map +1 -0
  49. package/lib/notification/NotificationManager.d.ts +22 -0
  50. package/lib/notification/NotificationManager.js +153 -0
  51. package/lib/notification/NotificationManager.js.map +1 -0
  52. package/lib/reporting/functions.d.ts +2 -0
  53. package/lib/reporting/functions.js +14 -0
  54. package/lib/reporting/functions.js.map +1 -0
  55. package/lib/reporting/store.d.ts +8 -0
  56. package/lib/reporting/store.js +43 -0
  57. package/lib/reporting/store.js.map +1 -0
  58. package/lib/search/run-search.d.ts +2 -0
  59. package/lib/search/run-search.js +17 -0
  60. package/lib/search/run-search.js.map +1 -0
  61. package/lib/search/search-store.d.ts +2 -0
  62. package/lib/search/search-store.js +20 -0
  63. package/lib/search/search-store.js.map +1 -0
  64. package/lib/search/useSearchModule.d.ts +3 -0
  65. package/lib/search/useSearchModule.js +21 -0
  66. package/lib/search/useSearchModule.js.map +1 -0
  67. package/lib/settings/components/settings-header.d.ts +9 -0
  68. package/lib/settings/components/settings-header.js +86 -0
  69. package/lib/settings/components/settings-header.js.map +1 -0
  70. package/lib/shell/hooks/useIsMobile.d.ts +4 -0
  71. package/lib/shell/hooks/useIsMobile.js +22 -0
  72. package/lib/shell/hooks/useIsMobile.js.map +1 -0
  73. package/lib/shell/hooks/useLocalStorage.d.ts +14 -0
  74. package/lib/shell/hooks/useLocalStorage.js +77 -0
  75. package/lib/shell/hooks/useLocalStorage.js.map +1 -0
  76. package/lib/shell/shell-context.d.ts +4 -0
  77. package/lib/shell/shell-context.js +11 -0
  78. package/lib/shell/shell-context.js.map +1 -0
  79. package/lib/store/account/hooks.d.ts +14 -0
  80. package/lib/store/account/hooks.js +51 -0
  81. package/lib/store/account/hooks.js.map +1 -0
  82. package/lib/store/account/index.d.ts +2 -0
  83. package/lib/store/account/index.js +24 -0
  84. package/lib/store/account/index.js.map +1 -0
  85. package/lib/store/account/store.d.ts +2 -0
  86. package/lib/store/account/store.js +23 -0
  87. package/lib/store/account/store.js.map +1 -0
  88. package/lib/store/app/hooks.d.ts +14 -0
  89. package/lib/store/app/hooks.js +41 -0
  90. package/lib/store/app/hooks.js.map +1 -0
  91. package/lib/store/app/index.d.ts +2 -0
  92. package/lib/store/app/index.js +24 -0
  93. package/lib/store/app/index.js.map +1 -0
  94. package/lib/store/app/store.d.ts +44 -0
  95. package/lib/store/app/store.js +265 -0
  96. package/lib/store/app/store.js.map +1 -0
  97. package/lib/store/app/utils.d.ts +10 -0
  98. package/lib/store/app/utils.js +123 -0
  99. package/lib/store/app/utils.js.map +1 -0
  100. package/lib/store/boards/hooks.d.ts +31 -0
  101. package/lib/store/boards/hooks.js +82 -0
  102. package/lib/store/boards/hooks.js.map +1 -0
  103. package/lib/store/boards/index.d.ts +2 -0
  104. package/lib/store/boards/index.js +24 -0
  105. package/lib/store/boards/index.js.map +1 -0
  106. package/lib/store/boards/store.d.ts +23 -0
  107. package/lib/store/boards/store.js +124 -0
  108. package/lib/store/boards/store.js.map +1 -0
  109. package/lib/store/context-bridge.d.ts +11 -0
  110. package/lib/store/context-bridge.js +34 -0
  111. package/lib/store/context-bridge.js.map +1 -0
  112. package/lib/store/folder/hooks.d.ts +21 -0
  113. package/lib/store/folder/hooks.js +77 -0
  114. package/lib/store/folder/hooks.js.map +1 -0
  115. package/lib/store/folder/index.d.ts +2 -0
  116. package/lib/store/folder/index.js +24 -0
  117. package/lib/store/folder/index.js.map +1 -0
  118. package/lib/store/folder/store.d.ts +2 -0
  119. package/lib/store/folder/store.js +20 -0
  120. package/lib/store/folder/store.js.map +1 -0
  121. package/lib/store/folder/utils.d.ts +16 -0
  122. package/lib/store/folder/utils.js +53 -0
  123. package/lib/store/folder/utils.js.map +1 -0
  124. package/lib/store/i18n/hooks.d.ts +4 -0
  125. package/lib/store/i18n/hooks.js +21 -0
  126. package/lib/store/i18n/hooks.js.map +1 -0
  127. package/lib/store/i18n/store.d.ts +13 -0
  128. package/lib/store/i18n/store.js +104 -0
  129. package/lib/store/i18n/store.js.map +1 -0
  130. package/lib/store/integrations/composer.d.ts +49 -0
  131. package/lib/store/integrations/composer.js +233 -0
  132. package/lib/store/integrations/composer.js.map +1 -0
  133. package/lib/store/integrations/getters.d.ts +9 -0
  134. package/lib/store/integrations/getters.js +41 -0
  135. package/lib/store/integrations/getters.js.map +1 -0
  136. package/lib/store/integrations/hooks.d.ts +9 -0
  137. package/lib/store/integrations/hooks.js +42 -0
  138. package/lib/store/integrations/hooks.js.map +1 -0
  139. package/lib/store/integrations/store.d.ts +41 -0
  140. package/lib/store/integrations/store.js +65 -0
  141. package/lib/store/integrations/store.js.map +1 -0
  142. package/lib/store/integrations/utils.d.ts +8 -0
  143. package/lib/store/integrations/utils.js +50 -0
  144. package/lib/store/integrations/utils.js.map +1 -0
  145. package/lib/store/login/getters.d.ts +2 -0
  146. package/lib/store/login/getters.js +18 -0
  147. package/lib/store/login/getters.js.map +1 -0
  148. package/lib/store/login/store.d.ts +12 -0
  149. package/lib/store/login/store.js +18 -0
  150. package/lib/store/login/store.js.map +1 -0
  151. package/lib/store/network/hooks.d.ts +3 -0
  152. package/lib/store/network/hooks.js +14 -0
  153. package/lib/store/network/hooks.js.map +1 -0
  154. package/lib/store/network/index.d.ts +2 -0
  155. package/lib/store/network/index.js +24 -0
  156. package/lib/store/network/index.js.map +1 -0
  157. package/lib/store/network/store.d.ts +2 -0
  158. package/lib/store/network/store.js +15 -0
  159. package/lib/store/network/store.js.map +1 -0
  160. package/lib/store/network/utils.d.ts +13 -0
  161. package/lib/store/network/utils.js +94 -0
  162. package/lib/store/network/utils.js.map +1 -0
  163. package/lib/store/tags/hooks.d.ts +3 -0
  164. package/lib/store/tags/hooks.js +15 -0
  165. package/lib/store/tags/hooks.js.map +1 -0
  166. package/lib/store/tags/index.d.ts +2 -0
  167. package/lib/store/tags/index.js +24 -0
  168. package/lib/store/tags/index.js.map +1 -0
  169. package/lib/store/tags/store.d.ts +2 -0
  170. package/lib/store/tags/store.js +18 -0
  171. package/lib/store/tags/store.js.map +1 -0
  172. package/lib/tsdoc-metadata.json +11 -0
  173. package/lib/types/account/index.d.ts +140 -0
  174. package/lib/types/account/index.js +8 -0
  175. package/lib/types/account/index.js.map +1 -0
  176. package/lib/types/apps/index.d.ts +120 -0
  177. package/lib/types/apps/index.js +9 -0
  178. package/lib/types/apps/index.js.map +1 -0
  179. package/lib/types/boards/index.d.ts +10 -0
  180. package/lib/types/boards/index.js +3 -0
  181. package/lib/types/boards/index.js.map +1 -0
  182. package/lib/types/folder/index.d.ts +29 -0
  183. package/lib/types/folder/index.js +8 -0
  184. package/lib/types/folder/index.js.map +1 -0
  185. package/lib/types/integrations/index.d.ts +8 -0
  186. package/lib/types/integrations/index.js +8 -0
  187. package/lib/types/integrations/index.js.map +1 -0
  188. package/lib/types/misc/index.d.ts +156 -0
  189. package/lib/types/misc/index.js +8 -0
  190. package/lib/types/misc/index.js.map +1 -0
  191. package/lib/types/network/entities.d.ts +47 -0
  192. package/lib/types/network/entities.js +3 -0
  193. package/lib/types/network/entities.js.map +1 -0
  194. package/lib/types/network/index.d.ts +171 -0
  195. package/lib/types/network/index.js +23 -0
  196. package/lib/types/network/index.js.map +1 -0
  197. package/lib/types/network/soap.d.ts +102 -0
  198. package/lib/types/network/soap.js +8 -0
  199. package/lib/types/network/soap.js.map +1 -0
  200. package/lib/types/search/index.d.ts +11 -0
  201. package/lib/types/search/index.js +23 -0
  202. package/lib/types/search/index.js.map +1 -0
  203. package/lib/types/search/items.d.ts +6 -0
  204. package/lib/types/search/items.js +3 -0
  205. package/lib/types/search/items.js.map +1 -0
  206. package/lib/types/tags/index.d.ts +12 -0
  207. package/lib/types/tags/index.js +9 -0
  208. package/lib/types/tags/index.js.map +1 -0
  209. package/lib/types/workers/index.d.ts +17 -0
  210. package/lib/types/workers/index.js +3 -0
  211. package/lib/types/workers/index.js.map +1 -0
  212. package/lib/ui-extras/app-link.d.ts +6 -0
  213. package/lib/ui-extras/app-link.js +40 -0
  214. package/lib/ui-extras/app-link.js.map +1 -0
  215. package/lib/ui-extras/nav-guard.d.ts +9 -0
  216. package/lib/ui-extras/nav-guard.js +96 -0
  217. package/lib/ui-extras/nav-guard.js.map +1 -0
  218. package/lib/ui-extras/spinner.d.ts +2 -0
  219. package/lib/ui-extras/spinner.js +18 -0
  220. package/lib/ui-extras/spinner.js.map +1 -0
  221. package/lib/utils/typeUtils.d.ts +14 -0
  222. package/lib/utils/typeUtils.js +3 -0
  223. package/lib/utils/typeUtils.js.map +1 -0
  224. package/lib/utils/utils.d.ts +20 -0
  225. package/lib/utils/utils.js +39 -0
  226. package/lib/utils/utils.js.map +1 -0
  227. package/lib/workers/index.d.ts +2 -0
  228. package/lib/workers/index.js +15 -0
  229. package/lib/workers/index.js.map +1 -0
  230. package/package.json +34 -37
  231. package/dist/20d012c938e8d0dcc703.mp3 +0 -0
  232. package/dist/2d9c9ae572663301cb7d.js +0 -75391
  233. package/dist/CHANGELOG.md +0 -701
  234. package/dist/carbonio-head.svg +0 -200
  235. package/dist/carbonio.svg +0 -10
  236. package/dist/commit +0 -1
  237. package/dist/component.json +0 -13
  238. package/dist/favicon.png +0 -0
  239. package/dist/files/roboto-cyrillic-300-normal.woff +0 -0
  240. package/dist/files/roboto-cyrillic-300-normal.woff2 +0 -0
  241. package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
  242. package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
  243. package/dist/files/roboto-cyrillic-500-normal.woff +0 -0
  244. package/dist/files/roboto-cyrillic-500-normal.woff2 +0 -0
  245. package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
  246. package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
  247. package/dist/files/roboto-cyrillic-ext-300-normal.woff +0 -0
  248. package/dist/files/roboto-cyrillic-ext-300-normal.woff2 +0 -0
  249. package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  250. package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  251. package/dist/files/roboto-cyrillic-ext-500-normal.woff +0 -0
  252. package/dist/files/roboto-cyrillic-ext-500-normal.woff2 +0 -0
  253. package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  254. package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  255. package/dist/files/roboto-greek-300-normal.woff +0 -0
  256. package/dist/files/roboto-greek-300-normal.woff2 +0 -0
  257. package/dist/files/roboto-greek-400-normal.woff +0 -0
  258. package/dist/files/roboto-greek-400-normal.woff2 +0 -0
  259. package/dist/files/roboto-greek-500-normal.woff +0 -0
  260. package/dist/files/roboto-greek-500-normal.woff2 +0 -0
  261. package/dist/files/roboto-greek-700-normal.woff +0 -0
  262. package/dist/files/roboto-greek-700-normal.woff2 +0 -0
  263. package/dist/files/roboto-greek-ext-300-normal.woff +0 -0
  264. package/dist/files/roboto-greek-ext-300-normal.woff2 +0 -0
  265. package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
  266. package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
  267. package/dist/files/roboto-greek-ext-500-normal.woff +0 -0
  268. package/dist/files/roboto-greek-ext-500-normal.woff2 +0 -0
  269. package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
  270. package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
  271. package/dist/files/roboto-latin-300-normal.woff +0 -0
  272. package/dist/files/roboto-latin-300-normal.woff2 +0 -0
  273. package/dist/files/roboto-latin-400-normal.woff +0 -0
  274. package/dist/files/roboto-latin-400-normal.woff2 +0 -0
  275. package/dist/files/roboto-latin-500-normal.woff +0 -0
  276. package/dist/files/roboto-latin-500-normal.woff2 +0 -0
  277. package/dist/files/roboto-latin-700-normal.woff +0 -0
  278. package/dist/files/roboto-latin-700-normal.woff2 +0 -0
  279. package/dist/files/roboto-latin-ext-300-normal.woff +0 -0
  280. package/dist/files/roboto-latin-ext-300-normal.woff2 +0 -0
  281. package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
  282. package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
  283. package/dist/files/roboto-latin-ext-500-normal.woff +0 -0
  284. package/dist/files/roboto-latin-ext-500-normal.woff2 +0 -0
  285. package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
  286. package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
  287. package/dist/files/roboto-vietnamese-300-normal.woff +0 -0
  288. package/dist/files/roboto-vietnamese-300-normal.woff2 +0 -0
  289. package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
  290. package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
  291. package/dist/files/roboto-vietnamese-500-normal.woff +0 -0
  292. package/dist/files/roboto-vietnamese-500-normal.woff2 +0 -0
  293. package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
  294. package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
  295. package/dist/i18n/ar.json +0 -1
  296. package/dist/i18n/de.json +0 -438
  297. package/dist/i18n/en-US.json +0 -1
  298. package/dist/i18n/en.json +0 -438
  299. package/dist/i18n/es-419.json +0 -1
  300. package/dist/i18n/es.json +0 -438
  301. package/dist/i18n/fa.json +0 -1
  302. package/dist/i18n/fi.json +0 -12
  303. package/dist/i18n/fr.json +0 -438
  304. package/dist/i18n/hi.json +0 -438
  305. package/dist/i18n/hr.json +0 -1
  306. package/dist/i18n/hu.json +0 -31
  307. package/dist/i18n/id.json +0 -438
  308. package/dist/i18n/it.json +0 -438
  309. package/dist/i18n/ja.json +0 -438
  310. package/dist/i18n/ky.json +0 -6
  311. package/dist/i18n/nl.json +0 -438
  312. package/dist/i18n/pl.json +0 -438
  313. package/dist/i18n/pt-PT.json +0 -1
  314. package/dist/i18n/pt.json +0 -438
  315. package/dist/i18n/pt_BR.json +0 -438
  316. package/dist/i18n/ro.json +0 -9
  317. package/dist/i18n/ru.json +0 -438
  318. package/dist/i18n/th.json +0 -438
  319. package/dist/i18n/tr.json +0 -438
  320. package/dist/i18n/uk.json +0 -186
  321. package/dist/i18n/vi.json +0 -396
  322. package/dist/i18n/zh_Hans.json +0 -412
  323. package/dist/index.html +0 -25
  324. package/dist/notification.mp3 +0 -0
  325. package/dist/package/PKGBUILD +0 -45
  326. package/dist/plugins/help/js/i18n/keynav/de.js +0 -90
  327. package/dist/plugins/help/js/i18n/keynav/en.js +0 -90
  328. package/dist/plugins/help/js/i18n/keynav/es.js +0 -90
  329. package/dist/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  330. package/dist/plugins/help/js/i18n/keynav/hi.js +0 -90
  331. package/dist/plugins/help/js/i18n/keynav/it.js +0 -90
  332. package/dist/plugins/help/js/i18n/keynav/ja.js +0 -90
  333. package/dist/plugins/help/js/i18n/keynav/nl.js +0 -90
  334. package/dist/plugins/help/js/i18n/keynav/pl.js +0 -90
  335. package/dist/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  336. package/dist/plugins/help/js/i18n/keynav/ro.js +0 -90
  337. package/dist/plugins/help/js/i18n/keynav/ru.js +0 -90
  338. package/dist/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  339. package/dist/plugins/help/js/i18n/keynav/tr.js +0 -90
  340. package/dist/plugins/help/js/i18n/keynav/vi.js +0 -90
  341. package/dist/skins/content/dark/content.css +0 -59
  342. package/dist/skins/content/dark/content.min.css +0 -8
  343. package/dist/skins/content/default/content.css +0 -49
  344. package/dist/skins/content/default/content.min.css +0 -8
  345. package/dist/skins/content/document/content.css +0 -53
  346. package/dist/skins/content/document/content.min.css +0 -8
  347. package/dist/skins/content/writer/content.css +0 -50
  348. package/dist/skins/content/writer/content.min.css +0 -8
  349. package/dist/skins/ui/oxide/content.css +0 -615
  350. package/dist/skins/ui/oxide/content.inline.css +0 -608
  351. package/dist/skins/ui/oxide/content.inline.min.css +0 -8
  352. package/dist/skins/ui/oxide/content.min.css +0 -8
  353. package/dist/skins/ui/oxide/content.mobile.css +0 -29
  354. package/dist/skins/ui/oxide/content.mobile.min.css +0 -8
  355. package/dist/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
  356. package/dist/skins/ui/oxide/skin.css +0 -2884
  357. package/dist/skins/ui/oxide/skin.min.css +0 -8
  358. package/dist/skins/ui/oxide/skin.mobile.css +0 -673
  359. package/dist/skins/ui/oxide/skin.mobile.min.css +0 -8
  360. package/dist/skins/ui/oxide-dark/content.css +0 -596
  361. package/dist/skins/ui/oxide-dark/content.inline.css +0 -608
  362. package/dist/skins/ui/oxide-dark/content.inline.min.css +0 -8
  363. package/dist/skins/ui/oxide-dark/content.min.css +0 -8
  364. package/dist/skins/ui/oxide-dark/content.mobile.css +0 -29
  365. package/dist/skins/ui/oxide-dark/content.mobile.min.css +0 -8
  366. package/dist/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
  367. package/dist/skins/ui/oxide-dark/skin.css +0 -2884
  368. package/dist/skins/ui/oxide-dark/skin.min.css +0 -8
  369. package/dist/skins/ui/oxide-dark/skin.mobile.css +0 -673
  370. package/dist/skins/ui/oxide-dark/skin.mobile.min.css +0 -8
  371. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.css +0 -21
  372. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.css.map +0 -1
  373. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d07f086d.chunk.js +0 -13399
  374. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d07f086d.chunk.js.map +0 -1
  375. package/dist/src_workers_folder_ts.2df69eae.chunk.js +0 -537
  376. package/dist/src_workers_folder_ts.2df69eae.chunk.js.map +0 -1
  377. package/dist/src_workers_tag_ts.59a752d7.chunk.js +0 -113
  378. package/dist/src_workers_tag_ts.59a752d7.chunk.js.map +0 -1
  379. package/dist/style.a7eb9e6c.css +0 -389
  380. package/dist/style.a7eb9e6c.css.map +0 -1
  381. package/dist/tinymce/langs/de.js +0 -1
  382. package/dist/tinymce/langs/es.js +0 -1
  383. package/dist/tinymce/langs/fr_FR.js +0 -1
  384. package/dist/tinymce/langs/hi.js +0 -1
  385. package/dist/tinymce/langs/it.js +0 -1
  386. package/dist/tinymce/langs/ja.js +0 -1
  387. package/dist/tinymce/langs/nl.js +0 -1
  388. package/dist/tinymce/langs/pl.js +0 -1
  389. package/dist/tinymce/langs/pt_BR.js +0 -1
  390. package/dist/tinymce/langs/ro.js +0 -1
  391. package/dist/tinymce/langs/ru.js +0 -1
  392. package/dist/tinymce/langs/th_TH.js +0 -1
  393. package/dist/tinymce/langs/tr.js +0 -1
  394. package/dist/tinymce/langs/vi.js +0 -1
  395. package/dist/tinymce/langs/zh-Hans.js +0 -1
  396. package/dist/vendors-node_modules_date-fns__lib_isSameUTCWeek_index_js-node_modules_date-fns_locale__lib_b-41ea83.3e405109.chunk.js +0 -412
  397. 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
  398. package/dist/vendors-node_modules_date-fns_locale_de_index_js.42fc0cb6.chunk.js +0 -787
  399. package/dist/vendors-node_modules_date-fns_locale_de_index_js.42fc0cb6.chunk.js.map +0 -1
  400. package/dist/vendors-node_modules_date-fns_locale_en-US_index_js.1575ad91.chunk.js +0 -693
  401. package/dist/vendors-node_modules_date-fns_locale_en-US_index_js.1575ad91.chunk.js.map +0 -1
  402. package/dist/vendors-node_modules_date-fns_locale_es_index_js.a054d7dc.chunk.js +0 -685
  403. package/dist/vendors-node_modules_date-fns_locale_es_index_js.a054d7dc.chunk.js.map +0 -1
  404. package/dist/vendors-node_modules_date-fns_locale_fr_index_js.20eefc5f.chunk.js +0 -644
  405. package/dist/vendors-node_modules_date-fns_locale_fr_index_js.20eefc5f.chunk.js.map +0 -1
  406. package/dist/vendors-node_modules_date-fns_locale_hi_index_js.016d9c1b.chunk.js +0 -741
  407. package/dist/vendors-node_modules_date-fns_locale_hi_index_js.016d9c1b.chunk.js.map +0 -1
  408. package/dist/vendors-node_modules_date-fns_locale_it_index_js.b1509e74.chunk.js +0 -531
  409. package/dist/vendors-node_modules_date-fns_locale_it_index_js.b1509e74.chunk.js.map +0 -1
  410. package/dist/vendors-node_modules_date-fns_locale_ja_index_js.7ee709ea.chunk.js +0 -703
  411. package/dist/vendors-node_modules_date-fns_locale_ja_index_js.7ee709ea.chunk.js.map +0 -1
  412. package/dist/vendors-node_modules_date-fns_locale_nl_index_js.03ea6284.chunk.js +0 -638
  413. package/dist/vendors-node_modules_date-fns_locale_nl_index_js.03ea6284.chunk.js.map +0 -1
  414. package/dist/vendors-node_modules_date-fns_locale_pl_index_js.b1a781fa.chunk.js +0 -623
  415. package/dist/vendors-node_modules_date-fns_locale_pl_index_js.b1a781fa.chunk.js.map +0 -1
  416. package/dist/vendors-node_modules_date-fns_locale_pt-BR_index_js.695bc207.chunk.js +0 -682
  417. package/dist/vendors-node_modules_date-fns_locale_pt-BR_index_js.695bc207.chunk.js.map +0 -1
  418. package/dist/vendors-node_modules_date-fns_locale_pt_index_js.09460edb.chunk.js +0 -678
  419. package/dist/vendors-node_modules_date-fns_locale_pt_index_js.09460edb.chunk.js.map +0 -1
  420. package/dist/vendors-node_modules_date-fns_locale_ro_index_js.53425395.chunk.js +0 -670
  421. package/dist/vendors-node_modules_date-fns_locale_ro_index_js.53425395.chunk.js.map +0 -1
  422. package/dist/vendors-node_modules_date-fns_locale_ru_index_js.ab8b44d9.chunk.js +0 -707
  423. package/dist/vendors-node_modules_date-fns_locale_ru_index_js.ab8b44d9.chunk.js.map +0 -1
  424. package/dist/vendors-node_modules_date-fns_locale_th_index_js.9f2448ee.chunk.js +0 -672
  425. package/dist/vendors-node_modules_date-fns_locale_th_index_js.9f2448ee.chunk.js.map +0 -1
  426. package/dist/vendors-node_modules_date-fns_locale_tr_index_js.c47c86fa.chunk.js +0 -677
  427. package/dist/vendors-node_modules_date-fns_locale_tr_index_js.c47c86fa.chunk.js.map +0 -1
  428. package/dist/vendors-node_modules_date-fns_locale_vi_index_js.d02adf1c.chunk.js +0 -765
  429. package/dist/vendors-node_modules_date-fns_locale_vi_index_js.d02adf1c.chunk.js.map +0 -1
  430. package/dist/vendors-node_modules_date-fns_locale_zh-CN_index_js.505f5507.chunk.js +0 -521
  431. package/dist/vendors-node_modules_date-fns_locale_zh-CN_index_js.505f5507.chunk.js.map +0 -1
  432. package/dist/vendors-node_modules_lodash_lodash_js-node_modules_core-js_modules_es_array_push_js.8ced7511.chunk.js +0 -19112
  433. package/dist/vendors-node_modules_lodash_lodash_js-node_modules_core-js_modules_es_array_push_js.8ced7511.chunk.js.map +0 -1
  434. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.88e81e25.chunk.js +0 -219343
  435. 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
  436. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.css +0 -4104
  437. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.css.map +0 -1
  438. package/dist/yap.json +0 -11
  439. package/dist/zapp-shell.bundle.js +0 -30430
  440. package/dist/zapp-shell.bundle.js.map +0 -1
  441. package/types/account/index.d.ts +0 -179
  442. package/types/apps/index.d.ts +0 -198
  443. package/types/boards/index.d.ts +0 -31
  444. package/types/exports/index.d.ts +0 -256
  445. package/types/folder/index.d.ts +0 -33
  446. package/types/i18n/index.d.ts +0 -19
  447. package/types/index.d.ts +0 -20
  448. package/types/integrations/index.d.ts +0 -41
  449. package/types/loginConfig/index.d.ts +0 -17
  450. package/types/misc/index.d.ts +0 -309
  451. package/types/network/entities.d.ts +0 -106
  452. package/types/network/index.d.ts +0 -239
  453. package/types/network/soap.d.ts +0 -106
  454. package/types/notification/index.d.ts +0 -31
  455. package/types/search/index.d.ts +0 -18
  456. package/types/search/items.d.ts +0 -13
  457. package/types/settings/index.d.ts +0 -10
  458. package/types/styled-components.d.ts +0 -18
  459. package/types/tags/index.d.ts +0 -21
  460. package/types/theme/index.d.ts +0 -9
  461. 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,8 @@
1
+ "use strict";
2
+ /*
3
+ * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
4
+ *
5
+ * SPDX-License-Identifier: AGPL-3.0-only
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=index.js.map
@@ -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,10 @@
1
+ export type Board<T = unknown> = {
2
+ id: string;
3
+ url: string;
4
+ app: string;
5
+ icon: string;
6
+ title: string;
7
+ context?: T;
8
+ onClose?: (board: Board<T>) => void;
9
+ onGoToPanel?: (board: Board<T>) => void;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -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,8 @@
1
+ "use strict";
2
+ /*
3
+ * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
4
+ *
5
+ * SPDX-License-Identifier: AGPL-3.0-only
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=index.js.map
@@ -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,8 @@
1
+ "use strict";
2
+ /*
3
+ * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
4
+ *
5
+ * SPDX-License-Identifier: AGPL-3.0-only
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=index.js.map
@@ -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,8 @@
1
+ "use strict";
2
+ /*
3
+ * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
4
+ *
5
+ * SPDX-License-Identifier: AGPL-3.0-only
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=index.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../src/types/network/entities.ts"],"names":[],"mappings":""}