@citizenplatform/core 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (670) hide show
  1. package/dist/assets/CctnsLogo.d.ts +3 -0
  2. package/dist/assets/CctnsLogo.d.ts.map +1 -0
  3. package/dist/assets/EmblemImage.d.ts +3 -0
  4. package/dist/assets/EmblemImage.d.ts.map +1 -0
  5. package/dist/assets/icons/CitizenServiceIcon.d.ts +3 -0
  6. package/dist/assets/icons/CitizenServiceIcon.d.ts.map +1 -0
  7. package/dist/assets/icons/CloseIcon.d.ts +3 -0
  8. package/dist/assets/icons/CloseIcon.d.ts.map +1 -0
  9. package/dist/assets/icons/ComplaintIcon.d.ts +5 -0
  10. package/dist/assets/icons/ComplaintIcon.d.ts.map +1 -0
  11. package/dist/assets/icons/DarkThemeDarkIcon.d.ts +3 -0
  12. package/dist/assets/icons/DarkThemeDarkIcon.d.ts.map +1 -0
  13. package/dist/assets/icons/DarkThemeLightIcon.d.ts +3 -0
  14. package/dist/assets/icons/DarkThemeLightIcon.d.ts.map +1 -0
  15. package/dist/assets/icons/DashboardIcon.d.ts +3 -0
  16. package/dist/assets/icons/DashboardIcon.d.ts.map +1 -0
  17. package/dist/assets/icons/ExpandMoreRoundedIcon.d.ts +2 -0
  18. package/dist/assets/icons/ExpandMoreRoundedIcon.d.ts.map +1 -0
  19. package/dist/assets/icons/LanguageIcon.d.ts +3 -0
  20. package/dist/assets/icons/LanguageIcon.d.ts.map +1 -0
  21. package/dist/assets/icons/MenuAccessibilityIcon.d.ts +3 -0
  22. package/dist/assets/icons/MenuAccessibilityIcon.d.ts.map +1 -0
  23. package/dist/assets/icons/NoDataIcon.d.ts +3 -0
  24. package/dist/assets/icons/NoDataIcon.d.ts.map +1 -0
  25. package/dist/assets/icons/PersonalInfoIcon.d.ts +3 -0
  26. package/dist/assets/icons/PersonalInfoIcon.d.ts.map +1 -0
  27. package/dist/assets/icons/ProtestIcon.d.ts +5 -0
  28. package/dist/assets/icons/ProtestIcon.d.ts.map +1 -0
  29. package/dist/assets/icons/SearchIconSvg.d.ts +3 -0
  30. package/dist/assets/icons/SearchIconSvg.d.ts.map +1 -0
  31. package/dist/assets/icons/autoSaveIcon.d.ts +5 -0
  32. package/dist/assets/icons/autoSaveIcon.d.ts.map +1 -0
  33. package/dist/assets/icons/bellIcon.d.ts +3 -0
  34. package/dist/assets/icons/bellIcon.d.ts.map +1 -0
  35. package/dist/assets/icons/calenderIcon.d.ts +3 -0
  36. package/dist/assets/icons/calenderIcon.d.ts.map +1 -0
  37. package/dist/assets/icons/grid-delete-icon.d.ts +3 -0
  38. package/dist/assets/icons/grid-delete-icon.d.ts.map +1 -0
  39. package/dist/assets/icons/grid-edit-icon.d.ts +7 -0
  40. package/dist/assets/icons/grid-edit-icon.d.ts.map +1 -0
  41. package/dist/assets/icons/grid-print-icon.d.ts +3 -0
  42. package/dist/assets/icons/grid-print-icon.d.ts.map +1 -0
  43. package/dist/assets/icons/grid-restore-icon.d.ts +3 -0
  44. package/dist/assets/icons/grid-restore-icon.d.ts.map +1 -0
  45. package/dist/assets/icons/grid-view-icon.d.ts +3 -0
  46. package/dist/assets/icons/grid-view-icon.d.ts.map +1 -0
  47. package/dist/assets/icons/icons.type.d.ts +5 -0
  48. package/dist/assets/icons/icons.type.d.ts.map +1 -0
  49. package/dist/assets/icons/upArrowIcon.d.ts +3 -0
  50. package/dist/assets/icons/upArrowIcon.d.ts.map +1 -0
  51. package/dist/index.d.ts +2 -0
  52. package/dist/index.d.ts.map +1 -0
  53. package/dist/libs/core/api/apiClient.d.ts +3 -0
  54. package/dist/libs/core/api/apiClient.d.ts.map +1 -0
  55. package/dist/libs/core/api/apiService.d.ts +10 -0
  56. package/dist/libs/core/api/apiService.d.ts.map +1 -0
  57. package/dist/libs/core/api/errorHandlers.d.ts +6 -0
  58. package/dist/libs/core/api/errorHandlers.d.ts.map +1 -0
  59. package/dist/libs/core/constants/apiEndPoints.d.ts +70 -0
  60. package/dist/libs/core/constants/apiEndPoints.d.ts.map +1 -0
  61. package/dist/libs/core/constants/commonConstants.d.ts +94 -0
  62. package/dist/libs/core/constants/commonConstants.d.ts.map +1 -0
  63. package/dist/libs/core/constants/commonLookupCodes.d.ts +5 -0
  64. package/dist/libs/core/constants/commonLookupCodes.d.ts.map +1 -0
  65. package/dist/libs/core/constants/dtoNames.d.ts +18 -0
  66. package/dist/libs/core/constants/dtoNames.d.ts.map +1 -0
  67. package/dist/libs/core/constants/masterCodes.d.ts +74 -0
  68. package/dist/libs/core/constants/masterCodes.d.ts.map +1 -0
  69. package/dist/libs/core/context/AppThemeContext.d.ts +22 -0
  70. package/dist/libs/core/context/AppThemeContext.d.ts.map +1 -0
  71. package/dist/libs/core/error/ErrorBoundary.d.ts +17 -0
  72. package/dist/libs/core/error/ErrorBoundary.d.ts.map +1 -0
  73. package/dist/libs/core/error/RouteErrorBoundary.d.ts +2 -0
  74. package/dist/libs/core/error/RouteErrorBoundary.d.ts.map +1 -0
  75. package/dist/libs/core/error/index.d.ts +2 -0
  76. package/dist/libs/core/error/index.d.ts.map +1 -0
  77. package/dist/libs/core/guards/AuthGuard.d.ts +4 -0
  78. package/dist/libs/core/guards/AuthGuard.d.ts.map +1 -0
  79. package/dist/libs/core/hooks/index.d.ts +2 -0
  80. package/dist/libs/core/hooks/index.d.ts.map +1 -0
  81. package/dist/libs/core/hooks/useAppDispatch.d.ts +7 -0
  82. package/dist/libs/core/hooks/useAppDispatch.d.ts.map +1 -0
  83. package/dist/libs/core/hooks/useAuth.d.ts +9 -0
  84. package/dist/libs/core/hooks/useAuth.d.ts.map +1 -0
  85. package/dist/libs/core/hooks/useDevice.d.ts +9 -0
  86. package/dist/libs/core/hooks/useDevice.d.ts.map +1 -0
  87. package/dist/libs/core/hooks/useInjectSlice.d.ts +5 -0
  88. package/dist/libs/core/hooks/useInjectSlice.d.ts.map +1 -0
  89. package/dist/libs/core/hooks/useMasterFetch.d.ts +12 -0
  90. package/dist/libs/core/hooks/useMasterFetch.d.ts.map +1 -0
  91. package/dist/libs/core/hooks/useOnChangeHandlers.d.ts +11 -0
  92. package/dist/libs/core/hooks/useOnChangeHandlers.d.ts.map +1 -0
  93. package/dist/libs/core/hooks/useParentSliceName.d.ts +2 -0
  94. package/dist/libs/core/hooks/useParentSliceName.d.ts.map +1 -0
  95. package/dist/libs/core/hooks/useSnackBarComponent.d.ts +1 -0
  96. package/dist/libs/core/hooks/useSnackBarComponent.d.ts.map +1 -0
  97. package/dist/libs/core/index.d.ts +2 -0
  98. package/dist/libs/core/index.d.ts.map +1 -0
  99. package/dist/libs/core/providers/AppThemeProvider.d.ts +5 -0
  100. package/dist/libs/core/providers/AppThemeProvider.d.ts.map +1 -0
  101. package/dist/libs/core/types/remoteConfig.d.ts +37 -0
  102. package/dist/libs/core/types/remoteConfig.d.ts.map +1 -0
  103. package/dist/libs/core/types/routeTypes.d.ts +9 -0
  104. package/dist/libs/core/types/routeTypes.d.ts.map +1 -0
  105. package/dist/libs/core/utils/addGridItemFn.d.ts +15 -0
  106. package/dist/libs/core/utils/addGridItemFn.d.ts.map +1 -0
  107. package/dist/libs/core/utils/commonFunctions.d.ts +42 -0
  108. package/dist/libs/core/utils/commonFunctions.d.ts.map +1 -0
  109. package/dist/libs/core/utils/createDTOActions.d.ts +15 -0
  110. package/dist/libs/core/utils/createDTOActions.d.ts.map +1 -0
  111. package/dist/libs/core/utils/cryptoUtil.d.ts +9 -0
  112. package/dist/libs/core/utils/cryptoUtil.d.ts.map +1 -0
  113. package/dist/libs/core/utils/dateUtilities.d.ts +23 -0
  114. package/dist/libs/core/utils/dateUtilities.d.ts.map +1 -0
  115. package/dist/libs/core/utils/gridColumnUtilities.d.ts +6 -0
  116. package/dist/libs/core/utils/gridColumnUtilities.d.ts.map +1 -0
  117. package/dist/libs/core/utils/loggers.d.ts +8 -0
  118. package/dist/libs/core/utils/loggers.d.ts.map +1 -0
  119. package/dist/libs/core/utils/sharedFormActions.d.ts +26 -0
  120. package/dist/libs/core/utils/sharedFormActions.d.ts.map +1 -0
  121. package/dist/libs/core/utils/validateDto.d.ts +4 -0
  122. package/dist/libs/core/utils/validateDto.d.ts.map +1 -0
  123. package/dist/libs/core/utils/validateFields.d.ts +20 -0
  124. package/dist/libs/core/utils/validateFields.d.ts.map +1 -0
  125. package/dist/libs/index.d.ts +2 -0
  126. package/dist/libs/index.d.ts.map +1 -0
  127. package/dist/libs/shared/UI/CustomSnackbar.d.ts +12 -0
  128. package/dist/libs/shared/UI/CustomSnackbar.d.ts.map +1 -0
  129. package/dist/libs/shared/UI/HelperTextCommon.d.ts +4 -0
  130. package/dist/libs/shared/UI/HelperTextCommon.d.ts.map +1 -0
  131. package/dist/libs/shared/UI/NotFound.d.ts +2 -0
  132. package/dist/libs/shared/UI/NotFound.d.ts.map +1 -0
  133. package/dist/libs/shared/UI/accordian/AccordianGroup.d.ts +5 -0
  134. package/dist/libs/shared/UI/accordian/AccordianGroup.d.ts.map +1 -0
  135. package/dist/libs/shared/UI/accordian/AccordianSection.d.ts +13 -0
  136. package/dist/libs/shared/UI/accordian/AccordianSection.d.ts.map +1 -0
  137. package/dist/libs/shared/UI/button/AppButton.d.ts +3 -0
  138. package/dist/libs/shared/UI/button/AppButton.d.ts.map +1 -0
  139. package/dist/libs/shared/UI/button/FooterButton.d.ts +13 -0
  140. package/dist/libs/shared/UI/button/FooterButton.d.ts.map +1 -0
  141. package/dist/libs/shared/UI/calender/CustomDatePicker.d.ts +5 -0
  142. package/dist/libs/shared/UI/calender/CustomDatePicker.d.ts.map +1 -0
  143. package/dist/libs/shared/UI/calender/CustomDatePicker.type.d.ts +14 -0
  144. package/dist/libs/shared/UI/calender/CustomDatePicker.type.d.ts.map +1 -0
  145. package/dist/libs/shared/UI/checkbox/AppCheckbox.d.ts +10 -0
  146. package/dist/libs/shared/UI/checkbox/AppCheckbox.d.ts.map +1 -0
  147. package/dist/libs/shared/UI/checkbox/CheckboxList.d.ts +5 -0
  148. package/dist/libs/shared/UI/checkbox/CheckboxList.d.ts.map +1 -0
  149. package/dist/libs/shared/UI/checkbox/SingleCheckbox.d.ts +6 -0
  150. package/dist/libs/shared/UI/checkbox/SingleCheckbox.d.ts.map +1 -0
  151. package/dist/libs/shared/UI/checkbox/useCheckboxListController.d.ts +18 -0
  152. package/dist/libs/shared/UI/checkbox/useCheckboxListController.d.ts.map +1 -0
  153. package/dist/libs/shared/UI/checkbox/useSingleCheckboxController.d.ts +22 -0
  154. package/dist/libs/shared/UI/checkbox/useSingleCheckboxController.d.ts.map +1 -0
  155. package/dist/libs/shared/UI/chip/AppChip.d.ts +5 -0
  156. package/dist/libs/shared/UI/chip/AppChip.d.ts.map +1 -0
  157. package/dist/libs/shared/UI/dataGrid/DataGrid.d.ts +6 -0
  158. package/dist/libs/shared/UI/dataGrid/DataGrid.d.ts.map +1 -0
  159. package/dist/libs/shared/UI/dataGrid/dataGridController.d.ts +23 -0
  160. package/dist/libs/shared/UI/dataGrid/dataGridController.d.ts.map +1 -0
  161. package/dist/libs/shared/UI/dropdown/AutocompleteInputField.d.ts +6 -0
  162. package/dist/libs/shared/UI/dropdown/AutocompleteInputField.d.ts.map +1 -0
  163. package/dist/libs/shared/UI/dropdown/SelectInputField.d.ts +3 -0
  164. package/dist/libs/shared/UI/dropdown/SelectInputField.d.ts.map +1 -0
  165. package/dist/libs/shared/UI/dropdown/SelectTextInputField.d.ts +4 -0
  166. package/dist/libs/shared/UI/dropdown/SelectTextInputField.d.ts.map +1 -0
  167. package/dist/libs/shared/UI/dropdown/selectTextInputField.types.d.ts +11 -0
  168. package/dist/libs/shared/UI/dropdown/selectTextInputField.types.d.ts.map +1 -0
  169. package/dist/libs/shared/UI/grid/GridContainer.d.ts +8 -0
  170. package/dist/libs/shared/UI/grid/GridContainer.d.ts.map +1 -0
  171. package/dist/libs/shared/UI/grid/GridItem.d.ts +3 -0
  172. package/dist/libs/shared/UI/grid/GridItem.d.ts.map +1 -0
  173. package/dist/libs/shared/UI/heading/CustomHeading.d.ts +5 -0
  174. package/dist/libs/shared/UI/heading/CustomHeading.d.ts.map +1 -0
  175. package/dist/libs/shared/UI/index.d.ts +4 -0
  176. package/dist/libs/shared/UI/index.d.ts.map +1 -0
  177. package/dist/libs/shared/UI/indicator/AutoSaveIndicator.d.ts +5 -0
  178. package/dist/libs/shared/UI/indicator/AutoSaveIndicator.d.ts.map +1 -0
  179. package/dist/libs/shared/UI/indicator/Infopair.d.ts +7 -0
  180. package/dist/libs/shared/UI/indicator/Infopair.d.ts.map +1 -0
  181. package/dist/libs/shared/UI/maincard/Maincard.d.ts +5 -0
  182. package/dist/libs/shared/UI/maincard/Maincard.d.ts.map +1 -0
  183. package/dist/libs/shared/UI/modal/CommonModal.d.ts +3 -0
  184. package/dist/libs/shared/UI/modal/CommonModal.d.ts.map +1 -0
  185. package/dist/libs/shared/UI/modal/ConfirmationModal.d.ts +16 -0
  186. package/dist/libs/shared/UI/modal/ConfirmationModal.d.ts.map +1 -0
  187. package/dist/libs/shared/UI/modal/GlobalConfirmationModal.d.ts +3 -0
  188. package/dist/libs/shared/UI/modal/GlobalConfirmationModal.d.ts.map +1 -0
  189. package/dist/libs/shared/UI/modal/GlobalSnackbar.d.ts +3 -0
  190. package/dist/libs/shared/UI/modal/GlobalSnackbar.d.ts.map +1 -0
  191. package/dist/libs/shared/UI/modal/SubmitModal.d.ts +5 -0
  192. package/dist/libs/shared/UI/modal/SubmitModal.d.ts.map +1 -0
  193. package/dist/libs/shared/UI/outlinedCard/CardDetails.d.ts +13 -0
  194. package/dist/libs/shared/UI/outlinedCard/CardDetails.d.ts.map +1 -0
  195. package/dist/libs/shared/UI/outlinedCard/OutlinedCard.d.ts +5 -0
  196. package/dist/libs/shared/UI/outlinedCard/OutlinedCard.d.ts.map +1 -0
  197. package/dist/libs/shared/UI/previewText/PreviewText.d.ts +5 -0
  198. package/dist/libs/shared/UI/previewText/PreviewText.d.ts.map +1 -0
  199. package/dist/libs/shared/UI/previewText/PreviewText.type.d.ts +7 -0
  200. package/dist/libs/shared/UI/previewText/PreviewText.type.d.ts.map +1 -0
  201. package/dist/libs/shared/UI/radio/RadioButton.d.ts +5 -0
  202. package/dist/libs/shared/UI/radio/RadioButton.d.ts.map +1 -0
  203. package/dist/libs/shared/UI/radio/RadioButton.type.d.ts +19 -0
  204. package/dist/libs/shared/UI/radio/RadioButton.type.d.ts.map +1 -0
  205. package/dist/libs/shared/UI/radio/radioButtonController.d.ts +32 -0
  206. package/dist/libs/shared/UI/radio/radioButtonController.d.ts.map +1 -0
  207. package/dist/libs/shared/UI/rowHeading/Row.d.ts +11 -0
  208. package/dist/libs/shared/UI/rowHeading/Row.d.ts.map +1 -0
  209. package/dist/libs/shared/UI/stepper/components/CustomStepper.d.ts +3 -0
  210. package/dist/libs/shared/UI/stepper/components/CustomStepper.d.ts.map +1 -0
  211. package/dist/libs/shared/UI/stepper/components/SectionRenderer.d.ts +3 -0
  212. package/dist/libs/shared/UI/stepper/components/SectionRenderer.d.ts.map +1 -0
  213. package/dist/libs/shared/UI/stepper/components/StepRenderer.d.ts +14 -0
  214. package/dist/libs/shared/UI/stepper/components/StepRenderer.d.ts.map +1 -0
  215. package/dist/libs/shared/UI/stepper/hooks/useStepper.d.ts +17 -0
  216. package/dist/libs/shared/UI/stepper/hooks/useStepper.d.ts.map +1 -0
  217. package/dist/libs/shared/UI/stepper/types/stepperTypes.d.ts +37 -0
  218. package/dist/libs/shared/UI/stepper/types/stepperTypes.d.ts.map +1 -0
  219. package/dist/libs/shared/UI/textInput/TextInputField.d.ts +5 -0
  220. package/dist/libs/shared/UI/textInput/TextInputField.d.ts.map +1 -0
  221. package/dist/libs/shared/UI/textInput/TextInputField.type.d.ts +31 -0
  222. package/dist/libs/shared/UI/textInput/TextInputField.type.d.ts.map +1 -0
  223. package/dist/libs/shared/UI/toolTips/CustomizedTooltip.d.ts +10 -0
  224. package/dist/libs/shared/UI/toolTips/CustomizedTooltip.d.ts.map +1 -0
  225. package/dist/libs/shared/UI/typography/Typography2.d.ts +5 -0
  226. package/dist/libs/shared/UI/typography/Typography2.d.ts.map +1 -0
  227. package/dist/libs/shared/components/addressMultiple/AddressInfo.d.ts +5 -0
  228. package/dist/libs/shared/components/addressMultiple/AddressInfo.d.ts.map +1 -0
  229. package/dist/libs/shared/components/addressMultiple/AddressMultiple.d.ts +5 -0
  230. package/dist/libs/shared/components/addressMultiple/AddressMultiple.d.ts.map +1 -0
  231. package/dist/libs/shared/components/addressMultiple/addressDto.d.ts +139 -0
  232. package/dist/libs/shared/components/addressMultiple/addressDto.d.ts.map +1 -0
  233. package/dist/libs/shared/components/addressMultiple/addressInfoController.d.ts +33 -0
  234. package/dist/libs/shared/components/addressMultiple/addressInfoController.d.ts.map +1 -0
  235. package/dist/libs/shared/components/addressMultiple/addressInfoDto.d.ts +50 -0
  236. package/dist/libs/shared/components/addressMultiple/addressInfoDto.d.ts.map +1 -0
  237. package/dist/libs/shared/components/addressMultiple/addressMultipleController.d.ts +96 -0
  238. package/dist/libs/shared/components/addressMultiple/addressMultipleController.d.ts.map +1 -0
  239. package/dist/libs/shared/components/addressMultiple/addressUtils.d.ts +40 -0
  240. package/dist/libs/shared/components/addressMultiple/addressUtils.d.ts.map +1 -0
  241. package/dist/libs/shared/components/agePanel/AgePanel.d.ts +5 -0
  242. package/dist/libs/shared/components/agePanel/AgePanel.d.ts.map +1 -0
  243. package/dist/libs/shared/components/agePanel/agePanelController.d.ts +35 -0
  244. package/dist/libs/shared/components/agePanel/agePanelController.d.ts.map +1 -0
  245. package/dist/libs/shared/components/agePanel/agePanelDto.d.ts +33 -0
  246. package/dist/libs/shared/components/agePanel/agePanelDto.d.ts.map +1 -0
  247. package/dist/libs/shared/components/agePanel/agePanelUtils.d.ts +16 -0
  248. package/dist/libs/shared/components/agePanel/agePanelUtils.d.ts.map +1 -0
  249. package/dist/libs/shared/components/identificationPanel/IdentificationPanel.d.ts +5 -0
  250. package/dist/libs/shared/components/identificationPanel/IdentificationPanel.d.ts.map +1 -0
  251. package/dist/libs/shared/components/identificationPanel/identificationPanelConfig.d.ts +4 -0
  252. package/dist/libs/shared/components/identificationPanel/identificationPanelConfig.d.ts.map +1 -0
  253. package/dist/libs/shared/components/identificationPanel/identificationPanelDTO.d.ts +59 -0
  254. package/dist/libs/shared/components/identificationPanel/identificationPanelDTO.d.ts.map +1 -0
  255. package/dist/libs/shared/components/identificationPanel/useIdentificationPanel.d.ts +63 -0
  256. package/dist/libs/shared/components/identificationPanel/useIdentificationPanel.d.ts.map +1 -0
  257. package/dist/libs/shared/components/mobileVerification/MobileVerification.d.ts +5 -0
  258. package/dist/libs/shared/components/mobileVerification/MobileVerification.d.ts.map +1 -0
  259. package/dist/libs/shared/components/mobileVerification/mobileVerificationController.d.ts +38 -0
  260. package/dist/libs/shared/components/mobileVerification/mobileVerificationController.d.ts.map +1 -0
  261. package/dist/libs/shared/components/mobileVerification/mobileVerificationDTO.d.ts +43 -0
  262. package/dist/libs/shared/components/mobileVerification/mobileVerificationDTO.d.ts.map +1 -0
  263. package/dist/libs/shared/components/mobileVerification/mobileVerificationTypes.d.ts +19 -0
  264. package/dist/libs/shared/components/mobileVerification/mobileVerificationTypes.d.ts.map +1 -0
  265. package/dist/libs/shared/components/mobileVerification/modal/OtpModal.d.ts +10 -0
  266. package/dist/libs/shared/components/mobileVerification/modal/OtpModal.d.ts.map +1 -0
  267. package/dist/libs/shared/components/mobileVerification/validateMobileVerification.d.ts +5 -0
  268. package/dist/libs/shared/components/mobileVerification/validateMobileVerification.d.ts.map +1 -0
  269. package/dist/libs/shared/components/orgnization/OrganizationInfo.d.ts +5 -0
  270. package/dist/libs/shared/components/orgnization/OrganizationInfo.d.ts.map +1 -0
  271. package/dist/libs/shared/components/orgnization/organization.type.d.ts +6 -0
  272. package/dist/libs/shared/components/orgnization/organization.type.d.ts.map +1 -0
  273. package/dist/libs/shared/components/orgnization/organizationInfoDto.d.ts +148 -0
  274. package/dist/libs/shared/components/orgnization/organizationInfoDto.d.ts.map +1 -0
  275. package/dist/libs/shared/components/orgnization/orgnizationApiEndpoints.d.ts +5 -0
  276. package/dist/libs/shared/components/orgnization/orgnizationApiEndpoints.d.ts.map +1 -0
  277. package/dist/libs/shared/components/orgnization/useOrganizationInfoController.d.ts +94 -0
  278. package/dist/libs/shared/components/orgnization/useOrganizationInfoController.d.ts.map +1 -0
  279. package/dist/libs/shared/components/orgnization/utils/addOrganization.d.ts +118 -0
  280. package/dist/libs/shared/components/orgnization/utils/addOrganization.d.ts.map +1 -0
  281. package/dist/libs/shared/components/orgnization/utils/organizationApiConfig.d.ts +15 -0
  282. package/dist/libs/shared/components/orgnization/utils/organizationApiConfig.d.ts.map +1 -0
  283. package/dist/libs/shared/components/personalInfo/PersonalDetails.d.ts +4 -0
  284. package/dist/libs/shared/components/personalInfo/PersonalDetails.d.ts.map +1 -0
  285. package/dist/libs/shared/components/personalInfo/personalDetailsController.d.ts +87 -0
  286. package/dist/libs/shared/components/personalInfo/personalDetailsController.d.ts.map +1 -0
  287. package/dist/libs/shared/components/personalInfo/personalDetailsDto.d.ts +148 -0
  288. package/dist/libs/shared/components/personalInfo/personalDetailsDto.d.ts.map +1 -0
  289. package/dist/libs/shared/components/physicalDescription/components/HeightRangePanel.d.ts +5 -0
  290. package/dist/libs/shared/components/physicalDescription/components/HeightRangePanel.d.ts.map +1 -0
  291. package/dist/libs/shared/components/physicalDescription/components/IdentificationMarksPanel.d.ts +5 -0
  292. package/dist/libs/shared/components/physicalDescription/components/IdentificationMarksPanel.d.ts.map +1 -0
  293. package/dist/libs/shared/components/physicalDescription/components/PhysicalCharacteristicsPanel.d.ts +5 -0
  294. package/dist/libs/shared/components/physicalDescription/components/PhysicalCharacteristicsPanel.d.ts.map +1 -0
  295. package/dist/libs/shared/components/physicalDescription/controller/physicalDescriptionController.d.ts +170 -0
  296. package/dist/libs/shared/components/physicalDescription/controller/physicalDescriptionController.d.ts.map +1 -0
  297. package/dist/libs/shared/components/physicalDescription/controller/useHeightRangePanel.d.ts +33 -0
  298. package/dist/libs/shared/components/physicalDescription/controller/useHeightRangePanel.d.ts.map +1 -0
  299. package/dist/libs/shared/components/physicalDescription/controller/useIdentificationMarksPanel.d.ts +54 -0
  300. package/dist/libs/shared/components/physicalDescription/controller/useIdentificationMarksPanel.d.ts.map +1 -0
  301. package/dist/libs/shared/components/physicalDescription/controller/usePhysicalCharacteristicsPanel.d.ts +66 -0
  302. package/dist/libs/shared/components/physicalDescription/controller/usePhysicalCharacteristicsPanel.d.ts.map +1 -0
  303. package/dist/libs/shared/components/physicalDescription/definations/physicalDescriptionConstants.d.ts +44 -0
  304. package/dist/libs/shared/components/physicalDescription/definations/physicalDescriptionConstants.d.ts.map +1 -0
  305. package/dist/libs/shared/components/physicalDescription/hooks/useGetPhyDescCategoryOptions.d.ts +5 -0
  306. package/dist/libs/shared/components/physicalDescription/hooks/useGetPhyDescCategoryOptions.d.ts.map +1 -0
  307. package/dist/libs/shared/components/physicalDescription/model/DressTypeDTO.d.ts +54 -0
  308. package/dist/libs/shared/components/physicalDescription/model/DressTypeDTO.d.ts.map +1 -0
  309. package/dist/libs/shared/components/physicalDescription/model/HeightRangeDTO.d.ts +42 -0
  310. package/dist/libs/shared/components/physicalDescription/model/HeightRangeDTO.d.ts.map +1 -0
  311. package/dist/libs/shared/components/physicalDescription/model/IdentificationMarksDTO.d.ts +57 -0
  312. package/dist/libs/shared/components/physicalDescription/model/IdentificationMarksDTO.d.ts.map +1 -0
  313. package/dist/libs/shared/components/physicalDescription/model/PhysicalCharacteristicsDTO.d.ts +68 -0
  314. package/dist/libs/shared/components/physicalDescription/model/PhysicalCharacteristicsDTO.d.ts.map +1 -0
  315. package/dist/libs/shared/components/physicalDescription/model/PhysicalDescriptionDTO.d.ts +305 -0
  316. package/dist/libs/shared/components/physicalDescription/model/PhysicalDescriptionDTO.d.ts.map +1 -0
  317. package/dist/libs/shared/components/physicalDescription/physicalDescUtils.d.ts +21 -0
  318. package/dist/libs/shared/components/physicalDescription/physicalDescUtils.d.ts.map +1 -0
  319. package/dist/libs/shared/components/physicalDescription/physicalDescription.d.ts +5 -0
  320. package/dist/libs/shared/components/physicalDescription/physicalDescription.d.ts.map +1 -0
  321. package/dist/libs/shared/components/singleAddress/SingleAddress.d.ts +7 -0
  322. package/dist/libs/shared/components/singleAddress/SingleAddress.d.ts.map +1 -0
  323. package/dist/libs/shared/components/singleAddress/singleAddressController.d.ts +34 -0
  324. package/dist/libs/shared/components/singleAddress/singleAddressController.d.ts.map +1 -0
  325. package/dist/libs/shared/components/singleAddress/singleAddressDto.d.ts +45 -0
  326. package/dist/libs/shared/components/singleAddress/singleAddressDto.d.ts.map +1 -0
  327. package/dist/libs/shared/enums/common-enums.d.ts +203 -0
  328. package/dist/libs/shared/enums/common-enums.d.ts.map +1 -0
  329. package/dist/libs/shared/enums/validation-enums.d.ts +135 -0
  330. package/dist/libs/shared/enums/validation-enums.d.ts.map +1 -0
  331. package/dist/libs/shared/index.d.ts +2 -0
  332. package/dist/libs/shared/index.d.ts.map +1 -0
  333. package/dist/libs/shared/internationalisation/i18n.d.ts +7 -0
  334. package/dist/libs/shared/internationalisation/i18n.d.ts.map +1 -0
  335. package/dist/libs/shared/mapper/commonDTOJSONMap.d.ts +229 -0
  336. package/dist/libs/shared/mapper/commonDTOJSONMap.d.ts.map +1 -0
  337. package/dist/libs/shared/store/api/authApi.d.ts +14 -0
  338. package/dist/libs/shared/store/api/authApi.d.ts.map +1 -0
  339. package/dist/libs/shared/store/api/authEndpoints.d.ts +20 -0
  340. package/dist/libs/shared/store/api/authEndpoints.d.ts.map +1 -0
  341. package/dist/libs/shared/store/api/authServices.d.ts +41 -0
  342. package/dist/libs/shared/store/api/authServices.d.ts.map +1 -0
  343. package/dist/libs/shared/store/appDataSlice.d.ts +25 -0
  344. package/dist/libs/shared/store/appDataSlice.d.ts.map +1 -0
  345. package/dist/libs/shared/store/authSlice.d.ts +23 -0
  346. package/dist/libs/shared/store/authSlice.d.ts.map +1 -0
  347. package/dist/libs/shared/store/confirmationModalSlice.d.ts +36 -0
  348. package/dist/libs/shared/store/confirmationModalSlice.d.ts.map +1 -0
  349. package/dist/libs/shared/store/dynamicSliceFactory.d.ts +3 -0
  350. package/dist/libs/shared/store/dynamicSliceFactory.d.ts.map +1 -0
  351. package/dist/libs/shared/store/rootReducer.d.ts +9 -0
  352. package/dist/libs/shared/store/rootReducer.d.ts.map +1 -0
  353. package/dist/libs/shared/store/snackbarSlice.d.ts +18 -0
  354. package/dist/libs/shared/store/snackbarSlice.d.ts.map +1 -0
  355. package/dist/libs/shared/store/store.d.ts +29 -0
  356. package/dist/libs/shared/store/store.d.ts.map +1 -0
  357. package/dist/libs/shared/store/types/authTypes.d.ts +59 -0
  358. package/dist/libs/shared/store/types/authTypes.d.ts.map +1 -0
  359. package/dist/libs/shared/subComponents/ErrorFallbackPage.d.ts +3 -0
  360. package/dist/libs/shared/subComponents/ErrorFallbackPage.d.ts.map +1 -0
  361. package/dist/libs/shared/subComponents/Loader.d.ts +6 -0
  362. package/dist/libs/shared/subComponents/Loader.d.ts.map +1 -0
  363. package/dist/libs/shared/subComponents/statusChip/StatusChip.d.ts +5 -0
  364. package/dist/libs/shared/subComponents/statusChip/StatusChip.d.ts.map +1 -0
  365. package/dist/libs/shared/subComponents/statusChip/StatusChip.type.d.ts +4 -0
  366. package/dist/libs/shared/subComponents/statusChip/StatusChip.type.d.ts.map +1 -0
  367. package/dist/libs/shared/theme/color.d.ts +14 -0
  368. package/dist/libs/shared/theme/color.d.ts.map +1 -0
  369. package/dist/libs/shared/theme/muiOverrides.d.ts +2 -0
  370. package/dist/libs/shared/theme/muiOverrides.d.ts.map +1 -0
  371. package/dist/libs/shared/theme/theme.d.ts +5 -0
  372. package/dist/libs/shared/theme/theme.d.ts.map +1 -0
  373. package/dist/libs/shared/theme/typography.d.ts +41 -0
  374. package/dist/libs/shared/theme/typography.d.ts.map +1 -0
  375. package/dist/libs/shared/types/common-types.d.ts +471 -0
  376. package/dist/libs/shared/types/common-types.d.ts.map +1 -0
  377. package/dist/libs/shared/types/sharedFormActionTypes.d.ts +42 -0
  378. package/dist/libs/shared/types/sharedFormActionTypes.d.ts.map +1 -0
  379. package/package.json +1 -21
  380. package/dist/index.js +0 -6
  381. package/dist/index10.js +0 -110
  382. package/dist/index10.js.map +0 -1
  383. package/dist/index100.js +0 -10
  384. package/dist/index100.js.map +0 -1
  385. package/dist/index101.js +0 -31
  386. package/dist/index101.js.map +0 -1
  387. package/dist/index102.js +0 -165
  388. package/dist/index102.js.map +0 -1
  389. package/dist/index103.js +0 -48
  390. package/dist/index103.js.map +0 -1
  391. package/dist/index104.js +0 -8
  392. package/dist/index104.js.map +0 -1
  393. package/dist/index105.js +0 -14
  394. package/dist/index105.js.map +0 -1
  395. package/dist/index106.js +0 -8
  396. package/dist/index106.js.map +0 -1
  397. package/dist/index107.js +0 -7
  398. package/dist/index107.js.map +0 -1
  399. package/dist/index108.js +0 -16
  400. package/dist/index108.js.map +0 -1
  401. package/dist/index109.js +0 -7
  402. package/dist/index109.js.map +0 -1
  403. package/dist/index11.js +0 -97
  404. package/dist/index11.js.map +0 -1
  405. package/dist/index110.js +0 -22
  406. package/dist/index110.js.map +0 -1
  407. package/dist/index111.js +0 -7
  408. package/dist/index111.js.map +0 -1
  409. package/dist/index112.js +0 -9
  410. package/dist/index112.js.map +0 -1
  411. package/dist/index113.js +0 -20
  412. package/dist/index113.js.map +0 -1
  413. package/dist/index114.js +0 -56
  414. package/dist/index114.js.map +0 -1
  415. package/dist/index115.js +0 -73
  416. package/dist/index115.js.map +0 -1
  417. package/dist/index116.js +0 -20
  418. package/dist/index116.js.map +0 -1
  419. package/dist/index117.js +0 -26
  420. package/dist/index117.js.map +0 -1
  421. package/dist/index118.js +0 -2
  422. package/dist/index119.js +0 -3
  423. package/dist/index12.js +0 -22
  424. package/dist/index12.js.map +0 -1
  425. package/dist/index120.js +0 -22
  426. package/dist/index120.js.map +0 -1
  427. package/dist/index121.js +0 -149
  428. package/dist/index121.js.map +0 -1
  429. package/dist/index122.js +0 -20
  430. package/dist/index122.js.map +0 -1
  431. package/dist/index123.js +0 -9
  432. package/dist/index123.js.map +0 -1
  433. package/dist/index124.js +0 -9
  434. package/dist/index124.js.map +0 -1
  435. package/dist/index125.js +0 -63
  436. package/dist/index125.js.map +0 -1
  437. package/dist/index126.js +0 -24
  438. package/dist/index126.js.map +0 -1
  439. package/dist/index127.js +0 -9
  440. package/dist/index127.js.map +0 -1
  441. package/dist/index128.js +0 -11
  442. package/dist/index128.js.map +0 -1
  443. package/dist/index129.js +0 -10
  444. package/dist/index129.js.map +0 -1
  445. package/dist/index13.js +0 -18
  446. package/dist/index13.js.map +0 -1
  447. package/dist/index130.js +0 -254
  448. package/dist/index130.js.map +0 -1
  449. package/dist/index131.js +0 -25
  450. package/dist/index131.js.map +0 -1
  451. package/dist/index132.js +0 -250
  452. package/dist/index132.js.map +0 -1
  453. package/dist/index133.js +0 -20
  454. package/dist/index133.js.map +0 -1
  455. package/dist/index134.js +0 -13
  456. package/dist/index134.js.map +0 -1
  457. package/dist/index135.js +0 -15
  458. package/dist/index135.js.map +0 -1
  459. package/dist/index136.js +0 -117
  460. package/dist/index136.js.map +0 -1
  461. package/dist/index137.js +0 -13
  462. package/dist/index137.js.map +0 -1
  463. package/dist/index138.js +0 -22
  464. package/dist/index138.js.map +0 -1
  465. package/dist/index139.js +0 -26
  466. package/dist/index139.js.map +0 -1
  467. package/dist/index14.js +0 -11
  468. package/dist/index14.js.map +0 -1
  469. package/dist/index140.js +0 -20
  470. package/dist/index140.js.map +0 -1
  471. package/dist/index141.js +0 -22
  472. package/dist/index141.js.map +0 -1
  473. package/dist/index142.js +0 -12
  474. package/dist/index142.js.map +0 -1
  475. package/dist/index143.js +0 -26
  476. package/dist/index143.js.map +0 -1
  477. package/dist/index144.js +0 -56
  478. package/dist/index144.js.map +0 -1
  479. package/dist/index145.js +0 -12
  480. package/dist/index145.js.map +0 -1
  481. package/dist/index146.js +0 -212
  482. package/dist/index146.js.map +0 -1
  483. package/dist/index147.js +0 -4
  484. package/dist/index148.js +0 -5
  485. package/dist/index149.js +0 -7
  486. package/dist/index15.js +0 -192
  487. package/dist/index15.js.map +0 -1
  488. package/dist/index16.js +0 -24
  489. package/dist/index16.js.map +0 -1
  490. package/dist/index17.js +0 -14
  491. package/dist/index17.js.map +0 -1
  492. package/dist/index18.js +0 -54
  493. package/dist/index18.js.map +0 -1
  494. package/dist/index19.js +0 -99
  495. package/dist/index19.js.map +0 -1
  496. package/dist/index2.js +0 -13
  497. package/dist/index20.js +0 -10
  498. package/dist/index20.js.map +0 -1
  499. package/dist/index21.js +0 -18
  500. package/dist/index21.js.map +0 -1
  501. package/dist/index22.js +0 -9
  502. package/dist/index22.js.map +0 -1
  503. package/dist/index23.js +0 -67
  504. package/dist/index23.js.map +0 -1
  505. package/dist/index24.js +0 -13
  506. package/dist/index24.js.map +0 -1
  507. package/dist/index25.js +0 -64
  508. package/dist/index25.js.map +0 -1
  509. package/dist/index26.js +0 -84
  510. package/dist/index26.js.map +0 -1
  511. package/dist/index27.js +0 -12
  512. package/dist/index27.js.map +0 -1
  513. package/dist/index28.js +0 -41
  514. package/dist/index28.js.map +0 -1
  515. package/dist/index29.js +0 -10
  516. package/dist/index29.js.map +0 -1
  517. package/dist/index3.js +0 -11
  518. package/dist/index3.js.map +0 -1
  519. package/dist/index30.js +0 -10
  520. package/dist/index30.js.map +0 -1
  521. package/dist/index31.js +0 -46
  522. package/dist/index31.js.map +0 -1
  523. package/dist/index32.js +0 -273
  524. package/dist/index32.js.map +0 -1
  525. package/dist/index33.js +0 -49
  526. package/dist/index33.js.map +0 -1
  527. package/dist/index34.js +0 -16
  528. package/dist/index34.js.map +0 -1
  529. package/dist/index35.js +0 -24
  530. package/dist/index35.js.map +0 -1
  531. package/dist/index36.js +0 -61
  532. package/dist/index36.js.map +0 -1
  533. package/dist/index37.js +0 -63
  534. package/dist/index37.js.map +0 -1
  535. package/dist/index38.js +0 -12
  536. package/dist/index38.js.map +0 -1
  537. package/dist/index39.js +0 -26
  538. package/dist/index39.js.map +0 -1
  539. package/dist/index4.js +0 -9
  540. package/dist/index4.js.map +0 -1
  541. package/dist/index40.js +0 -55
  542. package/dist/index40.js.map +0 -1
  543. package/dist/index41.js +0 -48
  544. package/dist/index41.js.map +0 -1
  545. package/dist/index42.js +0 -6
  546. package/dist/index42.js.map +0 -1
  547. package/dist/index43.js +0 -13
  548. package/dist/index43.js.map +0 -1
  549. package/dist/index44.js +0 -10
  550. package/dist/index44.js.map +0 -1
  551. package/dist/index45.js +0 -40
  552. package/dist/index45.js.map +0 -1
  553. package/dist/index46.js +0 -71
  554. package/dist/index46.js.map +0 -1
  555. package/dist/index47.js +0 -10
  556. package/dist/index47.js.map +0 -1
  557. package/dist/index48.js +0 -44
  558. package/dist/index48.js.map +0 -1
  559. package/dist/index49.js +0 -117
  560. package/dist/index49.js.map +0 -1
  561. package/dist/index5.js +0 -6
  562. package/dist/index5.js.map +0 -1
  563. package/dist/index50.js +0 -14
  564. package/dist/index50.js.map +0 -1
  565. package/dist/index51.js +0 -16
  566. package/dist/index51.js.map +0 -1
  567. package/dist/index52.js +0 -28
  568. package/dist/index52.js.map +0 -1
  569. package/dist/index53.js +0 -36
  570. package/dist/index53.js.map +0 -1
  571. package/dist/index54.js +0 -25
  572. package/dist/index54.js.map +0 -1
  573. package/dist/index55.js +0 -44
  574. package/dist/index55.js.map +0 -1
  575. package/dist/index56.js +0 -160
  576. package/dist/index56.js.map +0 -1
  577. package/dist/index57.js +0 -77
  578. package/dist/index57.js.map +0 -1
  579. package/dist/index58.js +0 -14
  580. package/dist/index58.js.map +0 -1
  581. package/dist/index59.js +0 -38
  582. package/dist/index59.js.map +0 -1
  583. package/dist/index6.js +0 -14
  584. package/dist/index6.js.map +0 -1
  585. package/dist/index60.js +0 -15
  586. package/dist/index60.js.map +0 -1
  587. package/dist/index61.js +0 -12
  588. package/dist/index61.js.map +0 -1
  589. package/dist/index62.js +0 -19
  590. package/dist/index62.js.map +0 -1
  591. package/dist/index63.js +0 -20
  592. package/dist/index63.js.map +0 -1
  593. package/dist/index64.js +0 -24
  594. package/dist/index64.js.map +0 -1
  595. package/dist/index65.js +0 -12
  596. package/dist/index65.js.map +0 -1
  597. package/dist/index66.js +0 -25
  598. package/dist/index66.js.map +0 -1
  599. package/dist/index67.js +0 -16
  600. package/dist/index67.js.map +0 -1
  601. package/dist/index68.js +0 -130
  602. package/dist/index68.js.map +0 -1
  603. package/dist/index69.js +0 -32
  604. package/dist/index69.js.map +0 -1
  605. package/dist/index7.js +0 -41
  606. package/dist/index7.js.map +0 -1
  607. package/dist/index70.js +0 -8
  608. package/dist/index70.js.map +0 -1
  609. package/dist/index71.js +0 -122
  610. package/dist/index71.js.map +0 -1
  611. package/dist/index72.js +0 -35
  612. package/dist/index72.js.map +0 -1
  613. package/dist/index73.js +0 -14
  614. package/dist/index73.js.map +0 -1
  615. package/dist/index74.js +0 -13
  616. package/dist/index74.js.map +0 -1
  617. package/dist/index75.js +0 -42
  618. package/dist/index75.js.map +0 -1
  619. package/dist/index76.js +0 -66
  620. package/dist/index76.js.map +0 -1
  621. package/dist/index77.js +0 -10
  622. package/dist/index77.js.map +0 -1
  623. package/dist/index78.js +0 -17
  624. package/dist/index78.js.map +0 -1
  625. package/dist/index79.js +0 -9
  626. package/dist/index79.js.map +0 -1
  627. package/dist/index8.js +0 -6
  628. package/dist/index8.js.map +0 -1
  629. package/dist/index80.js +0 -21
  630. package/dist/index80.js.map +0 -1
  631. package/dist/index81.js +0 -21
  632. package/dist/index81.js.map +0 -1
  633. package/dist/index82.js +0 -21
  634. package/dist/index82.js.map +0 -1
  635. package/dist/index83.js +0 -21
  636. package/dist/index83.js.map +0 -1
  637. package/dist/index84.js +0 -21
  638. package/dist/index84.js.map +0 -1
  639. package/dist/index85.js +0 -21
  640. package/dist/index85.js.map +0 -1
  641. package/dist/index86.js +0 -21
  642. package/dist/index86.js.map +0 -1
  643. package/dist/index87.js +0 -219
  644. package/dist/index87.js.map +0 -1
  645. package/dist/index88.js +0 -12
  646. package/dist/index88.js.map +0 -1
  647. package/dist/index89.js +0 -15
  648. package/dist/index89.js.map +0 -1
  649. package/dist/index9.js +0 -39
  650. package/dist/index9.js.map +0 -1
  651. package/dist/index90.js +0 -55
  652. package/dist/index90.js.map +0 -1
  653. package/dist/index91.js +0 -38
  654. package/dist/index91.js.map +0 -1
  655. package/dist/index92.js +0 -52
  656. package/dist/index92.js.map +0 -1
  657. package/dist/index93.js +0 -12
  658. package/dist/index93.js.map +0 -1
  659. package/dist/index94.js +0 -15
  660. package/dist/index94.js.map +0 -1
  661. package/dist/index95.js +0 -28
  662. package/dist/index95.js.map +0 -1
  663. package/dist/index96.js +0 -111
  664. package/dist/index96.js.map +0 -1
  665. package/dist/index97.js +0 -9
  666. package/dist/index97.js.map +0 -1
  667. package/dist/index98.js +0 -38
  668. package/dist/index98.js.map +0 -1
  669. package/dist/index99.js +0 -8
  670. package/dist/index99.js.map +0 -1
