@geotab/zenith 3.1.1-beta.0 → 3.1.1-beta.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 (1221) hide show
  1. package/dist/advancedGroupsFilter/advancedGroupsFilter.d.ts +1 -1
  2. package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
  3. package/dist/advancedGroupsFilter/advancedGroupsFilterFormHelper.d.ts +1 -1
  4. package/dist/advancedGroupsFilter/advancedGroupsFilterFormHelper.js +2 -2
  5. package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.d.ts +1 -1
  6. package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +2 -2
  7. package/dist/advancedGroupsFilter/advancedGroupsFilterHelper.d.ts +2 -2
  8. package/dist/advancedGroupsFilter/advancedGroupsFilterHelper.js +1 -1
  9. package/dist/banner/banner.d.ts +2 -1
  10. package/dist/banner/banner.js +5 -3
  11. package/dist/banner/bannerMultipLine.d.ts +2 -1
  12. package/dist/banner/bannerMultipLine.js +2 -2
  13. package/dist/banner/bannerSingleLine.d.ts +2 -1
  14. package/dist/banner/bannerSingleLine.js +2 -2
  15. package/dist/button/button.d.ts +5 -3
  16. package/dist/button/button.js +4 -3
  17. package/dist/card/card.d.ts +2 -2
  18. package/dist/card/card.js +3 -1
  19. package/dist/card/components/cardButton/cardButton.d.ts +4 -3
  20. package/dist/card/components/cardButton/cardButton.js +2 -2
  21. package/dist/checkboxListWithAction/checkboxListWithAction.d.ts +1 -1
  22. package/dist/comboboxSelected/comboboxSelected.js +1 -1
  23. package/dist/commonHelpers/getAriaAttributes.d.ts +1 -0
  24. package/dist/commonHelpers/getAriaAttributes.js +16 -0
  25. package/dist/commonHelpers/hooks/useFormField.d.ts +8 -0
  26. package/dist/commonHelpers/hooks/useFormField.js +19 -0
  27. package/dist/commonHelpers/hooks/useFormFieldValues/getRuleValue.d.ts +2 -0
  28. package/dist/commonHelpers/hooks/useFormFieldValues/getRuleValue.js +13 -0
  29. package/dist/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.d.ts +13 -0
  30. package/dist/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.js +52 -0
  31. package/dist/commonHelpers/isFormItem.d.ts +2 -0
  32. package/dist/commonHelpers/isFormItem.js +5 -0
  33. package/dist/commonHelpers/loading.d.ts +6 -0
  34. package/dist/commonHelpers/loading.js +5 -0
  35. package/dist/commonHelpers/types/exclusive.d.ts +3 -0
  36. package/dist/commonHelpers/types/without.d.ts +3 -0
  37. package/dist/commonHelpers/zenComponent.d.ts +17 -0
  38. package/dist/dateInput/dateInput.d.ts +8 -22
  39. package/dist/dateInput/dateInput.js +20 -113
  40. package/dist/dateInputInner/dateInputInnerControlBlock.js +4 -1
  41. package/dist/dateInputRaw/dateInputRaw.d.ts +9 -0
  42. package/dist/dateInputRaw/dateInputRaw.js +134 -0
  43. package/dist/dateInputRaw/types.d.ts +32 -0
  44. package/dist/{dateInput → dateInputRaw/utils}/getLabel.js +1 -1
  45. package/dist/dateRange/dateRange.d.ts +10 -41
  46. package/dist/dateRange/dateRange.js +19 -259
  47. package/dist/dateRange/dateRangeUtils.d.ts +1 -38
  48. package/dist/dateRange/dateRangeUtils.js +15 -293
  49. package/dist/dateRangeRaw/dateRangeRaw.d.ts +45 -0
  50. package/dist/dateRangeRaw/dateRangeRaw.js +276 -0
  51. package/dist/dateRangeRaw/types.d.ts +48 -0
  52. package/dist/dateRangeRaw/types.js +2 -0
  53. package/dist/{dateRange → dateRangeRaw}/utils/areMapsEqual.d.ts +1 -1
  54. package/dist/dateRangeRaw/utils/dateRangeUtils.d.ts +38 -0
  55. package/dist/dateRangeRaw/utils/dateRangeUtils.js +295 -0
  56. package/dist/dateRangeRaw/utils/parseLabel.d.ts +2 -0
  57. package/dist/dateRangeRaw/utils/parseLabel.js +15 -0
  58. package/dist/divider/divider.d.ts +7 -0
  59. package/dist/divider/divider.js +7 -0
  60. package/dist/dropdown/dropdown.d.ts +21 -108
  61. package/dist/dropdown/dropdown.js +27 -494
  62. package/dist/dropdown/dropdownPopup.d.ts +4 -34
  63. package/dist/dropdown/dropdownPopup.js +2 -32
  64. package/dist/dropdown/dropdownTrigger.d.ts +2 -25
  65. package/dist/dropdown/dropdownTrigger.js +3 -30
  66. package/dist/{dropdown → dropdownRaw}/dropdownHelper.d.ts +15 -14
  67. package/dist/{dropdown → dropdownRaw}/dropdownHelper.js +1 -1
  68. package/dist/dropdownRaw/dropdownPopup.d.ts +34 -0
  69. package/dist/dropdownRaw/dropdownPopup.js +35 -0
  70. package/dist/dropdownRaw/dropdownRaw.d.ts +6 -0
  71. package/dist/dropdownRaw/dropdownRaw.js +541 -0
  72. package/{esm/dropdown → dist/dropdownRaw}/dropdownSearchableTrigger.d.ts +3 -1
  73. package/dist/{dropdown → dropdownRaw}/dropdownSearchableTrigger.js +5 -2
  74. package/dist/dropdownRaw/dropdownTestData.d.ts +65 -0
  75. package/dist/dropdownRaw/dropdownTestData.js +1093 -0
  76. package/dist/dropdownRaw/dropdownTrigger.d.ts +27 -0
  77. package/dist/dropdownRaw/dropdownTrigger.js +31 -0
  78. package/{esm/dropdown → dist/dropdownRaw}/stateReducer/stateAction.d.ts +4 -4
  79. package/dist/dropdownRaw/stateReducer/stateAction.js +2 -0
  80. package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducer.d.ts +5 -5
  81. package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducer.js +2 -2
  82. package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.d.ts +2 -2
  83. package/dist/dropdownRaw/types.d.ts +133 -0
  84. package/dist/dropdownRaw/types.js +2 -0
  85. package/dist/dropdownRaw/utils/getSelectedValues.d.ts +2 -0
  86. package/dist/dropdownRaw/utils/getSelectedValues.js +5 -0
  87. package/dist/filterButton/filterButton.d.ts +3 -1
  88. package/dist/filterButton/filterButton.js +2 -2
  89. package/dist/filters/components/filtersDropdown.d.ts +4 -2
  90. package/dist/filters/components/filtersGroups.d.ts +1 -1
  91. package/dist/filters/components/filtersItem.d.ts +1 -1
  92. package/dist/filters/components/filtersSidePanelDropdown.js +2 -2
  93. package/dist/filters/components/filtersSidePanelRange.js +1 -1
  94. package/dist/filters/filtersHelper.js +3 -3
  95. package/dist/filtersBar/components/filtersBarDropdown/filtersBarDropdown.js +2 -2
  96. package/dist/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
  97. package/dist/filtersBar/components/filtersBarRange/filtersBarRange.js +1 -1
  98. package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelDropdownWithCheckbox/filtersBarSidePanelDropdownWithCheckbox.js +1 -1
  99. package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
  100. package/dist/formField/components/formFieldBanner.d.ts +6 -0
  101. package/dist/formField/components/formFieldBanner.js +9 -0
  102. package/dist/formField/components/formFieldSkeleton.d.ts +6 -0
  103. package/dist/formField/components/formFieldSkeleton.js +5 -0
  104. package/dist/formField/components/formFieldWithLabel.d.ts +10 -0
  105. package/dist/formField/components/formFieldWithLabel.js +12 -0
  106. package/dist/formField/components/formFieldWithoutLabel.d.ts +8 -0
  107. package/dist/formField/components/formFieldWithoutLabel.js +12 -0
  108. package/dist/formField/formField.d.ts +34 -6
  109. package/dist/formField/formField.js +60 -7
  110. package/dist/formField/hooks/useAssistive.d.ts +12 -0
  111. package/dist/formField/hooks/useAssistive.js +18 -0
  112. package/dist/formField/hooks/useBanner.d.ts +8 -0
  113. package/dist/formField/hooks/useBanner.js +27 -0
  114. package/dist/formField/hooks/useDisabled.d.ts +15 -0
  115. package/dist/formField/hooks/useDisabled.js +22 -0
  116. package/dist/formField/hooks/useError.d.ts +18 -0
  117. package/dist/formField/hooks/useError.js +49 -0
  118. package/dist/formField/hooks/useLoading.d.ts +2 -0
  119. package/dist/formField/hooks/useLoading.js +19 -0
  120. package/dist/formField/hooks/useReadonly.d.ts +1 -0
  121. package/dist/formField/hooks/useReadonly.js +10 -0
  122. package/dist/formField/hooks/useSkeleton.d.ts +3 -0
  123. package/dist/formField/hooks/useSkeleton.js +13 -0
  124. package/dist/formField/hooks/useTrailing.d.ts +12 -0
  125. package/dist/formField/hooks/useTrailing.js +18 -0
  126. package/dist/formField/hooks/useWidth.d.ts +8 -0
  127. package/dist/formField/hooks/useWidth.js +11 -0
  128. package/dist/formField/utils/getFormFieldBanner.d.ts +2 -0
  129. package/dist/formField/utils/getFormFieldBanner.js +20 -0
  130. package/dist/formField/utils/rangeRawLabelCheck.d.ts +1 -0
  131. package/dist/formField/utils/rangeRawLabelCheck.js +14 -0
  132. package/dist/formGroup/components/customRow/customRow.d.ts +7 -0
  133. package/dist/formGroup/components/customRow/customRow.js +7 -0
  134. package/dist/formGroup/components/formGroupList.d.ts +5 -0
  135. package/dist/formGroup/components/formGroupList.js +6 -0
  136. package/dist/formGroup/components/formGroupToggle.d.ts +15 -0
  137. package/dist/formGroup/components/formGroupToggle.js +6 -0
  138. package/dist/formGroup/components/list.d.ts +6 -0
  139. package/dist/formGroup/components/list.js +19 -0
  140. package/dist/formGroup/components/listToggle/listToggle.d.ts +1 -0
  141. package/dist/formGroup/components/listToggle/listToggle.js +29 -0
  142. package/dist/formGroup/components/oneRow.d.ts +6 -0
  143. package/dist/formGroup/components/oneRow.js +15 -0
  144. package/dist/formGroup/components/reviewListToggle/reviewListToggle.d.ts +8 -0
  145. package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +16 -0
  146. package/dist/formGroup/components/reviewTextControl.d.ts +9 -0
  147. package/dist/formGroup/components/reviewTextControl.js +7 -0
  148. package/dist/formGroup/components/row.d.ts +5 -0
  149. package/dist/formGroup/components/row.js +38 -0
  150. package/dist/formGroup/components/twoRows.d.ts +6 -0
  151. package/dist/formGroup/components/twoRows.js +15 -0
  152. package/dist/formGroup/formGroup.d.ts +13 -0
  153. package/dist/formGroup/formGroup.js +72 -0
  154. package/dist/formGroup/hooks/listHooks/useControlClasses.d.ts +2 -0
  155. package/dist/formGroup/hooks/listHooks/useControlClasses.js +54 -0
  156. package/dist/formGroup/hooks/listHooks/useControls.d.ts +2 -0
  157. package/dist/formGroup/hooks/listHooks/useControls.js +17 -0
  158. package/dist/formGroup/hooks/listHooks/useElementsState.d.ts +3 -0
  159. package/dist/formGroup/hooks/listHooks/useElementsState.js +38 -0
  160. package/dist/formGroup/hooks/listHooks/useLabelClasses.d.ts +2 -0
  161. package/dist/formGroup/hooks/listHooks/useLabelClasses.js +38 -0
  162. package/dist/formGroup/hooks/listHooks/useStateToElements.d.ts +3 -0
  163. package/dist/formGroup/hooks/listHooks/useStateToElements.js +27 -0
  164. package/dist/formGroup/hooks/rowHooks/useControlClasses.d.ts +2 -0
  165. package/dist/formGroup/hooks/rowHooks/useControlClasses.js +31 -0
  166. package/dist/formGroup/hooks/rowHooks/useControls.d.ts +2 -0
  167. package/dist/formGroup/hooks/rowHooks/useControls.js +15 -0
  168. package/dist/formGroup/hooks/rowHooks/useInitializeState.d.ts +3 -0
  169. package/dist/formGroup/hooks/rowHooks/useInitializeState.js +15 -0
  170. package/dist/formGroup/hooks/rowHooks/useLabelClasses.d.ts +2 -0
  171. package/dist/formGroup/hooks/rowHooks/useLabelClasses.js +28 -0
  172. package/dist/formGroup/hooks/useCustomRow.d.ts +4 -0
  173. package/dist/formGroup/hooks/useCustomRow.js +92 -0
  174. package/dist/formGroup/hooks/useElements.d.ts +4 -0
  175. package/dist/formGroup/hooks/useElements.js +24 -0
  176. package/dist/formGroup/hooks/useLabelAlign.d.ts +2 -0
  177. package/dist/formGroup/hooks/useLabelAlign.js +14 -0
  178. package/dist/formGroup/hooks/useMode.d.ts +2 -0
  179. package/dist/formGroup/hooks/useMode.js +12 -0
  180. package/dist/formGroup/hooks/useRowElements.d.ts +14 -0
  181. package/dist/formGroup/hooks/useRowElements.js +24 -0
  182. package/dist/formGroup/hooks/useSectionType.d.ts +2 -0
  183. package/dist/formGroup/hooks/useSectionType.js +12 -0
  184. package/dist/formGroup/hooks/useToggle.d.ts +1 -0
  185. package/dist/formGroup/hooks/useToggle.js +25 -0
  186. package/dist/formGroup/hooks/useToggleList.d.ts +9 -0
  187. package/dist/formGroup/hooks/useToggleList.js +24 -0
  188. package/dist/formGroup/types.d.ts +53 -0
  189. package/dist/formGroup/types.js +2 -0
  190. package/dist/formGroup/utils/applyControlClasses.d.ts +2 -0
  191. package/dist/formGroup/utils/applyControlClasses.js +51 -0
  192. package/dist/formGroup/utils/applyCustomControlClasses.d.ts +12 -0
  193. package/dist/formGroup/utils/applyCustomControlClasses.js +31 -0
  194. package/dist/formGroup/utils/applyCustomLabelClasses.d.ts +12 -0
  195. package/dist/formGroup/utils/applyCustomLabelClasses.js +20 -0
  196. package/dist/formGroup/utils/formGroupProvider.d.ts +9 -0
  197. package/dist/formGroup/utils/formGroupProvider.js +8 -0
  198. package/dist/formGroup/utils/getControlClasses/getControlClasses.d.ts +6 -0
  199. package/dist/formGroup/utils/getControlClasses/getControlClasses.js +79 -0
  200. package/dist/formGroup/utils/getControlClasses/getModalSectionClasses.d.ts +2 -0
  201. package/dist/formGroup/utils/getControlClasses/getModalSectionClasses.js +8 -0
  202. package/dist/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.d.ts +6 -0
  203. package/dist/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.js +25 -0
  204. package/dist/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
  205. package/dist/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.js +53 -0
  206. package/dist/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.d.ts +6 -0
  207. package/dist/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.js +25 -0
  208. package/dist/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
  209. package/dist/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.js +28 -0
  210. package/dist/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.d.ts +3 -0
  211. package/dist/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.js +16 -0
  212. package/dist/formGroup/utils/getControlClasses/types.d.ts +4 -0
  213. package/dist/formGroup/utils/getControlClasses/types.js +2 -0
  214. package/dist/formGroup/utils/getControlListClasses/getControlListClasses.d.ts +4 -0
  215. package/dist/formGroup/utils/getControlListClasses/getControlListClasses.js +46 -0
  216. package/dist/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.d.ts +7 -0
  217. package/dist/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.js +64 -0
  218. package/dist/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
  219. package/dist/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.js +44 -0
  220. package/dist/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
  221. package/dist/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.js +39 -0
  222. package/dist/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.d.ts +5 -0
  223. package/dist/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.js +18 -0
  224. package/dist/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.d.ts +2 -0
  225. package/dist/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.js +17 -0
  226. package/dist/formGroup/utils/getControlNode.d.ts +1 -0
  227. package/dist/formGroup/utils/getControlNode.js +6 -0
  228. package/dist/formGroup/utils/getControls.d.ts +5 -0
  229. package/dist/formGroup/utils/getControls.js +26 -0
  230. package/dist/formGroup/utils/getElementsControl.d.ts +5 -0
  231. package/dist/formGroup/utils/getElementsControl.js +37 -0
  232. package/dist/formGroup/utils/getLabelClasses/getLabelClasses.d.ts +6 -0
  233. package/dist/formGroup/utils/getLabelClasses/getLabelClasses.js +65 -0
  234. package/dist/formGroup/utils/getLabelClasses/getModalSectionClasses.d.ts +2 -0
  235. package/dist/formGroup/utils/getLabelClasses/getModalSectionClasses.js +8 -0
  236. package/dist/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.d.ts +4 -0
  237. package/dist/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.js +24 -0
  238. package/dist/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.d.ts +4 -0
  239. package/dist/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.js +50 -0
  240. package/dist/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.d.ts +2 -0
  241. package/dist/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.js +31 -0
  242. package/dist/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.d.ts +4 -0
  243. package/dist/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.js +28 -0
  244. package/dist/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.d.ts +4 -0
  245. package/dist/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.js +28 -0
  246. package/dist/formGroup/utils/getLabelClasses/getZeroLabelClasses.d.ts +2 -0
  247. package/dist/formGroup/utils/getLabelClasses/getZeroLabelClasses.js +8 -0
  248. package/dist/formGroup/utils/getLabelClasses/types.d.ts +4 -0
  249. package/dist/formGroup/utils/getLabelClasses/types.js +2 -0
  250. package/dist/formGroup/utils/getLabelListClasses/getLabelListClasses.d.ts +7 -0
  251. package/dist/formGroup/utils/getLabelListClasses/getLabelListClasses.js +34 -0
  252. package/dist/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.d.ts +6 -0
  253. package/dist/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.js +48 -0
  254. package/dist/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
  255. package/dist/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.js +29 -0
  256. package/dist/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.d.ts +4 -0
  257. package/dist/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.js +17 -0
  258. package/dist/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.d.ts +5 -0
  259. package/dist/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.js +35 -0
  260. package/dist/formGroup/utils/getLabelNode.d.ts +1 -0
  261. package/dist/formGroup/utils/getLabelNode.js +6 -0
  262. package/dist/formGroup/utils/getListClasses.d.ts +3 -0
  263. package/dist/formGroup/utils/getListClasses.js +31 -0
  264. package/dist/formGroup/utils/getToggleClasses.d.ts +3 -0
  265. package/dist/formGroup/utils/getToggleClasses.js +17 -0
  266. package/dist/formGroup/utils/getTotalState.d.ts +2 -0
  267. package/dist/formGroup/utils/getTotalState.js +23 -0
  268. package/dist/formGroup/utils/hasCustomWidthControl.d.ts +2 -0
  269. package/dist/formGroup/utils/hasCustomWidthControl.js +11 -0
  270. package/dist/formGroup/utils/hasWidthProp.d.ts +2 -0
  271. package/dist/formGroup/utils/hasWidthProp.js +14 -0
  272. package/dist/formGroup/utils/initializeState.d.ts +12 -0
  273. package/dist/formGroup/utils/initializeState.js +43 -0
  274. package/dist/formGroup/utils/isFormLabel.d.ts +3 -0
  275. package/dist/formGroup/utils/isFormLabel.js +6 -0
  276. package/dist/formGroup/utils/isTopAlign.d.ts +3 -0
  277. package/dist/formGroup/utils/isTopAlign.js +9 -0
  278. package/dist/formGroup/utils/isTwoRowsStructure.d.ts +3 -0
  279. package/dist/formGroup/utils/isTwoRowsStructure.js +29 -0
  280. package/dist/formGroupItem/formGroupItem.d.ts +8 -0
  281. package/dist/formGroupItem/formGroupItem.js +13 -0
  282. package/dist/formLayout/components/column/column.d.ts +7 -0
  283. package/dist/formLayout/components/column/column.js +7 -0
  284. package/dist/formLayout/components/columnTitle/formLayoutColumnTitle.d.ts +9 -0
  285. package/dist/formLayout/components/columnTitle/formLayoutColumnTitle.js +7 -0
  286. package/dist/formLayout/components/customColumns.d.ts +9 -0
  287. package/dist/formLayout/components/customColumns.js +37 -0
  288. package/dist/formLayout/components/formLayoutSecondary.d.ts +7 -0
  289. package/dist/formLayout/components/formLayoutSecondary.js +7 -0
  290. package/dist/formLayout/components/formLayoutTitle.d.ts +7 -0
  291. package/dist/formLayout/components/formLayoutTitle.js +7 -0
  292. package/dist/formLayout/components/getLayoutColumns.d.ts +1 -0
  293. package/dist/formLayout/components/getLayoutColumns.js +39 -0
  294. package/dist/formLayout/components/layoutColumn/layoutColum.d.ts +6 -0
  295. package/dist/formLayout/components/layoutColumn/layoutColum.js +6 -0
  296. package/dist/formLayout/components/oneColumnGrid.d.ts +2 -0
  297. package/dist/formLayout/components/oneColumnGrid.js +28 -0
  298. package/dist/formLayout/components/twoColumnsGrid.d.ts +2 -0
  299. package/dist/formLayout/components/twoColumnsGrid.js +28 -0
  300. package/dist/formLayout/components/useCustomColumns.d.ts +11 -0
  301. package/dist/formLayout/components/useCustomColumns.js +60 -0
  302. package/dist/formLayout/formLayout.d.ts +7 -0
  303. package/dist/formLayout/formLayout.js +43 -0
  304. package/dist/formLayout/hooks/getStepperLayout.d.ts +2 -0
  305. package/dist/formLayout/hooks/getStepperLayout.js +23 -0
  306. package/dist/formLayout/hooks/useColumns.d.ts +1 -0
  307. package/dist/formLayout/hooks/useColumns.js +10 -0
  308. package/dist/formLayout/hooks/useComponents.d.ts +8 -0
  309. package/dist/formLayout/hooks/useComponents.js +43 -0
  310. package/dist/formLayout/hooks/useError.d.ts +6 -0
  311. package/dist/formLayout/hooks/useError.js +24 -0
  312. package/dist/formLayout/hooks/useFormButtons.d.ts +11 -0
  313. package/dist/formLayout/hooks/useFormButtons.js +39 -0
  314. package/dist/formLayout/hooks/useLayoutColumns.d.ts +1 -0
  315. package/dist/formLayout/hooks/useLayoutColumns.js +10 -0
  316. package/dist/formLayout/hooks/useLoading.d.ts +5 -0
  317. package/dist/formLayout/hooks/useLoading.js +16 -0
  318. package/dist/formLayout/types.d.ts +32 -0
  319. package/dist/formLayout/types.js +2 -0
  320. package/dist/formLayout/utils/applyGridPropsOneColumn.d.ts +1 -0
  321. package/dist/formLayout/utils/applyGridPropsOneColumn.js +18 -0
  322. package/dist/formLayout/utils/applyGridPropsStatic.d.ts +1 -0
  323. package/dist/formLayout/utils/applyGridPropsStatic.js +46 -0
  324. package/dist/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.d.ts +2 -0
  325. package/dist/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.js +18 -0
  326. package/dist/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.d.ts +2 -0
  327. package/dist/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.js +24 -0
  328. package/dist/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.d.ts +2 -0
  329. package/dist/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.js +20 -0
  330. package/dist/formLayout/utils/applyLayoutPosition/applyLayoutPosition.d.ts +1 -0
  331. package/dist/formLayout/utils/applyLayoutPosition/applyLayoutPosition.js +118 -0
  332. package/dist/formLayout/utils/attachHeadings.d.ts +1 -0
  333. package/dist/formLayout/utils/attachHeadings.js +31 -0
  334. package/dist/formLayout/utils/attachSeparators.d.ts +4 -0
  335. package/dist/formLayout/utils/attachSeparators.js +32 -0
  336. package/dist/formLayout/utils/attachStepper.d.ts +3 -0
  337. package/dist/formLayout/utils/attachStepper.js +23 -0
  338. package/dist/formLayout/utils/formLayoutProvider.d.ts +7 -0
  339. package/dist/formLayout/utils/formLayoutProvider.js +14 -0
  340. package/dist/formLayout/utils/getAllowedComponents.d.ts +6 -0
  341. package/dist/formLayout/utils/getAllowedComponents.js +22 -0
  342. package/dist/formLayout/utils/getChildrenWithCustomColumns.d.ts +2 -0
  343. package/dist/formLayout/utils/getChildrenWithCustomColumns.js +74 -0
  344. package/dist/formLayout/utils/getComponentsWithClasses.d.ts +3 -0
  345. package/dist/formLayout/utils/getComponentsWithClasses.js +27 -0
  346. package/dist/formLayout/utils/getFilteredComponents.d.ts +4 -0
  347. package/dist/formLayout/utils/getFilteredComponents.js +25 -0
  348. package/dist/formLayout/utils/getFormSection.d.ts +2 -0
  349. package/dist/formLayout/utils/getFormSection.js +25 -0
  350. package/dist/formLayout/utils/hasStepper.d.ts +2 -0
  351. package/dist/formLayout/utils/hasStepper.js +5 -0
  352. package/dist/formLayout/utils/isCustomFormSection.d.ts +3 -0
  353. package/dist/formLayout/utils/isCustomFormSection.js +6 -0
  354. package/dist/formLayout/utils/isStaticElement.d.ts +1 -0
  355. package/dist/formLayout/utils/isStaticElement.js +19 -0
  356. package/dist/formSection/components/actions.d.ts +5 -0
  357. package/dist/formSection/components/actions.js +5 -0
  358. package/dist/formSection/components/additional.d.ts +5 -0
  359. package/dist/formSection/components/additional.js +5 -0
  360. package/dist/formSection/components/additionalSection.d.ts +9 -0
  361. package/dist/formSection/components/additionalSection.js +32 -0
  362. package/dist/formSection/components/formSectionButton.d.ts +5 -0
  363. package/dist/formSection/components/formSectionButton.js +21 -0
  364. package/dist/formSection/components/formSectionCard.d.ts +4 -0
  365. package/dist/formSection/components/formSectionCard.js +53 -0
  366. package/dist/formSection/components/formSectionDefault.d.ts +3 -0
  367. package/dist/formSection/components/formSectionDefault.js +20 -0
  368. package/dist/formSection/components/formSectionDefaultTitle.d.ts +7 -0
  369. package/dist/formSection/components/formSectionDefaultTitle.js +7 -0
  370. package/dist/formSection/components/formSectionInner.d.ts +7 -0
  371. package/dist/formSection/components/formSectionInner.js +59 -0
  372. package/dist/formSection/components/formSectionModal.d.ts +3 -0
  373. package/dist/formSection/components/formSectionModal.js +9 -0
  374. package/dist/formSection/formSection.d.ts +12 -0
  375. package/dist/formSection/formSection.js +48 -0
  376. package/dist/formSection/hooks/useError.d.ts +7 -0
  377. package/dist/formSection/hooks/useError.js +32 -0
  378. package/dist/formSection/hooks/useLoading.d.ts +5 -0
  379. package/dist/formSection/hooks/useLoading.js +22 -0
  380. package/dist/formSection/types.d.ts +35 -0
  381. package/dist/formSection/types.js +4 -0
  382. package/dist/formSection/utils/formSectionProvider.d.ts +11 -0
  383. package/dist/formSection/utils/formSectionProvider.js +13 -0
  384. package/dist/formSection/utils/getClassName.d.ts +4 -0
  385. package/dist/formSection/utils/getClassName.js +12 -0
  386. package/dist/formSection/utils/isFormSection.d.ts +4 -0
  387. package/dist/formSection/utils/isFormSection.js +5 -0
  388. package/dist/formSection/utils/isModalSection.d.ts +2 -0
  389. package/dist/formSection/utils/isModalSection.js +8 -0
  390. package/dist/formStepper/formStepper.js +1 -1
  391. package/dist/formStepper/hooks/useFormStepper.d.ts +6 -0
  392. package/dist/formStepper/hooks/useFormStepper.js +24 -0
  393. package/dist/formStepperButtons/formStepperButtons.js +3 -1
  394. package/dist/gridLayout/gridLayout.js +2 -1
  395. package/dist/gridLayout/hooks/useGridClasses.d.ts +10 -1
  396. package/dist/gridLayout/hooks/useGridClasses.js +28 -9
  397. package/dist/gridLayout/utils/adaptGridState.d.ts +2 -2
  398. package/dist/gridLayout/utils/adaptGridState.js +7 -8
  399. package/dist/gridLayout/utils/adjustGridState.d.ts +2 -2
  400. package/dist/gridLayout/utils/adjustGridState.js +13 -14
  401. package/dist/gridLayout/utils/constants.d.ts +1 -0
  402. package/dist/gridLayout/utils/constants.js +2 -1
  403. package/dist/gridLayout/utils/convertClassesToState.d.ts +2 -0
  404. package/dist/gridLayout/utils/convertClassesToState.js +48 -0
  405. package/dist/gridLayout/utils/convertStateToClasses.d.ts +2 -1
  406. package/dist/gridLayout/utils/convertStateToClasses.js +3 -3
  407. package/dist/gridLayout/utils/fillGridState.d.ts +2 -2
  408. package/dist/gridLayout/utils/fillGridState.js +6 -7
  409. package/dist/gridLayout/utils/filterGridProps.d.ts +2 -0
  410. package/dist/gridLayout/utils/filterGridProps.js +19 -0
  411. package/dist/gridLayout/utils/getAllowedComponent.js +15 -1
  412. package/dist/gridLayout/utils/getGridPositionClasses.d.ts +1 -0
  413. package/dist/gridLayout/utils/getGridPositionClasses.js +12 -0
  414. package/dist/gridLayout/utils/getGridWidthClasses.d.ts +1 -0
  415. package/dist/gridLayout/utils/getGridWidthClasses.js +19 -0
  416. package/dist/gridLayout/utils/gridLayoutProvider.d.ts +9 -0
  417. package/dist/gridLayout/utils/gridLayoutProvider.js +16 -0
  418. package/dist/gridLayout/utils/hasGridClasses.d.ts +2 -0
  419. package/dist/gridLayout/utils/hasGridClasses.js +12 -0
  420. package/dist/gridLayout/utils/isGridItem.d.ts +1 -1
  421. package/dist/gridLayout/utils/isGridItem.js +3 -0
  422. package/dist/gridLayout/utils/removeSameTypeClasses.d.ts +1 -0
  423. package/dist/gridLayout/utils/removeSameTypeClasses.js +42 -0
  424. package/dist/gridLayout/utils/updateGridStateFromClassNames.d.ts +2 -2
  425. package/dist/gridLayout/utils/updateGridStateFromClassNames.js +13 -13
  426. package/dist/gridLayout/utils/updateGridStateFromProps.d.ts +2 -2
  427. package/dist/gridLayout/utils/updateGridStateFromProps.js +7 -8
  428. package/dist/gridLayout/utils/updateGridStateWithDefaultValues.js +4 -0
  429. package/dist/groupButton/groupButton.d.ts +8 -14
  430. package/dist/groupButton/groupButton.js +17 -36
  431. package/dist/groupButtonRaw/components/groupButtonOption.d.ts +11 -0
  432. package/dist/groupButtonRaw/components/groupButtonOption.js +12 -0
  433. package/dist/groupButtonRaw/groupButtonRaw.d.ts +7 -0
  434. package/dist/groupButtonRaw/groupButtonRaw.js +27 -0
  435. package/dist/groupButtonRaw/types.d.ts +26 -0
  436. package/dist/groupButtonRaw/types.js +2 -0
  437. package/dist/groupsFilter/groupsFilter.d.ts +7 -21
  438. package/dist/groupsFilter/groupsFilter.js +20 -327
  439. package/dist/groupsFilter/groupsFilterInterfaces.d.ts +16 -78
  440. package/dist/groupsFilter/groupsFilterInterfaces.js +3 -19
  441. package/{esm/groupsFilter → dist/groupsFilterRaw}/groupsFilterCommon.d.ts +1 -1
  442. package/{esm/groupsFilter → dist/groupsFilterRaw}/groupsFilterCounter.d.ts +1 -1
  443. package/dist/groupsFilterRaw/groupsFilterInterfaces.d.ts +91 -0
  444. package/dist/groupsFilterRaw/groupsFilterInterfaces.js +22 -0
  445. package/dist/groupsFilterRaw/groupsFilterRaw.d.ts +37 -0
  446. package/dist/groupsFilterRaw/groupsFilterRaw.js +356 -0
  447. package/dist/groupsFilterRaw/groupsFilterTestData.d.ts +37 -0
  448. package/dist/groupsFilterRaw/groupsFilterTestData.js +76 -0
  449. package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.d.ts +3 -2
  450. package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.js +2 -2
  451. package/dist/groupsFilterRaw/stateReducer/stateAction.js +2 -0
  452. package/dist/groupsFilterRaw/testData.d.ts +26 -0
  453. package/dist/groupsFilterRaw/testData.js +32995 -0
  454. package/dist/groupsFilterRaw/types.d.ts +37 -0
  455. package/dist/groupsFilterRaw/types.js +5 -0
  456. package/dist/groupsFilterRaw/uiStateReducer/uiStateAction.js +2 -0
  457. package/dist/index.css +6956 -6629
  458. package/dist/index.d.ts +77 -20
  459. package/dist/index.js +136 -22
  460. package/dist/inputAdornments/inputAdornments.d.ts +2 -1
  461. package/dist/inputAdornments/inputAdornments.js +2 -2
  462. package/dist/radioGroup/radioGroup.d.ts +8 -19
  463. package/dist/radioGroup/radioGroup.js +16 -73
  464. package/dist/radioGroupRaw/radioGroupRaw.d.ts +7 -0
  465. package/dist/radioGroupRaw/radioGroupRaw.js +91 -0
  466. package/dist/radioGroupRaw/types.d.ts +25 -0
  467. package/dist/radioGroupRaw/types.js +2 -0
  468. package/dist/range/range.d.ts +11 -27
  469. package/dist/range/range.js +19 -146
  470. package/{esm/range → dist/rangeRaw/components}/rangeField.d.ts +1 -1
  471. package/dist/{range → rangeRaw/components}/rangeField.js +3 -3
  472. package/dist/rangeRaw/rangeRaw.d.ts +10 -0
  473. package/dist/rangeRaw/rangeRaw.js +173 -0
  474. package/dist/rangeRaw/types.d.ts +35 -0
  475. package/dist/rangeRaw/types.js +2 -0
  476. package/dist/{range → rangeRaw/utils}/rangeHelper.d.ts +1 -1
  477. package/dist/searchInput/searchInput.d.ts +5 -4
  478. package/dist/searchInput/searchInput.js +5 -15
  479. package/dist/searchInputRaw/searchInputRaw.d.ts +3 -20
  480. package/dist/searchInputRaw/searchInputRaw.js +9 -2
  481. package/dist/searchInputRaw/types.d.ts +33 -0
  482. package/dist/searchInputRaw/types.js +2 -0
  483. package/dist/select/select.d.ts +9 -4
  484. package/dist/select/select.js +18 -2
  485. package/dist/selectField/selectField.d.ts +4 -4
  486. package/dist/selectRaw/selectRaw.d.ts +3 -16
  487. package/dist/selectRaw/selectRaw.js +18 -11
  488. package/dist/selectRaw/types.d.ts +30 -0
  489. package/dist/selectRaw/types.js +2 -0
  490. package/dist/stepper/stepper.d.ts +5 -4
  491. package/dist/stepperRaw/stepperRaw.d.ts +3 -17
  492. package/dist/stepperRaw/stepperRaw.js +17 -9
  493. package/dist/stepperRaw/types.d.ts +26 -0
  494. package/dist/stepperRaw/types.js +2 -0
  495. package/dist/textInput/textInput.d.ts +5 -4
  496. package/dist/textInput/textInput.js +5 -15
  497. package/dist/textInputRaw/textInputRaw.d.ts +3 -23
  498. package/dist/textInputRaw/textInputRaw.js +9 -1
  499. package/dist/textInputRaw/types.d.ts +36 -0
  500. package/dist/textInputRaw/types.js +2 -0
  501. package/dist/textarea/textarea.d.ts +5 -4
  502. package/dist/textarea/textarea.js +5 -3
  503. package/dist/textareaRaw/textareaRaw.d.ts +3 -22
  504. package/dist/textareaRaw/textareaRaw.js +10 -3
  505. package/dist/textareaRaw/types.d.ts +31 -0
  506. package/dist/textareaRaw/types.js +2 -0
  507. package/dist/timePicker/timePicker.d.ts +9 -13
  508. package/dist/timePicker/timePicker.js +20 -60
  509. package/dist/timePickerRaw/timePickerRaw.d.ts +10 -0
  510. package/dist/timePickerRaw/timePickerRaw.js +79 -0
  511. package/dist/timePickerRaw/types.d.ts +26 -0
  512. package/dist/timePickerRaw/types.js +2 -0
  513. package/dist/toggleButton/toggleButton.d.ts +8 -10
  514. package/dist/toggleButton/toggleButton.js +17 -11
  515. package/dist/toggleButtonRaw/toggleButtonRaw.d.ts +3 -0
  516. package/dist/toggleButtonRaw/toggleButtonRaw.js +54 -0
  517. package/dist/toggleButtonRaw/types.d.ts +26 -0
  518. package/dist/toggleButtonRaw/types.js +2 -0
  519. package/dist/tooltipInfo/tooltipInfo.d.ts +7 -0
  520. package/dist/tooltipInfo/tooltipInfo.js +15 -0
  521. package/dist/utils/formatDate.d.ts +1 -1
  522. package/dist/utils/localization/translations/cs-json.d.ts +3 -0
  523. package/dist/utils/localization/translations/cs-json.js +4 -1
  524. package/dist/utils/localization/translations/de-json.d.ts +3 -0
  525. package/dist/utils/localization/translations/de-json.js +4 -1
  526. package/dist/utils/localization/translations/en-json.d.ts +12 -0
  527. package/dist/utils/localization/translations/en-json.js +13 -1
  528. package/dist/utils/localization/translations/es-json.d.ts +3 -0
  529. package/dist/utils/localization/translations/es-json.js +4 -1
  530. package/dist/utils/localization/translations/fr-FR-json.d.ts +3 -0
  531. package/dist/utils/localization/translations/fr-FR-json.js +4 -1
  532. package/dist/utils/localization/translations/fr-json.d.ts +3 -0
  533. package/dist/utils/localization/translations/fr-json.js +4 -1
  534. package/dist/utils/localization/translations/id-json.d.ts +3 -0
  535. package/dist/utils/localization/translations/id-json.js +4 -1
  536. package/dist/utils/localization/translations/it-json.d.ts +3 -0
  537. package/dist/utils/localization/translations/it-json.js +4 -1
  538. package/dist/utils/localization/translations/ja-json.d.ts +3 -0
  539. package/dist/utils/localization/translations/ja-json.js +4 -1
  540. package/dist/utils/localization/translations/ko-KR-json.d.ts +3 -0
  541. package/dist/utils/localization/translations/ko-KR-json.js +4 -1
  542. package/dist/utils/localization/translations/ms-json.d.ts +3 -0
  543. package/dist/utils/localization/translations/ms-json.js +4 -1
  544. package/dist/utils/localization/translations/nl-json.d.ts +3 -0
  545. package/dist/utils/localization/translations/nl-json.js +4 -1
  546. package/dist/utils/localization/translations/pl-json.d.ts +3 -0
  547. package/dist/utils/localization/translations/pl-json.js +4 -1
  548. package/dist/utils/localization/translations/pt-BR-json.d.ts +3 -0
  549. package/dist/utils/localization/translations/pt-BR-json.js +4 -1
  550. package/dist/utils/localization/translations/sv-json.d.ts +3 -0
  551. package/dist/utils/localization/translations/sv-json.js +4 -1
  552. package/dist/utils/localization/translations/th-json.d.ts +3 -0
  553. package/dist/utils/localization/translations/th-json.js +4 -1
  554. package/dist/utils/localization/translations/tr-json.d.ts +3 -0
  555. package/dist/utils/localization/translations/tr-json.js +4 -1
  556. package/dist/utils/localization/translations/zh-Hans-json.d.ts +3 -0
  557. package/dist/utils/localization/translations/zh-Hans-json.js +4 -1
  558. package/dist/utils/localization/translations/zh-TW-json.d.ts +3 -0
  559. package/dist/utils/localization/translations/zh-TW-json.js +4 -1
  560. package/esm/advancedGroupsFilter/advancedGroupsFilter.d.ts +1 -1
  561. package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
  562. package/esm/advancedGroupsFilter/advancedGroupsFilterFormHelper.d.ts +1 -1
  563. package/esm/advancedGroupsFilter/advancedGroupsFilterFormHelper.js +2 -2
  564. package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.d.ts +1 -1
  565. package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +2 -2
  566. package/esm/advancedGroupsFilter/advancedGroupsFilterHelper.d.ts +2 -2
  567. package/esm/advancedGroupsFilter/advancedGroupsFilterHelper.js +1 -1
  568. package/esm/banner/banner.d.ts +2 -1
  569. package/esm/banner/banner.js +5 -3
  570. package/esm/banner/bannerMultipLine.d.ts +2 -1
  571. package/esm/banner/bannerMultipLine.js +2 -2
  572. package/esm/banner/bannerSingleLine.d.ts +2 -1
  573. package/esm/banner/bannerSingleLine.js +2 -2
  574. package/esm/button/button.d.ts +5 -3
  575. package/esm/button/button.js +4 -3
  576. package/esm/card/card.d.ts +2 -2
  577. package/esm/card/card.js +3 -1
  578. package/esm/card/components/cardButton/cardButton.d.ts +4 -3
  579. package/esm/card/components/cardButton/cardButton.js +2 -2
  580. package/esm/checkboxListWithAction/checkboxListWithAction.d.ts +1 -1
  581. package/esm/comboboxSelected/comboboxSelected.js +1 -1
  582. package/esm/commonHelpers/getAriaAttributes.d.ts +1 -0
  583. package/esm/commonHelpers/getAriaAttributes.js +12 -0
  584. package/esm/commonHelpers/hooks/useFormField.d.ts +8 -0
  585. package/esm/commonHelpers/hooks/useFormField.js +15 -0
  586. package/esm/commonHelpers/hooks/useFormFieldValues/getRuleValue.d.ts +2 -0
  587. package/esm/commonHelpers/hooks/useFormFieldValues/getRuleValue.js +9 -0
  588. package/esm/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.d.ts +13 -0
  589. package/esm/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.js +48 -0
  590. package/esm/commonHelpers/isFormItem.d.ts +2 -0
  591. package/esm/commonHelpers/isFormItem.js +1 -0
  592. package/esm/commonHelpers/loading.d.ts +6 -0
  593. package/esm/commonHelpers/loading.js +1 -0
  594. package/esm/commonHelpers/types/exclusive.d.ts +3 -0
  595. package/esm/commonHelpers/types/without.d.ts +3 -0
  596. package/esm/commonHelpers/zenComponent.d.ts +17 -0
  597. package/esm/dateInput/dateInput.d.ts +8 -22
  598. package/esm/dateInput/dateInput.js +20 -113
  599. package/esm/dateInputInner/dateInputInnerControlBlock.js +4 -1
  600. package/esm/dateInputRaw/dateInputRaw.d.ts +9 -0
  601. package/esm/dateInputRaw/dateInputRaw.js +130 -0
  602. package/esm/dateInputRaw/types.d.ts +32 -0
  603. package/esm/{dateInput → dateInputRaw/utils}/getLabel.js +1 -1
  604. package/esm/dateRange/dateRange.d.ts +10 -41
  605. package/esm/dateRange/dateRange.js +18 -258
  606. package/esm/dateRange/dateRangeUtils.d.ts +1 -38
  607. package/esm/dateRange/dateRangeUtils.js +1 -275
  608. package/esm/dateRangeRaw/dateRangeRaw.d.ts +45 -0
  609. package/esm/dateRangeRaw/dateRangeRaw.js +272 -0
  610. package/esm/dateRangeRaw/types.d.ts +48 -0
  611. package/esm/dateRangeRaw/types.js +1 -0
  612. package/esm/{dateRange → dateRangeRaw}/utils/areMapsEqual.d.ts +1 -1
  613. package/esm/dateRangeRaw/utils/dateRangeUtils.d.ts +38 -0
  614. package/esm/dateRangeRaw/utils/dateRangeUtils.js +275 -0
  615. package/esm/dateRangeRaw/utils/parseLabel.d.ts +2 -0
  616. package/esm/dateRangeRaw/utils/parseLabel.js +11 -0
  617. package/esm/divider/divider.d.ts +7 -0
  618. package/esm/divider/divider.js +3 -0
  619. package/esm/dropdown/dropdown.d.ts +21 -108
  620. package/esm/dropdown/dropdown.js +28 -495
  621. package/esm/dropdown/dropdownPopup.d.ts +4 -34
  622. package/esm/dropdown/dropdownPopup.js +2 -31
  623. package/esm/dropdown/dropdownTrigger.d.ts +2 -25
  624. package/esm/dropdown/dropdownTrigger.js +2 -28
  625. package/esm/{dropdown → dropdownRaw}/dropdownHelper.d.ts +15 -14
  626. package/esm/{dropdown → dropdownRaw}/dropdownHelper.js +1 -1
  627. package/esm/dropdownRaw/dropdownPopup.d.ts +34 -0
  628. package/esm/dropdownRaw/dropdownPopup.js +31 -0
  629. package/esm/dropdownRaw/dropdownRaw.d.ts +6 -0
  630. package/esm/dropdownRaw/dropdownRaw.js +537 -0
  631. package/{dist/dropdown → esm/dropdownRaw}/dropdownSearchableTrigger.d.ts +3 -1
  632. package/esm/dropdownRaw/dropdownSearchableTrigger.js +59 -0
  633. package/esm/dropdownRaw/dropdownTestData.d.ts +65 -0
  634. package/esm/dropdownRaw/dropdownTestData.js +1090 -0
  635. package/esm/dropdownRaw/dropdownTrigger.d.ts +27 -0
  636. package/esm/dropdownRaw/dropdownTrigger.js +27 -0
  637. package/{dist/dropdown → esm/dropdownRaw}/stateReducer/stateAction.d.ts +4 -4
  638. package/esm/dropdownRaw/stateReducer/stateAction.js +1 -0
  639. package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducer.d.ts +5 -5
  640. package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducer.js +2 -2
  641. package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.d.ts +2 -2
  642. package/esm/dropdownRaw/types.d.ts +133 -0
  643. package/esm/dropdownRaw/types.js +1 -0
  644. package/esm/dropdownRaw/utils/getSelectedValues.d.ts +2 -0
  645. package/esm/dropdownRaw/utils/getSelectedValues.js +1 -0
  646. package/esm/filterButton/filterButton.d.ts +3 -1
  647. package/esm/filterButton/filterButton.js +2 -2
  648. package/esm/filters/components/filtersDropdown.d.ts +4 -2
  649. package/esm/filters/components/filtersGroups.d.ts +1 -1
  650. package/esm/filters/components/filtersItem.d.ts +1 -1
  651. package/esm/filters/components/filtersSidePanelDropdown.js +2 -2
  652. package/esm/filters/components/filtersSidePanelRange.js +1 -1
  653. package/esm/filters/filtersHelper.js +1 -1
  654. package/esm/filtersBar/components/filtersBarDropdown/filtersBarDropdown.js +2 -2
  655. package/esm/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
  656. package/esm/filtersBar/components/filtersBarRange/filtersBarRange.js +1 -1
  657. package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelDropdownWithCheckbox/filtersBarSidePanelDropdownWithCheckbox.js +1 -1
  658. package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
  659. package/esm/formField/components/formFieldBanner.d.ts +6 -0
  660. package/esm/formField/components/formFieldBanner.js +5 -0
  661. package/esm/formField/components/formFieldSkeleton.d.ts +6 -0
  662. package/esm/formField/components/formFieldSkeleton.js +1 -0
  663. package/esm/formField/components/formFieldWithLabel.d.ts +10 -0
  664. package/esm/formField/components/formFieldWithLabel.js +8 -0
  665. package/esm/formField/components/formFieldWithoutLabel.d.ts +8 -0
  666. package/esm/formField/components/formFieldWithoutLabel.js +8 -0
  667. package/esm/formField/formField.d.ts +34 -6
  668. package/esm/formField/formField.js +61 -8
  669. package/esm/formField/hooks/useAssistive.d.ts +12 -0
  670. package/esm/formField/hooks/useAssistive.js +14 -0
  671. package/esm/formField/hooks/useBanner.d.ts +8 -0
  672. package/esm/formField/hooks/useBanner.js +23 -0
  673. package/esm/formField/hooks/useDisabled.d.ts +15 -0
  674. package/esm/formField/hooks/useDisabled.js +18 -0
  675. package/esm/formField/hooks/useError.d.ts +18 -0
  676. package/esm/formField/hooks/useError.js +45 -0
  677. package/esm/formField/hooks/useLoading.d.ts +2 -0
  678. package/esm/formField/hooks/useLoading.js +15 -0
  679. package/esm/formField/hooks/useReadonly.d.ts +1 -0
  680. package/esm/formField/hooks/useReadonly.js +6 -0
  681. package/esm/formField/hooks/useSkeleton.d.ts +3 -0
  682. package/esm/formField/hooks/useSkeleton.js +9 -0
  683. package/esm/formField/hooks/useTrailing.d.ts +12 -0
  684. package/esm/formField/hooks/useTrailing.js +14 -0
  685. package/esm/formField/hooks/useWidth.d.ts +8 -0
  686. package/esm/formField/hooks/useWidth.js +7 -0
  687. package/esm/formField/utils/getFormFieldBanner.d.ts +2 -0
  688. package/esm/formField/utils/getFormFieldBanner.js +13 -0
  689. package/esm/formField/utils/rangeRawLabelCheck.d.ts +1 -0
  690. package/esm/formField/utils/rangeRawLabelCheck.js +10 -0
  691. package/esm/formGroup/components/customRow/customRow.d.ts +7 -0
  692. package/esm/formGroup/components/customRow/customRow.js +3 -0
  693. package/esm/formGroup/components/formGroupList.d.ts +5 -0
  694. package/esm/formGroup/components/formGroupList.js +2 -0
  695. package/esm/formGroup/components/formGroupToggle.d.ts +15 -0
  696. package/esm/formGroup/components/formGroupToggle.js +2 -0
  697. package/esm/formGroup/components/list.d.ts +6 -0
  698. package/esm/formGroup/components/list.js +15 -0
  699. package/esm/formGroup/components/listToggle/listToggle.d.ts +1 -0
  700. package/esm/formGroup/components/listToggle/listToggle.js +25 -0
  701. package/esm/formGroup/components/oneRow.d.ts +6 -0
  702. package/esm/formGroup/components/oneRow.js +11 -0
  703. package/esm/formGroup/components/reviewListToggle/reviewListToggle.d.ts +8 -0
  704. package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +12 -0
  705. package/esm/formGroup/components/reviewTextControl.d.ts +9 -0
  706. package/esm/formGroup/components/reviewTextControl.js +3 -0
  707. package/esm/formGroup/components/row.d.ts +5 -0
  708. package/esm/formGroup/components/row.js +34 -0
  709. package/esm/formGroup/components/twoRows.d.ts +6 -0
  710. package/esm/formGroup/components/twoRows.js +11 -0
  711. package/esm/formGroup/formGroup.d.ts +13 -0
  712. package/esm/formGroup/formGroup.js +45 -0
  713. package/esm/formGroup/hooks/listHooks/useControlClasses.d.ts +2 -0
  714. package/esm/formGroup/hooks/listHooks/useControlClasses.js +50 -0
  715. package/esm/formGroup/hooks/listHooks/useControls.d.ts +2 -0
  716. package/esm/formGroup/hooks/listHooks/useControls.js +13 -0
  717. package/esm/formGroup/hooks/listHooks/useElementsState.d.ts +3 -0
  718. package/esm/formGroup/hooks/listHooks/useElementsState.js +31 -0
  719. package/esm/formGroup/hooks/listHooks/useLabelClasses.d.ts +2 -0
  720. package/esm/formGroup/hooks/listHooks/useLabelClasses.js +34 -0
  721. package/esm/formGroup/hooks/listHooks/useStateToElements.d.ts +3 -0
  722. package/esm/formGroup/hooks/listHooks/useStateToElements.js +23 -0
  723. package/esm/formGroup/hooks/rowHooks/useControlClasses.d.ts +2 -0
  724. package/esm/formGroup/hooks/rowHooks/useControlClasses.js +27 -0
  725. package/esm/formGroup/hooks/rowHooks/useControls.d.ts +2 -0
  726. package/esm/formGroup/hooks/rowHooks/useControls.js +11 -0
  727. package/esm/formGroup/hooks/rowHooks/useInitializeState.d.ts +3 -0
  728. package/esm/formGroup/hooks/rowHooks/useInitializeState.js +11 -0
  729. package/esm/formGroup/hooks/rowHooks/useLabelClasses.d.ts +2 -0
  730. package/esm/formGroup/hooks/rowHooks/useLabelClasses.js +24 -0
  731. package/esm/formGroup/hooks/useCustomRow.d.ts +4 -0
  732. package/esm/formGroup/hooks/useCustomRow.js +88 -0
  733. package/esm/formGroup/hooks/useElements.d.ts +4 -0
  734. package/esm/formGroup/hooks/useElements.js +19 -0
  735. package/esm/formGroup/hooks/useLabelAlign.d.ts +2 -0
  736. package/esm/formGroup/hooks/useLabelAlign.js +10 -0
  737. package/esm/formGroup/hooks/useMode.d.ts +2 -0
  738. package/esm/formGroup/hooks/useMode.js +8 -0
  739. package/esm/formGroup/hooks/useRowElements.d.ts +14 -0
  740. package/esm/formGroup/hooks/useRowElements.js +20 -0
  741. package/esm/formGroup/hooks/useSectionType.d.ts +2 -0
  742. package/esm/formGroup/hooks/useSectionType.js +8 -0
  743. package/esm/formGroup/hooks/useToggle.d.ts +1 -0
  744. package/esm/formGroup/hooks/useToggle.js +21 -0
  745. package/esm/formGroup/hooks/useToggleList.d.ts +9 -0
  746. package/esm/formGroup/hooks/useToggleList.js +20 -0
  747. package/esm/formGroup/types.d.ts +53 -0
  748. package/esm/formGroup/types.js +1 -0
  749. package/esm/formGroup/utils/applyControlClasses.d.ts +2 -0
  750. package/esm/formGroup/utils/applyControlClasses.js +47 -0
  751. package/esm/formGroup/utils/applyCustomControlClasses.d.ts +12 -0
  752. package/esm/formGroup/utils/applyCustomControlClasses.js +27 -0
  753. package/esm/formGroup/utils/applyCustomLabelClasses.d.ts +12 -0
  754. package/esm/formGroup/utils/applyCustomLabelClasses.js +16 -0
  755. package/esm/formGroup/utils/formGroupProvider.d.ts +9 -0
  756. package/esm/formGroup/utils/formGroupProvider.js +4 -0
  757. package/esm/formGroup/utils/getControlClasses/getControlClasses.d.ts +6 -0
  758. package/esm/formGroup/utils/getControlClasses/getControlClasses.js +75 -0
  759. package/esm/formGroup/utils/getControlClasses/getModalSectionClasses.d.ts +2 -0
  760. package/esm/formGroup/utils/getControlClasses/getModalSectionClasses.js +4 -0
  761. package/esm/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.d.ts +6 -0
  762. package/esm/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.js +21 -0
  763. package/esm/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
  764. package/esm/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.js +49 -0
  765. package/esm/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.d.ts +6 -0
  766. package/esm/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.js +21 -0
  767. package/esm/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
  768. package/esm/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.js +24 -0
  769. package/esm/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.d.ts +3 -0
  770. package/esm/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.js +12 -0
  771. package/esm/formGroup/utils/getControlClasses/types.d.ts +4 -0
  772. package/esm/formGroup/utils/getControlClasses/types.js +1 -0
  773. package/esm/formGroup/utils/getControlListClasses/getControlListClasses.d.ts +4 -0
  774. package/esm/formGroup/utils/getControlListClasses/getControlListClasses.js +42 -0
  775. package/esm/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.d.ts +7 -0
  776. package/esm/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.js +60 -0
  777. package/esm/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
  778. package/esm/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.js +40 -0
  779. package/esm/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
  780. package/esm/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.js +35 -0
  781. package/esm/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.d.ts +5 -0
  782. package/esm/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.js +14 -0
  783. package/esm/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.d.ts +2 -0
  784. package/esm/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.js +13 -0
  785. package/esm/formGroup/utils/getControlNode.d.ts +1 -0
  786. package/esm/formGroup/utils/getControlNode.js +2 -0
  787. package/esm/formGroup/utils/getControls.d.ts +5 -0
  788. package/esm/formGroup/utils/getControls.js +22 -0
  789. package/esm/formGroup/utils/getElementsControl.d.ts +5 -0
  790. package/esm/formGroup/utils/getElementsControl.js +33 -0
  791. package/esm/formGroup/utils/getLabelClasses/getLabelClasses.d.ts +6 -0
  792. package/esm/formGroup/utils/getLabelClasses/getLabelClasses.js +61 -0
  793. package/esm/formGroup/utils/getLabelClasses/getModalSectionClasses.d.ts +2 -0
  794. package/esm/formGroup/utils/getLabelClasses/getModalSectionClasses.js +4 -0
  795. package/esm/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.d.ts +4 -0
  796. package/esm/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.js +20 -0
  797. package/esm/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.d.ts +4 -0
  798. package/esm/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.js +46 -0
  799. package/esm/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.d.ts +2 -0
  800. package/esm/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.js +27 -0
  801. package/esm/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.d.ts +4 -0
  802. package/esm/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.js +24 -0
  803. package/esm/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.d.ts +4 -0
  804. package/esm/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.js +24 -0
  805. package/esm/formGroup/utils/getLabelClasses/getZeroLabelClasses.d.ts +2 -0
  806. package/esm/formGroup/utils/getLabelClasses/getZeroLabelClasses.js +4 -0
  807. package/esm/formGroup/utils/getLabelClasses/types.d.ts +4 -0
  808. package/esm/formGroup/utils/getLabelClasses/types.js +1 -0
  809. package/esm/formGroup/utils/getLabelListClasses/getLabelListClasses.d.ts +7 -0
  810. package/esm/formGroup/utils/getLabelListClasses/getLabelListClasses.js +30 -0
  811. package/esm/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.d.ts +6 -0
  812. package/esm/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.js +44 -0
  813. package/esm/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
  814. package/esm/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.js +25 -0
  815. package/esm/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.d.ts +4 -0
  816. package/esm/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.js +13 -0
  817. package/esm/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.d.ts +5 -0
  818. package/esm/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.js +31 -0
  819. package/esm/formGroup/utils/getLabelNode.d.ts +1 -0
  820. package/esm/formGroup/utils/getLabelNode.js +2 -0
  821. package/esm/formGroup/utils/getListClasses.d.ts +3 -0
  822. package/esm/formGroup/utils/getListClasses.js +27 -0
  823. package/esm/formGroup/utils/getToggleClasses.d.ts +3 -0
  824. package/esm/formGroup/utils/getToggleClasses.js +13 -0
  825. package/esm/formGroup/utils/getTotalState.d.ts +2 -0
  826. package/esm/formGroup/utils/getTotalState.js +19 -0
  827. package/esm/formGroup/utils/hasCustomWidthControl.d.ts +2 -0
  828. package/esm/formGroup/utils/hasCustomWidthControl.js +7 -0
  829. package/esm/formGroup/utils/hasWidthProp.d.ts +2 -0
  830. package/esm/formGroup/utils/hasWidthProp.js +7 -0
  831. package/esm/formGroup/utils/initializeState.d.ts +12 -0
  832. package/esm/formGroup/utils/initializeState.js +36 -0
  833. package/esm/formGroup/utils/isFormLabel.d.ts +3 -0
  834. package/esm/formGroup/utils/isFormLabel.js +2 -0
  835. package/esm/formGroup/utils/isTopAlign.d.ts +3 -0
  836. package/esm/formGroup/utils/isTopAlign.js +5 -0
  837. package/esm/formGroup/utils/isTwoRowsStructure.d.ts +3 -0
  838. package/esm/formGroup/utils/isTwoRowsStructure.js +25 -0
  839. package/esm/formGroupItem/formGroupItem.d.ts +8 -0
  840. package/esm/formGroupItem/formGroupItem.js +9 -0
  841. package/esm/formLayout/components/column/column.d.ts +7 -0
  842. package/esm/formLayout/components/column/column.js +3 -0
  843. package/esm/formLayout/components/columnTitle/formLayoutColumnTitle.d.ts +9 -0
  844. package/esm/formLayout/components/columnTitle/formLayoutColumnTitle.js +3 -0
  845. package/esm/formLayout/components/customColumns.d.ts +9 -0
  846. package/esm/formLayout/components/customColumns.js +33 -0
  847. package/esm/formLayout/components/formLayoutSecondary.d.ts +7 -0
  848. package/esm/formLayout/components/formLayoutSecondary.js +3 -0
  849. package/esm/formLayout/components/formLayoutTitle.d.ts +7 -0
  850. package/esm/formLayout/components/formLayoutTitle.js +3 -0
  851. package/esm/formLayout/components/getLayoutColumns.d.ts +1 -0
  852. package/esm/formLayout/components/getLayoutColumns.js +35 -0
  853. package/esm/formLayout/components/layoutColumn/layoutColum.d.ts +6 -0
  854. package/esm/formLayout/components/layoutColumn/layoutColum.js +2 -0
  855. package/esm/formLayout/components/oneColumnGrid.d.ts +2 -0
  856. package/esm/formLayout/components/oneColumnGrid.js +24 -0
  857. package/esm/formLayout/components/twoColumnsGrid.d.ts +2 -0
  858. package/esm/formLayout/components/twoColumnsGrid.js +24 -0
  859. package/esm/formLayout/components/useCustomColumns.d.ts +11 -0
  860. package/esm/formLayout/components/useCustomColumns.js +53 -0
  861. package/esm/formLayout/formLayout.d.ts +7 -0
  862. package/esm/formLayout/formLayout.js +39 -0
  863. package/esm/formLayout/hooks/getStepperLayout.d.ts +2 -0
  864. package/esm/formLayout/hooks/getStepperLayout.js +19 -0
  865. package/esm/formLayout/hooks/useColumns.d.ts +1 -0
  866. package/esm/formLayout/hooks/useColumns.js +6 -0
  867. package/esm/formLayout/hooks/useComponents.d.ts +8 -0
  868. package/esm/formLayout/hooks/useComponents.js +36 -0
  869. package/esm/formLayout/hooks/useError.d.ts +6 -0
  870. package/esm/formLayout/hooks/useError.js +20 -0
  871. package/esm/formLayout/hooks/useFormButtons.d.ts +11 -0
  872. package/esm/formLayout/hooks/useFormButtons.js +35 -0
  873. package/esm/formLayout/hooks/useLayoutColumns.d.ts +1 -0
  874. package/esm/formLayout/hooks/useLayoutColumns.js +6 -0
  875. package/esm/formLayout/hooks/useLoading.d.ts +5 -0
  876. package/esm/formLayout/hooks/useLoading.js +12 -0
  877. package/esm/formLayout/types.d.ts +32 -0
  878. package/esm/formLayout/types.js +1 -0
  879. package/esm/formLayout/utils/applyGridPropsOneColumn.d.ts +1 -0
  880. package/esm/formLayout/utils/applyGridPropsOneColumn.js +14 -0
  881. package/esm/formLayout/utils/applyGridPropsStatic.d.ts +1 -0
  882. package/esm/formLayout/utils/applyGridPropsStatic.js +42 -0
  883. package/esm/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.d.ts +2 -0
  884. package/esm/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.js +14 -0
  885. package/esm/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.d.ts +2 -0
  886. package/esm/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.js +20 -0
  887. package/esm/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.d.ts +2 -0
  888. package/esm/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.js +16 -0
  889. package/esm/formLayout/utils/applyLayoutPosition/applyLayoutPosition.d.ts +1 -0
  890. package/esm/formLayout/utils/applyLayoutPosition/applyLayoutPosition.js +114 -0
  891. package/esm/formLayout/utils/attachHeadings.d.ts +1 -0
  892. package/esm/formLayout/utils/attachHeadings.js +27 -0
  893. package/esm/formLayout/utils/attachSeparators.d.ts +4 -0
  894. package/esm/formLayout/utils/attachSeparators.js +28 -0
  895. package/esm/formLayout/utils/attachStepper.d.ts +3 -0
  896. package/esm/formLayout/utils/attachStepper.js +19 -0
  897. package/esm/formLayout/utils/formLayoutProvider.d.ts +7 -0
  898. package/esm/formLayout/utils/formLayoutProvider.js +10 -0
  899. package/esm/formLayout/utils/getAllowedComponents.d.ts +6 -0
  900. package/esm/formLayout/utils/getAllowedComponents.js +15 -0
  901. package/esm/formLayout/utils/getChildrenWithCustomColumns.d.ts +2 -0
  902. package/esm/formLayout/utils/getChildrenWithCustomColumns.js +70 -0
  903. package/esm/formLayout/utils/getComponentsWithClasses.d.ts +3 -0
  904. package/esm/formLayout/utils/getComponentsWithClasses.js +23 -0
  905. package/esm/formLayout/utils/getFilteredComponents.d.ts +4 -0
  906. package/esm/formLayout/utils/getFilteredComponents.js +21 -0
  907. package/esm/formLayout/utils/getFormSection.d.ts +2 -0
  908. package/esm/formLayout/utils/getFormSection.js +18 -0
  909. package/esm/formLayout/utils/hasStepper.d.ts +2 -0
  910. package/esm/formLayout/utils/hasStepper.js +1 -0
  911. package/esm/formLayout/utils/isCustomFormSection.d.ts +3 -0
  912. package/esm/formLayout/utils/isCustomFormSection.js +2 -0
  913. package/esm/formLayout/utils/isStaticElement.d.ts +1 -0
  914. package/esm/formLayout/utils/isStaticElement.js +15 -0
  915. package/esm/formSection/components/actions.d.ts +5 -0
  916. package/esm/formSection/components/actions.js +1 -0
  917. package/esm/formSection/components/additional.d.ts +5 -0
  918. package/esm/formSection/components/additional.js +1 -0
  919. package/esm/formSection/components/additionalSection.d.ts +9 -0
  920. package/esm/formSection/components/additionalSection.js +28 -0
  921. package/esm/formSection/components/formSectionButton.d.ts +5 -0
  922. package/esm/formSection/components/formSectionButton.js +17 -0
  923. package/esm/formSection/components/formSectionCard.d.ts +4 -0
  924. package/esm/formSection/components/formSectionCard.js +46 -0
  925. package/esm/formSection/components/formSectionDefault.d.ts +3 -0
  926. package/esm/formSection/components/formSectionDefault.js +13 -0
  927. package/esm/formSection/components/formSectionDefaultTitle.d.ts +7 -0
  928. package/esm/formSection/components/formSectionDefaultTitle.js +3 -0
  929. package/esm/formSection/components/formSectionInner.d.ts +7 -0
  930. package/esm/formSection/components/formSectionInner.js +55 -0
  931. package/esm/formSection/components/formSectionModal.d.ts +3 -0
  932. package/esm/formSection/components/formSectionModal.js +5 -0
  933. package/esm/formSection/formSection.d.ts +12 -0
  934. package/esm/formSection/formSection.js +44 -0
  935. package/esm/formSection/hooks/useError.d.ts +7 -0
  936. package/esm/formSection/hooks/useError.js +28 -0
  937. package/esm/formSection/hooks/useLoading.d.ts +5 -0
  938. package/esm/formSection/hooks/useLoading.js +18 -0
  939. package/esm/formSection/types.d.ts +35 -0
  940. package/esm/formSection/types.js +1 -0
  941. package/esm/formSection/utils/formSectionProvider.d.ts +11 -0
  942. package/esm/formSection/utils/formSectionProvider.js +9 -0
  943. package/esm/formSection/utils/getClassName.d.ts +4 -0
  944. package/esm/formSection/utils/getClassName.js +8 -0
  945. package/esm/formSection/utils/isFormSection.d.ts +4 -0
  946. package/esm/formSection/utils/isFormSection.js +1 -0
  947. package/esm/formSection/utils/isModalSection.d.ts +2 -0
  948. package/esm/formSection/utils/isModalSection.js +4 -0
  949. package/esm/formStepper/formStepper.js +1 -1
  950. package/esm/formStepper/hooks/useFormStepper.d.ts +6 -0
  951. package/esm/formStepper/hooks/useFormStepper.js +20 -0
  952. package/esm/formStepperButtons/formStepperButtons.js +3 -1
  953. package/esm/gridLayout/gridLayout.js +2 -1
  954. package/esm/gridLayout/hooks/useGridClasses.d.ts +10 -1
  955. package/esm/gridLayout/hooks/useGridClasses.js +28 -9
  956. package/esm/gridLayout/utils/adaptGridState.d.ts +2 -2
  957. package/esm/gridLayout/utils/adaptGridState.js +7 -8
  958. package/esm/gridLayout/utils/adjustGridState.d.ts +2 -2
  959. package/esm/gridLayout/utils/adjustGridState.js +13 -14
  960. package/esm/gridLayout/utils/constants.d.ts +1 -0
  961. package/esm/gridLayout/utils/constants.js +1 -0
  962. package/esm/gridLayout/utils/convertClassesToState.d.ts +2 -0
  963. package/esm/gridLayout/utils/convertClassesToState.js +44 -0
  964. package/esm/gridLayout/utils/convertStateToClasses.d.ts +2 -1
  965. package/esm/gridLayout/utils/convertStateToClasses.js +3 -3
  966. package/esm/gridLayout/utils/fillGridState.d.ts +2 -2
  967. package/esm/gridLayout/utils/fillGridState.js +6 -7
  968. package/esm/gridLayout/utils/filterGridProps.d.ts +2 -0
  969. package/esm/gridLayout/utils/filterGridProps.js +15 -0
  970. package/esm/gridLayout/utils/getAllowedComponent.js +15 -1
  971. package/esm/gridLayout/utils/getGridPositionClasses.d.ts +1 -0
  972. package/esm/gridLayout/utils/getGridPositionClasses.js +8 -0
  973. package/esm/gridLayout/utils/getGridWidthClasses.d.ts +1 -0
  974. package/esm/gridLayout/utils/getGridWidthClasses.js +15 -0
  975. package/esm/gridLayout/utils/gridLayoutProvider.d.ts +9 -0
  976. package/esm/gridLayout/utils/gridLayoutProvider.js +12 -0
  977. package/esm/gridLayout/utils/hasGridClasses.d.ts +2 -0
  978. package/esm/gridLayout/utils/hasGridClasses.js +8 -0
  979. package/esm/gridLayout/utils/isGridItem.d.ts +1 -1
  980. package/esm/gridLayout/utils/isGridItem.js +3 -0
  981. package/esm/gridLayout/utils/removeSameTypeClasses.d.ts +1 -0
  982. package/esm/gridLayout/utils/removeSameTypeClasses.js +38 -0
  983. package/esm/gridLayout/utils/updateGridStateFromClassNames.d.ts +2 -2
  984. package/esm/gridLayout/utils/updateGridStateFromClassNames.js +14 -14
  985. package/esm/gridLayout/utils/updateGridStateFromProps.d.ts +2 -2
  986. package/esm/gridLayout/utils/updateGridStateFromProps.js +7 -8
  987. package/esm/gridLayout/utils/updateGridStateWithDefaultValues.js +4 -0
  988. package/esm/groupButton/groupButton.d.ts +8 -14
  989. package/esm/groupButton/groupButton.js +18 -14
  990. package/esm/groupButtonRaw/components/groupButtonOption.d.ts +11 -0
  991. package/esm/groupButtonRaw/components/groupButtonOption.js +8 -0
  992. package/esm/groupButtonRaw/groupButtonRaw.d.ts +7 -0
  993. package/esm/groupButtonRaw/groupButtonRaw.js +23 -0
  994. package/esm/groupButtonRaw/types.d.ts +26 -0
  995. package/esm/groupButtonRaw/types.js +1 -0
  996. package/esm/groupsFilter/groupsFilter.d.ts +7 -21
  997. package/esm/groupsFilter/groupsFilter.js +20 -327
  998. package/esm/groupsFilter/groupsFilterInterfaces.d.ts +16 -78
  999. package/esm/groupsFilter/groupsFilterInterfaces.js +2 -20
  1000. package/{dist/groupsFilter → esm/groupsFilterRaw}/groupsFilterCommon.d.ts +1 -1
  1001. package/{dist/groupsFilter → esm/groupsFilterRaw}/groupsFilterCounter.d.ts +1 -1
  1002. package/esm/groupsFilterRaw/groupsFilterInterfaces.d.ts +91 -0
  1003. package/esm/groupsFilterRaw/groupsFilterInterfaces.js +20 -0
  1004. package/esm/groupsFilterRaw/groupsFilterRaw.d.ts +37 -0
  1005. package/esm/groupsFilterRaw/groupsFilterRaw.js +352 -0
  1006. package/esm/groupsFilterRaw/groupsFilterTestData.d.ts +37 -0
  1007. package/esm/groupsFilterRaw/groupsFilterTestData.js +73 -0
  1008. package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.d.ts +3 -2
  1009. package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.js +2 -2
  1010. package/esm/groupsFilterRaw/stateReducer/stateAction.js +1 -0
  1011. package/esm/groupsFilterRaw/testData.d.ts +26 -0
  1012. package/esm/groupsFilterRaw/testData.js +32990 -0
  1013. package/esm/groupsFilterRaw/types.d.ts +37 -0
  1014. package/esm/groupsFilterRaw/types.js +2 -0
  1015. package/esm/groupsFilterRaw/uiStateReducer/uiStateAction.js +1 -0
  1016. package/esm/index.d.ts +77 -20
  1017. package/esm/index.js +61 -7
  1018. package/esm/inputAdornments/inputAdornments.d.ts +2 -1
  1019. package/esm/inputAdornments/inputAdornments.js +2 -2
  1020. package/esm/radioGroup/radioGroup.d.ts +8 -19
  1021. package/esm/radioGroup/radioGroup.js +17 -51
  1022. package/esm/radioGroupRaw/radioGroupRaw.d.ts +7 -0
  1023. package/esm/radioGroupRaw/radioGroupRaw.js +64 -0
  1024. package/esm/radioGroupRaw/types.d.ts +25 -0
  1025. package/esm/radioGroupRaw/types.js +1 -0
  1026. package/esm/range/range.d.ts +11 -27
  1027. package/esm/range/range.js +19 -146
  1028. package/{dist/range → esm/rangeRaw/components}/rangeField.d.ts +1 -1
  1029. package/esm/{range → rangeRaw/components}/rangeField.js +3 -3
  1030. package/esm/rangeRaw/rangeRaw.d.ts +10 -0
  1031. package/esm/rangeRaw/rangeRaw.js +169 -0
  1032. package/esm/rangeRaw/types.d.ts +35 -0
  1033. package/esm/rangeRaw/types.js +1 -0
  1034. package/esm/{range → rangeRaw/utils}/rangeHelper.d.ts +1 -1
  1035. package/esm/searchInput/searchInput.d.ts +5 -4
  1036. package/esm/searchInput/searchInput.js +5 -15
  1037. package/esm/searchInputRaw/searchInputRaw.d.ts +3 -20
  1038. package/esm/searchInputRaw/searchInputRaw.js +9 -2
  1039. package/esm/searchInputRaw/types.d.ts +33 -0
  1040. package/esm/searchInputRaw/types.js +1 -0
  1041. package/esm/select/select.d.ts +9 -4
  1042. package/esm/select/select.js +17 -2
  1043. package/esm/selectField/selectField.d.ts +4 -4
  1044. package/esm/selectRaw/selectRaw.d.ts +3 -16
  1045. package/esm/selectRaw/selectRaw.js +18 -11
  1046. package/esm/selectRaw/types.d.ts +30 -0
  1047. package/esm/selectRaw/types.js +1 -0
  1048. package/esm/stepper/stepper.d.ts +5 -4
  1049. package/esm/stepperRaw/stepperRaw.d.ts +3 -17
  1050. package/esm/stepperRaw/stepperRaw.js +17 -9
  1051. package/esm/stepperRaw/types.d.ts +26 -0
  1052. package/esm/stepperRaw/types.js +1 -0
  1053. package/esm/textInput/textInput.d.ts +5 -4
  1054. package/esm/textInput/textInput.js +5 -15
  1055. package/esm/textInputRaw/textInputRaw.d.ts +3 -23
  1056. package/esm/textInputRaw/textInputRaw.js +9 -1
  1057. package/esm/textInputRaw/types.d.ts +36 -0
  1058. package/esm/textInputRaw/types.js +1 -0
  1059. package/esm/textarea/textarea.d.ts +5 -4
  1060. package/esm/textarea/textarea.js +5 -3
  1061. package/esm/textareaRaw/textareaRaw.d.ts +3 -22
  1062. package/esm/textareaRaw/textareaRaw.js +10 -3
  1063. package/esm/textareaRaw/types.d.ts +31 -0
  1064. package/esm/textareaRaw/types.js +1 -0
  1065. package/esm/timePicker/timePicker.d.ts +9 -13
  1066. package/esm/timePicker/timePicker.js +20 -60
  1067. package/esm/timePickerRaw/timePickerRaw.d.ts +10 -0
  1068. package/esm/timePickerRaw/timePickerRaw.js +75 -0
  1069. package/esm/timePickerRaw/types.d.ts +26 -0
  1070. package/esm/timePickerRaw/types.js +1 -0
  1071. package/esm/toggleButton/toggleButton.d.ts +8 -10
  1072. package/esm/toggleButton/toggleButton.js +18 -12
  1073. package/esm/toggleButtonRaw/toggleButtonRaw.d.ts +3 -0
  1074. package/esm/toggleButtonRaw/toggleButtonRaw.js +27 -0
  1075. package/esm/toggleButtonRaw/types.d.ts +26 -0
  1076. package/esm/toggleButtonRaw/types.js +1 -0
  1077. package/esm/tooltipInfo/tooltipInfo.d.ts +7 -0
  1078. package/esm/tooltipInfo/tooltipInfo.js +11 -0
  1079. package/esm/utils/formatDate.d.ts +1 -1
  1080. package/esm/utils/localization/translations/cs-json.d.ts +3 -0
  1081. package/esm/utils/localization/translations/cs-json.js +4 -1
  1082. package/esm/utils/localization/translations/de-json.d.ts +3 -0
  1083. package/esm/utils/localization/translations/de-json.js +4 -1
  1084. package/esm/utils/localization/translations/en-json.d.ts +12 -0
  1085. package/esm/utils/localization/translations/en-json.js +13 -1
  1086. package/esm/utils/localization/translations/es-json.d.ts +3 -0
  1087. package/esm/utils/localization/translations/es-json.js +4 -1
  1088. package/esm/utils/localization/translations/fr-FR-json.d.ts +3 -0
  1089. package/esm/utils/localization/translations/fr-FR-json.js +4 -1
  1090. package/esm/utils/localization/translations/fr-json.d.ts +3 -0
  1091. package/esm/utils/localization/translations/fr-json.js +4 -1
  1092. package/esm/utils/localization/translations/id-json.d.ts +3 -0
  1093. package/esm/utils/localization/translations/id-json.js +4 -1
  1094. package/esm/utils/localization/translations/it-json.d.ts +3 -0
  1095. package/esm/utils/localization/translations/it-json.js +4 -1
  1096. package/esm/utils/localization/translations/ja-json.d.ts +3 -0
  1097. package/esm/utils/localization/translations/ja-json.js +4 -1
  1098. package/esm/utils/localization/translations/ko-KR-json.d.ts +3 -0
  1099. package/esm/utils/localization/translations/ko-KR-json.js +4 -1
  1100. package/esm/utils/localization/translations/ms-json.d.ts +3 -0
  1101. package/esm/utils/localization/translations/ms-json.js +4 -1
  1102. package/esm/utils/localization/translations/nl-json.d.ts +3 -0
  1103. package/esm/utils/localization/translations/nl-json.js +4 -1
  1104. package/esm/utils/localization/translations/pl-json.d.ts +3 -0
  1105. package/esm/utils/localization/translations/pl-json.js +4 -1
  1106. package/esm/utils/localization/translations/pt-BR-json.d.ts +3 -0
  1107. package/esm/utils/localization/translations/pt-BR-json.js +4 -1
  1108. package/esm/utils/localization/translations/sv-json.d.ts +3 -0
  1109. package/esm/utils/localization/translations/sv-json.js +4 -1
  1110. package/esm/utils/localization/translations/th-json.d.ts +3 -0
  1111. package/esm/utils/localization/translations/th-json.js +4 -1
  1112. package/esm/utils/localization/translations/tr-json.d.ts +3 -0
  1113. package/esm/utils/localization/translations/tr-json.js +4 -1
  1114. package/esm/utils/localization/translations/zh-Hans-json.d.ts +3 -0
  1115. package/esm/utils/localization/translations/zh-Hans-json.js +4 -1
  1116. package/esm/utils/localization/translations/zh-TW-json.d.ts +3 -0
  1117. package/esm/utils/localization/translations/zh-TW-json.js +4 -1
  1118. package/package.json +5 -4
  1119. package/esm/dropdown/dropdownSearchableTrigger.js +0 -56
  1120. /package/dist/{dropdown/stateReducer/stateAction.js → commonHelpers/types/exclusive.js} +0 -0
  1121. /package/dist/{groupsFilter/stateReducer/stateAction.js → commonHelpers/types/without.js} +0 -0
  1122. /package/dist/{groupsFilter/uiStateReducer/uiStateAction.js → dateInputRaw/types.js} +0 -0
  1123. /package/dist/{dateInput → dateInputRaw/utils}/cutSeconds.d.ts +0 -0
  1124. /package/dist/{dateInput → dateInputRaw/utils}/cutSeconds.js +0 -0
  1125. /package/dist/{dateInput → dateInputRaw/utils}/getLabel.d.ts +0 -0
  1126. /package/dist/{dateRange → dateRangeRaw}/utils/areMapsEqual.js +0 -0
  1127. /package/dist/{dropdown → dropdownRaw}/dropdownList.d.ts +0 -0
  1128. /package/dist/{dropdown → dropdownRaw}/dropdownList.js +0 -0
  1129. /package/dist/{dropdown → dropdownRaw}/stateReducer/stateActionType.d.ts +0 -0
  1130. /package/dist/{dropdown → dropdownRaw}/stateReducer/stateActionType.js +0 -0
  1131. /package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.js +0 -0
  1132. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.d.ts +0 -0
  1133. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.js +0 -0
  1134. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.d.ts +0 -0
  1135. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.js +0 -0
  1136. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterBox.d.ts +0 -0
  1137. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterBox.js +0 -0
  1138. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCommon.js +0 -0
  1139. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCounter.js +0 -0
  1140. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.d.ts +0 -0
  1141. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.js +0 -0
  1142. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.d.ts +0 -0
  1143. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.js +0 -0
  1144. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.d.ts +0 -0
  1145. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.js +0 -0
  1146. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.d.ts +0 -0
  1147. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.js +0 -0
  1148. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.d.ts +0 -0
  1149. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.js +0 -0
  1150. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.d.ts +0 -0
  1151. /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.js +0 -0
  1152. /package/dist/{groupsFilter → groupsFilterRaw}/groupsHelper.d.ts +0 -0
  1153. /package/dist/{groupsFilter → groupsFilterRaw}/groupsHelper.js +0 -0
  1154. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateAction.d.ts +0 -0
  1155. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.d.ts +0 -0
  1156. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.js +0 -0
  1157. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.d.ts +0 -0
  1158. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.js +0 -0
  1159. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.d.ts +0 -0
  1160. /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.js +0 -0
  1161. /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateAction.d.ts +0 -0
  1162. /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.d.ts +0 -0
  1163. /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.js +0 -0
  1164. /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.d.ts +0 -0
  1165. /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.js +0 -0
  1166. /package/dist/{range → rangeRaw/utils}/rangeHelper.js +0 -0
  1167. /package/dist/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.d.ts +0 -0
  1168. /package/dist/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.js +0 -0
  1169. /package/dist/{timePicker → timePickerRaw}/timePickerUtils.d.ts +0 -0
  1170. /package/dist/{timePicker → timePickerRaw}/timePickerUtils.js +0 -0
  1171. /package/esm/{dropdown/stateReducer/stateAction.js → commonHelpers/types/exclusive.js} +0 -0
  1172. /package/esm/{groupsFilter/stateReducer/stateAction.js → commonHelpers/types/without.js} +0 -0
  1173. /package/esm/{groupsFilter/uiStateReducer/uiStateAction.js → dateInputRaw/types.js} +0 -0
  1174. /package/esm/{dateInput → dateInputRaw/utils}/cutSeconds.d.ts +0 -0
  1175. /package/esm/{dateInput → dateInputRaw/utils}/cutSeconds.js +0 -0
  1176. /package/esm/{dateInput → dateInputRaw/utils}/getLabel.d.ts +0 -0
  1177. /package/esm/{dateRange → dateRangeRaw}/utils/areMapsEqual.js +0 -0
  1178. /package/esm/{dropdown → dropdownRaw}/dropdownList.d.ts +0 -0
  1179. /package/esm/{dropdown → dropdownRaw}/dropdownList.js +0 -0
  1180. /package/esm/{dropdown → dropdownRaw}/stateReducer/stateActionType.d.ts +0 -0
  1181. /package/esm/{dropdown → dropdownRaw}/stateReducer/stateActionType.js +0 -0
  1182. /package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.js +0 -0
  1183. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.d.ts +0 -0
  1184. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.js +0 -0
  1185. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.d.ts +0 -0
  1186. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.js +0 -0
  1187. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterBox.d.ts +0 -0
  1188. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterBox.js +0 -0
  1189. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCommon.js +0 -0
  1190. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCounter.js +0 -0
  1191. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.d.ts +0 -0
  1192. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.js +0 -0
  1193. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.d.ts +0 -0
  1194. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.js +0 -0
  1195. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.d.ts +0 -0
  1196. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.js +0 -0
  1197. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.d.ts +0 -0
  1198. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.js +0 -0
  1199. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.d.ts +0 -0
  1200. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.js +0 -0
  1201. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.d.ts +0 -0
  1202. /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.js +0 -0
  1203. /package/esm/{groupsFilter → groupsFilterRaw}/groupsHelper.d.ts +0 -0
  1204. /package/esm/{groupsFilter → groupsFilterRaw}/groupsHelper.js +0 -0
  1205. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateAction.d.ts +0 -0
  1206. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.d.ts +0 -0
  1207. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.js +0 -0
  1208. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.d.ts +0 -0
  1209. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.js +0 -0
  1210. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.d.ts +0 -0
  1211. /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.js +0 -0
  1212. /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateAction.d.ts +0 -0
  1213. /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.d.ts +0 -0
  1214. /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.js +0 -0
  1215. /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.d.ts +0 -0
  1216. /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.js +0 -0
  1217. /package/esm/{range → rangeRaw/utils}/rangeHelper.js +0 -0
  1218. /package/esm/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.d.ts +0 -0
  1219. /package/esm/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.js +0 -0
  1220. /package/esm/{timePicker → timePickerRaw}/timePickerUtils.d.ts +0 -0
  1221. /package/esm/{timePicker → timePickerRaw}/timePickerUtils.js +0 -0
