@erpsquad/common 2.0.0 → 2.0.2

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 (1395) 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-Bd-pW9_C.js +305 -0
  4. package/dist/chunks/AuthContext-Bd-pW9_C.js.map +1 -0
  5. package/dist/chunks/AuthContext-Cuh3fG0O.esm.js +306 -0
  6. package/dist/chunks/AuthContext-Cuh3fG0O.esm.js.map +1 -0
  7. package/dist/chunks/DonutChart-VApw6LQF.js +111 -0
  8. package/dist/chunks/DonutChart-VApw6LQF.js.map +1 -0
  9. package/dist/chunks/DonutChart-nycnaqkH.esm.js +95 -0
  10. package/dist/chunks/DonutChart-nycnaqkH.esm.js.map +1 -0
  11. package/dist/chunks/DynamicDependentField-66AbpCYH.esm.js +128 -0
  12. package/dist/chunks/DynamicDependentField-66AbpCYH.esm.js.map +1 -0
  13. package/dist/chunks/DynamicDependentField-BgIGaefz.js +127 -0
  14. package/dist/chunks/DynamicDependentField-BgIGaefz.js.map +1 -0
  15. package/dist/chunks/DynamicSearchInput-BibaFgRT.esm.js +195 -0
  16. package/dist/chunks/DynamicSearchInput-BibaFgRT.esm.js.map +1 -0
  17. package/dist/chunks/DynamicSearchInput-b7N-9yI9.js +194 -0
  18. package/dist/chunks/DynamicSearchInput-b7N-9yI9.js.map +1 -0
  19. package/dist/chunks/ERPUIProvider-BA5eRy9W.js +132 -0
  20. package/dist/chunks/ERPUIProvider-BA5eRy9W.js.map +1 -0
  21. package/dist/chunks/ERPUIProvider-BKfUubT7.esm.js +133 -0
  22. package/dist/chunks/ERPUIProvider-BKfUubT7.esm.js.map +1 -0
  23. package/dist/chunks/FORMS-DYuCKYdO.js +295 -0
  24. package/dist/chunks/FORMS-DYuCKYdO.js.map +1 -0
  25. package/dist/chunks/FORMS-DcEv0TTW.esm.js +296 -0
  26. package/dist/chunks/FORMS-DcEv0TTW.esm.js.map +1 -0
  27. package/dist/chunks/FlexibleReduxExample-2KlbugQr.js +148 -0
  28. package/dist/chunks/FlexibleReduxExample-2KlbugQr.js.map +1 -0
  29. package/dist/chunks/FlexibleReduxExample-3G_Vo2uC.esm.js +149 -0
  30. package/dist/chunks/FlexibleReduxExample-3G_Vo2uC.esm.js.map +1 -0
  31. package/dist/chunks/GroupBarChart-CJdPAoHv.esm.js +87 -0
  32. package/dist/chunks/GroupBarChart-CJdPAoHv.esm.js.map +1 -0
  33. package/dist/chunks/GroupBarChart-Ubok0U6H.js +103 -0
  34. package/dist/chunks/GroupBarChart-Ubok0U6H.js.map +1 -0
  35. package/dist/chunks/SectionFlowEditor-C0Fws5sw.esm.js +5461 -0
  36. package/dist/chunks/SectionFlowEditor-C0Fws5sw.esm.js.map +1 -0
  37. package/dist/chunks/SectionFlowEditor-mQ1mYinL.js +5460 -0
  38. package/dist/chunks/SectionFlowEditor-mQ1mYinL.js.map +1 -0
  39. package/dist/chunks/action-bar-BZRfkR6g.esm.js +637 -0
  40. package/dist/chunks/action-bar-BZRfkR6g.esm.js.map +1 -0
  41. package/dist/chunks/action-bar-UzExEdnO.js +636 -0
  42. package/dist/chunks/action-bar-UzExEdnO.js.map +1 -0
  43. package/dist/chunks/actionCreator-BA8JQE1F.js +27 -0
  44. package/dist/chunks/actionCreator-BA8JQE1F.js.map +1 -0
  45. package/dist/chunks/actionCreator-BUuRpv33.js +21 -0
  46. package/dist/chunks/actionCreator-BUuRpv33.js.map +1 -0
  47. package/dist/chunks/actionCreator-C8df_-jS.esm.js +28 -0
  48. package/dist/chunks/actionCreator-C8df_-jS.esm.js.map +1 -0
  49. package/dist/chunks/actionCreator-Cinu9E-i.js +13 -0
  50. package/dist/chunks/actionCreator-Cinu9E-i.js.map +1 -0
  51. package/dist/chunks/actionCreator-Ck-OyJvi.esm.js +14 -0
  52. package/dist/chunks/actionCreator-Ck-OyJvi.esm.js.map +1 -0
  53. package/dist/chunks/actionCreator-CstS7Lg7.js +79 -0
  54. package/dist/chunks/actionCreator-CstS7Lg7.js.map +1 -0
  55. package/dist/chunks/actionCreator-DD-dzfpR.js +93 -0
  56. package/dist/chunks/actionCreator-DD-dzfpR.js.map +1 -0
  57. package/dist/chunks/actionCreator-DsBkDzFh.esm.js +80 -0
  58. package/dist/chunks/actionCreator-DsBkDzFh.esm.js.map +1 -0
  59. package/dist/chunks/actionCreator-OumJMOS4.esm.js +94 -0
  60. package/dist/chunks/actionCreator-OumJMOS4.esm.js.map +1 -0
  61. package/dist/chunks/actionCreator-eIvoA4Dm.esm.js +22 -0
  62. package/dist/chunks/actionCreator-eIvoA4Dm.esm.js.map +1 -0
  63. package/dist/chunks/activity-tag-Blp0PxFl.js +151 -0
  64. package/dist/chunks/activity-tag-Blp0PxFl.js.map +1 -0
  65. package/dist/chunks/activity-tag-opL1r_kP.esm.js +152 -0
  66. package/dist/chunks/activity-tag-opL1r_kP.esm.js.map +1 -0
  67. package/dist/chunks/add-template-B4jRG2qV.js +10 -0
  68. package/dist/chunks/add-template-B4jRG2qV.js.map +1 -0
  69. package/dist/chunks/add-template-CJDi6o-P.esm.js +11 -0
  70. package/dist/chunks/add-template-CJDi6o-P.esm.js.map +1 -0
  71. package/dist/chunks/address-modal-BtBrxJ8r.esm.js +671 -0
  72. package/dist/chunks/address-modal-BtBrxJ8r.esm.js.map +1 -0
  73. package/dist/chunks/address-modal-Cmurq1wQ.js +687 -0
  74. package/dist/chunks/address-modal-Cmurq1wQ.js.map +1 -0
  75. package/dist/chunks/ai-summary-Di7PXNDU.esm.js +351 -0
  76. package/dist/chunks/ai-summary-Di7PXNDU.esm.js.map +1 -0
  77. package/dist/chunks/ai-summary-jbaXCgHv.js +350 -0
  78. package/dist/chunks/ai-summary-jbaXCgHv.js.map +1 -0
  79. package/dist/chunks/appbar-CFZlCbmU.js +56 -0
  80. package/dist/chunks/appbar-CFZlCbmU.js.map +1 -0
  81. package/dist/chunks/appbar-JIdxKVeN.esm.js +57 -0
  82. package/dist/chunks/appbar-JIdxKVeN.esm.js.map +1 -0
  83. package/dist/chunks/approval-wrapper-Cb-0gRTm.js +139 -0
  84. package/dist/chunks/approval-wrapper-Cb-0gRTm.js.map +1 -0
  85. package/dist/chunks/approval-wrapper-DJvbdS4s.esm.js +140 -0
  86. package/dist/chunks/approval-wrapper-DJvbdS4s.esm.js.map +1 -0
  87. package/dist/chunks/calculation-summary-Bc9GsyiF.js +173 -0
  88. package/dist/chunks/calculation-summary-Bc9GsyiF.js.map +1 -0
  89. package/dist/chunks/calculation-summary-qczX0BJv.esm.js +174 -0
  90. package/dist/chunks/calculation-summary-qczX0BJv.esm.js.map +1 -0
  91. package/dist/chunks/change-password-Cfry-8_9.js +199 -0
  92. package/dist/chunks/change-password-Cfry-8_9.js.map +1 -0
  93. package/dist/chunks/change-password-q_qGS0Dt.esm.js +183 -0
  94. package/dist/chunks/change-password-q_qGS0Dt.esm.js.map +1 -0
  95. package/dist/chunks/change-user-password-modal-DDmXxsbz.js +135 -0
  96. package/dist/chunks/change-user-password-modal-DDmXxsbz.js.map +1 -0
  97. package/dist/chunks/change-user-password-modal-DYCEO4Tp.esm.js +119 -0
  98. package/dist/chunks/change-user-password-modal-DYCEO4Tp.esm.js.map +1 -0
  99. package/dist/chunks/chat-bot-BnWb7UaF.js +1830 -0
  100. package/dist/chunks/chat-bot-BnWb7UaF.js.map +1 -0
  101. package/dist/chunks/chat-bot-DFo1-Ca-.esm.js +1831 -0
  102. package/dist/chunks/chat-bot-DFo1-Ca-.esm.js.map +1 -0
  103. package/dist/chunks/checkbox-B2bTjkrl.esm.js +83 -0
  104. package/dist/chunks/checkbox-B2bTjkrl.esm.js.map +1 -0
  105. package/dist/chunks/checkbox-BYaP2PMi.js +82 -0
  106. package/dist/chunks/checkbox-BYaP2PMi.js.map +1 -0
  107. package/dist/chunks/common-C-k0HdiF.js +182 -0
  108. package/dist/chunks/common-C-k0HdiF.js.map +1 -0
  109. package/dist/chunks/common-DtcSQ2Hw.js +4617 -0
  110. package/dist/chunks/common-DtcSQ2Hw.js.map +1 -0
  111. package/dist/chunks/common-ZbRPBumn.esm.js +4618 -0
  112. package/dist/chunks/common-ZbRPBumn.esm.js.map +1 -0
  113. package/dist/chunks/common-jYaxKjd4.esm.js +183 -0
  114. package/dist/chunks/common-jYaxKjd4.esm.js.map +1 -0
  115. package/dist/chunks/common-utility-CLiv4p3j.esm.js +305 -0
  116. package/dist/chunks/common-utility-CLiv4p3j.esm.js.map +1 -0
  117. package/dist/chunks/common-utility-DvnYDKXB.js +305 -0
  118. package/dist/chunks/common-utility-DvnYDKXB.js.map +1 -0
  119. package/dist/chunks/confirm-modal-kQL1-Ndp.js +97 -0
  120. package/dist/chunks/confirm-modal-kQL1-Ndp.js.map +1 -0
  121. package/dist/chunks/confirm-modal-vQN1AVRN.esm.js +98 -0
  122. package/dist/chunks/confirm-modal-vQN1AVRN.esm.js.map +1 -0
  123. package/dist/chunks/contact-modal-BPfQSD60.esm.js +169 -0
  124. package/dist/chunks/contact-modal-BPfQSD60.esm.js.map +1 -0
  125. package/dist/chunks/contact-modal-a355OgXn.js +185 -0
  126. package/dist/chunks/contact-modal-a355OgXn.js.map +1 -0
  127. package/dist/chunks/custom-editor-CP-yjJR8.js +1257 -0
  128. package/dist/chunks/custom-editor-CP-yjJR8.js.map +1 -0
  129. package/dist/chunks/custom-editor-PXyqv096.esm.js +1257 -0
  130. package/dist/chunks/custom-editor-PXyqv096.esm.js.map +1 -0
  131. package/dist/chunks/custom-form-D-hsaa0D.esm.js +1146 -0
  132. package/dist/chunks/custom-form-D-hsaa0D.esm.js.map +1 -0
  133. package/dist/chunks/custom-form-fo9n8UmL.js +1145 -0
  134. package/dist/chunks/custom-form-fo9n8UmL.js.map +1 -0
  135. package/dist/chunks/dashboard-BLH_gfct.esm.js +75 -0
  136. package/dist/chunks/dashboard-BLH_gfct.esm.js.map +1 -0
  137. package/dist/chunks/dashboard-DBOPsRea.js +74 -0
  138. package/dist/chunks/dashboard-DBOPsRea.js.map +1 -0
  139. package/dist/chunks/date-range-picker-BDK3CB14.esm.js +62 -0
  140. package/dist/chunks/date-range-picker-BDK3CB14.esm.js.map +1 -0
  141. package/dist/chunks/date-range-picker-BqecEXXw.js +61 -0
  142. package/dist/chunks/date-range-picker-BqecEXXw.js.map +1 -0
  143. package/dist/chunks/date-range-picker-DcasK2dD.js +159 -0
  144. package/dist/chunks/date-range-picker-DcasK2dD.js.map +1 -0
  145. package/dist/chunks/date-range-picker-O_kGkSak.esm.js +160 -0
  146. package/dist/chunks/date-range-picker-O_kGkSak.esm.js.map +1 -0
  147. package/dist/chunks/dropdown-button-CTDbg0JS.esm.js +146 -0
  148. package/dist/chunks/dropdown-button-CTDbg0JS.esm.js.map +1 -0
  149. package/dist/chunks/dropdown-button-XZZT9qWf.js +162 -0
  150. package/dist/chunks/dropdown-button-XZZT9qWf.js.map +1 -0
  151. package/dist/chunks/dynamic-layout-wrapper-CBz_xPSQ.js +228 -0
  152. package/dist/chunks/dynamic-layout-wrapper-CBz_xPSQ.js.map +1 -0
  153. package/dist/chunks/dynamic-layout-wrapper-b4tF1ElX.esm.js +229 -0
  154. package/dist/chunks/dynamic-layout-wrapper-b4tF1ElX.esm.js.map +1 -0
  155. package/dist/chunks/dynamic-report-CP3jpaE3.js +588 -0
  156. package/dist/chunks/dynamic-report-CP3jpaE3.js.map +1 -0
  157. package/dist/chunks/dynamic-report-DehnAckZ.esm.js +589 -0
  158. package/dist/chunks/dynamic-report-DehnAckZ.esm.js.map +1 -0
  159. package/dist/chunks/dynamic-rows-Brag-jJH.esm.js +250 -0
  160. package/dist/chunks/dynamic-rows-Brag-jJH.esm.js.map +1 -0
  161. package/dist/chunks/dynamic-rows-CdQNLqEu.js +249 -0
  162. package/dist/chunks/dynamic-rows-CdQNLqEu.js.map +1 -0
  163. package/dist/chunks/dynamic-text-editor-DElG1sER.js +44 -0
  164. package/dist/chunks/dynamic-text-editor-DElG1sER.js.map +1 -0
  165. package/dist/chunks/dynamic-text-editor-lGb7Tah8.esm.js +45 -0
  166. package/dist/chunks/dynamic-text-editor-lGb7Tah8.esm.js.map +1 -0
  167. package/dist/chunks/edit-section-modal-CQTg6Fdp.esm.js +80 -0
  168. package/dist/chunks/edit-section-modal-CQTg6Fdp.esm.js.map +1 -0
  169. package/dist/chunks/edit-section-modal-Dmt5nYWA.js +79 -0
  170. package/dist/chunks/edit-section-modal-Dmt5nYWA.js.map +1 -0
  171. package/dist/chunks/expandable-summary-wrapper-BbCQSDM7.js +241 -0
  172. package/dist/chunks/expandable-summary-wrapper-BbCQSDM7.js.map +1 -0
  173. package/dist/chunks/expandable-summary-wrapper-BiTUaZSn.esm.js +242 -0
  174. package/dist/chunks/expandable-summary-wrapper-BiTUaZSn.esm.js.map +1 -0
  175. package/dist/chunks/filter-J89FXV64.js +409 -0
  176. package/dist/chunks/filter-J89FXV64.js.map +1 -0
  177. package/dist/chunks/filter-alZQLFMr.esm.js +410 -0
  178. package/dist/chunks/filter-alZQLFMr.esm.js.map +1 -0
  179. package/dist/chunks/footer-Dq2BBwub.esm.js +64 -0
  180. package/dist/chunks/footer-Dq2BBwub.esm.js.map +1 -0
  181. package/dist/chunks/footer-z4W_ojDV.js +63 -0
  182. package/dist/chunks/footer-z4W_ojDV.js.map +1 -0
  183. package/dist/chunks/forgot-password-BjJohULr.js +194 -0
  184. package/dist/chunks/forgot-password-BjJohULr.js.map +1 -0
  185. package/dist/chunks/forgot-password-R_yO_gQO.esm.js +178 -0
  186. package/dist/chunks/forgot-password-R_yO_gQO.esm.js.map +1 -0
  187. package/dist/chunks/form-fields-DyFHl_6b.js +354 -0
  188. package/dist/chunks/form-fields-DyFHl_6b.js.map +1 -0
  189. package/dist/chunks/form-fields-xJZylTz0.esm.js +355 -0
  190. package/dist/chunks/form-fields-xJZylTz0.esm.js.map +1 -0
  191. package/dist/chunks/form-parser-1OSEcBwz.js +613 -0
  192. package/dist/chunks/form-parser-1OSEcBwz.js.map +1 -0
  193. package/dist/chunks/form-parser-DiHpkYd4.esm.js +597 -0
  194. package/dist/chunks/form-parser-DiHpkYd4.esm.js.map +1 -0
  195. package/dist/chunks/form-section-BYbb8LeG.js +575 -0
  196. package/dist/chunks/form-section-BYbb8LeG.js.map +1 -0
  197. package/dist/chunks/form-section-Dx3KCBgy.esm.js +576 -0
  198. package/dist/chunks/form-section-Dx3KCBgy.esm.js.map +1 -0
  199. package/dist/chunks/fullScreen-C8hX2pTC.esm.js +19 -0
  200. package/dist/chunks/fullScreen-C8hX2pTC.esm.js.map +1 -0
  201. package/dist/chunks/fullScreen-CLiduHav.js +18 -0
  202. package/dist/chunks/fullScreen-CLiduHav.js.map +1 -0
  203. package/dist/chunks/global-search-Cv05uLrl.esm.js +150 -0
  204. package/dist/chunks/global-search-Cv05uLrl.esm.js.map +1 -0
  205. package/dist/chunks/global-search-DbznIAl6.js +149 -0
  206. package/dist/chunks/global-search-DbznIAl6.js.map +1 -0
  207. package/dist/chunks/grid-view-DU2QULeu.js +51 -0
  208. package/dist/chunks/grid-view-DU2QULeu.js.map +1 -0
  209. package/dist/chunks/grid-view-GlNJVcKj.esm.js +52 -0
  210. package/dist/chunks/grid-view-GlNJVcKj.esm.js.map +1 -0
  211. package/dist/chunks/header-BFW20E1d.js +92 -0
  212. package/dist/chunks/header-BFW20E1d.js.map +1 -0
  213. package/dist/chunks/header-Bixl452K.esm.js +93 -0
  214. package/dist/chunks/header-Bixl452K.esm.js.map +1 -0
  215. package/dist/chunks/header-enhanced-B1QMUejl.esm.js +403 -0
  216. package/dist/chunks/header-enhanced-B1QMUejl.esm.js.map +1 -0
  217. package/dist/chunks/header-enhanced-BhPzBxKE.js +402 -0
  218. package/dist/chunks/header-enhanced-BhPzBxKE.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-CroglKKT.js +341 -0
  224. package/dist/chunks/inline-edit-fields-CroglKKT.js.map +1 -0
  225. package/dist/chunks/inline-edit-fields-D7cT0GBD.esm.js +325 -0
  226. package/dist/chunks/inline-edit-fields-D7cT0GBD.esm.js.map +1 -0
  227. package/dist/chunks/inventory-reports-title-bar-BfYJpRZS.js +732 -0
  228. package/dist/chunks/inventory-reports-title-bar-BfYJpRZS.js.map +1 -0
  229. package/dist/chunks/inventory-reports-title-bar-ChJIZCt3.esm.js +733 -0
  230. package/dist/chunks/inventory-reports-title-bar-ChJIZCt3.esm.js.map +1 -0
  231. package/dist/chunks/item-response-details-Bn3llCOZ.esm.js +79 -0
  232. package/dist/chunks/item-response-details-Bn3llCOZ.esm.js.map +1 -0
  233. package/dist/chunks/item-response-details-MAPF6ZUl.js +78 -0
  234. package/dist/chunks/item-response-details-MAPF6ZUl.js.map +1 -0
  235. package/dist/chunks/journal-type-add-modal-B4gNVBp2.esm.js +112 -0
  236. package/dist/chunks/journal-type-add-modal-B4gNVBp2.esm.js.map +1 -0
  237. package/dist/chunks/journal-type-add-modal-BPsJofLg.js +128 -0
  238. package/dist/chunks/journal-type-add-modal-BPsJofLg.js.map +1 -0
  239. package/dist/chunks/language-switch-CXAd9UyU.js +110 -0
  240. package/dist/chunks/language-switch-CXAd9UyU.js.map +1 -0
  241. package/dist/chunks/language-switch-DYq3B_O_.esm.js +111 -0
  242. package/dist/chunks/language-switch-DYq3B_O_.esm.js.map +1 -0
  243. package/dist/chunks/languageContext-BrkEneRJ.js +223 -0
  244. package/dist/chunks/languageContext-BrkEneRJ.js.map +1 -0
  245. package/dist/chunks/languageContext-CoD2SowZ.esm.js +224 -0
  246. package/dist/chunks/languageContext-CoD2SowZ.esm.js.map +1 -0
  247. package/dist/chunks/listing-C-FOEJNE.js +276 -0
  248. package/dist/chunks/listing-C-FOEJNE.js.map +1 -0
  249. package/dist/chunks/listing-D6sHJn5U.esm.js +277 -0
  250. package/dist/chunks/listing-D6sHJn5U.esm.js.map +1 -0
  251. package/dist/chunks/location-select-CdbfLOA7.js +85 -0
  252. package/dist/chunks/location-select-CdbfLOA7.js.map +1 -0
  253. package/dist/chunks/location-select-CvxPG5TQ.esm.js +86 -0
  254. package/dist/chunks/location-select-CvxPG5TQ.esm.js.map +1 -0
  255. package/dist/chunks/material-editable-table-5wu_-L3Y.esm.js +1448 -0
  256. package/dist/chunks/material-editable-table-5wu_-L3Y.esm.js.map +1 -0
  257. package/dist/chunks/material-editable-table-BuxU4MGq.js +1464 -0
  258. package/dist/chunks/material-editable-table-BuxU4MGq.js.map +1 -0
  259. package/dist/chunks/module-reducer-BPqyboZO.esm.js +79 -0
  260. package/dist/chunks/module-reducer-BPqyboZO.esm.js.map +1 -0
  261. package/dist/chunks/module-reducer-BSbqZihG.js +78 -0
  262. package/dist/chunks/module-reducer-BSbqZihG.js.map +1 -0
  263. package/dist/chunks/notification-menu-Dh3tEyed.esm.js +606 -0
  264. package/dist/chunks/notification-menu-Dh3tEyed.esm.js.map +1 -0
  265. package/dist/chunks/notification-menu-nyOPgnh_.js +605 -0
  266. package/dist/chunks/notification-menu-nyOPgnh_.js.map +1 -0
  267. package/dist/chunks/page-action-Bc7YrQu6.esm.js +325 -0
  268. package/dist/chunks/page-action-Bc7YrQu6.esm.js.map +1 -0
  269. package/dist/chunks/page-action-CHn9L4jG.js +324 -0
  270. package/dist/chunks/page-action-CHn9L4jG.js.map +1 -0
  271. package/dist/chunks/page-context-CeZ13sfe.js +388 -0
  272. package/dist/chunks/page-context-CeZ13sfe.js.map +1 -0
  273. package/dist/chunks/page-context-DOyoR4Mb.esm.js +389 -0
  274. package/dist/chunks/page-context-DOyoR4Mb.esm.js.map +1 -0
  275. package/dist/chunks/page-navigator-C_6CZ-96.js +243 -0
  276. package/dist/chunks/page-navigator-C_6CZ-96.js.map +1 -0
  277. package/dist/chunks/page-navigator-DlCuhgXf.esm.js +244 -0
  278. package/dist/chunks/page-navigator-DlCuhgXf.esm.js.map +1 -0
  279. package/dist/chunks/page-view-B3mxo6gm.js +323 -0
  280. package/dist/chunks/page-view-B3mxo6gm.js.map +1 -0
  281. package/dist/chunks/page-view-DXApF6A-.esm.js +324 -0
  282. package/dist/chunks/page-view-DXApF6A-.esm.js.map +1 -0
  283. package/dist/chunks/pagination-BJffYmua.esm.js +136 -0
  284. package/dist/chunks/pagination-BJffYmua.esm.js.map +1 -0
  285. package/dist/chunks/pagination-DWbXofhv.js +135 -0
  286. package/dist/chunks/pagination-DWbXofhv.js.map +1 -0
  287. package/dist/chunks/phone-CpvIlogv.js +58 -0
  288. package/dist/chunks/phone-CpvIlogv.js.map +1 -0
  289. package/dist/chunks/phone-DVLpLugC.esm.js +59 -0
  290. package/dist/chunks/phone-DVLpLugC.esm.js.map +1 -0
  291. package/dist/chunks/phone-input-BdkVAoH2.js +254 -0
  292. package/dist/chunks/phone-input-BdkVAoH2.js.map +1 -0
  293. package/dist/chunks/phone-input-DKJjbvou.esm.js +255 -0
  294. package/dist/chunks/phone-input-DKJjbvou.esm.js.map +1 -0
  295. package/dist/chunks/privateRoute-D6jVrjoG.js +12 -0
  296. package/dist/chunks/privateRoute-D6jVrjoG.js.map +1 -0
  297. package/dist/chunks/privateRoute-DEZzvs2N.esm.js +13 -0
  298. package/dist/chunks/privateRoute-DEZzvs2N.esm.js.map +1 -0
  299. package/dist/chunks/quick-approval-modal-B7i-YKl2.js +272 -0
  300. package/dist/chunks/quick-approval-modal-B7i-YKl2.js.map +1 -0
  301. package/dist/chunks/quick-approval-modal-BVMwgp4Z.esm.js +256 -0
  302. package/dist/chunks/quick-approval-modal-BVMwgp4Z.esm.js.map +1 -0
  303. package/dist/chunks/reducer-BzLi-LrE.js +32 -0
  304. package/dist/chunks/reducer-BzLi-LrE.js.map +1 -0
  305. package/dist/chunks/reducer-C6sHvXbS.js +148 -0
  306. package/dist/chunks/reducer-C6sHvXbS.js.map +1 -0
  307. package/dist/chunks/reducer-Cngb_Mdn.js +49 -0
  308. package/dist/chunks/reducer-Cngb_Mdn.js.map +1 -0
  309. package/dist/chunks/reducer-Cpk59NOP.esm.js +43 -0
  310. package/dist/chunks/reducer-Cpk59NOP.esm.js.map +1 -0
  311. package/dist/chunks/reducer-DW2Bqjc6.js +55 -0
  312. package/dist/chunks/reducer-DW2Bqjc6.js.map +1 -0
  313. package/dist/chunks/reducer-DWDtIvnX.esm.js +50 -0
  314. package/dist/chunks/reducer-DWDtIvnX.esm.js.map +1 -0
  315. package/dist/chunks/reducer-DiLDehJI.esm.js +33 -0
  316. package/dist/chunks/reducer-DiLDehJI.esm.js.map +1 -0
  317. package/dist/chunks/reducer-KL35iBYz.esm.js +56 -0
  318. package/dist/chunks/reducer-KL35iBYz.esm.js.map +1 -0
  319. package/dist/chunks/reducer-dliimPMJ.js +42 -0
  320. package/dist/chunks/reducer-dliimPMJ.js.map +1 -0
  321. package/dist/chunks/reducer-lFoBnaC5.esm.js +149 -0
  322. package/dist/chunks/reducer-lFoBnaC5.esm.js.map +1 -0
  323. package/dist/chunks/remove-action-DERJ0rtA.js +20 -0
  324. package/dist/chunks/remove-action-DERJ0rtA.js.map +1 -0
  325. package/dist/chunks/remove-action-DNtURLvU.esm.js +21 -0
  326. package/dist/chunks/remove-action-DNtURLvU.esm.js.map +1 -0
  327. package/dist/chunks/report-buttons-B2i_Q-lC.js +59 -0
  328. package/dist/chunks/report-buttons-B2i_Q-lC.js.map +1 -0
  329. package/dist/chunks/report-buttons-BdTnws2T.js +45 -0
  330. package/dist/chunks/report-buttons-BdTnws2T.js.map +1 -0
  331. package/dist/chunks/report-buttons-CCc9rCkl.esm.js +46 -0
  332. package/dist/chunks/report-buttons-CCc9rCkl.esm.js.map +1 -0
  333. package/dist/chunks/report-buttons-psZVgpe_.esm.js +60 -0
  334. package/dist/chunks/report-buttons-psZVgpe_.esm.js.map +1 -0
  335. package/dist/chunks/reportFilter-C39KSw3l.esm.js +395 -0
  336. package/dist/chunks/reportFilter-C39KSw3l.esm.js.map +1 -0
  337. package/dist/chunks/reportFilter-DGd4ekg-.js +394 -0
  338. package/dist/chunks/reportFilter-DGd4ekg-.js.map +1 -0
  339. package/dist/chunks/reports-title-bar-Dd3iOfR-.esm.js +947 -0
  340. package/dist/chunks/reports-title-bar-Dd3iOfR-.esm.js.map +1 -0
  341. package/dist/chunks/reports-title-bar-DlPpSwiw.js +946 -0
  342. package/dist/chunks/reports-title-bar-DlPpSwiw.js.map +1 -0
  343. package/dist/chunks/reset-password-DReduw70.esm.js +33 -0
  344. package/dist/chunks/reset-password-DReduw70.esm.js.map +1 -0
  345. package/dist/chunks/reset-password-DZvsTWlD.js +32 -0
  346. package/dist/chunks/reset-password-DZvsTWlD.js.map +1 -0
  347. package/dist/chunks/reset-password-modal-Cr05IyG1.js +160 -0
  348. package/dist/chunks/reset-password-modal-Cr05IyG1.js.map +1 -0
  349. package/dist/chunks/reset-password-modal-lPlOVnJq.esm.js +144 -0
  350. package/dist/chunks/reset-password-modal-lPlOVnJq.esm.js.map +1 -0
  351. package/dist/chunks/routes-DH1b-Q2W.js +35 -0
  352. package/dist/chunks/routes-DH1b-Q2W.js.map +1 -0
  353. package/dist/chunks/routes-Dreutj_J.esm.js +36 -0
  354. package/dist/chunks/routes-Dreutj_J.esm.js.map +1 -0
  355. package/dist/chunks/schedule-report-CJGqP8tZ.esm.js +236 -0
  356. package/dist/chunks/schedule-report-CJGqP8tZ.esm.js.map +1 -0
  357. package/dist/chunks/schedule-report-CgjIY66p.js +235 -0
  358. package/dist/chunks/schedule-report-CgjIY66p.js.map +1 -0
  359. package/dist/chunks/schedule-report-modal-0SVNj3s-.js +287 -0
  360. package/dist/chunks/schedule-report-modal-0SVNj3s-.js.map +1 -0
  361. package/dist/chunks/schedule-report-modal-BjVPnuxt.esm.js +288 -0
  362. package/dist/chunks/schedule-report-modal-BjVPnuxt.esm.js.map +1 -0
  363. package/dist/chunks/searchable-select-1icZNvnP.esm.js +5396 -0
  364. package/dist/chunks/searchable-select-1icZNvnP.esm.js.map +1 -0
  365. package/dist/chunks/searchable-select-Blsu4iXR.js +5412 -0
  366. package/dist/chunks/searchable-select-Blsu4iXR.js.map +1 -0
  367. package/dist/chunks/share-modal-Cz_WL8EW.js +217 -0
  368. package/dist/chunks/share-modal-Cz_WL8EW.js.map +1 -0
  369. package/dist/chunks/share-modal-DJ2_JFTx.esm.js +218 -0
  370. package/dist/chunks/share-modal-DJ2_JFTx.esm.js.map +1 -0
  371. package/dist/chunks/share-modal-enhanced-DNHOBVhS.esm.js +270 -0
  372. package/dist/chunks/share-modal-enhanced-DNHOBVhS.esm.js.map +1 -0
  373. package/dist/chunks/share-modal-enhanced-DiPHMaXt.js +269 -0
  374. package/dist/chunks/share-modal-enhanced-DiPHMaXt.js.map +1 -0
  375. package/dist/chunks/sidebar-CMAUcvl9.js +878 -0
  376. package/dist/chunks/sidebar-CMAUcvl9.js.map +1 -0
  377. package/dist/chunks/sidebar-JNFt3JH3.esm.js +879 -0
  378. package/dist/chunks/sidebar-JNFt3JH3.esm.js.map +1 -0
  379. package/dist/chunks/sidebarScreen-DhReSLjB.js +201 -0
  380. package/dist/chunks/sidebarScreen-DhReSLjB.js.map +1 -0
  381. package/dist/chunks/sidebarScreen-ZU78XP7H.esm.js +202 -0
  382. package/dist/chunks/sidebarScreen-ZU78XP7H.esm.js.map +1 -0
  383. package/dist/chunks/store-ClgTK2sV.esm.js +100 -0
  384. package/dist/chunks/store-ClgTK2sV.esm.js.map +1 -0
  385. package/dist/chunks/store-D8N3NY1-.js +99 -0
  386. package/dist/chunks/store-D8N3NY1-.js.map +1 -0
  387. package/dist/chunks/table-C_9RyXid.esm.js +185 -0
  388. package/dist/chunks/table-C_9RyXid.esm.js.map +1 -0
  389. package/dist/chunks/table-V7XmJkmH.js +184 -0
  390. package/dist/chunks/table-V7XmJkmH.js.map +1 -0
  391. package/dist/chunks/table-form-CWUSN_Vo.esm.js +1537 -0
  392. package/dist/chunks/table-form-CWUSN_Vo.esm.js.map +1 -0
  393. package/dist/chunks/table-form-DAYhvUNf.js +1536 -0
  394. package/dist/chunks/table-form-DAYhvUNf.js.map +1 -0
  395. package/dist/chunks/template-editor-router-BrdHuf1M.esm.js +9 -0
  396. package/dist/chunks/template-editor-router-BrdHuf1M.esm.js.map +1 -0
  397. package/dist/chunks/template-editor-router-DLlK7QoQ.js +8 -0
  398. package/dist/chunks/template-editor-router-DLlK7QoQ.js.map +1 -0
  399. package/dist/chunks/template-modal-CaihVS6c.esm.js +769 -0
  400. package/dist/chunks/template-modal-CaihVS6c.esm.js.map +1 -0
  401. package/dist/chunks/template-modal-DR44UCdO.js +768 -0
  402. package/dist/chunks/template-modal-DR44UCdO.js.map +1 -0
  403. package/dist/chunks/templates-BSItbYyn.esm.js +273 -0
  404. package/dist/chunks/templates-BSItbYyn.esm.js.map +1 -0
  405. package/dist/chunks/templates-lQXS-JbW.js +272 -0
  406. package/dist/chunks/templates-lQXS-JbW.js.map +1 -0
  407. package/dist/chunks/text-measurement-CKsi7roR.js +251 -0
  408. package/dist/chunks/text-measurement-CKsi7roR.js.map +1 -0
  409. package/dist/chunks/text-measurement-CzTbKujq.esm.js +252 -0
  410. package/dist/chunks/text-measurement-CzTbKujq.esm.js.map +1 -0
  411. package/dist/chunks/toggle-button-BAzK-F4f.js +54 -0
  412. package/dist/chunks/toggle-button-BAzK-F4f.js.map +1 -0
  413. package/dist/chunks/toggle-button-wxw3vqQm.esm.js +55 -0
  414. package/dist/chunks/toggle-button-wxw3vqQm.esm.js.map +1 -0
  415. package/dist/chunks/toggle-switch-BpYaTgi8.js +80 -0
  416. package/dist/chunks/toggle-switch-BpYaTgi8.js.map +1 -0
  417. package/dist/chunks/toggle-switch-CQSli7Ay.esm.js +81 -0
  418. package/dist/chunks/toggle-switch-CQSli7Ay.esm.js.map +1 -0
  419. package/dist/chunks/translations-BEM7tglD.js +127 -0
  420. package/dist/chunks/translations-BEM7tglD.js.map +1 -0
  421. package/dist/chunks/translations-C1zjzcqi.esm.js +128 -0
  422. package/dist/chunks/translations-C1zjzcqi.esm.js.map +1 -0
  423. package/dist/chunks/uom-field-wrapper-BflzOvzr.js +79 -0
  424. package/dist/chunks/uom-field-wrapper-BflzOvzr.js.map +1 -0
  425. package/dist/chunks/uom-field-wrapper-C9YwPiwb.esm.js +80 -0
  426. package/dist/chunks/uom-field-wrapper-C9YwPiwb.esm.js.map +1 -0
  427. package/dist/chunks/upload-excel-DRZMnZD7.js +360 -0
  428. package/dist/chunks/upload-excel-DRZMnZD7.js.map +1 -0
  429. package/dist/chunks/upload-excel-iZv0_wk0.esm.js +361 -0
  430. package/dist/chunks/upload-excel-iZv0_wk0.esm.js.map +1 -0
  431. package/dist/chunks/use-pages-ChcQwCXQ.js +29 -0
  432. package/dist/chunks/use-pages-ChcQwCXQ.js.map +1 -0
  433. package/dist/chunks/use-pages-Dip08ksi.esm.js +30 -0
  434. package/dist/chunks/use-pages-Dip08ksi.esm.js.map +1 -0
  435. package/dist/chunks/use-translations-Dov2gaPx.js +68 -0
  436. package/dist/chunks/use-translations-Dov2gaPx.js.map +1 -0
  437. package/dist/chunks/use-translations-HClmwwE_.esm.js +69 -0
  438. package/dist/chunks/use-translations-HClmwwE_.esm.js.map +1 -0
  439. package/dist/chunks/useAccountSetting-DPk-tXqj.esm.js +174 -0
  440. package/dist/chunks/useAccountSetting-DPk-tXqj.esm.js.map +1 -0
  441. package/dist/chunks/useAccountSetting-DzYd7M2W.js +173 -0
  442. package/dist/chunks/useAccountSetting-DzYd7M2W.js.map +1 -0
  443. package/dist/chunks/useCheckSkuAndName-CP9L3hQL.esm.js +50 -0
  444. package/dist/chunks/useCheckSkuAndName-CP9L3hQL.esm.js.map +1 -0
  445. package/dist/chunks/useCheckSkuAndName-DE2GEFo6.js +49 -0
  446. package/dist/chunks/useCheckSkuAndName-DE2GEFo6.js.map +1 -0
  447. package/dist/chunks/useCompanyCountryCode-Cv_pe0VV.js +35 -0
  448. package/dist/chunks/useCompanyCountryCode-Cv_pe0VV.js.map +1 -0
  449. package/dist/chunks/useCompanyCountryCode-DdqpAORy.esm.js +36 -0
  450. package/dist/chunks/useCompanyCountryCode-DdqpAORy.esm.js.map +1 -0
  451. package/dist/chunks/useDataFetcher-D0pW_enR.esm.js +80 -0
  452. package/dist/chunks/useDataFetcher-D0pW_enR.esm.js.map +1 -0
  453. package/dist/chunks/useDataFetcher-N1rD6Kfn.js +79 -0
  454. package/dist/chunks/useDataFetcher-N1rD6Kfn.js.map +1 -0
  455. package/dist/chunks/useLangauge-BG9ygywe.esm.js +49 -0
  456. package/dist/chunks/useLangauge-BG9ygywe.esm.js.map +1 -0
  457. package/dist/chunks/useLangauge-XogfBoCI.js +48 -0
  458. package/dist/chunks/useLangauge-XogfBoCI.js.map +1 -0
  459. package/dist/chunks/useReduxIntegration-CfVVtnD7.esm.js +39 -0
  460. package/dist/chunks/useReduxIntegration-CfVVtnD7.esm.js.map +1 -0
  461. package/dist/chunks/useReduxIntegration-D5PrXQel.js +38 -0
  462. package/dist/chunks/useReduxIntegration-D5PrXQel.js.map +1 -0
  463. package/dist/chunks/useSetDefaultConfig-BPluNr91.esm.js +101 -0
  464. package/dist/chunks/useSetDefaultConfig-BPluNr91.esm.js.map +1 -0
  465. package/dist/chunks/useSetDefaultConfig-D7MeVt3h.js +100 -0
  466. package/dist/chunks/useSetDefaultConfig-D7MeVt3h.js.map +1 -0
  467. package/dist/chunks/useUniquenessCheck-C7DJT7Ga.esm.js +39 -0
  468. package/dist/chunks/useUniquenessCheck-C7DJT7Ga.esm.js.map +1 -0
  469. package/dist/chunks/useUniquenessCheck-CrkmkQn9.js +38 -0
  470. package/dist/chunks/useUniquenessCheck-CrkmkQn9.js.map +1 -0
  471. package/dist/chunks/user-menu-D4vfwfEU.esm.js +105 -0
  472. package/dist/chunks/user-menu-D4vfwfEU.esm.js.map +1 -0
  473. package/dist/chunks/user-menu-gPZ-eIhh.js +104 -0
  474. package/dist/chunks/user-menu-gPZ-eIhh.js.map +1 -0
  475. package/dist/chunks/value-editor-CHtw6kdm.esm.js +137 -0
  476. package/dist/chunks/value-editor-CHtw6kdm.esm.js.map +1 -0
  477. package/dist/chunks/value-editor-Nn6CvIU1.js +136 -0
  478. package/dist/chunks/value-editor-Nn6CvIU1.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/constants/pathnames/pathname.crm/index.esm.js +5 -5
  796. package/dist/constants/pathnames/pathname.crm/index.esm.js.map +1 -1
  797. package/dist/constants/pathnames/pathname.crm/index.js +5 -5
  798. package/dist/constants/pathnames/pathname.crm/index.js.map +1 -1
  799. package/dist/contexts/AuthContext/index.esm.js +1 -1
  800. package/dist/contexts/AuthContext/index.js +1 -1
  801. package/dist/contexts/index.esm.js +3 -3
  802. package/dist/contexts/index.js +3 -3
  803. package/dist/contexts/languageContext/index.esm.js +2 -2
  804. package/dist/contexts/languageContext/index.js +1 -1
  805. package/dist/contexts/page-context/index.esm.js +1 -1
  806. package/dist/contexts/page-context/index.js +1 -1
  807. package/dist/hooks/common/index.esm.js +1 -1
  808. package/dist/hooks/common/index.js +1 -1
  809. package/dist/hooks/index.esm.js +10 -10
  810. package/dist/hooks/index.js +10 -10
  811. package/dist/hooks/use-pages/index.esm.js +1 -1
  812. package/dist/hooks/use-pages/index.js +1 -1
  813. package/dist/hooks/use-translations/index.esm.js +1 -1
  814. package/dist/hooks/use-translations/index.js +1 -1
  815. package/dist/hooks/useAccountSetting/index.esm.js +1 -1
  816. package/dist/hooks/useAccountSetting/index.js +1 -1
  817. package/dist/hooks/useAuth/index.esm.js +1 -1
  818. package/dist/hooks/useAuth/index.js +1 -1
  819. package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
  820. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  821. package/dist/hooks/useCompanyCountryCode/index.esm.js +1 -1
  822. package/dist/hooks/useCompanyCountryCode/index.js +1 -1
  823. package/dist/hooks/useDataFetcher/index.esm.js +1 -1
  824. package/dist/hooks/useDataFetcher/index.js +1 -1
  825. package/dist/hooks/useLangauge/index.esm.js +1 -1
  826. package/dist/hooks/useLangauge/index.js +1 -1
  827. package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
  828. package/dist/hooks/useReduxIntegration/index.js +1 -1
  829. package/dist/hooks/useSetDefaultConfig/index.esm.js +1 -1
  830. package/dist/hooks/useSetDefaultConfig/index.js +1 -1
  831. package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
  832. package/dist/hooks/useUniquenessCheck/index.js +1 -1
  833. package/dist/index.esm.js +96 -96
  834. package/dist/index.js +96 -96
  835. package/dist/layout/fullScreen/fullScreen/index.esm.js +1 -1
  836. package/dist/layout/fullScreen/fullScreen/index.js +1 -1
  837. package/dist/layout/fullScreen/index.esm.js +1 -1
  838. package/dist/layout/fullScreen/index.js +1 -1
  839. package/dist/layout/index.esm.js +2 -2
  840. package/dist/layout/index.js +2 -2
  841. package/dist/layout/sidebarScreen/index.esm.js +1 -1
  842. package/dist/layout/sidebarScreen/index.js +1 -1
  843. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +1 -1
  844. package/dist/layout/sidebarScreen/sidebarScreen/index.js +1 -1
  845. package/dist/redux/actionCreator/index.esm.js +1 -1
  846. package/dist/redux/actionCreator/index.js +1 -1
  847. package/dist/redux/index.esm.js +3 -3
  848. package/dist/redux/index.js +3 -3
  849. package/dist/redux/module-reducer/index.esm.js +1 -1
  850. package/dist/redux/module-reducer/index.js +1 -1
  851. package/dist/redux/store/index.esm.js +1 -1
  852. package/dist/redux/store/index.js +1 -1
  853. package/dist/runtime/index.esm.js +5 -5
  854. package/dist/runtime/index.js +5 -5
  855. package/dist/utils/api/index.esm.js +1 -1
  856. package/dist/utils/api/index.js +1 -1
  857. package/dist/utils/common/index.esm.js +1 -1
  858. package/dist/utils/common/index.js +1 -1
  859. package/dist/utils/common-utility/index.esm.js +1 -1
  860. package/dist/utils/common-utility/index.js +1 -1
  861. package/dist/utils/index.esm.js +6 -6
  862. package/dist/utils/index.js +5 -5
  863. package/dist/utils/server/index.esm.js +1 -1
  864. package/dist/utils/server/index.js +1 -1
  865. package/dist/utils/text-measurement/index.esm.js +1 -1
  866. package/dist/utils/text-measurement/index.js +1 -1
  867. package/dist/utils/translations/index.esm.js +1 -1
  868. package/dist/utils/translations/index.js +1 -1
  869. package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
  870. package/dist/views/afterAuth/dashboard/index.js +1 -1
  871. package/dist/views/afterAuth/index.esm.js +2 -2
  872. package/dist/views/afterAuth/index.js +2 -2
  873. package/dist/views/afterAuth/page-view/index.esm.js +1 -1
  874. package/dist/views/afterAuth/page-view/index.js +1 -1
  875. package/dist/views/beforeAuth/change-password/index.esm.js +1 -1
  876. package/dist/views/beforeAuth/change-password/index.js +1 -1
  877. package/dist/views/beforeAuth/forgot-password/index.esm.js +1 -1
  878. package/dist/views/beforeAuth/forgot-password/index.js +1 -1
  879. package/dist/views/beforeAuth/index.esm.js +3 -3
  880. package/dist/views/beforeAuth/index.js +3 -3
  881. package/dist/views/beforeAuth/login/index.esm.js +2 -2
  882. package/dist/views/beforeAuth/login/index.js +2 -2
  883. package/dist/views/beforeAuth/reset-password/index.esm.js +1 -1
  884. package/dist/views/beforeAuth/reset-password/index.js +1 -1
  885. package/dist/views/custom-form/index.esm.js +1 -1
  886. package/dist/views/custom-form/index.js +1 -1
  887. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  888. package/dist/views/form-builder/custom-form/index.js +1 -1
  889. package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
  890. package/dist/views/form-builder/element-edit-forms/index.js +1 -1
  891. package/dist/views/form-builder/form-fields/index.esm.js +1 -1
  892. package/dist/views/form-builder/form-fields/index.js +1 -1
  893. package/dist/views/form-builder/index.esm.js +4 -4
  894. package/dist/views/form-builder/index.js +4 -4
  895. package/dist/views/form-builder/redux/index.esm.js +1 -1
  896. package/dist/views/form-builder/redux/index.js +1 -1
  897. package/dist/views/index.esm.js +17 -17
  898. package/dist/views/index.js +17 -17
  899. package/dist/views/privateRoute/index.esm.js +1 -1
  900. package/dist/views/privateRoute/index.js +1 -1
  901. package/dist/views/routes/index.esm.js +1 -1
  902. package/dist/views/routes/index.js +1 -1
  903. package/dist/views/template-editor/add-template/index.esm.js +1 -1
  904. package/dist/views/template-editor/add-template/index.js +1 -1
  905. package/dist/views/template-editor/components/index.esm.js +1 -1
  906. package/dist/views/template-editor/components/index.js +1 -1
  907. package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
  908. package/dist/views/template-editor/edit-section-modal/index.js +1 -1
  909. package/dist/views/template-editor/index.esm.js +7 -7
  910. package/dist/views/template-editor/index.js +7 -7
  911. package/dist/views/template-editor/routes/index.esm.js +1 -1
  912. package/dist/views/template-editor/routes/index.js +1 -1
  913. package/dist/views/template-editor/template-editor-router/index.esm.js +1 -1
  914. package/dist/views/template-editor/template-editor-router/index.js +1 -1
  915. package/dist/views/template-editor/template-modal/index.esm.js +1 -1
  916. package/dist/views/template-editor/template-modal/index.js +1 -1
  917. package/dist/views/template-editor/templates/index.esm.js +1 -1
  918. package/dist/views/template-editor/templates/index.js +1 -1
  919. package/package.json +2 -2
  920. package/dist/chunks/AuthContext-CItUFhA2.esm.js +0 -306
  921. package/dist/chunks/AuthContext-CItUFhA2.esm.js.map +0 -1
  922. package/dist/chunks/AuthContext-Cs_BXvVj.js +0 -305
  923. package/dist/chunks/AuthContext-Cs_BXvVj.js.map +0 -1
  924. package/dist/chunks/DonutChart-Dr60XGH5.esm.js +0 -95
  925. package/dist/chunks/DonutChart-Dr60XGH5.esm.js.map +0 -1
  926. package/dist/chunks/DonutChart-WB5LIvys.js +0 -111
  927. package/dist/chunks/DonutChart-WB5LIvys.js.map +0 -1
  928. package/dist/chunks/DynamicDependentField-BVqAKO1B.js +0 -127
  929. package/dist/chunks/DynamicDependentField-BVqAKO1B.js.map +0 -1
  930. package/dist/chunks/DynamicDependentField-C6DytUY_.esm.js +0 -128
  931. package/dist/chunks/DynamicDependentField-C6DytUY_.esm.js.map +0 -1
  932. package/dist/chunks/DynamicSearchInput-Ccs5S_-Y.js +0 -194
  933. package/dist/chunks/DynamicSearchInput-Ccs5S_-Y.js.map +0 -1
  934. package/dist/chunks/DynamicSearchInput-u9rb_yyw.esm.js +0 -195
  935. package/dist/chunks/DynamicSearchInput-u9rb_yyw.esm.js.map +0 -1
  936. package/dist/chunks/ERPUIProvider-2S46JHUa.js +0 -132
  937. package/dist/chunks/ERPUIProvider-2S46JHUa.js.map +0 -1
  938. package/dist/chunks/ERPUIProvider-ba7WsKJT.esm.js +0 -133
  939. package/dist/chunks/ERPUIProvider-ba7WsKJT.esm.js.map +0 -1
  940. package/dist/chunks/FORMS-CjfTyARI.esm.js +0 -296
  941. package/dist/chunks/FORMS-CjfTyARI.esm.js.map +0 -1
  942. package/dist/chunks/FORMS-_Fww4MYI.js +0 -295
  943. package/dist/chunks/FORMS-_Fww4MYI.js.map +0 -1
  944. package/dist/chunks/FlexibleReduxExample-BiSBR36q.esm.js +0 -149
  945. package/dist/chunks/FlexibleReduxExample-BiSBR36q.esm.js.map +0 -1
  946. package/dist/chunks/FlexibleReduxExample-D6V3clJh.js +0 -148
  947. package/dist/chunks/FlexibleReduxExample-D6V3clJh.js.map +0 -1
  948. package/dist/chunks/GroupBarChart-DLofFCpW.esm.js +0 -87
  949. package/dist/chunks/GroupBarChart-DLofFCpW.esm.js.map +0 -1
  950. package/dist/chunks/GroupBarChart-pLMPgiFq.js +0 -103
  951. package/dist/chunks/GroupBarChart-pLMPgiFq.js.map +0 -1
  952. package/dist/chunks/SectionFlowEditor-DxHvrDry.js +0 -5460
  953. package/dist/chunks/SectionFlowEditor-DxHvrDry.js.map +0 -1
  954. package/dist/chunks/SectionFlowEditor-sTXTk6Pp.esm.js +0 -5461
  955. package/dist/chunks/SectionFlowEditor-sTXTk6Pp.esm.js.map +0 -1
  956. package/dist/chunks/action-bar-DAkDP8jy.esm.js +0 -637
  957. package/dist/chunks/action-bar-DAkDP8jy.esm.js.map +0 -1
  958. package/dist/chunks/action-bar-ZiKnHLpN.js +0 -636
  959. package/dist/chunks/action-bar-ZiKnHLpN.js.map +0 -1
  960. package/dist/chunks/actionCreator--nyJOZdo.esm.js +0 -94
  961. package/dist/chunks/actionCreator--nyJOZdo.esm.js.map +0 -1
  962. package/dist/chunks/actionCreator-B9RMDke4.esm.js +0 -28
  963. package/dist/chunks/actionCreator-B9RMDke4.esm.js.map +0 -1
  964. package/dist/chunks/actionCreator-BHJND4-K.js +0 -21
  965. package/dist/chunks/actionCreator-BHJND4-K.js.map +0 -1
  966. package/dist/chunks/actionCreator-Bvkp-9kz.js +0 -13
  967. package/dist/chunks/actionCreator-Bvkp-9kz.js.map +0 -1
  968. package/dist/chunks/actionCreator-C6pvyodH.esm.js +0 -22
  969. package/dist/chunks/actionCreator-C6pvyodH.esm.js.map +0 -1
  970. package/dist/chunks/actionCreator-CDyPIbaz.js +0 -79
  971. package/dist/chunks/actionCreator-CDyPIbaz.js.map +0 -1
  972. package/dist/chunks/actionCreator-CuO9Tyc1.esm.js +0 -14
  973. package/dist/chunks/actionCreator-CuO9Tyc1.esm.js.map +0 -1
  974. package/dist/chunks/actionCreator-DEgSg3Sh.js +0 -93
  975. package/dist/chunks/actionCreator-DEgSg3Sh.js.map +0 -1
  976. package/dist/chunks/actionCreator-DhHH6Hfz.js +0 -27
  977. package/dist/chunks/actionCreator-DhHH6Hfz.js.map +0 -1
  978. package/dist/chunks/actionCreator-WaxefxF5.esm.js +0 -80
  979. package/dist/chunks/actionCreator-WaxefxF5.esm.js.map +0 -1
  980. package/dist/chunks/activity-tag-4P5hWkZ0.esm.js +0 -152
  981. package/dist/chunks/activity-tag-4P5hWkZ0.esm.js.map +0 -1
  982. package/dist/chunks/activity-tag-Bb8tcLXo.js +0 -151
  983. package/dist/chunks/activity-tag-Bb8tcLXo.js.map +0 -1
  984. package/dist/chunks/add-template-DMLULyMa.js +0 -10
  985. package/dist/chunks/add-template-DMLULyMa.js.map +0 -1
  986. package/dist/chunks/add-template-DmPewqnt.esm.js +0 -11
  987. package/dist/chunks/add-template-DmPewqnt.esm.js.map +0 -1
  988. package/dist/chunks/address-modal-BBrMcIzB.js +0 -687
  989. package/dist/chunks/address-modal-BBrMcIzB.js.map +0 -1
  990. package/dist/chunks/address-modal-cD-efDDf.esm.js +0 -671
  991. package/dist/chunks/address-modal-cD-efDDf.esm.js.map +0 -1
  992. package/dist/chunks/ai-summary-BKoUOoq6.js +0 -350
  993. package/dist/chunks/ai-summary-BKoUOoq6.js.map +0 -1
  994. package/dist/chunks/ai-summary-C8DZpNz5.esm.js +0 -351
  995. package/dist/chunks/ai-summary-C8DZpNz5.esm.js.map +0 -1
  996. package/dist/chunks/appbar-Bp4faPV6.js +0 -56
  997. package/dist/chunks/appbar-Bp4faPV6.js.map +0 -1
  998. package/dist/chunks/appbar-C0FLygTF.esm.js +0 -57
  999. package/dist/chunks/appbar-C0FLygTF.esm.js.map +0 -1
  1000. package/dist/chunks/approval-wrapper-BygcocPB.esm.js +0 -140
  1001. package/dist/chunks/approval-wrapper-BygcocPB.esm.js.map +0 -1
  1002. package/dist/chunks/approval-wrapper-CF7TX7sM.js +0 -139
  1003. package/dist/chunks/approval-wrapper-CF7TX7sM.js.map +0 -1
  1004. package/dist/chunks/calculation-summary-B6AhRJp6.js +0 -173
  1005. package/dist/chunks/calculation-summary-B6AhRJp6.js.map +0 -1
  1006. package/dist/chunks/calculation-summary-Dho9p-GP.esm.js +0 -174
  1007. package/dist/chunks/calculation-summary-Dho9p-GP.esm.js.map +0 -1
  1008. package/dist/chunks/change-password-BnADMmEw.esm.js +0 -183
  1009. package/dist/chunks/change-password-BnADMmEw.esm.js.map +0 -1
  1010. package/dist/chunks/change-password-DdkfFUPr.js +0 -199
  1011. package/dist/chunks/change-password-DdkfFUPr.js.map +0 -1
  1012. package/dist/chunks/change-user-password-modal-BfVbsGA8.esm.js +0 -119
  1013. package/dist/chunks/change-user-password-modal-BfVbsGA8.esm.js.map +0 -1
  1014. package/dist/chunks/change-user-password-modal-CkFyRcMf.js +0 -135
  1015. package/dist/chunks/change-user-password-modal-CkFyRcMf.js.map +0 -1
  1016. package/dist/chunks/chat-bot-CFuFhsP0.esm.js +0 -1831
  1017. package/dist/chunks/chat-bot-CFuFhsP0.esm.js.map +0 -1
  1018. package/dist/chunks/chat-bot-Da19s5yk.js +0 -1830
  1019. package/dist/chunks/chat-bot-Da19s5yk.js.map +0 -1
  1020. package/dist/chunks/checkbox-C2BeoVnl.js +0 -82
  1021. package/dist/chunks/checkbox-C2BeoVnl.js.map +0 -1
  1022. package/dist/chunks/checkbox-jf_YLLyu.esm.js +0 -83
  1023. package/dist/chunks/checkbox-jf_YLLyu.esm.js.map +0 -1
  1024. package/dist/chunks/common-B57Y6C3m.js +0 -182
  1025. package/dist/chunks/common-B57Y6C3m.js.map +0 -1
  1026. package/dist/chunks/common-BKREMeF3.js +0 -4616
  1027. package/dist/chunks/common-BKREMeF3.js.map +0 -1
  1028. package/dist/chunks/common-DPGU5cvK.esm.js +0 -183
  1029. package/dist/chunks/common-DPGU5cvK.esm.js.map +0 -1
  1030. package/dist/chunks/common-Dx7tnk6m.esm.js +0 -4617
  1031. package/dist/chunks/common-Dx7tnk6m.esm.js.map +0 -1
  1032. package/dist/chunks/common-utility-BArlMUt8.js +0 -305
  1033. package/dist/chunks/common-utility-BArlMUt8.js.map +0 -1
  1034. package/dist/chunks/common-utility-fEu6O9r5.esm.js +0 -305
  1035. package/dist/chunks/common-utility-fEu6O9r5.esm.js.map +0 -1
  1036. package/dist/chunks/confirm-modal-DTmaF3fh.js +0 -97
  1037. package/dist/chunks/confirm-modal-DTmaF3fh.js.map +0 -1
  1038. package/dist/chunks/confirm-modal-Dn6_XVen.esm.js +0 -98
  1039. package/dist/chunks/confirm-modal-Dn6_XVen.esm.js.map +0 -1
  1040. package/dist/chunks/contact-modal-DQZ7sNio.esm.js +0 -169
  1041. package/dist/chunks/contact-modal-DQZ7sNio.esm.js.map +0 -1
  1042. package/dist/chunks/contact-modal-DYgiqXzl.js +0 -185
  1043. package/dist/chunks/contact-modal-DYgiqXzl.js.map +0 -1
  1044. package/dist/chunks/custom-editor-BsGSIut7.js +0 -1257
  1045. package/dist/chunks/custom-editor-BsGSIut7.js.map +0 -1
  1046. package/dist/chunks/custom-editor-U1b8LqMi.esm.js +0 -1257
  1047. package/dist/chunks/custom-editor-U1b8LqMi.esm.js.map +0 -1
  1048. package/dist/chunks/custom-form-BVldaNOk.js +0 -1145
  1049. package/dist/chunks/custom-form-BVldaNOk.js.map +0 -1
  1050. package/dist/chunks/custom-form-vRYQMnnO.esm.js +0 -1146
  1051. package/dist/chunks/custom-form-vRYQMnnO.esm.js.map +0 -1
  1052. package/dist/chunks/dashboard-RdyxLVBz.esm.js +0 -75
  1053. package/dist/chunks/dashboard-RdyxLVBz.esm.js.map +0 -1
  1054. package/dist/chunks/dashboard-WJlAESNI.js +0 -74
  1055. package/dist/chunks/dashboard-WJlAESNI.js.map +0 -1
  1056. package/dist/chunks/date-range-picker-BBWpUuFU.js +0 -61
  1057. package/dist/chunks/date-range-picker-BBWpUuFU.js.map +0 -1
  1058. package/dist/chunks/date-range-picker-Ck43XjEE.esm.js +0 -62
  1059. package/dist/chunks/date-range-picker-Ck43XjEE.esm.js.map +0 -1
  1060. package/dist/chunks/date-range-picker-JBGuBpJi.js +0 -159
  1061. package/dist/chunks/date-range-picker-JBGuBpJi.js.map +0 -1
  1062. package/dist/chunks/date-range-picker-_vgdd2Mj.esm.js +0 -160
  1063. package/dist/chunks/date-range-picker-_vgdd2Mj.esm.js.map +0 -1
  1064. package/dist/chunks/dropdown-button-C6Yjdk-q.esm.js +0 -146
  1065. package/dist/chunks/dropdown-button-C6Yjdk-q.esm.js.map +0 -1
  1066. package/dist/chunks/dropdown-button-ChWNEQO-.js +0 -162
  1067. package/dist/chunks/dropdown-button-ChWNEQO-.js.map +0 -1
  1068. package/dist/chunks/dynamic-layout-wrapper-B-N9TvxZ.js +0 -228
  1069. package/dist/chunks/dynamic-layout-wrapper-B-N9TvxZ.js.map +0 -1
  1070. package/dist/chunks/dynamic-layout-wrapper-CYi-Q4TF.esm.js +0 -229
  1071. package/dist/chunks/dynamic-layout-wrapper-CYi-Q4TF.esm.js.map +0 -1
  1072. package/dist/chunks/dynamic-report-B-tJnqiW.js +0 -588
  1073. package/dist/chunks/dynamic-report-B-tJnqiW.js.map +0 -1
  1074. package/dist/chunks/dynamic-report-C1BLcOcT.esm.js +0 -589
  1075. package/dist/chunks/dynamic-report-C1BLcOcT.esm.js.map +0 -1
  1076. package/dist/chunks/dynamic-rows-3BcmufgN.esm.js +0 -250
  1077. package/dist/chunks/dynamic-rows-3BcmufgN.esm.js.map +0 -1
  1078. package/dist/chunks/dynamic-rows-BVKRmFdW.js +0 -249
  1079. package/dist/chunks/dynamic-rows-BVKRmFdW.js.map +0 -1
  1080. package/dist/chunks/dynamic-text-editor-DNwNCQ41.js +0 -44
  1081. package/dist/chunks/dynamic-text-editor-DNwNCQ41.js.map +0 -1
  1082. package/dist/chunks/dynamic-text-editor-OUcokGgL.esm.js +0 -45
  1083. package/dist/chunks/dynamic-text-editor-OUcokGgL.esm.js.map +0 -1
  1084. package/dist/chunks/edit-section-modal-CxLrKCOU.esm.js +0 -80
  1085. package/dist/chunks/edit-section-modal-CxLrKCOU.esm.js.map +0 -1
  1086. package/dist/chunks/edit-section-modal-xqhmDL66.js +0 -79
  1087. package/dist/chunks/edit-section-modal-xqhmDL66.js.map +0 -1
  1088. package/dist/chunks/expandable-summary-wrapper-BWQYltN_.js +0 -241
  1089. package/dist/chunks/expandable-summary-wrapper-BWQYltN_.js.map +0 -1
  1090. package/dist/chunks/expandable-summary-wrapper-DZsULfLF.esm.js +0 -242
  1091. package/dist/chunks/expandable-summary-wrapper-DZsULfLF.esm.js.map +0 -1
  1092. package/dist/chunks/filter-Co5Up7hd.esm.js +0 -410
  1093. package/dist/chunks/filter-Co5Up7hd.esm.js.map +0 -1
  1094. package/dist/chunks/filter-_ZeZCq8N.js +0 -409
  1095. package/dist/chunks/filter-_ZeZCq8N.js.map +0 -1
  1096. package/dist/chunks/footer-BFio62UN.esm.js +0 -64
  1097. package/dist/chunks/footer-BFio62UN.esm.js.map +0 -1
  1098. package/dist/chunks/footer-Dyu2mKhn.js +0 -63
  1099. package/dist/chunks/footer-Dyu2mKhn.js.map +0 -1
  1100. package/dist/chunks/forgot-password-Ct6Uv_5q.js +0 -194
  1101. package/dist/chunks/forgot-password-Ct6Uv_5q.js.map +0 -1
  1102. package/dist/chunks/forgot-password-DDMLbagX.esm.js +0 -178
  1103. package/dist/chunks/forgot-password-DDMLbagX.esm.js.map +0 -1
  1104. package/dist/chunks/form-fields-D2pcLGqp.esm.js +0 -355
  1105. package/dist/chunks/form-fields-D2pcLGqp.esm.js.map +0 -1
  1106. package/dist/chunks/form-fields-o5mMlVZm.js +0 -354
  1107. package/dist/chunks/form-fields-o5mMlVZm.js.map +0 -1
  1108. package/dist/chunks/form-parser-Dy8hI5vV.esm.js +0 -597
  1109. package/dist/chunks/form-parser-Dy8hI5vV.esm.js.map +0 -1
  1110. package/dist/chunks/form-parser-gVQya70w.js +0 -613
  1111. package/dist/chunks/form-parser-gVQya70w.js.map +0 -1
  1112. package/dist/chunks/form-section-BmLixh5S.js +0 -575
  1113. package/dist/chunks/form-section-BmLixh5S.js.map +0 -1
  1114. package/dist/chunks/form-section-lrISEwWZ.esm.js +0 -576
  1115. package/dist/chunks/form-section-lrISEwWZ.esm.js.map +0 -1
  1116. package/dist/chunks/fullScreen-B3pVmUAN.js +0 -18
  1117. package/dist/chunks/fullScreen-B3pVmUAN.js.map +0 -1
  1118. package/dist/chunks/fullScreen-bvFiiF9s.esm.js +0 -19
  1119. package/dist/chunks/fullScreen-bvFiiF9s.esm.js.map +0 -1
  1120. package/dist/chunks/global-search-9SeBhF5P.esm.js +0 -150
  1121. package/dist/chunks/global-search-9SeBhF5P.esm.js.map +0 -1
  1122. package/dist/chunks/global-search-Dq7FlvS5.js +0 -149
  1123. package/dist/chunks/global-search-Dq7FlvS5.js.map +0 -1
  1124. package/dist/chunks/grid-view-BmG_39gB.js +0 -51
  1125. package/dist/chunks/grid-view-BmG_39gB.js.map +0 -1
  1126. package/dist/chunks/grid-view-DCbDctFE.esm.js +0 -52
  1127. package/dist/chunks/grid-view-DCbDctFE.esm.js.map +0 -1
  1128. package/dist/chunks/header-F4w_8oWo.js +0 -92
  1129. package/dist/chunks/header-F4w_8oWo.js.map +0 -1
  1130. package/dist/chunks/header-IjjjlGPb.esm.js +0 -93
  1131. package/dist/chunks/header-IjjjlGPb.esm.js.map +0 -1
  1132. package/dist/chunks/header-enhanced-DEn3BKBp.esm.js +0 -403
  1133. package/dist/chunks/header-enhanced-DEn3BKBp.esm.js.map +0 -1
  1134. package/dist/chunks/header-enhanced-msUcDfn6.js +0 -402
  1135. package/dist/chunks/header-enhanced-msUcDfn6.js.map +0 -1
  1136. package/dist/chunks/index-BoLOZQo2.js +0 -2019
  1137. package/dist/chunks/index-BoLOZQo2.js.map +0 -1
  1138. package/dist/chunks/index-CmW3Zdrr.esm.js +0 -2020
  1139. package/dist/chunks/index-CmW3Zdrr.esm.js.map +0 -1
  1140. package/dist/chunks/inline-edit-fields-CX85osyU.js +0 -341
  1141. package/dist/chunks/inline-edit-fields-CX85osyU.js.map +0 -1
  1142. package/dist/chunks/inline-edit-fields-tRhdMLp9.esm.js +0 -325
  1143. package/dist/chunks/inline-edit-fields-tRhdMLp9.esm.js.map +0 -1
  1144. package/dist/chunks/inventory-reports-title-bar-BgyeKjXJ.esm.js +0 -733
  1145. package/dist/chunks/inventory-reports-title-bar-BgyeKjXJ.esm.js.map +0 -1
  1146. package/dist/chunks/inventory-reports-title-bar-n55HIJhu.js +0 -732
  1147. package/dist/chunks/inventory-reports-title-bar-n55HIJhu.js.map +0 -1
  1148. package/dist/chunks/item-response-details-CJ-rbzqs.esm.js +0 -79
  1149. package/dist/chunks/item-response-details-CJ-rbzqs.esm.js.map +0 -1
  1150. package/dist/chunks/item-response-details-Cl42lIpK.js +0 -78
  1151. package/dist/chunks/item-response-details-Cl42lIpK.js.map +0 -1
  1152. package/dist/chunks/journal-type-add-modal-CI6q6HqD.js +0 -128
  1153. package/dist/chunks/journal-type-add-modal-CI6q6HqD.js.map +0 -1
  1154. package/dist/chunks/journal-type-add-modal-iXBEPmyH.esm.js +0 -112
  1155. package/dist/chunks/journal-type-add-modal-iXBEPmyH.esm.js.map +0 -1
  1156. package/dist/chunks/language-switch-CDgYeZpu.esm.js +0 -111
  1157. package/dist/chunks/language-switch-CDgYeZpu.esm.js.map +0 -1
  1158. package/dist/chunks/language-switch-CGMB4bwl.js +0 -110
  1159. package/dist/chunks/language-switch-CGMB4bwl.js.map +0 -1
  1160. package/dist/chunks/languageContext-CGFeFANe.js +0 -223
  1161. package/dist/chunks/languageContext-CGFeFANe.js.map +0 -1
  1162. package/dist/chunks/languageContext-NvDBmtCQ.esm.js +0 -224
  1163. package/dist/chunks/languageContext-NvDBmtCQ.esm.js.map +0 -1
  1164. package/dist/chunks/listing-D9CwaU4T.js +0 -276
  1165. package/dist/chunks/listing-D9CwaU4T.js.map +0 -1
  1166. package/dist/chunks/listing-Dyx0Mirh.esm.js +0 -277
  1167. package/dist/chunks/listing-Dyx0Mirh.esm.js.map +0 -1
  1168. package/dist/chunks/location-select-BMJPc3NA.esm.js +0 -86
  1169. package/dist/chunks/location-select-BMJPc3NA.esm.js.map +0 -1
  1170. package/dist/chunks/location-select-dUkE7wln.js +0 -85
  1171. package/dist/chunks/location-select-dUkE7wln.js.map +0 -1
  1172. package/dist/chunks/material-editable-table-BBuW5DLg.esm.js +0 -1448
  1173. package/dist/chunks/material-editable-table-BBuW5DLg.esm.js.map +0 -1
  1174. package/dist/chunks/material-editable-table-CLLJ22hR.js +0 -1464
  1175. package/dist/chunks/material-editable-table-CLLJ22hR.js.map +0 -1
  1176. package/dist/chunks/module-reducer-BGH8lAqY.js +0 -78
  1177. package/dist/chunks/module-reducer-BGH8lAqY.js.map +0 -1
  1178. package/dist/chunks/module-reducer-C0oXjw8G.esm.js +0 -79
  1179. package/dist/chunks/module-reducer-C0oXjw8G.esm.js.map +0 -1
  1180. package/dist/chunks/notification-menu-7JH5abny.js +0 -605
  1181. package/dist/chunks/notification-menu-7JH5abny.js.map +0 -1
  1182. package/dist/chunks/notification-menu-lLUBoCir.esm.js +0 -606
  1183. package/dist/chunks/notification-menu-lLUBoCir.esm.js.map +0 -1
  1184. package/dist/chunks/page-action-CIGGDLKn.esm.js +0 -325
  1185. package/dist/chunks/page-action-CIGGDLKn.esm.js.map +0 -1
  1186. package/dist/chunks/page-action-CUTJzxKo.js +0 -324
  1187. package/dist/chunks/page-action-CUTJzxKo.js.map +0 -1
  1188. package/dist/chunks/page-context-CRlrjYeU.esm.js +0 -389
  1189. package/dist/chunks/page-context-CRlrjYeU.esm.js.map +0 -1
  1190. package/dist/chunks/page-context-sWB9lWkV.js +0 -388
  1191. package/dist/chunks/page-context-sWB9lWkV.js.map +0 -1
  1192. package/dist/chunks/page-navigator-CffhPjmI.esm.js +0 -244
  1193. package/dist/chunks/page-navigator-CffhPjmI.esm.js.map +0 -1
  1194. package/dist/chunks/page-navigator-MmJSpust.js +0 -243
  1195. package/dist/chunks/page-navigator-MmJSpust.js.map +0 -1
  1196. package/dist/chunks/page-view-B5F1_m7T.js +0 -323
  1197. package/dist/chunks/page-view-B5F1_m7T.js.map +0 -1
  1198. package/dist/chunks/page-view-BZ3v52E0.esm.js +0 -324
  1199. package/dist/chunks/page-view-BZ3v52E0.esm.js.map +0 -1
  1200. package/dist/chunks/pagination-Dm9DnsrM.js +0 -135
  1201. package/dist/chunks/pagination-Dm9DnsrM.js.map +0 -1
  1202. package/dist/chunks/pagination-MyUaSjQq.esm.js +0 -136
  1203. package/dist/chunks/pagination-MyUaSjQq.esm.js.map +0 -1
  1204. package/dist/chunks/phone-BpIIryp0.esm.js +0 -59
  1205. package/dist/chunks/phone-BpIIryp0.esm.js.map +0 -1
  1206. package/dist/chunks/phone-D35-eNyG.js +0 -58
  1207. package/dist/chunks/phone-D35-eNyG.js.map +0 -1
  1208. package/dist/chunks/phone-input-Bogr4PHd.js +0 -254
  1209. package/dist/chunks/phone-input-Bogr4PHd.js.map +0 -1
  1210. package/dist/chunks/phone-input-CW81GG_I.esm.js +0 -255
  1211. package/dist/chunks/phone-input-CW81GG_I.esm.js.map +0 -1
  1212. package/dist/chunks/privateRoute-Czv_e-HG.esm.js +0 -13
  1213. package/dist/chunks/privateRoute-Czv_e-HG.esm.js.map +0 -1
  1214. package/dist/chunks/privateRoute-acT0YZUW.js +0 -12
  1215. package/dist/chunks/privateRoute-acT0YZUW.js.map +0 -1
  1216. package/dist/chunks/quick-approval-modal-CJHHFOUg.esm.js +0 -256
  1217. package/dist/chunks/quick-approval-modal-CJHHFOUg.esm.js.map +0 -1
  1218. package/dist/chunks/quick-approval-modal-DjGVpSoa.js +0 -272
  1219. package/dist/chunks/quick-approval-modal-DjGVpSoa.js.map +0 -1
  1220. package/dist/chunks/reducer-5S5_al3O.js +0 -32
  1221. package/dist/chunks/reducer-5S5_al3O.js.map +0 -1
  1222. package/dist/chunks/reducer-B2_uBvEN.esm.js +0 -56
  1223. package/dist/chunks/reducer-B2_uBvEN.esm.js.map +0 -1
  1224. package/dist/chunks/reducer-CaW0CURj.js +0 -148
  1225. package/dist/chunks/reducer-CaW0CURj.js.map +0 -1
  1226. package/dist/chunks/reducer-D23ioWk3.js +0 -55
  1227. package/dist/chunks/reducer-D23ioWk3.js.map +0 -1
  1228. package/dist/chunks/reducer-D4sCikWQ.js +0 -42
  1229. package/dist/chunks/reducer-D4sCikWQ.js.map +0 -1
  1230. package/dist/chunks/reducer-D8APZS-d.esm.js +0 -33
  1231. package/dist/chunks/reducer-D8APZS-d.esm.js.map +0 -1
  1232. package/dist/chunks/reducer-DmccJkiL.esm.js +0 -149
  1233. package/dist/chunks/reducer-DmccJkiL.esm.js.map +0 -1
  1234. package/dist/chunks/reducer-Dt2e90Jo.js +0 -49
  1235. package/dist/chunks/reducer-Dt2e90Jo.js.map +0 -1
  1236. package/dist/chunks/reducer-f_PrcdZ4.esm.js +0 -43
  1237. package/dist/chunks/reducer-f_PrcdZ4.esm.js.map +0 -1
  1238. package/dist/chunks/reducer-kj_mMVhq.esm.js +0 -50
  1239. package/dist/chunks/reducer-kj_mMVhq.esm.js.map +0 -1
  1240. package/dist/chunks/remove-action-C4vk55sF.esm.js +0 -21
  1241. package/dist/chunks/remove-action-C4vk55sF.esm.js.map +0 -1
  1242. package/dist/chunks/remove-action-wgH3tjSh.js +0 -20
  1243. package/dist/chunks/remove-action-wgH3tjSh.js.map +0 -1
  1244. package/dist/chunks/report-buttons-BbPCRSOt.esm.js +0 -46
  1245. package/dist/chunks/report-buttons-BbPCRSOt.esm.js.map +0 -1
  1246. package/dist/chunks/report-buttons-BlgYL2Bm.js +0 -59
  1247. package/dist/chunks/report-buttons-BlgYL2Bm.js.map +0 -1
  1248. package/dist/chunks/report-buttons-D5tjbwgy.esm.js +0 -60
  1249. package/dist/chunks/report-buttons-D5tjbwgy.esm.js.map +0 -1
  1250. package/dist/chunks/report-buttons-DTIsMU6-.js +0 -45
  1251. package/dist/chunks/report-buttons-DTIsMU6-.js.map +0 -1
  1252. package/dist/chunks/reportFilter-B8ANX3ve.esm.js +0 -395
  1253. package/dist/chunks/reportFilter-B8ANX3ve.esm.js.map +0 -1
  1254. package/dist/chunks/reportFilter-CtWt_vKu.js +0 -394
  1255. package/dist/chunks/reportFilter-CtWt_vKu.js.map +0 -1
  1256. package/dist/chunks/reports-title-bar-BggbS-Tb.js +0 -946
  1257. package/dist/chunks/reports-title-bar-BggbS-Tb.js.map +0 -1
  1258. package/dist/chunks/reports-title-bar-CBfcBeWm.esm.js +0 -947
  1259. package/dist/chunks/reports-title-bar-CBfcBeWm.esm.js.map +0 -1
  1260. package/dist/chunks/reset-password-D6fTo7PP.js +0 -32
  1261. package/dist/chunks/reset-password-D6fTo7PP.js.map +0 -1
  1262. package/dist/chunks/reset-password-DHsZ0i0m.esm.js +0 -33
  1263. package/dist/chunks/reset-password-DHsZ0i0m.esm.js.map +0 -1
  1264. package/dist/chunks/reset-password-modal-DhtIlWB5.js +0 -160
  1265. package/dist/chunks/reset-password-modal-DhtIlWB5.js.map +0 -1
  1266. package/dist/chunks/reset-password-modal-pX1e8reV.esm.js +0 -144
  1267. package/dist/chunks/reset-password-modal-pX1e8reV.esm.js.map +0 -1
  1268. package/dist/chunks/routes-BW3ty4u3.js +0 -35
  1269. package/dist/chunks/routes-BW3ty4u3.js.map +0 -1
  1270. package/dist/chunks/routes-CZUhkfnc.esm.js +0 -36
  1271. package/dist/chunks/routes-CZUhkfnc.esm.js.map +0 -1
  1272. package/dist/chunks/schedule-report-CdDcoWCH.js +0 -235
  1273. package/dist/chunks/schedule-report-CdDcoWCH.js.map +0 -1
  1274. package/dist/chunks/schedule-report-D-zLbOxU.esm.js +0 -236
  1275. package/dist/chunks/schedule-report-D-zLbOxU.esm.js.map +0 -1
  1276. package/dist/chunks/schedule-report-modal-CrbeZXpC.js +0 -287
  1277. package/dist/chunks/schedule-report-modal-CrbeZXpC.js.map +0 -1
  1278. package/dist/chunks/schedule-report-modal-DJBMRIwR.esm.js +0 -288
  1279. package/dist/chunks/schedule-report-modal-DJBMRIwR.esm.js.map +0 -1
  1280. package/dist/chunks/searchable-select-B6MUgCdo.js +0 -5412
  1281. package/dist/chunks/searchable-select-B6MUgCdo.js.map +0 -1
  1282. package/dist/chunks/searchable-select-Cp2JQ-ma.esm.js +0 -5396
  1283. package/dist/chunks/searchable-select-Cp2JQ-ma.esm.js.map +0 -1
  1284. package/dist/chunks/share-modal-BQz9DT8w.esm.js +0 -218
  1285. package/dist/chunks/share-modal-BQz9DT8w.esm.js.map +0 -1
  1286. package/dist/chunks/share-modal-DS7uWv8L.js +0 -217
  1287. package/dist/chunks/share-modal-DS7uWv8L.js.map +0 -1
  1288. package/dist/chunks/share-modal-enhanced-ClVTuNyl.esm.js +0 -270
  1289. package/dist/chunks/share-modal-enhanced-ClVTuNyl.esm.js.map +0 -1
  1290. package/dist/chunks/share-modal-enhanced-DDsOmNGE.js +0 -269
  1291. package/dist/chunks/share-modal-enhanced-DDsOmNGE.js.map +0 -1
  1292. package/dist/chunks/sidebar-DDWxJgOI.esm.js +0 -879
  1293. package/dist/chunks/sidebar-DDWxJgOI.esm.js.map +0 -1
  1294. package/dist/chunks/sidebar-DZUrBtkU.js +0 -878
  1295. package/dist/chunks/sidebar-DZUrBtkU.js.map +0 -1
  1296. package/dist/chunks/sidebarScreen-BVehiM72.esm.js +0 -202
  1297. package/dist/chunks/sidebarScreen-BVehiM72.esm.js.map +0 -1
  1298. package/dist/chunks/sidebarScreen-Dyasx_un.js +0 -201
  1299. package/dist/chunks/sidebarScreen-Dyasx_un.js.map +0 -1
  1300. package/dist/chunks/store-0k7BuH6N.esm.js +0 -100
  1301. package/dist/chunks/store-0k7BuH6N.esm.js.map +0 -1
  1302. package/dist/chunks/store-D0UGtNyn.js +0 -99
  1303. package/dist/chunks/store-D0UGtNyn.js.map +0 -1
  1304. package/dist/chunks/table-BFVmn9er.js +0 -184
  1305. package/dist/chunks/table-BFVmn9er.js.map +0 -1
  1306. package/dist/chunks/table-DZ4iT9yr.esm.js +0 -185
  1307. package/dist/chunks/table-DZ4iT9yr.esm.js.map +0 -1
  1308. package/dist/chunks/table-form-BweS8HY4.esm.js +0 -1537
  1309. package/dist/chunks/table-form-BweS8HY4.esm.js.map +0 -1
  1310. package/dist/chunks/table-form-C08FE3l-.js +0 -1536
  1311. package/dist/chunks/table-form-C08FE3l-.js.map +0 -1
  1312. package/dist/chunks/template-editor-router-D99QWgsY.esm.js +0 -9
  1313. package/dist/chunks/template-editor-router-D99QWgsY.esm.js.map +0 -1
  1314. package/dist/chunks/template-editor-router-DslCflw6.js +0 -8
  1315. package/dist/chunks/template-editor-router-DslCflw6.js.map +0 -1
  1316. package/dist/chunks/template-modal-7ED61IRQ.js +0 -768
  1317. package/dist/chunks/template-modal-7ED61IRQ.js.map +0 -1
  1318. package/dist/chunks/template-modal-Pc_7Ko4n.esm.js +0 -769
  1319. package/dist/chunks/template-modal-Pc_7Ko4n.esm.js.map +0 -1
  1320. package/dist/chunks/templates-Z4PvElMl.js +0 -272
  1321. package/dist/chunks/templates-Z4PvElMl.js.map +0 -1
  1322. package/dist/chunks/templates-qd8xCqe3.esm.js +0 -273
  1323. package/dist/chunks/templates-qd8xCqe3.esm.js.map +0 -1
  1324. package/dist/chunks/text-measurement-Blnt6jDd.esm.js +0 -252
  1325. package/dist/chunks/text-measurement-Blnt6jDd.esm.js.map +0 -1
  1326. package/dist/chunks/text-measurement-Cp_YwDdV.js +0 -251
  1327. package/dist/chunks/text-measurement-Cp_YwDdV.js.map +0 -1
  1328. package/dist/chunks/toggle-button-CHNfZ0px.esm.js +0 -55
  1329. package/dist/chunks/toggle-button-CHNfZ0px.esm.js.map +0 -1
  1330. package/dist/chunks/toggle-button-D60s8gEP.js +0 -54
  1331. package/dist/chunks/toggle-button-D60s8gEP.js.map +0 -1
  1332. package/dist/chunks/toggle-switch-BYq0pxMx.js +0 -80
  1333. package/dist/chunks/toggle-switch-BYq0pxMx.js.map +0 -1
  1334. package/dist/chunks/toggle-switch-C5eW7j13.esm.js +0 -81
  1335. package/dist/chunks/toggle-switch-C5eW7j13.esm.js.map +0 -1
  1336. package/dist/chunks/translations-BBu_7rQ3.esm.js +0 -128
  1337. package/dist/chunks/translations-BBu_7rQ3.esm.js.map +0 -1
  1338. package/dist/chunks/translations-DFI0dn0H.js +0 -127
  1339. package/dist/chunks/translations-DFI0dn0H.js.map +0 -1
  1340. package/dist/chunks/uom-field-wrapper-BAtgnuyo.js +0 -79
  1341. package/dist/chunks/uom-field-wrapper-BAtgnuyo.js.map +0 -1
  1342. package/dist/chunks/uom-field-wrapper-E4JPg4cL.esm.js +0 -80
  1343. package/dist/chunks/uom-field-wrapper-E4JPg4cL.esm.js.map +0 -1
  1344. package/dist/chunks/upload-excel-C8lWc-h6.esm.js +0 -361
  1345. package/dist/chunks/upload-excel-C8lWc-h6.esm.js.map +0 -1
  1346. package/dist/chunks/upload-excel-Y1ngDyko.js +0 -360
  1347. package/dist/chunks/upload-excel-Y1ngDyko.js.map +0 -1
  1348. package/dist/chunks/use-pages-CtwNsLRG.esm.js +0 -30
  1349. package/dist/chunks/use-pages-CtwNsLRG.esm.js.map +0 -1
  1350. package/dist/chunks/use-pages-DXVEXNG0.js +0 -29
  1351. package/dist/chunks/use-pages-DXVEXNG0.js.map +0 -1
  1352. package/dist/chunks/use-translations-C8VCxHUP.js +0 -68
  1353. package/dist/chunks/use-translations-C8VCxHUP.js.map +0 -1
  1354. package/dist/chunks/use-translations-GJRyMyMm.esm.js +0 -69
  1355. package/dist/chunks/use-translations-GJRyMyMm.esm.js.map +0 -1
  1356. package/dist/chunks/useAccountSetting-C3j-kzsn.esm.js +0 -174
  1357. package/dist/chunks/useAccountSetting-C3j-kzsn.esm.js.map +0 -1
  1358. package/dist/chunks/useAccountSetting-CVdUkHyh.js +0 -173
  1359. package/dist/chunks/useAccountSetting-CVdUkHyh.js.map +0 -1
  1360. package/dist/chunks/useCheckSkuAndName-DGwsN62c.js +0 -49
  1361. package/dist/chunks/useCheckSkuAndName-DGwsN62c.js.map +0 -1
  1362. package/dist/chunks/useCheckSkuAndName-DkIeUSOy.esm.js +0 -50
  1363. package/dist/chunks/useCheckSkuAndName-DkIeUSOy.esm.js.map +0 -1
  1364. package/dist/chunks/useCompanyCountryCode-D4uxUfQC.esm.js +0 -36
  1365. package/dist/chunks/useCompanyCountryCode-D4uxUfQC.esm.js.map +0 -1
  1366. package/dist/chunks/useCompanyCountryCode-FfjhJ8aJ.js +0 -35
  1367. package/dist/chunks/useCompanyCountryCode-FfjhJ8aJ.js.map +0 -1
  1368. package/dist/chunks/useDataFetcher-CPHhFBB1.js +0 -79
  1369. package/dist/chunks/useDataFetcher-CPHhFBB1.js.map +0 -1
  1370. package/dist/chunks/useDataFetcher-dHGm5XO0.esm.js +0 -80
  1371. package/dist/chunks/useDataFetcher-dHGm5XO0.esm.js.map +0 -1
  1372. package/dist/chunks/useLangauge-CSNpcfX6.js +0 -48
  1373. package/dist/chunks/useLangauge-CSNpcfX6.js.map +0 -1
  1374. package/dist/chunks/useLangauge-CXedllBc.esm.js +0 -49
  1375. package/dist/chunks/useLangauge-CXedllBc.esm.js.map +0 -1
  1376. package/dist/chunks/useReduxIntegration-BcngB5eN.js +0 -38
  1377. package/dist/chunks/useReduxIntegration-BcngB5eN.js.map +0 -1
  1378. package/dist/chunks/useReduxIntegration-BeFIVANA.esm.js +0 -39
  1379. package/dist/chunks/useReduxIntegration-BeFIVANA.esm.js.map +0 -1
  1380. package/dist/chunks/useSetDefaultConfig-B0T1TesA.js +0 -100
  1381. package/dist/chunks/useSetDefaultConfig-B0T1TesA.js.map +0 -1
  1382. package/dist/chunks/useSetDefaultConfig-BGhAQcVv.esm.js +0 -101
  1383. package/dist/chunks/useSetDefaultConfig-BGhAQcVv.esm.js.map +0 -1
  1384. package/dist/chunks/useUniquenessCheck-C39yEqX_.esm.js +0 -39
  1385. package/dist/chunks/useUniquenessCheck-C39yEqX_.esm.js.map +0 -1
  1386. package/dist/chunks/useUniquenessCheck-CHtl6HMF.js +0 -38
  1387. package/dist/chunks/useUniquenessCheck-CHtl6HMF.js.map +0 -1
  1388. package/dist/chunks/user-menu-BFS7gNsI.esm.js +0 -105
  1389. package/dist/chunks/user-menu-BFS7gNsI.esm.js.map +0 -1
  1390. package/dist/chunks/user-menu-BbMEP9w1.js +0 -104
  1391. package/dist/chunks/user-menu-BbMEP9w1.js.map +0 -1
  1392. package/dist/chunks/value-editor-CAfyA4_t.js +0 -136
  1393. package/dist/chunks/value-editor-CAfyA4_t.js.map +0 -1
  1394. package/dist/chunks/value-editor-D5xWqrQa.esm.js +0 -137
  1395. package/dist/chunks/value-editor-D5xWqrQa.esm.js.map +0 -1