package/dist/index14.js DELETED
@@ -1,11 +0,0 @@
1
- //#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
2
- function e(e) {
3
- var t = Object.create(null);
4
- return function(n) {
5
- return t[n] === void 0 && (t[n] = e(n)), t[n];
6
- };
7
- }
8
- //#endregion
9
- export { e as default };
10
-
11
- //# sourceMappingURL=index14.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index14.js","names":[],"sources":["../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"],"sourcesContent":["function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAQ,GAAI;CACnB,IAAI,IAAQ,OAAO,OAAO,IAAI;CAC9B,OAAO,SAAU,GAAK;EAEpB,OADI,EAAM,OAAS,KAAA,MAAW,EAAM,KAAO,EAAG,CAAG,IAC1C,EAAM;CACf;AACF"}
package/dist/index140.js DELETED
@@ -1,20 +0,0 @@
1
- //#region src/libs/core/utils/loggers.ts
2
- var e = {
3
- info: "color: #25eb2f; font-weight: bold;",
4
- warn: "color: #ffe817; font-weight: bold;",
5
- error: "color: #dc2626; font-weight: bold;"
6
- }, t = {
7
- info(t, ...n) {
8
- console.info(`%c[INFO] ${t}`, e.info, ...n);
9
- },
10
- warn(t, ...n) {
11
- console.warn(`%c[WARN] ${t}`, e.warn, ...n);
12
- },
13
- error(t, ...n) {
14
- console.error(`%c[ERROR] ${t}`, e.error, ...n);
15
- }
16
- };
17
- //#endregion
18
- export { t as default };
19
-
20
- //# sourceMappingURL=index140.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index140.js","names":[],"sources":["../src/libs/core/utils/loggers.ts"],"sourcesContent":["type LogParams = unknown[];\r\n\r\nconst isDev = true;\r\n\r\nconst styles = {\r\n info: \"color: #25eb2f; font-weight: bold;\", // green\r\n warn: \"color: #ffe817; font-weight: bold;\", // yellow\r\n error: \"color: #dc2626; font-weight: bold;\", // red\r\n};\r\n\r\nconst Logger = {\r\n info(message: string, ...optionalParams: LogParams): void {\r\n if (!isDev) return;\r\n\r\n console.info(`%c[INFO] ${message}`, styles.info, ...optionalParams);\r\n },\r\n\r\n warn(message: string, ...optionalParams: LogParams): void {\r\n if (!isDev) return;\r\n\r\n console.warn(`%c[WARN] ${message}`, styles.warn, ...optionalParams);\r\n },\r\n\r\n error(message: string, ...optionalParams: LogParams): void {\r\n console.error(`%c[ERROR] ${message}`, styles.error, ...optionalParams);\r\n },\r\n} as const;\r\n\r\nexport default Logger;\r\n"],"mappings":";AAIA,IAAM,IAAS;CACb,MAAM;CACN,MAAM;CACN,OAAO;AACT,GAEM,IAAS;CACb,KAAK,GAAiB,GAAG,GAAiC;EAGxD,QAAQ,KAAK,YAAY,KAAW,EAAO,MAAM,GAAG,CAAc;CACpE;CAEA,KAAK,GAAiB,GAAG,GAAiC;EAGxD,QAAQ,KAAK,YAAY,KAAW,EAAO,MAAM,GAAG,CAAc;CACpE;CAEA,MAAM,GAAiB,GAAG,GAAiC;EACzD,QAAQ,MAAM,aAAa,KAAW,EAAO,OAAO,GAAG,CAAc;CACvE;AACF"}
package/dist/index141.js DELETED
@@ -1,22 +0,0 @@
1
- import "./index135.js";
2
- import "./index136.js";
3
- import "./index139.js";
4
- import "./index140.js";
5
- import "@reduxjs/toolkit";
6
- //#region src/libs/core/utils/sharedFormActions.ts
7
- var e = {
8
- VALIDATE_DTO: "validateDTO",
9
- ON_CHANGE_FIELD: "onChangeField",
10
- SET_LAST_STEP_COMPLETED: "setLastStepCompleted",
11
- CLEAR_DTO: "CLEAR_DTO",
12
- LOAD_NESTED_DTO: "LOAD_NESTED_DTO",
13
- UPLOAD_FILE: "UPLOAD_FILE",
14
- UPDATE_FILES: "UPDATE_FILES",
15
- SET_VIEW_DATA: "SET_VIEW_DATA",
16
- REMOVE_DATA: "removeData"
17
- };
18
- e.ON_CHANGE_FIELD, e.VALIDATE_DTO, e.CLEAR_DTO, e.SET_LAST_STEP_COMPLETED, e.LOAD_NESTED_DTO, e.SET_VIEW_DATA, e.REMOVE_DATA;
19
- //#endregion
20
- export { e as sharedFormActionNames };
21
-
22
- //# sourceMappingURL=index141.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index141.js","names":[],"sources":["../src/libs/core/utils/sharedFormActions.ts"],"sourcesContent":["import { current, type PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { getNestedValue, setStateObjValue } from \"../../../libs/core/utils/commonFunctions\";\r\nimport validateDto from \"./validateDto\";\r\nimport type { DTO, FieldObject } from \"libs/shared/types/common-types\";\r\nimport Logger from \"./loggers\";\r\nimport { validateField } from \"./validateFields\";\r\nimport type {\r\n ChangeFieldPayload,\r\n ValidatePayload,\r\n ClearDTOPayload,\r\n LoadNestedDTOPayloadExtended,\r\n SetViewDataPayload,\r\n RemoveDataPayload,\r\n} from \"libs/shared/types/sharedFormActionTypes\";\r\nimport type { RootState } from \"store/store\";\r\n\r\nexport const sharedFormActionNames = {\r\n VALIDATE_DTO: \"validateDTO\",\r\n ON_CHANGE_FIELD: \"onChangeField\",\r\n SET_LAST_STEP_COMPLETED: \"setLastStepCompleted\",\r\n CLEAR_DTO: \"CLEAR_DTO\",\r\n LOAD_NESTED_DTO: \"LOAD_NESTED_DTO\",\r\n UPLOAD_FILE: \"UPLOAD_FILE\",\r\n UPDATE_FILES: \"UPDATE_FILES\",\r\n SET_VIEW_DATA: \"SET_VIEW_DATA\",\r\n REMOVE_DATA: \"removeData\",\r\n} as const;\r\n\r\nconst sharedFormActions = {\r\n [sharedFormActionNames.ON_CHANGE_FIELD]: (state: RootState, action: PayloadAction<ChangeFieldPayload>) => {\r\n const { key, valueOrCd, value, parentSliceName } = action.payload;\r\n const fieldValue = value ?? valueOrCd;\r\n const dto = getNestedValue(state, parentSliceName) as DTO;\r\n\r\n if (!dto) return;\r\n const rules = dto.defaultsRules?.[key];\r\n\r\n const fieldState = validateField(key, value, rules, valueOrCd);\r\n\r\n setStateObjValue(dto.submitJson, key, valueOrCd);\r\n setStateObjValue(dto.displayJson, key, fieldValue);\r\n setStateObjValue(dto.isValidJson, key, fieldState.isValid);\r\n setStateObjValue(dto.fieldError, key, fieldState.error);\r\n setStateObjValue(dto.helperText, key, fieldState.count);\r\n\r\n if (action.payload?.callback) {\r\n action.payload.callback(action.payload, dto);\r\n }\r\n\r\n Logger.info(\"[sharedFormActionNames.ON_CHANGE_FIELD] ----- \", current(dto));\r\n },\r\n [sharedFormActionNames.VALIDATE_DTO]: (state: RootState, action: PayloadAction<ValidatePayload>) => {\r\n const { parentSliceName } = action.payload;\r\n const dto: DTO = getNestedValue(state, parentSliceName);\r\n if (!dto) return;\r\n validateDto(dto);\r\n Logger.info(\"[sharedFormActionNames.VALIDATE_DTO] ----- \", current(dto));\r\n },\r\n [sharedFormActionNames.CLEAR_DTO]: (state: RootState, action: PayloadAction<ClearDTOPayload>) => {\r\n // --- for clearing the internal dto\r\n const { key, value, parentSliceName } = action.payload;\r\n const dto = getNestedValue(state, parentSliceName) as DTO;\r\n setStateObjValue(dto.fieldsName, key, value);\r\n Logger.info(\"[sharedFormActionNames.CLEAR_DTO] ----- \", current(dto));\r\n },\r\n [sharedFormActionNames.SET_LAST_STEP_COMPLETED]: (state: RootState, action: PayloadAction<boolean>) => {\r\n state.lastStepCompleted = action.payload;\r\n Logger.info(\"[sharedFormActionNames.SET_LAST_STEP_COMPLETED] ----- \", state);\r\n },\r\n [sharedFormActionNames.LOAD_NESTED_DTO]: (state: RootState, action: PayloadAction<LoadNestedDTOPayloadExtended>) => {\r\n /**\r\n * useFull when need to share the data from parent dto to subDto's submitJson and displayJson\r\n */\r\n const { dtoKey, value, valueOrCd, parentSliceName } = action.payload;\r\n const rootDto = getNestedValue(state, parentSliceName) as DTO;\r\n\r\n if (!Object.hasOwn(rootDto.fieldsName, dtoKey)) return; // checking for dynamic dto\r\n\r\n const subDtoState = rootDto.fieldsName[dtoKey] as DTO;\r\n\r\n setStateObjValue(subDtoState, \"displayJson\", value as FieldObject);\r\n setStateObjValue(subDtoState, \"submitJson\", valueOrCd as FieldObject);\r\n\r\n if (action.payload?.callback) {\r\n action.payload.callback(action.payload, rootDto);\r\n }\r\n\r\n Logger.info(\"[sharedFormActionNames.LOAD_NESTED_DTO] ----- \", current(rootDto));\r\n },\r\n [sharedFormActionNames.SET_VIEW_DATA]: (state: FieldObject, action: PayloadAction<SetViewDataPayload>) => {\r\n const { dto, fieldsName, path } = action.payload;\r\n\r\n if (fieldsName) {\r\n const rootDto = path ? (getNestedValue(state, path) as DTO) : state;\r\n setStateObjValue((rootDto as DTO).fieldsName, fieldsName, dto);\r\n if (action.payload.callback) {\r\n action.payload.callback(action.payload, rootDto as DTO);\r\n }\r\n Logger.info(\"[sharedFormActionNames.SET_VIEW_DATA] ----- \", current(rootDto));\r\n } else {\r\n if (action.payload?.callback) {\r\n action.payload.callback(action.payload, dto);\r\n }\r\n Logger.info(\"[sharedFormActionNames.SET_VIEW_DATA] ----- \", dto);\r\n return dto;\r\n }\r\n },\r\n [sharedFormActionNames.REMOVE_DATA]: (state: RootState, action: PayloadAction<RemoveDataPayload>) => { // --- needs rework\r\n const { key, path } = action.payload;\r\n\r\n const rootDto = getNestedValue(state, path) as DTO;\r\n Logger.info(\"[sharedFormActionNames.REMOVE_DATA] before ----- \", current(rootDto));\r\n\r\n const updatedFields = { ...rootDto.fieldsName };\r\n delete updatedFields[key];\r\n\r\n setStateObjValue(rootDto, \"fieldsName\", updatedFields);\r\n\r\n if (action.payload?.callback) {\r\n action.payload.callback(action.payload, rootDto);\r\n }\r\n\r\n Logger.info(\"[sharedFormActionNames.REMOVE_DATA] ----- \", current(rootDto));\r\n }\r\n};\r\nexport default sharedFormActions;\r\n"],"mappings":";;;;;;AAgBA,IAAa,IAAwB;CACnC,cAAc;CACd,iBAAiB;CACjB,yBAAyB;CACzB,WAAW;CACX,iBAAiB;CACjB,aAAa;CACb,cAAc;CACd,eAAe;CACf,aAAa;AACf;AAGG,EAAsB,iBAsBtB,EAAsB,cAOtB,EAAsB,WAOtB,EAAsB,yBAItB,EAAsB,iBAoBtB,EAAsB,eAkBtB,EAAsB"}
package/dist/index142.js DELETED
@@ -1,12 +0,0 @@
1
- import e from "./index133.js";
2
- import "./index134.js";
3
- import "./index141.js";
4
- //#region src/libs/core/utils/commonFunctions.ts
5
- function t(e, t, n) {
6
- e[t] = n;
7
- }
8
- var n = (e) => e.toLocaleString(), r = () => e.resolvedLanguage || e.language || "en";
9
- //#endregion
10
- export { r as getTranslation, t as setStateObjValue, n as toLocaleString };
11
-
12
- //# sourceMappingURL=index142.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index142.js","names":[],"sources":["../src/libs/core/utils/commonFunctions.ts"],"sourcesContent":["import { CommonAddressFields } from \"constants/commonConstants\";\r\nimport { MenuTextColorEnum } from \"libs/shared/enums/common-enums\";\r\nimport type { CommonAddressFieldsTypesDisplay, DTO, FieldObject, GridRowData, MasterResponseDataType } from \"../../shared/types/common-types\";\r\nimport { sharedFormActionNames } from \"./sharedFormActions\";\r\nimport i18n from \"internationalisation/i18n\";\r\nimport { MASTER_DATA_KEYS } from \"constants/masterCodes\";\r\nimport type { StepConfig } from \"ui/stepper/types/stepperTypes\";\r\nimport { customDateObject } from \"./dateUtilities\";\r\n\r\nexport function setStateObjValue<T extends FieldObject | DTO, K extends keyof T>(\r\n state: T,\r\n key: K,\r\n value: T[K]\r\n): void {\r\n state[key] = value;\r\n}\r\n\r\nexport function constructParentSliceName(sliceName: string, parentSliceName: string = \"\"): string {\r\n return parentSliceName ? `${parentSliceName}.${sliceName}` : sliceName;\r\n}\r\n\r\nexport function getNestedValue<T>(obj: Record<string, unknown> | DTO, path: string) {\r\n const keys = path.split(\".\");\r\n\r\n const returnState = keys.reduce((acc: Record<string, unknown> | DTO, key: string) => {\r\n if (key in acc) {\r\n return (acc as Record<string, DTO>)[key] as DTO;\r\n } else if (key in (acc as DTO).fieldsName) {\r\n return (acc as DTO).fieldsName[key] as DTO;\r\n } else return acc;\r\n }, obj);\r\n\r\n return returnState as T;\r\n}\r\n\r\nexport function getBaseDTO(...intialArgsArr: unknown[]): DTO {\r\n return {\r\n submitJson: {},\r\n displayJson: {},\r\n isValidJson: {},\r\n fieldError: {},\r\n helperText: {},\r\n dtoName: \"\",\r\n defaultsRules: {},\r\n fieldsName: {},\r\n initialArgs: intialArgsArr ?? [],\r\n menuTextColor: MenuTextColorEnum.INHERIT\r\n };\r\n}\r\n\r\nexport const toLocaleString = (value: string | number) => {\r\n return value.toLocaleString();\r\n}\r\n\r\nexport const getSelectInputFieldName = (name: string): string => {\r\n return name.split(\"-\")?.[0] ?? \"\"\r\n}\r\n\r\n/**\r\n * Create concat address using display data.\r\n *\r\n * @param {GridRowData} addressDisplay - Address Display Data\r\n * @returns {string} Concanated Address\r\n */\r\nexport const getConcatAddress = (addressDisplay: CommonAddressFieldsTypesDisplay) => {\r\n const fields = CommonAddressFields;\r\n const order = [fields.houseNo, fields.streetName, fields.colony, fields.village, fields.subDistrict, fields.district, fields.state, fields.pincode, fields.country, fields.other];\r\n const concatAddress = order.map((key) => addressDisplay[key]).join(\" \");\r\n return concatAddress.trim();\r\n};\r\n\r\nexport const getOnChangeActionType = (rootSliceName: string) => {\r\n return `${rootSliceName}/${sharedFormActionNames.ON_CHANGE_FIELD}`\r\n}\r\n\r\n/**\r\n * useful to get the value key from the cd key\r\n * @param codeKey \r\n * @param suffix \r\n * @returns value key\r\n */\r\nexport const getValueKey = <T extends string, S extends string = \"Cd\">(codeKey: T, suffix: S = \"Cd\" as S) => {\r\n return codeKey.slice(0, -suffix.length);\r\n};\r\n\r\nexport const filterRecordById = <T extends GridRowData>(row: T, key: string = \"id\") => (obj: T) => obj?.[key] !== row?.[key];\r\n\r\nexport function concatenateFullName<T extends {\r\n firstName?: string | null;\r\n middleName?: string | null;\r\n lastName?: string | null;\r\n}>(data: T): string {\r\n const { firstName, middleName, lastName } = data;\r\n let fullName = \"\";\r\n\r\n for (const name of [firstName, middleName, lastName]) {\r\n const trimmed = name?.trim();\r\n if (trimmed) {\r\n fullName += fullName ? ` ${trimmed}` : trimmed;\r\n }\r\n }\r\n\r\n return fullName;\r\n}\r\n\r\nexport const getTranslation = () => {\r\n return i18n.resolvedLanguage || i18n.language || 'en'\r\n}\r\n\r\nexport const fieldsManager = (dto: DTO, fields: string[]) => {\r\n const { fieldError, isValidJson, helperText, submitJson, displayJson } = dto;\r\n\r\n fields.forEach((field) => {\r\n setStateObjValue(fieldError, field, \"\");\r\n setStateObjValue(isValidJson, field, true);\r\n setStateObjValue(helperText, field, \"\");\r\n delete submitJson[field];\r\n delete displayJson[field];\r\n });\r\n};\r\n\r\n\r\nexport const generateLookupArray = (length: number): MasterResponseDataType[] => {\r\n return Array.from({ length }, (_, i) => ({\r\n [MASTER_DATA_KEYS.CODE]: i + 1,\r\n [MASTER_DATA_KEYS.VALUE]: `${i + 1}`,\r\n id: i + 1,\r\n selectoptiontitle: `${i + 1}`,\r\n }));\r\n}\r\n\r\nexport function reIndex<T extends { id: number }>(list: T[]) {\r\n return list.map((item, index) => ({ ...item, id: index + 1 }));\r\n}\r\n\r\nexport function injectIntoStepCallback(prev: StepConfig[], dtoName: string, newStep: StepConfig, position: \"start\" | \"end\" | number = \"end\", isSection: boolean = false) {\r\n const getUpdatedMenuList = (steps: StepConfig[], newStep: StepConfig): StepConfig[] => {\r\n let updatedMenuList: StepConfig[];\r\n\r\n if (position === \"start\") {\r\n updatedMenuList = [newStep, ...steps];\r\n } else if (position === \"end\") {\r\n updatedMenuList = [...steps, newStep];\r\n } else {\r\n const targetIndex = Math.max(0, Math.min(position, steps.length));\r\n\r\n updatedMenuList = [...steps];\r\n updatedMenuList.splice(targetIndex, 0, newStep);\r\n }\r\n\r\n return reIndex(updatedMenuList);\r\n };\r\n if (isSection) {\r\n return prev.map((step: StepConfig) => {\r\n if (step.dtoName === dtoName) {\r\n return getUpdatedMenuList(step.sections ?? [], newStep);\r\n }\r\n return step;\r\n }) as StepConfig[];\r\n }\r\n\r\n return getUpdatedMenuList(prev, newStep);\r\n\r\n}\r\n\r\nexport function removeFromStepsCallback(prev: StepConfig[], dtoName: string, isSection: boolean = false) {\r\n const filterList = (steps: StepConfig[]) => {\r\n return reIndex(steps.filter((step: StepConfig) => step.dtoName !== dtoName));\r\n };\r\n\r\n if (isSection) {\r\n return prev.map((step: StepConfig) => {\r\n if (step.dtoName === dtoName) {\r\n return filterList(step.sections ?? []);\r\n }\r\n\r\n return step;\r\n }) as StepConfig[];\r\n }\r\n\r\n return filterList(prev);\r\n}\r\nexport const getModuleNumber = (loginId: string | number) => {\r\n const timestamp = customDateObject.format('YYYYMMDDHHmmss');\r\n const randomSuffix = Math.floor(Math.random() * 100); // 2 random digits\r\n return `${loginId}${timestamp}${randomSuffix}`;\r\n}\r\n\r\n\r\n\r\n//Works for booleans, arrays, and nested objects\r\nexport const flattenValidity = (value: unknown): boolean => {\r\n if (typeof value === \"boolean\") {\r\n return value; // base case\r\n }\r\n if (Array.isArray(value)) {\r\n return value.every(flattenValidity); // check each element recursively\r\n }\r\n if (typeof value === \"object\" && value !== null) {\r\n return Object.values(value).every(flattenValidity); // check each field recursively\r\n }\r\n return false; // if unexpected type (string, number etc.)\r\n};"],"mappings":";;;;AASA,SAAgB,EACd,GACA,GACA,GACM;CACN,EAAM,KAAO;AACf;AAmCA,IAAa,KAAkB,MACtB,EAAM,eAAe,GAsDjB,UACJ,EAAK,oBAAoB,EAAK,YAAY"}
package/dist/index143.js DELETED
@@ -1,26 +0,0 @@
1
- import e from "./index108.js";
2
- import t from "react";
3
- import { Tooltip as n, tooltipClasses as r } from "@mui/material";
4
- import { useTranslation as i } from "react-i18next";
5
- import { jsx as a } from "react/jsx-runtime";
6
- //#region src/libs/shared/UI/toolTips/CustomizedTooltip.tsx
7
- var o = e(({ className: e, ...t }) => /* @__PURE__ */ a(n, {
8
- ...t,
9
- arrow: !0,
10
- classes: { popper: e }
11
- }))(({ theme: e }) => ({
12
- [`& .${r.arrow}`]: { color: e.palette.common.black },
13
- [`& .${r.tooltip}`]: { backgroundColor: e.palette.common.black }
14
- })), s = t.memo(({ title: e, children: t, placement: n = "top" }) => {
15
- let { t: r } = i();
16
- return /* @__PURE__ */ a(o, {
17
- title: r(e),
18
- placement: n,
19
- sx: { zIndex: "2000" },
20
- children: t
21
- });
22
- });
23
- //#endregion
24
- export { s as default };
25
-
26
- //# sourceMappingURL=index143.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index143.js","names":[],"sources":["../src/libs/shared/UI/toolTips/CustomizedTooltip.tsx"],"sourcesContent":["import { Tooltip, tooltipClasses, type TooltipProps } from '@mui/material';\r\nimport { styled } from '@mui/material/styles'; \r\nimport React from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\ntype FormTooltipProps = {\r\n title: string;\r\n children? : React.ReactNode;\r\n placement?: TooltipProps['placement'];\r\n} & TooltipProps\r\n\r\nconst BootstrapTooltip = styled(({ className, ...props }: TooltipProps) => (\r\n <Tooltip {...props} arrow classes={{ popper: className }} />\r\n))(({ theme }) => ({\r\n [`& .${tooltipClasses.arrow}`]: {\r\n color: theme.palette.common.black,\r\n },\r\n [`& .${tooltipClasses.tooltip}`]: {\r\n backgroundColor: theme.palette.common.black,\r\n },\r\n}));\r\n\r\nconst CustomizedTooltip = ({title, children, placement = 'top'}: Readonly<FormTooltipProps> ) => {\r\n const { t } = useTranslation();\r\n \r\n return (\r\n <BootstrapTooltip title={t(title)} placement={placement} sx={{zIndex:'2000'}}>\r\n {children}\r\n </BootstrapTooltip>\r\n );\r\n}\r\n\r\nexport default React.memo(CustomizedTooltip)"],"mappings":";;;;;;AAWA,IAAM,IAAmB,GAAQ,EAAE,cAAW,GAAG,QAC/C,kBAAC,GAAD;CAAS,GAAI;CAAO,OAAA;CAAM,SAAS,EAAE,QAAQ,EAAU;AAAI,CAAA,CAC5D,CAAC,EAAE,EAAE,gBAAa;EAChB,MAAM,EAAe,UAAU,EAC9B,OAAO,EAAM,QAAQ,OAAO,MAC9B;EACC,MAAM,EAAe,YAAY,EAChC,iBAAiB,EAAM,QAAQ,OAAO,MACxC;AACF,EAAE,GAYF,IAAe,EAAM,MAVM,EAAC,UAAO,aAAU,eAAY,YAAwC;CAC/F,IAAM,EAAE,SAAM,EAAe;CAE7B,OACI,kBAAC,GAAD;EAAkB,OAAO,EAAE,CAAK;EAAc;EAAW,IAAI,EAAC,QAAO,OAAM;EACxE;CACe,CAAA;AAExB,CAE2C"}
package/dist/index144.js DELETED
@@ -1,56 +0,0 @@
1
- import { useAppThemeContext as e } from "./index3.js";
2
- import t from "./index105.js";
3
- import n from "react";
4
- import { Link as r, Typography as i } from "@mui/material";
5
- import { useTranslation as a } from "react-i18next";
6
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
7
- var l = n.memo(({ text: l, size: u, color: d, sx: f, isRequired: p = !1, variantType: m = "default", onClick: h, target: g = "_self", ..._ }) => {
8
- let { t: v } = a(), { fontSize: y } = e(), b = t(), x = {
9
- color: n.useMemo(() => {
10
- if (d) return d;
11
- switch (m) {
12
- case "primary": return b.palette.primary.main;
13
- case "secondary": return b.palette.text.secondary;
14
- case "error": return b.palette.error.main;
15
- case "link": return b.palette.primary.main;
16
- default: return b.palette.text.primary;
17
- }
18
- }, [
19
- d,
20
- m,
21
- b
22
- ]),
23
- fontSize: u || y,
24
- ...f
25
- }, S = /* @__PURE__ */ c(o, { children: [typeof l == "string" ? v(l) : l, p && /* @__PURE__ */ s(i, {
26
- component: "span",
27
- sx: {
28
- color: b.palette.error.main,
29
- fontSize: u || y,
30
- ml: .25
31
- },
32
- children: "*"
33
- })] });
34
- return m === "link" ? /* @__PURE__ */ s(r, {
35
- target: g,
36
- underline: "always",
37
- onClick: h,
38
- sx: {
39
- ...x,
40
- cursor: "pointer",
41
- fontWeight: 500,
42
- color: b.palette.text.primary,
43
- "&:hover": { opacity: .8 }
44
- },
45
- children: S
46
- }) : /* @__PURE__ */ s(i, {
47
- ..._,
48
- sx: x,
49
- onClick: h,
50
- children: S
51
- });
52
- });
53
- //#endregion
54
- export { l as default };
55
-
56
- //# sourceMappingURL=index144.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index144.js","names":[],"sources":["../src/libs/shared/UI/typography/Typography2.tsx"],"sourcesContent":["import React from \"react\";\r\nimport {\r\n Typography,\r\n Link\r\n} from \"@mui/material\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useAppThemeContext } from \"../../../core/context/AppThemeContext\";\r\nimport { useTheme } from \"@mui/material/styles\";\r\nimport type { TypographyProps } from \"libs/shared/types/common-types\";\r\n\r\n\r\nconst Typography2: React.FC<TypographyProps> = ({\r\n text,\r\n size: propFontSize,\r\n color,\r\n sx,\r\n isRequired = false,\r\n variantType = \"default\",\r\n onClick,\r\n target = \"_self\",\r\n ...props\r\n}) => {\r\n const { t } = useTranslation();\r\n const { fontSize } = useAppThemeContext();\r\n const theme = useTheme();\r\n\r\n const resolvedColor = React.useMemo(() => {\r\n if (color) return color;\r\n\r\n switch (variantType) {\r\n case \"primary\":\r\n return theme.palette.primary.main;\r\n\r\n case \"secondary\":\r\n return theme.palette.text.secondary;\r\n\r\n case \"error\":\r\n return theme.palette.error.main;\r\n\r\n case \"link\":\r\n return theme.palette.primary.main;\r\n\r\n default:\r\n return theme.palette.text.primary;\r\n }\r\n }, [color, variantType, theme]);\r\n\r\n const commonStyle = {\r\n color: resolvedColor,\r\n fontSize: propFontSize || fontSize,\r\n ...sx,\r\n };\r\n\r\n const content = (\r\n <>\r\n {typeof text === \"string\" ? t(text) : text}\r\n {isRequired && (\r\n <Typography\r\n component=\"span\"\r\n sx={{\r\n color: theme.palette.error.main,\r\n fontSize: propFontSize || fontSize,\r\n ml: 0.25,\r\n }}\r\n >\r\n *\r\n </Typography>\r\n )}\r\n </>\r\n );\r\n\r\n if (variantType === \"link\") {\r\n return (\r\n <Link\r\n target={target}\r\n underline=\"always\"\r\n onClick={onClick}\r\n sx={{\r\n ...commonStyle,\r\n cursor: \"pointer\",\r\n fontWeight: 500,\r\n color : theme.palette.text.primary,\r\n \"&:hover\": {\r\n opacity: 0.8,\r\n },\r\n }}\r\n >\r\n {content}\r\n </Link>\r\n );\r\n }\r\n\r\n return (\r\n <Typography\r\n {...props}\r\n sx={commonStyle}\r\n onClick={onClick}\r\n >\r\n {content}\r\n </Typography>\r\n );\r\n};\r\n\r\nexport default React.memo(Typography2);"],"mappings":";;;;;;AAuGA,IAAA,IAAe,EAAM,MA5F2B,EAC9C,SACA,MAAM,GACN,UACA,OACA,gBAAa,IACb,iBAAc,WACd,YACA,YAAS,SACT,GAAG,QACC;CACJ,IAAM,EAAE,SAAM,EAAe,GACvB,EAAE,gBAAa,EAAmB,GAClC,IAAQ,EAAS,GAuBjB,IAAc;EAClB,OAtBoB,EAAM,cAAc;GACxC,IAAI,GAAO,OAAO;GAElB,QAAQ,GAAR;IACE,KAAK,WACH,OAAO,EAAM,QAAQ,QAAQ;IAE/B,KAAK,aACH,OAAO,EAAM,QAAQ,KAAK;IAE5B,KAAK,SACH,OAAO,EAAM,QAAQ,MAAM;IAE7B,KAAK,QACH,OAAO,EAAM,QAAQ,QAAQ;IAE/B,SACE,OAAO,EAAM,QAAQ,KAAK;GAC9B;EACF,GAAG;GAAC;GAAO;GAAa;EAAK,CAGpB;EACP,UAAU,KAAgB;EAC1B,GAAG;CACL,GAEM,IACJ,kBAAA,GAAA,EAAA,UAAA,CACG,OAAO,KAAS,WAAW,EAAE,CAAI,IAAI,GACrC,KACC,kBAAC,GAAD;EACE,WAAU;EACV,IAAI;GACF,OAAO,EAAM,QAAQ,MAAM;GAC3B,UAAU,KAAgB;GAC1B,IAAI;EACN;EACD,UAAA;CAEW,CAAA,CAEd,EAAA,CAAA;CAwBJ,OArBI,MAAgB,SAEhB,kBAAC,GAAD;EACU;EACR,WAAU;EACD;EACT,IAAI;GACF,GAAG;GACH,QAAQ;GACR,YAAY;GACZ,OAAQ,EAAM,QAAQ,KAAK;GAC3B,WAAW,EACT,SAAS,GACX;EACF;EAEC,UAAA;CACG,CAAA,IAKR,kBAAC,GAAD;EACE,GAAI;EACJ,IAAI;EACK;EAER,UAAA;CACS,CAAA;AAEhB,CAEqC"}
package/dist/index145.js DELETED
@@ -1,12 +0,0 @@
1
- import e from "./index114.js";
2
- import t from "react";
3
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
- import { useSelector as a } from "react-redux";
5
- var o = t.memo(({ label: t = "", value: o = "", children: s }) => {
6
- let { isPreview: c } = a((e) => e.appData);
7
- return c ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(e, { text: t }), /* @__PURE__ */ r(e, { text: o || "-" })] }) : s;
8
- });
9
- //#endregion
10
- export { o as default };
11
-
12
- //# sourceMappingURL=index145.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index145.js","names":[],"sources":["../src/libs/shared/UI/previewText/PreviewText.tsx"],"sourcesContent":["import React from \"react\"\r\nimport { useSelector } from \"react-redux\"\r\nimport type { RootState } from \"store/store\"\r\nimport Typography2 from \"ui/typography/Typography2\";\r\nimport type { PreviewTextProps } from \"./PreviewText.type\";\r\n\r\nconst PreviewText = ({ label = \"\", value = \"\", children }: PreviewTextProps) => {\r\n const { isPreview } = useSelector((state: RootState) => state.appData);\r\n\r\n if (isPreview) {\r\n return <>\r\n <Typography2 text={label} />\r\n <Typography2 text={value || \"-\"} />\r\n </>\r\n }\r\n\r\n return children\r\n}\r\n\r\nexport default React.memo(PreviewText)"],"mappings":";;;;AAmBA,IAAA,IAAe,EAAM,MAbA,EAAE,WAAQ,IAAI,WAAQ,IAAI,kBAAiC;CAC5E,IAAM,EAAE,iBAAc,GAAa,MAAqB,EAAM,OAAO;CASrE,OAPI,IACO,kBAAA,GAAA,EAAA,UAAA,CACH,kBAAC,GAAD,EAAa,MAAM,EAAQ,CAAA,GAC3B,kBAAC,GAAD,EAAa,MAAM,KAAS,IAAM,CAAA,CACpC,EAAA,CAAA,IAGC;AACX,CAEqC"}
package/dist/index146.js DELETED
@@ -1,212 +0,0 @@
1
- import e from "./index61.js";
2
- import t from "./index127.js";
3
- import { useAppThemeContext as n } from "./index128.js";
4
- import { toLocaleString as r } from "./index142.js";
5
- import i from "./index143.js";
6
- import a from "./index144.js";
7
- import o from "./index145.js";
8
- import s, { useMemo as c } from "react";
9
- import { Box as l, Grid as u, IconButton as d, InputAdornment as f, Stack as p, TextField as m, Tooltip as h } from "@mui/material";
10
- import { useTranslation as g } from "react-i18next";
11
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
12
- var y = s.memo(({ label: s, validation: y, size: b = "small", mt: x = 0, value: S = "", width: C, disabled: w = !1, autosx: T, slotProps: E, helperText: D, error: O, onChange: k, sx: A, endIcon: j, startIcon: M, tooltip: N, unitLabel: P, prefixWidth: F = 110, ...I }) => {
13
- let { t: L } = g(), { fontSize: R } = n(), z = e(), B = c(() => String(S ?? "").length, [S]), V = y?.maxLength || y?.length || 100, H = s ? L("strPlaceholder", { field: L(s) }) : "", U = (e) => {
14
- let t = e.target.value.replace(/^\s+/, "");
15
- if (y?.isNotAllowdCharacters && y?.notAllowedString) {
16
- let e = new RegExp(y.notAllowedString, "gu");
17
- if (t = t.replace(e, ""), y.extraRegex) {
18
- let e = new RegExp(y.extraRegex, "gu");
19
- t = t.replace(e, "$1");
20
- }
21
- }
22
- k && (e.target.value = t, k(e));
23
- };
24
- return /* @__PURE__ */ _(o, {
25
- label: s,
26
- value: S,
27
- children: /* @__PURE__ */ v(p, {
28
- sx: {
29
- mt: x,
30
- width: C || void 0,
31
- "& > :not(style) ~ :not(style)": { marginTop: 0 }
32
- },
33
- children: [
34
- s && /* @__PURE__ */ _(a, {
35
- text: s,
36
- fontWeight: 400,
37
- isRequired: !w && y?.required,
38
- sx: {
39
- color: z.palette.text.primary,
40
- fontSize: R,
41
- mb: .5
42
- }
43
- }),
44
- /* @__PURE__ */ _(h, {
45
- title: N ? L(N) : "",
46
- disableInteractive: !N,
47
- children: /* @__PURE__ */ _(m, {
48
- ...I,
49
- value: S,
50
- onChange: U,
51
- placeholder: w ? "" : H,
52
- fullWidth: !0,
53
- size: b,
54
- disabled: w,
55
- variant: "outlined",
56
- error: O,
57
- slotProps: {
58
- ...E,
59
- htmlInput: {
60
- ...E?.htmlInput,
61
- maxLength: V > 0 ? V : void 0,
62
- style: { height: "1.44rem" }
63
- },
64
- input: {
65
- ...E?.input,
66
- sx: {
67
- backgroundColor: w ? z.palette.datagrid.heading : "#fff",
68
- ...P && { paddingLeft: 0 }
69
- },
70
- startAdornment: P ? /* @__PURE__ */ _(f, {
71
- position: "start",
72
- sx: {
73
- marginRight: 0,
74
- alignSelf: "stretch",
75
- maxHeight: "none"
76
- },
77
- children: /* @__PURE__ */ _(l, {
78
- sx: {
79
- width: F - 20,
80
- minWidth: F - 30,
81
- height: "100%",
82
- minHeight: 40,
83
- display: "flex",
84
- alignItems: "center",
85
- justifyContent: "center",
86
- bgcolor: z.palette.datagrid.filter,
87
- color: "primary.main",
88
- borderRight: `1px solid ${z.palette.datagrid.filter}`,
89
- fontWeight: 500,
90
- typography: "body1",
91
- px: 2,
92
- maxWidth: "20ch",
93
- overflow: "hidden",
94
- whiteSpace: "nowrap",
95
- textOverflow: "ellipsis"
96
- },
97
- children: typeof P == "string" ? /* @__PURE__ */ _(a, {
98
- fontWeight: 500,
99
- title: P,
100
- text: P
101
- }) : P
102
- })
103
- }) : M?.showIcon && M.Component && /* @__PURE__ */ _(f, {
104
- position: "start",
105
- children: /* @__PURE__ */ _(i, {
106
- title: M.toolTip ?? "",
107
- children: /* @__PURE__ */ _(d, {
108
- edge: "start",
109
- sx: { color: M.iconColor ?? "primary.main" },
110
- children: M.Component
111
- })
112
- })
113
- }),
114
- ...j?.showIcon && !w && { endAdornment: /* @__PURE__ */ _(f, {
115
- position: "end",
116
- sx: {
117
- position: "absolute",
118
- right: 0
119
- },
120
- children: /* @__PURE__ */ _(i, {
121
- title: j?.toolTip ?? "strComingSoon",
122
- children: /* @__PURE__ */ _(d, {
123
- edge: "end",
124
- onClick: (e) => j?.customIconClick?.(e),
125
- sx: {
126
- color: j?.iconColor ?? "primary.main",
127
- pr: 2
128
- },
129
- children: j?.Component ?? /* @__PURE__ */ _(t, {})
130
- })
131
- })
132
- }) }
133
- }
134
- },
135
- sx: {
136
- ".MuiFormHelperText-root": {
137
- backgroundColor: z.palette.menuText.primary,
138
- margin: 0
139
- },
140
- "& ::placeholder": {
141
- fontSize: R,
142
- color: z.palette.placeholdertext
143
- },
144
- "& input[type=number]": { MozAppearance: "textfield" },
145
- "& input[type=number]::-webkit-outer-spin-button": {
146
- WebkitAppearance: "none",
147
- margin: 0
148
- },
149
- "& input[type=number]::-webkit-inner-spin-button": {
150
- WebkitAppearance: "none",
151
- margin: 0
152
- },
153
- "& .MuiOutlinedInput-root": {
154
- paddingRight: 0,
155
- color: "primary.main",
156
- ...P && {
157
- paddingLeft: 0,
158
- overflow: "hidden",
159
- "& .MuiOutlinedInput-input": { paddingLeft: 2 }
160
- }
161
- },
162
- "& .MuiOutlinedInput-notchedOutline": { borderColor: "#D9DDE7" },
163
- "& .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline": { borderColor: z.palette.primary.main },
164
- "& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
165
- borderWidth: 2,
166
- borderColor: z.palette.primary.main
167
- },
168
- ...P && {
169
- "& .MuiInputAdornment-root": {
170
- marginRight: 0,
171
- alignSelf: "stretch",
172
- maxHeight: "none"
173
- },
174
- "& .MuiInputAdornment-root > div": { height: "100%" }
175
- },
176
- ...T,
177
- ...A
178
- }
179
- })
180
- }),
181
- !w && (y?.maxLength || D) && /* @__PURE__ */ v(u, {
182
- container: !0,
183
- rowSpacing: 0,
184
- sx: {
185
- justifyContent: "space-between",
186
- alignItems: "center",
187
- width: "100%"
188
- },
189
- children: [/* @__PURE__ */ _(a, {
190
- text: O ? D : "",
191
- variantType: "error",
192
- sx: {
193
- minHeight: "1rem",
194
- fontSize: R && R - 2
195
- }
196
- }), y?.maxLength && /* @__PURE__ */ _(a, {
197
- text: `${r(B)} / ${r(V)} ${L("strCharacters")}`,
198
- variant: "body2",
199
- sx: {
200
- fontSize: R && R - 2,
201
- color: "text.primary"
202
- }
203
- })]
204
- })
205
- ]
206
- })
207
- });
208
- });
209
- //#endregion
210
- export { y as default };
211
-
212
- //# sourceMappingURL=index146.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index146.js","names":[],"sources":["../src/libs/shared/UI/textInput/TextInputField.tsx"],"sourcesContent":["import MicNoneOutlinedIcon from \"@mui/icons-material/MicNoneOutlined\";\r\nimport { Box, Grid, IconButton, InputAdornment, Stack, TextField, Tooltip } from \"@mui/material\";\r\nimport useTheme from \"@mui/system/useTheme\";\r\nimport { useAppThemeContext } from \"libs/core/context/AppThemeContext\";\r\nimport type { TextInputFieldPropTypes } from \"libs/shared/types/common-types\";\r\nimport React, { useMemo, type JSX } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toLocaleString } from \"utils/commonFunctions\";\r\nimport CustomizedTooltip from \"../toolTips/CustomizedTooltip\";\r\nimport Typography2 from \"../typography/Typography2\";\r\nimport PreviewText from \"ui/previewText/PreviewText\";\r\n\r\n\r\nconst TextInputField: React.FC<TextInputFieldPropTypes> = ({\r\n label,\r\n validation,\r\n size = 'small',\r\n mt = 0,\r\n value = \"\",\r\n width,\r\n disabled = false,\r\n autosx,\r\n slotProps,\r\n helperText,\r\n error,\r\n onChange,\r\n sx,\r\n endIcon,\r\n startIcon,\r\n tooltip,\r\n unitLabel,\r\n prefixWidth = 110,\r\n ...props\r\n}): JSX.Element => {\r\n const { t } = useTranslation();\r\n\r\n const { fontSize } = useAppThemeContext();\r\n\r\n const theme = useTheme();\r\n\r\n const currentLength = useMemo(\r\n () => String(value ?? \"\").length,\r\n [value]\r\n );\r\n\r\n const maxLength =\r\n validation?.maxLength ||\r\n validation?.length ||\r\n 100;\r\n\r\n const placeHolderValue = label\r\n ? t(\"strPlaceholder\", {\r\n field: t(label),\r\n })\r\n : \"\";\r\n\r\n const handleInputChange = (\r\n event: React.ChangeEvent<HTMLInputElement>\r\n ) => {\r\n let updatedValue = event.target.value.replace(\r\n /^\\s+/,\r\n \"\"\r\n );\r\n\r\n if (\r\n validation?.isNotAllowdCharacters &&\r\n validation?.notAllowedString\r\n ) {\r\n const regexPattern = new RegExp(\r\n validation.notAllowedString,\r\n \"gu\"\r\n );\r\n\r\n updatedValue = updatedValue.replace(\r\n regexPattern,\r\n \"\"\r\n );\r\n\r\n if (validation.extraRegex) {\r\n const extraPattern = new RegExp(\r\n validation.extraRegex,\r\n \"gu\"\r\n );\r\n\r\n updatedValue = updatedValue.replace(\r\n extraPattern,\r\n \"$1\"\r\n );\r\n }\r\n }\r\n\r\n if (onChange) {\r\n event.target.value = updatedValue;\r\n onChange(event);\r\n }\r\n };\r\n\r\n return (\r\n <PreviewText label={label as string} value={value as string}>\r\n <Stack\r\n sx={{\r\n mt,\r\n width: width || undefined,\r\n\r\n \"& > :not(style) ~ :not(style)\": {\r\n marginTop: 0,\r\n },\r\n }}\r\n >\r\n {label && (\r\n <Typography2\r\n text={label}\r\n fontWeight={400}\r\n isRequired={\r\n !disabled &&\r\n validation?.required\r\n }\r\n sx={{\r\n color:theme.palette.text.primary,\r\n fontSize,\r\n mb: 0.5,\r\n }}\r\n />\r\n )}\r\n\r\n <Tooltip\r\n title={tooltip ? t(tooltip) : \"\"}\r\n disableInteractive={!tooltip}\r\n >\r\n <TextField\r\n {...props}\r\n value={value}\r\n onChange={handleInputChange}\r\n placeholder={\r\n disabled\r\n ? \"\"\r\n : placeHolderValue\r\n }\r\n fullWidth\r\n size={size}\r\n disabled={disabled}\r\n variant=\"outlined\"\r\n error={error}\r\n slotProps={{\r\n ...slotProps,\r\n\r\n htmlInput: {\r\n ...slotProps?.htmlInput,\r\n\r\n maxLength:\r\n maxLength > 0\r\n ? maxLength\r\n : undefined,\r\n\r\n style: {\r\n height: \"1.44rem\",\r\n },\r\n },\r\n\r\n input: {\r\n ...slotProps?.input,\r\n\r\n sx: {\r\n backgroundColor: disabled\r\n ? theme.palette.datagrid.heading\r\n : \"#fff\",\r\n\r\n ...(unitLabel && {\r\n paddingLeft: 0,\r\n }),\r\n },\r\n startAdornment: unitLabel ? (\r\n <InputAdornment\r\n position=\"start\"\r\n sx={{\r\n marginRight: 0,\r\n alignSelf: \"stretch\",\r\n maxHeight: \"none\",\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n width: prefixWidth - 20,\r\n minWidth: prefixWidth - 30,\r\n height: \"100%\",\r\n minHeight: 40,\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n bgcolor: theme.palette.datagrid.filter,\r\n color: 'primary.main',\r\n borderRight: `1px solid ${theme.palette.datagrid.filter}`,\r\n fontWeight: 500,\r\n typography: \"body1\",\r\n px: 2,\r\n maxWidth: '20ch',\r\n overflow: 'hidden',\r\n whiteSpace: 'nowrap',\r\n textOverflow: 'ellipsis',\r\n }}\r\n >\r\n {typeof unitLabel === \"string\" ? (\r\n <Typography2 fontWeight={500} title={unitLabel} text={unitLabel} />\r\n ) : (\r\n unitLabel\r\n )}\r\n </Box>\r\n </InputAdornment>\r\n ) : (\r\n startIcon?.showIcon &&\r\n startIcon.Component && (\r\n <InputAdornment position=\"start\">\r\n <CustomizedTooltip\r\n title={\r\n startIcon.toolTip ??\r\n \"\"\r\n }\r\n >\r\n <IconButton\r\n edge=\"start\"\r\n sx={{\r\n color:\r\n startIcon.iconColor ??\r\n \"primary.main\",\r\n }}\r\n >\r\n {startIcon.Component}\r\n </IconButton>\r\n </CustomizedTooltip>\r\n </InputAdornment>\r\n )\r\n ),\r\n ...(endIcon?.showIcon &&\r\n !disabled && {\r\n endAdornment: (\r\n <InputAdornment\r\n position=\"end\"\r\n sx={{\r\n position: \"absolute\",\r\n right: 0,\r\n }}\r\n >\r\n <CustomizedTooltip\r\n title={\r\n endIcon?.toolTip ??\r\n \"strComingSoon\"\r\n }\r\n >\r\n <IconButton\r\n edge=\"end\"\r\n onClick={(event) =>\r\n endIcon?.customIconClick?.(\r\n event\r\n )\r\n }\r\n sx={{\r\n color:\r\n endIcon?.iconColor ??\r\n \"primary.main\",\r\n pr: 2,\r\n }}\r\n >\r\n {endIcon?.Component ?? (\r\n <MicNoneOutlinedIcon />\r\n )}\r\n </IconButton>\r\n </CustomizedTooltip>\r\n </InputAdornment>\r\n ),\r\n }),\r\n },\r\n }}\r\n sx={{\r\n \".MuiFormHelperText-root\": {\r\n backgroundColor:\r\n theme.palette.menuText.primary,\r\n margin: 0,\r\n },\r\n\r\n \"& ::placeholder\": {\r\n fontSize,\r\n color: theme.palette.placeholdertext\r\n },\r\n\r\n \"& input[type=number]\": {\r\n MozAppearance: \"textfield\",\r\n },\r\n\r\n \"& input[type=number]::-webkit-outer-spin-button\":\r\n {\r\n WebkitAppearance: \"none\",\r\n margin: 0,\r\n },\r\n\r\n \"& input[type=number]::-webkit-inner-spin-button\":\r\n {\r\n WebkitAppearance: \"none\",\r\n margin: 0,\r\n },\r\n\r\n \"& .MuiOutlinedInput-root\": {\r\n paddingRight: 0,\r\n color: \"primary.main\",\r\n\r\n ...(unitLabel && {\r\n paddingLeft: 0,\r\n overflow: \"hidden\",\r\n\r\n \"& .MuiOutlinedInput-input\": {\r\n paddingLeft: 2,\r\n },\r\n }),\r\n },\r\n\r\n \"& .MuiOutlinedInput-notchedOutline\": {\r\n borderColor: \"#D9DDE7\",\r\n },\r\n\r\n \"& .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline\":\r\n {\r\n borderColor:\r\n theme.palette.primary.main,\r\n },\r\n\r\n \"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline\":\r\n {\r\n borderWidth: 2,\r\n borderColor:\r\n theme.palette.primary.main,\r\n },\r\n\r\n ...(unitLabel && {\r\n \"& .MuiInputAdornment-root\": {\r\n marginRight: 0,\r\n alignSelf: \"stretch\",\r\n maxHeight: \"none\",\r\n },\r\n\r\n \"& .MuiInputAdornment-root > div\": {\r\n height: \"100%\",\r\n },\r\n }),\r\n\r\n ...autosx,\r\n ...sx,\r\n }}\r\n />\r\n </Tooltip>\r\n {!disabled && (validation?.maxLength || helperText) && (\r\n <Grid\r\n container\r\n rowSpacing={0}\r\n sx={{\r\n justifyContent: 'space-between', alignItems: 'center', width: '100%'\r\n }}\r\n >\r\n <Typography2\r\n text={error ? helperText : \"\"}\r\n variantType=\"error\"\r\n sx={{ minHeight: \"1rem\", fontSize: fontSize && (fontSize - 2) }}\r\n />\r\n\r\n {validation?.maxLength && (\r\n <Typography2\r\n text={`${toLocaleString(currentLength)} / ${toLocaleString(maxLength)} ${t(\"strCharacters\")}`}\r\n variant=\"body2\"\r\n sx={{\r\n fontSize: fontSize && (fontSize - 2),\r\n color: \"text.primary\",\r\n }}\r\n />\r\n )}\r\n </Grid>\r\n )}\r\n </Stack>\r\n </PreviewText>\r\n );\r\n};\r\n\r\nexport default React.memo(TextInputField);\r\n"],"mappings":";;;;;;;;;;;AA2XA,IAAA,IAAe,EAAM,MA9WsC,EACzD,UACA,eACA,UAAO,SACP,QAAK,GACL,WAAQ,IACR,UACA,cAAW,IACX,WACA,cACA,eACA,UACA,aACA,OACA,YACA,cACA,YACA,cACA,iBAAc,KACd,GAAG,QACc;CACjB,IAAM,EAAE,SAAM,EAAe,GAEvB,EAAE,gBAAa,EAAmB,GAElC,IAAQ,EAAS,GAEjB,IAAgB,QACd,OAAO,KAAS,EAAE,CAAC,CAAC,QAC1B,CAAC,CAAK,CACR,GAEM,IACJ,GAAY,aACZ,GAAY,UACZ,KAEI,IAAmB,IACrB,EAAE,kBAAkB,EACpB,OAAO,EAAE,CAAK,EAChB,CAAC,IACC,IAEE,KACJ,MACG;EACH,IAAI,IAAe,EAAM,OAAO,MAAM,QACpC,QACA,EACF;EAEA,IACE,GAAY,yBACZ,GAAY,kBACZ;GACA,IAAM,IAAe,IAAI,OACvB,EAAW,kBACX,IACF;GAOA,IALA,IAAe,EAAa,QAC1B,GACA,EACF,GAEI,EAAW,YAAY;IACzB,IAAM,IAAe,IAAI,OACvB,EAAW,YACX,IACF;IAEA,IAAe,EAAa,QAC1B,GACA,IACF;GACF;EACF;EAEA,AAAI,MACF,EAAM,OAAO,QAAQ,GACrB,EAAS,CAAK;CAElB;CAEA,OACE,kBAAC,GAAD;EAAoB;EAAwB;EAC1C,UAAA,kBAAC,GAAD;GACE,IAAI;IACF;IACA,OAAO,KAAS,KAAA;IAElB,iCAAiC,EAC/B,WAAW,EACb;GACF;GARA,UAAA;IAUC,KACC,kBAAC,GAAD;KACE,MAAM;KACN,YAAY;KACZ,YACE,CAAC,KACD,GAAY;KAEd,IAAI;MACF,OAAM,EAAM,QAAQ,KAAK;MACzB;MACA,IAAI;KACN;IACD,CAAA;IAGD,kBAAC,GAAD;KACE,OAAO,IAAU,EAAE,CAAO,IAAI;KAC9B,oBAAoB,CAAC;KAErB,UAAA,kBAAC,GAAD;MACE,GAAI;MACG;MACP,UAAU;MACV,aACE,IACI,KACA;MAEN,WAAA;MACM;MACI;MACV,SAAQ;MACD;MACP,WAAW;OACT,GAAG;OAEH,WAAW;QACT,GAAG,GAAW;QAEd,WACE,IAAY,IACR,IACA,KAAA;QAEN,OAAO,EACL,QAAQ,UACV;OACF;OAEA,OAAO;QACL,GAAG,GAAW;QAEd,IAAI;SACF,iBAAiB,IACb,EAAM,QAAQ,SAAS,UACvB;SAEJ,GAAI,KAAa,EACf,aAAa,EACf;QACF;QACA,gBAAgB,IACd,kBAAC,GAAD;SACE,UAAS;SACT,IAAI;UACF,aAAa;UACb,WAAW;UACX,WAAW;SACb;SAEA,UAAA,kBAAC,GAAD;UACE,IAAI;WACF,OAAO,IAAc;WACrB,UAAU,IAAc;WACxB,QAAQ;WACR,WAAW;WACX,SAAS;WACT,YAAY;WACZ,gBAAgB;WAChB,SAAS,EAAM,QAAQ,SAAS;WAChC,OAAO;WACP,aAAa,aAAa,EAAM,QAAQ,SAAS;WACjD,YAAY;WACZ,YAAY;WACZ,IAAI;WACJ,UAAU;WACV,UAAU;WACV,YAAY;WACZ,cAAc;UAChB;UAEC,UAAA,OAAO,KAAc,WACpB,kBAAC,GAAD;WAAa,YAAY;WAAK,OAAO;WAAW,MAAM;UAAY,CAAA,IAElE;SAEC,CAAA;QACS,CAAA,IAEhB,GAAW,YACX,EAAU,aACR,kBAAC,GAAD;SAAgB,UAAS;SACvB,UAAA,kBAAC,GAAD;UACE,OACE,EAAU,WACV;UAGF,UAAA,kBAAC,GAAD;WACE,MAAK;WACL,IAAI,EACF,OACE,EAAU,aACV,eACJ;WAEC,UAAA,EAAU;UACD,CAAA;SACK,CAAA;QACL,CAAA;QAGpB,GAAI,GAAS,YACX,CAAC,KAAY,EACb,cACE,kBAAC,GAAD;SACE,UAAS;SACT,IAAI;UACF,UAAU;UACV,OAAO;SACT;SAEA,UAAA,kBAAC,GAAD;UACE,OACE,GAAS,WACT;UAGF,UAAA,kBAAC,GAAD;WACE,MAAK;WACL,UAAU,MACR,GAAS,kBACP,CACF;WAEF,IAAI;YACF,OACE,GAAS,aACT;YACF,IAAI;WACN;WAEC,UAAA,GAAS,aACR,kBAAC,GAAD,CAAsB,CAAA;UAEd,CAAA;SACK,CAAA;QACL,CAAA,EAEpB;OACF;MACF;MACA,IAAI;OACF,2BAA2B;QACzB,iBACE,EAAM,QAAQ,SAAS;QACzB,QAAQ;OACV;OAEF,mBAAmB;QACjB;QACA,OAAO,EAAM,QAAQ;OACvB;OAEE,wBAAwB,EACtB,eAAe,YACjB;OAEA,mDACA;QACE,kBAAkB;QAClB,QAAQ;OACV;OAEA,mDACA;QACE,kBAAkB;QAClB,QAAQ;OACV;OAEF,4BAA4B;QAC1B,cAAc;QACd,OAAO;QAEL,GAAI,KAAa;SACf,aAAa;SACb,UAAU;SAEV,6BAA6B,EAC3B,aAAa,EACf;QACF;OACF;OAEA,sCAAsC,EACpC,aAAa,UACf;OAEA,mEACA,EACE,aACE,EAAM,QAAQ,QAAQ,KAC1B;OAEA,yEACA;QACE,aAAa;QACb,aACE,EAAM,QAAQ,QAAQ;OAC1B;OAEA,GAAI,KAAa;QACf,6BAA6B;SAC3B,aAAa;SACb,WAAW;SACX,WAAW;QACb;QAEA,mCAAmC,EACjC,QAAQ,OACV;OACF;OAEF,GAAG;OACH,GAAG;MACL;KACD,CAAA;IACM,CAAA;IACR,CAAC,MAAa,GAAY,aAAa,MACtC,kBAAC,GAAD;KACE,WAAA;KACA,YAAY;KACZ,IAAI;MACF,gBAAgB;MAAiB,YAAY;MAAU,OAAO;KAChE;KALF,UAAA,CAOE,kBAAC,GAAD;MACE,MAAM,IAAQ,IAAa;MAC3B,aAAY;MACZ,IAAI;OAAE,WAAW;OAAQ,UAAU,KAAa,IAAW;MAAG;KAC/D,CAAA,GAEE,GAAY,aACX,kBAAC,GAAD;MACE,MAAM,GAAG,EAAe,CAAa,EAAE,KAAK,EAAe,CAAS,EAAE,GAAG,EAAE,eAAe;MAC1F,SAAQ;MACR,IAAI;OACF,UAAU,KAAa,IAAW;OAClC,OAAO;MACT;KACD,CAAA,CAEC;;GAEH;;CACI,CAAA;AAEjB,CAEwC"}
package/dist/index147.js DELETED
@@ -1,4 +0,0 @@
1
- import e from "./index125.js";
2
- import t from "./index126.js";
3
- import n from "./index146.js";
4
- export { e as AppButton, t as AppCheckbox, n as AppInput };
package/dist/index148.js DELETED
@@ -1,5 +0,0 @@
1
- import e from "./index125.js";
2
- import t from "./index126.js";
3
- import n from "./index146.js";
4
- import "./index147.js";
5
- export { e as AppButton, t as AppCheckbox, n as AppInput };
package/dist/index149.js DELETED
@@ -1,7 +0,0 @@
1
- import e from "./index117.js";
2
- import "./index119.js";
3
- import t from "./index125.js";
4
- import n from "./index126.js";
5
- import r from "./index146.js";
6
- import "./index148.js";
7
- export { t as AppButton, n as AppCheckbox, r as AppInput, e as ErrorBoundary };