@erpsquad/common 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1391) hide show
  1. package/dist/api-client/index.esm.js +1 -1
  2. package/dist/api-client/index.js +1 -1
  3. package/dist/chunks/AuthContext-DJC2ysdg.esm.js +306 -0
  4. package/dist/chunks/AuthContext-DJC2ysdg.esm.js.map +1 -0
  5. package/dist/chunks/AuthContext-DiMzq32w.js +305 -0
  6. package/dist/chunks/AuthContext-DiMzq32w.js.map +1 -0
  7. package/dist/chunks/DonutChart-BuAEvr-7.esm.js +95 -0
  8. package/dist/chunks/DonutChart-BuAEvr-7.esm.js.map +1 -0
  9. package/dist/chunks/DonutChart-DX4RV8Jz.js +111 -0
  10. package/dist/chunks/DonutChart-DX4RV8Jz.js.map +1 -0
  11. package/dist/chunks/DynamicDependentField-CzHv6spL.js +127 -0
  12. package/dist/chunks/DynamicDependentField-CzHv6spL.js.map +1 -0
  13. package/dist/chunks/DynamicDependentField-Dt7wZr6f.esm.js +128 -0
  14. package/dist/chunks/DynamicDependentField-Dt7wZr6f.esm.js.map +1 -0
  15. package/dist/chunks/DynamicSearchInput-DUXZWvfq.js +194 -0
  16. package/dist/chunks/DynamicSearchInput-DUXZWvfq.js.map +1 -0
  17. package/dist/chunks/DynamicSearchInput-DbbDLN2G.esm.js +195 -0
  18. package/dist/chunks/DynamicSearchInput-DbbDLN2G.esm.js.map +1 -0
  19. package/dist/chunks/ERPUIProvider-BMJ9XkKp.esm.js +133 -0
  20. package/dist/chunks/ERPUIProvider-BMJ9XkKp.esm.js.map +1 -0
  21. package/dist/chunks/ERPUIProvider-D3ggEDf5.js +132 -0
  22. package/dist/chunks/ERPUIProvider-D3ggEDf5.js.map +1 -0
  23. package/dist/chunks/FORMS-CCB3EAw4.js +295 -0
  24. package/dist/chunks/FORMS-CCB3EAw4.js.map +1 -0
  25. package/dist/chunks/FORMS-t_qnei_5.esm.js +296 -0
  26. package/dist/chunks/FORMS-t_qnei_5.esm.js.map +1 -0
  27. package/dist/chunks/FlexibleReduxExample-BHidgXy5.esm.js +149 -0
  28. package/dist/chunks/FlexibleReduxExample-BHidgXy5.esm.js.map +1 -0
  29. package/dist/chunks/FlexibleReduxExample-CHCFNMVK.js +148 -0
  30. package/dist/chunks/FlexibleReduxExample-CHCFNMVK.js.map +1 -0
  31. package/dist/chunks/GroupBarChart-CvVAPrDI.js +103 -0
  32. package/dist/chunks/GroupBarChart-CvVAPrDI.js.map +1 -0
  33. package/dist/chunks/GroupBarChart-D1_ox2Ug.esm.js +87 -0
  34. package/dist/chunks/GroupBarChart-D1_ox2Ug.esm.js.map +1 -0
  35. package/dist/chunks/SectionFlowEditor-CDgzdU0q.esm.js +5461 -0
  36. package/dist/chunks/SectionFlowEditor-CDgzdU0q.esm.js.map +1 -0
  37. package/dist/chunks/SectionFlowEditor-ghyNNqEk.js +5460 -0
  38. package/dist/chunks/SectionFlowEditor-ghyNNqEk.js.map +1 -0
  39. package/dist/chunks/action-bar-CCWXRzfM.esm.js +637 -0
  40. package/dist/chunks/action-bar-CCWXRzfM.esm.js.map +1 -0
  41. package/dist/chunks/action-bar-Cnb5wNlI.js +636 -0
  42. package/dist/chunks/action-bar-Cnb5wNlI.js.map +1 -0
  43. package/dist/chunks/actionCreator-5NvBOVyG.esm.js +80 -0
  44. package/dist/chunks/actionCreator-5NvBOVyG.esm.js.map +1 -0
  45. package/dist/chunks/actionCreator-B-Sv3pj6.esm.js +28 -0
  46. package/dist/chunks/actionCreator-B-Sv3pj6.esm.js.map +1 -0
  47. package/dist/chunks/actionCreator-B39ov5Vn.esm.js +14 -0
  48. package/dist/chunks/actionCreator-B39ov5Vn.esm.js.map +1 -0
  49. package/dist/chunks/actionCreator-BTG2TiZ0.js +93 -0
  50. package/dist/chunks/actionCreator-BTG2TiZ0.js.map +1 -0
  51. package/dist/chunks/actionCreator-Bg8da1Oj.js +79 -0
  52. package/dist/chunks/actionCreator-Bg8da1Oj.js.map +1 -0
  53. package/dist/chunks/actionCreator-CDSVXuFH.js +13 -0
  54. package/dist/chunks/actionCreator-CDSVXuFH.js.map +1 -0
  55. package/dist/chunks/actionCreator-DVIJK0fv.js +27 -0
  56. package/dist/chunks/actionCreator-DVIJK0fv.js.map +1 -0
  57. package/dist/chunks/actionCreator-DyruNsE8.esm.js +94 -0
  58. package/dist/chunks/actionCreator-DyruNsE8.esm.js.map +1 -0
  59. package/dist/chunks/actionCreator-Jd_Txvd5.esm.js +22 -0
  60. package/dist/chunks/actionCreator-Jd_Txvd5.esm.js.map +1 -0
  61. package/dist/chunks/actionCreator-LLogkBm6.js +21 -0
  62. package/dist/chunks/actionCreator-LLogkBm6.js.map +1 -0
  63. package/dist/chunks/activity-tag-BvZ3Tioc.esm.js +152 -0
  64. package/dist/chunks/activity-tag-BvZ3Tioc.esm.js.map +1 -0
  65. package/dist/chunks/activity-tag-CIC-kc_o.js +151 -0
  66. package/dist/chunks/activity-tag-CIC-kc_o.js.map +1 -0
  67. package/dist/chunks/add-template-C_Qzwj0V.js +10 -0
  68. package/dist/chunks/add-template-C_Qzwj0V.js.map +1 -0
  69. package/dist/chunks/add-template-DBcyvW2K.esm.js +11 -0
  70. package/dist/chunks/add-template-DBcyvW2K.esm.js.map +1 -0
  71. package/dist/chunks/address-modal--eXGQyui.js +687 -0
  72. package/dist/chunks/address-modal--eXGQyui.js.map +1 -0
  73. package/dist/chunks/address-modal-Cf7uvnWB.esm.js +671 -0
  74. package/dist/chunks/address-modal-Cf7uvnWB.esm.js.map +1 -0
  75. package/dist/chunks/ai-summary-BlJhcVY0.js +350 -0
  76. package/dist/chunks/ai-summary-BlJhcVY0.js.map +1 -0
  77. package/dist/chunks/ai-summary-C2efWmof.esm.js +351 -0
  78. package/dist/chunks/ai-summary-C2efWmof.esm.js.map +1 -0
  79. package/dist/chunks/appbar-B01Wv_9P.js +56 -0
  80. package/dist/chunks/appbar-B01Wv_9P.js.map +1 -0
  81. package/dist/chunks/appbar-Cmx1JkZb.esm.js +57 -0
  82. package/dist/chunks/appbar-Cmx1JkZb.esm.js.map +1 -0
  83. package/dist/chunks/approval-wrapper-BUPccf-C.esm.js +140 -0
  84. package/dist/chunks/approval-wrapper-BUPccf-C.esm.js.map +1 -0
  85. package/dist/chunks/approval-wrapper-DeHYMSuu.js +139 -0
  86. package/dist/chunks/approval-wrapper-DeHYMSuu.js.map +1 -0
  87. package/dist/chunks/calculation-summary-DKVHrm-k.esm.js +174 -0
  88. package/dist/chunks/calculation-summary-DKVHrm-k.esm.js.map +1 -0
  89. package/dist/chunks/calculation-summary-Gl3DFB7K.js +173 -0
  90. package/dist/chunks/calculation-summary-Gl3DFB7K.js.map +1 -0
  91. package/dist/chunks/change-password-CcDShhwF.esm.js +183 -0
  92. package/dist/chunks/change-password-CcDShhwF.esm.js.map +1 -0
  93. package/dist/chunks/change-password-CwK3e-SN.js +199 -0
  94. package/dist/chunks/change-password-CwK3e-SN.js.map +1 -0
  95. package/dist/chunks/change-user-password-modal-DNmY1V2m.js +135 -0
  96. package/dist/chunks/change-user-password-modal-DNmY1V2m.js.map +1 -0
  97. package/dist/chunks/change-user-password-modal-K0ReNp41.esm.js +119 -0
  98. package/dist/chunks/change-user-password-modal-K0ReNp41.esm.js.map +1 -0
  99. package/dist/chunks/chat-bot-Bi68FUiD.js +1830 -0
  100. package/dist/chunks/chat-bot-Bi68FUiD.js.map +1 -0
  101. package/dist/chunks/chat-bot-BuqSp0VN.esm.js +1831 -0
  102. package/dist/chunks/chat-bot-BuqSp0VN.esm.js.map +1 -0
  103. package/dist/chunks/checkbox-Bip21a6t.js +82 -0
  104. package/dist/chunks/checkbox-Bip21a6t.js.map +1 -0
  105. package/dist/chunks/checkbox-v_d0Yx-x.esm.js +83 -0
  106. package/dist/chunks/checkbox-v_d0Yx-x.esm.js.map +1 -0
  107. package/dist/chunks/common-C_EaKnXh.js +4616 -0
  108. package/dist/chunks/common-C_EaKnXh.js.map +1 -0
  109. package/dist/chunks/common-CnVHMDbY.esm.js +4617 -0
  110. package/dist/chunks/common-CnVHMDbY.esm.js.map +1 -0
  111. package/dist/chunks/common-KLAMsJAi.esm.js +183 -0
  112. package/dist/chunks/common-KLAMsJAi.esm.js.map +1 -0
  113. package/dist/chunks/common-qQ4fPO5a.js +182 -0
  114. package/dist/chunks/common-qQ4fPO5a.js.map +1 -0
  115. package/dist/chunks/common-utility-Cl3PGy5l.js +305 -0
  116. package/dist/chunks/common-utility-Cl3PGy5l.js.map +1 -0
  117. package/dist/chunks/common-utility-D7bVN3zF.esm.js +305 -0
  118. package/dist/chunks/common-utility-D7bVN3zF.esm.js.map +1 -0
  119. package/dist/chunks/confirm-modal-lkwpdRuj.js +97 -0
  120. package/dist/chunks/confirm-modal-lkwpdRuj.js.map +1 -0
  121. package/dist/chunks/confirm-modal-sxtFXYdS.esm.js +98 -0
  122. package/dist/chunks/confirm-modal-sxtFXYdS.esm.js.map +1 -0
  123. package/dist/chunks/contact-modal-B_f9VPcJ.js +185 -0
  124. package/dist/chunks/contact-modal-B_f9VPcJ.js.map +1 -0
  125. package/dist/chunks/contact-modal-DRcB51Nb.esm.js +169 -0
  126. package/dist/chunks/contact-modal-DRcB51Nb.esm.js.map +1 -0
  127. package/dist/chunks/custom-editor-DNqIxK5s.esm.js +1257 -0
  128. package/dist/chunks/custom-editor-DNqIxK5s.esm.js.map +1 -0
  129. package/dist/chunks/custom-editor-nTkpHU2U.js +1257 -0
  130. package/dist/chunks/custom-editor-nTkpHU2U.js.map +1 -0
  131. package/dist/chunks/custom-form-BhmbAuav.js +1145 -0
  132. package/dist/chunks/custom-form-BhmbAuav.js.map +1 -0
  133. package/dist/chunks/custom-form-Cj3DgDsW.esm.js +1146 -0
  134. package/dist/chunks/custom-form-Cj3DgDsW.esm.js.map +1 -0
  135. package/dist/chunks/dashboard-DbPbOg16.js +74 -0
  136. package/dist/chunks/dashboard-DbPbOg16.js.map +1 -0
  137. package/dist/chunks/dashboard-stPXD0is.esm.js +75 -0
  138. package/dist/chunks/dashboard-stPXD0is.esm.js.map +1 -0
  139. package/dist/chunks/date-range-picker-BVMKqhp_.js +61 -0
  140. package/dist/chunks/date-range-picker-BVMKqhp_.js.map +1 -0
  141. package/dist/chunks/date-range-picker-CHHuGA2w.esm.js +160 -0
  142. package/dist/chunks/date-range-picker-CHHuGA2w.esm.js.map +1 -0
  143. package/dist/chunks/date-range-picker-D_uQo_G3.esm.js +62 -0
  144. package/dist/chunks/date-range-picker-D_uQo_G3.esm.js.map +1 -0
  145. package/dist/chunks/date-range-picker-DbyEWTJz.js +159 -0
  146. package/dist/chunks/date-range-picker-DbyEWTJz.js.map +1 -0
  147. package/dist/chunks/dropdown-button-ByMOoZBf.esm.js +146 -0
  148. package/dist/chunks/dropdown-button-ByMOoZBf.esm.js.map +1 -0
  149. package/dist/chunks/dropdown-button-dwZiPqaz.js +162 -0
  150. package/dist/chunks/dropdown-button-dwZiPqaz.js.map +1 -0
  151. package/dist/chunks/dynamic-layout-wrapper-B-iJDsaQ.esm.js +229 -0
  152. package/dist/chunks/dynamic-layout-wrapper-B-iJDsaQ.esm.js.map +1 -0
  153. package/dist/chunks/dynamic-layout-wrapper-mAmSZgi8.js +228 -0
  154. package/dist/chunks/dynamic-layout-wrapper-mAmSZgi8.js.map +1 -0
  155. package/dist/chunks/dynamic-report-DyLaLzYp.esm.js +589 -0
  156. package/dist/chunks/dynamic-report-DyLaLzYp.esm.js.map +1 -0
  157. package/dist/chunks/dynamic-report-rvUhZHBH.js +588 -0
  158. package/dist/chunks/dynamic-report-rvUhZHBH.js.map +1 -0
  159. package/dist/chunks/dynamic-rows-CLvLT8lb.js +249 -0
  160. package/dist/chunks/dynamic-rows-CLvLT8lb.js.map +1 -0
  161. package/dist/chunks/dynamic-rows-CjQtTjFn.esm.js +250 -0
  162. package/dist/chunks/dynamic-rows-CjQtTjFn.esm.js.map +1 -0
  163. package/dist/chunks/dynamic-text-editor-C8IIOcFl.esm.js +45 -0
  164. package/dist/chunks/dynamic-text-editor-C8IIOcFl.esm.js.map +1 -0
  165. package/dist/chunks/dynamic-text-editor-CqNtp8hF.js +44 -0
  166. package/dist/chunks/dynamic-text-editor-CqNtp8hF.js.map +1 -0
  167. package/dist/chunks/edit-section-modal-BeVbD6xj.esm.js +80 -0
  168. package/dist/chunks/edit-section-modal-BeVbD6xj.esm.js.map +1 -0
  169. package/dist/chunks/edit-section-modal-C36KgbVr.js +79 -0
  170. package/dist/chunks/edit-section-modal-C36KgbVr.js.map +1 -0
  171. package/dist/chunks/expandable-summary-wrapper-BAJsvYRS.js +241 -0
  172. package/dist/chunks/expandable-summary-wrapper-BAJsvYRS.js.map +1 -0
  173. package/dist/chunks/expandable-summary-wrapper-CgEtxkge.esm.js +242 -0
  174. package/dist/chunks/expandable-summary-wrapper-CgEtxkge.esm.js.map +1 -0
  175. package/dist/chunks/filter-BjYruj14.esm.js +410 -0
  176. package/dist/chunks/filter-BjYruj14.esm.js.map +1 -0
  177. package/dist/chunks/filter-DIMQtcXr.js +409 -0
  178. package/dist/chunks/filter-DIMQtcXr.js.map +1 -0
  179. package/dist/chunks/footer-CzOBvPp2.esm.js +64 -0
  180. package/dist/chunks/footer-CzOBvPp2.esm.js.map +1 -0
  181. package/dist/chunks/footer-DHQTL57h.js +63 -0
  182. package/dist/chunks/footer-DHQTL57h.js.map +1 -0
  183. package/dist/chunks/forgot-password-49x0zxgs.esm.js +178 -0
  184. package/dist/chunks/forgot-password-49x0zxgs.esm.js.map +1 -0
  185. package/dist/chunks/forgot-password-DX_E4HjM.js +194 -0
  186. package/dist/chunks/forgot-password-DX_E4HjM.js.map +1 -0
  187. package/dist/chunks/form-fields-BH3GkiaU.js +354 -0
  188. package/dist/chunks/form-fields-BH3GkiaU.js.map +1 -0
  189. package/dist/chunks/form-fields-DGoSITAK.esm.js +355 -0
  190. package/dist/chunks/form-fields-DGoSITAK.esm.js.map +1 -0
  191. package/dist/chunks/form-parser-BHoA_KqV.esm.js +597 -0
  192. package/dist/chunks/form-parser-BHoA_KqV.esm.js.map +1 -0
  193. package/dist/chunks/form-parser-Ddd7RvIY.js +613 -0
  194. package/dist/chunks/form-parser-Ddd7RvIY.js.map +1 -0
  195. package/dist/chunks/form-section-ClyItME3.esm.js +576 -0
  196. package/dist/chunks/form-section-ClyItME3.esm.js.map +1 -0
  197. package/dist/chunks/form-section-DBsqHFNq.js +575 -0
  198. package/dist/chunks/form-section-DBsqHFNq.js.map +1 -0
  199. package/dist/chunks/fullScreen-BIUUt2-7.esm.js +19 -0
  200. package/dist/chunks/fullScreen-BIUUt2-7.esm.js.map +1 -0
  201. package/dist/chunks/fullScreen-BZw-oMOF.js +18 -0
  202. package/dist/chunks/fullScreen-BZw-oMOF.js.map +1 -0
  203. package/dist/chunks/global-search-88TP77gw.js +149 -0
  204. package/dist/chunks/global-search-88TP77gw.js.map +1 -0
  205. package/dist/chunks/global-search-C-FpQyg-.esm.js +150 -0
  206. package/dist/chunks/global-search-C-FpQyg-.esm.js.map +1 -0
  207. package/dist/chunks/grid-view-CdeAt3xw.esm.js +52 -0
  208. package/dist/chunks/grid-view-CdeAt3xw.esm.js.map +1 -0
  209. package/dist/chunks/grid-view-DzHnDocj.js +51 -0
  210. package/dist/chunks/grid-view-DzHnDocj.js.map +1 -0
  211. package/dist/chunks/header-B8JSXWjS.esm.js +93 -0
  212. package/dist/chunks/header-B8JSXWjS.esm.js.map +1 -0
  213. package/dist/chunks/header-DKT0X6iq.js +92 -0
  214. package/dist/chunks/header-DKT0X6iq.js.map +1 -0
  215. package/dist/chunks/header-enhanced-BJPn0gX8.js +402 -0
  216. package/dist/chunks/header-enhanced-BJPn0gX8.js.map +1 -0
  217. package/dist/chunks/header-enhanced-Q-dw4xCq.esm.js +403 -0
  218. package/dist/chunks/header-enhanced-Q-dw4xCq.esm.js.map +1 -0
  219. package/dist/chunks/index-BQEhOLUH.js +2023 -0
  220. package/dist/chunks/index-BQEhOLUH.js.map +1 -0
  221. package/dist/chunks/index-D8ZndEil.esm.js +2024 -0
  222. package/dist/chunks/index-D8ZndEil.esm.js.map +1 -0
  223. package/dist/chunks/inline-edit-fields-U3KRuvxo.esm.js +325 -0
  224. package/dist/chunks/inline-edit-fields-U3KRuvxo.esm.js.map +1 -0
  225. package/dist/chunks/inline-edit-fields-eXxA-CUz.js +341 -0
  226. package/dist/chunks/inline-edit-fields-eXxA-CUz.js.map +1 -0
  227. package/dist/chunks/inventory-reports-title-bar-8qDvgaXt.esm.js +733 -0
  228. package/dist/chunks/inventory-reports-title-bar-8qDvgaXt.esm.js.map +1 -0
  229. package/dist/chunks/inventory-reports-title-bar-CAY9W8G1.js +732 -0
  230. package/dist/chunks/inventory-reports-title-bar-CAY9W8G1.js.map +1 -0
  231. package/dist/chunks/item-response-details-BK2VsRYR.esm.js +79 -0
  232. package/dist/chunks/item-response-details-BK2VsRYR.esm.js.map +1 -0
  233. package/dist/chunks/item-response-details-CEkRTmOL.js +78 -0
  234. package/dist/chunks/item-response-details-CEkRTmOL.js.map +1 -0
  235. package/dist/chunks/journal-type-add-modal-CQV7stS1.js +128 -0
  236. package/dist/chunks/journal-type-add-modal-CQV7stS1.js.map +1 -0
  237. package/dist/chunks/journal-type-add-modal-CdM0AOLb.esm.js +112 -0
  238. package/dist/chunks/journal-type-add-modal-CdM0AOLb.esm.js.map +1 -0
  239. package/dist/chunks/language-switch-CYmUu2ES.js +110 -0
  240. package/dist/chunks/language-switch-CYmUu2ES.js.map +1 -0
  241. package/dist/chunks/language-switch-fmfCCZAz.esm.js +111 -0
  242. package/dist/chunks/language-switch-fmfCCZAz.esm.js.map +1 -0
  243. package/dist/chunks/languageContext-0aUAsnQC.esm.js +224 -0
  244. package/dist/chunks/languageContext-0aUAsnQC.esm.js.map +1 -0
  245. package/dist/chunks/languageContext-CzIj0s4t.js +223 -0
  246. package/dist/chunks/languageContext-CzIj0s4t.js.map +1 -0
  247. package/dist/chunks/listing-CTkPb8Th.js +276 -0
  248. package/dist/chunks/listing-CTkPb8Th.js.map +1 -0
  249. package/dist/chunks/listing-Cetl2Op2.esm.js +277 -0
  250. package/dist/chunks/listing-Cetl2Op2.esm.js.map +1 -0
  251. package/dist/chunks/location-select-YmXCHfDP.esm.js +86 -0
  252. package/dist/chunks/location-select-YmXCHfDP.esm.js.map +1 -0
  253. package/dist/chunks/location-select-vlddlFyc.js +85 -0
  254. package/dist/chunks/location-select-vlddlFyc.js.map +1 -0
  255. package/dist/chunks/material-editable-table-5atUCMOO.js +1464 -0
  256. package/dist/chunks/material-editable-table-5atUCMOO.js.map +1 -0
  257. package/dist/chunks/material-editable-table-DAgxw6nR.esm.js +1448 -0
  258. package/dist/chunks/material-editable-table-DAgxw6nR.esm.js.map +1 -0
  259. package/dist/chunks/module-reducer-CkKGv9xU.js +78 -0
  260. package/dist/chunks/module-reducer-CkKGv9xU.js.map +1 -0
  261. package/dist/chunks/module-reducer-DlPj1uk3.esm.js +79 -0
  262. package/dist/chunks/module-reducer-DlPj1uk3.esm.js.map +1 -0
  263. package/dist/chunks/notification-menu-C4uU4l2S.esm.js +606 -0
  264. package/dist/chunks/notification-menu-C4uU4l2S.esm.js.map +1 -0
  265. package/dist/chunks/notification-menu-Do-BRG4A.js +605 -0
  266. package/dist/chunks/notification-menu-Do-BRG4A.js.map +1 -0
  267. package/dist/chunks/page-action-Bw-pX0MF.esm.js +325 -0
  268. package/dist/chunks/page-action-Bw-pX0MF.esm.js.map +1 -0
  269. package/dist/chunks/page-action-DjimBijB.js +324 -0
  270. package/dist/chunks/page-action-DjimBijB.js.map +1 -0
  271. package/dist/chunks/page-context-B4Lxa8Rz.esm.js +389 -0
  272. package/dist/chunks/page-context-B4Lxa8Rz.esm.js.map +1 -0
  273. package/dist/chunks/page-context-xrb5feIV.js +388 -0
  274. package/dist/chunks/page-context-xrb5feIV.js.map +1 -0
  275. package/dist/chunks/page-navigator-28AQnj8y.js +243 -0
  276. package/dist/chunks/page-navigator-28AQnj8y.js.map +1 -0
  277. package/dist/chunks/page-navigator-BHIUvqar.esm.js +244 -0
  278. package/dist/chunks/page-navigator-BHIUvqar.esm.js.map +1 -0
  279. package/dist/chunks/page-view-CFTGE9cW.js +323 -0
  280. package/dist/chunks/page-view-CFTGE9cW.js.map +1 -0
  281. package/dist/chunks/page-view-CHgTkHo5.esm.js +324 -0
  282. package/dist/chunks/page-view-CHgTkHo5.esm.js.map +1 -0
  283. package/dist/chunks/pagination-dYQyETWz.esm.js +136 -0
  284. package/dist/chunks/pagination-dYQyETWz.esm.js.map +1 -0
  285. package/dist/chunks/pagination-iCgjni03.js +135 -0
  286. package/dist/chunks/pagination-iCgjni03.js.map +1 -0
  287. package/dist/chunks/phone-Dfjto694.js +58 -0
  288. package/dist/chunks/phone-Dfjto694.js.map +1 -0
  289. package/dist/chunks/phone-MtCemw0D.esm.js +59 -0
  290. package/dist/chunks/phone-MtCemw0D.esm.js.map +1 -0
  291. package/dist/chunks/phone-input-DWHA6chP.esm.js +255 -0
  292. package/dist/chunks/phone-input-DWHA6chP.esm.js.map +1 -0
  293. package/dist/chunks/phone-input-WiJlVycw.js +254 -0
  294. package/dist/chunks/phone-input-WiJlVycw.js.map +1 -0
  295. package/dist/chunks/privateRoute-BK6_aFSH.js +12 -0
  296. package/dist/chunks/privateRoute-BK6_aFSH.js.map +1 -0
  297. package/dist/chunks/privateRoute-CEWpOzUb.esm.js +13 -0
  298. package/dist/chunks/privateRoute-CEWpOzUb.esm.js.map +1 -0
  299. package/dist/chunks/quick-approval-modal-BfYMK8vT.js +272 -0
  300. package/dist/chunks/quick-approval-modal-BfYMK8vT.js.map +1 -0
  301. package/dist/chunks/quick-approval-modal-D6oQ_XhI.esm.js +256 -0
  302. package/dist/chunks/quick-approval-modal-D6oQ_XhI.esm.js.map +1 -0
  303. package/dist/chunks/reducer-B4Sncxa_.js +42 -0
  304. package/dist/chunks/reducer-B4Sncxa_.js.map +1 -0
  305. package/dist/chunks/reducer-BLelaWtv.esm.js +56 -0
  306. package/dist/chunks/reducer-BLelaWtv.esm.js.map +1 -0
  307. package/dist/chunks/reducer-BMPCIDLt.esm.js +33 -0
  308. package/dist/chunks/reducer-BMPCIDLt.esm.js.map +1 -0
  309. package/dist/chunks/reducer-CK74sfRZ.esm.js +43 -0
  310. package/dist/chunks/reducer-CK74sfRZ.esm.js.map +1 -0
  311. package/dist/chunks/reducer-CTNLt25L.js +49 -0
  312. package/dist/chunks/reducer-CTNLt25L.js.map +1 -0
  313. package/dist/chunks/reducer-D7nIvQSn.esm.js +50 -0
  314. package/dist/chunks/reducer-D7nIvQSn.esm.js.map +1 -0
  315. package/dist/chunks/reducer-DdPuNAWE.js +32 -0
  316. package/dist/chunks/reducer-DdPuNAWE.js.map +1 -0
  317. package/dist/chunks/reducer-DqC6nRQK.js +55 -0
  318. package/dist/chunks/reducer-DqC6nRQK.js.map +1 -0
  319. package/dist/chunks/reducer-YMsDE0gq.js +148 -0
  320. package/dist/chunks/reducer-YMsDE0gq.js.map +1 -0
  321. package/dist/chunks/reducer-bkHCJqnY.esm.js +149 -0
  322. package/dist/chunks/reducer-bkHCJqnY.esm.js.map +1 -0
  323. package/dist/chunks/remove-action--BhEal0J.js +20 -0
  324. package/dist/chunks/remove-action--BhEal0J.js.map +1 -0
  325. package/dist/chunks/remove-action-B-vIy4sD.esm.js +21 -0
  326. package/dist/chunks/remove-action-B-vIy4sD.esm.js.map +1 -0
  327. package/dist/chunks/report-buttons-BjLS-8rL.esm.js +60 -0
  328. package/dist/chunks/report-buttons-BjLS-8rL.esm.js.map +1 -0
  329. package/dist/chunks/report-buttons-CEpesmN7.esm.js +46 -0
  330. package/dist/chunks/report-buttons-CEpesmN7.esm.js.map +1 -0
  331. package/dist/chunks/report-buttons-CSzPZjIq.js +45 -0
  332. package/dist/chunks/report-buttons-CSzPZjIq.js.map +1 -0
  333. package/dist/chunks/report-buttons-D3N2KJfd.js +59 -0
  334. package/dist/chunks/report-buttons-D3N2KJfd.js.map +1 -0
  335. package/dist/chunks/reportFilter-BVDd4Y7n.js +394 -0
  336. package/dist/chunks/reportFilter-BVDd4Y7n.js.map +1 -0
  337. package/dist/chunks/reportFilter-VLxa5JJt.esm.js +395 -0
  338. package/dist/chunks/reportFilter-VLxa5JJt.esm.js.map +1 -0
  339. package/dist/chunks/reports-title-bar-BBU76tE9.js +946 -0
  340. package/dist/chunks/reports-title-bar-BBU76tE9.js.map +1 -0
  341. package/dist/chunks/reports-title-bar-ZQ8vEc_u.esm.js +947 -0
  342. package/dist/chunks/reports-title-bar-ZQ8vEc_u.esm.js.map +1 -0
  343. package/dist/chunks/reset-password-BsyRLrZc.js +32 -0
  344. package/dist/chunks/reset-password-BsyRLrZc.js.map +1 -0
  345. package/dist/chunks/reset-password-COFUFRuC.esm.js +33 -0
  346. package/dist/chunks/reset-password-COFUFRuC.esm.js.map +1 -0
  347. package/dist/chunks/reset-password-modal-C2uDsuwr.js +160 -0
  348. package/dist/chunks/reset-password-modal-C2uDsuwr.js.map +1 -0
  349. package/dist/chunks/reset-password-modal-DwR40494.esm.js +144 -0
  350. package/dist/chunks/reset-password-modal-DwR40494.esm.js.map +1 -0
  351. package/dist/chunks/routes-1J3y6ROv.js +35 -0
  352. package/dist/chunks/routes-1J3y6ROv.js.map +1 -0
  353. package/dist/chunks/routes-R2ZdkRdk.esm.js +36 -0
  354. package/dist/chunks/routes-R2ZdkRdk.esm.js.map +1 -0
  355. package/dist/chunks/schedule-report-BebyOcTt.esm.js +236 -0
  356. package/dist/chunks/schedule-report-BebyOcTt.esm.js.map +1 -0
  357. package/dist/chunks/schedule-report-DWhEc_9_.js +235 -0
  358. package/dist/chunks/schedule-report-DWhEc_9_.js.map +1 -0
  359. package/dist/chunks/schedule-report-modal-BSANaNBS.js +287 -0
  360. package/dist/chunks/schedule-report-modal-BSANaNBS.js.map +1 -0
  361. package/dist/chunks/schedule-report-modal-CJqesX4C.esm.js +288 -0
  362. package/dist/chunks/schedule-report-modal-CJqesX4C.esm.js.map +1 -0
  363. package/dist/chunks/searchable-select-C20VrfVc.js +5412 -0
  364. package/dist/chunks/searchable-select-C20VrfVc.js.map +1 -0
  365. package/dist/chunks/searchable-select-seJhBYjv.esm.js +5396 -0
  366. package/dist/chunks/searchable-select-seJhBYjv.esm.js.map +1 -0
  367. package/dist/chunks/share-modal-CODlSsyO.esm.js +218 -0
  368. package/dist/chunks/share-modal-CODlSsyO.esm.js.map +1 -0
  369. package/dist/chunks/share-modal-D-AUZPXN.js +217 -0
  370. package/dist/chunks/share-modal-D-AUZPXN.js.map +1 -0
  371. package/dist/chunks/share-modal-enhanced-CLoW2Jax.js +269 -0
  372. package/dist/chunks/share-modal-enhanced-CLoW2Jax.js.map +1 -0
  373. package/dist/chunks/share-modal-enhanced-sEHJxTr5.esm.js +270 -0
  374. package/dist/chunks/share-modal-enhanced-sEHJxTr5.esm.js.map +1 -0
  375. package/dist/chunks/sidebar-DXUFzMV5.esm.js +879 -0
  376. package/dist/chunks/sidebar-DXUFzMV5.esm.js.map +1 -0
  377. package/dist/chunks/sidebar-qrBhuMs7.js +878 -0
  378. package/dist/chunks/sidebar-qrBhuMs7.js.map +1 -0
  379. package/dist/chunks/sidebarScreen-BIgpRJ4t.esm.js +202 -0
  380. package/dist/chunks/sidebarScreen-BIgpRJ4t.esm.js.map +1 -0
  381. package/dist/chunks/sidebarScreen-D9NLHGpe.js +201 -0
  382. package/dist/chunks/sidebarScreen-D9NLHGpe.js.map +1 -0
  383. package/dist/chunks/store-BXzirGeK.esm.js +100 -0
  384. package/dist/chunks/store-BXzirGeK.esm.js.map +1 -0
  385. package/dist/chunks/store-Dh91gSjL.js +99 -0
  386. package/dist/chunks/store-Dh91gSjL.js.map +1 -0
  387. package/dist/chunks/table-CAK8tLmE.esm.js +185 -0
  388. package/dist/chunks/table-CAK8tLmE.esm.js.map +1 -0
  389. package/dist/chunks/table-CyBdiYSs.js +184 -0
  390. package/dist/chunks/table-CyBdiYSs.js.map +1 -0
  391. package/dist/chunks/table-form-CaFKYuZu.js +1536 -0
  392. package/dist/chunks/table-form-CaFKYuZu.js.map +1 -0
  393. package/dist/chunks/table-form-z5PHDNU3.esm.js +1537 -0
  394. package/dist/chunks/table-form-z5PHDNU3.esm.js.map +1 -0
  395. package/dist/chunks/template-editor-router-BkQtkxPD.js +8 -0
  396. package/dist/chunks/template-editor-router-BkQtkxPD.js.map +1 -0
  397. package/dist/chunks/template-editor-router-Cw0uFTk_.esm.js +9 -0
  398. package/dist/chunks/template-editor-router-Cw0uFTk_.esm.js.map +1 -0
  399. package/dist/chunks/template-modal-B2NVnmtb.esm.js +769 -0
  400. package/dist/chunks/template-modal-B2NVnmtb.esm.js.map +1 -0
  401. package/dist/chunks/template-modal-CfbPXVnH.js +768 -0
  402. package/dist/chunks/template-modal-CfbPXVnH.js.map +1 -0
  403. package/dist/chunks/templates-CFYUyvGI.esm.js +273 -0
  404. package/dist/chunks/templates-CFYUyvGI.esm.js.map +1 -0
  405. package/dist/chunks/templates-CL0Jo6mN.js +272 -0
  406. package/dist/chunks/templates-CL0Jo6mN.js.map +1 -0
  407. package/dist/chunks/text-measurement-BVzney11.esm.js +252 -0
  408. package/dist/chunks/text-measurement-BVzney11.esm.js.map +1 -0
  409. package/dist/chunks/text-measurement-spx9_n3t.js +251 -0
  410. package/dist/chunks/text-measurement-spx9_n3t.js.map +1 -0
  411. package/dist/chunks/toggle-button-DJUyn9rb.esm.js +55 -0
  412. package/dist/chunks/toggle-button-DJUyn9rb.esm.js.map +1 -0
  413. package/dist/chunks/toggle-button-DbGxs8d7.js +54 -0
  414. package/dist/chunks/toggle-button-DbGxs8d7.js.map +1 -0
  415. package/dist/chunks/toggle-switch-BHVf_Sjx.esm.js +81 -0
  416. package/dist/chunks/toggle-switch-BHVf_Sjx.esm.js.map +1 -0
  417. package/dist/chunks/toggle-switch-DX2wV7t3.js +80 -0
  418. package/dist/chunks/toggle-switch-DX2wV7t3.js.map +1 -0
  419. package/dist/chunks/translations-BERPFjEP.esm.js +128 -0
  420. package/dist/chunks/translations-BERPFjEP.esm.js.map +1 -0
  421. package/dist/chunks/translations-CtIqBToW.js +127 -0
  422. package/dist/chunks/translations-CtIqBToW.js.map +1 -0
  423. package/dist/chunks/uom-field-wrapper-Ci8c0KrY.esm.js +80 -0
  424. package/dist/chunks/uom-field-wrapper-Ci8c0KrY.esm.js.map +1 -0
  425. package/dist/chunks/uom-field-wrapper-eQXOeV89.js +79 -0
  426. package/dist/chunks/uom-field-wrapper-eQXOeV89.js.map +1 -0
  427. package/dist/chunks/upload-excel-CPmhCb2-.js +360 -0
  428. package/dist/chunks/upload-excel-CPmhCb2-.js.map +1 -0
  429. package/dist/chunks/upload-excel-ozq4rxbX.esm.js +361 -0
  430. package/dist/chunks/upload-excel-ozq4rxbX.esm.js.map +1 -0
  431. package/dist/chunks/use-pages-BSaeoxQ1.esm.js +30 -0
  432. package/dist/chunks/use-pages-BSaeoxQ1.esm.js.map +1 -0
  433. package/dist/chunks/use-pages-JD9QELCn.js +29 -0
  434. package/dist/chunks/use-pages-JD9QELCn.js.map +1 -0
  435. package/dist/chunks/use-translations-C73kaz1q.esm.js +69 -0
  436. package/dist/chunks/use-translations-C73kaz1q.esm.js.map +1 -0
  437. package/dist/chunks/use-translations-CNMvwRSY.js +68 -0
  438. package/dist/chunks/use-translations-CNMvwRSY.js.map +1 -0
  439. package/dist/chunks/useAccountSetting-CA5np56I.esm.js +174 -0
  440. package/dist/chunks/useAccountSetting-CA5np56I.esm.js.map +1 -0
  441. package/dist/chunks/useAccountSetting-Cy613fOL.js +173 -0
  442. package/dist/chunks/useAccountSetting-Cy613fOL.js.map +1 -0
  443. package/dist/chunks/useCheckSkuAndName-BC3uHYiA.js +49 -0
  444. package/dist/chunks/useCheckSkuAndName-BC3uHYiA.js.map +1 -0
  445. package/dist/chunks/useCheckSkuAndName-CJiHnxFq.esm.js +50 -0
  446. package/dist/chunks/useCheckSkuAndName-CJiHnxFq.esm.js.map +1 -0
  447. package/dist/chunks/useCompanyCountryCode-DKKOaf6e.esm.js +36 -0
  448. package/dist/chunks/useCompanyCountryCode-DKKOaf6e.esm.js.map +1 -0
  449. package/dist/chunks/useCompanyCountryCode-DT-k1ck5.js +35 -0
  450. package/dist/chunks/useCompanyCountryCode-DT-k1ck5.js.map +1 -0
  451. package/dist/chunks/useDataFetcher-BasQeEky.esm.js +80 -0
  452. package/dist/chunks/useDataFetcher-BasQeEky.esm.js.map +1 -0
  453. package/dist/chunks/useDataFetcher-_TuO73Lk.js +79 -0
  454. package/dist/chunks/useDataFetcher-_TuO73Lk.js.map +1 -0
  455. package/dist/chunks/useLangauge-DX8BZ0mQ.js +48 -0
  456. package/dist/chunks/useLangauge-DX8BZ0mQ.js.map +1 -0
  457. package/dist/chunks/useLangauge-GS9GmHe5.esm.js +49 -0
  458. package/dist/chunks/useLangauge-GS9GmHe5.esm.js.map +1 -0
  459. package/dist/chunks/useReduxIntegration-BJjOWqZ2.esm.js +39 -0
  460. package/dist/chunks/useReduxIntegration-BJjOWqZ2.esm.js.map +1 -0
  461. package/dist/chunks/useReduxIntegration-CExyQt27.js +38 -0
  462. package/dist/chunks/useReduxIntegration-CExyQt27.js.map +1 -0
  463. package/dist/chunks/useSetDefaultConfig-DcNML44i.js +100 -0
  464. package/dist/chunks/useSetDefaultConfig-DcNML44i.js.map +1 -0
  465. package/dist/chunks/useSetDefaultConfig-g3tit8Rs.esm.js +101 -0
  466. package/dist/chunks/useSetDefaultConfig-g3tit8Rs.esm.js.map +1 -0
  467. package/dist/chunks/useUniquenessCheck-BCAfiWfr.esm.js +39 -0
  468. package/dist/chunks/useUniquenessCheck-BCAfiWfr.esm.js.map +1 -0
  469. package/dist/chunks/useUniquenessCheck-ty3LG_AA.js +38 -0
  470. package/dist/chunks/useUniquenessCheck-ty3LG_AA.js.map +1 -0
  471. package/dist/chunks/user-menu-BVhoPg93.js +104 -0
  472. package/dist/chunks/user-menu-BVhoPg93.js.map +1 -0
  473. package/dist/chunks/user-menu-toQ-4wrO.esm.js +105 -0
  474. package/dist/chunks/user-menu-toQ-4wrO.esm.js.map +1 -0
  475. package/dist/chunks/value-editor-CHK0efMX.js +136 -0
  476. package/dist/chunks/value-editor-CHK0efMX.js.map +1 -0
  477. package/dist/chunks/value-editor-CNQugxAO.esm.js +137 -0
  478. package/dist/chunks/value-editor-CNQugxAO.esm.js.map +1 -0
  479. package/dist/components/ERPUIProvider/index.esm.js +1 -1
  480. package/dist/components/ERPUIProvider/index.js +1 -1
  481. package/dist/components/FORMS/index.esm.js +1 -1
  482. package/dist/components/FORMS/index.js +1 -1
  483. package/dist/components/action-bar/action-bar/index.esm.js +1 -1
  484. package/dist/components/action-bar/action-bar/index.js +1 -1
  485. package/dist/components/action-bar/index.esm.js +1 -1
  486. package/dist/components/action-bar/index.js +1 -1
  487. package/dist/components/activity-tag/activity-tag/index.esm.js +1 -1
  488. package/dist/components/activity-tag/activity-tag/index.js +1 -1
  489. package/dist/components/activity-tag/index.esm.js +1 -1
  490. package/dist/components/activity-tag/index.js +1 -1
  491. package/dist/components/address-modal/index.esm.js +1 -1
  492. package/dist/components/address-modal/index.js +1 -1
  493. package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
  494. package/dist/components/ai-summary/ai-summary/index.js +1 -1
  495. package/dist/components/ai-summary/index.esm.js +1 -1
  496. package/dist/components/ai-summary/index.js +1 -1
  497. package/dist/components/appbar/appbar/index.esm.js +1 -1
  498. package/dist/components/appbar/appbar/index.js +1 -1
  499. package/dist/components/appbar/index.esm.js +1 -1
  500. package/dist/components/appbar/index.js +1 -1
  501. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
  502. package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
  503. package/dist/components/approval-wrapper/index.esm.js +1 -1
  504. package/dist/components/approval-wrapper/index.js +1 -1
  505. package/dist/components/calculation-summary/calculation-summary/index.esm.js +1 -1
  506. package/dist/components/calculation-summary/calculation-summary/index.js +1 -1
  507. package/dist/components/calculation-summary/index.esm.js +1 -1
  508. package/dist/components/calculation-summary/index.js +1 -1
  509. package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +1 -1
  510. package/dist/components/change-user-password-modal/change-user-password-modal/index.js +1 -1
  511. package/dist/components/change-user-password-modal/index.esm.js +1 -1
  512. package/dist/components/change-user-password-modal/index.js +1 -1
  513. package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -1
  514. package/dist/components/charts/donutChart/DonutChart/index.js +1 -1
  515. package/dist/components/charts/donutChart/index.esm.js +1 -1
  516. package/dist/components/charts/donutChart/index.js +1 -1
  517. package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -1
  518. package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
  519. package/dist/components/charts/groupBarChart/index.esm.js +1 -1
  520. package/dist/components/charts/groupBarChart/index.js +1 -1
  521. package/dist/components/charts/index.esm.js +2 -2
  522. package/dist/components/charts/index.js +2 -2
  523. package/dist/components/chat-bot/index.esm.js +1 -1
  524. package/dist/components/chat-bot/index.js +1 -1
  525. package/dist/components/checkbox/index.esm.js +1 -1
  526. package/dist/components/checkbox/index.js +1 -1
  527. package/dist/components/confirm-modal/confirm-modal/index.esm.js +1 -1
  528. package/dist/components/confirm-modal/confirm-modal/index.js +1 -1
  529. package/dist/components/confirm-modal/index.esm.js +1 -1
  530. package/dist/components/confirm-modal/index.js +1 -1
  531. package/dist/components/contact-modal/index.esm.js +1 -1
  532. package/dist/components/contact-modal/index.js +1 -1
  533. package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
  534. package/dist/components/custom-forms/FORMS/index.js +1 -1
  535. package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
  536. package/dist/components/custom-forms/grid-view/grid-view/index.js +1 -1
  537. package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
  538. package/dist/components/custom-forms/grid-view/index.js +1 -1
  539. package/dist/components/custom-forms/index.esm.js +2 -2
  540. package/dist/components/custom-forms/index.js +2 -2
  541. package/dist/components/date-range-picker/date-range-picker/index.esm.js +1 -1
  542. package/dist/components/date-range-picker/date-range-picker/index.js +1 -1
  543. package/dist/components/date-range-picker/index.esm.js +2 -2
  544. package/dist/components/date-range-picker/index.js +2 -2
  545. package/dist/components/department-add-modal/index.esm.js +1 -1
  546. package/dist/components/department-add-modal/index.js +1 -1
  547. package/dist/components/designation-add-modal/index.esm.js +1 -1
  548. package/dist/components/designation-add-modal/index.js +1 -1
  549. package/dist/components/donutChart/index.esm.js +1 -1
  550. package/dist/components/donutChart/index.js +1 -1
  551. package/dist/components/dropdown-button/dropdown-button/index.esm.js +1 -1
  552. package/dist/components/dropdown-button/dropdown-button/index.js +1 -1
  553. package/dist/components/dropdown-button/index.esm.js +1 -1
  554. package/dist/components/dropdown-button/index.js +1 -1
  555. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js +1 -1
  556. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js +1 -1
  557. package/dist/components/dynamic-layout-wrapper/index.esm.js +1 -1
  558. package/dist/components/dynamic-layout-wrapper/index.js +1 -1
  559. package/dist/components/dynamic-select/index.esm.js +1 -1
  560. package/dist/components/dynamic-select/index.js +1 -1
  561. package/dist/components/editor/custom-editor/index.esm.js +1 -1
  562. package/dist/components/editor/custom-editor/index.js +1 -1
  563. package/dist/components/editor/index.esm.js +1 -1
  564. package/dist/components/editor/index.js +1 -1
  565. package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
  566. package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
  567. package/dist/components/examples/index.esm.js +1 -1
  568. package/dist/components/examples/index.js +1 -1
  569. package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.esm.js +1 -1
  570. package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.js +1 -1
  571. package/dist/components/expandable-summary-wrapper/index.esm.js +1 -1
  572. package/dist/components/expandable-summary-wrapper/index.js +1 -1
  573. package/dist/components/filter/components/index.esm.js +2 -2
  574. package/dist/components/filter/components/index.js +2 -2
  575. package/dist/components/filter/components/remove-action/index.esm.js +1 -1
  576. package/dist/components/filter/components/remove-action/index.js +1 -1
  577. package/dist/components/filter/components/value-editor/index.esm.js +1 -1
  578. package/dist/components/filter/components/value-editor/index.js +1 -1
  579. package/dist/components/filter/filter/index.esm.js +1 -1
  580. package/dist/components/filter/filter/index.js +1 -1
  581. package/dist/components/filter/index.esm.js +3 -3
  582. package/dist/components/filter/index.js +3 -3
  583. package/dist/components/footer/footer/index.esm.js +1 -1
  584. package/dist/components/footer/footer/index.js +1 -1
  585. package/dist/components/footer/index.esm.js +1 -1
  586. package/dist/components/footer/index.js +1 -1
  587. package/dist/components/form-builder-element/index.esm.js +9 -9
  588. package/dist/components/form-builder-element/index.js +9 -9
  589. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.esm.js +1 -1
  590. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js +1 -1
  591. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +1 -1
  592. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js +1 -1
  593. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
  594. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
  595. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
  596. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
  597. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
  598. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.js +1 -1
  599. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
  600. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
  601. package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +9 -9
  602. package/dist/components/form-control/form-builder/form-builder-element/index.js +9 -9
  603. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
  604. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
  605. package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js +1 -1
  606. package/dist/components/form-control/form-builder/form-builder-element/phone/index.js +1 -1
  607. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
  608. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
  609. package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
  610. package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
  611. package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.esm.js +1 -1
  612. package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.js +1 -1
  613. package/dist/components/form-control/form-builder/index.esm.js +9 -9
  614. package/dist/components/form-control/form-builder/index.js +9 -9
  615. package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
  616. package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
  617. package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
  618. package/dist/components/form-control/form-parser/form-section/index.js +1 -1
  619. package/dist/components/form-control/form-parser/index.esm.js +2 -2
  620. package/dist/components/form-control/form-parser/index.js +2 -2
  621. package/dist/components/form-control/index.esm.js +11 -11
  622. package/dist/components/form-control/index.js +11 -11
  623. package/dist/components/form-parser/index.esm.js +1 -1
  624. package/dist/components/form-parser/index.js +1 -1
  625. package/dist/components/groupBarChart/index.esm.js +1 -1
  626. package/dist/components/groupBarChart/index.js +1 -1
  627. package/dist/components/header/components/global-search/index.esm.js +1 -1
  628. package/dist/components/header/components/global-search/index.js +1 -1
  629. package/dist/components/header/components/index.esm.js +2 -2
  630. package/dist/components/header/components/index.js +2 -2
  631. package/dist/components/header/components/language-switch/index.esm.js +1 -1
  632. package/dist/components/header/components/language-switch/index.js +1 -1
  633. package/dist/components/header/components/notification-menu/index.esm.js +1 -1
  634. package/dist/components/header/components/notification-menu/index.js +1 -1
  635. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
  636. package/dist/components/header/components/notification-menu/notification-menu/index.js +1 -1
  637. package/dist/components/header/components/user-menu/index.esm.js +1 -1
  638. package/dist/components/header/components/user-menu/index.js +1 -1
  639. package/dist/components/header/header/index.esm.js +1 -1
  640. package/dist/components/header/header/index.js +1 -1
  641. package/dist/components/header/header-enhanced/index.esm.js +1 -1
  642. package/dist/components/header/header-enhanced/index.js +1 -1
  643. package/dist/components/header/index.esm.js +6 -6
  644. package/dist/components/header/index.js +6 -6
  645. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  646. package/dist/components/header/redux/actionCreator/index.js +1 -1
  647. package/dist/components/header/redux/index.esm.js +2 -2
  648. package/dist/components/header/redux/index.js +2 -2
  649. package/dist/components/header/redux/reducer/index.esm.js +1 -1
  650. package/dist/components/header/redux/reducer/index.js +1 -1
  651. package/dist/components/index.esm.js +59 -59
  652. package/dist/components/index.js +59 -59
  653. package/dist/components/inventory-reports-title-bar/component/index.esm.js +1 -1
  654. package/dist/components/inventory-reports-title-bar/component/index.js +1 -1
  655. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +1 -1
  656. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +1 -1
  657. package/dist/components/inventory-reports-title-bar/index.esm.js +5 -5
  658. package/dist/components/inventory-reports-title-bar/index.js +5 -5
  659. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
  660. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
  661. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  662. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
  663. package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
  664. package/dist/components/inventory-reports-title-bar/redux/index.js +2 -2
  665. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
  666. package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
  667. package/dist/components/inventory-reports-title-bar/report-buttons/index.esm.js +1 -1
  668. package/dist/components/inventory-reports-title-bar/report-buttons/index.js +1 -1
  669. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
  670. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js +1 -1
  671. package/dist/components/journal-type-add-modal/index.esm.js +1 -1
  672. package/dist/components/journal-type-add-modal/index.js +1 -1
  673. package/dist/components/listing/index.esm.js +1 -1
  674. package/dist/components/listing/index.js +1 -1
  675. package/dist/components/listing/listing/index.esm.js +1 -1
  676. package/dist/components/listing/listing/index.js +1 -1
  677. package/dist/components/location-select/index.esm.js +1 -1
  678. package/dist/components/location-select/index.js +1 -1
  679. package/dist/components/material-editable-table/components/index.esm.js +1 -1
  680. package/dist/components/material-editable-table/components/index.js +1 -1
  681. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
  682. package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
  683. package/dist/components/material-editable-table/index.esm.js +2 -2
  684. package/dist/components/material-editable-table/index.js +2 -2
  685. package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
  686. package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
  687. package/dist/components/material-table/components/index.esm.js +1 -1
  688. package/dist/components/material-table/components/index.js +1 -1
  689. package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
  690. package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
  691. package/dist/components/material-table/index.esm.js +1 -1
  692. package/dist/components/material-table/index.js +1 -1
  693. package/dist/components/material-table/material-table/index.esm.js +1 -1
  694. package/dist/components/material-table/material-table/index.js +1 -1
  695. package/dist/components/page-navigator/components/index.esm.js +1 -1
  696. package/dist/components/page-navigator/components/index.js +1 -1
  697. package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
  698. package/dist/components/page-navigator/components/page-action/index.js +1 -1
  699. package/dist/components/page-navigator/index.esm.js +2 -2
  700. package/dist/components/page-navigator/index.js +2 -2
  701. package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
  702. package/dist/components/page-navigator/page-navigator/index.js +1 -1
  703. package/dist/components/pagination/index.esm.js +1 -1
  704. package/dist/components/pagination/index.js +1 -1
  705. package/dist/components/pagination/pagination/index.esm.js +1 -1
  706. package/dist/components/pagination/pagination/index.js +1 -1
  707. package/dist/components/parties-modal/index.esm.js +1 -1
  708. package/dist/components/parties-modal/index.js +1 -1
  709. package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
  710. package/dist/components/parties-modal/parties-modal/index.js +1 -1
  711. package/dist/components/phone-input/index.esm.js +1 -1
  712. package/dist/components/phone-input/index.js +1 -1
  713. package/dist/components/phone-input/phone-input/index.esm.js +1 -1
  714. package/dist/components/phone-input/phone-input/index.js +1 -1
  715. package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
  716. package/dist/components/providers/ERPUIProvider/index.js +1 -1
  717. package/dist/components/providers/index.esm.js +1 -1
  718. package/dist/components/providers/index.js +1 -1
  719. package/dist/components/quick-approval-modal/index.esm.js +1 -1
  720. package/dist/components/quick-approval-modal/index.js +1 -1
  721. package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
  722. package/dist/components/quick-approval-modal/quick-approval-modal/index.js +1 -1
  723. package/dist/components/report-buttons/index.esm.js +1 -1
  724. package/dist/components/report-buttons/index.js +1 -1
  725. package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
  726. package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
  727. package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
  728. package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
  729. package/dist/components/reports/dynamic-report/index.esm.js +2 -2
  730. package/dist/components/reports/dynamic-report/index.js +2 -2
  731. package/dist/components/reports/index.esm.js +2 -2
  732. package/dist/components/reports/index.js +2 -2
  733. package/dist/components/reports-title-bar/index.esm.js +4 -4
  734. package/dist/components/reports-title-bar/index.js +4 -4
  735. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  736. package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
  737. package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
  738. package/dist/components/reports-title-bar/redux/index.js +2 -2
  739. package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
  740. package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
  741. package/dist/components/reports-title-bar/report-buttons/index.esm.js +1 -1
  742. package/dist/components/reports-title-bar/report-buttons/index.js +1 -1
  743. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
  744. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js +1 -1
  745. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
  746. package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
  747. package/dist/components/reset-password-modal/index.esm.js +1 -1
  748. package/dist/components/reset-password-modal/index.js +1 -1
  749. package/dist/components/reset-password-modal/reset-password-modal/index.esm.js +1 -1
  750. package/dist/components/reset-password-modal/reset-password-modal/index.js +1 -1
  751. package/dist/components/rfq-response/index.esm.js +1 -1
  752. package/dist/components/rfq-response/index.js +1 -1
  753. package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
  754. package/dist/components/rfq-response/item-response-details/index.js +1 -1
  755. package/dist/components/schedule-report/index.esm.js +2 -2
  756. package/dist/components/schedule-report/index.js +2 -2
  757. package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
  758. package/dist/components/schedule-report/schedule-report/index.js +1 -1
  759. package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
  760. package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
  761. package/dist/components/schedule-report-modal/index.esm.js +1 -1
  762. package/dist/components/schedule-report-modal/index.js +1 -1
  763. package/dist/components/searchable-select/index.esm.js +1 -1
  764. package/dist/components/searchable-select/index.js +1 -1
  765. package/dist/components/share-modal/index.esm.js +4 -4
  766. package/dist/components/share-modal/index.js +4 -4
  767. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  768. package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
  769. package/dist/components/share-modal/redux/index.esm.js +2 -2
  770. package/dist/components/share-modal/redux/index.js +2 -2
  771. package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
  772. package/dist/components/share-modal/redux/reducer/index.js +1 -1
  773. package/dist/components/share-modal/share-modal/index.esm.js +1 -1
  774. package/dist/components/share-modal/share-modal/index.js +1 -1
  775. package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
  776. package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
  777. package/dist/components/sidebar/index.esm.js +1 -1
  778. package/dist/components/sidebar/index.js +1 -1
  779. package/dist/components/sidebar/sidebar/index.esm.js +1 -1
  780. package/dist/components/sidebar/sidebar/index.js +1 -1
  781. package/dist/components/team-add-modal/index.esm.js +1 -1
  782. package/dist/components/team-add-modal/index.js +1 -1
  783. package/dist/components/toggle-switch/index.esm.js +1 -1
  784. package/dist/components/toggle-switch/index.js +1 -1
  785. package/dist/components/toggle-switch/toggle-switch/index.esm.js +1 -1
  786. package/dist/components/toggle-switch/toggle-switch/index.js +1 -1
  787. package/dist/components/uom-field-wrapper/index.esm.js +1 -1
  788. package/dist/components/uom-field-wrapper/index.js +1 -1
  789. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
  790. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
  791. package/dist/components/upload-excel/index.esm.js +1 -1
  792. package/dist/components/upload-excel/index.js +1 -1
  793. package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
  794. package/dist/components/upload-excel/upload-excel/index.js +1 -1
  795. package/dist/contexts/AuthContext/index.esm.js +1 -1
  796. package/dist/contexts/AuthContext/index.js +1 -1
  797. package/dist/contexts/index.esm.js +3 -3
  798. package/dist/contexts/index.js +3 -3
  799. package/dist/contexts/languageContext/index.esm.js +2 -2
  800. package/dist/contexts/languageContext/index.js +1 -1
  801. package/dist/contexts/page-context/index.esm.js +1 -1
  802. package/dist/contexts/page-context/index.js +1 -1
  803. package/dist/hooks/common/index.esm.js +1 -1
  804. package/dist/hooks/common/index.js +1 -1
  805. package/dist/hooks/index.esm.js +10 -10
  806. package/dist/hooks/index.js +10 -10
  807. package/dist/hooks/use-pages/index.esm.js +1 -1
  808. package/dist/hooks/use-pages/index.js +1 -1
  809. package/dist/hooks/use-translations/index.esm.js +1 -1
  810. package/dist/hooks/use-translations/index.js +1 -1
  811. package/dist/hooks/useAccountSetting/index.esm.js +1 -1
  812. package/dist/hooks/useAccountSetting/index.js +1 -1
  813. package/dist/hooks/useAuth/index.esm.js +1 -1
  814. package/dist/hooks/useAuth/index.js +1 -1
  815. package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
  816. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  817. package/dist/hooks/useCompanyCountryCode/index.esm.js +1 -1
  818. package/dist/hooks/useCompanyCountryCode/index.js +1 -1
  819. package/dist/hooks/useDataFetcher/index.esm.js +1 -1
  820. package/dist/hooks/useDataFetcher/index.js +1 -1
  821. package/dist/hooks/useLangauge/index.esm.js +1 -1
  822. package/dist/hooks/useLangauge/index.js +1 -1
  823. package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
  824. package/dist/hooks/useReduxIntegration/index.js +1 -1
  825. package/dist/hooks/useSetDefaultConfig/index.esm.js +1 -1
  826. package/dist/hooks/useSetDefaultConfig/index.js +1 -1
  827. package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
  828. package/dist/hooks/useUniquenessCheck/index.js +1 -1
  829. package/dist/index.esm.js +96 -96
  830. package/dist/index.js +96 -96
  831. package/dist/layout/fullScreen/fullScreen/index.esm.js +1 -1
  832. package/dist/layout/fullScreen/fullScreen/index.js +1 -1
  833. package/dist/layout/fullScreen/index.esm.js +1 -1
  834. package/dist/layout/fullScreen/index.js +1 -1
  835. package/dist/layout/index.esm.js +2 -2
  836. package/dist/layout/index.js +2 -2
  837. package/dist/layout/sidebarScreen/index.esm.js +1 -1
  838. package/dist/layout/sidebarScreen/index.js +1 -1
  839. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +1 -1
  840. package/dist/layout/sidebarScreen/sidebarScreen/index.js +1 -1
  841. package/dist/redux/actionCreator/index.esm.js +1 -1
  842. package/dist/redux/actionCreator/index.js +1 -1
  843. package/dist/redux/index.esm.js +3 -3
  844. package/dist/redux/index.js +3 -3
  845. package/dist/redux/module-reducer/index.esm.js +1 -1
  846. package/dist/redux/module-reducer/index.js +1 -1
  847. package/dist/redux/store/index.esm.js +1 -1
  848. package/dist/redux/store/index.js +1 -1
  849. package/dist/runtime/index.esm.js +5 -5
  850. package/dist/runtime/index.js +5 -5
  851. package/dist/utils/api/index.esm.js +1 -1
  852. package/dist/utils/api/index.js +1 -1
  853. package/dist/utils/common/index.esm.js +1 -1
  854. package/dist/utils/common/index.js +1 -1
  855. package/dist/utils/common-utility/index.esm.js +1 -1
  856. package/dist/utils/common-utility/index.js +1 -1
  857. package/dist/utils/index.esm.js +6 -6
  858. package/dist/utils/index.js +5 -5
  859. package/dist/utils/server/index.esm.js +1 -1
  860. package/dist/utils/server/index.js +1 -1
  861. package/dist/utils/text-measurement/index.esm.js +1 -1
  862. package/dist/utils/text-measurement/index.js +1 -1
  863. package/dist/utils/translations/index.esm.js +1 -1
  864. package/dist/utils/translations/index.js +1 -1
  865. package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
  866. package/dist/views/afterAuth/dashboard/index.js +1 -1
  867. package/dist/views/afterAuth/index.esm.js +2 -2
  868. package/dist/views/afterAuth/index.js +2 -2
  869. package/dist/views/afterAuth/page-view/index.esm.js +1 -1
  870. package/dist/views/afterAuth/page-view/index.js +1 -1
  871. package/dist/views/beforeAuth/change-password/index.esm.js +1 -1
  872. package/dist/views/beforeAuth/change-password/index.js +1 -1
  873. package/dist/views/beforeAuth/forgot-password/index.esm.js +1 -1
  874. package/dist/views/beforeAuth/forgot-password/index.js +1 -1
  875. package/dist/views/beforeAuth/index.esm.js +3 -3
  876. package/dist/views/beforeAuth/index.js +3 -3
  877. package/dist/views/beforeAuth/login/index.esm.js +2 -2
  878. package/dist/views/beforeAuth/login/index.js +2 -2
  879. package/dist/views/beforeAuth/reset-password/index.esm.js +1 -1
  880. package/dist/views/beforeAuth/reset-password/index.js +1 -1
  881. package/dist/views/custom-form/index.esm.js +1 -1
  882. package/dist/views/custom-form/index.js +1 -1
  883. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  884. package/dist/views/form-builder/custom-form/index.js +1 -1
  885. package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
  886. package/dist/views/form-builder/element-edit-forms/index.js +1 -1
  887. package/dist/views/form-builder/form-fields/index.esm.js +1 -1
  888. package/dist/views/form-builder/form-fields/index.js +1 -1
  889. package/dist/views/form-builder/index.esm.js +4 -4
  890. package/dist/views/form-builder/index.js +4 -4
  891. package/dist/views/form-builder/redux/index.esm.js +1 -1
  892. package/dist/views/form-builder/redux/index.js +1 -1
  893. package/dist/views/index.esm.js +17 -17
  894. package/dist/views/index.js +17 -17
  895. package/dist/views/privateRoute/index.esm.js +1 -1
  896. package/dist/views/privateRoute/index.js +1 -1
  897. package/dist/views/routes/index.esm.js +1 -1
  898. package/dist/views/routes/index.js +1 -1
  899. package/dist/views/template-editor/add-template/index.esm.js +1 -1
  900. package/dist/views/template-editor/add-template/index.js +1 -1
  901. package/dist/views/template-editor/components/index.esm.js +1 -1
  902. package/dist/views/template-editor/components/index.js +1 -1
  903. package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
  904. package/dist/views/template-editor/edit-section-modal/index.js +1 -1
  905. package/dist/views/template-editor/index.esm.js +7 -7
  906. package/dist/views/template-editor/index.js +7 -7
  907. package/dist/views/template-editor/routes/index.esm.js +1 -1
  908. package/dist/views/template-editor/routes/index.js +1 -1
  909. package/dist/views/template-editor/template-editor-router/index.esm.js +1 -1
  910. package/dist/views/template-editor/template-editor-router/index.js +1 -1
  911. package/dist/views/template-editor/template-modal/index.esm.js +1 -1
  912. package/dist/views/template-editor/template-modal/index.js +1 -1
  913. package/dist/views/template-editor/templates/index.esm.js +1 -1
  914. package/dist/views/template-editor/templates/index.js +1 -1
  915. package/package.json +2 -2
  916. package/dist/chunks/AuthContext-CItUFhA2.esm.js +0 -306
  917. package/dist/chunks/AuthContext-CItUFhA2.esm.js.map +0 -1
  918. package/dist/chunks/AuthContext-Cs_BXvVj.js +0 -305
  919. package/dist/chunks/AuthContext-Cs_BXvVj.js.map +0 -1
  920. package/dist/chunks/DonutChart-Dr60XGH5.esm.js +0 -95
  921. package/dist/chunks/DonutChart-Dr60XGH5.esm.js.map +0 -1
  922. package/dist/chunks/DonutChart-WB5LIvys.js +0 -111
  923. package/dist/chunks/DonutChart-WB5LIvys.js.map +0 -1
  924. package/dist/chunks/DynamicDependentField-BVqAKO1B.js +0 -127
  925. package/dist/chunks/DynamicDependentField-BVqAKO1B.js.map +0 -1
  926. package/dist/chunks/DynamicDependentField-C6DytUY_.esm.js +0 -128
  927. package/dist/chunks/DynamicDependentField-C6DytUY_.esm.js.map +0 -1
  928. package/dist/chunks/DynamicSearchInput-Ccs5S_-Y.js +0 -194
  929. package/dist/chunks/DynamicSearchInput-Ccs5S_-Y.js.map +0 -1
  930. package/dist/chunks/DynamicSearchInput-u9rb_yyw.esm.js +0 -195
  931. package/dist/chunks/DynamicSearchInput-u9rb_yyw.esm.js.map +0 -1
  932. package/dist/chunks/ERPUIProvider-2S46JHUa.js +0 -132
  933. package/dist/chunks/ERPUIProvider-2S46JHUa.js.map +0 -1
  934. package/dist/chunks/ERPUIProvider-ba7WsKJT.esm.js +0 -133
  935. package/dist/chunks/ERPUIProvider-ba7WsKJT.esm.js.map +0 -1
  936. package/dist/chunks/FORMS-CjfTyARI.esm.js +0 -296
  937. package/dist/chunks/FORMS-CjfTyARI.esm.js.map +0 -1
  938. package/dist/chunks/FORMS-_Fww4MYI.js +0 -295
  939. package/dist/chunks/FORMS-_Fww4MYI.js.map +0 -1
  940. package/dist/chunks/FlexibleReduxExample-BiSBR36q.esm.js +0 -149
  941. package/dist/chunks/FlexibleReduxExample-BiSBR36q.esm.js.map +0 -1
  942. package/dist/chunks/FlexibleReduxExample-D6V3clJh.js +0 -148
  943. package/dist/chunks/FlexibleReduxExample-D6V3clJh.js.map +0 -1
  944. package/dist/chunks/GroupBarChart-DLofFCpW.esm.js +0 -87
  945. package/dist/chunks/GroupBarChart-DLofFCpW.esm.js.map +0 -1
  946. package/dist/chunks/GroupBarChart-pLMPgiFq.js +0 -103
  947. package/dist/chunks/GroupBarChart-pLMPgiFq.js.map +0 -1
  948. package/dist/chunks/SectionFlowEditor-DxHvrDry.js +0 -5460
  949. package/dist/chunks/SectionFlowEditor-DxHvrDry.js.map +0 -1
  950. package/dist/chunks/SectionFlowEditor-sTXTk6Pp.esm.js +0 -5461
  951. package/dist/chunks/SectionFlowEditor-sTXTk6Pp.esm.js.map +0 -1
  952. package/dist/chunks/action-bar-DAkDP8jy.esm.js +0 -637
  953. package/dist/chunks/action-bar-DAkDP8jy.esm.js.map +0 -1
  954. package/dist/chunks/action-bar-ZiKnHLpN.js +0 -636
  955. package/dist/chunks/action-bar-ZiKnHLpN.js.map +0 -1
  956. package/dist/chunks/actionCreator--nyJOZdo.esm.js +0 -94
  957. package/dist/chunks/actionCreator--nyJOZdo.esm.js.map +0 -1
  958. package/dist/chunks/actionCreator-B9RMDke4.esm.js +0 -28
  959. package/dist/chunks/actionCreator-B9RMDke4.esm.js.map +0 -1
  960. package/dist/chunks/actionCreator-BHJND4-K.js +0 -21
  961. package/dist/chunks/actionCreator-BHJND4-K.js.map +0 -1
  962. package/dist/chunks/actionCreator-Bvkp-9kz.js +0 -13
  963. package/dist/chunks/actionCreator-Bvkp-9kz.js.map +0 -1
  964. package/dist/chunks/actionCreator-C6pvyodH.esm.js +0 -22
  965. package/dist/chunks/actionCreator-C6pvyodH.esm.js.map +0 -1
  966. package/dist/chunks/actionCreator-CDyPIbaz.js +0 -79
  967. package/dist/chunks/actionCreator-CDyPIbaz.js.map +0 -1
  968. package/dist/chunks/actionCreator-CuO9Tyc1.esm.js +0 -14
  969. package/dist/chunks/actionCreator-CuO9Tyc1.esm.js.map +0 -1
  970. package/dist/chunks/actionCreator-DEgSg3Sh.js +0 -93
  971. package/dist/chunks/actionCreator-DEgSg3Sh.js.map +0 -1
  972. package/dist/chunks/actionCreator-DhHH6Hfz.js +0 -27
  973. package/dist/chunks/actionCreator-DhHH6Hfz.js.map +0 -1
  974. package/dist/chunks/actionCreator-WaxefxF5.esm.js +0 -80
  975. package/dist/chunks/actionCreator-WaxefxF5.esm.js.map +0 -1
  976. package/dist/chunks/activity-tag-4P5hWkZ0.esm.js +0 -152
  977. package/dist/chunks/activity-tag-4P5hWkZ0.esm.js.map +0 -1
  978. package/dist/chunks/activity-tag-Bb8tcLXo.js +0 -151
  979. package/dist/chunks/activity-tag-Bb8tcLXo.js.map +0 -1
  980. package/dist/chunks/add-template-DMLULyMa.js +0 -10
  981. package/dist/chunks/add-template-DMLULyMa.js.map +0 -1
  982. package/dist/chunks/add-template-DmPewqnt.esm.js +0 -11
  983. package/dist/chunks/add-template-DmPewqnt.esm.js.map +0 -1
  984. package/dist/chunks/address-modal-BBrMcIzB.js +0 -687
  985. package/dist/chunks/address-modal-BBrMcIzB.js.map +0 -1
  986. package/dist/chunks/address-modal-cD-efDDf.esm.js +0 -671
  987. package/dist/chunks/address-modal-cD-efDDf.esm.js.map +0 -1
  988. package/dist/chunks/ai-summary-BKoUOoq6.js +0 -350
  989. package/dist/chunks/ai-summary-BKoUOoq6.js.map +0 -1
  990. package/dist/chunks/ai-summary-C8DZpNz5.esm.js +0 -351
  991. package/dist/chunks/ai-summary-C8DZpNz5.esm.js.map +0 -1
  992. package/dist/chunks/appbar-Bp4faPV6.js +0 -56
  993. package/dist/chunks/appbar-Bp4faPV6.js.map +0 -1
  994. package/dist/chunks/appbar-C0FLygTF.esm.js +0 -57
  995. package/dist/chunks/appbar-C0FLygTF.esm.js.map +0 -1
  996. package/dist/chunks/approval-wrapper-BygcocPB.esm.js +0 -140
  997. package/dist/chunks/approval-wrapper-BygcocPB.esm.js.map +0 -1
  998. package/dist/chunks/approval-wrapper-CF7TX7sM.js +0 -139
  999. package/dist/chunks/approval-wrapper-CF7TX7sM.js.map +0 -1
  1000. package/dist/chunks/calculation-summary-B6AhRJp6.js +0 -173
  1001. package/dist/chunks/calculation-summary-B6AhRJp6.js.map +0 -1
  1002. package/dist/chunks/calculation-summary-Dho9p-GP.esm.js +0 -174
  1003. package/dist/chunks/calculation-summary-Dho9p-GP.esm.js.map +0 -1
  1004. package/dist/chunks/change-password-BnADMmEw.esm.js +0 -183
  1005. package/dist/chunks/change-password-BnADMmEw.esm.js.map +0 -1
  1006. package/dist/chunks/change-password-DdkfFUPr.js +0 -199
  1007. package/dist/chunks/change-password-DdkfFUPr.js.map +0 -1
  1008. package/dist/chunks/change-user-password-modal-BfVbsGA8.esm.js +0 -119
  1009. package/dist/chunks/change-user-password-modal-BfVbsGA8.esm.js.map +0 -1
  1010. package/dist/chunks/change-user-password-modal-CkFyRcMf.js +0 -135
  1011. package/dist/chunks/change-user-password-modal-CkFyRcMf.js.map +0 -1
  1012. package/dist/chunks/chat-bot-CFuFhsP0.esm.js +0 -1831
  1013. package/dist/chunks/chat-bot-CFuFhsP0.esm.js.map +0 -1
  1014. package/dist/chunks/chat-bot-Da19s5yk.js +0 -1830
  1015. package/dist/chunks/chat-bot-Da19s5yk.js.map +0 -1
  1016. package/dist/chunks/checkbox-C2BeoVnl.js +0 -82
  1017. package/dist/chunks/checkbox-C2BeoVnl.js.map +0 -1
  1018. package/dist/chunks/checkbox-jf_YLLyu.esm.js +0 -83
  1019. package/dist/chunks/checkbox-jf_YLLyu.esm.js.map +0 -1
  1020. package/dist/chunks/common-B57Y6C3m.js +0 -182
  1021. package/dist/chunks/common-B57Y6C3m.js.map +0 -1
  1022. package/dist/chunks/common-BKREMeF3.js +0 -4616
  1023. package/dist/chunks/common-BKREMeF3.js.map +0 -1
  1024. package/dist/chunks/common-DPGU5cvK.esm.js +0 -183
  1025. package/dist/chunks/common-DPGU5cvK.esm.js.map +0 -1
  1026. package/dist/chunks/common-Dx7tnk6m.esm.js +0 -4617
  1027. package/dist/chunks/common-Dx7tnk6m.esm.js.map +0 -1
  1028. package/dist/chunks/common-utility-BArlMUt8.js +0 -305
  1029. package/dist/chunks/common-utility-BArlMUt8.js.map +0 -1
  1030. package/dist/chunks/common-utility-fEu6O9r5.esm.js +0 -305
  1031. package/dist/chunks/common-utility-fEu6O9r5.esm.js.map +0 -1
  1032. package/dist/chunks/confirm-modal-DTmaF3fh.js +0 -97
  1033. package/dist/chunks/confirm-modal-DTmaF3fh.js.map +0 -1
  1034. package/dist/chunks/confirm-modal-Dn6_XVen.esm.js +0 -98
  1035. package/dist/chunks/confirm-modal-Dn6_XVen.esm.js.map +0 -1
  1036. package/dist/chunks/contact-modal-DQZ7sNio.esm.js +0 -169
  1037. package/dist/chunks/contact-modal-DQZ7sNio.esm.js.map +0 -1
  1038. package/dist/chunks/contact-modal-DYgiqXzl.js +0 -185
  1039. package/dist/chunks/contact-modal-DYgiqXzl.js.map +0 -1
  1040. package/dist/chunks/custom-editor-BsGSIut7.js +0 -1257
  1041. package/dist/chunks/custom-editor-BsGSIut7.js.map +0 -1
  1042. package/dist/chunks/custom-editor-U1b8LqMi.esm.js +0 -1257
  1043. package/dist/chunks/custom-editor-U1b8LqMi.esm.js.map +0 -1
  1044. package/dist/chunks/custom-form-BVldaNOk.js +0 -1145
  1045. package/dist/chunks/custom-form-BVldaNOk.js.map +0 -1
  1046. package/dist/chunks/custom-form-vRYQMnnO.esm.js +0 -1146
  1047. package/dist/chunks/custom-form-vRYQMnnO.esm.js.map +0 -1
  1048. package/dist/chunks/dashboard-RdyxLVBz.esm.js +0 -75
  1049. package/dist/chunks/dashboard-RdyxLVBz.esm.js.map +0 -1
  1050. package/dist/chunks/dashboard-WJlAESNI.js +0 -74
  1051. package/dist/chunks/dashboard-WJlAESNI.js.map +0 -1
  1052. package/dist/chunks/date-range-picker-BBWpUuFU.js +0 -61
  1053. package/dist/chunks/date-range-picker-BBWpUuFU.js.map +0 -1
  1054. package/dist/chunks/date-range-picker-Ck43XjEE.esm.js +0 -62
  1055. package/dist/chunks/date-range-picker-Ck43XjEE.esm.js.map +0 -1
  1056. package/dist/chunks/date-range-picker-JBGuBpJi.js +0 -159
  1057. package/dist/chunks/date-range-picker-JBGuBpJi.js.map +0 -1
  1058. package/dist/chunks/date-range-picker-_vgdd2Mj.esm.js +0 -160
  1059. package/dist/chunks/date-range-picker-_vgdd2Mj.esm.js.map +0 -1
  1060. package/dist/chunks/dropdown-button-C6Yjdk-q.esm.js +0 -146
  1061. package/dist/chunks/dropdown-button-C6Yjdk-q.esm.js.map +0 -1
  1062. package/dist/chunks/dropdown-button-ChWNEQO-.js +0 -162
  1063. package/dist/chunks/dropdown-button-ChWNEQO-.js.map +0 -1
  1064. package/dist/chunks/dynamic-layout-wrapper-B-N9TvxZ.js +0 -228
  1065. package/dist/chunks/dynamic-layout-wrapper-B-N9TvxZ.js.map +0 -1
  1066. package/dist/chunks/dynamic-layout-wrapper-CYi-Q4TF.esm.js +0 -229
  1067. package/dist/chunks/dynamic-layout-wrapper-CYi-Q4TF.esm.js.map +0 -1
  1068. package/dist/chunks/dynamic-report-B-tJnqiW.js +0 -588
  1069. package/dist/chunks/dynamic-report-B-tJnqiW.js.map +0 -1
  1070. package/dist/chunks/dynamic-report-C1BLcOcT.esm.js +0 -589
  1071. package/dist/chunks/dynamic-report-C1BLcOcT.esm.js.map +0 -1
  1072. package/dist/chunks/dynamic-rows-3BcmufgN.esm.js +0 -250
  1073. package/dist/chunks/dynamic-rows-3BcmufgN.esm.js.map +0 -1
  1074. package/dist/chunks/dynamic-rows-BVKRmFdW.js +0 -249
  1075. package/dist/chunks/dynamic-rows-BVKRmFdW.js.map +0 -1
  1076. package/dist/chunks/dynamic-text-editor-DNwNCQ41.js +0 -44
  1077. package/dist/chunks/dynamic-text-editor-DNwNCQ41.js.map +0 -1
  1078. package/dist/chunks/dynamic-text-editor-OUcokGgL.esm.js +0 -45
  1079. package/dist/chunks/dynamic-text-editor-OUcokGgL.esm.js.map +0 -1
  1080. package/dist/chunks/edit-section-modal-CxLrKCOU.esm.js +0 -80
  1081. package/dist/chunks/edit-section-modal-CxLrKCOU.esm.js.map +0 -1
  1082. package/dist/chunks/edit-section-modal-xqhmDL66.js +0 -79
  1083. package/dist/chunks/edit-section-modal-xqhmDL66.js.map +0 -1
  1084. package/dist/chunks/expandable-summary-wrapper-BWQYltN_.js +0 -241
  1085. package/dist/chunks/expandable-summary-wrapper-BWQYltN_.js.map +0 -1
  1086. package/dist/chunks/expandable-summary-wrapper-DZsULfLF.esm.js +0 -242
  1087. package/dist/chunks/expandable-summary-wrapper-DZsULfLF.esm.js.map +0 -1
  1088. package/dist/chunks/filter-Co5Up7hd.esm.js +0 -410
  1089. package/dist/chunks/filter-Co5Up7hd.esm.js.map +0 -1
  1090. package/dist/chunks/filter-_ZeZCq8N.js +0 -409
  1091. package/dist/chunks/filter-_ZeZCq8N.js.map +0 -1
  1092. package/dist/chunks/footer-BFio62UN.esm.js +0 -64
  1093. package/dist/chunks/footer-BFio62UN.esm.js.map +0 -1
  1094. package/dist/chunks/footer-Dyu2mKhn.js +0 -63
  1095. package/dist/chunks/footer-Dyu2mKhn.js.map +0 -1
  1096. package/dist/chunks/forgot-password-Ct6Uv_5q.js +0 -194
  1097. package/dist/chunks/forgot-password-Ct6Uv_5q.js.map +0 -1
  1098. package/dist/chunks/forgot-password-DDMLbagX.esm.js +0 -178
  1099. package/dist/chunks/forgot-password-DDMLbagX.esm.js.map +0 -1
  1100. package/dist/chunks/form-fields-D2pcLGqp.esm.js +0 -355
  1101. package/dist/chunks/form-fields-D2pcLGqp.esm.js.map +0 -1
  1102. package/dist/chunks/form-fields-o5mMlVZm.js +0 -354
  1103. package/dist/chunks/form-fields-o5mMlVZm.js.map +0 -1
  1104. package/dist/chunks/form-parser-Dy8hI5vV.esm.js +0 -597
  1105. package/dist/chunks/form-parser-Dy8hI5vV.esm.js.map +0 -1
  1106. package/dist/chunks/form-parser-gVQya70w.js +0 -613
  1107. package/dist/chunks/form-parser-gVQya70w.js.map +0 -1
  1108. package/dist/chunks/form-section-BmLixh5S.js +0 -575
  1109. package/dist/chunks/form-section-BmLixh5S.js.map +0 -1
  1110. package/dist/chunks/form-section-lrISEwWZ.esm.js +0 -576
  1111. package/dist/chunks/form-section-lrISEwWZ.esm.js.map +0 -1
  1112. package/dist/chunks/fullScreen-B3pVmUAN.js +0 -18
  1113. package/dist/chunks/fullScreen-B3pVmUAN.js.map +0 -1
  1114. package/dist/chunks/fullScreen-bvFiiF9s.esm.js +0 -19
  1115. package/dist/chunks/fullScreen-bvFiiF9s.esm.js.map +0 -1
  1116. package/dist/chunks/global-search-9SeBhF5P.esm.js +0 -150
  1117. package/dist/chunks/global-search-9SeBhF5P.esm.js.map +0 -1
  1118. package/dist/chunks/global-search-Dq7FlvS5.js +0 -149
  1119. package/dist/chunks/global-search-Dq7FlvS5.js.map +0 -1
  1120. package/dist/chunks/grid-view-BmG_39gB.js +0 -51
  1121. package/dist/chunks/grid-view-BmG_39gB.js.map +0 -1
  1122. package/dist/chunks/grid-view-DCbDctFE.esm.js +0 -52
  1123. package/dist/chunks/grid-view-DCbDctFE.esm.js.map +0 -1
  1124. package/dist/chunks/header-F4w_8oWo.js +0 -92
  1125. package/dist/chunks/header-F4w_8oWo.js.map +0 -1
  1126. package/dist/chunks/header-IjjjlGPb.esm.js +0 -93
  1127. package/dist/chunks/header-IjjjlGPb.esm.js.map +0 -1
  1128. package/dist/chunks/header-enhanced-DEn3BKBp.esm.js +0 -403
  1129. package/dist/chunks/header-enhanced-DEn3BKBp.esm.js.map +0 -1
  1130. package/dist/chunks/header-enhanced-msUcDfn6.js +0 -402
  1131. package/dist/chunks/header-enhanced-msUcDfn6.js.map +0 -1
  1132. package/dist/chunks/index-BoLOZQo2.js +0 -2019
  1133. package/dist/chunks/index-BoLOZQo2.js.map +0 -1
  1134. package/dist/chunks/index-CmW3Zdrr.esm.js +0 -2020
  1135. package/dist/chunks/index-CmW3Zdrr.esm.js.map +0 -1
  1136. package/dist/chunks/inline-edit-fields-CX85osyU.js +0 -341
  1137. package/dist/chunks/inline-edit-fields-CX85osyU.js.map +0 -1
  1138. package/dist/chunks/inline-edit-fields-tRhdMLp9.esm.js +0 -325
  1139. package/dist/chunks/inline-edit-fields-tRhdMLp9.esm.js.map +0 -1
  1140. package/dist/chunks/inventory-reports-title-bar-BgyeKjXJ.esm.js +0 -733
  1141. package/dist/chunks/inventory-reports-title-bar-BgyeKjXJ.esm.js.map +0 -1
  1142. package/dist/chunks/inventory-reports-title-bar-n55HIJhu.js +0 -732
  1143. package/dist/chunks/inventory-reports-title-bar-n55HIJhu.js.map +0 -1
  1144. package/dist/chunks/item-response-details-CJ-rbzqs.esm.js +0 -79
  1145. package/dist/chunks/item-response-details-CJ-rbzqs.esm.js.map +0 -1
  1146. package/dist/chunks/item-response-details-Cl42lIpK.js +0 -78
  1147. package/dist/chunks/item-response-details-Cl42lIpK.js.map +0 -1
  1148. package/dist/chunks/journal-type-add-modal-CI6q6HqD.js +0 -128
  1149. package/dist/chunks/journal-type-add-modal-CI6q6HqD.js.map +0 -1
  1150. package/dist/chunks/journal-type-add-modal-iXBEPmyH.esm.js +0 -112
  1151. package/dist/chunks/journal-type-add-modal-iXBEPmyH.esm.js.map +0 -1
  1152. package/dist/chunks/language-switch-CDgYeZpu.esm.js +0 -111
  1153. package/dist/chunks/language-switch-CDgYeZpu.esm.js.map +0 -1
  1154. package/dist/chunks/language-switch-CGMB4bwl.js +0 -110
  1155. package/dist/chunks/language-switch-CGMB4bwl.js.map +0 -1
  1156. package/dist/chunks/languageContext-CGFeFANe.js +0 -223
  1157. package/dist/chunks/languageContext-CGFeFANe.js.map +0 -1
  1158. package/dist/chunks/languageContext-NvDBmtCQ.esm.js +0 -224
  1159. package/dist/chunks/languageContext-NvDBmtCQ.esm.js.map +0 -1
  1160. package/dist/chunks/listing-D9CwaU4T.js +0 -276
  1161. package/dist/chunks/listing-D9CwaU4T.js.map +0 -1
  1162. package/dist/chunks/listing-Dyx0Mirh.esm.js +0 -277
  1163. package/dist/chunks/listing-Dyx0Mirh.esm.js.map +0 -1
  1164. package/dist/chunks/location-select-BMJPc3NA.esm.js +0 -86
  1165. package/dist/chunks/location-select-BMJPc3NA.esm.js.map +0 -1
  1166. package/dist/chunks/location-select-dUkE7wln.js +0 -85
  1167. package/dist/chunks/location-select-dUkE7wln.js.map +0 -1
  1168. package/dist/chunks/material-editable-table-BBuW5DLg.esm.js +0 -1448
  1169. package/dist/chunks/material-editable-table-BBuW5DLg.esm.js.map +0 -1
  1170. package/dist/chunks/material-editable-table-CLLJ22hR.js +0 -1464
  1171. package/dist/chunks/material-editable-table-CLLJ22hR.js.map +0 -1
  1172. package/dist/chunks/module-reducer-BGH8lAqY.js +0 -78
  1173. package/dist/chunks/module-reducer-BGH8lAqY.js.map +0 -1
  1174. package/dist/chunks/module-reducer-C0oXjw8G.esm.js +0 -79
  1175. package/dist/chunks/module-reducer-C0oXjw8G.esm.js.map +0 -1
  1176. package/dist/chunks/notification-menu-7JH5abny.js +0 -605
  1177. package/dist/chunks/notification-menu-7JH5abny.js.map +0 -1
  1178. package/dist/chunks/notification-menu-lLUBoCir.esm.js +0 -606
  1179. package/dist/chunks/notification-menu-lLUBoCir.esm.js.map +0 -1
  1180. package/dist/chunks/page-action-CIGGDLKn.esm.js +0 -325
  1181. package/dist/chunks/page-action-CIGGDLKn.esm.js.map +0 -1
  1182. package/dist/chunks/page-action-CUTJzxKo.js +0 -324
  1183. package/dist/chunks/page-action-CUTJzxKo.js.map +0 -1
  1184. package/dist/chunks/page-context-CRlrjYeU.esm.js +0 -389
  1185. package/dist/chunks/page-context-CRlrjYeU.esm.js.map +0 -1
  1186. package/dist/chunks/page-context-sWB9lWkV.js +0 -388
  1187. package/dist/chunks/page-context-sWB9lWkV.js.map +0 -1
  1188. package/dist/chunks/page-navigator-CffhPjmI.esm.js +0 -244
  1189. package/dist/chunks/page-navigator-CffhPjmI.esm.js.map +0 -1
  1190. package/dist/chunks/page-navigator-MmJSpust.js +0 -243
  1191. package/dist/chunks/page-navigator-MmJSpust.js.map +0 -1
  1192. package/dist/chunks/page-view-B5F1_m7T.js +0 -323
  1193. package/dist/chunks/page-view-B5F1_m7T.js.map +0 -1
  1194. package/dist/chunks/page-view-BZ3v52E0.esm.js +0 -324
  1195. package/dist/chunks/page-view-BZ3v52E0.esm.js.map +0 -1
  1196. package/dist/chunks/pagination-Dm9DnsrM.js +0 -135
  1197. package/dist/chunks/pagination-Dm9DnsrM.js.map +0 -1
  1198. package/dist/chunks/pagination-MyUaSjQq.esm.js +0 -136
  1199. package/dist/chunks/pagination-MyUaSjQq.esm.js.map +0 -1
  1200. package/dist/chunks/phone-BpIIryp0.esm.js +0 -59
  1201. package/dist/chunks/phone-BpIIryp0.esm.js.map +0 -1
  1202. package/dist/chunks/phone-D35-eNyG.js +0 -58
  1203. package/dist/chunks/phone-D35-eNyG.js.map +0 -1
  1204. package/dist/chunks/phone-input-Bogr4PHd.js +0 -254
  1205. package/dist/chunks/phone-input-Bogr4PHd.js.map +0 -1
  1206. package/dist/chunks/phone-input-CW81GG_I.esm.js +0 -255
  1207. package/dist/chunks/phone-input-CW81GG_I.esm.js.map +0 -1
  1208. package/dist/chunks/privateRoute-Czv_e-HG.esm.js +0 -13
  1209. package/dist/chunks/privateRoute-Czv_e-HG.esm.js.map +0 -1
  1210. package/dist/chunks/privateRoute-acT0YZUW.js +0 -12
  1211. package/dist/chunks/privateRoute-acT0YZUW.js.map +0 -1
  1212. package/dist/chunks/quick-approval-modal-CJHHFOUg.esm.js +0 -256
  1213. package/dist/chunks/quick-approval-modal-CJHHFOUg.esm.js.map +0 -1
  1214. package/dist/chunks/quick-approval-modal-DjGVpSoa.js +0 -272
  1215. package/dist/chunks/quick-approval-modal-DjGVpSoa.js.map +0 -1
  1216. package/dist/chunks/reducer-5S5_al3O.js +0 -32
  1217. package/dist/chunks/reducer-5S5_al3O.js.map +0 -1
  1218. package/dist/chunks/reducer-B2_uBvEN.esm.js +0 -56
  1219. package/dist/chunks/reducer-B2_uBvEN.esm.js.map +0 -1
  1220. package/dist/chunks/reducer-CaW0CURj.js +0 -148
  1221. package/dist/chunks/reducer-CaW0CURj.js.map +0 -1
  1222. package/dist/chunks/reducer-D23ioWk3.js +0 -55
  1223. package/dist/chunks/reducer-D23ioWk3.js.map +0 -1
  1224. package/dist/chunks/reducer-D4sCikWQ.js +0 -42
  1225. package/dist/chunks/reducer-D4sCikWQ.js.map +0 -1
  1226. package/dist/chunks/reducer-D8APZS-d.esm.js +0 -33
  1227. package/dist/chunks/reducer-D8APZS-d.esm.js.map +0 -1
  1228. package/dist/chunks/reducer-DmccJkiL.esm.js +0 -149
  1229. package/dist/chunks/reducer-DmccJkiL.esm.js.map +0 -1
  1230. package/dist/chunks/reducer-Dt2e90Jo.js +0 -49
  1231. package/dist/chunks/reducer-Dt2e90Jo.js.map +0 -1
  1232. package/dist/chunks/reducer-f_PrcdZ4.esm.js +0 -43
  1233. package/dist/chunks/reducer-f_PrcdZ4.esm.js.map +0 -1
  1234. package/dist/chunks/reducer-kj_mMVhq.esm.js +0 -50
  1235. package/dist/chunks/reducer-kj_mMVhq.esm.js.map +0 -1
  1236. package/dist/chunks/remove-action-C4vk55sF.esm.js +0 -21
  1237. package/dist/chunks/remove-action-C4vk55sF.esm.js.map +0 -1
  1238. package/dist/chunks/remove-action-wgH3tjSh.js +0 -20
  1239. package/dist/chunks/remove-action-wgH3tjSh.js.map +0 -1
  1240. package/dist/chunks/report-buttons-BbPCRSOt.esm.js +0 -46
  1241. package/dist/chunks/report-buttons-BbPCRSOt.esm.js.map +0 -1
  1242. package/dist/chunks/report-buttons-BlgYL2Bm.js +0 -59
  1243. package/dist/chunks/report-buttons-BlgYL2Bm.js.map +0 -1
  1244. package/dist/chunks/report-buttons-D5tjbwgy.esm.js +0 -60
  1245. package/dist/chunks/report-buttons-D5tjbwgy.esm.js.map +0 -1
  1246. package/dist/chunks/report-buttons-DTIsMU6-.js +0 -45
  1247. package/dist/chunks/report-buttons-DTIsMU6-.js.map +0 -1
  1248. package/dist/chunks/reportFilter-B8ANX3ve.esm.js +0 -395
  1249. package/dist/chunks/reportFilter-B8ANX3ve.esm.js.map +0 -1
  1250. package/dist/chunks/reportFilter-CtWt_vKu.js +0 -394
  1251. package/dist/chunks/reportFilter-CtWt_vKu.js.map +0 -1
  1252. package/dist/chunks/reports-title-bar-BggbS-Tb.js +0 -946
  1253. package/dist/chunks/reports-title-bar-BggbS-Tb.js.map +0 -1
  1254. package/dist/chunks/reports-title-bar-CBfcBeWm.esm.js +0 -947
  1255. package/dist/chunks/reports-title-bar-CBfcBeWm.esm.js.map +0 -1
  1256. package/dist/chunks/reset-password-D6fTo7PP.js +0 -32
  1257. package/dist/chunks/reset-password-D6fTo7PP.js.map +0 -1
  1258. package/dist/chunks/reset-password-DHsZ0i0m.esm.js +0 -33
  1259. package/dist/chunks/reset-password-DHsZ0i0m.esm.js.map +0 -1
  1260. package/dist/chunks/reset-password-modal-DhtIlWB5.js +0 -160
  1261. package/dist/chunks/reset-password-modal-DhtIlWB5.js.map +0 -1
  1262. package/dist/chunks/reset-password-modal-pX1e8reV.esm.js +0 -144
  1263. package/dist/chunks/reset-password-modal-pX1e8reV.esm.js.map +0 -1
  1264. package/dist/chunks/routes-BW3ty4u3.js +0 -35
  1265. package/dist/chunks/routes-BW3ty4u3.js.map +0 -1
  1266. package/dist/chunks/routes-CZUhkfnc.esm.js +0 -36
  1267. package/dist/chunks/routes-CZUhkfnc.esm.js.map +0 -1
  1268. package/dist/chunks/schedule-report-CdDcoWCH.js +0 -235
  1269. package/dist/chunks/schedule-report-CdDcoWCH.js.map +0 -1
  1270. package/dist/chunks/schedule-report-D-zLbOxU.esm.js +0 -236
  1271. package/dist/chunks/schedule-report-D-zLbOxU.esm.js.map +0 -1
  1272. package/dist/chunks/schedule-report-modal-CrbeZXpC.js +0 -287
  1273. package/dist/chunks/schedule-report-modal-CrbeZXpC.js.map +0 -1
  1274. package/dist/chunks/schedule-report-modal-DJBMRIwR.esm.js +0 -288
  1275. package/dist/chunks/schedule-report-modal-DJBMRIwR.esm.js.map +0 -1
  1276. package/dist/chunks/searchable-select-B6MUgCdo.js +0 -5412
  1277. package/dist/chunks/searchable-select-B6MUgCdo.js.map +0 -1
  1278. package/dist/chunks/searchable-select-Cp2JQ-ma.esm.js +0 -5396
  1279. package/dist/chunks/searchable-select-Cp2JQ-ma.esm.js.map +0 -1
  1280. package/dist/chunks/share-modal-BQz9DT8w.esm.js +0 -218
  1281. package/dist/chunks/share-modal-BQz9DT8w.esm.js.map +0 -1
  1282. package/dist/chunks/share-modal-DS7uWv8L.js +0 -217
  1283. package/dist/chunks/share-modal-DS7uWv8L.js.map +0 -1
  1284. package/dist/chunks/share-modal-enhanced-ClVTuNyl.esm.js +0 -270
  1285. package/dist/chunks/share-modal-enhanced-ClVTuNyl.esm.js.map +0 -1
  1286. package/dist/chunks/share-modal-enhanced-DDsOmNGE.js +0 -269
  1287. package/dist/chunks/share-modal-enhanced-DDsOmNGE.js.map +0 -1
  1288. package/dist/chunks/sidebar-DDWxJgOI.esm.js +0 -879
  1289. package/dist/chunks/sidebar-DDWxJgOI.esm.js.map +0 -1
  1290. package/dist/chunks/sidebar-DZUrBtkU.js +0 -878
  1291. package/dist/chunks/sidebar-DZUrBtkU.js.map +0 -1
  1292. package/dist/chunks/sidebarScreen-BVehiM72.esm.js +0 -202
  1293. package/dist/chunks/sidebarScreen-BVehiM72.esm.js.map +0 -1
  1294. package/dist/chunks/sidebarScreen-Dyasx_un.js +0 -201
  1295. package/dist/chunks/sidebarScreen-Dyasx_un.js.map +0 -1
  1296. package/dist/chunks/store-0k7BuH6N.esm.js +0 -100
  1297. package/dist/chunks/store-0k7BuH6N.esm.js.map +0 -1
  1298. package/dist/chunks/store-D0UGtNyn.js +0 -99
  1299. package/dist/chunks/store-D0UGtNyn.js.map +0 -1
  1300. package/dist/chunks/table-BFVmn9er.js +0 -184
  1301. package/dist/chunks/table-BFVmn9er.js.map +0 -1
  1302. package/dist/chunks/table-DZ4iT9yr.esm.js +0 -185
  1303. package/dist/chunks/table-DZ4iT9yr.esm.js.map +0 -1
  1304. package/dist/chunks/table-form-BweS8HY4.esm.js +0 -1537
  1305. package/dist/chunks/table-form-BweS8HY4.esm.js.map +0 -1
  1306. package/dist/chunks/table-form-C08FE3l-.js +0 -1536
  1307. package/dist/chunks/table-form-C08FE3l-.js.map +0 -1
  1308. package/dist/chunks/template-editor-router-D99QWgsY.esm.js +0 -9
  1309. package/dist/chunks/template-editor-router-D99QWgsY.esm.js.map +0 -1
  1310. package/dist/chunks/template-editor-router-DslCflw6.js +0 -8
  1311. package/dist/chunks/template-editor-router-DslCflw6.js.map +0 -1
  1312. package/dist/chunks/template-modal-7ED61IRQ.js +0 -768
  1313. package/dist/chunks/template-modal-7ED61IRQ.js.map +0 -1
  1314. package/dist/chunks/template-modal-Pc_7Ko4n.esm.js +0 -769
  1315. package/dist/chunks/template-modal-Pc_7Ko4n.esm.js.map +0 -1
  1316. package/dist/chunks/templates-Z4PvElMl.js +0 -272
  1317. package/dist/chunks/templates-Z4PvElMl.js.map +0 -1
  1318. package/dist/chunks/templates-qd8xCqe3.esm.js +0 -273
  1319. package/dist/chunks/templates-qd8xCqe3.esm.js.map +0 -1
  1320. package/dist/chunks/text-measurement-Blnt6jDd.esm.js +0 -252
  1321. package/dist/chunks/text-measurement-Blnt6jDd.esm.js.map +0 -1
  1322. package/dist/chunks/text-measurement-Cp_YwDdV.js +0 -251
  1323. package/dist/chunks/text-measurement-Cp_YwDdV.js.map +0 -1
  1324. package/dist/chunks/toggle-button-CHNfZ0px.esm.js +0 -55
  1325. package/dist/chunks/toggle-button-CHNfZ0px.esm.js.map +0 -1
  1326. package/dist/chunks/toggle-button-D60s8gEP.js +0 -54
  1327. package/dist/chunks/toggle-button-D60s8gEP.js.map +0 -1
  1328. package/dist/chunks/toggle-switch-BYq0pxMx.js +0 -80
  1329. package/dist/chunks/toggle-switch-BYq0pxMx.js.map +0 -1
  1330. package/dist/chunks/toggle-switch-C5eW7j13.esm.js +0 -81
  1331. package/dist/chunks/toggle-switch-C5eW7j13.esm.js.map +0 -1
  1332. package/dist/chunks/translations-BBu_7rQ3.esm.js +0 -128
  1333. package/dist/chunks/translations-BBu_7rQ3.esm.js.map +0 -1
  1334. package/dist/chunks/translations-DFI0dn0H.js +0 -127
  1335. package/dist/chunks/translations-DFI0dn0H.js.map +0 -1
  1336. package/dist/chunks/uom-field-wrapper-BAtgnuyo.js +0 -79
  1337. package/dist/chunks/uom-field-wrapper-BAtgnuyo.js.map +0 -1
  1338. package/dist/chunks/uom-field-wrapper-E4JPg4cL.esm.js +0 -80
  1339. package/dist/chunks/uom-field-wrapper-E4JPg4cL.esm.js.map +0 -1
  1340. package/dist/chunks/upload-excel-C8lWc-h6.esm.js +0 -361
  1341. package/dist/chunks/upload-excel-C8lWc-h6.esm.js.map +0 -1
  1342. package/dist/chunks/upload-excel-Y1ngDyko.js +0 -360
  1343. package/dist/chunks/upload-excel-Y1ngDyko.js.map +0 -1
  1344. package/dist/chunks/use-pages-CtwNsLRG.esm.js +0 -30
  1345. package/dist/chunks/use-pages-CtwNsLRG.esm.js.map +0 -1
  1346. package/dist/chunks/use-pages-DXVEXNG0.js +0 -29
  1347. package/dist/chunks/use-pages-DXVEXNG0.js.map +0 -1
  1348. package/dist/chunks/use-translations-C8VCxHUP.js +0 -68
  1349. package/dist/chunks/use-translations-C8VCxHUP.js.map +0 -1
  1350. package/dist/chunks/use-translations-GJRyMyMm.esm.js +0 -69
  1351. package/dist/chunks/use-translations-GJRyMyMm.esm.js.map +0 -1
  1352. package/dist/chunks/useAccountSetting-C3j-kzsn.esm.js +0 -174
  1353. package/dist/chunks/useAccountSetting-C3j-kzsn.esm.js.map +0 -1
  1354. package/dist/chunks/useAccountSetting-CVdUkHyh.js +0 -173
  1355. package/dist/chunks/useAccountSetting-CVdUkHyh.js.map +0 -1
  1356. package/dist/chunks/useCheckSkuAndName-DGwsN62c.js +0 -49
  1357. package/dist/chunks/useCheckSkuAndName-DGwsN62c.js.map +0 -1
  1358. package/dist/chunks/useCheckSkuAndName-DkIeUSOy.esm.js +0 -50
  1359. package/dist/chunks/useCheckSkuAndName-DkIeUSOy.esm.js.map +0 -1
  1360. package/dist/chunks/useCompanyCountryCode-D4uxUfQC.esm.js +0 -36
  1361. package/dist/chunks/useCompanyCountryCode-D4uxUfQC.esm.js.map +0 -1
  1362. package/dist/chunks/useCompanyCountryCode-FfjhJ8aJ.js +0 -35
  1363. package/dist/chunks/useCompanyCountryCode-FfjhJ8aJ.js.map +0 -1
  1364. package/dist/chunks/useDataFetcher-CPHhFBB1.js +0 -79
  1365. package/dist/chunks/useDataFetcher-CPHhFBB1.js.map +0 -1
  1366. package/dist/chunks/useDataFetcher-dHGm5XO0.esm.js +0 -80
  1367. package/dist/chunks/useDataFetcher-dHGm5XO0.esm.js.map +0 -1
  1368. package/dist/chunks/useLangauge-CSNpcfX6.js +0 -48
  1369. package/dist/chunks/useLangauge-CSNpcfX6.js.map +0 -1
  1370. package/dist/chunks/useLangauge-CXedllBc.esm.js +0 -49
  1371. package/dist/chunks/useLangauge-CXedllBc.esm.js.map +0 -1
  1372. package/dist/chunks/useReduxIntegration-BcngB5eN.js +0 -38
  1373. package/dist/chunks/useReduxIntegration-BcngB5eN.js.map +0 -1
  1374. package/dist/chunks/useReduxIntegration-BeFIVANA.esm.js +0 -39
  1375. package/dist/chunks/useReduxIntegration-BeFIVANA.esm.js.map +0 -1
  1376. package/dist/chunks/useSetDefaultConfig-B0T1TesA.js +0 -100
  1377. package/dist/chunks/useSetDefaultConfig-B0T1TesA.js.map +0 -1
  1378. package/dist/chunks/useSetDefaultConfig-BGhAQcVv.esm.js +0 -101
  1379. package/dist/chunks/useSetDefaultConfig-BGhAQcVv.esm.js.map +0 -1
  1380. package/dist/chunks/useUniquenessCheck-C39yEqX_.esm.js +0 -39
  1381. package/dist/chunks/useUniquenessCheck-C39yEqX_.esm.js.map +0 -1
  1382. package/dist/chunks/useUniquenessCheck-CHtl6HMF.js +0 -38
  1383. package/dist/chunks/useUniquenessCheck-CHtl6HMF.js.map +0 -1
  1384. package/dist/chunks/user-menu-BFS7gNsI.esm.js +0 -105
  1385. package/dist/chunks/user-menu-BFS7gNsI.esm.js.map +0 -1
  1386. package/dist/chunks/user-menu-BbMEP9w1.js +0 -104
  1387. package/dist/chunks/user-menu-BbMEP9w1.js.map +0 -1
  1388. package/dist/chunks/value-editor-CAfyA4_t.js +0 -136
  1389. package/dist/chunks/value-editor-CAfyA4_t.js.map +0 -1
  1390. package/dist/chunks/value-editor-D5xWqrQa.esm.js +0 -137
  1391. package/dist/chunks/value-editor-D5xWqrQa.esm.js.map +0 -1
