@erxes/ui 3.3.3-next.3 → 3.3.3-next.4

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 (1468) hide show
  1. package/README.md +56 -1
  2. package/chunks/chunk-27DB3V2L.js +10 -0
  3. package/chunks/chunk-2G6X7LOG.js +72 -0
  4. package/chunks/chunk-2RKVJ44N.js +65 -0
  5. package/chunks/chunk-2UIHFMOO.js +14 -0
  6. package/chunks/chunk-2VXTM7NQ.js +93 -0
  7. package/chunks/chunk-34R3Q65T.js +199 -0
  8. package/chunks/chunk-3GQN7K6A.js +225 -0
  9. package/chunks/chunk-3HIMHBLG.js +33 -0
  10. package/chunks/chunk-3J5VNBOP.js +13 -0
  11. package/chunks/chunk-3KAFS4LM.js +65 -0
  12. package/chunks/chunk-3WLTIKD7.js +124 -0
  13. package/chunks/chunk-43GXDTDI.js +16 -0
  14. package/chunks/chunk-45CVREXI.js +25 -0
  15. package/chunks/chunk-4ATZGPMG.js +28 -0
  16. package/chunks/chunk-4GSYMR2A.js +31 -0
  17. package/chunks/chunk-4IUFKR3Z.js +43 -0
  18. package/chunks/chunk-4JJAB43E.js +7 -0
  19. package/chunks/chunk-53UJM7YO.js +10 -0
  20. package/chunks/chunk-55FS4R5Q.js +12 -0
  21. package/chunks/chunk-5AYIRXXG.js +153 -0
  22. package/chunks/chunk-5BDR2SO5.js +15 -0
  23. package/chunks/chunk-5L7RF4AD.js +8772 -0
  24. package/chunks/chunk-5NH4WZCY.js +49 -0
  25. package/chunks/chunk-5U37WCDE.js +0 -0
  26. package/chunks/chunk-5UVGUD5O.js +184 -0
  27. package/chunks/chunk-67XHII4F.js +160 -0
  28. package/chunks/chunk-6CKZMMTO.js +0 -0
  29. package/chunks/chunk-6FIFKPLP.js +37 -0
  30. package/chunks/chunk-6GO23OUL.js +49 -0
  31. package/chunks/chunk-6H233CIJ.js +15 -0
  32. package/chunks/chunk-6J2ZJOES.js +9 -0
  33. package/chunks/chunk-6JSVJV3E.js +0 -0
  34. package/chunks/chunk-6VR6SGPC.js +31 -0
  35. package/chunks/chunk-734JLHAF.js +24 -0
  36. package/chunks/chunk-73TX6ZQQ.js +18 -0
  37. package/chunks/chunk-76MIPBCD.js +0 -0
  38. package/chunks/chunk-7C7JTY65.js +0 -0
  39. package/chunks/chunk-7FIVWVHV.js +25 -0
  40. package/chunks/chunk-7GRGQLFS.js +264 -0
  41. package/chunks/chunk-7IPMUU22.js +64 -0
  42. package/chunks/chunk-7JHBMQN6.js +121 -0
  43. package/chunks/chunk-7QLWA64F.js +18 -0
  44. package/chunks/chunk-7TL2WV5V.js +150 -0
  45. package/chunks/chunk-7ZIALLII.js +77 -0
  46. package/chunks/chunk-A6CNIFNS.js +11 -0
  47. package/chunks/chunk-A6ID2P5A.js +47 -0
  48. package/chunks/chunk-AHUBVFX5.js +63 -0
  49. package/chunks/chunk-AIRW6SHV.js +29 -0
  50. package/chunks/chunk-ALHJUUD5.js +12 -0
  51. package/chunks/chunk-ANRBWR3H.js +193 -0
  52. package/chunks/chunk-ATAEEVLB.js +41 -0
  53. package/chunks/chunk-AV4CRRSS.js +109 -0
  54. package/chunks/chunk-B2CYD52N.js +11 -0
  55. package/chunks/chunk-B55CLHA7.js +132 -0
  56. package/chunks/chunk-BATNONIA.js +31 -0
  57. package/chunks/chunk-BJARUVP3.js +243 -0
  58. package/chunks/chunk-BNHHTDLC.js +49 -0
  59. package/chunks/chunk-BR6S5JY5.js +14 -0
  60. package/chunks/chunk-BR7WQVF4.js +7 -0
  61. package/chunks/chunk-C4TFL7CS.js +16 -0
  62. package/chunks/chunk-C6NKYLT3.js +58 -0
  63. package/chunks/chunk-CUFSLOE4.js +12 -0
  64. package/chunks/chunk-CV4DUVVL.js +33 -0
  65. package/chunks/chunk-CXEGOUML.js +324 -0
  66. package/chunks/chunk-D3VC2SRW.js +46 -0
  67. package/chunks/chunk-D63SZO4E.js +71 -0
  68. package/chunks/chunk-DCCZEG7Z.js +55 -0
  69. package/chunks/chunk-DHS7XAKB.js +23 -0
  70. package/chunks/chunk-DJMMAGMX.js +363 -0
  71. package/chunks/chunk-DKEJIAFP.js +11 -0
  72. package/chunks/chunk-DUSKF3PG.js +97 -0
  73. package/chunks/chunk-E545F45A.js +0 -0
  74. package/chunks/chunk-E5FW3ERE.js +207 -0
  75. package/chunks/chunk-ECYM7FVA.js +25 -0
  76. package/chunks/chunk-EEW7RLNA.js +87 -0
  77. package/chunks/chunk-ELBCBP27.js +51 -0
  78. package/chunks/chunk-F2VATUUS.js +46 -0
  79. package/chunks/chunk-F7VYTUUZ.js +0 -0
  80. package/chunks/chunk-FDI6FB6D.js +13 -0
  81. package/chunks/chunk-FEXWVX6N.js +7 -0
  82. package/chunks/chunk-FEYF56QM.js +55 -0
  83. package/chunks/chunk-FIMKTPWK.js +71 -0
  84. package/chunks/chunk-FJLBHW7X.js +190 -0
  85. package/chunks/chunk-FJTUANXN.js +10 -0
  86. package/chunks/chunk-FL4BZTMQ.js +71 -0
  87. package/chunks/chunk-FSE4KVKE.js +74 -0
  88. package/chunks/chunk-FTTQ6J3Y.js +28 -0
  89. package/chunks/chunk-FWDXQCUE.js +0 -0
  90. package/chunks/chunk-G2QQZN4L.js +162 -0
  91. package/chunks/chunk-GAYFYYXL.js +14 -0
  92. package/chunks/chunk-GHBZJCIA.js +28 -0
  93. package/chunks/chunk-GIBFUQI4.js +8 -0
  94. package/chunks/chunk-GNV7UG3U.js +13 -0
  95. package/chunks/chunk-GTW4DI5C.js +28 -0
  96. package/chunks/chunk-GXARUX2O.js +19 -0
  97. package/chunks/chunk-GZNR5Y3B.js +0 -0
  98. package/chunks/chunk-H32OMVSR.js +8 -0
  99. package/chunks/chunk-H4LZWBS4.js +94 -0
  100. package/chunks/chunk-H5OTBPGB.js +14 -0
  101. package/chunks/chunk-HSEBNAEA.js +12 -0
  102. package/chunks/chunk-I2LZMWEI.js +118 -0
  103. package/chunks/chunk-I3G3HVMC.js +16 -0
  104. package/chunks/chunk-I5PPLXSZ.js +125 -0
  105. package/chunks/chunk-IIK24XSW.js +601 -0
  106. package/chunks/chunk-IKDLWUZ7.js +19 -0
  107. package/chunks/chunk-IM5IHH3X.js +23 -0
  108. package/chunks/chunk-IMKAHINH.js +7 -0
  109. package/chunks/chunk-IQR2LD6K.js +41 -0
  110. package/chunks/chunk-ITLNFLKR.js +35 -0
  111. package/chunks/chunk-IWPK637H.js +105 -0
  112. package/chunks/chunk-J4T4WIBM.js +51 -0
  113. package/chunks/chunk-J65EQMDN.js +76 -0
  114. package/chunks/chunk-J75NVPXJ.js +0 -0
  115. package/chunks/chunk-JKXVRU5D.js +26 -0
  116. package/chunks/chunk-JKZ776CQ.js +58 -0
  117. package/chunks/chunk-JPCD46D4.js +0 -0
  118. package/chunks/chunk-JSZTGL4T.js +7 -0
  119. package/chunks/chunk-JVFLCNKB.js +67 -0
  120. package/chunks/chunk-K4QWFHHP.js +106 -0
  121. package/chunks/chunk-KK6WMCQJ.js +177 -0
  122. package/chunks/chunk-KNEXXBOP.js +81 -0
  123. package/chunks/chunk-KT3H4JCX.js +80 -0
  124. package/chunks/chunk-KTBDECJI.js +62 -0
  125. package/chunks/chunk-KTNEDC7K.js +20 -0
  126. package/chunks/chunk-KW4MCMRZ.js +125 -0
  127. package/chunks/chunk-KXW36NG2.js +30 -0
  128. package/chunks/chunk-L5TCGIYY.js +42 -0
  129. package/chunks/chunk-LE4PIQPL.js +0 -0
  130. package/chunks/chunk-LPNW25XF.js +45 -0
  131. package/chunks/chunk-LVNNZDXL.js +59 -0
  132. package/chunks/chunk-M66JMKRR.js +11 -0
  133. package/chunks/chunk-MM5MMNXN.js +19 -0
  134. package/chunks/chunk-MNNGKWCI.js +56 -0
  135. package/chunks/chunk-MSAEUPAX.js +35 -0
  136. package/chunks/chunk-MZ4RKADP.js +27 -0
  137. package/chunks/chunk-N4UKAPHL.js +36 -0
  138. package/chunks/chunk-N6SOBDY7.js +11 -0
  139. package/chunks/chunk-NDGKMVC7.js +10 -0
  140. package/chunks/chunk-NDIVNBGK.js +212 -0
  141. package/chunks/chunk-NJFDVNW5.js +13 -0
  142. package/chunks/chunk-NJJVZ3JY.js +9 -0
  143. package/chunks/chunk-NLHLWEDB.js +92 -0
  144. package/chunks/chunk-NLJ6XLH7.js +6 -0
  145. package/chunks/chunk-NLPBCYLN.js +64 -0
  146. package/chunks/chunk-NMKI4CJI.js +26 -0
  147. package/chunks/chunk-NNF3YJY2.js +70 -0
  148. package/chunks/chunk-NSAKTQ2Q.js +17 -0
  149. package/chunks/chunk-NUGJ3NYH.js +149 -0
  150. package/chunks/chunk-O365JEFR.js +30 -0
  151. package/chunks/chunk-O6IUPS6U.js +7 -0
  152. package/chunks/chunk-O735ESAQ.js +35 -0
  153. package/chunks/chunk-OADHO5WP.js +231 -0
  154. package/chunks/chunk-OKRWCATR.js +12 -0
  155. package/chunks/chunk-ONOUIZ6L.js +20 -0
  156. package/chunks/chunk-OOAGMFCJ.js +0 -0
  157. package/chunks/chunk-OOHRHIWY.js +329 -0
  158. package/chunks/chunk-OQSM2FFV.js +37 -0
  159. package/chunks/chunk-OSSJ2FMG.js +9 -0
  160. package/chunks/chunk-P4R2CPUZ.js +164 -0
  161. package/chunks/chunk-PDVNR7LI.js +24 -0
  162. package/chunks/chunk-PHBECHTA.js +148 -0
  163. package/chunks/chunk-PNTO4UDY.js +0 -0
  164. package/chunks/chunk-PPQ4DIII.js +0 -0
  165. package/chunks/chunk-PPRBTD5G.js +38 -0
  166. package/chunks/chunk-PUDZPB4P.js +24 -0
  167. package/chunks/chunk-Q3CMFGM7.js +81 -0
  168. package/chunks/chunk-QPHY7OAH.js +13 -0
  169. package/chunks/chunk-QPJFUBIS.js +7 -0
  170. package/chunks/chunk-QS54MMOE.js +48 -0
  171. package/chunks/chunk-QTKFDPZO.js +7 -0
  172. package/chunks/chunk-QWLVJ3B3.js +40 -0
  173. package/chunks/chunk-QY5RA3NM.js +19 -0
  174. package/chunks/chunk-R2RAAS4Y.js +39 -0
  175. package/chunks/chunk-R3MJDVPP.js +0 -0
  176. package/chunks/chunk-R3V3G4FN.js +59 -0
  177. package/chunks/chunk-R7PWUR7Z.js +84 -0
  178. package/chunks/chunk-RB23BDYH.js +65 -0
  179. package/chunks/chunk-RE6OMNXN.js +360 -0
  180. package/chunks/chunk-RIDGCKXU.js +218 -0
  181. package/chunks/chunk-RREVMRKX.js +95 -0
  182. package/chunks/chunk-RRQDMDYQ.js +0 -0
  183. package/chunks/chunk-RTKGTC5M.js +21 -0
  184. package/chunks/chunk-S2HOHADT.js +20 -0
  185. package/chunks/chunk-S2UZYA2K.js +142 -0
  186. package/chunks/chunk-SBVVGYRA.js +23 -0
  187. package/chunks/chunk-SIWINSCP.js +0 -0
  188. package/chunks/chunk-SL6UK5XI.js +0 -0
  189. package/chunks/chunk-SRNSMVXB.js +192 -0
  190. package/chunks/chunk-TJZNYTTT.js +30 -0
  191. package/chunks/chunk-TUQK5HP5.js +10 -0
  192. package/chunks/chunk-U363OCVD.js +61 -0
  193. package/chunks/chunk-U3Q5J7XQ.js +12 -0
  194. package/chunks/chunk-U64G5PZP.js +129 -0
  195. package/chunks/chunk-UD2ZXWEI.js +115 -0
  196. package/chunks/chunk-UKLVO5YZ.js +47 -0
  197. package/chunks/chunk-ULRPDB6S.js +79 -0
  198. package/chunks/chunk-UOEXGF6S.js +7 -0
  199. package/chunks/chunk-UQJA4TBO.js +32 -0
  200. package/chunks/chunk-UQYVKPRU.js +6 -0
  201. package/chunks/chunk-UZREMEFG.js +10 -0
  202. package/chunks/chunk-V7OK6ZT2.js +79 -0
  203. package/chunks/chunk-VAQZFKAX.js +12 -0
  204. package/chunks/chunk-VBW6O2FL.js +51 -0
  205. package/chunks/chunk-VBZAZNZK.js +160 -0
  206. package/chunks/chunk-VZTFOYF3.js +65 -0
  207. package/chunks/chunk-W3NXVJX4.js +18 -0
  208. package/chunks/chunk-W5KVCFS2.js +126 -0
  209. package/chunks/chunk-WAES3OQO.js +21 -0
  210. package/chunks/chunk-WFVSF7GY.js +17 -0
  211. package/chunks/chunk-WJC7I7VI.js +58 -0
  212. package/chunks/chunk-WKBUEFOB.js +7 -0
  213. package/chunks/chunk-WLKDIP4Y.js +17 -0
  214. package/chunks/chunk-WS4SMSBU.js +244 -0
  215. package/chunks/chunk-WUKJ4QY7.js +14 -0
  216. package/chunks/chunk-WX3NKKHS.js +12 -0
  217. package/chunks/chunk-XBMSMK3U.js +0 -0
  218. package/chunks/chunk-XD4PKWF4.js +94 -0
  219. package/chunks/chunk-XD4TBZYB.js +44 -0
  220. package/chunks/chunk-XDSYT6EE.js +73 -0
  221. package/chunks/chunk-XEQJYWZP.js +67 -0
  222. package/chunks/chunk-XHYJBJV7.js +0 -0
  223. package/chunks/chunk-XJKGUTA5.js +0 -0
  224. package/chunks/chunk-XQGH7WSU.js +18 -0
  225. package/chunks/chunk-XREHNAPK.js +172 -0
  226. package/chunks/chunk-XWJKQS3Q.js +60 -0
  227. package/chunks/chunk-XX3GPHFO.js +25 -0
  228. package/chunks/chunk-Y4PHXFJG.js +8 -0
  229. package/chunks/chunk-Y5IJGIV3.js +53 -0
  230. package/chunks/chunk-YDWH4BVW.js +9 -0
  231. package/chunks/chunk-YG5KZSTP.js +16 -0
  232. package/chunks/chunk-YH5K7V44.js +161 -0
  233. package/chunks/chunk-YLDPFS3W.js +78 -0
  234. package/chunks/chunk-YPVJURO4.js +84 -0
  235. package/chunks/chunk-YYNRA3GZ.js +104 -0
  236. package/chunks/chunk-YZMSGM54.js +9 -0
  237. package/chunks/chunk-YZNP3ZEJ.js +36 -0
  238. package/chunks/chunk-YZXFCISZ.js +54 -0
  239. package/chunks/chunk-Z2GG4YSV.js +49 -0
  240. package/chunks/chunk-Z4JRW5OO.js +0 -0
  241. package/chunks/chunk-ZBV3RCPW.js +19 -0
  242. package/chunks/chunk-ZF6XCB7I.js +140 -0
  243. package/chunks/chunk-ZOTE5P5Q.js +92 -0
  244. package/chunks/chunk-ZQBIGO4Q.js +30 -0
  245. package/chunks/chunk-ZRETEI5F.js +24 -0
  246. package/chunks/chunk-ZXLAVUFZ.js +56 -0
  247. package/components/accordion.js +9 -0
  248. package/components/alert-dialog.js +11 -0
  249. package/components/alert.js +9 -0
  250. package/components/avatar.js +11 -0
  251. package/components/background-gradient-animation.js +11 -0
  252. package/components/badge.js +13 -0
  253. package/components/breadcrumb.js +10 -0
  254. package/components/button.js +12 -0
  255. package/components/calendar.js +14 -0
  256. package/components/card.js +10 -0
  257. package/components/charts.js +19 -0
  258. package/components/checkbox.js +10 -0
  259. package/components/choicebox-group.d.ts +16 -0
  260. package/components/choicebox-group.js +251 -0
  261. package/components/collapsible.d.ts +10 -0
  262. package/components/collapsible.js +255 -0
  263. package/components/color-picker.d.ts +34 -0
  264. package/components/color-picker.js +253 -0
  265. package/components/combobox.d.ts +99 -0
  266. package/components/combobox.js +32 -0
  267. package/components/command-bar.js +11 -0
  268. package/components/command.d.ts +205 -0
  269. package/components/command.js +12 -0
  270. package/components/context-menu.js +9 -0
  271. package/components/copy-text.js +11 -0
  272. package/components/date-picker.d.ts +30 -0
  273. package/components/date-picker.js +14 -0
  274. package/components/dialog.js +11 -0
  275. package/components/drag-handle.d.ts +3 -0
  276. package/components/drag-handle.js +11 -0
  277. package/components/dropdown-menu.js +9 -0
  278. package/components/empty.js +9 -0
  279. package/components/erxes-logo-icon.js +8 -0
  280. package/components/form.js +10 -0
  281. package/components/hover-card.js +9 -0
  282. package/components/index.d.ts +59 -0
  283. package/components/index.js +491 -0
  284. package/components/info-card.js +12 -0
  285. package/components/input.js +13 -0
  286. package/components/kbd.js +10 -0
  287. package/components/label.js +9 -0
  288. package/components/multiselect.d.ts +72 -0
  289. package/components/multiselect.js +251 -0
  290. package/components/popover.js +11 -0
  291. package/components/radio-group.js +10 -0
  292. package/components/resizable.js +10 -0
  293. package/components/scroll-area.js +9 -0
  294. package/components/search-order-select.js +11 -0
  295. package/components/select.js +10 -0
  296. package/components/separator.js +9 -0
  297. package/components/sheet.js +15 -0
  298. package/components/sidebar/constants.js +24 -0
  299. package/components/sidebar/context.d.ts +26 -0
  300. package/components/sidebar/context.js +25 -0
  301. package/components/sidebar/group.js +15 -0
  302. package/components/sidebar/hooks.js +6 -0
  303. package/components/sidebar/layout.js +20 -0
  304. package/components/sidebar/menu-sub.js +15 -0
  305. package/components/sidebar/menu.d.ts +22 -0
  306. package/components/sidebar/menu.js +33 -0
  307. package/components/sidebar/panel.d.ts +6 -0
  308. package/components/sidebar/panel.js +16 -0
  309. package/components/sidebar/root.js +29 -0
  310. package/components/sidebar/trigger.d.ts +2 -0
  311. package/components/sidebar/trigger.js +24 -0
  312. package/components/sidebar-tree-indicator.js +11 -0
  313. package/components/sidebar.d.ts +78 -0
  314. package/components/sidebar.js +39 -0
  315. package/components/skeleton.js +11 -0
  316. package/components/slider.js +10 -0
  317. package/components/spinner.js +10 -0
  318. package/components/stepper.js +10 -0
  319. package/components/string-array.js +12 -0
  320. package/components/switch.js +9 -0
  321. package/components/table.js +9 -0
  322. package/components/tabs.js +10 -0
  323. package/components/text-overflow.js +12 -0
  324. package/components/textarea.js +9 -0
  325. package/components/time-picker.js +16 -0
  326. package/components/toaster.js +11 -0
  327. package/components/toasts.js +9 -0
  328. package/components/toggle-group.js +10 -0
  329. package/components/toggle.js +11 -0
  330. package/components/tooltip.js +9 -0
  331. package/components/upload-new.d.ts +16 -0
  332. package/components/upload-new.js +22 -0
  333. package/components/upload.d.ts +23 -0
  334. package/components/upload.js +251 -0
  335. package/constants/AttachmentGql.js +6 -0
  336. package/constants/CountryPhoneCodes.d.ts +2 -0
  337. package/constants/CountryPhoneCodes.js +6 -0
  338. package/constants/CurrencyCodes.d.ts +6 -0
  339. package/constants/CurrencyCodes.js +6 -0
  340. package/constants/EmailValidationStatusInfos.js +10 -0
  341. package/constants/GraphqlConstants.js +10 -0
  342. package/constants/IanaTimeZones.js +6 -0
  343. package/constants/IntlLanguages.js +6 -0
  344. package/constants/PhoneValidationStatusInfos.js +10 -0
  345. package/constants/SexCodes.d.ts +4 -0
  346. package/constants/SexCodes.js +18 -0
  347. package/constants/index.d.ts +5 -0
  348. package/constants/index.js +39 -0
  349. package/hooks/index.d.ts +9 -0
  350. package/hooks/index.js +287 -0
  351. package/hooks/use-confirm.d.ts +29 -0
  352. package/hooks/use-confirm.js +253 -0
  353. package/hooks/use-cursor-pagination.js +34 -0
  354. package/hooks/use-is-matching-location.js +8 -0
  355. package/hooks/use-media-query.js +8 -0
  356. package/hooks/use-mobile.js +9 -0
  357. package/hooks/use-query-state.js +16 -0
  358. package/hooks/use-toast.d.ts +21 -0
  359. package/hooks/use-toast.js +10 -0
  360. package/hooks/use-upload-chunked.js +33 -0
  361. package/hooks/use-upload-new.js +35 -0
  362. package/hooks/use-upload.js +251 -0
  363. package/index.d.ts +8 -0
  364. package/index.js +999 -0
  365. package/lib/index.d.ts +1 -0
  366. package/lib/index.js +13 -0
  367. package/lib/utils.js +12 -0
  368. package/modules/attachments/attachments.d.ts +38 -0
  369. package/modules/attachments/attachments.js +251 -0
  370. package/modules/attachments/context.d.ts +12 -0
  371. package/modules/attachments/context.js +10 -0
  372. package/modules/attachments/index.d.ts +5 -0
  373. package/modules/attachments/index.js +257 -0
  374. package/modules/attachments/types.js +6 -0
  375. package/modules/blocks/components/BarcodeAttribute.js +251 -0
  376. package/modules/blocks/components/BlockEditor.d.ts +42 -0
  377. package/modules/blocks/components/BlockEditor.js +255 -0
  378. package/modules/blocks/components/BlockEditorReadOnly.js +251 -0
  379. package/modules/blocks/components/CustomFileBlock.js +251 -0
  380. package/modules/blocks/components/CustomImageBlock.js +253 -0
  381. package/modules/blocks/components/CustomVideoBlock.js +36 -0
  382. package/modules/blocks/components/DocumentPlaceholderBlock.js +8 -0
  383. package/modules/blocks/components/Editor.d.ts +2 -0
  384. package/modules/blocks/components/Editor.js +251 -0
  385. package/modules/blocks/components/FontFamilyButton.js +8 -0
  386. package/modules/blocks/components/GalleryBlock.js +251 -0
  387. package/modules/blocks/components/ImageStyleButton.js +251 -0
  388. package/modules/blocks/components/SlashMenu.js +251 -0
  389. package/modules/blocks/components/SuggestionMenu.js +253 -0
  390. package/modules/blocks/components/TableHandleWithRemove.js +8 -0
  391. package/modules/blocks/components/Toolbar.js +251 -0
  392. package/modules/blocks/components/index.d.ts +6 -0
  393. package/modules/blocks/components/index.js +267 -0
  394. package/modules/blocks/constant/blockEditorSchema.js +253 -0
  395. package/modules/blocks/constant/index.d.ts +1 -0
  396. package/modules/blocks/constant/index.js +255 -0
  397. package/modules/blocks/hooks/useBlockEditor.d.ts +7 -0
  398. package/modules/blocks/hooks/useBlockEditor.js +251 -0
  399. package/modules/blocks/index.d.ts +5 -0
  400. package/modules/blocks/index.js +284 -0
  401. package/modules/blocks/types/TextEditor.d.ts +28 -0
  402. package/modules/blocks/types/TextEditor.js +1 -0
  403. package/modules/blocks/types/index.d.ts +1 -0
  404. package/modules/blocks/types/index.js +4 -0
  405. package/modules/blocks/utils/getBlockAttachments.js +6 -0
  406. package/modules/blocks/utils/getMentionedUserIds.js +6 -0
  407. package/modules/blocks/utils/index.d.ts +3 -0
  408. package/modules/blocks/utils/index.js +17 -0
  409. package/modules/blocks/utils/parseBlocks.js +6 -0
  410. package/modules/board/components/Board.d.ts +22 -0
  411. package/modules/board/components/Board.js +255 -0
  412. package/modules/board/contexts/BoardContext.d.ts +2 -0
  413. package/modules/board/contexts/BoardContext.js +6 -0
  414. package/modules/board/index.d.ts +2 -0
  415. package/modules/board/index.js +255 -0
  416. package/modules/board/states/boardStates.js +8 -0
  417. package/modules/board/types/boardTypes.js +1 -0
  418. package/modules/chat-viz/components/ChatVizArea.d.ts +9 -0
  419. package/modules/chat-viz/components/ChatVizArea.js +13 -0
  420. package/modules/chat-viz/components/ChatVizBar.d.ts +9 -0
  421. package/modules/chat-viz/components/ChatVizBar.js +13 -0
  422. package/modules/chat-viz/components/ChatVizCartesianDecorations.js +11 -0
  423. package/modules/chat-viz/components/ChatVizLine.d.ts +9 -0
  424. package/modules/chat-viz/components/ChatVizLine.js +13 -0
  425. package/modules/chat-viz/components/ChatVizMessage.js +21 -0
  426. package/modules/chat-viz/components/ChatVizPie.d.ts +13 -0
  427. package/modules/chat-viz/components/ChatVizPie.js +12 -0
  428. package/modules/chat-viz/components/ChatVizSendButton.d.ts +17 -0
  429. package/modules/chat-viz/components/ChatVizSendButton.js +12 -0
  430. package/modules/chat-viz/hooks/useChatVizSend.d.ts +11 -0
  431. package/modules/chat-viz/hooks/useChatVizSend.js +8 -0
  432. package/modules/chat-viz/hooks/useIsClient.js +7 -0
  433. package/modules/chat-viz/index.d.ts +12 -0
  434. package/modules/chat-viz/index.js +60 -0
  435. package/modules/chat-viz/types/chatVizTypes.js +0 -0
  436. package/modules/chat-viz/utils/chartVizPresentation.js +10 -0
  437. package/modules/chat-viz/utils/chartVizTransforms.d.ts +19 -0
  438. package/modules/chat-viz/utils/chartVizTransforms.js +11 -0
  439. package/modules/chat-viz/utils/chatVizSanitize.d.ts +25 -0
  440. package/modules/chat-viz/utils/chatVizSanitize.js +10 -0
  441. package/modules/display/components/CurrencyDisplay.d.ts +15 -0
  442. package/modules/display/components/CurrencyDisplay.js +40 -0
  443. package/modules/display/components/EllipsisDisplay.js +10 -0
  444. package/modules/display/components/EmailDisplay.d.ts +2 -0
  445. package/modules/display/components/EmailDisplay.js +251 -0
  446. package/modules/display/components/PhoneDisplay.d.ts +2 -0
  447. package/modules/display/components/PhoneDisplay.js +251 -0
  448. package/modules/display/components/RelativeDateDisplay.js +251 -0
  449. package/modules/display/components/SexDisplay.d.ts +4 -0
  450. package/modules/display/components/SexDisplay.js +26 -0
  451. package/modules/display/index.d.ts +6 -0
  452. package/modules/display/index.js +266 -0
  453. package/modules/display/utils/formatEmails.d.ts +3 -0
  454. package/modules/display/utils/formatEmails.js +6 -0
  455. package/modules/display/utils/formatPhones.d.ts +3 -0
  456. package/modules/display/utils/formatPhones.js +18 -0
  457. package/modules/email-editor/components/EmailEditor.d.ts +3 -0
  458. package/modules/email-editor/components/EmailEditor.js +253 -0
  459. package/modules/email-editor/components/EmailPreviewDeviceToggle.d.ts +7 -0
  460. package/modules/email-editor/components/EmailPreviewDeviceToggle.js +251 -0
  461. package/modules/email-editor/components/EmailPreviewFrame.d.ts +8 -0
  462. package/modules/email-editor/components/EmailPreviewFrame.js +10 -0
  463. package/modules/email-editor/components/EmailTableBackground.js +251 -0
  464. package/modules/email-editor/components/EmailTableToolbar.js +251 -0
  465. package/modules/email-editor/components/index.d.ts +3 -0
  466. package/modules/email-editor/components/index.js +258 -0
  467. package/modules/email-editor/constant/index.js +9 -0
  468. package/modules/email-editor/extensions/documentPlaceholder.js +6 -0
  469. package/modules/email-editor/extensions/documentPlaceholderBlock.js +12 -0
  470. package/modules/email-editor/extensions/table.js +16 -0
  471. package/modules/email-editor/extensions/tableBlock.js +8 -0
  472. package/modules/email-editor/hooks/useEmailHtml.js +9 -0
  473. package/modules/email-editor/index.d.ts +6 -0
  474. package/modules/email-editor/index.js +272 -0
  475. package/modules/email-editor/types/index.js +3 -0
  476. package/modules/email-editor/utils/expandCustomNodes.js +6 -0
  477. package/modules/email-editor/utils/renderEmailHtml.js +7 -0
  478. package/modules/filter/components/Filter.d.ts +909 -0
  479. package/modules/filter/components/Filter.js +251 -0
  480. package/modules/filter/context/FilterContext.d.ts +2 -0
  481. package/modules/filter/context/FilterContext.js +8 -0
  482. package/modules/filter/date-filter/components/DateFilterCommand.js +251 -0
  483. package/modules/filter/date-filter/components/DialogDateView.js +253 -0
  484. package/modules/filter/date-filter/constants/dateTypes.js +12 -0
  485. package/modules/filter/date-filter/index.d.ts +2 -0
  486. package/modules/filter/date-filter/index.js +256 -0
  487. package/modules/filter/date-filter/utils/dateTokens.js +8 -0
  488. package/modules/filter/date-filter/utils/getActiveTab.js +7 -0
  489. package/modules/filter/date-filter/utils/getDisplayValue.js +8 -0
  490. package/modules/filter/date-filter/utils/getYears.js +6 -0
  491. package/modules/filter/date-filter/utils/parseDateRangeFromString.js +34 -0
  492. package/modules/filter/hooks/useFilterContext.d.ts +1 -0
  493. package/modules/filter/hooks/useFilterContext.js +9 -0
  494. package/modules/filter/hooks/useFilterQueryState.d.ts +4 -0
  495. package/modules/filter/hooks/useFilterQueryState.js +10 -0
  496. package/modules/filter/index.d.ts +5 -0
  497. package/modules/filter/index.js +264 -0
  498. package/modules/filter/states/filterStates.js +14 -0
  499. package/modules/filter/types/filter.js +1 -0
  500. package/modules/focus-sheet/components/focus-sheet.d.ts +51 -0
  501. package/modules/focus-sheet/components/focus-sheet.js +253 -0
  502. package/modules/hotkey/components/PopoverScoped.d.ts +10 -0
  503. package/modules/hotkey/components/PopoverScoped.js +251 -0
  504. package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +2 -0
  505. package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.js +6 -0
  506. package/modules/hotkey/constants/initialHotkeysScope.d.ts +2 -0
  507. package/modules/hotkey/constants/initialHotkeysScope.js +7 -0
  508. package/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +5 -0
  509. package/modules/hotkey/hooks/usePreviousHotkeyScope.js +19 -0
  510. package/modules/hotkey/hooks/useScopedHotKeysCallback.js +12 -0
  511. package/modules/hotkey/hooks/useScopedHotkeys.js +13 -0
  512. package/modules/hotkey/hooks/useSequenceHotkeys.js +21 -0
  513. package/modules/hotkey/hooks/useSetHotkeyScope.d.ts +2 -0
  514. package/modules/hotkey/hooks/useSetHotkeyScope.js +17 -0
  515. package/modules/hotkey/index.d.ts +13 -0
  516. package/modules/hotkey/index.js +283 -0
  517. package/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +4 -0
  518. package/modules/hotkey/states/internal/currentHotkeyScopeState.js +8 -0
  519. package/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.js +6 -0
  520. package/modules/hotkey/states/internal/pendingHotkeyState.js +6 -0
  521. package/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +2 -0
  522. package/modules/hotkey/states/internal/previousHotkeyScopeState.js +6 -0
  523. package/modules/hotkey/states/setHotkeyScopeState.d.ts +5 -0
  524. package/modules/hotkey/states/setHotkeyScopeState.js +12 -0
  525. package/modules/hotkey/types/AppHotkeyScope.js +6 -0
  526. package/modules/hotkey/types/CustomHotkeyScope.js +1 -0
  527. package/modules/hotkey/types/HotkeyScope.d.ts +5 -0
  528. package/modules/hotkey/types/HotkeyScope.js +1 -0
  529. package/modules/hotkey/utils/isNonTextWritingKey.js +6 -0
  530. package/modules/icons/components/IconComponent.js +10 -0
  531. package/modules/icons/components/IconPicker.d.ts +6 -0
  532. package/modules/icons/components/IconPicker.js +251 -0
  533. package/modules/icons/components/TablerIcons.js +592 -0
  534. package/modules/icons/hooks/useIcons.js +8 -0
  535. package/modules/icons/index.d.ts +3 -0
  536. package/modules/icons/index.js +257 -0
  537. package/modules/icons/providers/IconsProvider.js +9 -0
  538. package/modules/icons/states/iconsState.js +6 -0
  539. package/modules/index.d.ts +22 -0
  540. package/modules/index.js +576 -0
  541. package/modules/inputs/components/CurrencyField.d.ts +442 -0
  542. package/modules/inputs/components/CurrencyField.js +251 -0
  543. package/modules/inputs/components/EmailField.d.ts +30 -0
  544. package/modules/inputs/components/EmailField.js +253 -0
  545. package/modules/inputs/components/FullNameField.js +253 -0
  546. package/modules/inputs/components/LanguageSelect.d.ts +7 -0
  547. package/modules/inputs/components/LanguageSelect.js +251 -0
  548. package/modules/inputs/components/NumberField.js +10 -0
  549. package/modules/inputs/components/PhoneField.d.ts +56 -0
  550. package/modules/inputs/components/PhoneField.js +253 -0
  551. package/modules/inputs/components/SexField.d.ts +5 -0
  552. package/modules/inputs/components/SexField.js +251 -0
  553. package/modules/inputs/components/TimezoneSelect.d.ts +7 -0
  554. package/modules/inputs/components/TimezoneSelect.js +251 -0
  555. package/modules/inputs/contexts/EmailFieldsContext.d.ts +8 -0
  556. package/modules/inputs/contexts/EmailFieldsContext.js +8 -0
  557. package/modules/inputs/contexts/FullNameFieldContext.js +8 -0
  558. package/modules/inputs/contexts/PhoneFieldsContext.d.ts +6 -0
  559. package/modules/inputs/contexts/PhoneFieldsContext.js +8 -0
  560. package/modules/inputs/hooks/useEmailFields.d.ts +6 -0
  561. package/modules/inputs/hooks/useEmailFields.js +9 -0
  562. package/modules/inputs/hooks/useFullNameField.js +9 -0
  563. package/modules/inputs/hooks/usePhoneFields.d.ts +5 -0
  564. package/modules/inputs/hooks/usePhoneFields.js +9 -0
  565. package/modules/inputs/index.d.ts +8 -0
  566. package/modules/inputs/index.js +272 -0
  567. package/modules/inputs/states/emailFieldStates.d.ts +8 -0
  568. package/modules/inputs/states/emailFieldStates.js +10 -0
  569. package/modules/inputs/states/phoneFieldStates.d.ts +8 -0
  570. package/modules/inputs/states/phoneFieldStates.js +10 -0
  571. package/modules/inputs/validations/emailValidation.js +6 -0
  572. package/modules/inputs/validations/phoneValidation.js +6 -0
  573. package/modules/layout/components/AppLayout.js +42 -0
  574. package/modules/layout/components/Page.js +12 -0
  575. package/modules/layout/index.d.ts +2 -0
  576. package/modules/layout/index.js +49 -0
  577. package/modules/motion/components/TextEffect.js +10 -0
  578. package/modules/motion/components/TextLoop.js +10 -0
  579. package/modules/motion/index.d.ts +2 -0
  580. package/modules/motion/index.js +15 -0
  581. package/modules/navigation-menu/components/NavigationMenu.js +257 -0
  582. package/modules/navigation-menu/components/NavigationMenuItemControls.js +10 -0
  583. package/modules/navigation-menu/index.d.ts +3 -0
  584. package/modules/navigation-menu/index.js +265 -0
  585. package/modules/navigation-menu/states/activePluginState.js +8 -0
  586. package/modules/preview/components/Preview.js +255 -0
  587. package/modules/preview/context/PreviewContext.js +10 -0
  588. package/modules/record-field/components/NumberField.d.ts +18 -0
  589. package/modules/record-field/components/NumberField.js +251 -0
  590. package/modules/record-field/components/TextField.d.ts +17 -0
  591. package/modules/record-field/components/TextField.js +251 -0
  592. package/modules/record-field/index.d.ts +3 -0
  593. package/modules/record-field/index.js +255 -0
  594. package/modules/record-field/meta-inputs/components/EmailVerificationInput.js +349 -0
  595. package/modules/record-field/meta-inputs/components/PhoneInput.js +251 -0
  596. package/modules/record-field/meta-inputs/components/PhoneVerificationInput.js +327 -0
  597. package/modules/record-field/meta-inputs/components/TextFieldInput.js +270 -0
  598. package/modules/record-table/components/CheckboxColumn.js +11 -0
  599. package/modules/record-table/components/MoreColumn.d.ts +3 -0
  600. package/modules/record-table/components/MoreColumn.js +251 -0
  601. package/modules/record-table/components/RecordTableArrowEffect.js +251 -0
  602. package/modules/record-table/components/RecordTableCell.js +251 -0
  603. package/modules/record-table/components/RecordTableCellInline.d.ts +14 -0
  604. package/modules/record-table/components/RecordTableCellInline.js +253 -0
  605. package/modules/record-table/components/RecordTableColumnSelector.js +251 -0
  606. package/modules/record-table/components/RecordTableContainer.js +10 -0
  607. package/modules/record-table/components/RecordTableCursor.d.ts +20 -0
  608. package/modules/record-table/components/RecordTableCursor.js +255 -0
  609. package/modules/record-table/components/RecordTableDnDProvider.js +8 -0
  610. package/modules/record-table/components/RecordTableHead.js +253 -0
  611. package/modules/record-table/components/RecordTableHeader.js +251 -0
  612. package/modules/record-table/components/RecordTableHotkeyCell.js +251 -0
  613. package/modules/record-table/components/RecordTableInlineHead.js +8 -0
  614. package/modules/record-table/components/RecordTableProvider.d.ts +13 -0
  615. package/modules/record-table/components/RecordTableProvider.js +15 -0
  616. package/modules/record-table/components/RecordTableRoot.js +251 -0
  617. package/modules/record-table/components/RecordTableRow.js +251 -0
  618. package/modules/record-table/components/RecordTableRowList.d.ts +5 -0
  619. package/modules/record-table/components/RecordTableRowList.js +251 -0
  620. package/modules/record-table/components/RecordTableRowSkeleton.js +251 -0
  621. package/modules/record-table/components/RecordTableScroll.js +251 -0
  622. package/modules/record-table/components/RecordTableTree.d.ts +23 -0
  623. package/modules/record-table/components/RecordTableTree.js +251 -0
  624. package/modules/record-table/contexts/RecordTableCursorContext.d.ts +2 -0
  625. package/modules/record-table/contexts/RecordTableCursorContext.js +8 -0
  626. package/modules/record-table/contexts/RecordTableHotkeyContext.js +253 -0
  627. package/modules/record-table/contexts/RecordTableTreeContext.d.ts +2 -0
  628. package/modules/record-table/contexts/RecordTableTreeContext.js +8 -0
  629. package/modules/record-table/hooks/usePopoverOnEnter.js +277 -0
  630. package/modules/record-table/hooks/useRecordTableCursor.js +9 -0
  631. package/modules/record-table/hooks/useRecordTableCursorContext.d.ts +1 -0
  632. package/modules/record-table/hooks/useRecordTableCursorContext.js +9 -0
  633. package/modules/record-table/hooks/useRecordTableTree.d.ts +9 -0
  634. package/modules/record-table/hooks/useRecordTableTree.js +12 -0
  635. package/modules/record-table/hooks/useTablePreferences.js +7 -0
  636. package/modules/record-table/index.d.ts +71 -0
  637. package/modules/record-table/index.js +279 -0
  638. package/modules/record-table/states/EditModePositionComponentState.js +9 -0
  639. package/modules/record-table/states/RecordTableCursorState.js +6 -0
  640. package/modules/record-table/states/RecordTableTreeState.js +6 -0
  641. package/modules/record-table/types/RecordTableCursorTypes.js +8 -0
  642. package/modules/record-table/types/RecordTableScope.js +8 -0
  643. package/modules/record-table/types/RecordTableTreeTypes.js +0 -0
  644. package/modules/record-table/types/recordTableTypes.js +0 -0
  645. package/modules/record-table/utils/columnUtils.js +10 -0
  646. package/modules/record-table/utils/cursorUtils.d.ts +25 -0
  647. package/modules/record-table/utils/cursorUtils.js +9 -0
  648. package/modules/report/components/report-page-container.js +253 -0
  649. package/modules/report/components/report-table.js +9 -0
  650. package/modules/report/index.d.ts +2 -0
  651. package/modules/report/index.js +256 -0
  652. package/modules/report/states/reportSettingsState.js +6 -0
  653. package/modules/select-operation/components/SelectOperation.js +255 -0
  654. package/modules/select-operation/index.d.ts +1 -0
  655. package/modules/select-operation/index.js +255 -0
  656. package/modules/select-tree/components/SelectTree.d.ts +63 -0
  657. package/modules/select-tree/components/SelectTree.js +261 -0
  658. package/modules/select-tree/context/SelectTreeContext.d.ts +3 -0
  659. package/modules/select-tree/context/SelectTreeContext.js +10 -0
  660. package/modules/select-tree/hooks/useSelectTreeHide.js +10 -0
  661. package/modules/select-tree/index.d.ts +1 -0
  662. package/modules/select-tree/index.js +261 -0
  663. package/modules/select-tree/states/selectTreeStates.js +8 -0
  664. package/modules/select-tree/types/selectTreeTypes.js +0 -0
  665. package/modules/side-menu/components/SideMenu.js +261 -0
  666. package/modules/side-menu/context/SideMenuContext.js +10 -0
  667. package/package.json +401 -21
  668. package/state/index.d.ts +2 -0
  669. package/state/index.js +11 -0
  670. package/state/sidebarPanelState.js +6 -0
  671. package/state/themeState.d.ts +2 -0
  672. package/state/themeState.js +6 -0
  673. package/styles.css +2 -0
  674. package/types/CountryCode.js +1 -0
  675. package/types/CurrencyCode.js +6 -0
  676. package/types/Displays.d.ts +5 -0
  677. package/types/Displays.js +1 -0
  678. package/types/Gql.js +8 -0
  679. package/types/Key.js +6 -0
  680. package/types/Relations.js +1 -0
  681. package/types/SexCode.js +6 -0
  682. package/types/Theme.js +1 -0
  683. package/types/UIConfig.js +1 -0
  684. package/types/Utils.js +1 -0
  685. package/types/ValidationStatus.js +6 -0
  686. package/types/index.d.ts +11 -0
  687. package/types/index.js +31 -0
  688. package/utils/IsUndefinedOrNull.js +6 -0
  689. package/utils/colors.js +8 -0
  690. package/utils/config/index.js +19 -0
  691. package/utils/config/readProcessEnvironment.d.ts +1 -0
  692. package/utils/config/readProcessEnvironment.js +6 -0
  693. package/utils/cookie-storage.js +6 -0
  694. package/utils/core.js +33 -0
  695. package/utils/fixOrder.js +6 -0
  696. package/utils/format/formatAmount.js +6 -0
  697. package/utils/format/formatPhoneNumber.js +6 -0
  698. package/utils/format/index.d.ts +2 -0
  699. package/utils/format/index.js +11 -0
  700. package/utils/getPluginAssetsUrl.js +6 -0
  701. package/utils/highlightMatch.js +8 -0
  702. package/utils/index.d.ts +18 -0
  703. package/utils/index.js +119 -0
  704. package/utils/isAnObject.js +6 -0
  705. package/utils/isDeeplyEqual.js +6 -0
  706. package/utils/isDefined.js +6 -0
  707. package/utils/isEnabled.js +7 -0
  708. package/utils/localization/detectTimeZone.js +6 -0
  709. package/utils/localization/formatDateISOStringToRelativeDate.js +8 -0
  710. package/utils/localization/formatTimeZoneLabel.js +6 -0
  711. package/utils/localization/index.d.ts +3 -0
  712. package/utils/localization/index.js +17 -0
  713. package/utils/logDebug.js +6 -0
  714. package/utils/regex/index.d.ts +1 -0
  715. package/utils/regex/index.js +7 -0
  716. package/utils/regex/passwordRegex.js +6 -0
  717. package/utils/searchProvider.d.ts +9 -0
  718. package/utils/searchProvider.js +13 -0
  719. package/utils/string-array.js +6 -0
  720. package/utils/stripHtml.js +8 -0
  721. package/utils/urlParser.js +10 -0
  722. package/utils/videoEmbed.js +8 -0
  723. package/dist/components/choicebox-group.d.ts +0 -16
  724. package/dist/components/collapsible.d.ts +0 -10
  725. package/dist/components/color-picker.d.ts +0 -34
  726. package/dist/components/combobox.d.ts +0 -99
  727. package/dist/components/command.d.ts +0 -205
  728. package/dist/components/date-picker.d.ts +0 -30
  729. package/dist/components/drag-handle.d.ts +0 -3
  730. package/dist/components/index.d.ts +0 -59
  731. package/dist/components/multiselect.d.ts +0 -72
  732. package/dist/components/sidebar/context.d.ts +0 -26
  733. package/dist/components/sidebar/menu.d.ts +0 -22
  734. package/dist/components/sidebar/panel.d.ts +0 -6
  735. package/dist/components/sidebar/trigger.d.ts +0 -2
  736. package/dist/components/sidebar.d.ts +0 -78
  737. package/dist/components/upload-new.d.ts +0 -16
  738. package/dist/components/upload.d.ts +0 -23
  739. package/dist/constants/CountryPhoneCodes.d.ts +0 -2
  740. package/dist/constants/CurrencyCodes.d.ts +0 -6
  741. package/dist/constants/SexCodes.d.ts +0 -4
  742. package/dist/constants/index.d.ts +0 -5
  743. package/dist/hooks/index.d.ts +0 -9
  744. package/dist/hooks/use-confirm.d.ts +0 -29
  745. package/dist/hooks/use-toast.d.ts +0 -21
  746. package/dist/index.d.ts +0 -8
  747. package/dist/lib/index.d.ts +0 -1
  748. package/dist/modules/attachments/attachments.d.ts +0 -38
  749. package/dist/modules/attachments/context.d.ts +0 -12
  750. package/dist/modules/attachments/index.d.ts +0 -5
  751. package/dist/modules/blocks/components/BlockEditor.d.ts +0 -42
  752. package/dist/modules/blocks/components/Editor.d.ts +0 -2
  753. package/dist/modules/blocks/components/index.d.ts +0 -6
  754. package/dist/modules/blocks/constant/index.d.ts +0 -1
  755. package/dist/modules/blocks/hooks/useBlockEditor.d.ts +0 -7
  756. package/dist/modules/blocks/index.d.ts +0 -5
  757. package/dist/modules/blocks/types/TextEditor.d.ts +0 -28
  758. package/dist/modules/blocks/types/index.d.ts +0 -1
  759. package/dist/modules/blocks/utils/index.d.ts +0 -3
  760. package/dist/modules/board/components/Board.d.ts +0 -22
  761. package/dist/modules/board/contexts/BoardContext.d.ts +0 -2
  762. package/dist/modules/board/index.d.ts +0 -2
  763. package/dist/modules/chat-viz/components/ChatVizArea.d.ts +0 -9
  764. package/dist/modules/chat-viz/components/ChatVizBar.d.ts +0 -9
  765. package/dist/modules/chat-viz/components/ChatVizLine.d.ts +0 -9
  766. package/dist/modules/chat-viz/components/ChatVizPie.d.ts +0 -13
  767. package/dist/modules/chat-viz/components/ChatVizSendButton.d.ts +0 -17
  768. package/dist/modules/chat-viz/hooks/useChatVizSend.d.ts +0 -11
  769. package/dist/modules/chat-viz/index.d.ts +0 -12
  770. package/dist/modules/chat-viz/utils/chartVizTransforms.d.ts +0 -19
  771. package/dist/modules/chat-viz/utils/chatVizSanitize.d.ts +0 -25
  772. package/dist/modules/display/components/CurrencyDisplay.d.ts +0 -15
  773. package/dist/modules/display/components/EmailDisplay.d.ts +0 -2
  774. package/dist/modules/display/components/PhoneDisplay.d.ts +0 -2
  775. package/dist/modules/display/components/SexDisplay.d.ts +0 -4
  776. package/dist/modules/display/index.d.ts +0 -6
  777. package/dist/modules/display/utils/formatEmails.d.ts +0 -3
  778. package/dist/modules/display/utils/formatPhones.d.ts +0 -3
  779. package/dist/modules/email-editor/components/EmailEditor.d.ts +0 -3
  780. package/dist/modules/email-editor/components/EmailPreviewDeviceToggle.d.ts +0 -7
  781. package/dist/modules/email-editor/components/EmailPreviewFrame.d.ts +0 -8
  782. package/dist/modules/email-editor/components/index.d.ts +0 -3
  783. package/dist/modules/email-editor/index.d.ts +0 -6
  784. package/dist/modules/filter/components/Filter.d.ts +0 -909
  785. package/dist/modules/filter/context/FilterContext.d.ts +0 -2
  786. package/dist/modules/filter/date-filter/index.d.ts +0 -2
  787. package/dist/modules/filter/hooks/useFilterContext.d.ts +0 -1
  788. package/dist/modules/filter/hooks/useFilterQueryState.d.ts +0 -4
  789. package/dist/modules/filter/index.d.ts +0 -5
  790. package/dist/modules/focus-sheet/components/focus-sheet.d.ts +0 -51
  791. package/dist/modules/hotkey/components/PopoverScoped.d.ts +0 -10
  792. package/dist/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +0 -2
  793. package/dist/modules/hotkey/constants/initialHotkeysScope.d.ts +0 -2
  794. package/dist/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +0 -5
  795. package/dist/modules/hotkey/hooks/useSetHotkeyScope.d.ts +0 -2
  796. package/dist/modules/hotkey/index.d.ts +0 -13
  797. package/dist/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +0 -4
  798. package/dist/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +0 -2
  799. package/dist/modules/hotkey/states/setHotkeyScopeState.d.ts +0 -5
  800. package/dist/modules/hotkey/types/HotkeyScope.d.ts +0 -5
  801. package/dist/modules/icons/components/IconPicker.d.ts +0 -6
  802. package/dist/modules/icons/index.d.ts +0 -3
  803. package/dist/modules/index.d.ts +0 -22
  804. package/dist/modules/inputs/components/CurrencyField.d.ts +0 -442
  805. package/dist/modules/inputs/components/EmailField.d.ts +0 -30
  806. package/dist/modules/inputs/components/LanguageSelect.d.ts +0 -7
  807. package/dist/modules/inputs/components/PhoneField.d.ts +0 -56
  808. package/dist/modules/inputs/components/SexField.d.ts +0 -5
  809. package/dist/modules/inputs/components/TimezoneSelect.d.ts +0 -7
  810. package/dist/modules/inputs/contexts/EmailFieldsContext.d.ts +0 -8
  811. package/dist/modules/inputs/contexts/PhoneFieldsContext.d.ts +0 -6
  812. package/dist/modules/inputs/hooks/useEmailFields.d.ts +0 -6
  813. package/dist/modules/inputs/hooks/usePhoneFields.d.ts +0 -5
  814. package/dist/modules/inputs/index.d.ts +0 -8
  815. package/dist/modules/inputs/states/emailFieldStates.d.ts +0 -8
  816. package/dist/modules/inputs/states/phoneFieldStates.d.ts +0 -8
  817. package/dist/modules/layout/index.d.ts +0 -2
  818. package/dist/modules/motion/index.d.ts +0 -2
  819. package/dist/modules/navigation-menu/index.d.ts +0 -3
  820. package/dist/modules/record-field/components/NumberField.d.ts +0 -18
  821. package/dist/modules/record-field/components/TextField.d.ts +0 -17
  822. package/dist/modules/record-field/index.d.ts +0 -3
  823. package/dist/modules/record-table/components/MoreColumn.d.ts +0 -3
  824. package/dist/modules/record-table/components/RecordTableCellInline.d.ts +0 -14
  825. package/dist/modules/record-table/components/RecordTableCursor.d.ts +0 -20
  826. package/dist/modules/record-table/components/RecordTableProvider.d.ts +0 -13
  827. package/dist/modules/record-table/components/RecordTableRowList.d.ts +0 -5
  828. package/dist/modules/record-table/components/RecordTableTree.d.ts +0 -23
  829. package/dist/modules/record-table/contexts/RecordTableCursorContext.d.ts +0 -2
  830. package/dist/modules/record-table/contexts/RecordTableTreeContext.d.ts +0 -2
  831. package/dist/modules/record-table/hooks/useRecordTableCursorContext.d.ts +0 -1
  832. package/dist/modules/record-table/hooks/useRecordTableTree.d.ts +0 -9
  833. package/dist/modules/record-table/index.d.ts +0 -71
  834. package/dist/modules/record-table/utils/cursorUtils.d.ts +0 -25
  835. package/dist/modules/report/index.d.ts +0 -2
  836. package/dist/modules/select-operation/index.d.ts +0 -1
  837. package/dist/modules/select-tree/components/SelectTree.d.ts +0 -63
  838. package/dist/modules/select-tree/context/SelectTreeContext.d.ts +0 -3
  839. package/dist/modules/select-tree/index.d.ts +0 -1
  840. package/dist/state/index.d.ts +0 -2
  841. package/dist/state/themeState.d.ts +0 -2
  842. package/dist/types/Displays.d.ts +0 -5
  843. package/dist/types/index.d.ts +0 -11
  844. package/dist/utils/format/index.d.ts +0 -2
  845. package/dist/utils/index.d.ts +0 -18
  846. package/dist/utils/localization/index.d.ts +0 -3
  847. package/dist/utils/regex/index.d.ts +0 -1
  848. package/dist/utils/searchProvider.d.ts +0 -9
  849. package/src/components/__stories__/accordion.stories.tsx +0 -69
  850. package/src/components/__stories__/alert-dialog.stories.tsx +0 -39
  851. package/src/components/__stories__/avatar.stories.tsx +0 -32
  852. package/src/components/__stories__/badge.stories.tsx +0 -46
  853. package/src/components/__stories__/breadcrumb.stories.tsx +0 -50
  854. package/src/components/__stories__/button.stories.tsx +0 -22
  855. package/src/components/__stories__/calendar.stories.tsx +0 -47
  856. package/src/components/__stories__/calendarTwoMonths.stories.tsx +0 -47
  857. package/src/components/__stories__/card.stories.tsx +0 -60
  858. package/src/components/__stories__/checkbox.stories.tsx +0 -74
  859. package/src/components/__stories__/collapsible.stories.tsx +0 -78
  860. package/src/components/__stories__/combobox.stories.tsx +0 -158
  861. package/src/components/__stories__/command.stories.tsx +0 -78
  862. package/src/components/__stories__/commandbar.stories.tsx +0 -42
  863. package/src/components/__stories__/date-picker.stories.tsx +0 -83
  864. package/src/components/__stories__/dialog.stories.tsx +0 -53
  865. package/src/components/__stories__/dropdown-menu.stories.tsx +0 -140
  866. package/src/components/__stories__/form.stories.tsx +0 -166
  867. package/src/components/__stories__/hover-card.stories.tsx +0 -50
  868. package/src/components/__stories__/input.stories.tsx +0 -75
  869. package/src/components/__stories__/inputnumber.stories.tsx +0 -35
  870. package/src/components/__stories__/kbd.stories.tsx +0 -91
  871. package/src/components/__stories__/label.stories.tsx +0 -82
  872. package/src/components/__stories__/multiselect.stories.tsx +0 -178
  873. package/src/components/__stories__/popover.stories.tsx +0 -106
  874. package/src/components/__stories__/radio-group.stories.tsx +0 -97
  875. package/src/components/__stories__/resizeble.stories.tsx +0 -76
  876. package/src/components/__stories__/scroll-area.stories.tsx +0 -36
  877. package/src/components/__stories__/select.stories.tsx +0 -107
  878. package/src/components/__stories__/separator.stories.tsx +0 -53
  879. package/src/components/__stories__/sheet.stories.tsx +0 -62
  880. package/src/components/__stories__/sidebar.stories.tsx +0 -104
  881. package/src/components/__stories__/skeleton.stories.tsx +0 -27
  882. package/src/components/__stories__/slider.stories.tsx +0 -71
  883. package/src/components/__stories__/spinner.stories.tsx +0 -39
  884. package/src/components/__stories__/switch.stories.tsx +0 -63
  885. package/src/components/__stories__/table.stories.tsx +0 -140
  886. package/src/components/__stories__/tabs.stories.tsx +0 -76
  887. package/src/components/__stories__/text-overflow.stories.tsx +0 -32
  888. package/src/components/__stories__/textarea.stories.tsx +0 -75
  889. package/src/components/__stories__/toaster.stories.tsx +0 -53
  890. package/src/components/__stories__/toggle-group.stories.tsx +0 -50
  891. package/src/components/__stories__/toggle.stories.tsx +0 -38
  892. package/src/components/__stories__/tooltip.stories.tsx +0 -90
  893. package/src/components/accordion.tsx +0 -64
  894. package/src/components/alert-dialog.tsx +0 -139
  895. package/src/components/alert.tsx +0 -71
  896. package/src/components/avatar.tsx +0 -75
  897. package/src/components/background-gradient-animation.tsx +0 -192
  898. package/src/components/badge.tsx +0 -61
  899. package/src/components/breadcrumb.tsx +0 -118
  900. package/src/components/button.tsx +0 -58
  901. package/src/components/calendar.tsx +0 -178
  902. package/src/components/card.tsx +0 -85
  903. package/src/components/charts.tsx +0 -363
  904. package/src/components/checkbox.tsx +0 -50
  905. package/src/components/choicebox-group.tsx +0 -103
  906. package/src/components/collapsible.tsx +0 -46
  907. package/src/components/color-picker.tsx +0 -195
  908. package/src/components/combobox.tsx +0 -279
  909. package/src/components/command-bar.tsx +0 -108
  910. package/src/components/command.tsx +0 -261
  911. package/src/components/context-menu.tsx +0 -183
  912. package/src/components/copy-text.tsx +0 -52
  913. package/src/components/date-picker.tsx +0 -462
  914. package/src/components/dialog.tsx +0 -169
  915. package/src/components/drag-handle.tsx +0 -30
  916. package/src/components/dropdown-menu.tsx +0 -186
  917. package/src/components/empty.tsx +0 -102
  918. package/src/components/erxes-logo-icon.tsx +0 -16
  919. package/src/components/form.tsx +0 -174
  920. package/src/components/hover-card.tsx +0 -27
  921. package/src/components/index.ts +0 -59
  922. package/src/components/info-card.tsx +0 -70
  923. package/src/components/input.tsx +0 -95
  924. package/src/components/kbd.tsx +0 -30
  925. package/src/components/label.tsx +0 -35
  926. package/src/components/multiselect.tsx +0 -647
  927. package/src/components/popover.tsx +0 -57
  928. package/src/components/radio-group.tsx +0 -54
  929. package/src/components/resizable.tsx +0 -47
  930. package/src/components/scroll-area.tsx +0 -81
  931. package/src/components/search-order-select.tsx +0 -30
  932. package/src/components/select.tsx +0 -156
  933. package/src/components/separator.tsx +0 -50
  934. package/src/components/sheet.tsx +0 -184
  935. package/src/components/sidebar/constants.ts +0 -19
  936. package/src/components/sidebar/context.tsx +0 -206
  937. package/src/components/sidebar/group.tsx +0 -79
  938. package/src/components/sidebar/hooks.ts +0 -21
  939. package/src/components/sidebar/layout.tsx +0 -91
  940. package/src/components/sidebar/menu-sub.tsx +0 -66
  941. package/src/components/sidebar/menu.tsx +0 -216
  942. package/src/components/sidebar/panel.tsx +0 -175
  943. package/src/components/sidebar/root.tsx +0 -169
  944. package/src/components/sidebar/trigger.tsx +0 -39
  945. package/src/components/sidebar-tree-indicator.tsx +0 -125
  946. package/src/components/sidebar.tsx +0 -66
  947. package/src/components/skeleton.tsx +0 -29
  948. package/src/components/slider.tsx +0 -30
  949. package/src/components/spinner.tsx +0 -170
  950. package/src/components/stepper.tsx +0 -304
  951. package/src/components/string-array.tsx +0 -72
  952. package/src/components/switch.tsx +0 -50
  953. package/src/components/table.tsx +0 -116
  954. package/src/components/tabs.tsx +0 -93
  955. package/src/components/text-overflow.tsx +0 -128
  956. package/src/components/textarea.tsx +0 -21
  957. package/src/components/time-picker.tsx +0 -89
  958. package/src/components/toaster.tsx +0 -42
  959. package/src/components/toasts.tsx +0 -140
  960. package/src/components/toggle-group.tsx +0 -68
  961. package/src/components/toggle.tsx +0 -39
  962. package/src/components/tooltip.tsx +0 -36
  963. package/src/components/upload-new.tsx +0 -301
  964. package/src/components/upload.tsx +0 -335
  965. package/src/constants/AttachmentGql.ts +0 -9
  966. package/src/constants/CountryPhoneCodes.ts +0 -360
  967. package/src/constants/CurrencyCodes.ts +0 -214
  968. package/src/constants/EmailValidationStatusInfos.tsx +0 -46
  969. package/src/constants/GraphqlConstants.ts +0 -23
  970. package/src/constants/IanaTimeZones.ts +0 -600
  971. package/src/constants/IntlLanguages.ts +0 -74
  972. package/src/constants/PhoneValidationStatusInfos.tsx +0 -57
  973. package/src/constants/SexCodes.ts +0 -16
  974. package/src/constants/index.ts +0 -5
  975. package/src/hooks/index.ts +0 -9
  976. package/src/hooks/use-confirm.tsx +0 -212
  977. package/src/hooks/use-cursor-pagination.tsx +0 -42
  978. package/src/hooks/use-is-matching-location.tsx +0 -17
  979. package/src/hooks/use-media-query.tsx +0 -26
  980. package/src/hooks/use-mobile.tsx +0 -7
  981. package/src/hooks/use-query-state.tsx +0 -193
  982. package/src/hooks/use-toast.tsx +0 -188
  983. package/src/hooks/use-upload-chunked.ts +0 -173
  984. package/src/hooks/use-upload-new.ts +0 -242
  985. package/src/hooks/use-upload.tsx +0 -223
  986. package/src/index.ts +0 -8
  987. package/src/lib/index.ts +0 -1
  988. package/src/lib/utils.ts +0 -74
  989. package/src/modules/__stories__/IconPicker.stories.tsx +0 -19
  990. package/src/modules/__stories__/RelativeDateDisplay.stories.tsx +0 -97
  991. package/src/modules/__stories__/blocks.stories.tsx +0 -132
  992. package/src/modules/__stories__/currencyDisplay.stories.tsx +0 -78
  993. package/src/modules/__stories__/icons.stories.tsx +0 -29
  994. package/src/modules/__stories__/preview.stories.tsx +0 -55
  995. package/src/modules/attachments/attachments.tsx +0 -743
  996. package/src/modules/attachments/context.tsx +0 -116
  997. package/src/modules/attachments/index.ts +0 -11
  998. package/src/modules/attachments/types.ts +0 -72
  999. package/src/modules/blocks/components/BarcodeAttribute.tsx +0 -142
  1000. package/src/modules/blocks/components/BlockEditor.tsx +0 -248
  1001. package/src/modules/blocks/components/BlockEditorReadOnly.tsx +0 -67
  1002. package/src/modules/blocks/components/CustomFileBlock.tsx +0 -85
  1003. package/src/modules/blocks/components/CustomImageBlock.tsx +0 -366
  1004. package/src/modules/blocks/components/CustomVideoBlock.tsx +0 -118
  1005. package/src/modules/blocks/components/DocumentPlaceholderBlock.tsx +0 -114
  1006. package/src/modules/blocks/components/Editor.tsx +0 -156
  1007. package/src/modules/blocks/components/FontFamilyButton.tsx +0 -121
  1008. package/src/modules/blocks/components/GalleryBlock.tsx +0 -380
  1009. package/src/modules/blocks/components/ImageStyleButton.tsx +0 -100
  1010. package/src/modules/blocks/components/SlashMenu.tsx +0 -76
  1011. package/src/modules/blocks/components/SuggestionMenu.tsx +0 -57
  1012. package/src/modules/blocks/components/TableHandleWithRemove.tsx +0 -238
  1013. package/src/modules/blocks/components/Toolbar.tsx +0 -67
  1014. package/src/modules/blocks/components/index.ts +0 -6
  1015. package/src/modules/blocks/constant/blockEditorSchema.ts +0 -56
  1016. package/src/modules/blocks/constant/index.ts +0 -1
  1017. package/src/modules/blocks/hooks/useBlockEditor.tsx +0 -65
  1018. package/src/modules/blocks/index.ts +0 -5
  1019. package/src/modules/blocks/types/TextEditor.ts +0 -37
  1020. package/src/modules/blocks/types/index.ts +0 -1
  1021. package/src/modules/blocks/utils/getBlockAttachments.ts +0 -68
  1022. package/src/modules/blocks/utils/getMentionedUserIds.ts +0 -22
  1023. package/src/modules/blocks/utils/index.ts +0 -3
  1024. package/src/modules/blocks/utils/parseBlocks.ts +0 -33
  1025. package/src/modules/board/components/Board.tsx +0 -301
  1026. package/src/modules/board/contexts/BoardContext.ts +0 -8
  1027. package/src/modules/board/index.ts +0 -2
  1028. package/src/modules/board/states/boardStates.ts +0 -8
  1029. package/src/modules/board/types/boardTypes.ts +0 -61
  1030. package/src/modules/chat-viz/components/ChatVizArea.tsx +0 -69
  1031. package/src/modules/chat-viz/components/ChatVizBar.tsx +0 -62
  1032. package/src/modules/chat-viz/components/ChatVizCartesianDecorations.tsx +0 -42
  1033. package/src/modules/chat-viz/components/ChatVizLine.tsx +0 -68
  1034. package/src/modules/chat-viz/components/ChatVizMessage.tsx +0 -210
  1035. package/src/modules/chat-viz/components/ChatVizPie.tsx +0 -104
  1036. package/src/modules/chat-viz/components/ChatVizSendButton.tsx +0 -49
  1037. package/src/modules/chat-viz/hooks/useChatVizSend.ts +0 -22
  1038. package/src/modules/chat-viz/hooks/useIsClient.ts +0 -16
  1039. package/src/modules/chat-viz/index.ts +0 -31
  1040. package/src/modules/chat-viz/types/chatVizTypes.ts +0 -59
  1041. package/src/modules/chat-viz/utils/chartVizPresentation.ts +0 -34
  1042. package/src/modules/chat-viz/utils/chartVizTransforms.ts +0 -177
  1043. package/src/modules/chat-viz/utils/chatVizInteractive.test.ts +0 -152
  1044. package/src/modules/chat-viz/utils/chatVizSanitize.ts +0 -276
  1045. package/src/modules/display/components/CurrencyDisplay.tsx +0 -78
  1046. package/src/modules/display/components/EllipsisDisplay.tsx +0 -18
  1047. package/src/modules/display/components/EmailDisplay.tsx +0 -36
  1048. package/src/modules/display/components/PhoneDisplay.tsx +0 -37
  1049. package/src/modules/display/components/RelativeDateDisplay.tsx +0 -53
  1050. package/src/modules/display/components/SexDisplay.tsx +0 -10
  1051. package/src/modules/display/index.ts +0 -6
  1052. package/src/modules/display/utils/formatEmails.ts +0 -29
  1053. package/src/modules/display/utils/formatPhones.ts +0 -29
  1054. package/src/modules/email-editor/components/EmailEditor.tsx +0 -165
  1055. package/src/modules/email-editor/components/EmailPreviewDeviceToggle.tsx +0 -33
  1056. package/src/modules/email-editor/components/EmailPreviewFrame.tsx +0 -35
  1057. package/src/modules/email-editor/components/EmailTableBackground.tsx +0 -134
  1058. package/src/modules/email-editor/components/EmailTableToolbar.tsx +0 -82
  1059. package/src/modules/email-editor/components/index.ts +0 -3
  1060. package/src/modules/email-editor/constant/index.ts +0 -63
  1061. package/src/modules/email-editor/extensions/documentPlaceholder.ts +0 -114
  1062. package/src/modules/email-editor/extensions/documentPlaceholderBlock.tsx +0 -36
  1063. package/src/modules/email-editor/extensions/table.ts +0 -352
  1064. package/src/modules/email-editor/extensions/tableBlock.tsx +0 -13
  1065. package/src/modules/email-editor/hooks/useEmailHtml.ts +0 -36
  1066. package/src/modules/email-editor/index.ts +0 -6
  1067. package/src/modules/email-editor/maily-subpaths.d.ts +0 -90
  1068. package/src/modules/email-editor/types/index.ts +0 -37
  1069. package/src/modules/email-editor/utils/expandCustomNodes.ts +0 -190
  1070. package/src/modules/email-editor/utils/renderEmailHtml.ts +0 -52
  1071. package/src/modules/filter/components/Filter.tsx +0 -568
  1072. package/src/modules/filter/context/FilterContext.tsx +0 -6
  1073. package/src/modules/filter/date-filter/components/DateFilterCommand.tsx +0 -59
  1074. package/src/modules/filter/date-filter/components/DialogDateView.tsx +0 -270
  1075. package/src/modules/filter/date-filter/constants/dateTypes.tsx +0 -25
  1076. package/src/modules/filter/date-filter/index.ts +0 -2
  1077. package/src/modules/filter/date-filter/utils/dateTokens.ts +0 -28
  1078. package/src/modules/filter/date-filter/utils/getActiveTab.ts +0 -17
  1079. package/src/modules/filter/date-filter/utils/getDisplayValue.ts +0 -49
  1080. package/src/modules/filter/date-filter/utils/getYears.ts +0 -13
  1081. package/src/modules/filter/date-filter/utils/parseDateRangeFromString.ts +0 -101
  1082. package/src/modules/filter/hooks/useFilterContext.tsx +0 -6
  1083. package/src/modules/filter/hooks/useFilterQueryState.tsx +0 -24
  1084. package/src/modules/filter/index.ts +0 -5
  1085. package/src/modules/filter/states/filterStates.ts +0 -14
  1086. package/src/modules/filter/types/filter.ts +0 -29
  1087. package/src/modules/focus-sheet/components/focus-sheet.tsx +0 -338
  1088. package/src/modules/hotkey/components/PopoverScoped.tsx +0 -77
  1089. package/src/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.ts +0 -6
  1090. package/src/modules/hotkey/constants/initialHotkeysScope.ts +0 -12
  1091. package/src/modules/hotkey/hooks/usePreviousHotkeyScope.tsx +0 -59
  1092. package/src/modules/hotkey/hooks/useScopedHotKeysCallback.tsx +0 -83
  1093. package/src/modules/hotkey/hooks/useScopedHotkeys.tsx +0 -61
  1094. package/src/modules/hotkey/hooks/useSequenceHotkeys.tsx +0 -79
  1095. package/src/modules/hotkey/hooks/useSetHotkeyScope.tsx +0 -27
  1096. package/src/modules/hotkey/index.ts +0 -18
  1097. package/src/modules/hotkey/states/internal/currentHotkeyScopeState.ts +0 -6
  1098. package/src/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.ts +0 -3
  1099. package/src/modules/hotkey/states/internal/pendingHotkeyState.ts +0 -4
  1100. package/src/modules/hotkey/states/internal/previousHotkeyScopeState.ts +0 -4
  1101. package/src/modules/hotkey/states/setHotkeyScopeState.ts +0 -92
  1102. package/src/modules/hotkey/types/AppHotkeyScope.ts +0 -7
  1103. package/src/modules/hotkey/types/CustomHotkeyScope.ts +0 -6
  1104. package/src/modules/hotkey/types/HotkeyScope.ts +0 -6
  1105. package/src/modules/hotkey/utils/isNonTextWritingKey.ts +0 -57
  1106. package/src/modules/icons/components/IconComponent.tsx +0 -13
  1107. package/src/modules/icons/components/IconPicker.tsx +0 -55
  1108. package/src/modules/icons/components/TablerIcons.ts +0 -589
  1109. package/src/modules/icons/hooks/useIcons.ts +0 -23
  1110. package/src/modules/icons/index.ts +0 -3
  1111. package/src/modules/icons/providers/IconsProvider.tsx +0 -20
  1112. package/src/modules/icons/states/iconsState.ts +0 -4
  1113. package/src/modules/index.ts +0 -22
  1114. package/src/modules/inputs/components/CurrencyField.tsx +0 -217
  1115. package/src/modules/inputs/components/EmailField.tsx +0 -425
  1116. package/src/modules/inputs/components/FullNameField.tsx +0 -121
  1117. package/src/modules/inputs/components/LanguageSelect.tsx +0 -46
  1118. package/src/modules/inputs/components/NumberField.tsx +0 -29
  1119. package/src/modules/inputs/components/PhoneField.tsx +0 -491
  1120. package/src/modules/inputs/components/SexField.tsx +0 -31
  1121. package/src/modules/inputs/components/TimezoneSelect.tsx +0 -48
  1122. package/src/modules/inputs/contexts/EmailFieldsContext.tsx +0 -15
  1123. package/src/modules/inputs/contexts/FullNameFieldContext.tsx +0 -9
  1124. package/src/modules/inputs/contexts/PhoneFieldsContext.tsx +0 -12
  1125. package/src/modules/inputs/hooks/useEmailFields.tsx +0 -4
  1126. package/src/modules/inputs/hooks/useFullNameField.tsx +0 -12
  1127. package/src/modules/inputs/hooks/usePhoneFields.tsx +0 -4
  1128. package/src/modules/inputs/index.ts +0 -8
  1129. package/src/modules/inputs/states/emailFieldStates.ts +0 -15
  1130. package/src/modules/inputs/states/phoneFieldStates.ts +0 -15
  1131. package/src/modules/inputs/validations/emailValidation.ts +0 -7
  1132. package/src/modules/inputs/validations/phoneValidation.ts +0 -12
  1133. package/src/modules/layout/components/AppLayout.tsx +0 -430
  1134. package/src/modules/layout/components/Page.tsx +0 -37
  1135. package/src/modules/layout/index.ts +0 -2
  1136. package/src/modules/motion/components/TextEffect.tsx +0 -288
  1137. package/src/modules/motion/components/TextLoop.tsx +0 -71
  1138. package/src/modules/motion/index.ts +0 -2
  1139. package/src/modules/navigation-menu/components/NavigationMenu.tsx +0 -187
  1140. package/src/modules/navigation-menu/components/NavigationMenuItemControls.tsx +0 -18
  1141. package/src/modules/navigation-menu/index.ts +0 -3
  1142. package/src/modules/navigation-menu/states/activePluginState.tsx +0 -10
  1143. package/src/modules/preview/components/Preview.tsx +0 -108
  1144. package/src/modules/preview/context/PreviewContext.tsx +0 -16
  1145. package/src/modules/record-field/components/NumberField.tsx +0 -124
  1146. package/src/modules/record-field/components/TextField.tsx +0 -103
  1147. package/src/modules/record-field/index.ts +0 -3
  1148. package/src/modules/record-field/meta-inputs/components/EmailVerificationInput.tsx +0 -95
  1149. package/src/modules/record-field/meta-inputs/components/PhoneInput.tsx +0 -217
  1150. package/src/modules/record-field/meta-inputs/components/PhoneVerificationInput.tsx +0 -80
  1151. package/src/modules/record-field/meta-inputs/components/TextFieldInput.tsx +0 -17
  1152. package/src/modules/record-table/components/CheckboxColumn.tsx +0 -107
  1153. package/src/modules/record-table/components/MoreColumn.tsx +0 -26
  1154. package/src/modules/record-table/components/RecordTableArrowEffect.tsx +0 -67
  1155. package/src/modules/record-table/components/RecordTableCell.tsx +0 -43
  1156. package/src/modules/record-table/components/RecordTableCellInline.tsx +0 -104
  1157. package/src/modules/record-table/components/RecordTableColumnSelector.tsx +0 -204
  1158. package/src/modules/record-table/components/RecordTableContainer.tsx +0 -70
  1159. package/src/modules/record-table/components/RecordTableCursor.tsx +0 -143
  1160. package/src/modules/record-table/components/RecordTableDnDProvider.tsx +0 -63
  1161. package/src/modules/record-table/components/RecordTableHead.tsx +0 -143
  1162. package/src/modules/record-table/components/RecordTableHeader.tsx +0 -91
  1163. package/src/modules/record-table/components/RecordTableHotkeyCell.tsx +0 -97
  1164. package/src/modules/record-table/components/RecordTableInlineHead.tsx +0 -13
  1165. package/src/modules/record-table/components/RecordTableProvider.tsx +0 -201
  1166. package/src/modules/record-table/components/RecordTableRoot.tsx +0 -17
  1167. package/src/modules/record-table/components/RecordTableRow.tsx +0 -42
  1168. package/src/modules/record-table/components/RecordTableRowList.tsx +0 -47
  1169. package/src/modules/record-table/components/RecordTableRowSkeleton.tsx +0 -66
  1170. package/src/modules/record-table/components/RecordTableScroll.tsx +0 -23
  1171. package/src/modules/record-table/components/RecordTableTree.tsx +0 -135
  1172. package/src/modules/record-table/contexts/RecordTableCursorContext.tsx +0 -5
  1173. package/src/modules/record-table/contexts/RecordTableHotkeyContext.tsx +0 -56
  1174. package/src/modules/record-table/contexts/RecordTableTreeContext.tsx +0 -6
  1175. package/src/modules/record-table/hooks/usePopoverOnEnter.tsx +0 -38
  1176. package/src/modules/record-table/hooks/useRecordTableCursor.tsx +0 -22
  1177. package/src/modules/record-table/hooks/useRecordTableCursorContext.tsx +0 -12
  1178. package/src/modules/record-table/hooks/useRecordTableTree.tsx +0 -44
  1179. package/src/modules/record-table/hooks/useTablePreferences.ts +0 -45
  1180. package/src/modules/record-table/index.ts +0 -52
  1181. package/src/modules/record-table/states/EditModePositionComponentState.ts +0 -7
  1182. package/src/modules/record-table/states/RecordTableCursorState.ts +0 -6
  1183. package/src/modules/record-table/states/RecordTableTreeState.ts +0 -6
  1184. package/src/modules/record-table/types/RecordTableCursorTypes.ts +0 -26
  1185. package/src/modules/record-table/types/RecordTableScope.ts +0 -3
  1186. package/src/modules/record-table/types/RecordTableTreeTypes.ts +0 -6
  1187. package/src/modules/record-table/types/recordTableTypes.ts +0 -8
  1188. package/src/modules/record-table/utils/columnUtils.ts +0 -10
  1189. package/src/modules/record-table/utils/cursorUtils.ts +0 -66
  1190. package/src/modules/report/components/report-page-container.tsx +0 -179
  1191. package/src/modules/report/components/report-table.tsx +0 -123
  1192. package/src/modules/report/index.ts +0 -2
  1193. package/src/modules/report/states/reportSettingsState.ts +0 -9
  1194. package/src/modules/select-operation/components/SelectOperation.tsx +0 -167
  1195. package/src/modules/select-operation/index.ts +0 -1
  1196. package/src/modules/select-tree/components/SelectTree.tsx +0 -182
  1197. package/src/modules/select-tree/context/SelectTreeContext.tsx +0 -15
  1198. package/src/modules/select-tree/hooks/useSelectTreeHide.tsx +0 -29
  1199. package/src/modules/select-tree/index.ts +0 -1
  1200. package/src/modules/select-tree/states/selectTreeStates.tsx +0 -5
  1201. package/src/modules/select-tree/types/selectTreeTypes.ts +0 -14
  1202. package/src/modules/side-menu/components/SideMenu.tsx +0 -143
  1203. package/src/modules/side-menu/context/SideMenuContext.tsx +0 -20
  1204. package/src/state/index.ts +0 -2
  1205. package/src/state/sidebarPanelState.ts +0 -8
  1206. package/src/state/themeState.ts +0 -4
  1207. package/src/types/CountryCode.ts +0 -6
  1208. package/src/types/CurrencyCode.ts +0 -161
  1209. package/src/types/Displays.ts +0 -6
  1210. package/src/types/Gql.ts +0 -34
  1211. package/src/types/Key.ts +0 -1312
  1212. package/src/types/Relations.ts +0 -14
  1213. package/src/types/SexCode.ts +0 -6
  1214. package/src/types/Theme.ts +0 -2
  1215. package/src/types/UIConfig.ts +0 -210
  1216. package/src/types/Utils.ts +0 -12
  1217. package/src/types/ValidationStatus.ts +0 -4
  1218. package/src/types/index.ts +0 -11
  1219. package/src/utils/IsUndefinedOrNull.ts +0 -4
  1220. package/src/utils/colors.ts +0 -68
  1221. package/src/utils/config/index.ts +0 -83
  1222. package/src/utils/cookie-storage.ts +0 -29
  1223. package/src/utils/core.ts +0 -82
  1224. package/src/utils/fixOrder.ts +0 -16
  1225. package/src/utils/format/formatAmount.ts +0 -17
  1226. package/src/utils/format/formatPhoneNumber.ts +0 -11
  1227. package/src/utils/format/index.ts +0 -2
  1228. package/src/utils/getPluginAssetsUrl.ts +0 -16
  1229. package/src/utils/highlightMatch.tsx +0 -35
  1230. package/src/utils/index.ts +0 -18
  1231. package/src/utils/isAnObject.ts +0 -3
  1232. package/src/utils/isDeeplyEqual.ts +0 -4
  1233. package/src/utils/isDefined.ts +0 -4
  1234. package/src/utils/isEnabled.ts +0 -7
  1235. package/src/utils/localization/detectTimeZone.ts +0 -6
  1236. package/src/utils/localization/formatDateISOStringToRelativeDate.ts +0 -39
  1237. package/src/utils/localization/formatTimeZoneLabel.ts +0 -29
  1238. package/src/utils/localization/index.ts +0 -3
  1239. package/src/utils/logDebug.ts +0 -4
  1240. package/src/utils/regex/index.ts +0 -1
  1241. package/src/utils/regex/passwordRegex.ts +0 -1
  1242. package/src/utils/searchProvider.ts +0 -77
  1243. package/src/utils/string-array.ts +0 -24
  1244. package/src/utils/stripHtml.ts +0 -15
  1245. package/src/utils/urlParser.ts +0 -66
  1246. package/src/utils/videoEmbed.ts +0 -56
  1247. /package/{src/components/__stories__/time-picker.stories.tsx → chunks/chunk-2OQPZ7Y3.js} +0 -0
  1248. /package/{dist/components → components}/accordion.d.ts +0 -0
  1249. /package/{dist/components → components}/alert-dialog.d.ts +0 -0
  1250. /package/{dist/components → components}/alert.d.ts +0 -0
  1251. /package/{dist/components → components}/avatar.d.ts +0 -0
  1252. /package/{dist/components → components}/background-gradient-animation.d.ts +0 -0
  1253. /package/{dist/components → components}/badge.d.ts +0 -0
  1254. /package/{dist/components → components}/breadcrumb.d.ts +0 -0
  1255. /package/{dist/components → components}/button.d.ts +0 -0
  1256. /package/{dist/components → components}/calendar.d.ts +0 -0
  1257. /package/{dist/components → components}/card.d.ts +0 -0
  1258. /package/{dist/components → components}/charts.d.ts +0 -0
  1259. /package/{dist/components → components}/checkbox.d.ts +0 -0
  1260. /package/{dist/components → components}/command-bar.d.ts +0 -0
  1261. /package/{dist/components → components}/context-menu.d.ts +0 -0
  1262. /package/{dist/components → components}/copy-text.d.ts +0 -0
  1263. /package/{dist/components → components}/dialog.d.ts +0 -0
  1264. /package/{dist/components → components}/dropdown-menu.d.ts +0 -0
  1265. /package/{dist/components → components}/empty.d.ts +0 -0
  1266. /package/{dist/components → components}/erxes-logo-icon.d.ts +0 -0
  1267. /package/{dist/components → components}/form.d.ts +0 -0
  1268. /package/{dist/components → components}/hover-card.d.ts +0 -0
  1269. /package/{dist/components → components}/info-card.d.ts +0 -0
  1270. /package/{dist/components → components}/input.d.ts +0 -0
  1271. /package/{dist/components → components}/kbd.d.ts +0 -0
  1272. /package/{dist/components → components}/label.d.ts +0 -0
  1273. /package/{dist/components → components}/popover.d.ts +0 -0
  1274. /package/{dist/components → components}/radio-group.d.ts +0 -0
  1275. /package/{dist/components → components}/resizable.d.ts +0 -0
  1276. /package/{dist/components → components}/scroll-area.d.ts +0 -0
  1277. /package/{dist/components → components}/search-order-select.d.ts +0 -0
  1278. /package/{dist/components → components}/select.d.ts +0 -0
  1279. /package/{dist/components → components}/separator.d.ts +0 -0
  1280. /package/{dist/components → components}/sheet.d.ts +0 -0
  1281. /package/{dist/components → components}/sidebar/constants.d.ts +0 -0
  1282. /package/{dist/components → components}/sidebar/group.d.ts +0 -0
  1283. /package/{dist/components → components}/sidebar/hooks.d.ts +0 -0
  1284. /package/{dist/components → components}/sidebar/layout.d.ts +0 -0
  1285. /package/{dist/components → components}/sidebar/menu-sub.d.ts +0 -0
  1286. /package/{dist/components → components}/sidebar/root.d.ts +0 -0
  1287. /package/{dist/components → components}/sidebar-tree-indicator.d.ts +0 -0
  1288. /package/{dist/components → components}/skeleton.d.ts +0 -0
  1289. /package/{dist/components → components}/slider.d.ts +0 -0
  1290. /package/{dist/components → components}/spinner.d.ts +0 -0
  1291. /package/{dist/components → components}/stepper.d.ts +0 -0
  1292. /package/{dist/components → components}/string-array.d.ts +0 -0
  1293. /package/{dist/components → components}/switch.d.ts +0 -0
  1294. /package/{dist/components → components}/table.d.ts +0 -0
  1295. /package/{dist/components → components}/tabs.d.ts +0 -0
  1296. /package/{dist/components → components}/text-overflow.d.ts +0 -0
  1297. /package/{dist/components → components}/textarea.d.ts +0 -0
  1298. /package/{dist/components → components}/time-picker.d.ts +0 -0
  1299. /package/{dist/components → components}/toaster.d.ts +0 -0
  1300. /package/{dist/components → components}/toasts.d.ts +0 -0
  1301. /package/{dist/components → components}/toggle-group.d.ts +0 -0
  1302. /package/{dist/components → components}/toggle.d.ts +0 -0
  1303. /package/{dist/components → components}/tooltip.d.ts +0 -0
  1304. /package/{dist/constants → constants}/AttachmentGql.d.ts +0 -0
  1305. /package/{dist/constants → constants}/EmailValidationStatusInfos.d.ts +0 -0
  1306. /package/{dist/constants → constants}/GraphqlConstants.d.ts +0 -0
  1307. /package/{dist/constants → constants}/IanaTimeZones.d.ts +0 -0
  1308. /package/{dist/constants → constants}/IntlLanguages.d.ts +0 -0
  1309. /package/{dist/constants → constants}/PhoneValidationStatusInfos.d.ts +0 -0
  1310. /package/{dist/hooks → hooks}/use-cursor-pagination.d.ts +0 -0
  1311. /package/{dist/hooks → hooks}/use-is-matching-location.d.ts +0 -0
  1312. /package/{dist/hooks → hooks}/use-media-query.d.ts +0 -0
  1313. /package/{dist/hooks → hooks}/use-mobile.d.ts +0 -0
  1314. /package/{dist/hooks → hooks}/use-query-state.d.ts +0 -0
  1315. /package/{dist/hooks → hooks}/use-upload-chunked.d.ts +0 -0
  1316. /package/{dist/hooks → hooks}/use-upload-new.d.ts +0 -0
  1317. /package/{dist/hooks → hooks}/use-upload.d.ts +0 -0
  1318. /package/{dist/lib → lib}/utils.d.ts +0 -0
  1319. /package/{dist/modules → modules}/attachments/types.d.ts +0 -0
  1320. /package/{dist/modules → modules}/blocks/components/BarcodeAttribute.d.ts +0 -0
  1321. /package/{dist/modules → modules}/blocks/components/BlockEditorReadOnly.d.ts +0 -0
  1322. /package/{dist/modules → modules}/blocks/components/CustomFileBlock.d.ts +0 -0
  1323. /package/{dist/modules → modules}/blocks/components/CustomImageBlock.d.ts +0 -0
  1324. /package/{dist/modules → modules}/blocks/components/CustomVideoBlock.d.ts +0 -0
  1325. /package/{dist/modules → modules}/blocks/components/DocumentPlaceholderBlock.d.ts +0 -0
  1326. /package/{dist/modules → modules}/blocks/components/FontFamilyButton.d.ts +0 -0
  1327. /package/{dist/modules → modules}/blocks/components/GalleryBlock.d.ts +0 -0
  1328. /package/{dist/modules → modules}/blocks/components/ImageStyleButton.d.ts +0 -0
  1329. /package/{dist/modules → modules}/blocks/components/SlashMenu.d.ts +0 -0
  1330. /package/{dist/modules → modules}/blocks/components/SuggestionMenu.d.ts +0 -0
  1331. /package/{dist/modules → modules}/blocks/components/TableHandleWithRemove.d.ts +0 -0
  1332. /package/{dist/modules → modules}/blocks/components/Toolbar.d.ts +0 -0
  1333. /package/{dist/modules → modules}/blocks/constant/blockEditorSchema.d.ts +0 -0
  1334. /package/{dist/modules → modules}/blocks/utils/getBlockAttachments.d.ts +0 -0
  1335. /package/{dist/modules → modules}/blocks/utils/getMentionedUserIds.d.ts +0 -0
  1336. /package/{dist/modules → modules}/blocks/utils/parseBlocks.d.ts +0 -0
  1337. /package/{dist/modules → modules}/board/states/boardStates.d.ts +0 -0
  1338. /package/{dist/modules → modules}/board/types/boardTypes.d.ts +0 -0
  1339. /package/{dist/modules → modules}/chat-viz/components/ChatVizCartesianDecorations.d.ts +0 -0
  1340. /package/{dist/modules → modules}/chat-viz/components/ChatVizMessage.d.ts +0 -0
  1341. /package/{dist/modules → modules}/chat-viz/hooks/useIsClient.d.ts +0 -0
  1342. /package/{dist/modules → modules}/chat-viz/types/chatVizTypes.d.ts +0 -0
  1343. /package/{dist/modules → modules}/chat-viz/utils/chartVizPresentation.d.ts +0 -0
  1344. /package/{dist/modules → modules}/display/components/EllipsisDisplay.d.ts +0 -0
  1345. /package/{dist/modules → modules}/display/components/RelativeDateDisplay.d.ts +0 -0
  1346. /package/{dist/modules → modules}/email-editor/components/EmailTableBackground.d.ts +0 -0
  1347. /package/{dist/modules → modules}/email-editor/components/EmailTableToolbar.d.ts +0 -0
  1348. /package/{dist/modules → modules}/email-editor/constant/index.d.ts +0 -0
  1349. /package/{dist/modules → modules}/email-editor/extensions/documentPlaceholder.d.ts +0 -0
  1350. /package/{dist/modules → modules}/email-editor/extensions/documentPlaceholderBlock.d.ts +0 -0
  1351. /package/{dist/modules → modules}/email-editor/extensions/table.d.ts +0 -0
  1352. /package/{dist/modules → modules}/email-editor/extensions/tableBlock.d.ts +0 -0
  1353. /package/{dist/modules → modules}/email-editor/hooks/useEmailHtml.d.ts +0 -0
  1354. /package/{dist/modules → modules}/email-editor/types/index.d.ts +0 -0
  1355. /package/{dist/modules → modules}/email-editor/utils/expandCustomNodes.d.ts +0 -0
  1356. /package/{dist/modules → modules}/email-editor/utils/renderEmailHtml.d.ts +0 -0
  1357. /package/{dist/modules → modules}/filter/date-filter/components/DateFilterCommand.d.ts +0 -0
  1358. /package/{dist/modules → modules}/filter/date-filter/components/DialogDateView.d.ts +0 -0
  1359. /package/{dist/modules → modules}/filter/date-filter/constants/dateTypes.d.ts +0 -0
  1360. /package/{dist/modules → modules}/filter/date-filter/utils/dateTokens.d.ts +0 -0
  1361. /package/{dist/modules → modules}/filter/date-filter/utils/getActiveTab.d.ts +0 -0
  1362. /package/{dist/modules → modules}/filter/date-filter/utils/getDisplayValue.d.ts +0 -0
  1363. /package/{dist/modules → modules}/filter/date-filter/utils/getYears.d.ts +0 -0
  1364. /package/{dist/modules → modules}/filter/date-filter/utils/parseDateRangeFromString.d.ts +0 -0
  1365. /package/{dist/modules → modules}/filter/states/filterStates.d.ts +0 -0
  1366. /package/{dist/modules → modules}/filter/types/filter.d.ts +0 -0
  1367. /package/{dist/modules → modules}/hotkey/hooks/useScopedHotKeysCallback.d.ts +0 -0
  1368. /package/{dist/modules → modules}/hotkey/hooks/useScopedHotkeys.d.ts +0 -0
  1369. /package/{dist/modules → modules}/hotkey/hooks/useSequenceHotkeys.d.ts +0 -0
  1370. /package/{dist/modules → modules}/hotkey/states/internal/internalHotkeysEnabledScopeState.d.ts +0 -0
  1371. /package/{dist/modules → modules}/hotkey/states/internal/pendingHotkeyState.d.ts +0 -0
  1372. /package/{dist/modules → modules}/hotkey/types/AppHotkeyScope.d.ts +0 -0
  1373. /package/{dist/modules → modules}/hotkey/types/CustomHotkeyScope.d.ts +0 -0
  1374. /package/{dist/modules → modules}/hotkey/utils/isNonTextWritingKey.d.ts +0 -0
  1375. /package/{dist/modules → modules}/icons/components/IconComponent.d.ts +0 -0
  1376. /package/{dist/modules → modules}/icons/components/TablerIcons.d.ts +0 -0
  1377. /package/{dist/modules → modules}/icons/hooks/useIcons.d.ts +0 -0
  1378. /package/{dist/modules → modules}/icons/providers/IconsProvider.d.ts +0 -0
  1379. /package/{dist/modules → modules}/icons/states/iconsState.d.ts +0 -0
  1380. /package/{dist/modules → modules}/inputs/components/FullNameField.d.ts +0 -0
  1381. /package/{dist/modules → modules}/inputs/components/NumberField.d.ts +0 -0
  1382. /package/{dist/modules → modules}/inputs/contexts/FullNameFieldContext.d.ts +0 -0
  1383. /package/{dist/modules → modules}/inputs/hooks/useFullNameField.d.ts +0 -0
  1384. /package/{dist/modules → modules}/inputs/validations/emailValidation.d.ts +0 -0
  1385. /package/{dist/modules → modules}/inputs/validations/phoneValidation.d.ts +0 -0
  1386. /package/{dist/modules → modules}/layout/components/AppLayout.d.ts +0 -0
  1387. /package/{dist/modules → modules}/layout/components/Page.d.ts +0 -0
  1388. /package/{dist/modules → modules}/motion/components/TextEffect.d.ts +0 -0
  1389. /package/{dist/modules → modules}/motion/components/TextLoop.d.ts +0 -0
  1390. /package/{dist/modules → modules}/navigation-menu/components/NavigationMenu.d.ts +0 -0
  1391. /package/{dist/modules → modules}/navigation-menu/components/NavigationMenuItemControls.d.ts +0 -0
  1392. /package/{dist/modules → modules}/navigation-menu/states/activePluginState.d.ts +0 -0
  1393. /package/{dist/modules → modules}/preview/components/Preview.d.ts +0 -0
  1394. /package/{dist/modules → modules}/preview/context/PreviewContext.d.ts +0 -0
  1395. /package/{dist/modules → modules}/record-field/meta-inputs/components/EmailVerificationInput.d.ts +0 -0
  1396. /package/{dist/modules → modules}/record-field/meta-inputs/components/PhoneInput.d.ts +0 -0
  1397. /package/{dist/modules → modules}/record-field/meta-inputs/components/PhoneVerificationInput.d.ts +0 -0
  1398. /package/{dist/modules → modules}/record-field/meta-inputs/components/TextFieldInput.d.ts +0 -0
  1399. /package/{dist/modules → modules}/record-table/components/CheckboxColumn.d.ts +0 -0
  1400. /package/{dist/modules → modules}/record-table/components/RecordTableArrowEffect.d.ts +0 -0
  1401. /package/{dist/modules → modules}/record-table/components/RecordTableCell.d.ts +0 -0
  1402. /package/{dist/modules → modules}/record-table/components/RecordTableColumnSelector.d.ts +0 -0
  1403. /package/{dist/modules → modules}/record-table/components/RecordTableContainer.d.ts +0 -0
  1404. /package/{dist/modules → modules}/record-table/components/RecordTableDnDProvider.d.ts +0 -0
  1405. /package/{dist/modules → modules}/record-table/components/RecordTableHead.d.ts +0 -0
  1406. /package/{dist/modules → modules}/record-table/components/RecordTableHeader.d.ts +0 -0
  1407. /package/{dist/modules → modules}/record-table/components/RecordTableHotkeyCell.d.ts +0 -0
  1408. /package/{dist/modules → modules}/record-table/components/RecordTableInlineHead.d.ts +0 -0
  1409. /package/{dist/modules → modules}/record-table/components/RecordTableRoot.d.ts +0 -0
  1410. /package/{dist/modules → modules}/record-table/components/RecordTableRow.d.ts +0 -0
  1411. /package/{dist/modules → modules}/record-table/components/RecordTableRowSkeleton.d.ts +0 -0
  1412. /package/{dist/modules → modules}/record-table/components/RecordTableScroll.d.ts +0 -0
  1413. /package/{dist/modules → modules}/record-table/contexts/RecordTableHotkeyContext.d.ts +0 -0
  1414. /package/{dist/modules → modules}/record-table/hooks/usePopoverOnEnter.d.ts +0 -0
  1415. /package/{dist/modules → modules}/record-table/hooks/useRecordTableCursor.d.ts +0 -0
  1416. /package/{dist/modules → modules}/record-table/hooks/useTablePreferences.d.ts +0 -0
  1417. /package/{dist/modules → modules}/record-table/states/EditModePositionComponentState.d.ts +0 -0
  1418. /package/{dist/modules → modules}/record-table/states/RecordTableCursorState.d.ts +0 -0
  1419. /package/{dist/modules → modules}/record-table/states/RecordTableTreeState.d.ts +0 -0
  1420. /package/{dist/modules → modules}/record-table/types/RecordTableCursorTypes.d.ts +0 -0
  1421. /package/{dist/modules → modules}/record-table/types/RecordTableScope.d.ts +0 -0
  1422. /package/{dist/modules → modules}/record-table/types/RecordTableTreeTypes.d.ts +0 -0
  1423. /package/{dist/modules → modules}/record-table/types/recordTableTypes.d.ts +0 -0
  1424. /package/{dist/modules → modules}/record-table/utils/columnUtils.d.ts +0 -0
  1425. /package/{dist/modules → modules}/report/components/report-page-container.d.ts +0 -0
  1426. /package/{dist/modules → modules}/report/components/report-table.d.ts +0 -0
  1427. /package/{dist/modules → modules}/report/states/reportSettingsState.d.ts +0 -0
  1428. /package/{dist/modules → modules}/select-operation/components/SelectOperation.d.ts +0 -0
  1429. /package/{dist/modules → modules}/select-tree/hooks/useSelectTreeHide.d.ts +0 -0
  1430. /package/{dist/modules → modules}/select-tree/states/selectTreeStates.d.ts +0 -0
  1431. /package/{dist/modules → modules}/select-tree/types/selectTreeTypes.d.ts +0 -0
  1432. /package/{dist/modules → modules}/side-menu/components/SideMenu.d.ts +0 -0
  1433. /package/{dist/modules → modules}/side-menu/context/SideMenuContext.d.ts +0 -0
  1434. /package/{dist/state → state}/sidebarPanelState.d.ts +0 -0
  1435. /package/{src/theme.css → theme.css} +0 -0
  1436. /package/{dist/types → types}/CountryCode.d.ts +0 -0
  1437. /package/{dist/types → types}/CurrencyCode.d.ts +0 -0
  1438. /package/{dist/types → types}/Gql.d.ts +0 -0
  1439. /package/{dist/types → types}/Key.d.ts +0 -0
  1440. /package/{dist/types → types}/Relations.d.ts +0 -0
  1441. /package/{dist/types → types}/SexCode.d.ts +0 -0
  1442. /package/{dist/types → types}/Theme.d.ts +0 -0
  1443. /package/{dist/types → types}/UIConfig.d.ts +0 -0
  1444. /package/{dist/types → types}/Utils.d.ts +0 -0
  1445. /package/{dist/types → types}/ValidationStatus.d.ts +0 -0
  1446. /package/{dist/utils → utils}/IsUndefinedOrNull.d.ts +0 -0
  1447. /package/{dist/utils → utils}/colors.d.ts +0 -0
  1448. /package/{dist/utils → utils}/config/index.d.ts +0 -0
  1449. /package/{dist/utils → utils}/cookie-storage.d.ts +0 -0
  1450. /package/{dist/utils → utils}/core.d.ts +0 -0
  1451. /package/{dist/utils → utils}/fixOrder.d.ts +0 -0
  1452. /package/{dist/utils → utils}/format/formatAmount.d.ts +0 -0
  1453. /package/{dist/utils → utils}/format/formatPhoneNumber.d.ts +0 -0
  1454. /package/{dist/utils → utils}/getPluginAssetsUrl.d.ts +0 -0
  1455. /package/{dist/utils → utils}/highlightMatch.d.ts +0 -0
  1456. /package/{dist/utils → utils}/isAnObject.d.ts +0 -0
  1457. /package/{dist/utils → utils}/isDeeplyEqual.d.ts +0 -0
  1458. /package/{dist/utils → utils}/isDefined.d.ts +0 -0
  1459. /package/{dist/utils → utils}/isEnabled.d.ts +0 -0
  1460. /package/{dist/utils → utils}/localization/detectTimeZone.d.ts +0 -0
  1461. /package/{dist/utils → utils}/localization/formatDateISOStringToRelativeDate.d.ts +0 -0
  1462. /package/{dist/utils → utils}/localization/formatTimeZoneLabel.d.ts +0 -0
  1463. /package/{dist/utils → utils}/logDebug.d.ts +0 -0
  1464. /package/{dist/utils → utils}/regex/passwordRegex.d.ts +0 -0
  1465. /package/{dist/utils → utils}/string-array.d.ts +0 -0
  1466. /package/{dist/utils → utils}/stripHtml.d.ts +0 -0
  1467. /package/{dist/utils → utils}/urlParser.d.ts +0 -0
  1468. /package/{dist/utils → utils}/videoEmbed.d.ts +0 -0