@@ -1,1537 +0,0 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import React__default, { useState, useEffect, useRef, useMemo, useCallback } from "react";
3
- import { MenuItem, Stack, Box, FormControl, Slider, FormControlLabel, DialogTitle, IconButton, DialogContent, DialogActions, Select as Select$1, Button as Button$1, RadioGroup } from "@mui/material";
4
- import { Add, Close } from "@mui/icons-material";
5
- import { B as Button } from "./button-afDB0-AM.esm.js";
6
- import { M as Modal } from "./modal-DCla9U60.esm.js";
7
- import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
8
- import { T as TextField } from "./text-field-CPrqrrio.esm.js";
9
- import { S as Select } from "./select-B7syv6sS.esm.js";
10
- import { C as Checkbox } from "./checkbox-D6IX1uEi.esm.js";
11
- import formatText from "../utils/format-text/index.esm.js";
12
- import { enqueueSnackbar } from "notistack";
13
- import { T as Trash } from "./trash-Zhhh3VNZ.esm.js";
14
- import Close$1 from "@mui/icons-material/Close";
15
- import { g as generateRandomId } from "./common-Dx7tnk6m.esm.js";
16
- import { SECTION_TYPES } from "../utils/constant/index.esm.js";
17
- import { R as Radio } from "./radio-BIyDp0wj.esm.js";
18
- import { A as ArrowCircleDown } from "./arrow-circle-down-C_Fhp1p0.esm.js";
19
- import { C as Calendar } from "./calendar-ZmJhkIbS.esm.js";
20
- import { C as CheckboxSquare } from "./checkbox-square-CwWkho0n.esm.js";
21
- import { C as Clock } from "./clock-CVSctrDH.esm.js";
22
- import { D as DollarCircle } from "./dollar-circle-Ckgy6rAx.esm.js";
23
- import { E as Email } from "./email-FbKkly0s.esm.js";
24
- import { G as Grid } from "./grid-CSlGFfsi.esm.js";
25
- import { H as Hashtag } from "./hashtag-6f9U9TFp.esm.js";
26
- import { I as Image } from "./image-BD0Qq3wH.esm.js";
27
- import { I as InfoCircle } from "./info-circle-CCvXX9vR.esm.js";
28
- import { L as LinkHorizontal } from "./link-horizontal-Bmwd9uja.esm.js";
29
- import { L as Link } from "./link-DnUMSkch.esm.js";
30
- import { L as Location } from "./location-BDtuJry0.esm.js";
31
- import { P as PaperClip } from "./paper-clip-CjzurOrg.esm.js";
32
- import { P as Paragraph } from "./paragraph-Ag8X-0r3.esm.js";
33
- import { P as Phone } from "./phone-ea8DJZ-F.esm.js";
34
- import { R as RadioButton } from "./radio-button-DtmlcACz.esm.js";
35
- import { T as ToggleSwitch } from "./toggle-switch-D1yD4loB.esm.js";
36
- const fields = [
37
- { label: "Text", value: "text", icon: Paragraph },
38
- { label: "Number", value: "number", icon: Hashtag },
39
- { label: "Select", value: "select", icon: ArrowCircleDown },
40
- { label: "Date", value: "date", icon: Calendar },
41
- { label: "Files & Media", value: "file", icon: PaperClip },
42
- { label: "URL", value: "url", icon: Link },
43
- { label: "Email", value: "email", icon: Email },
44
- { label: "Phone", value: "phone", icon: Phone },
45
- { label: "Currency", value: "currency", icon: DollarCircle },
46
- { label: "Time", value: "time", icon: Clock },
47
- { label: "Table", value: "table", icon: Grid },
48
- { label: "Geolocation", value: "geoLocation", icon: Location },
49
- { label: "Check Box", value: "checkbox", icon: CheckboxSquare },
50
- { label: "Image Upload", value: "image", icon: Image },
51
- { label: "Relation Field", value: "relation", icon: LinkHorizontal },
52
- { label: "Info Card", value: "info", icon: InfoCircle },
53
- { label: "Toggle Button", value: "toggleButton", icon: ToggleSwitch },
54
- { label: "Radio Button", value: "radioButton", icon: RadioButton },
55
- { label: "tagsInput", value: "tagsInput", icon: Paragraph }
56
- ];
57
- const FieldSelect = (props) => {
58
- const [selectFields, setSelectFields] = useState(fields);
59
- const [search, setSearch] = useState("");
60
- const handleSearch = (event) => {
61
- setSearch(event.target.value);
62
- };
63
- const handleSearchFields = (searchVal) => {
64
- if (searchVal) {
65
- setSelectFields([
66
- ...fields.filter((field) => field.value.includes(searchVal))
67
- ]);
68
- } else {
69
- setSelectFields(fields);
70
- }
71
- };
72
- useEffect(() => {
73
- handleSearchFields(search);
74
- }, [search]);
75
- return /* @__PURE__ */ jsx(
76
- Select,
77
- {
78
- fullWidth: true,
79
- placeholder: "Select Field",
80
- size: "small",
81
- labelName: "Field Type",
82
- renderValue: (value) => {
83
- var _a;
84
- return (_a = fields.find((field) => field.value === value)) == null ? void 0 : _a.label;
85
- },
86
- handleSearch: () => handleSearch,
87
- searchPlaceholder: "Search Attributes",
88
- searchValue: search,
89
- ...props,
90
- children: selectFields.map((field) => /* @__PURE__ */ jsx(MenuItem, { value: field.value, onKeyDown: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
91
- field.icon && /* @__PURE__ */ jsx(field.icon, { fontSize: "small" }),
92
- /* @__PURE__ */ jsx(Typography, { type: "s3", color: "theme.secondary.1000", children: field.label })
93
- ] }) }))
94
- }
95
- );
96
- };
97
- const COLUMN_PER_ROW_OPTIONS$1 = [1, 2, 3, 4, 5, 6];
98
- const SELECT_OPTIONS = [
99
- { text: "12 Hour", value: "12hr" },
100
- { text: "24 Hour", value: "24hr" }
101
- ];
102
- const CURRENCY_OPTIONS = [
103
- { text: "INR (India)", value: "inr" },
104
- { text: "USD (US)", value: "usd" }
105
- ];
106
- const FIELDS_WITHOUT_PLACEHOLDER = /* @__PURE__ */ new Set([
107
- "time",
108
- "file",
109
- "geoLocation",
110
- "image",
111
- "info",
112
- "relation"
113
- ]);
114
- const FIELDS_WITH_MIN_MAX = /* @__PURE__ */ new Set(["text", "number"]);
115
- const MemoizedMenuItem = ({ option, index, prefix }) => /* @__PURE__ */ jsx(MenuItem, { value: option.value, children: option.text || option.label }, `${prefix}-${index}`);
116
- const MemoizedRelationMenuItem = ({ option, index, prefix }) => /* @__PURE__ */ jsx(MenuItem, { value: option.value, children: /* @__PURE__ */ jsx(Typography, { type: "s3", color: "theme.secondary.1000", children: option.label }) }, `${prefix}-${index}`);
117
- function TextEditForm(props) {
118
- const {
119
- handlePropertyValueUpdate,
120
- handleColumnSelect,
121
- handleWidthChange,
122
- fields: fields2,
123
- element
124
- } = props;
125
- const [elementJSON, setElementJSON] = useState(element);
126
- const [openModal, setOpenModal] = useState(false);
127
- const [relationFields, setRelationFields] = useState([]);
128
- const [functionValue, setFunctionValue] = useState("");
129
- const prevElementRef = useRef(element);
130
- const prevFieldsRef = useRef(fields2);
131
- const relationModulesOptions = useMemo(() => {
132
- if (!fields2 || fields2 === prevFieldsRef.current) {
133
- if (prevFieldsRef.current && fields2) return prevFieldsRef.current;
134
- }
135
- prevFieldsRef.current = fields2;
136
- if (!fields2) return [];
137
- return Object.keys(fields2).map((key) => ({
138
- label: formatText(key),
139
- value: key
140
- }));
141
- }, [fields2]);
142
- const setRelationFieldsOptions = useCallback(
143
- (moduleValue) => {
144
- if (!fields2 || !moduleValue) {
145
- setRelationFields((prev) => prev.length > 0 ? [] : prev);
146
- return;
147
- }
148
- const fieldsArr = fields2[moduleValue];
149
- if (fieldsArr == null ? void 0 : fieldsArr.length) {
150
- const options = fieldsArr.map((field) => ({
151
- label: field.field,
152
- value: field.field
153
- }));
154
- setRelationFields((prev) => {
155
- if (prev.length !== options.length) return options;
156
- const isDifferent = prev.some(
157
- (item, idx) => {
158
- var _a, _b;
159
- return item.value !== ((_a = options[idx]) == null ? void 0 : _a.value) || item.label !== ((_b = options[idx]) == null ? void 0 : _b.label);
160
- }
161
- );
162
- return isDifferent ? options : prev;
163
- });
164
- } else {
165
- setRelationFields((prev) => prev.length > 0 ? [] : prev);
166
- }
167
- },
168
- [fields2]
169
- );
170
- const handleSave = useCallback((value) => {
171
- if (!elementJSON) return;
172
- if (elementJSON.default_value !== value) {
173
- const updatedElement = { ...elementJSON, default_value: value };
174
- setElementJSON(updatedElement);
175
- handlePropertyValueUpdate(null, null, value);
176
- }
177
- if (value) {
178
- setFunctionValue("");
179
- setOpenModal(false);
180
- }
181
- }, [elementJSON, handlePropertyValueUpdate]);
182
- const handleFieldUpdate = useCallback((e) => {
183
- if (!elementJSON) return;
184
- const fieldType = e.target.value;
185
- if (elementJSON.field_type !== fieldType) {
186
- const updatedElement = { ...elementJSON, field_type: fieldType };
187
- setElementJSON(updatedElement);
188
- handlePropertyValueUpdate(null, null, null, e.target.value);
189
- }
190
- }, [elementJSON, handlePropertyValueUpdate]);
191
- const handleSelectUpdate = useCallback((e) => {
192
- if (!elementJSON) return;
193
- const option = e.target.value;
194
- if (elementJSON.option !== option) {
195
- const updatedElement = { ...elementJSON, option };
196
- setElementJSON(updatedElement);
197
- handlePropertyValueUpdate(null, null, option);
198
- }
199
- }, [elementJSON, handlePropertyValueUpdate]);
200
- const handleModuleSelect = useCallback((e) => {
201
- const moduleValue = e.target.value;
202
- if ((elementJSON == null ? void 0 : elementJSON.module) !== moduleValue) {
203
- setRelationFieldsOptions(moduleValue);
204
- handlePropertyValueUpdate(e);
205
- }
206
- }, [elementJSON == null ? void 0 : elementJSON.module, setRelationFieldsOptions, handlePropertyValueUpdate]);
207
- const handleWidthSliderChange = useCallback((_, value) => {
208
- if (!elementJSON) return;
209
- const widthValue = Array.isArray(value) ? value[0] : value;
210
- if (elementJSON.custom_width !== widthValue) {
211
- const updatedElement = { ...elementJSON, custom_width: widthValue };
212
- setElementJSON(updatedElement);
213
- handleWidthChange(widthValue);
214
- }
215
- }, [elementJSON, handleWidthChange]);
216
- const handleFullWidthChange = useCallback((e) => {
217
- if (!elementJSON) return;
218
- const isFullWidth = e.target.checked;
219
- if (elementJSON.is_fullwidth !== isFullWidth) {
220
- const updatedElement = { ...elementJSON, is_fullwidth: isFullWidth };
221
- setElementJSON(updatedElement);
222
- handlePropertyValueUpdate(e);
223
- }
224
- }, [elementJSON, handlePropertyValueUpdate]);
225
- const handleColumnSelectChange = useCallback((e) => {
226
- const columnValue = Number(e.target.value);
227
- handleColumnSelect(columnValue);
228
- }, [handleColumnSelect]);
229
- const getDefaultValue = useCallback((elementJSON2) => {
230
- var _a;
231
- if (["number", "currency", "geoLocation"].includes(elementJSON2.field_type)) {
232
- return ((_a = elementJSON2.default_value) == null ? void 0 : _a.toString().replace(/[^0-9]/g, "")) || "";
233
- }
234
- return elementJSON2.default_value || "";
235
- }, []);
236
- const getMinMaxLabels = useCallback((fieldType) => {
237
- return fieldType === "text" ? { min: "Min character count (with spaces)", max: "Max character count (with spaces)" } : { min: "Min number", max: "Max number" };
238
- }, []);
239
- const handleOpenModal = useCallback(() => setOpenModal(true), []);
240
- const handleCloseModal = useCallback(() => {
241
- setOpenModal(false);
242
- setFunctionValue("");
243
- }, []);
244
- const handleFunctionValueChange = useCallback((e) => {
245
- setFunctionValue(e.target.value);
246
- }, []);
247
- useEffect(() => {
248
- if (element !== prevElementRef.current) {
249
- setElementJSON(element);
250
- prevElementRef.current = element;
251
- if (element == null ? void 0 : element.module) {
252
- setRelationFieldsOptions(element.module);
253
- }
254
- }
255
- }, [element, setRelationFieldsOptions]);
256
- const currencySelectSection = useMemo(() => {
257
- if ((elementJSON == null ? void 0 : elementJSON.field_type) !== "currency") return null;
258
- return /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx(
259
- Select,
260
- {
261
- fullWidth: true,
262
- placeholder: "Select Currency",
263
- size: "small",
264
- onChange: handleSelectUpdate,
265
- defaultValue: elementJSON.option,
266
- label: "Currency",
267
- name: "option",
268
- variant: "outlined",
269
- children: CURRENCY_OPTIONS.map((option, index) => /* @__PURE__ */ jsx(
270
- MemoizedMenuItem,
271
- {
272
- option,
273
- index,
274
- prefix: "currency"
275
- },
276
- `currency-${index}`
277
- ))
278
- }
279
- ) }) });
280
- }, [elementJSON == null ? void 0 : elementJSON.field_type, elementJSON == null ? void 0 : elementJSON.option, handleSelectUpdate]);
281
- const timeSelectSection = useMemo(() => {
282
- if ((elementJSON == null ? void 0 : elementJSON.field_type) !== "time") return null;
283
- return /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx(
284
- Select,
285
- {
286
- fullWidth: true,
287
- placeholder: "Select Time Format",
288
- size: "small",
289
- onChange: handleSelectUpdate,
290
- defaultValue: elementJSON.option,
291
- label: "Time Format",
292
- name: "option",
293
- variant: "outlined",
294
- children: SELECT_OPTIONS.map((option, index) => /* @__PURE__ */ jsx(
295
- MemoizedMenuItem,
296
- {
297
- option,
298
- index,
299
- prefix: "time"
300
- },
301
- `time-${index}`
302
- ))
303
- }
304
- ) }) });
305
- }, [elementJSON == null ? void 0 : elementJSON.field_type, elementJSON == null ? void 0 : elementJSON.option, handleSelectUpdate]);
306
- const relationSelectSection = useMemo(() => {
307
- if ((elementJSON == null ? void 0 : elementJSON.field_type) !== "relation") return null;
308
- return /* @__PURE__ */ jsxs(Fragment, { children: [
309
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx(
310
- Select,
311
- {
312
- fullWidth: true,
313
- placeholder: relationModulesOptions.length ? "Select Relation Module" : "No data available",
314
- size: "small",
315
- onChange: handleModuleSelect,
316
- value: elementJSON.module || "",
317
- label: "Relation Module",
318
- name: "module",
319
- children: relationModulesOptions.length ? relationModulesOptions.map((option, index) => /* @__PURE__ */ jsx(
320
- MemoizedRelationMenuItem,
321
- {
322
- option,
323
- index,
324
- prefix: "module"
325
- },
326
- `module-${index}`
327
- )) : /* @__PURE__ */ jsx(MenuItem, { disabled: true, children: /* @__PURE__ */ jsx(Typography, { type: "s3", color: "theme.secondary.1000", children: /* @__PURE__ */ jsx("em", { children: "No data available" }) }) })
328
- }
329
- ) }) }),
330
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx(
331
- Select,
332
- {
333
- fullWidth: true,
334
- placeholder: !elementJSON.module ? "Select Module First" : relationFields.length ? "Select Relation Field" : "No data available",
335
- size: "small",
336
- onChange: handlePropertyValueUpdate,
337
- value: elementJSON.field || "",
338
- label: "Relation Field",
339
- disabled: !elementJSON.module,
340
- name: "field",
341
- children: relationFields.length ? relationFields.map((option, index) => /* @__PURE__ */ jsx(
342
- MemoizedRelationMenuItem,
343
- {
344
- option,
345
- index,
346
- prefix: "field"
347
- },
348
- `field-${index}`
349
- )) : /* @__PURE__ */ jsx(MenuItem, { disabled: true, children: /* @__PURE__ */ jsx(Typography, { type: "s3", color: "theme.secondary.1000", children: /* @__PURE__ */ jsx("em", { children: "No data available" }) }) })
350
- }
351
- ) }) })
352
- ] });
353
- }, [
354
- elementJSON == null ? void 0 : elementJSON.field_type,
355
- elementJSON == null ? void 0 : elementJSON.module,
356
- elementJSON == null ? void 0 : elementJSON.field,
357
- relationModulesOptions,
358
- relationFields,
359
- handleModuleSelect,
360
- handlePropertyValueUpdate
361
- ]);
362
- if (!elementJSON) {
363
- return null;
364
- }
365
- const { field_type } = elementJSON;
366
- const minMaxLabels = getMinMaxLabels(field_type);
367
- return /* @__PURE__ */ jsxs(Box, { className: "formSection--FieldContainer", children: [
368
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
369
- FieldSelect,
370
- {
371
- variant: "outlined",
372
- onChange: handleFieldUpdate,
373
- defaultValue: field_type,
374
- label: "Field Type",
375
- disabled: elementJSON.type === "system" || !elementJSON.is_new
376
- }
377
- ) }),
378
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
379
- TextField,
380
- {
381
- fullWidth: true,
382
- label: "Label",
383
- is_required: true,
384
- name: "label",
385
- type: "text",
386
- onChange: handlePropertyValueUpdate,
387
- defaultValue: elementJSON.label
388
- }
389
- ) }),
390
- (field_type === "file" || field_type === "image") && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
391
- TextField,
392
- {
393
- fullWidth: true,
394
- label: "Max File Size (in MB)",
395
- name: "max_size",
396
- type: "number",
397
- onChange: handlePropertyValueUpdate,
398
- defaultValue: elementJSON.max_size
399
- }
400
- ) }),
401
- currencySelectSection,
402
- !FIELDS_WITHOUT_PLACEHOLDER.has(field_type) && /* @__PURE__ */ jsxs(Fragment, { children: [
403
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
404
- TextField,
405
- {
406
- fullWidth: true,
407
- label: "Placeholder",
408
- name: "placeholder",
409
- type: "text",
410
- onChange: handlePropertyValueUpdate,
411
- defaultValue: elementJSON.placeholder
412
- }
413
- ) }),
414
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
415
- TextField,
416
- {
417
- fullWidth: true,
418
- label: "Default Value",
419
- placeholder: "Default Value",
420
- name: "default_value",
421
- type: field_type === "phone" ? "tel" : field_type === "number" ? "number" : "text",
422
- onChange: handlePropertyValueUpdate,
423
- defaultValue: getDefaultValue(elementJSON)
424
- }
425
- ) })
426
- ] }),
427
- timeSelectSection,
428
- relationSelectSection,
429
- FIELDS_WITH_MIN_MAX.has(field_type) && /* @__PURE__ */ jsxs(Fragment, { children: [
430
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
431
- TextField,
432
- {
433
- fullWidth: true,
434
- label: minMaxLabels.min,
435
- name: "min_length",
436
- type: "number",
437
- onChange: (e) => handlePropertyValueUpdate(e, Number(e.target.value)),
438
- defaultValue: elementJSON.min_length || elementJSON.min || 1
439
- }
440
- ) }),
441
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
442
- TextField,
443
- {
444
- fullWidth: true,
445
- label: minMaxLabels.max,
446
- name: "max_length",
447
- type: "number",
448
- onChange: (e) => handlePropertyValueUpdate(e, Number(e.target.value)),
449
- defaultValue: elementJSON.max_length || elementJSON.max || (field_type === "number" ? 1e4 : 255)
450
- }
451
- ) })
452
- ] }),
453
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx(
454
- Select,
455
- {
456
- fullWidth: true,
457
- placeholder: "Select Column Per Row",
458
- size: "small",
459
- onChange: handleColumnSelectChange,
460
- value: elementJSON.columns_per_row || 1,
461
- label: "Select Column Per Row",
462
- name: "columns_per_row",
463
- variant: "outlined",
464
- children: COLUMN_PER_ROW_OPTIONS$1.map((option, index) => /* @__PURE__ */ jsx(MenuItem, { value: option, children: option }, `column-${index}`))
465
- }
466
- ) }) }),
467
- /* @__PURE__ */ jsxs(Box, { children: [
468
- /* @__PURE__ */ jsx(Typography, { sx: { color: "black", mb: 1 }, children: "Adjust Width:" }),
469
- /* @__PURE__ */ jsx(
470
- Slider,
471
- {
472
- value: elementJSON.custom_width || 12,
473
- name: "custom_width",
474
- min: 1,
475
- max: 12,
476
- step: 1,
477
- onChange: handleWidthSliderChange,
478
- "aria-labelledby": "width-slider",
479
- sx: { color: "#4AC08C" },
480
- disabled: elementJSON.is_fullwidth,
481
- marks: true,
482
- valueLabelDisplay: "auto"
483
- }
484
- )
485
- ] }),
486
- field_type === "number" && /* @__PURE__ */ jsxs(Fragment, { children: [
487
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
488
- TextField,
489
- {
490
- fullWidth: true,
491
- label: "Float Step",
492
- name: "float_step",
493
- type: "number",
494
- step: "0.01",
495
- onChange: handlePropertyValueUpdate,
496
- defaultValue: elementJSON.float_step
497
- }
498
- ) }),
499
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
500
- FormControlLabel,
501
- {
502
- name: "is_negative",
503
- control: /* @__PURE__ */ jsx(Checkbox, {}),
504
- onChange: handlePropertyValueUpdate,
505
- checked: elementJSON.is_negative || false,
506
- label: "Allow Negative Numbers"
507
- }
508
- ) })
509
- ] }),
510
- field_type === "date" && /* @__PURE__ */ jsxs(Fragment, { children: [
511
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
512
- FormControlLabel,
513
- {
514
- name: "is_future_dates_allowed",
515
- control: /* @__PURE__ */ jsx(Checkbox, {}),
516
- onChange: handlePropertyValueUpdate,
517
- checked: elementJSON.is_future_dates_allowed || false,
518
- label: "Allow Future Dates"
519
- }
520
- ) }),
521
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
522
- FormControlLabel,
523
- {
524
- name: "is_past_dates_allowed",
525
- control: /* @__PURE__ */ jsx(Checkbox, {}),
526
- onChange: handlePropertyValueUpdate,
527
- checked: elementJSON.is_past_dates_allowed || false,
528
- label: "Allow Past Dates"
529
- }
530
- ) })
531
- ] }),
532
- field_type !== "info" && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
533
- FormControlLabel,
534
- {
535
- name: "is_required",
536
- control: /* @__PURE__ */ jsx(Checkbox, {}),
537
- onChange: handlePropertyValueUpdate,
538
- checked: elementJSON.is_required || false,
539
- label: "This field is required"
540
- }
541
- ) }),
542
- field_type === "email" && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
543
- FormControlLabel,
544
- {
545
- name: "is_unique",
546
- control: /* @__PURE__ */ jsx(Checkbox, {}),
547
- onChange: handlePropertyValueUpdate,
548
- checked: elementJSON.is_unique || false,
549
- label: "Is Unique"
550
- }
551
- ) }),
552
- field_type === "text" && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
553
- FormControlLabel,
554
- {
555
- name: "is_multiline",
556
- control: /* @__PURE__ */ jsx(Checkbox, {}),
557
- onChange: handlePropertyValueUpdate,
558
- checked: elementJSON.is_multiline || false,
559
- label: "Is Multiline"
560
- }
561
- ) }),
562
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
563
- FormControlLabel,
564
- {
565
- name: "is_fullwidth",
566
- control: /* @__PURE__ */ jsx(Checkbox, {}),
567
- onChange: handleFullWidthChange,
568
- checked: elementJSON.is_fullwidth || false,
569
- label: "Full Width"
570
- }
571
- ) }),
572
- field_type === "info" && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
573
- Button,
574
- {
575
- variant: "outlined",
576
- startIcon: /* @__PURE__ */ jsx(Add, {}),
577
- onClick: handleOpenModal,
578
- className: "formSection--PreviewButton",
579
- children: "Add Function"
580
- }
581
- ) }),
582
- /* @__PURE__ */ jsxs(Modal, { fullWidth: true, onClose: handleCloseModal, open: openModal, children: [
583
- /* @__PURE__ */ jsxs(DialogTitle, { children: [
584
- /* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.1000", children: "Add Function" }),
585
- /* @__PURE__ */ jsx(
586
- IconButton,
587
- {
588
- edge: "end",
589
- onClick: handleCloseModal,
590
- size: "small",
591
- children: /* @__PURE__ */ jsx(Close, { fontSize: "inherit" })
592
- }
593
- )
594
- ] }),
595
- /* @__PURE__ */ jsxs(DialogContent, { dividers: true, children: [
596
- /* @__PURE__ */ jsxs(Typography, { weight: "medium", type: "s3", color: "theme.secondary.700", sx: { mb: 2 }, children: [
597
- "Label: ",
598
- /* @__PURE__ */ jsx("span", { style: { color: "#1F2125" }, children: elementJSON.label })
599
- ] }),
600
- /* @__PURE__ */ jsx(
601
- TextField,
602
- {
603
- name: "default_value",
604
- fullWidth: true,
605
- placeholder: "Add a function",
606
- multiline: true,
607
- minRows: 4,
608
- defaultValue: elementJSON.default_value,
609
- onChange: handleFunctionValueChange,
610
- value: functionValue
611
- }
612
- )
613
- ] }),
614
- /* @__PURE__ */ jsxs(DialogActions, { children: [
615
- /* @__PURE__ */ jsx(
616
- Button,
617
- {
618
- variant: "outlined",
619
- onClick: handleCloseModal,
620
- style: { color: "black" },
621
- children: "Cancel"
622
- }
623
- ),
624
- /* @__PURE__ */ jsx(Button, { onClick: () => handleSave(functionValue), children: "Save" })
625
- ] })
626
- ] })
627
- ] });
628
- }
629
- const COLUMN_PER_ROW_OPTIONS = [1, 2, 3, 4, 5, 6];
630
- const SelectEditForm = React__default.memo(({
631
- element,
632
- handlePropertyValueUpdate,
633
- handleSelectOptionValueUpdate,
634
- handleColumnSelect,
635
- handleWidthChange
636
- }) => {
637
- const [selectOptions, setSelectOptions] = useState(element.options || []);
638
- const [newOption, setNewOption] = useState({ label: "", value: "" });
639
- const [isAddingOption, setIsAddingOption] = useState(false);
640
- useEffect(() => {
641
- if (JSON.stringify(selectOptions) !== JSON.stringify(element.options || [])) {
642
- setSelectOptions(element.options || []);
643
- }
644
- }, [element.options, selectOptions]);
645
- const isFieldDisabled = useMemo(
646
- () => element.type === "system" || !element.is_new,
647
- [element.type, element.is_new]
648
- );
649
- const selectedOptionLabel = useMemo(() => {
650
- const selectedOption = selectOptions.find((option) => option.value === element.default_value);
651
- return (selectedOption == null ? void 0 : selectedOption.label) || "Select Default";
652
- }, [selectOptions, element.default_value]);
653
- const handleFieldUpdate = useCallback((e) => {
654
- handlePropertyValueUpdate(null, null, null, e.target.value);
655
- }, [handlePropertyValueUpdate]);
656
- const handleSelectUpdate = useCallback((e) => {
657
- handlePropertyValueUpdate(null, null, e.target.value);
658
- }, [handlePropertyValueUpdate]);
659
- const handleMultiSelect = useCallback((e) => {
660
- const isChecked = e.target.checked;
661
- isChecked ? null : element.default_value;
662
- const syntheticEvent = {
663
- target: {
664
- name: "is_multiselect",
665
- checked: isChecked,
666
- value: isChecked
667
- }
668
- };
669
- handlePropertyValueUpdate(syntheticEvent);
670
- if (isChecked && element.default_value) {
671
- handlePropertyValueUpdate(null, "default_value", null);
672
- }
673
- }, [handlePropertyValueUpdate, element.default_value]);
674
- const handleNewOptionChange = useCallback((e) => {
675
- const { name, value } = e.target;
676
- setNewOption((prev) => ({ ...prev, [name]: value }));
677
- }, []);
678
- const handleAddOption = useCallback(() => {
679
- if (!newOption.label.trim() || !newOption.value.trim()) {
680
- return;
681
- }
682
- const isDuplicate = selectOptions.some(
683
- (option) => option.value === newOption.value || option.label === newOption.label
684
- );
685
- if (isDuplicate) {
686
- enqueueSnackbar("Option with this value or label already exists.", { variant: "error" });
687
- return;
688
- }
689
- const updatedOptions = [...selectOptions, { ...newOption }];
690
- setSelectOptions(updatedOptions);
691
- handleSelectOptionValueUpdate(updatedOptions);
692
- setNewOption({ label: "", value: "" });
693
- setIsAddingOption(false);
694
- }, [newOption, selectOptions, handleSelectOptionValueUpdate]);
695
- const handleRemoveOption = useCallback((indexToRemove) => {
696
- const updatedOptions = selectOptions.filter((_, index) => index !== indexToRemove);
697
- setSelectOptions(updatedOptions);
698
- handleSelectOptionValueUpdate(updatedOptions);
699
- const removedOption = selectOptions[indexToRemove];
700
- if (element.default_value === (removedOption == null ? void 0 : removedOption.value)) {
701
- handlePropertyValueUpdate(null, "default_value", null);
702
- }
703
- }, [selectOptions, handleSelectOptionValueUpdate, element.default_value, handlePropertyValueUpdate]);
704
- const handleWidthChangeCallback = useCallback((_, newValue) => {
705
- handleWidthChange(newValue);
706
- }, [handleWidthChange]);
707
- return /* @__PURE__ */ jsxs(Box, { className: "formSection--FieldContainer", children: [
708
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
709
- FieldSelect,
710
- {
711
- variant: "outlined",
712
- onChange: handleFieldUpdate,
713
- defaultValue: element.field_type,
714
- label: "Field Type",
715
- disabled: isFieldDisabled
716
- }
717
- ) }),
718
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
719
- TextField,
720
- {
721
- fullWidth: true,
722
- label: "Label",
723
- is_required: true,
724
- name: "label",
725
- type: "text",
726
- onChange: handlePropertyValueUpdate,
727
- defaultValue: element.label
728
- }
729
- ) }),
730
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
731
- TextField,
732
- {
733
- fullWidth: true,
734
- label: "Placeholder",
735
- is_required: true,
736
- name: "placeholder",
737
- type: "text",
738
- onChange: handlePropertyValueUpdate,
739
- defaultValue: element.placeholder
740
- }
741
- ) }),
742
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
743
- Select,
744
- {
745
- fullWidth: true,
746
- placeholder: "Select Default",
747
- size: "small",
748
- name: "default_value",
749
- onChange: handleSelectUpdate,
750
- value: element.default_value || "",
751
- label: "Default",
752
- variant: "outlined",
753
- disabled: element.is_multiselect,
754
- renderValue: () => selectedOptionLabel,
755
- children: selectOptions.map((option, index) => /* @__PURE__ */ jsx(MenuItem, { value: option.value, children: option.label }, `${option.value}-${index}`))
756
- }
757
- ) }),
758
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx(
759
- Select,
760
- {
761
- fullWidth: true,
762
- placeholder: "Select Column Per Row",
763
- size: "small",
764
- onChange: handleColumnSelect,
765
- label: "Select Column Per Row",
766
- name: "columnPerRow",
767
- variant: "outlined",
768
- children: COLUMN_PER_ROW_OPTIONS.map((option) => /* @__PURE__ */ jsx(MenuItem, { value: option, children: option }, option))
769
- }
770
- ) }) }),
771
- /* @__PURE__ */ jsxs(Box, { children: [
772
- /* @__PURE__ */ jsx(Typography, { sx: { color: "black", mb: 1 }, children: "Adjust Width:" }),
773
- /* @__PURE__ */ jsx(Box, { pr: 2, children: /* @__PURE__ */ jsx(
774
- Slider,
775
- {
776
- value: element.custom_width || 6,
777
- min: 1,
778
- max: 12,
779
- step: 1,
780
- onChange: handleWidthChangeCallback,
781
- "aria-labelledby": "width-slider",
782
- sx: { color: "#4AC08C" },
783
- marks: true,
784
- valueLabelDisplay: "auto"
785
- }
786
- ) })
787
- ] }),
788
- /* @__PURE__ */ jsxs(Box, { className: "formSection--SelectOption", children: [
789
- /* @__PURE__ */ jsx(
790
- Typography,
791
- {
792
- type: "s5",
793
- weight: "medium",
794
- color: "theme.secondary.800",
795
- sx: { mb: 0.5 },
796
- children: "Options"
797
- }
798
- ),
799
- selectOptions.map((option, index) => /* @__PURE__ */ jsxs(Box, { sx: { mb: 1, display: "flex", gap: 1 }, children: [
800
- /* @__PURE__ */ jsx(
801
- TextField,
802
- {
803
- fullWidth: true,
804
- value: `${option.label} (${option.value})`,
805
- InputProps: { readOnly: true }
806
- }
807
- ),
808
- /* @__PURE__ */ jsx(
809
- IconButton,
810
- {
811
- color: "error",
812
- size: "small",
813
- onClick: () => handleRemoveOption(index),
814
- children: /* @__PURE__ */ jsx(Trash, {})
815
- }
816
- )
817
- ] }, `option-${index}`)),
818
- isAddingOption && /* @__PURE__ */ jsxs(Box, { className: "formSection--SelectOption", sx: { mt: 0.5, p: 2, border: "1px solid #ddd", borderRadius: 1 }, children: [
819
- /* @__PURE__ */ jsx(Box, { sx: { mb: 2 }, children: /* @__PURE__ */ jsx(
820
- TextField,
821
- {
822
- fullWidth: true,
823
- label: "Option Label",
824
- is_required: true,
825
- name: "label",
826
- type: "text",
827
- placeholder: "Enter option label",
828
- value: newOption.label,
829
- onChange: handleNewOptionChange
830
- }
831
- ) }),
832
- /* @__PURE__ */ jsx(Box, { sx: { mb: 2 }, children: /* @__PURE__ */ jsx(
833
- TextField,
834
- {
835
- fullWidth: true,
836
- label: "Option Value",
837
- placeholder: "Enter option value",
838
- is_required: true,
839
- name: "value",
840
- type: "text",
841
- value: newOption.value,
842
- onChange: handleNewOptionChange
843
- }
844
- ) }),
845
- /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", gap: 1 }, children: [
846
- /* @__PURE__ */ jsx(
847
- Button,
848
- {
849
- onClick: handleAddOption,
850
- startIcon: /* @__PURE__ */ jsx(Add, {}),
851
- disabled: !newOption.label.trim() || !newOption.value.trim(),
852
- children: "Add Option"
853
- }
854
- ),
855
- /* @__PURE__ */ jsx(
856
- Button,
857
- {
858
- onClick: () => {
859
- setIsAddingOption(false);
860
- setNewOption({ label: "", value: "" });
861
- },
862
- variant: "outlined",
863
- children: "Cancel"
864
- }
865
- )
866
- ] })
867
- ] }),
868
- !isAddingOption && /* @__PURE__ */ jsx(
869
- Button,
870
- {
871
- onClick: () => setIsAddingOption(true),
872
- variant: "outlined",
873
- className: "formSection--Button",
874
- startIcon: /* @__PURE__ */ jsx(Add, {}),
875
- sx: { mt: 1 },
876
- children: "Add Option"
877
- }
878
- )
879
- ] }),
880
- /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
881
- /* @__PURE__ */ jsx(
882
- FormControlLabel,
883
- {
884
- name: "is_multiselect",
885
- control: /* @__PURE__ */ jsx(Checkbox, {}),
886
- onChange: handleMultiSelect,
887
- checked: element.is_multiselect,
888
- label: "Enable Multi Select"
889
- }
890
- ),
891
- /* @__PURE__ */ jsx(
892
- FormControlLabel,
893
- {
894
- name: "is_required",
895
- control: /* @__PURE__ */ jsx(Checkbox, {}),
896
- onChange: handlePropertyValueUpdate,
897
- checked: element.is_required,
898
- label: "This field is required"
899
- }
900
- ),
901
- /* @__PURE__ */ jsx(
902
- FormControlLabel,
903
- {
904
- name: "is_unique",
905
- control: /* @__PURE__ */ jsx(Checkbox, {}),
906
- onChange: handlePropertyValueUpdate,
907
- checked: element.is_unique,
908
- label: "Is Unique"
909
- }
910
- ),
911
- /* @__PURE__ */ jsx(
912
- FormControlLabel,
913
- {
914
- name: "is_fullwidth",
915
- control: /* @__PURE__ */ jsx(Checkbox, {}),
916
- onChange: handlePropertyValueUpdate,
917
- checked: element.is_fullwidth,
918
- label: "Full Width"
919
- }
920
- )
921
- ] })
922
- ] });
923
- });
924
- SelectEditForm.displayName = "SelectEditForm";
925
- const SectionEditForm = (props) => {
926
- var _a;
927
- const { handlePropertyValueUpdate } = props;
928
- const [elementJSON, setElementJSON] = useState(props.element);
929
- const [addForm, setAddForm] = useState(false);
930
- const [newForm, setNewForm] = useState("");
931
- const selectOption = ["section"];
932
- const isDuplicateFormName = useMemo(
933
- () => {
934
- var _a2;
935
- return (_a2 = elementJSON.switcher_forms) == null ? void 0 : _a2.map((ele) => ele.name).includes(newForm);
936
- },
937
- [elementJSON.switcher_forms, newForm]
938
- );
939
- useEffect(() => {
940
- setElementJSON(props.element);
941
- }, [props.element]);
942
- return /* @__PURE__ */ jsxs(Box, { className: "formSection--FieldContainer", children: [
943
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
944
- Select,
945
- {
946
- fullWidth: true,
947
- placeholder: "Select Field",
948
- size: "small",
949
- disabled: true,
950
- defaultValue: elementJSON.field_type,
951
- label: "Field Type",
952
- variant: "outlined",
953
- children: selectOption == null ? void 0 : selectOption.map((item) => /* @__PURE__ */ jsx(MenuItem, { value: item, children: item }))
954
- },
955
- elementJSON.id
956
- ) }),
957
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
958
- Select,
959
- {
960
- fullWidth: true,
961
- placeholder: "Select Field",
962
- size: "small",
963
- name: "section_type",
964
- defaultValue: elementJSON.section_type,
965
- label: "Section Type",
966
- variant: "outlined",
967
- onChange: (e) => handlePropertyValueUpdate(e),
968
- children: Object.values(SECTION_TYPES).map((type) => {
969
- return /* @__PURE__ */ jsx(MenuItem, { value: type, children: type }, type);
970
- })
971
- },
972
- elementJSON.id
973
- ) }),
974
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
975
- TextField,
976
- {
977
- fullWidth: true,
978
- label: "Label",
979
- is_required: true,
980
- name: "label",
981
- type: "text",
982
- onChange: handlePropertyValueUpdate,
983
- defaultValue: elementJSON.label
984
- },
985
- elementJSON.id
986
- ) }),
987
- /* @__PURE__ */ jsx(
988
- FormControlLabel,
989
- {
990
- name: "is_accordion",
991
- control: /* @__PURE__ */ jsx(Checkbox, {}),
992
- onChange: handlePropertyValueUpdate,
993
- checked: elementJSON.is_accordion,
994
- label: "Is Accordion"
995
- },
996
- elementJSON.id
997
- ),
998
- elementJSON.section_type === SECTION_TYPES.FORM_SWITCH_SECTION ? /* @__PURE__ */ jsxs("div", { className: "formSection--SubFieldContainer", children: [
999
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1000
- TextField,
1001
- {
1002
- fullWidth: true,
1003
- label: "Form label",
1004
- is_required: true,
1005
- name: "form_switcher_label",
1006
- type: "text",
1007
- onChange: handlePropertyValueUpdate,
1008
- defaultValue: elementJSON.form_switcher_label
1009
- },
1010
- elementJSON.id
1011
- ) }),
1012
- /* @__PURE__ */ jsxs("div", { children: [
1013
- /* @__PURE__ */ jsx(
1014
- Typography,
1015
- {
1016
- type: "s5",
1017
- weight: "medium",
1018
- color: "theme.secondary.800",
1019
- children: "Forms"
1020
- }
1021
- ),
1022
- (_a = elementJSON == null ? void 0 : elementJSON.switcher_forms) == null ? void 0 : _a.map(
1023
- (ele) => /* @__PURE__ */ jsxs("div", { className: "formSection--MultiOptions", children: [
1024
- /* @__PURE__ */ jsx(
1025
- TextField,
1026
- {
1027
- fullWidth: true,
1028
- value: ele.name,
1029
- style: { marginBottom: "10px" },
1030
- name: "switcher_forms",
1031
- onChange: (e) => {
1032
- var _a2;
1033
- const newVal = (_a2 = elementJSON.switcher_forms) == null ? void 0 : _a2.map(
1034
- (formEle) => ele.id === formEle.id ? { ...formEle, name: e.target.value } : { ...formEle }
1035
- );
1036
- handlePropertyValueUpdate(e, newVal);
1037
- }
1038
- },
1039
- ele.id
1040
- ),
1041
- /* @__PURE__ */ jsx(
1042
- Close$1,
1043
- {
1044
- style: { fontSize: "1rem", color: "#656669" },
1045
- onClick: (e) => {
1046
- const newVal = [...elementJSON.switcher_forms].filter(
1047
- (item) => item.id !== ele.id
1048
- );
1049
- e.target.name = "switcher_forms";
1050
- handlePropertyValueUpdate(e, newVal);
1051
- }
1052
- }
1053
- )
1054
- ] }, elementJSON.id)
1055
- )
1056
- ] }),
1057
- addForm ? /* @__PURE__ */ jsxs("div", { children: [
1058
- /* @__PURE__ */ jsxs(
1059
- "div",
1060
- {
1061
- className: "formSection--MultiOptions formSection--FullWidth",
1062
- children: [
1063
- /* @__PURE__ */ jsx("div", { className: "formSection--FullWidth", children: /* @__PURE__ */ jsx(
1064
- TextField,
1065
- {
1066
- fullWidth: true,
1067
- label: "Form section name",
1068
- placeholder: "Form section name",
1069
- is_required: true,
1070
- type: "text",
1071
- value: newForm,
1072
- error: isDuplicateFormName,
1073
- helperText: isDuplicateFormName ? "Form section name can not duplicate" : "",
1074
- onChange: (e) => setNewForm(e.target.value)
1075
- },
1076
- elementJSON.id
1077
- ) }),
1078
- /* @__PURE__ */ jsx(
1079
- Close$1,
1080
- {
1081
- style: { fontSize: "1rem", color: "#656669" },
1082
- onClick: () => {
1083
- setAddForm(false);
1084
- setNewForm("");
1085
- }
1086
- }
1087
- )
1088
- ]
1089
- },
1090
- elementJSON.id
1091
- ),
1092
- /* @__PURE__ */ jsx(
1093
- Button,
1094
- {
1095
- onClick: (e) => {
1096
- const { uniqueStringId: id } = generateRandomId();
1097
- const newVal = [
1098
- ...elementJSON.switcher_forms,
1099
- { name: newForm, id }
1100
- ];
1101
- handlePropertyValueUpdate(e, newVal);
1102
- setNewForm("");
1103
- setAddForm(false);
1104
- },
1105
- name: "switcher_forms",
1106
- variant: "text",
1107
- className: "formSection--Button",
1108
- disabled: isDuplicateFormName || !newForm,
1109
- startIcon: /* @__PURE__ */ jsx(Add, {}),
1110
- children: "Add"
1111
- }
1112
- )
1113
- ] }) : null,
1114
- !addForm ? /* @__PURE__ */ jsx(
1115
- Button,
1116
- {
1117
- onClick: () => setAddForm(true),
1118
- variant: "text",
1119
- className: "formSection--Button",
1120
- startIcon: /* @__PURE__ */ jsx(Add, {}),
1121
- children: "Add forms"
1122
- }
1123
- ) : null
1124
- ] }) : null
1125
- ] }, elementJSON.id);
1126
- };
1127
- function CheckboxEditForm(props) {
1128
- const [isAddSelectOption, setAddSelectOption] = useState(false);
1129
- const { handlePropertyValueUpdate, handleSelectOptionValueUpdate, handleColumnSelect, handleWidthChange } = props;
1130
- const columnPerRowOptions = [1, 2, 3, 4, 5, 6];
1131
- const [selectOptions, setSelectOptions] = useState(
1132
- props.element.options || []
1133
- );
1134
- const [elementJSON, setElementJSON] = useState(props.element);
1135
- const allowLabelPositionModification = elementJSON.field_type !== "radioButton";
1136
- const [newOptions, setNewOptions] = useState({
1137
- label: "",
1138
- value: "",
1139
- is_checked: false
1140
- });
1141
- const handleAddNewOption = (e) => {
1142
- const label = e.target.name;
1143
- const value = e.target.value;
1144
- const option = { ...newOptions };
1145
- option[label] = value;
1146
- setNewOptions(option);
1147
- };
1148
- const handleFieldUpdate = (e) => {
1149
- elementJSON.field_type = e.target.value;
1150
- handlePropertyValueUpdate(null, null, null, e.target.value);
1151
- };
1152
- const handleSelectUpdate = (e) => {
1153
- elementJSON.default_value = e.target.value;
1154
- handlePropertyValueUpdate(null, null, e.target.value);
1155
- };
1156
- useEffect(() => {
1157
- setElementJSON(props.element);
1158
- setSelectOptions(props.element.options || []);
1159
- }, [props.element]);
1160
- useEffect(() => {
1161
- setNewOptions({ label: "", value: "", is_checked: false });
1162
- setAddSelectOption(false);
1163
- handleSelectOptionValueUpdate(selectOptions);
1164
- }, [selectOptions]);
1165
- return /* @__PURE__ */ jsxs(Box, { className: "formSection--FieldContainer", children: [
1166
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1167
- FieldSelect,
1168
- {
1169
- variant: "outlined",
1170
- onChange: handleFieldUpdate,
1171
- defaultValue: elementJSON.field_type,
1172
- label: "Field Type",
1173
- disabled: elementJSON.type === "system" || !elementJSON.is_new
1174
- },
1175
- elementJSON.id
1176
- ) }, elementJSON.id),
1177
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1178
- TextField,
1179
- {
1180
- fullWidth: true,
1181
- label: "Label",
1182
- is_required: true,
1183
- name: "label",
1184
- type: "text",
1185
- onChange: handlePropertyValueUpdate,
1186
- defaultValue: elementJSON.label
1187
- },
1188
- elementJSON.id
1189
- ) }, elementJSON.id),
1190
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1191
- Select$1,
1192
- {
1193
- variant: "outlined",
1194
- fullWidth: true,
1195
- placeholder: "Select Default",
1196
- size: "small",
1197
- name: "options",
1198
- onChange: () => handleSelectUpdate,
1199
- defaultValue: elementJSON.default_value,
1200
- label: "Default",
1201
- disabled: !selectOptions.length,
1202
- children: selectOptions == null ? void 0 : selectOptions.map((option, index) => /* @__PURE__ */ jsx(MenuItem, { value: option.value, children: option.label }, index))
1203
- },
1204
- elementJSON.id
1205
- ) }, elementJSON.id),
1206
- /* @__PURE__ */ jsx(FormControl, { children: /* @__PURE__ */ jsx(
1207
- Select$1,
1208
- {
1209
- fullWidth: true,
1210
- placeholder: "Select Column Per Row",
1211
- size: "small",
1212
- onChange: handleColumnSelect,
1213
- label: "Select Column Per Row",
1214
- name: "option",
1215
- variant: "outlined",
1216
- children: columnPerRowOptions == null ? void 0 : columnPerRowOptions.map((option, index) => /* @__PURE__ */ jsx(MenuItem, { value: option, children: option }, index))
1217
- },
1218
- elementJSON.id
1219
- ) }),
1220
- /* @__PURE__ */ jsxs(Box, { children: [
1221
- /* @__PURE__ */ jsx(Typography, { sx: { color: "black" }, children: "Adjust Width:" }),
1222
- /* @__PURE__ */ jsx(
1223
- Slider,
1224
- {
1225
- value: elementJSON == null ? void 0 : elementJSON.custom_width,
1226
- name: "custom_width",
1227
- min: 1,
1228
- max: 12,
1229
- step: 1,
1230
- onChange: (_, newValue) => handleWidthChange(newValue),
1231
- "aria-labelledby": "width-slider",
1232
- sx: { color: "#4AC08C" }
1233
- }
1234
- )
1235
- ] }),
1236
- /* @__PURE__ */ jsxs("div", { className: "formSection--SelectOption", children: [
1237
- /* @__PURE__ */ jsx(Typography, { type: "s5", weight: "medium", color: "theme.secondary.800", children: "Options" }),
1238
- selectOptions.map((option, index) => /* @__PURE__ */ jsxs("div", { className: "formSection--MultiOptions", children: [
1239
- /* @__PURE__ */ jsx(
1240
- TextField,
1241
- {
1242
- fullWidth: true,
1243
- value: `${option.label} (${option.value})`,
1244
- InputProps: {
1245
- readOnly: true
1246
- }
1247
- },
1248
- index
1249
- ),
1250
- /* @__PURE__ */ jsx(
1251
- Close$1,
1252
- {
1253
- style: { fontSize: "1rem", color: "#656669" },
1254
- onClick: () => {
1255
- setSelectOptions([
1256
- ...selectOptions.filter(
1257
- (_, filterIndex) => filterIndex !== index
1258
- )
1259
- ]);
1260
- }
1261
- }
1262
- )
1263
- ] }))
1264
- ] }),
1265
- isAddSelectOption ? /* @__PURE__ */ jsxs("div", { className: "formSection--SelectOption", children: [
1266
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1267
- TextField,
1268
- {
1269
- fullWidth: true,
1270
- label: "Label",
1271
- is_required: true,
1272
- name: "label",
1273
- type: "text",
1274
- placeholder: "Label",
1275
- defaultValue: newOptions.label,
1276
- onChange: handleAddNewOption
1277
- }
1278
- ) }),
1279
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1280
- TextField,
1281
- {
1282
- fullWidth: true,
1283
- label: "Value",
1284
- placeholder: "Value",
1285
- is_required: true,
1286
- name: "value",
1287
- type: "text",
1288
- defaultValue: newOptions.value,
1289
- onChange: handleAddNewOption
1290
- }
1291
- ) }),
1292
- /* @__PURE__ */ jsx(
1293
- Button$1,
1294
- {
1295
- onClick: () => setSelectOptions([...selectOptions, { ...newOptions }]),
1296
- disabled: !!selectOptions.find(
1297
- (ele) => ele.value === newOptions.value
1298
- ),
1299
- variant: "text",
1300
- className: "formSection--Button",
1301
- startIcon: /* @__PURE__ */ jsx(Add, {}),
1302
- children: "Add"
1303
- }
1304
- )
1305
- ] }) : /* @__PURE__ */ jsx(
1306
- Button$1,
1307
- {
1308
- onClick: () => setAddSelectOption(true),
1309
- variant: "text",
1310
- className: "formSection--Button",
1311
- startIcon: /* @__PURE__ */ jsx(Add, {}),
1312
- children: "Add Option"
1313
- }
1314
- ),
1315
- /* @__PURE__ */ jsxs(FormControl, { children: [
1316
- /* @__PURE__ */ jsx(Typography, { type: "s4", color: "theme.secondary.800", children: "Display style" }),
1317
- /* @__PURE__ */ jsxs(
1318
- RadioGroup,
1319
- {
1320
- row: true,
1321
- "aria-labelledby": "demo-radio-buttons-group-label",
1322
- name: "display",
1323
- onChange: handlePropertyValueUpdate,
1324
- defaultValue: elementJSON.display,
1325
- children: [
1326
- /* @__PURE__ */ jsx(
1327
- FormControlLabel,
1328
- {
1329
- value: "row",
1330
- control: /* @__PURE__ */ jsx(Radio, { size: "small" }),
1331
- label: "Row",
1332
- slotProps: { typography: { variant: "body2" } }
1333
- }
1334
- ),
1335
- /* @__PURE__ */ jsx(
1336
- FormControlLabel,
1337
- {
1338
- value: "column",
1339
- control: /* @__PURE__ */ jsx(Radio, { size: "small" }),
1340
- label: "Column",
1341
- slotProps: { typography: { variant: "body2" } }
1342
- }
1343
- )
1344
- ]
1345
- },
1346
- elementJSON.id
1347
- )
1348
- ] }),
1349
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1350
- TextField,
1351
- {
1352
- fullWidth: true,
1353
- label: "Title",
1354
- is_required: true,
1355
- name: "title",
1356
- type: "text",
1357
- onChange: handlePropertyValueUpdate,
1358
- defaultValue: elementJSON.title
1359
- },
1360
- elementJSON.id
1361
- ) }, elementJSON.id),
1362
- /* @__PURE__ */ jsxs(FormControl, { disabled: !allowLabelPositionModification, children: [
1363
- /* @__PURE__ */ jsx(Typography, { type: "s4", color: "theme.secondary.800", children: "Title Position" }),
1364
- /* @__PURE__ */ jsxs(
1365
- RadioGroup,
1366
- {
1367
- row: true,
1368
- "aria-labelledby": "demo-radio-buttons-group-label",
1369
- name: "title_position",
1370
- onChange: handlePropertyValueUpdate,
1371
- defaultValue: allowLabelPositionModification ? "end" : "",
1372
- children: [
1373
- /* @__PURE__ */ jsx(
1374
- FormControlLabel,
1375
- {
1376
- value: "start",
1377
- control: /* @__PURE__ */ jsx(Radio, { size: "small" }),
1378
- label: "Start",
1379
- slotProps: { typography: { variant: "body2" } }
1380
- }
1381
- ),
1382
- /* @__PURE__ */ jsx(
1383
- FormControlLabel,
1384
- {
1385
- value: "end",
1386
- control: /* @__PURE__ */ jsx(Radio, { size: "small" }),
1387
- label: "End",
1388
- slotProps: { typography: { variant: "body2" } }
1389
- }
1390
- )
1391
- ]
1392
- },
1393
- elementJSON.id
1394
- )
1395
- ] }),
1396
- /* @__PURE__ */ jsx(
1397
- FormControlLabel,
1398
- {
1399
- name: "is_required",
1400
- control: /* @__PURE__ */ jsx(Checkbox, {}),
1401
- onChange: handlePropertyValueUpdate,
1402
- checked: elementJSON.is_required,
1403
- label: "This field is required"
1404
- },
1405
- elementJSON.id
1406
- ),
1407
- /* @__PURE__ */ jsx(
1408
- FormControlLabel,
1409
- {
1410
- name: "is_unique",
1411
- control: /* @__PURE__ */ jsx(Checkbox, {}),
1412
- onChange: handlePropertyValueUpdate,
1413
- checked: elementJSON.is_unique,
1414
- label: "Is Unique"
1415
- },
1416
- elementJSON.id
1417
- ),
1418
- /* @__PURE__ */ jsx(
1419
- FormControlLabel,
1420
- {
1421
- name: "is_fullwidth",
1422
- control: /* @__PURE__ */ jsx(Checkbox, {}),
1423
- onChange: handlePropertyValueUpdate,
1424
- checked: elementJSON == null ? void 0 : elementJSON.is_fullwidth,
1425
- label: "Full Width "
1426
- },
1427
- elementJSON.id
1428
- )
1429
- ] }, elementJSON.id);
1430
- }
1431
- const TableEditForm = ({
1432
- handlePropertyValueUpdate,
1433
- element,
1434
- handleColumnsUpdate,
1435
- fields: fields2
1436
- }) => {
1437
- const [elementJSON, setElementJSON] = useState(element);
1438
- const [tables, setTables] = useState([]);
1439
- const handleFieldUpdate = (event) => {
1440
- if (elementJSON) {
1441
- elementJSON.field_type = event.target.value;
1442
- handlePropertyValueUpdate(null, null, null, event.target.value);
1443
- }
1444
- };
1445
- const handleTableSelect = (event) => {
1446
- handlePropertyValueUpdate(event);
1447
- };
1448
- useEffect(() => {
1449
- setElementJSON(element);
1450
- }, [element]);
1451
- useEffect(() => {
1452
- if (elementJSON && elementJSON.table && fields2) {
1453
- const fieldsArr = fields2[elementJSON.table];
1454
- let columns = [];
1455
- if (fieldsArr && (fieldsArr == null ? void 0 : fieldsArr.length)) {
1456
- columns = fieldsArr.map((field, index) => ({
1457
- header: formatText(field.field),
1458
- accessorKey: field.field,
1459
- visible: index > 3 ? false : true,
1460
- type: field.type
1461
- }));
1462
- } else {
1463
- columns = [
1464
- { header: "Column 1", accessorKey: "column_1", visible: true },
1465
- { header: "Column 2", accessorKey: "column_1", visible: true }
1466
- ];
1467
- }
1468
- columns && handleColumnsUpdate(columns);
1469
- }
1470
- }, [elementJSON == null ? void 0 : elementJSON.table]);
1471
- useEffect(() => {
1472
- if (fields2) {
1473
- const options = Object.keys(fields2).map((key) => ({
1474
- label: formatText(key),
1475
- value: key
1476
- }));
1477
- setTables(options);
1478
- }
1479
- }, [fields2]);
1480
- if (!elementJSON) {
1481
- return null;
1482
- }
1483
- return /* @__PURE__ */ jsxs(Box, { className: "formSection--FieldContainer", children: [
1484
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1485
- FieldSelect,
1486
- {
1487
- variant: "outlined",
1488
- onChange: handleFieldUpdate,
1489
- defaultValue: elementJSON.field_type,
1490
- disabled: elementJSON.type === "system" || !elementJSON.is_new
1491
- },
1492
- elementJSON.id
1493
- ) }, elementJSON.id),
1494
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1495
- TextField,
1496
- {
1497
- fullWidth: true,
1498
- label: "Label",
1499
- is_required: true,
1500
- name: "label",
1501
- type: "text",
1502
- onChange: handlePropertyValueUpdate,
1503
- defaultValue: elementJSON.label
1504
- },
1505
- elementJSON.id
1506
- ) }, elementJSON.id),
1507
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1508
- Select,
1509
- {
1510
- variant: "outlined",
1511
- label: "Table",
1512
- fullWidth: true,
1513
- placeholder: "Select Table",
1514
- size: "small",
1515
- name: "table",
1516
- defaultValue: elementJSON.table,
1517
- disabled: elementJSON.type === "system",
1518
- onChange: handleTableSelect,
1519
- renderValue: (value) => {
1520
- var _a;
1521
- return (_a = tables.find((option) => option.value === value)) == null ? void 0 : _a.label;
1522
- },
1523
- children: tables == null ? void 0 : tables.map((item) => /* @__PURE__ */ jsx(MenuItem, { value: item.value, children: item.label }))
1524
- },
1525
- elementJSON.id
1526
- ) }, elementJSON.id)
1527
- ] }, elementJSON.id);
1528
- };
1529
- export {
1530
- CheckboxEditForm as C,
1531
- FieldSelect as F,
1532
- SectionEditForm as S,
1533
- TableEditForm as T,
1534
- SelectEditForm as a,
1535
- TextEditForm as b
1536
- };
1537
- //# sourceMappingURL=table-form-BweS8HY4.esm.js.map