@@ -9,27 +9,80 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
+ import { useId, useMemo } from "react";
13
14
  import { classNames } from "../commonHelpers/classNames/classNames";
14
15
  import { useDriveClassName } from "../utils/theme/useDriveClassName";
15
16
  import { FormFieldError } from "../formFieldError/formFieldError";
17
+ import { FormFieldBanner } from "./components/formFieldBanner";
18
+ import { useMobile } from "../commonHelpers/hooks/useMobile";
19
+ import { useBanner } from "./hooks/useBanner";
20
+ import { useAssistive } from "./hooks/useAssistive";
21
+ import { useTrailing } from "./hooks/useTrailing";
22
+ import { useError } from "./hooks/useError";
23
+ import { rangeRawLabelCheck } from "./utils/rangeRawLabelCheck";
24
+ import { Skeleton } from "../skeleton/skeleton";
25
+ import { TextareaRaw } from "../textareaRaw/textareaRaw";
26
+ import { useSkeleton } from "./hooks/useSkeleton";
27
+ import { useWidth } from "./hooks/useWidth";
28
+ import { useDisabled } from "./hooks/useDisabled";
29
+ import { useLoading } from "./hooks/useLoading";
30
+ import { useReadonly } from "./hooks/useReadonly";
31
+ import { FormFieldWithLabel } from "./components/formFieldWithLabel";
32
+ import { FormFieldWithoutLabel } from "./components/formFieldWithoutLabel";
16
33
  // eslint-disable-next-line @typescript-eslint/naming-convention