@@ -1,63 +0,0 @@
1
- import type { EditorProps as MailyEditorProps } from '@maily-to/core';
2
- import {
3
- blockquote,
4
- bulletList,
5
- button,
6
- clearLine,
7
- columns,
8
- divider,
9
- footer,
10
- hardBreak,
11
- heading1,
12
- heading2,
13
- heading3,
14
- htmlCodeBlock,
15
- image,
16
- inlineImage,
17
- linkCard,
18
- logo,
19
- orderedList,
20
- section,
21
- spacer,
22
- text,
23
- } from '@maily-to/core/blocks';
24
- import { tableBlock } from '../extensions/tableBlock';
25
-
26
- type BlockGroups = NonNullable<MailyEditorProps['blocks']>;
27
-
28
- export const DEFAULT_EMAIL_BLOCKS: BlockGroups = [
29
- {
30
- title: 'Basic',
31
- commands: [
32
- text,
33
- heading1,
34
- heading2,
35
- heading3,
36
- bulletList,
37
- orderedList,
38
- blockquote,
39
- divider,
40
- hardBreak,
41
- clearLine,
42
- ],
43
- },
44
- {
45
- title: 'Design',
46
- commands: [
47
- button,
48
- image,
49
- inlineImage,
50
- logo,
51
- columns,
52
- section,
53
- tableBlock,
54
- spacer,
55
- footer,
56
- linkCard,
57
- ],
58
- },
59
- {
60
- title: 'Advanced',
61
- commands: [htmlCodeBlock],
62
- },
63
- ];
@@ -1,114 +0,0 @@
1
- import { mergeAttributes, Node } from '@tiptap/core';
2
-
3
- export interface EmailDocumentPlaceholderAttrs {
4
- documentId: string;
5
- documentName?: string;
6
- documentCode?: string;
7
- documentPreview?: string;
8
- }
9
-
10
- declare module '@tiptap/core' {
11
- interface Commands<ReturnType> {
12
- emailDocumentPlaceholder: {
13
- insertDocumentPlaceholder: (
14
- attrs: EmailDocumentPlaceholderAttrs,
15
- ) => ReturnType;
16
- };
17
- }
18
- }
19
-
20
- const dataAttribute = (key: string, attribute: string) => ({
21
- parseHTML: (element: HTMLElement) => element.getAttribute(attribute) || '',
22
- renderHTML: (attrs: Record<string, unknown>) => ({
23
- [attribute]: attrs[key] || '',
24
- }),
25
- });
26
-
27
- const CARD_STYLE =
28
- 'margin: 8px 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 6px; background: #f9fafb;';
29
-
30
- /**
31
- * A document rendered into the email at send time. The node holds only which
32
- * document it is: the body is produced per recipient, so the editor shows the
33
- * document's name and a teaser of it rather than its content.
34
- */
35
- export const EmailDocumentPlaceholder = Node.create({
36
- name: 'documentPlaceholder',
37
- group: 'block',
38
- atom: true,
39
- selectable: true,
40
- draggable: true,
41
-
42
- addAttributes: () => ({
43
- documentId: {
44
- default: '',
45
- ...dataAttribute('documentId', 'data-document-id'),
46
- },
47
- documentName: {
48
- default: 'Untitled document',
49
- ...dataAttribute('documentName', 'data-document-name'),
50
- },
51
- documentCode: {
52
- default: '',
53
- ...dataAttribute('documentCode', 'data-document-code'),
54
- },
55
- documentPreview: {
56
- default: '',
57
- ...dataAttribute('documentPreview', 'data-document-preview'),
58
- },
59
- }),
60
-
61
- parseHTML: () => [{ tag: 'div[data-document-placeholder]' }],
62
-
63
- renderHTML({ HTMLAttributes, node }) {
64
- const { documentName, documentCode, documentPreview } = node.attrs;
65
-
66
- const label = documentCode
67
- ? `Document · ${documentCode}`
68
- : 'Rendered when the email is sent';
69
-
70
- return [
71
- 'div',
72
- mergeAttributes(HTMLAttributes, {
73
- 'data-document-placeholder': '',
74
- style: CARD_STYLE,
75
- }),
76
- [
77
- 'div',
78
- { style: 'font-size: 14px; font-weight: 600; color: #111827;' },
79
- documentName || 'Untitled document',
80
- ],
81
- [
82
- 'div',
83
- { style: 'margin-top: 2px; font-size: 12px; color: #6b7280;' },
84
- label,
85
- ],
86
- ...(documentPreview
87
- ? [
88
- [
89
- 'div',
90
- {
91
- style:
92
- 'margin-top: 6px; font-size: 12px; line-height: 1.5; color: #6b7280;',
93
- },
94
- documentPreview,
95
- ],
96
- ]
97
- : []),
98
- ];
99
- },
100
-
101
- addCommands() {
102
- return {
103
- insertDocumentPlaceholder:
104
- (attrs) =>
105
- ({ chain }) =>
106
- chain()
107
- .insertContent([
108
- { type: this.name, attrs },
109
- { type: 'paragraph' },
110
- ])
111
- .run(),
112
- };
113
- },
114
- });
@@ -1,36 +0,0 @@
1
- import { IconFileText } from '@tabler/icons-react';
2
- import type { Editor, Range } from '@tiptap/core';
3
- import type { EditorProps as MailyEditorProps } from '@maily-to/core';
4
- import { DEFAULT_EMAIL_BLOCKS } from '../constant';
5
-
6
- type BlockGroups = NonNullable<MailyEditorProps['blocks']>;
7
-
8
- /**
9
- * Which document to embed is answered outside the editor, so the entry hands
10
- * the editor back to whoever opens the picker and inserts nothing itself.
11
- */
12
- export const createDocumentPlaceholderBlock = (
13
- onOpen: (editor: Editor) => void,
14
- ) => ({
15
- title: 'Document',
16
- description: 'Render a document into the email',
17
- searchTerms: ['document', 'doc', 'template', 'file'],
18
- icon: <IconFileText className="mly-h-4 mly-w-4" />,
19
- command: ({ editor, range }: { editor: Editor; range: Range }) => {
20
- editor.chain().focus().deleteRange(range).run();
21
- onOpen(editor);
22
- },
23
- });
24
-
25
- export const withEmailDocumentBlock = (
26
- onOpen: (editor: Editor) => void,
27
- blocks: BlockGroups = DEFAULT_EMAIL_BLOCKS,
28
- ): BlockGroups =>
29
- blocks.map((group) =>
30
- group.title === 'Design'
31
- ? {
32
- ...group,
33
- commands: [...group.commands, createDocumentPlaceholderBlock(onOpen)],
34
- }
35
- : group,
36
- );
@@ -1,352 +0,0 @@
1
- import {
2
- callOrReturn,
3
- getExtensionField,
4
- mergeAttributes,
5
- Node,
6
- } from '@tiptap/core';
7
- import type { EditorState } from '@tiptap/pm/state';
8
-
9
- type Dispatch = ((args?: unknown) => unknown) | undefined;
10
- import {
11
- addColumnAfter,
12
- addColumnBefore,
13
- addRowAfter,
14
- addRowBefore,
15
- deleteColumn,
16
- deleteRow,
17
- deleteTable,
18
- goToNextCell,
19
- isInTable,
20
- mergeCells,
21
- selectedRect,
22
- splitCell,
23
- tableEditing,
24
- toggleHeaderRow,
25
- } from '@tiptap/pm/tables';
26
- import { gapCursor } from '@tiptap/pm/gapcursor';
27
- import { TextSelection } from '@tiptap/pm/state';
28
-
29
- declare module '@tiptap/core' {
30
- interface Commands<ReturnType> {
31
- emailTable: {
32
- insertTable: (options?: { rows?: number; cols?: number }) => ReturnType;
33
- addRowBefore: () => ReturnType;
34
- addRowAfter: () => ReturnType;
35
- deleteRow: () => ReturnType;
36
- addColumnBefore: () => ReturnType;
37
- addColumnAfter: () => ReturnType;
38
- deleteColumn: () => ReturnType;
39
- toggleHeaderRow: () => ReturnType;
40
- mergeCells: () => ReturnType;
41
- splitCell: () => ReturnType;
42
- deleteTable: () => ReturnType;
43
- setTableBackground: (options: {
44
- color: string | null;
45
- scope: TEmailTableBackgroundScope;
46
- }) => ReturnType;
47
- };
48
- }
49
- }
50
-
51
- /** How far a background colour reaches from the cell the caret is in. */
52
- export type TEmailTableBackgroundScope = 'cell' | 'row' | 'column' | 'table';
53
-
54
- const cellAttributes = (defaultBackground: string | null) => ({
55
- colspan: { default: 1 },
56
- rowspan: { default: 1 },
57
- colwidth: {
58
- default: null,
59
- parseHTML: (element: HTMLElement) => {
60
- const width = element.getAttribute('colwidth');
61
-
62
- return width ? width.split(',').map((part) => parseInt(part, 10)) : null;
63
- },
64
- },
65
- // Carried on the cell rather than the row or the column: a table in an
66
- // email is only ever a grid of cells by the time it is sent.
67
- backgroundColor: {
68
- default: defaultBackground,
69
- parseHTML: (element: HTMLElement) =>
70
- element.style.backgroundColor || defaultBackground,
71
- renderHTML: (attributes: Record<string, unknown>) =>
72
- attributes.backgroundColor
73
- ? { style: `background-color: ${attributes.backgroundColor}` }
74
- : {},
75
- },
76
- });
77
-
78
- /**
79
- * Email tables, kept deliberately plain: no column resizing, because what is
80
- * sent has to survive mail clients that ignore half of it anyway.
81
- */
82
- export const EmailTable = Node.create({
83
- name: 'table',
84
- // Above the editor's own Tab handling, so Tab walks the table when the
85
- // caret is in one.
86
- priority: 200,
87
- group: 'block',
88
- content: 'tableRow+',
89
- tableRole: 'table',
90
- isolating: true,
91
-
92
- parseHTML: () => [{ tag: 'table' }],
93
-
94
- renderHTML: ({ HTMLAttributes }) => [
95
- 'table',
96
- mergeAttributes(HTMLAttributes, {
97
- style: 'border-collapse: collapse; width: 100%;',
98
- }),
99
- ['tbody', 0],
100
- ],
101
-
102
- // `tableRole` is a schema field prosemirror-tables reads off the node type.
103
- // Declaring it on the extension is not enough — without this it never
104
- // reaches the schema, and every table command silently does nothing.
105
- extendNodeSchema(extension) {
106
- const context = {
107
- name: extension.name,
108
- options: extension.options,
109
- storage: extension.storage,
110
- };
111
-
112
- return {
113
- tableRole: callOrReturn(
114
- getExtensionField(extension, 'tableRole', context),
115
- ),
116
- };
117
- },
118
-
119
- // The gap cursor is what lets the caret sit before or after a table, so a
120
- // table at the end of an email is not a dead end.
121
- addProseMirrorPlugins: () => [tableEditing(), gapCursor()],
122
-
123
- addCommands() {
124
- // Prosemirror commands build their own transaction, so they must be run
125
- // on their own — never inside a chain, whose transaction they would not
126
- // be part of ("Applying a mismatched transaction").
127
- const run =
128
- (command: typeof addRowAfter) =>
129
- () =>
130
- ({ state, dispatch }: { state: EditorState; dispatch?: Dispatch }) =>
131
- command(state, dispatch);
132
-
133
- return {
134
- insertTable:
135
- ({ rows = 3, cols = 2 } = {}) =>
136
- ({ chain, state }) => {
137
- const cell = (type: 'tableCell' | 'tableHeader') => ({
138
- type,
139
- content: [{ type: 'paragraph' }],
140
- });
141
-
142
- const table = {
143
- type: 'table',
144
- content: Array.from({ length: rows }, (_, rowIndex) => ({
145
- type: 'tableRow',
146
- content: Array.from({ length: cols }, () =>
147
- cell(rowIndex === 0 ? 'tableHeader' : 'tableCell'),
148
- ),
149
- })),
150
- };
151
-
152
- // Where the first cell will land. Read before the insert, because
153
- // positions afterwards belong to a document that has moved.
154
- const cellPosition = state.selection.from + 3;
155
-
156
- return chain()
157
- // A paragraph after it, so there is always somewhere to type once
158
- // the table is done.
159
- .insertContent([table, { type: 'paragraph' }])
160
- .command(({ tr, dispatch }) => {
161
- if (dispatch) {
162
- dispatch(
163
- tr.setSelection(
164
- TextSelection.near(
165
- tr.doc.resolve(
166
- Math.min(cellPosition, tr.doc.content.size),
167
- ),
168
- ),
169
- ),
170
- );
171
- }
172
-
173
- return true;
174
- })
175
- .run();
176
- },
177
- addRowBefore: run(addRowBefore),
178
- addRowAfter: run(addRowAfter),
179
- deleteRow: run(deleteRow),
180
- addColumnBefore: run(addColumnBefore),
181
- addColumnAfter: run(addColumnAfter),
182
- deleteColumn: run(deleteColumn),
183
- toggleHeaderRow: run(toggleHeaderRow),
184
- mergeCells: run(mergeCells),
185
- splitCell: run(splitCell),
186
- deleteTable: run(deleteTable),
187
- setTableBackground:
188
- ({ color, scope }) =>
189
- ({ state, dispatch }) => {
190
- if (!isInTable(state)) {
191
- return false;
192
- }
193
-
194
- const rect = selectedRect(state);
195
- const { map, tableStart } = rect;
196
-
197
- const area = {
198
- cell: {
199
- left: rect.left,
200
- right: rect.right,
201
- top: rect.top,
202
- bottom: rect.bottom,
203
- },
204
- row: { left: 0, right: map.width, top: rect.top, bottom: rect.bottom },
205
- column: {
206
- left: rect.left,
207
- right: rect.right,
208
- top: 0,
209
- bottom: map.height,
210
- },
211
- table: { left: 0, right: map.width, top: 0, bottom: map.height },
212
- }[scope];
213
-
214
- if (!dispatch) {
215
- return true;
216
- }
217
-
218
- const { tr } = state;
219
-
220
- for (const pos of map.cellsInRect(area)) {
221
- tr.setNodeAttribute(tableStart + pos, 'backgroundColor', color);
222
- }
223
-
224
- dispatch(tr);
225
-
226
- return true;
227
- },
228
- };
229
- },
230
-
231
- addKeyboardShortcuts() {
232
- return {
233
- // Tab walks the table and grows it at the end, the way every other
234
- // editor does — otherwise the last cell is a dead end.
235
- Tab: () => {
236
- const goNext = () =>
237
- this.editor.commands.command(({ state, dispatch }) =>
238
- goToNextCell(1)(state, dispatch),
239
- );
240
-
241
- if (goNext()) {
242
- return true;
243
- }
244
-
245
- if (!this.editor.isActive('table')) {
246
- return false;
247
- }
248
-
249
- return this.editor.commands.addRowAfter() && goNext();
250
- },
251
- 'Shift-Tab': () =>
252
- this.editor.commands.command(({ state, dispatch }) =>
253
- goToNextCell(-1)(state, dispatch),
254
- ),
255
- // Down at the end of the last row leaves the table. Without it the
256
- // caret is stuck inside, since a cell has nowhere below it.
257
- ArrowDown: () => {
258
- const { $from } = this.editor.state.selection;
259
-
260
- for (let depth = $from.depth; depth > 0; depth--) {
261
- if ($from.node(depth).type.name !== 'table') {
262
- continue;
263
- }
264
-
265
- const isLastRow =
266
- $from.index(depth) === $from.node(depth).childCount - 1;
267
- const isLastBlockOfCell =
268
- $from.index(depth + 2) === $from.node(depth + 2).childCount - 1;
269
- const isEndOfBlock = $from.parentOffset === $from.parent.content.size;
270
-
271
- if (!isLastRow || !isLastBlockOfCell || !isEndOfBlock) {
272
- return false;
273
- }
274
-
275
- const after = $from.after(depth);
276
-
277
- return this.editor.commands.command(({ tr, dispatch }) => {
278
- if (dispatch) {
279
- dispatch(
280
- tr
281
- .setSelection(
282
- TextSelection.near(
283
- tr.doc.resolve(Math.min(after, tr.doc.content.size)),
284
- 1,
285
- ),
286
- )
287
- .scrollIntoView(),
288
- );
289
- }
290
-
291
- return true;
292
- });
293
- }
294
-
295
- return false;
296
- },
297
- };
298
- },
299
- });
300
-
301
- /** What a header cell starts out as, until someone picks something else. */
302
- export const HEADER_BACKGROUND = '#f9fafb';
303
-
304
- export const EmailTableRow = Node.create({
305
- name: 'tableRow',
306
- content: '(tableCell | tableHeader)*',
307
- tableRole: 'row',
308
- parseHTML: () => [{ tag: 'tr' }],
309
- renderHTML: ({ HTMLAttributes }) => ['tr', mergeAttributes(HTMLAttributes), 0],
310
- });
311
-
312
- export const EmailTableCell = Node.create({
313
- name: 'tableCell',
314
- content: 'block+',
315
- tableRole: 'cell',
316
- isolating: true,
317
- addAttributes: () => cellAttributes(null),
318
- parseHTML: () => [{ tag: 'td' }],
319
- renderHTML: ({ HTMLAttributes }) => [
320
- 'td',
321
- mergeAttributes(HTMLAttributes, {
322
- style: 'border: 1px solid #e5e7eb; padding: 8px 12px;',
323
- }),
324
- 0,
325
- ],
326
- });
327
-
328
- export const EmailTableHeader = Node.create({
329
- name: 'tableHeader',
330
- content: 'block+',
331
- tableRole: 'header_cell',
332
- isolating: true,
333
- addAttributes: () => cellAttributes(HEADER_BACKGROUND),
334
- parseHTML: () => [{ tag: 'th' }],
335
- renderHTML: ({ HTMLAttributes }) => [
336
- 'th',
337
- // The background comes from the cell's own attribute, so a header a
338
- // colour was picked for is not painted over by a fixed style.
339
- mergeAttributes(HTMLAttributes, {
340
- style:
341
- 'border: 1px solid #e5e7eb; padding: 8px 12px; font-weight: 600; text-align: left;',
342
- }),
343
- 0,
344
- ],
345
- });
346
-
347
- export const EMAIL_TABLE_EXTENSIONS = [
348
- EmailTable,
349
- EmailTableRow,
350
- EmailTableCell,
351
- EmailTableHeader,
352
- ];
@@ -1,13 +0,0 @@
1
- import { IconTable } from '@tabler/icons-react';
2
- import type { Editor, Range } from '@tiptap/core';
3
-
4
- /** The slash-command entry that drops a table into the email. */
5
- export const tableBlock = {
6
- title: 'Table',
7
- description: 'Rows and columns of content',
8
- searchTerms: ['table', 'grid', 'rows', 'columns'],
9
- icon: <IconTable className="mly-h-4 mly-w-4" />,
10
- command: ({ editor, range }: { editor: Editor; range: Range }) => {
11
- editor.chain().focus().deleteRange(range).insertTable({ rows: 3, cols: 2 }).run();
12
- },
13
- };
@@ -1,36 +0,0 @@
1
- import type { JSONContent } from '@tiptap/core';
2
- import { useEffect, useState } from 'react';
3
- import { renderEmailHtml } from '../utils/renderEmailHtml';
4
-
5
- /** The email as html, following the content while it is being written. */
6
- export const useEmailHtml = (
7
- contentJson?: JSONContent,
8
- previewText?: string,
9
- ) => {
10
- const [html, setHtml] = useState('');
11
- const [error, setError] = useState<Error>();
12
-
13
- useEffect(() => {
14
- // Rendering is async, so an older render must not land after a newer one.
15
- let current = true;
16
-
17
- renderEmailHtml(contentJson, { previewText })
18
- .then((rendered) => {
19
- if (current) {
20
- setHtml(rendered);
21
- setError(undefined);
22
- }
23
- })
24
- .catch((renderError: Error) => {
25
- if (current) {
26
- setError(renderError);
27
- }
28
- });
29
-
30
- return () => {
31
- current = false;
32
- };
33
- }, [contentJson, previewText]);
34
-
35
- return { html, error };
36
- };
@@ -1,6 +0,0 @@
1
- export * from './components';
2
- export * from './constant';
3
- export * from './extensions/documentPlaceholderBlock';
4
- export * from './hooks/useEmailHtml';
5
- export * from './types';
6
- export * from './utils/renderEmailHtml';