@@ -0,0 +1,1257 @@
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
+ import { forwardRef, useState, useRef, useEffect, useCallback, useImperativeHandle } from "react";
3
+ import { Undo, Redo, FormatBold, FormatItalic, FormatUnderlined, FormatStrikethrough, Subscript, Superscript, FormatAlignLeft, FormatAlignCenter, FormatAlignRight, FormatAlignJustify, FormatListBulleted, FormatListNumbered, Link, Image, TableChart, Code, SwapHoriz, AddCircleOutline, RemoveCircleOutline, Close } from "@mui/icons-material";
4
+ import { Box, Tooltip, Divider, IconButton, Select, MenuItem, Popover } from "@mui/material";
5
+ import { u as uploadFiles, a1 as getToken } from "./common-CnVHMDbY.esm.js";
6
+ import { p as postV1Drive } from "./index-D8ZndEil.esm.js";
7
+ import { getApiConfig } from "../utils/api-config/index.esm.js";
8
+ import { prepareForEditing, prepareForSaving } from "../components/editor/utils/index.esm.js";
9
+ /* empty css */
10
+ const FONT_FAMILIES = [
11
+ "Arial",
12
+ "Courier New",
13
+ "Georgia",
14
+ "Times New Roman",
15
+ "Trebuchet MS",
16
+ "Verdana"
17
+ ];
18
+ const FONT_SIZES = ["10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px"];
19
+ const HEADING_FORMATS = [
20
+ { value: "p", label: "Paragraph" },
21
+ { value: "h1", label: "Heading 1" },
22
+ { value: "h2", label: "Heading 2" },
23
+ { value: "h3", label: "Heading 3" },
24
+ { value: "h4", label: "Heading 4" },
25
+ { value: "h5", label: "Heading 5" },
26
+ { value: "h6", label: "Heading 6" }
27
+ ];
28
+ const PRESET_COLORS = [
29
+ "#000000",
30
+ "#434343",
31
+ "#666666",
32
+ "#999999",
33
+ "#b7b7b7",
34
+ "#cccccc",
35
+ "#d9d9d9",
36
+ "#ffffff",
37
+ "#ff0000",
38
+ "#ff9900",
39
+ "#ffff00",
40
+ "#00ff00",
41
+ "#00ffff",
42
+ "#4a86e8",
43
+ "#9900ff",
44
+ "#ff00ff",
45
+ "#ea9999",
46
+ "#f9cb9c",
47
+ "#ffe599",
48
+ "#b6d7a8",
49
+ "#a2c4c9",
50
+ "#9fc5e8",
51
+ "#b4a7d6",
52
+ "#d5a6bd",
53
+ "#e06666",
54
+ "#f6b26b",
55
+ "#ffd966",
56
+ "#93c47d",
57
+ "#76a5af",
58
+ "#6fa8dc",
59
+ "#8e7cc3",
60
+ "#c27ba0",
61
+ "#cc0000",
62
+ "#e69138",
63
+ "#f1c232",
64
+ "#6aa84f",
65
+ "#45818e",
66
+ "#3d85c8",
67
+ "#674ea7",
68
+ "#85200c"
69
+ ];
70
+ const CustomEditor = forwardRef((props, ref) => {
71
+ const {
72
+ editorRef: editorRefProp,
73
+ data = "",
74
+ handleEditorReady,
75
+ onError,
76
+ config = {},
77
+ ...rest
78
+ } = props;
79
+ const [error, setError] = useState(null);
80
+ const [fontFamily, setFontFamily] = useState("Arial");
81
+ const [fontSize, setFontSize] = useState("14px");
82
+ const [headingFormat, setHeadingFormat] = useState("p");
83
+ const [showSourceMode, setShowSourceMode] = useState(false);
84
+ const [sourceCode, setSourceCode] = useState(data);
85
+ const [history, setHistory] = useState([data]);
86
+ const [historyIndex, setHistoryIndex] = useState(0);
87
+ const [selectedElement, setSelectedElement] = useState(null);
88
+ const [resizeHandles, setResizeHandles] = useState(null);
89
+ const [showTablePicker, setShowTablePicker] = useState(false);
90
+ const [tablePickerAnchor, setTablePickerAnchor] = useState(null);
91
+ const [textSelectionAnchor, setTextSelectionAnchor] = useState(null);
92
+ const [showTextToolbar, setShowTextToolbar] = useState(false);
93
+ const [colorPickerState, setColorPickerState] = useState(null);
94
+ const [selectedCell, setSelectedCell] = useState(null);
95
+ const [showTableToolbar, setShowTableToolbar] = useState(false);
96
+ const [tableToolbarPosition, setTableToolbarPosition] = useState(null);
97
+ const [cellProperties, setCellProperties] = useState({
98
+ borderStyle: "solid",
99
+ borderColor: "#ddd",
100
+ borderWidth: "1px",
101
+ backgroundColor: "transparent",
102
+ width: "auto",
103
+ height: "auto",
104
+ padding: "8px",
105
+ textAlign: "left",
106
+ verticalAlign: "middle"
107
+ });
108
+ const contentEditableRef = useRef(null);
109
+ const sourceCodeRef = useRef(data);
110
+ const onEditorChangeRef = useRef(props.onEditorChange);
111
+ const handleEditorReadyRef = useRef(handleEditorReady);
112
+ useEffect(() => {
113
+ onEditorChangeRef.current = props.onEditorChange;
114
+ });
115
+ useEffect(() => {
116
+ handleEditorReadyRef.current = handleEditorReady;
117
+ });
118
+ const sourceViewContentRef = useRef(data);
119
+ const fileInputRef = useRef(null);
120
+ const htmlFileInputRef = useRef(null);
121
+ const replaceImageInputRef = useRef(null);
122
+ const resizeStartRef = useRef(null);
123
+ const handlebarsMapRef = useRef({});
124
+ const apiConfig = getApiConfig();
125
+ useEffect(() => {
126
+ if (!data) return;
127
+ const { html: protectedHtml, map } = prepareForEditing(data);
128
+ handlebarsMapRef.current = map;
129
+ sourceCodeRef.current = data;
130
+ if (contentEditableRef.current && contentEditableRef.current.innerHTML !== protectedHtml) {
131
+ contentEditableRef.current.innerHTML = protectedHtml;
132
+ }
133
+ }, [data]);
134
+ useEffect(() => {
135
+ var _a;
136
+ if (contentEditableRef.current) {
137
+ try {
138
+ const { html: protectedHtml, map } = prepareForEditing(data || "");
139
+ handlebarsMapRef.current = map;
140
+ contentEditableRef.current.innerHTML = protectedHtml;
141
+ const adapter2 = {
142
+ getData: () => {
143
+ return prepareForSaving(sourceCodeRef.current, handlebarsMapRef.current);
144
+ },
145
+ setData: (newData) => {
146
+ const { html: protectedHtml2, map: map2 } = prepareForEditing(newData);
147
+ handlebarsMapRef.current = map2;
148
+ sourceCodeRef.current = newData;
149
+ if (contentEditableRef.current) {
150
+ contentEditableRef.current.innerHTML = protectedHtml2;
151
+ }
152
+ },
153
+ model: {
154
+ insertContent: (fragment) => {
155
+ execCommand("insertHTML", fragment);
156
+ }
157
+ },
158
+ data: {
159
+ processor: {
160
+ toView: (html) => html
161
+ },
162
+ toModel: (html) => html
163
+ }
164
+ };
165
+ (_a = handleEditorReadyRef.current) == null ? void 0 : _a.call(handleEditorReadyRef, adapter2);
166
+ } catch (e) {
167
+ console.error("[CustomEditor] init effect error:", e);
168
+ }
169
+ }
170
+ }, []);
171
+ const execCommand = useCallback((command, value) => {
172
+ document.execCommand(command, false, value);
173
+ if (contentEditableRef.current) {
174
+ sourceCodeRef.current = contentEditableRef.current.innerHTML;
175
+ saveToHistory();
176
+ }
177
+ }, []);
178
+ const saveToHistory = useCallback(() => {
179
+ if (contentEditableRef.current) {
180
+ const newHistory = history.slice(0, historyIndex + 1);
181
+ newHistory.push(contentEditableRef.current.innerHTML);
182
+ setHistory(newHistory.slice(-50));
183
+ setHistoryIndex(newHistory.length - 1);
184
+ }
185
+ }, [history, historyIndex]);
186
+ const handleUndo = useCallback(() => {
187
+ if (historyIndex > 0) {
188
+ const newIndex = historyIndex - 1;
189
+ setHistoryIndex(newIndex);
190
+ if (contentEditableRef.current) {
191
+ contentEditableRef.current.innerHTML = history[newIndex];
192
+ sourceCodeRef.current = history[newIndex];
193
+ }
194
+ }
195
+ }, [history, historyIndex]);
196
+ const handleRedo = useCallback(() => {
197
+ if (historyIndex < history.length - 1) {
198
+ const newIndex = historyIndex + 1;
199
+ setHistoryIndex(newIndex);
200
+ if (contentEditableRef.current) {
201
+ contentEditableRef.current.innerHTML = history[newIndex];
202
+ sourceCodeRef.current = history[newIndex];
203
+ }
204
+ }
205
+ }, [history, historyIndex]);
206
+ const handleInput = useCallback(() => {
207
+ var _a;
208
+ if (contentEditableRef.current) {
209
+ const visualHtml = contentEditableRef.current.innerHTML;
210
+ sourceCodeRef.current = prepareForSaving(visualHtml, handlebarsMapRef.current);
211
+ (_a = onEditorChangeRef.current) == null ? void 0 : _a.call(onEditorChangeRef, sourceCodeRef.current);
212
+ }
213
+ }, []);
214
+ const sanitizePastedHtml = useCallback((html) => {
215
+ const doc = new DOMParser().parseFromString(html, "text/html");
216
+ doc.querySelectorAll("span").forEach((span) => {
217
+ var _a;
218
+ const frag = document.createDocumentFragment();
219
+ while (span.firstChild) frag.appendChild(span.firstChild);
220
+ (_a = span.parentNode) == null ? void 0 : _a.replaceChild(frag, span);
221
+ });
222
+ doc.querySelectorAll("a").forEach((a) => {
223
+ var _a;
224
+ const text = document.createTextNode(a.textContent || "");
225
+ (_a = a.parentNode) == null ? void 0 : _a.replaceChild(text, a);
226
+ });
227
+ doc.querySelectorAll("[style], [class], [color], [bgcolor], [face]").forEach((el) => {
228
+ el.removeAttribute("style");
229
+ el.removeAttribute("class");
230
+ el.removeAttribute("color");
231
+ el.removeAttribute("bgcolor");
232
+ el.removeAttribute("face");
233
+ });
234
+ return doc.body.innerHTML;
235
+ }, []);
236
+ const handlePaste = useCallback((e) => {
237
+ e.preventDefault();
238
+ const html = e.clipboardData.getData("text/html");
239
+ const text = e.clipboardData.getData("text/plain");
240
+ if (html) {
241
+ execCommand("insertHTML", sanitizePastedHtml(html));
242
+ } else {
243
+ execCommand("insertText", text);
244
+ }
245
+ }, [execCommand, sanitizePastedHtml]);
246
+ const handleImageUpload = useCallback(async (file) => {
247
+ var _a;
248
+ try {
249
+ const uFiles = await uploadFiles([file], "document");
250
+ const token = getToken();
251
+ const payload = {
252
+ ...token,
253
+ "x-timezone": ((_a = token["x-timezone"]) == null ? void 0 : _a.toString()) || "",
254
+ title: file == null ? void 0 : file.name.split(".")[0],
255
+ path: "/",
256
+ is_private: true,
257
+ is_directory: false,
258
+ file_size: file.size,
259
+ is_child: false,
260
+ file_extension: file == null ? void 0 : file.name.split(".")[1],
261
+ type: "image",
262
+ mime_type: file.type,
263
+ url: `${apiConfig == null ? void 0 : apiConfig.s3BucketUrl}${uFiles[0]}`
264
+ };
265
+ await postV1Drive(payload);
266
+ execCommand("insertHTML", `<img src="${payload.url}" alt="${file.name}" style="max-width: 100%;" />`);
267
+ } catch (error2) {
268
+ console.error("Image upload failed:", error2);
269
+ onError == null ? void 0 : onError(error2);
270
+ }
271
+ }, [apiConfig, execCommand, onError]);
272
+ const handleFileChange = useCallback((e) => {
273
+ var _a;
274
+ const file = (_a = e.target.files) == null ? void 0 : _a[0];
275
+ if (file) {
276
+ handleImageUpload(file);
277
+ }
278
+ }, [handleImageUpload]);
279
+ const handleInsertLink = useCallback(() => {
280
+ const url = prompt("Enter URL:");
281
+ if (url) {
282
+ execCommand("createLink", url);
283
+ }
284
+ }, [execCommand]);
285
+ useCallback(() => {
286
+ const rows = prompt("Number of rows:", "3");
287
+ const cols = prompt("Number of columns:", "3");
288
+ if (rows && cols) {
289
+ let tableHTML = '<table border="1" style="border-collapse: collapse; width: 100%;">';
290
+ tableHTML += "<thead><tr>";
291
+ for (let i = 0; i < parseInt(cols); i++) {
292
+ tableHTML += '<th style="border: 1px solid #ddd; padding: 8px;">Header</th>';
293
+ }
294
+ tableHTML += "</tr></thead><tbody>";
295
+ for (let i = 0; i < parseInt(rows); i++) {
296
+ tableHTML += "<tr>";
297
+ for (let j = 0; j < parseInt(cols); j++) {
298
+ tableHTML += '<td style="border: 1px solid #ddd; padding: 8px;"></td>';
299
+ }
300
+ tableHTML += "</tr>";
301
+ }
302
+ tableHTML += "</tbody></table>";
303
+ execCommand("insertHTML", tableHTML);
304
+ }
305
+ }, [execCommand]);
306
+ const TablePicker = () => {
307
+ const [hoverCell, setHoverCell] = useState(null);
308
+ const maxRows = 10;
309
+ const maxCols = 10;
310
+ const buttonRect = tablePickerAnchor == null ? void 0 : tablePickerAnchor.getBoundingClientRect();
311
+ const editorContainer = document.querySelector(".custom-editor-container");
312
+ const containerRect = editorContainer == null ? void 0 : editorContainer.getBoundingClientRect();
313
+ let top = 0;
314
+ let left = 0;
315
+ if (buttonRect && containerRect) {
316
+ top = buttonRect.bottom - containerRect.top + 5;
317
+ left = buttonRect.left - containerRect.left;
318
+ }
319
+ return /* @__PURE__ */ jsxs(
320
+ Box,
321
+ {
322
+ sx: {
323
+ position: "absolute",
324
+ top: `${top}px`,
325
+ left: `${left}px`,
326
+ bgcolor: "white",
327
+ border: "1px solid #ddd",
328
+ borderRadius: 1,
329
+ p: 2,
330
+ boxShadow: 3,
331
+ zIndex: 9999
332
+ },
333
+ children: [
334
+ /* @__PURE__ */ jsx(Box, { sx: { display: "grid", gridTemplateColumns: `repeat(${maxCols}, 20px)`, gap: "2px", mb: 1 }, children: Array.from({ length: maxRows }).map(
335
+ (_, rowIndex) => Array.from({ length: maxCols }).map((_2, colIndex) => /* @__PURE__ */ jsx(
336
+ Box,
337
+ {
338
+ onMouseEnter: () => setHoverCell({ row: rowIndex + 1, col: colIndex + 1 }),
339
+ onClick: () => {
340
+ handleInsertTableFromPicker(rowIndex + 1, colIndex + 1);
341
+ setHoverCell(null);
342
+ },
343
+ sx: {
344
+ width: 20,
345
+ height: 20,
346
+ border: "1px solid #ddd",
347
+ bgcolor: hoverCell && rowIndex < hoverCell.row && colIndex < hoverCell.col ? "#1976d2" : "white",
348
+ cursor: "pointer",
349
+ "&:hover": {
350
+ bgcolor: "#1976d2"
351
+ }
352
+ }
353
+ },
354
+ `${rowIndex}-${colIndex}`
355
+ ))
356
+ ) }),
357
+ /* @__PURE__ */ jsx(Box, { sx: { textAlign: "center", fontSize: "12px", color: "#666" }, children: hoverCell ? `${hoverCell.row} × ${hoverCell.col}` : "1 × 1" })
358
+ ]
359
+ }
360
+ );
361
+ };
362
+ const handleFontFamilyChange = useCallback((e) => {
363
+ const family = e.target.value;
364
+ setFontFamily(family);
365
+ execCommand("fontName", family);
366
+ }, [execCommand]);
367
+ const handleFontSizeChange = useCallback((e) => {
368
+ var _a;
369
+ const size = e.target.value;
370
+ setFontSize(size);
371
+ document.execCommand("fontSize", false, "7");
372
+ if (contentEditableRef.current) {
373
+ const fontTags = Array.from(
374
+ contentEditableRef.current.querySelectorAll('font[size="7"]')
375
+ );
376
+ fontTags.forEach((tag) => {
377
+ var _a2;
378
+ const span = document.createElement("span");
379
+ span.style.fontSize = size;
380
+ while (tag.firstChild) span.appendChild(tag.firstChild);
381
+ (_a2 = tag.parentNode) == null ? void 0 : _a2.replaceChild(span, tag);
382
+ });
383
+ sourceCodeRef.current = contentEditableRef.current.innerHTML;
384
+ saveToHistory();
385
+ (_a = onEditorChangeRef.current) == null ? void 0 : _a.call(onEditorChangeRef, sourceCodeRef.current);
386
+ }
387
+ }, [saveToHistory]);
388
+ const handleHeadingFormatChange = useCallback((e) => {
389
+ const format = e.target.value;
390
+ setHeadingFormat(format);
391
+ execCommand("formatBlock", `<${format}>`);
392
+ }, [execCommand]);
393
+ const handleToggleSource = useCallback(() => {
394
+ var _a;
395
+ if (!showSourceMode) {
396
+ const visualHtml = ((_a = contentEditableRef.current) == null ? void 0 : _a.innerHTML) || sourceCodeRef.current || data;
397
+ const restoredHtml = prepareForSaving(visualHtml, handlebarsMapRef.current);
398
+ setSourceCode(restoredHtml);
399
+ sourceViewContentRef.current = restoredHtml;
400
+ sourceCodeRef.current = restoredHtml;
401
+ setShowSourceMode(true);
402
+ } else {
403
+ const currentSource = sourceViewContentRef.current.trim();
404
+ if (!currentSource) {
405
+ const defaultHtml = "<p><br></p>";
406
+ sourceCodeRef.current = defaultHtml;
407
+ sourceViewContentRef.current = defaultHtml;
408
+ setSourceCode(defaultHtml);
409
+ } else {
410
+ sourceCodeRef.current = currentSource;
411
+ }
412
+ setShowSourceMode(false);
413
+ }
414
+ }, [showSourceMode, data]);
415
+ const hasProcessedModeSwitch = useRef(false);
416
+ useEffect(() => {
417
+ if (!showSourceMode && contentEditableRef.current && !hasProcessedModeSwitch.current) {
418
+ hasProcessedModeSwitch.current = true;
419
+ try {
420
+ const currentSource = sourceCodeRef.current.trim();
421
+ if (!currentSource) {
422
+ const defaultHtml = "<p><br></p>";
423
+ const { html: protectedHtml, map } = prepareForEditing(defaultHtml);
424
+ handlebarsMapRef.current = map;
425
+ contentEditableRef.current.innerHTML = protectedHtml;
426
+ } else {
427
+ const { html: protectedHtml, map } = prepareForEditing(currentSource);
428
+ handlebarsMapRef.current = map;
429
+ if (!protectedHtml || protectedHtml.trim() === "") {
430
+ console.warn("Protected HTML is empty, using original source");
431
+ contentEditableRef.current.innerHTML = currentSource;
432
+ } else {
433
+ contentEditableRef.current.innerHTML = protectedHtml;
434
+ }
435
+ }
436
+ const newHistory = history.slice(0, historyIndex + 1);
437
+ newHistory.push(contentEditableRef.current.innerHTML);
438
+ setHistory(newHistory.slice(-50));
439
+ setHistoryIndex(newHistory.length - 1);
440
+ } catch (error2) {
441
+ console.error("Error updating visual mode:", error2);
442
+ if (contentEditableRef.current && sourceCodeRef.current) {
443
+ try {
444
+ contentEditableRef.current.innerHTML = sourceCodeRef.current;
445
+ } catch (innerError) {
446
+ console.error("Failed to render HTML:", innerError);
447
+ }
448
+ }
449
+ }
450
+ }
451
+ if (showSourceMode) {
452
+ hasProcessedModeSwitch.current = false;
453
+ }
454
+ }, [showSourceMode, history, historyIndex]);
455
+ const handleHtmlFileUpload = useCallback((e) => {
456
+ var _a;
457
+ const file = (_a = e.target.files) == null ? void 0 : _a[0];
458
+ if (!file) return;
459
+ const reader = new FileReader();
460
+ reader.onload = (event) => {
461
+ var _a2;
462
+ const htmlContent = (_a2 = event.target) == null ? void 0 : _a2.result;
463
+ if (htmlContent) {
464
+ setSourceCode(htmlContent);
465
+ sourceViewContentRef.current = htmlContent;
466
+ sourceCodeRef.current = htmlContent;
467
+ if (!showSourceMode && contentEditableRef.current) {
468
+ try {
469
+ const { html: protectedHtml, map } = prepareForEditing(htmlContent);
470
+ handlebarsMapRef.current = map;
471
+ contentEditableRef.current.innerHTML = protectedHtml;
472
+ saveToHistory();
473
+ } catch (error2) {
474
+ console.error("Error processing uploaded HTML:", error2);
475
+ alert("There was an error processing the HTML file. Please check the file and try again.");
476
+ }
477
+ }
478
+ }
479
+ };
480
+ reader.onerror = () => {
481
+ alert("Failed to read HTML file. Please try again.");
482
+ };
483
+ reader.readAsText(file);
484
+ e.target.value = "";
485
+ }, [showSourceMode, saveToHistory]);
486
+ const handleSourceCodeChange = useCallback((e) => {
487
+ const newCode = e.target.value;
488
+ setSourceCode(newCode);
489
+ sourceViewContentRef.current = newCode;
490
+ }, []);
491
+ const handleContentClick = useCallback((e) => {
492
+ var _a;
493
+ const target = e.target;
494
+ let elementToSelect = null;
495
+ if (target.tagName === "IMG") {
496
+ e.preventDefault();
497
+ e.stopPropagation();
498
+ elementToSelect = target;
499
+ } else if (target.tagName === "TABLE") {
500
+ e.preventDefault();
501
+ e.stopPropagation();
502
+ elementToSelect = target;
503
+ } else if (target.tagName === "TD" || target.tagName === "TH" || target.tagName === "TR" || target.tagName === "TBODY" || target.tagName === "THEAD") {
504
+ e.preventDefault();
505
+ e.stopPropagation();
506
+ elementToSelect = target.closest("table");
507
+ }
508
+ if (elementToSelect) {
509
+ setSelectedElement(elementToSelect);
510
+ const rect = elementToSelect.getBoundingClientRect();
511
+ const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
512
+ if (containerRect) {
513
+ setResizeHandles({
514
+ x: rect.left - containerRect.left,
515
+ y: rect.top - containerRect.top,
516
+ width: rect.width,
517
+ height: rect.height
518
+ });
519
+ }
520
+ } else {
521
+ setSelectedElement(null);
522
+ setResizeHandles(null);
523
+ }
524
+ }, []);
525
+ const handleDeleteSelected = useCallback(() => {
526
+ if (selectedElement) {
527
+ selectedElement.remove();
528
+ setSelectedElement(null);
529
+ setResizeHandles(null);
530
+ if (contentEditableRef.current) {
531
+ sourceCodeRef.current = contentEditableRef.current.innerHTML;
532
+ saveToHistory();
533
+ }
534
+ }
535
+ }, [selectedElement, saveToHistory]);
536
+ const handleReplaceImage = useCallback(async (file) => {
537
+ var _a;
538
+ if (!selectedElement || selectedElement.tagName !== "IMG") return;
539
+ try {
540
+ const uFiles = await uploadFiles([file], "document");
541
+ const token = getToken();
542
+ const payload = {
543
+ ...token,
544
+ "x-timezone": ((_a = token["x-timezone"]) == null ? void 0 : _a.toString()) || "",
545
+ title: file == null ? void 0 : file.name.split(".")[0],
546
+ path: "/",
547
+ is_private: true,
548
+ is_directory: false,
549
+ file_size: file.size,
550
+ is_child: false,
551
+ file_extension: file == null ? void 0 : file.name.split(".")[1],
552
+ type: "image",
553
+ mime_type: file.type,
554
+ url: `${apiConfig == null ? void 0 : apiConfig.s3BucketUrl}${uFiles[0]}`
555
+ };
556
+ await postV1Drive(payload);
557
+ selectedElement.src = payload.url;
558
+ if (contentEditableRef.current) {
559
+ sourceCodeRef.current = contentEditableRef.current.innerHTML;
560
+ saveToHistory();
561
+ }
562
+ } catch (error2) {
563
+ console.error("Image upload failed:", error2);
564
+ onError == null ? void 0 : onError(error2);
565
+ }
566
+ }, [selectedElement, apiConfig, onError, saveToHistory]);
567
+ const handleReplaceImageChange = useCallback((e) => {
568
+ var _a;
569
+ const file = (_a = e.target.files) == null ? void 0 : _a[0];
570
+ if (file) {
571
+ handleReplaceImage(file);
572
+ }
573
+ }, [handleReplaceImage]);
574
+ const handleTextSelection = useCallback(() => {
575
+ var _a;
576
+ const selection = window.getSelection();
577
+ if (selection && !selection.isCollapsed && selection.rangeCount > 0) {
578
+ const range = selection.getRangeAt(0);
579
+ const rect = range.getBoundingClientRect();
580
+ const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
581
+ if (containerRect && rect.width > 0) {
582
+ setTextSelectionAnchor({
583
+ x: rect.left + rect.width / 2,
584
+ y: rect.top - 10
585
+ });
586
+ setShowTextToolbar(true);
587
+ }
588
+ let node = selection.anchorNode;
589
+ if ((node == null ? void 0 : node.nodeType) === Node.TEXT_NODE) node = node.parentElement;
590
+ let detectedSize = null;
591
+ let current = node instanceof HTMLElement ? node : null;
592
+ while (current && current !== contentEditableRef.current) {
593
+ if (current.style.fontSize) {
594
+ detectedSize = current.style.fontSize;
595
+ break;
596
+ }
597
+ current = current.parentElement;
598
+ }
599
+ setFontSize(detectedSize ?? "14px");
600
+ } else {
601
+ setShowTextToolbar(false);
602
+ setTextSelectionAnchor(null);
603
+ }
604
+ }, []);
605
+ const handleResizeStart = useCallback((e, handle) => {
606
+ e.preventDefault();
607
+ e.stopPropagation();
608
+ if (selectedElement && resizeHandles) {
609
+ resizeStartRef.current = {
610
+ x: e.clientX,
611
+ y: e.clientY,
612
+ width: resizeHandles.width,
613
+ height: resizeHandles.height,
614
+ handle
615
+ };
616
+ document.addEventListener("mousemove", handleResizeMove);
617
+ document.addEventListener("mouseup", handleResizeEnd);
618
+ }
619
+ }, [selectedElement, resizeHandles]);
620
+ const handleResizeMove = useCallback((e) => {
621
+ var _a;
622
+ if (!resizeStartRef.current || !selectedElement || !resizeHandles) return;
623
+ const { x, y, width, height, handle } = resizeStartRef.current;
624
+ const deltaX = e.clientX - x;
625
+ const deltaY = e.clientY - y;
626
+ let newWidth = width;
627
+ let newHeight = height;
628
+ if (handle.includes("e")) {
629
+ newWidth = Math.max(50, width + deltaX);
630
+ }
631
+ if (handle.includes("w")) {
632
+ newWidth = Math.max(50, width - deltaX);
633
+ }
634
+ if (handle.includes("s")) {
635
+ newHeight = Math.max(50, height + deltaY);
636
+ }
637
+ if (handle.includes("n")) {
638
+ newHeight = Math.max(50, height - deltaY);
639
+ }
640
+ if (handle.length === 2 && selectedElement.tagName === "IMG") {
641
+ const aspectRatio = width / height;
642
+ newHeight = newWidth / aspectRatio;
643
+ }
644
+ selectedElement.style.width = `${newWidth}px`;
645
+ if (selectedElement.tagName === "IMG" || selectedElement.tagName === "TABLE") {
646
+ selectedElement.style.height = `${newHeight}px`;
647
+ }
648
+ const rect = selectedElement.getBoundingClientRect();
649
+ const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
650
+ if (containerRect) {
651
+ setResizeHandles({
652
+ x: rect.left - containerRect.left,
653
+ y: rect.top - containerRect.top,
654
+ width: rect.width,
655
+ height: rect.height
656
+ });
657
+ }
658
+ }, [selectedElement, resizeHandles]);
659
+ const handleResizeEnd = useCallback(() => {
660
+ document.removeEventListener("mousemove", handleResizeMove);
661
+ document.removeEventListener("mouseup", handleResizeEnd);
662
+ resizeStartRef.current = null;
663
+ if (contentEditableRef.current) {
664
+ sourceCodeRef.current = contentEditableRef.current.innerHTML;
665
+ saveToHistory();
666
+ }
667
+ }, [handleResizeMove, saveToHistory]);
668
+ const handleShowTablePicker = useCallback((e) => {
669
+ setTablePickerAnchor(e.currentTarget);
670
+ setShowTablePicker(true);
671
+ }, []);
672
+ const handleInsertTableFromPicker = useCallback((rows, cols) => {
673
+ if (contentEditableRef.current) {
674
+ contentEditableRef.current.focus();
675
+ }
676
+ let tableHTML = '<table border="1" style="border-collapse: collapse; width: 100%; margin: 10px 0;">';
677
+ tableHTML += "<tbody>";
678
+ for (let i = 0; i < rows; i++) {
679
+ tableHTML += "<tr>";
680
+ for (let j = 0; j < cols; j++) {
681
+ tableHTML += '<td style="border: 1px solid #ddd; padding: 8px; min-width: 50px;"></td>';
682
+ }
683
+ tableHTML += "</tr>";
684
+ }
685
+ tableHTML += "</tbody></table><p><br></p>";
686
+ document.execCommand("insertHTML", false, tableHTML);
687
+ if (contentEditableRef.current) {
688
+ sourceCodeRef.current = contentEditableRef.current.innerHTML;
689
+ saveToHistory();
690
+ }
691
+ setShowTablePicker(false);
692
+ setTablePickerAnchor(null);
693
+ }, [saveToHistory]);
694
+ const adapter = {
695
+ getData: () => {
696
+ return prepareForSaving(sourceCodeRef.current, handlebarsMapRef.current);
697
+ },
698
+ setData: (newData) => {
699
+ const { html: protectedHtml, map } = prepareForEditing(newData);
700
+ handlebarsMapRef.current = map;
701
+ sourceCodeRef.current = newData;
702
+ if (contentEditableRef.current) {
703
+ contentEditableRef.current.innerHTML = protectedHtml;
704
+ }
705
+ },
706
+ model: {
707
+ insertContent: (fragment) => {
708
+ execCommand("insertHTML", fragment);
709
+ }
710
+ },
711
+ data: {
712
+ processor: {
713
+ toView: (html) => html
714
+ },
715
+ toModel: (html) => html
716
+ }
717
+ };
718
+ useImperativeHandle(ref, () => adapter, []);
719
+ useEffect(() => {
720
+ if (editorRefProp) {
721
+ editorRefProp.current = adapter;
722
+ }
723
+ }, [editorRefProp]);
724
+ const toolbarCmd = (command, value) => (e) => {
725
+ e.preventDefault();
726
+ execCommand(command, value);
727
+ };
728
+ if (error) {
729
+ return /* @__PURE__ */ jsxs("div", { className: "editor-error-container", children: [
730
+ /* @__PURE__ */ jsxs("div", { className: "editor-error-message", children: [
731
+ "Editor Error: ",
732
+ error.message
733
+ ] }),
734
+ /* @__PURE__ */ jsx("button", { onClick: () => setError(null), className: "editor-retry-button", children: "Retry" })
735
+ ] });
736
+ }
737
+ return /* @__PURE__ */ jsxs("div", { className: "custom-editor-container", children: [
738
+ /* @__PURE__ */ jsxs(Box, { sx: {
739
+ display: "flex",
740
+ alignItems: "center",
741
+ gap: 2,
742
+ px: 2,
743
+ py: 0.5,
744
+ borderBottom: "1px solid #ddd",
745
+ bgcolor: "#f8f9fa",
746
+ fontSize: "13px"
747
+ }, children: [
748
+ /* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Edit" }),
749
+ /* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "View" }),
750
+ /* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Insert" }),
751
+ /* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Format" }),
752
+ /* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Help" })
753
+ ] }),
754
+ /* @__PURE__ */ jsxs(Box, { sx: {
755
+ display: "flex",
756
+ flexWrap: "wrap",
757
+ gap: 0.5,
758
+ p: 1,
759
+ borderBottom: "1px solid #ddd",
760
+ bgcolor: "#f5f5f5",
761
+ alignItems: "center"
762
+ }, children: [
763
+ /* @__PURE__ */ jsx(Tooltip, { title: showSourceMode ? "Switch to Visual" : "Switch to Source", children: /* @__PURE__ */ jsxs(
764
+ Box,
765
+ {
766
+ onClick: handleToggleSource,
767
+ sx: {
768
+ display: "flex",
769
+ alignItems: "center",
770
+ gap: 0.5,
771
+ px: 1,
772
+ py: 0.5,
773
+ cursor: "pointer",
774
+ borderRadius: 1,
775
+ border: "1px solid",
776
+ borderColor: showSourceMode ? "primary.main" : "transparent",
777
+ bgcolor: showSourceMode ? "primary.50" : "transparent",
778
+ color: showSourceMode ? "primary.main" : "text.secondary",
779
+ "&:hover": {
780
+ bgcolor: showSourceMode ? "primary.100" : "grey.200"
781
+ },
782
+ transition: "all 0.15s ease",
783
+ userSelect: "none"
784
+ },
785
+ children: [
786
+ /* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
787
+ /* @__PURE__ */ jsx("path", { d: "M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2Z", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
788
+ /* @__PURE__ */ jsx("polyline", { points: "14,2 14,8 20,8", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
789
+ /* @__PURE__ */ jsx("path", { d: "M9 13L7 15L9 17", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }),
790
+ /* @__PURE__ */ jsx("path", { d: "M15 13L17 15L15 17", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }),
791
+ /* @__PURE__ */ jsx("line", { x1: "13", y1: "12", x2: "11", y2: "18", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
792
+ ] }),
793
+ /* @__PURE__ */ jsx("span", { style: { fontSize: "13px", fontWeight: 500 }, children: "Source" })
794
+ ]
795
+ }
796
+ ) }),
797
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
798
+ /* @__PURE__ */ jsx(Tooltip, { title: "Undo", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleUndo, disabled: historyIndex === 0, children: /* @__PURE__ */ jsx(Undo, { fontSize: "small" }) }) }),
799
+ /* @__PURE__ */ jsx(Tooltip, { title: "Redo", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleRedo, disabled: historyIndex === history.length - 1, children: /* @__PURE__ */ jsx(Redo, { fontSize: "small" }) }) }),
800
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
801
+ /* @__PURE__ */ jsx(
802
+ Select,
803
+ {
804
+ value: headingFormat,
805
+ onChange: handleHeadingFormatChange,
806
+ size: "small",
807
+ sx: { minWidth: 100, height: 28, fontSize: "12px" },
808
+ children: HEADING_FORMATS.map((format) => /* @__PURE__ */ jsx(MenuItem, { value: format.value, children: format.label }, format.value))
809
+ }
810
+ ),
811
+ /* @__PURE__ */ jsx(
812
+ Select,
813
+ {
814
+ value: fontFamily,
815
+ onChange: handleFontFamilyChange,
816
+ size: "small",
817
+ sx: { minWidth: 120, height: 28, fontSize: "12px" },
818
+ children: FONT_FAMILIES.map((font) => /* @__PURE__ */ jsx(MenuItem, { value: font, style: { fontFamily: font }, children: font }, font))
819
+ }
820
+ ),
821
+ /* @__PURE__ */ jsx(
822
+ Select,
823
+ {
824
+ value: fontSize,
825
+ onChange: handleFontSizeChange,
826
+ size: "small",
827
+ sx: { minWidth: 70, height: 28, fontSize: "12px" },
828
+ children: FONT_SIZES.map((size) => /* @__PURE__ */ jsx(MenuItem, { value: size, children: size }, size))
829
+ }
830
+ ),
831
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
832
+ /* @__PURE__ */ jsx(Tooltip, { title: "Bold", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("bold"), children: /* @__PURE__ */ jsx(FormatBold, { fontSize: "small" }) }) }),
833
+ /* @__PURE__ */ jsx(Tooltip, { title: "Italic", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("italic"), children: /* @__PURE__ */ jsx(FormatItalic, { fontSize: "small" }) }) }),
834
+ /* @__PURE__ */ jsx(Tooltip, { title: "Underline", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("underline"), children: /* @__PURE__ */ jsx(FormatUnderlined, { fontSize: "small" }) }) }),
835
+ /* @__PURE__ */ jsx(Tooltip, { title: "Strikethrough", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("strikeThrough"), children: /* @__PURE__ */ jsx(FormatStrikethrough, { fontSize: "small" }) }) }),
836
+ /* @__PURE__ */ jsx(Tooltip, { title: "Subscript", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("subscript"), children: /* @__PURE__ */ jsx(Subscript, { fontSize: "small" }) }) }),
837
+ /* @__PURE__ */ jsx(Tooltip, { title: "Superscript", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("superscript"), children: /* @__PURE__ */ jsx(Superscript, { fontSize: "small" }) }) }),
838
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
839
+ /* @__PURE__ */ jsx(Tooltip, { title: "Text Color", children: /* @__PURE__ */ jsx(
840
+ IconButton,
841
+ {
842
+ size: "small",
843
+ onMouseDown: (e) => {
844
+ e.preventDefault();
845
+ setColorPickerState({ anchor: e.currentTarget, type: "text" });
846
+ },
847
+ style: { width: 32, height: 28, border: "1px solid #ddd", borderRadius: "4px", backgroundColor: "white" },
848
+ children: /* @__PURE__ */ jsx("span", { style: { fontSize: "16px", fontWeight: "bold", color: "#000" }, children: "A" })
849
+ }
850
+ ) }),
851
+ /* @__PURE__ */ jsx(Tooltip, { title: "Background Color", children: /* @__PURE__ */ jsx(
852
+ IconButton,
853
+ {
854
+ size: "small",
855
+ onMouseDown: (e) => {
856
+ e.preventDefault();
857
+ setColorPickerState({ anchor: e.currentTarget, type: "bg" });
858
+ },
859
+ style: { width: 32, height: 28, border: "1px solid #ddd", borderRadius: "4px", backgroundColor: "#fffde7" },
860
+ children: /* @__PURE__ */ jsx("span", { style: { fontSize: "16px", fontWeight: "bold", color: "#000" }, children: "A" })
861
+ }
862
+ ) }),
863
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
864
+ /* @__PURE__ */ jsx(Tooltip, { title: "Align Left", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyLeft"), children: /* @__PURE__ */ jsx(FormatAlignLeft, { fontSize: "small" }) }) }),
865
+ /* @__PURE__ */ jsx(Tooltip, { title: "Align Center", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyCenter"), children: /* @__PURE__ */ jsx(FormatAlignCenter, { fontSize: "small" }) }) }),
866
+ /* @__PURE__ */ jsx(Tooltip, { title: "Align Right", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyRight"), children: /* @__PURE__ */ jsx(FormatAlignRight, { fontSize: "small" }) }) }),
867
+ /* @__PURE__ */ jsx(Tooltip, { title: "Justify", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyFull"), children: /* @__PURE__ */ jsx(FormatAlignJustify, { fontSize: "small" }) }) }),
868
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
869
+ /* @__PURE__ */ jsx(Tooltip, { title: "Bullet List", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("insertUnorderedList"), children: /* @__PURE__ */ jsx(FormatListBulleted, { fontSize: "small" }) }) }),
870
+ /* @__PURE__ */ jsx(Tooltip, { title: "Numbered List", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("insertOrderedList"), children: /* @__PURE__ */ jsx(FormatListNumbered, { fontSize: "small" }) }) }),
871
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
872
+ /* @__PURE__ */ jsx(Tooltip, { title: "Insert Link", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleInsertLink, children: /* @__PURE__ */ jsx(Link, { fontSize: "small" }) }) }),
873
+ /* @__PURE__ */ jsx(Tooltip, { title: "Insert Image", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => {
874
+ var _a;
875
+ return (_a = fileInputRef.current) == null ? void 0 : _a.click();
876
+ }, children: /* @__PURE__ */ jsx(Image, { fontSize: "small" }) }) }),
877
+ /* @__PURE__ */ jsx(Tooltip, { title: "Insert Table", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleShowTablePicker, children: /* @__PURE__ */ jsx(TableChart, { fontSize: "small" }) }) }),
878
+ /* @__PURE__ */ jsx(Tooltip, { title: "Code", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("formatBlock", "<pre>"), children: /* @__PURE__ */ jsx(Code, { fontSize: "small" }) }) })
879
+ ] }),
880
+ /* @__PURE__ */ jsx(
881
+ "input",
882
+ {
883
+ ref: fileInputRef,
884
+ type: "file",
885
+ accept: "image/*",
886
+ style: { display: "none" },
887
+ onChange: handleFileChange
888
+ }
889
+ ),
890
+ /* @__PURE__ */ jsx(
891
+ "input",
892
+ {
893
+ ref: htmlFileInputRef,
894
+ type: "file",
895
+ accept: ".html,.htm,text/html",
896
+ style: { display: "none" },
897
+ onChange: handleHtmlFileUpload
898
+ }
899
+ ),
900
+ /* @__PURE__ */ jsx(
901
+ "input",
902
+ {
903
+ ref: replaceImageInputRef,
904
+ type: "file",
905
+ accept: "image/*",
906
+ style: { display: "none" },
907
+ onChange: handleReplaceImageChange
908
+ }
909
+ ),
910
+ showSourceMode ? /* @__PURE__ */ jsx(
911
+ "textarea",
912
+ {
913
+ value: sourceCode,
914
+ onChange: handleSourceCodeChange,
915
+ className: "custom-editor-source",
916
+ style: {
917
+ width: "100%",
918
+ minHeight: "300px",
919
+ padding: "16px",
920
+ border: "none",
921
+ outline: "none",
922
+ fontFamily: "Courier New, monospace",
923
+ fontSize: "13px",
924
+ lineHeight: "1.5",
925
+ resize: "vertical"
926
+ }
927
+ }
928
+ ) : /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
929
+ /* @__PURE__ */ jsx(
930
+ "div",
931
+ {
932
+ ref: contentEditableRef,
933
+ contentEditable: true,
934
+ className: "editor-content",
935
+ onInput: handleInput,
936
+ onPaste: handlePaste,
937
+ onClick: handleContentClick,
938
+ onMouseUp: handleTextSelection,
939
+ onKeyUp: handleTextSelection,
940
+ style: {
941
+ minHeight: "300px",
942
+ padding: "16px",
943
+ border: "1px solid #ddd",
944
+ borderTop: "none",
945
+ outline: "none",
946
+ fontFamily: "inherit",
947
+ fontSize: "inherit",
948
+ lineHeight: "1.6",
949
+ backgroundColor: "white"
950
+ },
951
+ ...rest
952
+ }
953
+ ),
954
+ selectedElement && resizeHandles && /* @__PURE__ */ jsxs(
955
+ "div",
956
+ {
957
+ style: {
958
+ position: "absolute",
959
+ left: resizeHandles.x,
960
+ top: resizeHandles.y,
961
+ width: resizeHandles.width,
962
+ height: resizeHandles.height,
963
+ border: "2px solid #1976d2",
964
+ pointerEvents: "none",
965
+ zIndex: 1e3
966
+ },
967
+ children: [
968
+ /* @__PURE__ */ jsxs(
969
+ Box,
970
+ {
971
+ sx: {
972
+ position: "absolute",
973
+ top: -36,
974
+ left: 0,
975
+ display: "flex",
976
+ gap: 0.5,
977
+ bgcolor: "white",
978
+ border: "1px solid #ddd",
979
+ borderRadius: 1,
980
+ p: 0.25,
981
+ boxShadow: 2,
982
+ pointerEvents: "auto"
983
+ },
984
+ children: [
985
+ selectedElement.tagName === "IMG" && /* @__PURE__ */ jsx(Tooltip, { title: "Replace Image", children: /* @__PURE__ */ jsx(
986
+ IconButton,
987
+ {
988
+ size: "small",
989
+ onClick: () => {
990
+ var _a;
991
+ return (_a = replaceImageInputRef.current) == null ? void 0 : _a.click();
992
+ },
993
+ sx: { width: 22, height: 22 },
994
+ children: /* @__PURE__ */ jsx(SwapHoriz, { sx: { fontSize: 14 } })
995
+ }
996
+ ) }),
997
+ selectedElement.tagName === "TABLE" && /* @__PURE__ */ jsxs(Fragment, { children: [
998
+ /* @__PURE__ */ jsx(Tooltip, { title: "Add Row", children: /* @__PURE__ */ jsx(
999
+ IconButton,
1000
+ {
1001
+ size: "small",
1002
+ onClick: () => {
1003
+ const tbody = selectedElement.querySelector("tbody");
1004
+ if (tbody) {
1005
+ const colCount = selectedElement.querySelectorAll("tr:first-child td, tr:first-child th").length || 1;
1006
+ const tr = document.createElement("tr");
1007
+ for (let i = 0; i < colCount; i++) {
1008
+ const td = document.createElement("td");
1009
+ td.style.cssText = "border: 1px solid #ddd; padding: 8px; min-width: 50px;";
1010
+ tr.appendChild(td);
1011
+ }
1012
+ tbody.appendChild(tr);
1013
+ if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
1014
+ }
1015
+ },
1016
+ sx: { width: 22, height: 22 },
1017
+ children: /* @__PURE__ */ jsx(AddCircleOutline, { sx: { fontSize: 14 } })
1018
+ }
1019
+ ) }),
1020
+ /* @__PURE__ */ jsx(Tooltip, { title: "Delete Row", children: /* @__PURE__ */ jsx(
1021
+ IconButton,
1022
+ {
1023
+ size: "small",
1024
+ onClick: () => {
1025
+ const rows = selectedElement.querySelectorAll("tbody tr");
1026
+ if (rows.length > 1) {
1027
+ rows[rows.length - 1].remove();
1028
+ if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
1029
+ }
1030
+ },
1031
+ sx: { width: 22, height: 22 },
1032
+ children: /* @__PURE__ */ jsx(RemoveCircleOutline, { sx: { fontSize: 14 } })
1033
+ }
1034
+ ) }),
1035
+ /* @__PURE__ */ jsx(Tooltip, { title: "Add Column", children: /* @__PURE__ */ jsx(
1036
+ IconButton,
1037
+ {
1038
+ size: "small",
1039
+ onClick: () => {
1040
+ selectedElement.querySelectorAll("tr").forEach((tr) => {
1041
+ const isHeader = tr.closest("thead") !== null;
1042
+ const cell = document.createElement(isHeader ? "th" : "td");
1043
+ cell.style.cssText = "border: 1px solid #ddd; padding: 8px; min-width: 50px;";
1044
+ tr.appendChild(cell);
1045
+ });
1046
+ if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
1047
+ },
1048
+ sx: { width: 22, height: 22 },
1049
+ children: /* @__PURE__ */ jsx(AddCircleOutline, { sx: { fontSize: 14, transform: "rotate(90deg)" } })
1050
+ }
1051
+ ) }),
1052
+ /* @__PURE__ */ jsx(Tooltip, { title: "Delete Column", children: /* @__PURE__ */ jsx(
1053
+ IconButton,
1054
+ {
1055
+ size: "small",
1056
+ onClick: () => {
1057
+ var _a;
1058
+ const allRows = selectedElement.querySelectorAll("tr");
1059
+ const colCount = ((_a = allRows[0]) == null ? void 0 : _a.children.length) || 0;
1060
+ if (colCount > 1) {
1061
+ allRows.forEach((tr) => {
1062
+ if (tr.lastElementChild) tr.removeChild(tr.lastElementChild);
1063
+ });
1064
+ if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
1065
+ }
1066
+ },
1067
+ sx: { width: 22, height: 22 },
1068
+ children: /* @__PURE__ */ jsx(RemoveCircleOutline, { sx: { fontSize: 14, transform: "rotate(90deg)" } })
1069
+ }
1070
+ ) })
1071
+ ] }),
1072
+ /* @__PURE__ */ jsx(Tooltip, { title: "Delete", children: /* @__PURE__ */ jsx(
1073
+ IconButton,
1074
+ {
1075
+ size: "small",
1076
+ onClick: handleDeleteSelected,
1077
+ sx: {
1078
+ width: 22,
1079
+ height: 22,
1080
+ color: "#f44336",
1081
+ "&:hover": { bgcolor: "#ffebee" }
1082
+ },
1083
+ children: /* @__PURE__ */ jsx(Close, { sx: { fontSize: 14 } })
1084
+ }
1085
+ ) })
1086
+ ]
1087
+ }
1088
+ ),
1089
+ ["nw", "n", "ne", "e", "se", "s", "sw", "w"].map((handle) => /* @__PURE__ */ jsx(
1090
+ "div",
1091
+ {
1092
+ onMouseDown: (e) => handleResizeStart(e, handle),
1093
+ style: {
1094
+ position: "absolute",
1095
+ width: 8,
1096
+ height: 8,
1097
+ backgroundColor: "#1976d2",
1098
+ border: "1px solid white",
1099
+ pointerEvents: "auto",
1100
+ cursor: `${handle}-resize`,
1101
+ ...handle === "nw" && { top: -4, left: -4 },
1102
+ ...handle === "n" && { top: -4, left: "50%", transform: "translateX(-50%)" },
1103
+ ...handle === "ne" && { top: -4, right: -4 },
1104
+ ...handle === "e" && { top: "50%", right: -4, transform: "translateY(-50%)" },
1105
+ ...handle === "se" && { bottom: -4, right: -4 },
1106
+ ...handle === "s" && { bottom: -4, left: "50%", transform: "translateX(-50%)" },
1107
+ ...handle === "sw" && { bottom: -4, left: -4 },
1108
+ ...handle === "w" && { top: "50%", left: -4, transform: "translateY(-50%)" }
1109
+ }
1110
+ },
1111
+ handle
1112
+ ))
1113
+ ]
1114
+ }
1115
+ ),
1116
+ showTextToolbar && textSelectionAnchor && /* @__PURE__ */ jsxs(
1117
+ Box,
1118
+ {
1119
+ sx: {
1120
+ position: "fixed",
1121
+ left: textSelectionAnchor.x,
1122
+ top: textSelectionAnchor.y,
1123
+ transform: "translate(-50%, -100%)",
1124
+ display: "flex",
1125
+ gap: 0.5,
1126
+ bgcolor: "#333",
1127
+ color: "white",
1128
+ borderRadius: 1,
1129
+ p: 0.5,
1130
+ boxShadow: 3,
1131
+ zIndex: 1e4
1132
+ },
1133
+ children: [
1134
+ /* @__PURE__ */ jsx(Tooltip, { title: "Bold", children: /* @__PURE__ */ jsx(
1135
+ IconButton,
1136
+ {
1137
+ size: "small",
1138
+ onMouseDown: toolbarCmd("bold"),
1139
+ sx: { color: "white", width: 28, height: 28 },
1140
+ children: /* @__PURE__ */ jsx(FormatBold, { fontSize: "small" })
1141
+ }
1142
+ ) }),
1143
+ /* @__PURE__ */ jsx(Tooltip, { title: "Italic", children: /* @__PURE__ */ jsx(
1144
+ IconButton,
1145
+ {
1146
+ size: "small",
1147
+ onMouseDown: toolbarCmd("italic"),
1148
+ sx: { color: "white", width: 28, height: 28 },
1149
+ children: /* @__PURE__ */ jsx(FormatItalic, { fontSize: "small" })
1150
+ }
1151
+ ) }),
1152
+ /* @__PURE__ */ jsx(Tooltip, { title: "Underline", children: /* @__PURE__ */ jsx(
1153
+ IconButton,
1154
+ {
1155
+ size: "small",
1156
+ onMouseDown: toolbarCmd("underline"),
1157
+ sx: { color: "white", width: 28, height: 28 },
1158
+ children: /* @__PURE__ */ jsx(FormatUnderlined, { fontSize: "small" })
1159
+ }
1160
+ ) }),
1161
+ /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { bgcolor: "rgba(255,255,255,0.2)", mx: 0.5 } }),
1162
+ /* @__PURE__ */ jsx(Tooltip, { title: "Text Color", children: /* @__PURE__ */ jsx(
1163
+ IconButton,
1164
+ {
1165
+ size: "small",
1166
+ sx: { color: "white", width: 28, height: 28 },
1167
+ onMouseDown: (e) => {
1168
+ e.preventDefault();
1169
+ setColorPickerState({ anchor: e.currentTarget, type: "text" });
1170
+ },
1171
+ children: /* @__PURE__ */ jsx("span", { style: { fontSize: "14px", fontWeight: "bold" }, children: "A" })
1172
+ }
1173
+ ) }),
1174
+ /* @__PURE__ */ jsx(Tooltip, { title: "Font Size", children: /* @__PURE__ */ jsx(
1175
+ Select,
1176
+ {
1177
+ size: "small",
1178
+ defaultValue: "14px",
1179
+ onChange: handleFontSizeChange,
1180
+ sx: {
1181
+ color: "white",
1182
+ height: 28,
1183
+ minWidth: 70,
1184
+ "& .MuiOutlinedInput-notchedOutline": { border: "none" },
1185
+ "& .MuiSvgIcon-root": { color: "white" }
1186
+ },
1187
+ children: FONT_SIZES.map((size) => /* @__PURE__ */ jsx(MenuItem, { value: size, children: size }, size))
1188
+ }
1189
+ ) })
1190
+ ]
1191
+ }
1192
+ )
1193
+ ] }),
1194
+ colorPickerState && /* @__PURE__ */ jsx(
1195
+ Popover,
1196
+ {
1197
+ open: true,
1198
+ anchorEl: colorPickerState.anchor,
1199
+ onClose: () => setColorPickerState(null),
1200
+ disableAutoFocus: true,
1201
+ disableEnforceFocus: true,
1202
+ anchorOrigin: { vertical: "bottom", horizontal: "left" },
1203
+ transformOrigin: { vertical: "top", horizontal: "left" },
1204
+ children: /* @__PURE__ */ jsx(Box, { sx: { p: 1 }, children: /* @__PURE__ */ jsx(Box, { sx: { display: "grid", gridTemplateColumns: "repeat(8, 20px)", gap: "3px" }, children: PRESET_COLORS.map((color) => /* @__PURE__ */ jsx(
1205
+ Box,
1206
+ {
1207
+ onMouseDown: (e) => {
1208
+ e.preventDefault();
1209
+ if (colorPickerState.type === "text") {
1210
+ execCommand("foreColor", color);
1211
+ } else {
1212
+ execCommand("hiliteColor", color);
1213
+ }
1214
+ setColorPickerState(null);
1215
+ },
1216
+ sx: {
1217
+ width: 20,
1218
+ height: 20,
1219
+ bgcolor: color,
1220
+ cursor: "pointer",
1221
+ border: "1px solid rgba(0,0,0,0.15)",
1222
+ borderRadius: "2px",
1223
+ "&:hover": { transform: "scale(1.3)", zIndex: 1, position: "relative" }
1224
+ }
1225
+ },
1226
+ color
1227
+ )) }) })
1228
+ }
1229
+ ),
1230
+ showTablePicker && tablePickerAnchor && /* @__PURE__ */ jsxs(Fragment, { children: [
1231
+ /* @__PURE__ */ jsx(
1232
+ Box,
1233
+ {
1234
+ onClick: () => {
1235
+ setShowTablePicker(false);
1236
+ setTablePickerAnchor(null);
1237
+ },
1238
+ sx: {
1239
+ position: "fixed",
1240
+ top: 0,
1241
+ left: 0,
1242
+ right: 0,
1243
+ bottom: 0,
1244
+ zIndex: 9998
1245
+ }
1246
+ }
1247
+ ),
1248
+ /* @__PURE__ */ jsx(TablePicker, {})
1249
+ ] })
1250
+ ] });
1251
+ });
1252
+ CustomEditor.displayName = "CustomEditor";
1253
+ export {
1254
+ CustomEditor,
1255
+ CustomEditor as default
1256
+ };
1257
+ //# sourceMappingURL=custom-editor-DNqIxK5s.esm.js.map