17
- export const FormField = function formFieldInner(WrappedComponent) {
34
+ export const FormField = function FormFieldInner(WrappedComponent) {
35
+ // eslint-disable-next-line complexity
18
36
  const InnerFormField = (props) => {
19
- const { className, inputClassName, error, assistive, counter } = props, rest = __rest(props, ["className", "inputClassName", "error", "assistive", "counter"]);
37
+ const isMobile = useMobile();
38
+ const ref = props.ref;
39
+ const { id: assistiveId, assistive } = useAssistive(props);
40
+ const { id: trailingId, trailing } = useTrailing(props);
41
+ const { id: errorId, error, errorBanner } = useError(props);
42
+ const { id: bannerId, banner: bannerComp } = useBanner(props);
43
+ const disabledProps = useDisabled(props);
44
+ const _a = useWidth(props), { hasCustomWidth } = _a, widthObj = __rest(_a, ["hasCustomWidth"]);
45
+ const skeletonProps = __rest(useSkeleton(props), []);
46
+ const isLoading = useLoading(props, WrappedComponent.displayName);
47
+ const isReadonly = useReadonly(props);
48
+ // TODO: add tests
49
+ const banner = errorBanner || bannerComp;
50
+ const isInputContainerHidden = isReadonly && props.isError;
51
+ const { className, inputClassName, counter } = props, rest = __rest(props, ["className", "inputClassName", "counter"]);
20
52
  const driveTextClass = useDriveClassName("zen-form-field__text");
21
- const showAdditionalInfo = error || assistive || counter;
53
+ // TODO: Banner? Only it or assistive text?
54
+ const showAdditionalInfo = (error || assistive || counter) && !isReadonly;
22
55
  const componentClassName = classNames(["zen-form-field__input", inputClassName || ""]);
23
- return _jsxs("div", { className: classNames(["zen-form-field", className || ""]), children: [_jsx("div", { className: "zen-form-field__input-container", children: _jsx(WrappedComponent, Object.assign({}, rest, { className: componentClassName, isError: !!error })) }), showAdditionalInfo ?
24
- _jsxs("div", { className: "zen-form-field__secondary", children: [_jsx("div", { className: classNames([
56
+ const ariaDescribedBy = `${assistiveId} ${trailingId} ${errorId} ${bannerId}`.trim();
57
+ const localId = useId();
58
+ const id = props.id || localId;
59
+ const container = useMemo(() => _jsxs(_Fragment, { children: [_jsxs("div", { className: classNames(["zen-form-field__input-container", isReadonly ? "zen-form-field__input-container--review" : "", isInputContainerHidden ? "zen-form-field__input-container--hidden" : "", trailing ? "zen-form-field__input-container--with-trailing" : ""]), children: [_jsx(WrappedComponent, Object.assign({}, rest, disabledProps, { isReadOnly: isReadonly, id: id, className: componentClassName, ref: ref, isLoadingError: props.isError, isError: !!error, "aria-describedby": ariaDescribedBy })), !hasCustomWidth && trailing && _jsx("span", { className: "zen-form-field__trailing-text", id: trailingId, children: trailing })] }), showAdditionalInfo ?
60
+ _jsxs("div", { className: "zen-form-field__secondary", children: [_jsx("div", { id: assistiveId || errorId, className: classNames([
25
61
  "zen-form-field__text",
26
62
  driveTextClass || "",
27
63
  error ? "zen-form-field__text--error" : ""
28
64
  ]), children: error ? _jsx(FormFieldError, { error: error }) : assistive }), counter
29
- ? _jsx("div", { className: "zen-form-field__length", children: counter })
65
+ ? _jsx("div", { className: classNames(["zen-form-field__length"]), children: counter })
30
66
  : ""] })
31
- : null] });
67
+ : null, banner] }), [isInputContainerHidden, trailing, rest, disabledProps, isReadonly, id, componentClassName, ref, props.isError, error, ariaDescribedBy, hasCustomWidth, trailingId, showAdditionalInfo, assistiveId, errorId, driveTextClass, assistive, counter, banner]);
68
+ const classes = classNames([
69
+ "zen-form-field",
70
+ isMobile ? "zen-form-field--mobile" : "",
71
+ banner ? "zen-form-field--with-banner" : "",
72
+ !props.label ? "" : props.labelAlign ? `zen-form-field--label-${props.labelAlign}` : "zen-form-field--label-left",
73
+ className || ""
74
+ ]);
75
+ if (isLoading) {
76
+ const height = WrappedComponent.displayName === TextareaRaw.displayName ? 110 : 32;
77
+ return _jsx(Skeleton, Object.assign({ className: classes, height: height }, skeletonProps));
78
+ }
79
+ // TODO: refactor?
80
+ if (props.label && rangeRawLabelCheck(WrappedComponent, props)) {
81
+ return _jsx(FormFieldWithLabel, { hasCustomWidth: hasCustomWidth, classes: classes, widthObj: widthObj, props: props, id: id, container: container, trailing: trailing, trailingId: trailingId });
82
+ }
83
+ return _jsx(FormFieldWithoutLabel, { hasCustomWidth: hasCustomWidth, classes: classes, widthObj: widthObj, container: container, trailing: trailing, trailingId: trailingId });
32
84
  };
33
85
  InnerFormField.displayName = "InnerFormField";
34
86
  return InnerFormField;
35
87
  };
88
+ FormField.Banner = FormFieldBanner;
@@ -0,0 +1,12 @@
1
+ interface IUseAssistiveProps {
2
+ assistive?: string;
3
+ isReadOnly?: boolean;
4
+ }
5
+ export declare const useAssistive: (props: IUseAssistiveProps) => {
6
+ id: string;
7
+ assistive: null;
8
+ } | {
9
+ id: string;
10
+ assistive: string;
11
+ };
12
+ export {};
@@ -0,0 +1,14 @@
1
+ import { useId } from "react";
2
+ export const useAssistive = (props) => {
3
+ const assistiveId = useId();
4
+ if (!props.assistive || props.isReadOnly) {
5
+ return {
6
+ id: "",
7
+ assistive: null
8
+ };
9
+ }
10
+ return {
11
+ id: assistiveId,
12
+ assistive: props.assistive
13
+ };
14
+ };
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const useBanner: (props: any) => {
3
+ id: string;
4
+ banner: null;
5
+ } | {
6
+ id: string;
7
+ banner: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
8
+ };
@@ -0,0 +1,23 @@
1
+ import { cloneElement, useId } from "react";
2
+ import { getFormFieldBanner } from "../utils/getFormFieldBanner";
3
+ export const useBanner = (props) => {
4
+ const bannerId = useId();
5
+ if (!props.children) {
6
+ return {
7
+ id: "",
8
+ banner: null
9
+ };
10
+ }
11
+ let formFieldBanner = getFormFieldBanner(props.children);
12
+ if (!formFieldBanner) {
13
+ return {
14
+ id: "",
15
+ banner: null
16
+ };
17
+ }
18
+ formFieldBanner = cloneElement(formFieldBanner, { id: bannerId });
19
+ return {
20
+ id: bannerId,
21
+ banner: formFieldBanner
22
+ };
23
+ };
@@ -0,0 +1,15 @@
1
+ import { ILoadingBase } from "../../commonHelpers/loading";
2
+ export declare const useDisabled: (props: {
3
+ controller?: {
4
+ disabled?: boolean;
5
+ };
6
+ disabled?: boolean;
7
+ } & Partial<ILoadingBase>) => {
8
+ controller: {
9
+ disabled?: boolean | undefined;
10
+ } | undefined;
11
+ disabled: boolean | undefined;
12
+ } | {
13
+ controller?: undefined;
14
+ disabled?: undefined;
15
+ };
@@ -0,0 +1,18 @@
1
+ import { hasErrorProps } from "../../commonHelpers/loading";
2
+ export const useDisabled = (props) => {
3
+ const controller = props.controller;
4
+ let disabled = props.disabled;
5
+ if (hasErrorProps(props)) {
6
+ if (controller) {
7
+ controller.disabled = true;
8
+ }
9
+ else {
10
+ disabled = true;
11
+ }
12
+ return {
13
+ controller,
14
+ disabled
15
+ };
16
+ }
17
+ return {};
18
+ };
@@ -0,0 +1,18 @@
1
+ import { ReactElement } from "react";
2
+ import { IReactFormItemController } from "../../commonHelpers/zenComponent";
3
+ import { IFormFieldComponent, TFormField } from "../formField";
4
+ import { Exclusive } from "../../commonHelpers/types/exclusive";
5
+ import { IFormFieldBannerProps } from "../components/formFieldBanner";
6
+ export type TErrorType = "text" | "banner";
7
+ interface IUseErrorBase {
8
+ id: string;
9
+ }
10
+ interface IUseErrorText extends IUseErrorBase {
11
+ error: string | undefined | null;
12
+ }
13
+ interface IUseErrorBanner extends IUseErrorBase {
14
+ errorBanner: ReactElement<IFormFieldBannerProps> | null;
15
+ }
16
+ export type TUseError = Exclusive<IUseErrorText, IUseErrorBanner>;
17
+ export declare const useError: (props: Partial<IReactFormItemController> & Partial<TFormField> & Pick<IFormFieldComponent, "bannerLabel">) => TUseError;
18
+ export {};
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useId } from "react";
3
+ import { useFormField } from "../../commonHelpers/hooks/useFormField";
4
+ import { useLanguage } from "../../utils/localization/useLanguage";
5
+ import { FormFieldBanner } from "../components/formFieldBanner";
6
+ import { hasErrorProps } from "../../commonHelpers/loading";
7
+ export const useError = (props) => {
8
+ var _a, _b, _c, _d;
9
+ const errorId = useId();
10
+ const { fieldState } = useFormField(props.controller);
11
+ const { translate } = useLanguage();
12
+ if (hasErrorProps(props)) {
13
+ const action = props.retry ? {
14
+ text: translate("Reload"),
15
+ onClick: props.retry
16
+ } : undefined;
17
+ return {
18
+ id: errorId,
19
+ errorBanner: _jsx(FormFieldBanner, { multiline: false, action: action, type: "error", children: translate("Failed to load {0}").replace("{0}", props.bannerLabel || "") })
20
+ };
21
+ }
22
+ if ((!props.error && !((_a = fieldState === null || fieldState === void 0 ? void 0 : fieldState.error) === null || _a === void 0 ? void 0 : _a.message)) || props.isReadOnly) {
23
+ if (props.isReadOnly) {
24
+ return {
25
+ id: "",
26
+ error: null
27
+ };
28
+ }
29
+ if (!((_b = fieldState === null || fieldState === void 0 ? void 0 : fieldState.error) === null || _b === void 0 ? void 0 : _b.message) && ((_c = fieldState === null || fieldState === void 0 ? void 0 : fieldState.error) === null || _c === void 0 ? void 0 : _c.type) === "required") {
30
+ return {
31
+ id: errorId,
32
+ error: translate("This field is required.")
33
+ };
34
+ }
35
+ return {
36
+ id: "",
37
+ error: null
38
+ };
39
+ }
40
+ const error = ((_d = fieldState === null || fieldState === void 0 ? void 0 : fieldState.error) === null || _d === void 0 ? void 0 : _d.message) || props.error;
41
+ return {
42
+ id: error ? errorId : "",
43
+ error
44
+ };
45
+ };
@@ -0,0 +1,2 @@
1
+ import { TFormFieldComponentProps } from "../formField";
2
+ export declare const useLoading: <T>(props: TFormFieldComponentProps<T>, displayName?: string) => boolean;
@@ -0,0 +1,15 @@
1
+ const COMPONENTS_WITH_OWN_LOADING = ["DropdownRaw"];
2
+ // eslint-disable-next-line @typescript-eslint/comma-dangle
3
+ export const useLoading = (props, displayName) => {
4
+ let isLoading = false;
5
+ if (COMPONENTS_WITH_OWN_LOADING.includes(displayName || "") && props.isReadOnly && props.isLoading) {
6
+ isLoading = true;
7
+ }
8
+ else if (!COMPONENTS_WITH_OWN_LOADING.includes(displayName || "") && props.isLoading) {
9
+ isLoading = true;
10
+ }
11
+ else {
12
+ isLoading = false;
13
+ }
14
+ return isLoading;
15
+ };
@@ -0,0 +1 @@
1
+ export declare const useReadonly: (props: any) => any;
@@ -0,0 +1,6 @@
1
+ import { useMode } from "../../formGroup/hooks/useMode";
2
+ // TODO: add to documentation?
3
+ export const useReadonly = (props) => {
4
+ const mode = useMode();
5
+ return props.isReadOnly !== undefined ? props.isReadOnly : mode === "review";
6
+ };
@@ -0,0 +1,3 @@
1
+ import { ISkeleton } from "../../skeleton/skeleton";
2
+ import { TFormFieldComponentProps } from "../formField";
3
+ export declare const useSkeleton: <T>(props: TFormFieldComponentProps<T>) => ISkeleton;
@@ -0,0 +1,9 @@
1
+ import { Children } from "react";
2
+ import { FormFieldSkeleton } from "../components/formFieldSkeleton";
3
+ // eslint-disable-next-line @typescript-eslint/comma-dangle
4
+ export const useSkeleton = (props) => {
5
+ var _a;
6
+ return ((_a = Children
7
+ .toArray(props.children)
8
+ .find(child => child.type && child.type === FormFieldSkeleton)) === null || _a === void 0 ? void 0 : _a.props) || {};
9
+ };
@@ -0,0 +1,12 @@
1
+ interface IUseTrailingProps {
2
+ trailing?: string;
3
+ isReadOnly?: boolean;
4
+ }
5
+ export declare const useTrailing: (props: IUseTrailingProps) => {
6
+ id: string;
7
+ trailing: null;
8
+ } | {
9
+ id: string;
10
+ trailing: string;
11
+ };
12
+ export {};
@@ -0,0 +1,14 @@
1
+ import { useId } from "react";
2
+ export const useTrailing = (props) => {
3
+ const trailingId = useId();
4
+ if (!props.trailing) {
5
+ return {
6
+ id: "",
7
+ trailing: null
8
+ };
9
+ }
10
+ return {
11
+ id: trailingId,
12
+ trailing: props.trailing
13
+ };
14
+ };
@@ -0,0 +1,8 @@
1
+ import { IFormField } from "../formField";
2
+ export declare const useWidth: (props: IFormField) => {
3
+ width: string | number;
4
+ hasCustomWidth: boolean;
5
+ } | {
6
+ hasCustomWidth: boolean;
7
+ width?: undefined;
8
+ };
@@ -0,0 +1,7 @@
1
+ export const useWidth = (props) => {
2
+ const { width, isReadOnly } = props;
3
+ if (width && !isReadOnly) {
4
+ return { width, hasCustomWidth: true };
5
+ }
6
+ return { hasCustomWidth: false };
7
+ };
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const getFormFieldBanner: (children?: React.ReactNode) => string | number | bigint | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { FormFieldBanner } from "../components/formFieldBanner";
3
+ export const getFormFieldBanner = (children) => {
4
+ if (!children) {
5
+ return null;
6
+ }
7
+ return React.Children.toArray(children).find((child) => {
8
+ if (!React.isValidElement(child)) {
9
+ return false;
10
+ }
11
+ return child.type === FormFieldBanner;
12
+ });
13
+ };
@@ -0,0 +1 @@
1
+ export declare const rangeRawLabelCheck: (component: any, props: any) => boolean;
@@ -0,0 +1,10 @@
1
+ export const rangeRawLabelCheck = (component, props) => {
2
+ if (component.name !== "RangeRaw") {
3
+ return true;
4
+ }
5
+ const { label, title } = props;
6
+ if (label && title) {
7
+ return true;
8
+ }
9
+ return false;
10
+ };
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import "./customRow.less";
3
+ export interface ICustomRowProps {
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ }
7
+ export declare const CustomRow: FC<ICustomRowProps>;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { classNames } from "../../../commonHelpers/classNames/classNames";
3
+ export const CustomRow = ({ children, className = "" }) => _jsx("div", { className: classNames(["zen-custom-form-row", className]), children: children });
@@ -0,0 +1,5 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ import { IFormFieldWithLabel } from "../../formField/formField";
3
+ export interface IFormGroupList extends PropsWithChildren, Required<Pick<IFormFieldWithLabel, "label">>, Pick<IFormFieldWithLabel, "tooltip"> {
4
+ }
5
+ export declare const FormGroupList: FC<IFormGroupList>;
@@ -0,0 +1,2 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ export const FormGroupList = ({ children }) => _jsx(_Fragment, { children: children });
@@ -0,0 +1,15 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ import { IReactFormItemController } from "../../commonHelpers/zenComponent";
3
+ import { IFormFieldWithLabel } from "../../formField/formField";
4
+ import { Exclusive } from "../../commonHelpers/types/exclusive";
5
+ interface IFormGroupToggleBase extends Required<Pick<IFormFieldWithLabel, "label">>, Pick<IFormFieldWithLabel, "tooltip">, PropsWithChildren {
6
+ }
7
+ interface IFormGroupToggleWithController extends Required<IReactFormItemController>, IFormGroupToggleBase {
8
+ }
9
+ interface IFormGroupToggleDefault extends Partial<IReactFormItemController>, IFormGroupToggleBase {
10
+ value: boolean;
11
+ onChange: (val: boolean) => void;
12
+ }
13
+ export type TFormGroupToggle = Exclusive<IFormGroupToggleWithController, IFormGroupToggleDefault>;
14
+ export declare const FormGroupToggle: FC<TFormGroupToggle>;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ export const FormGroupToggle = ({ children }) => _jsx(_Fragment, { children: children });
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ import { IReactFormItemController } from "../../commonHelpers/zenComponent";
3
+ import "./list.less";
4
+ export interface IListProps extends PropsWithChildren, IReactFormItemController {
5
+ }
6
+ export declare const List: FC<IListProps>;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useContext } from "react";
3
+ import { getListClasses } from "../utils/getListClasses";
4
+ import { FormGroupItem } from "../../formGroupItem/formGroupItem";
5
+ import { useColumns } from "../../formLayout/hooks/useColumns";
6
+ import { FormGroupContext } from "../utils/formGroupProvider";
7
+ import { useToggleList } from "../hooks/useToggleList";
8
+ import { classNames } from "../../commonHelpers/classNames/classNames";
9
+ export const List = ({ children }) => {
10
+ const { label, tooltip, labelAlign } = useContext(FormGroupContext);
11
+ const columns = useColumns();
12
+ const { toggleList } = useToggleList({ children });
13
+ // TODO: classes without toggle?
14
+ return _jsxs(_Fragment, { children: [_jsx(FormGroupItem, { tooltip: tooltip, value: label, className: classNames([getListClasses(labelAlign, columns, true), "zen-form-list-label"]) }), toggleList] });
15
+ };
@@ -0,0 +1 @@
1
+ export declare const ListToggle: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useContext, useMemo } from "react";
3
+ import { useColumns } from "../../../formLayout/hooks/useColumns";
4
+ import { ToggleButton } from "../../../toggleButton/toggleButton";
5
+ import { useMode } from "../../hooks/useMode";
6
+ import { getToggleClasses } from "../../utils/getToggleClasses";
7
+ import { ReviewListToggle } from "../reviewListToggle/reviewListToggle";
8
+ import { useFormFieldValues } from "../../../commonHelpers/hooks/useFormFieldValues/useFormFieldValues";
9
+ import { FormGroupContext } from "../../utils/formGroupProvider";
10
+ export const ListToggle = () => {
11
+ const { controller, toggle, onToggleChange, labelAlign } = useContext(FormGroupContext);
12
+ const { value = false, onChange } = useFormFieldValues(controller, { value: toggle, onChange: onToggleChange });
13
+ const mode = useMode();
14
+ const columns = useColumns();
15
+ const toggleAttributes = useMemo(() => controller !== undefined ? {
16
+ controller
17
+ } : {
18
+ checked: toggle,
19
+ onChange: () => onChange === null || onChange === void 0 ? void 0 : onChange(!value)
20
+ }, [controller, toggle, onChange, value]);
21
+ if (mode === "edit") {
22
+ return _jsx(ToggleButton, Object.assign({}, toggleAttributes, { className: getToggleClasses(columns, labelAlign) }));
23
+ }
24
+ return _jsx(ReviewListToggle, { value: value, className: getToggleClasses(columns, labelAlign) });
25
+ };
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ import { IRow } from "../types";
3
+ interface IOneRow extends IRow {
4
+ }
5
+ export declare const OneRow: FC<IOneRow>;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { FormGroupItem } from "../../formGroupItem/formGroupItem";
3
+ import { useRowElements } from "../hooks/useRowElements";
4
+ export const OneRow = ({ state }) => {
5
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6
+ const { control1, control2, id1, id2, customControl } = useRowElements(state);
7
+ if (customControl) {
8
+ return customControl;
9
+ }
10
+ return _jsxs(_Fragment, { children: [_jsx(FormGroupItem, { id: ((_b = (_a = state.elements.control1) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.props.id) || id1, value: (_c = state.elements.label1) === null || _c === void 0 ? void 0 : _c.value, tooltip: (_d = state.elements.label1) === null || _d === void 0 ? void 0 : _d.tooltip, className: (_e = state.elements.label1) === null || _e === void 0 ? void 0 : _e.className }), control1, _jsx(FormGroupItem, { id: ((_g = (_f = state.elements.control2) === null || _f === void 0 ? void 0 : _f.value) === null || _g === void 0 ? void 0 : _g.props.id) || id2, value: (_h = state.elements.label2) === null || _h === void 0 ? void 0 : _h.value, tooltip: (_j = state.elements.label2) === null || _j === void 0 ? void 0 : _j.tooltip, className: (_k = state.elements.label2) === null || _k === void 0 ? void 0 : _k.className }), control2] });
11
+ };
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ import "./reviewListToggle.less";
3
+ interface IListToggleReviewProps {
4
+ value: boolean;
5
+ className?: string;
6
+ }
7
+ export declare const ReviewListToggle: FC<IListToggleReviewProps>;
8
+ export {};
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { classNames } from "../../../commonHelpers/classNames/classNames";
3
+ import { IconCheckRadio } from "../../../icons/iconCheckRadio";
4
+ import { IconCloseCircle } from "../../../icons/iconCloseCircle";
5
+ import { Pill } from "../../../pill/pill";
6
+ import { useLanguage } from "../../../utils/localization/useLanguage";
7
+ export const ReviewListToggle = ({ value, className = "" }) => {
8
+ const { translate } = useLanguage();
9
+ const label = value ? translate("On") : translate("Off");
10
+ const icon = value ? IconCheckRadio : IconCloseCircle;
11
+ return _jsxs("div", { className: classNames([className, "zen-review-list-toggle"]), children: [label, _jsx(Pill, { type: "info", icon: icon })] });
12
+ };
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import "./reviewTextControl.less";
3
+ export interface IReviewTextControlProps {
4
+ value: string;
5
+ className?: string;
6
+ password?: boolean;
7
+ secondary?: boolean;
8
+ }
9
+ export declare const ReviewTextControl: FC<IReviewTextControlProps>;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { classNames } from "../../commonHelpers/classNames/classNames";
3
+ export const ReviewTextControl = ({ value, className = "", password, secondary }) => _jsx("span", { className: classNames([className, "zen-review-text-control", secondary ? "zen-review-text-control--secondary" : ""]), children: password ? value.replace(/./g, "*") : value });
@@ -0,0 +1,5 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ interface IRowProps extends PropsWithChildren {
3
+ }
4
+ export declare const Row: FC<IRowProps>;
5
+ export {};
@@ -0,0 +1,34 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useElements } from "../hooks/useElements";
3
+ import { useMobile } from "../../commonHelpers/hooks/useMobile";
4
+ import { OneRow } from "./oneRow";
5
+ import { TwoRows } from "./twoRows";
6
+ import { isTopAligned } from "../utils/isTopAlign";
7
+ import { useMode } from "../hooks/useMode";
8
+ import { useSectionType } from "../hooks/useSectionType";
9
+ import { useLabelAlign } from "../hooks/useLabelAlign";
10
+ export const Row = ({ children }) => {
11
+ // TODO: do we need to support multiple elements?
12
+ // TODO: should support only 2 elements
13
+ // TODO: should support one level of nesting
14
+ // TODO: list of supported elements?
15
+ // TODO: Accessibility cases
16
+ // TODO: maybe pass into getLabelClasses and getControlClasses but not elements?
17
+ const labelAlign = useLabelAlign();
18
+ const type = useSectionType();
19
+ const mode = useMode();
20
+ const isMobile = useMobile();
21
+ // TODO: rename to useRowElements?
22
+ const state = useElements(children);
23
+ const isTopAlignedVal = isTopAligned(state, labelAlign);
24
+ if (isMobile || type === "modal") {
25
+ return _jsx(OneRow, { state: state });
26
+ }
27
+ // TODO: will it work with different aligns?
28
+ // TODO: mixed aligns?
29
+ // TODO: refactor aligns !
30
+ if (state.totalCount === 4 && mode === "edit" && isTopAlignedVal) {
31
+ return _jsx(TwoRows, { state: state });
32
+ }
33
+ return _jsx(OneRow, { state: state });
34
+ };
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ import { IRow } from "../types";
3
+ interface ITwoRows extends IRow {
4
+ }
5
+ export declare const TwoRows: FC<ITwoRows>;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { FormGroupItem } from "../../formGroupItem/formGroupItem";
3
+ import { useRowElements } from "../hooks/useRowElements";
4
+ export const TwoRows = ({ state }) => {
5
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6
+ const { control1, control2, id1, id2, customControl } = useRowElements(state);
7
+ if (customControl) {
8
+ return customControl;
9
+ }
10
+ return _jsxs(_Fragment, { children: [_jsx(FormGroupItem, { id: ((_b = (_a = state.elements.control1) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.props.id) || id1, value: (_c = state.elements.label1) === null || _c === void 0 ? void 0 : _c.value, tooltip: (_d = state.elements.label1) === null || _d === void 0 ? void 0 : _d.tooltip, className: (_e = state.elements.label1) === null || _e === void 0 ? void 0 : _e.className }), _jsx(FormGroupItem, { id: ((_g = (_f = state.elements.control2) === null || _f === void 0 ? void 0 : _f.value) === null || _g === void 0 ? void 0 : _g.props.id) || id2, value: (_h = state.elements.label2) === null || _h === void 0 ? void 0 : _h.value, tooltip: (_j = state.elements.label2) === null || _j === void 0 ? void 0 : _j.tooltip, className: (_k = state.elements.label2) === null || _k === void 0 ? void 0 : _k.className }), control1, control2] });
11
+ };
@@ -0,0 +1,13 @@
1
+ import { FC } from "react";
2
+ import { IZenComponentProps } from "../commonHelpers/zenComponent";
3
+ import { IFormFieldWithLabel } from "../formField/formField";
4
+ import { TFormGroupToggle } from "./components/formGroupToggle";
5
+ import "./formGroup.less";
6
+ import { IFormGroupList } from "./components/formGroupList";
7
+ export interface IFormGroupProps extends IZenComponentProps, Pick<IFormFieldWithLabel, "label" | "labelAlign" | "tooltip"> {
8
+ }
9
+ export declare const FormGroup: FC<IFormGroupProps> & {
10
+ Toggle: FC<TFormGroupToggle>;
11
+ } & {
12
+ List: FC<IFormGroupList>;
13
+ };