@geotab/zenith 3.11.1 → 3.12.0

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 (636) hide show
  1. package/README.md +24 -0
  2. package/dist/absolute/absolute.d.ts +21 -1
  3. package/dist/absolute/absolute.js +46 -6
  4. package/dist/advancedGroupsFilter/advancedGroupsFilter.js +3 -3
  5. package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
  6. package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +7 -7
  7. package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +1 -1
  8. package/dist/alert/banner.d.ts +3 -1
  9. package/dist/alertRaw/alertRaw.js +1 -1
  10. package/dist/banner/banner.d.ts +5 -2
  11. package/dist/banner/banner.js +13 -2
  12. package/dist/banner/bannerErrorSummary.d.ts +7 -0
  13. package/dist/banner/bannerErrorSummary.js +8 -0
  14. package/dist/banner/bannerMultipLine.js +1 -1
  15. package/dist/banner/bannerSingleLine.js +1 -1
  16. package/dist/banner/utils/buildSummaryErrorList.d.ts +1 -0
  17. package/dist/banner/utils/buildSummaryErrorList.js +16 -0
  18. package/dist/banner/utils/hasSummaryErrorChild.d.ts +1 -0
  19. package/dist/banner/utils/hasSummaryErrorChild.js +7 -0
  20. package/dist/banner/utils/isSummaryErrorBanner.d.ts +2 -0
  21. package/dist/banner/utils/isSummaryErrorBanner.js +6 -0
  22. package/dist/banner/utils/isSummaryErrorElement.d.ts +3 -0
  23. package/dist/banner/utils/isSummaryErrorElement.js +7 -0
  24. package/dist/banner/utils/useSummaryBannerProp.d.ts +6 -0
  25. package/dist/banner/utils/useSummaryBannerProp.js +34 -0
  26. package/dist/betaPill/betaPill.js +4 -4
  27. package/dist/bookmark/bookmark.js +2 -2
  28. package/dist/bulkEditControl/bulkEditControl.js +5 -5
  29. package/dist/calendar/calendar.js +37 -34
  30. package/dist/calendar/calendarUtils.js +6 -4
  31. package/dist/card/card.js +1 -1
  32. package/dist/card/components/title.js +4 -1
  33. package/dist/card/components/titleLink.js +5 -2
  34. package/dist/chart/accessibleChart/accessibleChartNarrative.js +13 -13
  35. package/dist/chart/accessibleChart/accessibleChartTable.js +5 -5
  36. package/dist/chart/barChart/getDefaultOptions.d.ts +2 -1
  37. package/dist/chart/barChart/getDefaultOptions.js +5 -2
  38. package/dist/chart/barChart.js +6 -4
  39. package/dist/chart/chart.js +1 -1
  40. package/dist/chart/chartAxis/chartAxis.js +2 -2
  41. package/dist/chart/lineChart/getDefaultOptions.d.ts +4 -1
  42. package/dist/chart/lineChart/getDefaultOptions.js +7 -2
  43. package/dist/chart/lineChart.js +7 -3
  44. package/dist/chart/plugins/linePlugin/linePlugin.js +5 -4
  45. package/dist/chart/utils/getXAxisMeta.js +8 -5
  46. package/dist/chart/utils/isDateRange.js +1 -1
  47. package/dist/chart/utils/useHidden.d.ts +1 -0
  48. package/dist/chart/utils/useHidden.js +1 -1
  49. package/dist/chart/utils/useLastVisibleXAxisMeta.d.ts +2 -0
  50. package/dist/chart/utils/useLastVisibleXAxisMeta.js +15 -0
  51. package/dist/checkboxListWithAction/checkboxListWithAction.js +8 -5
  52. package/dist/chip/chip.js +1 -1
  53. package/dist/columnsSelector/columnsSelector.js +2 -2
  54. package/dist/columnsSelector/columnsTab/columnsTab.js +1 -1
  55. package/dist/columnsSelector/columnsTabGroup/columnsTabGroup.js +1 -1
  56. package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
  57. package/dist/commonStyles/columnsList.less +59 -0
  58. package/dist/commonStyles/link/link.less +1 -1
  59. package/dist/commonStyles/pillStyles/pillContent.less +14 -15
  60. package/dist/commonStyles/pillStyles/pillStyles.less +4 -5
  61. package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
  62. package/dist/commonStyles/pillStyles/pillTypes.less +1 -1
  63. package/dist/commonStyles/popupMixin.less +1 -1
  64. package/dist/commonStyles/selectButton.less +1 -1
  65. package/dist/commonStyles/typography/typography.less +545 -19
  66. package/dist/controlledPopup/controlledPopup.d.ts +1 -0
  67. package/dist/controlledPopup/controlledPopup.js +3 -1
  68. package/dist/dataFeed/feedExpandControl/feedExpandControl.js +5 -0
  69. package/dist/dataGrid/cell/cell.d.ts +2 -1
  70. package/dist/dataGrid/cell/cell.js +2 -2
  71. package/dist/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +1 -1
  72. package/dist/dataGrid/dataGrid.js +8 -5
  73. package/dist/dataGrid/emptySearchList/emptySearchList.js +1 -1
  74. package/dist/dataGrid/entitiesListActions/actions/columnsListButton.js +1 -1
  75. package/dist/dataGrid/entitiesListActions/actions/fullscreenButton.js +2 -2
  76. package/dist/dataGrid/listColumn.d.ts +2 -0
  77. package/dist/dataGrid/row/row.d.ts +2 -1
  78. package/dist/dataGrid/row/row.js +13 -9
  79. package/dist/dataGrid/withFlexibleColumns/components/columnSettings.js +2 -2
  80. package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +1 -1
  81. package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +45 -116
  82. package/dist/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +4 -0
  83. package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +29 -29
  84. package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
  85. package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +5 -5
  86. package/dist/dataGrid/withSelectableRows/withSelectableRows.js +4 -3
  87. package/dist/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +2 -2
  88. package/dist/dateInputInner/dateInputInner.js +7 -7
  89. package/dist/dateInputInner/dateInputInnerControlBlock.js +2 -2
  90. package/dist/dateInputRaw/dateInputRaw.js +4 -4
  91. package/dist/dateInputRaw/utils/getLabel.js +2 -2
  92. package/dist/dateRangeInner/dateRangeInner.js +6 -3
  93. package/dist/dateRangeRaw/dateRangeRaw.d.ts +1 -0
  94. package/dist/dateRangeRaw/dateRangeRaw.js +21 -15
  95. package/dist/dateRangeRaw/types.d.ts +1 -0
  96. package/dist/dateRangeRaw/utils/dateRangeUtils.js +17 -17
  97. package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
  98. package/dist/dateSelectionWrapper/dateSelectionWrapper.js +4 -4
  99. package/dist/dialog/dialogContent.js +1 -1
  100. package/dist/dropdown/dropdownTrigger.d.ts +1 -1
  101. package/dist/dropdownRaw/dropdownList.js +9 -9
  102. package/dist/dropdownRaw/dropdownPopup.js +3 -3
  103. package/dist/dropdownRaw/dropdownRaw.js +34 -17
  104. package/dist/dropdownRaw/dropdownSearchableTrigger.d.ts +2 -1
  105. package/dist/dropdownRaw/dropdownSearchableTrigger.js +8 -6
  106. package/dist/dropdownRaw/dropdownTrigger.d.ts +2 -1
  107. package/dist/dropdownRaw/dropdownTrigger.js +2 -2
  108. package/dist/dropdownRaw/types.d.ts +2 -0
  109. package/dist/favoriteButton/favoriteButton.js +1 -1
  110. package/dist/fileUpload/components/dropZoneContent.js +104 -104
  111. package/dist/fileUpload/components/templateDownloadSection.js +1 -1
  112. package/dist/fileUpload/components/uploadedFilesSection.js +2 -2
  113. package/dist/fileUpload/fileUpload.js +106 -106
  114. package/dist/filterButton/filterButton.d.ts +1 -0
  115. package/dist/filters/components/filtersContainer.js +2 -2
  116. package/dist/filters/components/filtersDropdown.d.ts +1 -1
  117. package/dist/filters/components/filtersEmptyState.js +2 -2
  118. package/dist/filters/components/filtersSaveModal.js +5 -5
  119. package/dist/filters/components/filtersSavedChipComponent.js +11 -11
  120. package/dist/filters/components/filtersSearchItemData.js +1 -1
  121. package/dist/filters/components/filtersSearchList.js +14 -11
  122. package/dist/filters/components/filtersSelect.js +1 -1
  123. package/dist/filters/components/filtersSelectListItem.js +2 -2
  124. package/dist/filters/components/filtersSidePanel.js +8 -8
  125. package/dist/filters/filters.js +7 -7
  126. package/dist/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
  127. package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
  128. package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +18 -18
  129. package/dist/filtersBar/components/resetComponentButton.js +1 -1
  130. package/dist/filtersBar/filtersBarActions/filtersBarActions.js +3 -3
  131. package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
  132. package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +5 -5
  133. package/dist/filtersBar/filtersContainer/filtersContainer.js +62 -61
  134. package/dist/formField/hooks/useError.js +3 -3
  135. package/dist/formField/hooks/useFormFieldProps.d.ts +1 -1
  136. package/dist/formField/hooks/useFormFieldProps.js +4 -2
  137. package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +2 -2
  138. package/dist/formGroup/hooks/useCustomRow.js +46 -32
  139. package/dist/formGroup/hooks/useRowElements.js +9 -6
  140. package/dist/formGroup/hooks/useToggle.js +1 -1
  141. package/dist/formGroup/types.d.ts +4 -0
  142. package/dist/formGroup/utils/normalizeFieldId.d.ts +1 -0
  143. package/dist/formGroup/utils/normalizeFieldId.js +5 -0
  144. package/dist/formGroup/utils/resolveId.d.ts +7 -0
  145. package/dist/formGroup/utils/resolveId.js +6 -0
  146. package/dist/formLayout/components/getLayoutColumns.js +4 -2
  147. package/dist/formLayout/hooks/useError.js +3 -3
  148. package/dist/formLayout/hooks/useErrorSummary.d.ts +6 -0
  149. package/dist/formLayout/hooks/useErrorSummary.js +34 -0
  150. package/dist/formLayout/hooks/useFormButtons.js +3 -3
  151. package/dist/formLayout/utils/applyGridPropsStatic.js +1 -1
  152. package/dist/formLayout/utils/flattenErrors.d.ts +5 -0
  153. package/dist/formLayout/utils/flattenErrors.js +14 -0
  154. package/dist/formLayout/utils/getChildrenWithCustomColumns.js +3 -0
  155. package/dist/formLayout/utils/getFieldLabel.d.ts +1 -0
  156. package/dist/formLayout/utils/getFieldLabel.js +26 -0
  157. package/dist/formSection/hooks/useError.js +3 -3
  158. package/dist/formStepper/components/formStep.js +1 -1
  159. package/dist/formStepper/formStepper.js +2 -2
  160. package/dist/formStepperButtons/formStepperButtons.js +8 -5
  161. package/dist/gridLayout/hooks/useGridClasses.js +3 -9
  162. package/dist/groupButtonRaw/groupButtonRaw.js +2 -2
  163. package/dist/groupButtonRaw/types.d.ts +1 -0
  164. package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +8 -5
  165. package/dist/groupsFilterRaw/groupsFilterBox.js +3 -3
  166. package/dist/groupsFilterRaw/groupsFilterCommon.js +2 -2
  167. package/dist/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +5 -5
  168. package/dist/groupsFilterRaw/groupsFilterHelper.js +2 -2
  169. package/dist/groupsFilterRaw/groupsFilterInitialState.js +12 -9
  170. package/dist/groupsFilterRaw/groupsFilterMenu.js +3 -3
  171. package/dist/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
  172. package/dist/groupsFilterRaw/groupsFilterRaw.js +15 -10
  173. package/dist/groupsFilterRaw/groupsFilterTrigger.d.ts +2 -1
  174. package/dist/groupsFilterRaw/groupsFilterTrigger.js +8 -5
  175. package/dist/groupsFilterRaw/groupsHelper.js +22 -22
  176. package/dist/groupsFilterRaw/types.d.ts +2 -0
  177. package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
  178. package/dist/header/components/mobileFilterControl/mobileFilterControl.js +1 -1
  179. package/dist/header/components/mobileSearchControl/mobileSearchControl.js +3 -3
  180. package/dist/header/header.js +1 -1
  181. package/dist/header/headerBack.js +5 -2
  182. package/dist/header/headerHelpers.d.ts +1 -0
  183. package/dist/header/headerHelpers.js +10 -1
  184. package/dist/header/hooks/useNonFittingElements.js +1 -1
  185. package/dist/icons/iconAlignLeft.js +1 -3
  186. package/dist/icons/iconAlignmentLeft.js +1 -3
  187. package/dist/icons/iconAlignmentRight.js +1 -3
  188. package/dist/icons/iconArrowBottomLeft.js +1 -3
  189. package/dist/icons/iconArrowBottomRight.js +1 -3
  190. package/dist/icons/iconArrowLeftPath.js +1 -3
  191. package/dist/icons/iconArrowRight.js +1 -3
  192. package/dist/icons/iconArrowRightCircle.js +1 -3
  193. package/dist/icons/iconArrowRightPath.js +1 -3
  194. package/dist/icons/iconArrowTopLeft.js +1 -3
  195. package/dist/icons/iconArrowTopRight.js +1 -3
  196. package/dist/icons/iconChevronDoubleRight.js +1 -3
  197. package/dist/icons/iconChevronRight.js +1 -3
  198. package/dist/icons/iconChevronRightSmall.js +1 -3
  199. package/dist/icons/iconCornerDownLeft.js +1 -3
  200. package/dist/icons/iconCornerDownRight.js +1 -3
  201. package/dist/icons/iconCornerLeftDown.js +1 -3
  202. package/dist/icons/iconCornerLeftUp.js +1 -3
  203. package/dist/icons/iconCornerRightDown.js +1 -3
  204. package/dist/icons/iconCornerRightUp.js +1 -3
  205. package/dist/icons/iconCornerUpLeft.js +1 -3
  206. package/dist/icons/iconCornerUpRight.js +1 -3
  207. package/dist/index.css +3628 -3321
  208. package/dist/index.d.ts +1 -0
  209. package/dist/index.js +16 -14
  210. package/dist/lineChartMini/lineChartMini.js +15 -3
  211. package/dist/list/itemData/itemDataInternal.js +6 -3
  212. package/dist/list/listItem/listItem.js +6 -3
  213. package/dist/menu/components/controlledMenuList/controlledMenuList.js +4 -1
  214. package/dist/menu/components/menuButton.d.ts +2 -1
  215. package/dist/menu/components/menuButton.js +7 -4
  216. package/dist/menu/components/menuErrorItem.js +2 -2
  217. package/dist/menu/components/menuItem.js +4 -4
  218. package/dist/menu/utils/useMenuItemCore.js +1 -3
  219. package/dist/miniTabs/miniTabs.d.ts +1 -0
  220. package/dist/miniTabs/miniTabs.js +1 -1
  221. package/dist/miniTabs/miniTabsHeaderItem.d.ts +2 -1
  222. package/dist/miniTabs/miniTabsHeaderItem.js +1 -1
  223. package/dist/miniTabs/miniTabsItem.d.ts +1 -0
  224. package/dist/mobileSheet/mobileSheet.js +2 -2
  225. package/dist/modal/modal.js +1 -1
  226. package/dist/nav/navFooter/navEditFooter/navEditFooter.js +2 -2
  227. package/dist/nav/navFooter/navFooter.js +1 -1
  228. package/dist/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
  229. package/dist/nav/navHeader/navHeader.js +2 -2
  230. package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +2 -2
  231. package/dist/nav/navItem/navItem.js +4 -1
  232. package/dist/nav/navMobileBar/navMobileBar.js +1 -1
  233. package/dist/notification/notification.js +1 -1
  234. package/dist/pagination/paginationArrow.js +12 -5
  235. package/dist/pagination/paginationText/paginationText.js +1 -1
  236. package/dist/pill/components/pillNonActionable/pillNonActionable.js +1 -1
  237. package/dist/pillBox/components/pillBoxItem.js +1 -1
  238. package/dist/pillBox/pillBox.js +3 -3
  239. package/dist/pillExpandable/pillContent.js +12 -3
  240. package/dist/pillExpandable/pillExpandable.d.ts +4 -1
  241. package/dist/pillExpandable/pillExpandable.js +5 -3
  242. package/dist/pillExpandable/pillExpandableSimple.d.ts +1 -1
  243. package/dist/pillExpandable/pillExpandableSimple.js +4 -4
  244. package/dist/radioGroupRaw/radioGroupRaw.js +2 -1
  245. package/dist/rangeRaw/rangeRaw.js +7 -8
  246. package/dist/rangeRaw/utils/rangeHelper.js +7 -7
  247. package/dist/searchInputRaw/searchInputRaw.js +6 -3
  248. package/dist/selectList/selectList.js +2 -2
  249. package/dist/selectList/selectListItem.js +4 -1
  250. package/dist/skeleton/skeleton.js +1 -1
  251. package/dist/sortControl/sortControl.js +6 -7
  252. package/dist/stepperRaw/stepperRaw.js +5 -0
  253. package/dist/summary/summary.js +2 -2
  254. package/dist/summaryTile/summaryTile.d.ts +4 -2
  255. package/dist/summaryTile/summaryTile.js +59 -26
  256. package/dist/summaryTileBar/summaryTileBar.d.ts +4 -2
  257. package/dist/summaryTileBar/summaryTileBar.js +2 -2
  258. package/dist/table/actions/actionsMenu.js +2 -2
  259. package/dist/table/children/useTableChildren.d.ts +1 -1
  260. package/dist/table/children/useTableChildren.js +3 -3
  261. package/dist/table/detailPanel/detailPanel.js +1 -1
  262. package/dist/table/detailPanel/detailPanelHeader.js +2 -2
  263. package/dist/table/flexible/columnSettings.js +2 -2
  264. package/dist/table/flexible/columnsList.js +47 -117
  265. package/dist/table/flexible/columnsPopup.d.ts +1 -1
  266. package/dist/table/flexible/columnsPopup.js +1 -1
  267. package/dist/table/nested/useNestedRows.js +2 -2
  268. package/dist/table/selectable/selectableHeader.js +5 -4
  269. package/dist/table/selectable/useSelectableRows.d.ts +8 -0
  270. package/dist/table/selectable/useSelectableRows.js +16 -8
  271. package/dist/table/sortable/mobileSortControl.js +1 -1
  272. package/dist/table/sortable/sortableHeader.js +2 -2
  273. package/dist/table/table.js +3 -9
  274. package/dist/tabs/tabItem/tabItem.d.ts +2 -1
  275. package/dist/tabs/tabItem/tabItem.js +7 -2
  276. package/dist/tabs/tabs.d.ts +2 -1
  277. package/dist/tabs/tabs.js +71 -61
  278. package/dist/tabs/tabsTestHelper.js +2 -2
  279. package/dist/timePickerRaw/timePickerRaw.js +11 -9
  280. package/dist/timePickerRaw/types.d.ts +1 -0
  281. package/dist/toastRaw/toastRaw.js +1 -1
  282. package/dist/toggleButtonRaw/toggleButtonRaw.js +7 -4
  283. package/dist/tooltip/tooltip.js +13 -5
  284. package/dist/utils/formatDate.js +37 -37
  285. package/dist/utils/localization/flipAlignment.js +12 -1
  286. package/dist/utils/localization/languageContext.d.ts +1 -1
  287. package/dist/utils/localization/translations/cs.json +7 -5
  288. package/dist/utils/localization/translations/da-DK.json +7 -5
  289. package/dist/utils/localization/translations/de.json +7 -5
  290. package/dist/utils/localization/translations/en.json +12 -1
  291. package/dist/utils/localization/translations/es.json +7 -5
  292. package/dist/utils/localization/translations/fi-FI.json +7 -5
  293. package/dist/utils/localization/translations/fr-FR.json +7 -5
  294. package/dist/utils/localization/translations/fr.json +7 -5
  295. package/dist/utils/localization/translations/hu-HU.json +7 -5
  296. package/dist/utils/localization/translations/id.json +7 -5
  297. package/dist/utils/localization/translations/it.json +7 -5
  298. package/dist/utils/localization/translations/ja.json +7 -5
  299. package/dist/utils/localization/translations/ko-KR.json +7 -5
  300. package/dist/utils/localization/translations/ms.json +7 -5
  301. package/dist/utils/localization/translations/nb-NO.json +7 -5
  302. package/dist/utils/localization/translations/nl.json +7 -5
  303. package/dist/utils/localization/translations/pl.json +7 -5
  304. package/dist/utils/localization/translations/pt-BR.json +7 -5
  305. package/dist/utils/localization/translations/pt-PT.json +7 -5
  306. package/dist/utils/localization/translations/ro-RO.json +7 -5
  307. package/dist/utils/localization/translations/sk-SK.json +7 -5
  308. package/dist/utils/localization/translations/sv.json +7 -5
  309. package/dist/utils/localization/translations/th.json +7 -5
  310. package/dist/utils/localization/translations/tr.json +7 -5
  311. package/dist/utils/localization/translations/zh-Hans.json +7 -5
  312. package/dist/utils/localization/translations/zh-TW.json +7 -5
  313. package/dist/utils/localization/useDirectionalIcon.d.ts +3 -0
  314. package/dist/utils/localization/useDirectionalIcon.js +9 -0
  315. package/dist/utils/positioningUtils/alignments.d.ts +2 -2
  316. package/dist/utils/positioningUtils/alignments.js +2 -2
  317. package/dist/utils/positioningUtils/calculatePosition.d.ts +2 -1
  318. package/dist/utils/positioningUtils/calculatePosition.js +11 -11
  319. package/dist/utils/positioningUtils/normalizeLogicalAlignment.d.ts +4 -0
  320. package/dist/utils/positioningUtils/normalizeLogicalAlignment.js +36 -0
  321. package/esm/absolute/absolute.d.ts +21 -1
  322. package/esm/absolute/absolute.js +46 -6
  323. package/esm/advancedGroupsFilter/advancedGroupsFilter.js +3 -3
  324. package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
  325. package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +7 -7
  326. package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +1 -1
  327. package/esm/alert/banner.d.ts +3 -1
  328. package/esm/alertRaw/alertRaw.js +1 -1
  329. package/esm/banner/banner.d.ts +5 -2
  330. package/esm/banner/banner.js +13 -2
  331. package/esm/banner/bannerErrorSummary.d.ts +7 -0
  332. package/esm/banner/bannerErrorSummary.js +4 -0
  333. package/esm/banner/bannerMultipLine.js +1 -1
  334. package/esm/banner/bannerSingleLine.js +1 -1
  335. package/esm/banner/utils/buildSummaryErrorList.d.ts +1 -0
  336. package/esm/banner/utils/buildSummaryErrorList.js +12 -0
  337. package/esm/banner/utils/hasSummaryErrorChild.d.ts +1 -0
  338. package/esm/banner/utils/hasSummaryErrorChild.js +3 -0
  339. package/esm/banner/utils/isSummaryErrorBanner.d.ts +2 -0
  340. package/esm/banner/utils/isSummaryErrorBanner.js +2 -0
  341. package/esm/banner/utils/isSummaryErrorElement.d.ts +3 -0
  342. package/esm/banner/utils/isSummaryErrorElement.js +3 -0
  343. package/esm/banner/utils/useSummaryBannerProp.d.ts +6 -0
  344. package/esm/banner/utils/useSummaryBannerProp.js +25 -0
  345. package/esm/betaPill/betaPill.js +4 -4
  346. package/esm/bookmark/bookmark.js +2 -2
  347. package/esm/bulkEditControl/bulkEditControl.js +5 -5
  348. package/esm/calendar/calendar.js +37 -34
  349. package/esm/calendar/calendarUtils.js +6 -4
  350. package/esm/card/card.js +1 -1
  351. package/esm/card/components/title.js +4 -1
  352. package/esm/card/components/titleLink.js +5 -2
  353. package/esm/chart/accessibleChart/accessibleChartNarrative.js +13 -13
  354. package/esm/chart/accessibleChart/accessibleChartTable.js +5 -5
  355. package/esm/chart/barChart/getDefaultOptions.d.ts +2 -1
  356. package/esm/chart/barChart/getDefaultOptions.js +5 -2
  357. package/esm/chart/barChart.js +6 -4
  358. package/esm/chart/chart.js +1 -1
  359. package/esm/chart/chartAxis/chartAxis.js +2 -2
  360. package/esm/chart/lineChart/getDefaultOptions.d.ts +4 -1
  361. package/esm/chart/lineChart/getDefaultOptions.js +7 -2
  362. package/esm/chart/lineChart.js +7 -3
  363. package/esm/chart/plugins/linePlugin/linePlugin.js +5 -4
  364. package/esm/chart/utils/getXAxisMeta.js +8 -5
  365. package/esm/chart/utils/isDateRange.js +1 -1
  366. package/esm/chart/utils/useHidden.d.ts +1 -0
  367. package/esm/chart/utils/useHidden.js +1 -1
  368. package/esm/chart/utils/useLastVisibleXAxisMeta.d.ts +2 -0
  369. package/esm/chart/utils/useLastVisibleXAxisMeta.js +11 -0
  370. package/esm/checkboxListWithAction/checkboxListWithAction.js +8 -5
  371. package/esm/chip/chip.js +1 -1
  372. package/esm/columnsSelector/columnsSelector.js +2 -2
  373. package/esm/columnsSelector/columnsTab/columnsTab.js +1 -1
  374. package/esm/columnsSelector/columnsTabGroup/columnsTabGroup.js +1 -1
  375. package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
  376. package/esm/controlledPopup/controlledPopup.d.ts +1 -0
  377. package/esm/controlledPopup/controlledPopup.js +3 -1
  378. package/esm/dataFeed/feedExpandControl/feedExpandControl.js +3 -0
  379. package/esm/dataGrid/cell/cell.d.ts +2 -1
  380. package/esm/dataGrid/cell/cell.js +2 -2
  381. package/esm/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +1 -1
  382. package/esm/dataGrid/dataGrid.js +8 -5
  383. package/esm/dataGrid/emptySearchList/emptySearchList.js +1 -1
  384. package/esm/dataGrid/entitiesListActions/actions/columnsListButton.js +1 -1
  385. package/esm/dataGrid/entitiesListActions/actions/fullscreenButton.js +2 -2
  386. package/esm/dataGrid/listColumn.d.ts +2 -0
  387. package/esm/dataGrid/row/row.d.ts +2 -1
  388. package/esm/dataGrid/row/row.js +13 -9
  389. package/esm/dataGrid/withFlexibleColumns/components/columnSettings.js +2 -2
  390. package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +1 -1
  391. package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +44 -110
  392. package/esm/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +2 -0
  393. package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +29 -29
  394. package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
  395. package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +5 -5
  396. package/esm/dataGrid/withSelectableRows/withSelectableRows.js +4 -3
  397. package/esm/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +2 -2
  398. package/esm/dateInputInner/dateInputInner.js +7 -7
  399. package/esm/dateInputInner/dateInputInnerControlBlock.js +2 -2
  400. package/esm/dateInputRaw/dateInputRaw.js +4 -4
  401. package/esm/dateInputRaw/utils/getLabel.js +2 -2
  402. package/esm/dateRangeInner/dateRangeInner.js +6 -3
  403. package/esm/dateRangeRaw/dateRangeRaw.d.ts +1 -0
  404. package/esm/dateRangeRaw/dateRangeRaw.js +21 -15
  405. package/esm/dateRangeRaw/types.d.ts +1 -0
  406. package/esm/dateRangeRaw/utils/dateRangeUtils.js +17 -17
  407. package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
  408. package/esm/dateSelectionWrapper/dateSelectionWrapper.js +4 -4
  409. package/esm/dialog/dialogContent.js +1 -1
  410. package/esm/dropdown/dropdownTrigger.d.ts +1 -1
  411. package/esm/dropdownRaw/dropdownList.js +9 -9
  412. package/esm/dropdownRaw/dropdownPopup.js +3 -3
  413. package/esm/dropdownRaw/dropdownRaw.js +34 -17
  414. package/esm/dropdownRaw/dropdownSearchableTrigger.d.ts +2 -1
  415. package/esm/dropdownRaw/dropdownSearchableTrigger.js +8 -6
  416. package/esm/dropdownRaw/dropdownTrigger.d.ts +2 -1
  417. package/esm/dropdownRaw/dropdownTrigger.js +2 -2
  418. package/esm/dropdownRaw/types.d.ts +2 -0
  419. package/esm/favoriteButton/favoriteButton.js +1 -1
  420. package/esm/fileUpload/components/dropZoneContent.js +104 -104
  421. package/esm/fileUpload/components/templateDownloadSection.js +1 -1
  422. package/esm/fileUpload/components/uploadedFilesSection.js +2 -2
  423. package/esm/fileUpload/fileUpload.js +106 -106
  424. package/esm/filterButton/filterButton.d.ts +1 -0
  425. package/esm/filters/components/filtersContainer.js +2 -2
  426. package/esm/filters/components/filtersDropdown.d.ts +1 -1
  427. package/esm/filters/components/filtersEmptyState.js +2 -2
  428. package/esm/filters/components/filtersSaveModal.js +5 -5
  429. package/esm/filters/components/filtersSavedChipComponent.js +11 -11
  430. package/esm/filters/components/filtersSearchItemData.js +1 -1
  431. package/esm/filters/components/filtersSearchList.js +14 -11
  432. package/esm/filters/components/filtersSelect.js +1 -1
  433. package/esm/filters/components/filtersSelectListItem.js +2 -2
  434. package/esm/filters/components/filtersSidePanel.js +8 -8
  435. package/esm/filters/filters.js +7 -7
  436. package/esm/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
  437. package/esm/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
  438. package/esm/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +18 -18
  439. package/esm/filtersBar/components/resetComponentButton.js +1 -1
  440. package/esm/filtersBar/filtersBarActions/filtersBarActions.js +3 -3
  441. package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
  442. package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +5 -5
  443. package/esm/filtersBar/filtersContainer/filtersContainer.js +62 -61
  444. package/esm/formField/hooks/useError.js +3 -3
  445. package/esm/formField/hooks/useFormFieldProps.d.ts +1 -1
  446. package/esm/formField/hooks/useFormFieldProps.js +4 -2
  447. package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +2 -2
  448. package/esm/formGroup/hooks/useCustomRow.js +46 -32
  449. package/esm/formGroup/hooks/useRowElements.js +9 -6
  450. package/esm/formGroup/hooks/useToggle.js +1 -1
  451. package/esm/formGroup/types.d.ts +4 -0
  452. package/esm/formGroup/utils/normalizeFieldId.d.ts +1 -0
  453. package/esm/formGroup/utils/normalizeFieldId.js +1 -0
  454. package/esm/formGroup/utils/resolveId.d.ts +7 -0
  455. package/esm/formGroup/utils/resolveId.js +2 -0
  456. package/esm/formLayout/components/getLayoutColumns.js +4 -2
  457. package/esm/formLayout/hooks/useError.js +3 -3
  458. package/esm/formLayout/hooks/useErrorSummary.d.ts +6 -0
  459. package/esm/formLayout/hooks/useErrorSummary.js +30 -0
  460. package/esm/formLayout/hooks/useFormButtons.js +3 -3
  461. package/esm/formLayout/utils/applyGridPropsStatic.js +1 -1
  462. package/esm/formLayout/utils/flattenErrors.d.ts +5 -0
  463. package/esm/formLayout/utils/flattenErrors.js +10 -0
  464. package/esm/formLayout/utils/getChildrenWithCustomColumns.js +3 -0
  465. package/esm/formLayout/utils/getFieldLabel.d.ts +1 -0
  466. package/esm/formLayout/utils/getFieldLabel.js +22 -0
  467. package/esm/formSection/hooks/useError.js +3 -3
  468. package/esm/formStepper/components/formStep.js +1 -1
  469. package/esm/formStepper/formStepper.js +2 -2
  470. package/esm/formStepperButtons/formStepperButtons.js +8 -5
  471. package/esm/gridLayout/hooks/useGridClasses.js +3 -9
  472. package/esm/groupButtonRaw/groupButtonRaw.js +2 -2
  473. package/esm/groupButtonRaw/types.d.ts +1 -0
  474. package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +8 -5
  475. package/esm/groupsFilterRaw/groupsFilterBox.js +3 -3
  476. package/esm/groupsFilterRaw/groupsFilterCommon.js +2 -2
  477. package/esm/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +5 -5
  478. package/esm/groupsFilterRaw/groupsFilterHelper.js +2 -2
  479. package/esm/groupsFilterRaw/groupsFilterInitialState.js +12 -9
  480. package/esm/groupsFilterRaw/groupsFilterMenu.js +3 -3
  481. package/esm/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
  482. package/esm/groupsFilterRaw/groupsFilterRaw.js +15 -10
  483. package/esm/groupsFilterRaw/groupsFilterTrigger.d.ts +2 -1
  484. package/esm/groupsFilterRaw/groupsFilterTrigger.js +8 -5
  485. package/esm/groupsFilterRaw/groupsHelper.js +22 -22
  486. package/esm/groupsFilterRaw/types.d.ts +2 -0
  487. package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
  488. package/esm/header/components/mobileFilterControl/mobileFilterControl.js +1 -1
  489. package/esm/header/components/mobileSearchControl/mobileSearchControl.js +3 -3
  490. package/esm/header/header.js +2 -2
  491. package/esm/header/headerBack.js +5 -2
  492. package/esm/header/headerHelpers.d.ts +1 -0
  493. package/esm/header/headerHelpers.js +8 -0
  494. package/esm/header/hooks/useNonFittingElements.js +1 -1
  495. package/esm/icons/iconAlignLeft.js +1 -3
  496. package/esm/icons/iconAlignmentLeft.js +1 -3
  497. package/esm/icons/iconAlignmentRight.js +1 -3
  498. package/esm/icons/iconArrowBottomLeft.js +1 -3
  499. package/esm/icons/iconArrowBottomRight.js +1 -3
  500. package/esm/icons/iconArrowLeftPath.js +1 -3
  501. package/esm/icons/iconArrowRight.js +1 -3
  502. package/esm/icons/iconArrowRightCircle.js +1 -3
  503. package/esm/icons/iconArrowRightPath.js +1 -3
  504. package/esm/icons/iconArrowTopLeft.js +1 -3
  505. package/esm/icons/iconArrowTopRight.js +1 -3
  506. package/esm/icons/iconChevronDoubleRight.js +1 -3
  507. package/esm/icons/iconChevronRight.js +1 -3
  508. package/esm/icons/iconChevronRightSmall.js +1 -3
  509. package/esm/icons/iconCornerDownLeft.js +1 -3
  510. package/esm/icons/iconCornerDownRight.js +1 -3
  511. package/esm/icons/iconCornerLeftDown.js +1 -3
  512. package/esm/icons/iconCornerLeftUp.js +1 -3
  513. package/esm/icons/iconCornerRightDown.js +1 -3
  514. package/esm/icons/iconCornerRightUp.js +1 -3
  515. package/esm/icons/iconCornerUpLeft.js +1 -3
  516. package/esm/icons/iconCornerUpRight.js +1 -3
  517. package/esm/index.d.ts +1 -0
  518. package/esm/index.js +1 -0
  519. package/esm/lineChartMini/lineChartMini.js +15 -3
  520. package/esm/list/itemData/itemDataInternal.js +6 -3
  521. package/esm/list/listItem/listItem.js +6 -3
  522. package/esm/menu/components/controlledMenuList/controlledMenuList.js +4 -1
  523. package/esm/menu/components/menuButton.d.ts +2 -1
  524. package/esm/menu/components/menuButton.js +7 -4
  525. package/esm/menu/components/menuErrorItem.js +2 -2
  526. package/esm/menu/components/menuItem.js +4 -4
  527. package/esm/menu/utils/useMenuItemCore.js +1 -3
  528. package/esm/miniTabs/miniTabs.d.ts +1 -0
  529. package/esm/miniTabs/miniTabs.js +1 -1
  530. package/esm/miniTabs/miniTabsHeaderItem.d.ts +2 -1
  531. package/esm/miniTabs/miniTabsHeaderItem.js +1 -1
  532. package/esm/miniTabs/miniTabsItem.d.ts +1 -0
  533. package/esm/mobileSheet/mobileSheet.js +2 -2
  534. package/esm/modal/modal.js +1 -1
  535. package/esm/nav/navFooter/navEditFooter/navEditFooter.js +2 -2
  536. package/esm/nav/navFooter/navFooter.js +1 -1
  537. package/esm/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
  538. package/esm/nav/navHeader/navHeader.js +2 -2
  539. package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +2 -2
  540. package/esm/nav/navItem/navItem.js +4 -1
  541. package/esm/nav/navMobileBar/navMobileBar.js +1 -1
  542. package/esm/notification/notification.js +1 -1
  543. package/esm/pagination/paginationArrow.js +12 -5
  544. package/esm/pagination/paginationText/paginationText.js +1 -1
  545. package/esm/pill/components/pillNonActionable/pillNonActionable.js +1 -1
  546. package/esm/pillBox/components/pillBoxItem.js +1 -1
  547. package/esm/pillBox/pillBox.js +3 -3
  548. package/esm/pillExpandable/pillContent.js +12 -3
  549. package/esm/pillExpandable/pillExpandable.d.ts +4 -1
  550. package/esm/pillExpandable/pillExpandable.js +5 -3
  551. package/esm/pillExpandable/pillExpandableSimple.d.ts +1 -1
  552. package/esm/pillExpandable/pillExpandableSimple.js +4 -4
  553. package/esm/radioGroupRaw/radioGroupRaw.js +2 -1
  554. package/esm/rangeRaw/rangeRaw.js +7 -8
  555. package/esm/rangeRaw/utils/rangeHelper.js +7 -7
  556. package/esm/searchInputRaw/searchInputRaw.js +6 -3
  557. package/esm/selectList/selectList.js +2 -2
  558. package/esm/selectList/selectListItem.js +4 -1
  559. package/esm/skeleton/skeleton.js +1 -1
  560. package/esm/sortControl/sortControl.js +6 -7
  561. package/esm/stepperRaw/stepperRaw.js +3 -0
  562. package/esm/summary/summary.js +2 -2
  563. package/esm/summaryTile/summaryTile.d.ts +4 -2
  564. package/esm/summaryTile/summaryTile.js +59 -26
  565. package/esm/summaryTileBar/summaryTileBar.d.ts +4 -2
  566. package/esm/summaryTileBar/summaryTileBar.js +2 -2
  567. package/esm/table/actions/actionsMenu.js +2 -2
  568. package/esm/table/children/useTableChildren.d.ts +1 -1
  569. package/esm/table/children/useTableChildren.js +3 -3
  570. package/esm/table/detailPanel/detailPanel.js +1 -1
  571. package/esm/table/detailPanel/detailPanelHeader.js +2 -2
  572. package/esm/table/flexible/columnSettings.js +2 -2
  573. package/esm/table/flexible/columnsList.js +46 -111
  574. package/esm/table/flexible/columnsPopup.d.ts +1 -1
  575. package/esm/table/flexible/columnsPopup.js +1 -1
  576. package/esm/table/nested/useNestedRows.js +2 -2
  577. package/esm/table/selectable/selectableHeader.js +5 -4
  578. package/esm/table/selectable/useSelectableRows.d.ts +8 -0
  579. package/esm/table/selectable/useSelectableRows.js +16 -8
  580. package/esm/table/sortable/mobileSortControl.js +1 -1
  581. package/esm/table/sortable/sortableHeader.js +2 -2
  582. package/esm/table/table.js +3 -9
  583. package/esm/tabs/tabItem/tabItem.d.ts +2 -1
  584. package/esm/tabs/tabItem/tabItem.js +7 -2
  585. package/esm/tabs/tabs.d.ts +2 -1
  586. package/esm/tabs/tabs.js +71 -61
  587. package/esm/tabs/tabsTestHelper.js +2 -2
  588. package/esm/testHelpers/mockAbsoluteAlignment.d.ts +1 -0
  589. package/esm/testHelpers/mockAbsoluteAlignment.js +10 -0
  590. package/esm/timePickerRaw/timePickerRaw.js +11 -9
  591. package/esm/timePickerRaw/types.d.ts +1 -0
  592. package/esm/toastRaw/toastRaw.js +1 -1
  593. package/esm/toggleButtonRaw/toggleButtonRaw.js +7 -4
  594. package/esm/tooltip/tooltip.js +13 -5
  595. package/esm/utils/formatDate.js +37 -37
  596. package/esm/utils/localization/flipAlignment.js +12 -1
  597. package/esm/utils/localization/languageContext.d.ts +1 -1
  598. package/esm/utils/localization/translations/cs.json +7 -5
  599. package/esm/utils/localization/translations/da-DK.json +7 -5
  600. package/esm/utils/localization/translations/de.json +7 -5
  601. package/esm/utils/localization/translations/en.json +12 -1
  602. package/esm/utils/localization/translations/es.json +7 -5
  603. package/esm/utils/localization/translations/fi-FI.json +7 -5
  604. package/esm/utils/localization/translations/fr-FR.json +7 -5
  605. package/esm/utils/localization/translations/fr.json +7 -5
  606. package/esm/utils/localization/translations/hu-HU.json +7 -5
  607. package/esm/utils/localization/translations/id.json +7 -5
  608. package/esm/utils/localization/translations/it.json +7 -5
  609. package/esm/utils/localization/translations/ja.json +7 -5
  610. package/esm/utils/localization/translations/ko-KR.json +7 -5
  611. package/esm/utils/localization/translations/ms.json +7 -5
  612. package/esm/utils/localization/translations/nb-NO.json +7 -5
  613. package/esm/utils/localization/translations/nl.json +7 -5
  614. package/esm/utils/localization/translations/pl.json +7 -5
  615. package/esm/utils/localization/translations/pt-BR.json +7 -5
  616. package/esm/utils/localization/translations/pt-PT.json +7 -5
  617. package/esm/utils/localization/translations/ro-RO.json +7 -5
  618. package/esm/utils/localization/translations/sk-SK.json +7 -5
  619. package/esm/utils/localization/translations/sv.json +7 -5
  620. package/esm/utils/localization/translations/th.json +7 -5
  621. package/esm/utils/localization/translations/tr.json +7 -5
  622. package/esm/utils/localization/translations/zh-Hans.json +7 -5
  623. package/esm/utils/localization/translations/zh-TW.json +7 -5
  624. package/esm/utils/localization/useDirectionalIcon.d.ts +3 -0
  625. package/esm/utils/localization/useDirectionalIcon.js +5 -0
  626. package/esm/utils/positioningUtils/alignments.d.ts +2 -2
  627. package/esm/utils/positioningUtils/alignments.js +2 -2
  628. package/esm/utils/positioningUtils/calculatePosition.d.ts +2 -1
  629. package/esm/utils/positioningUtils/calculatePosition.js +11 -11
  630. package/esm/utils/positioningUtils/normalizeLogicalAlignment.d.ts +4 -0
  631. package/esm/utils/positioningUtils/normalizeLogicalAlignment.js +32 -0
  632. package/package.json +11 -12
  633. package/dist/utils/localization/translations/en-json.d.ts +0 -317
  634. package/dist/utils/localization/translations/en-json.js +0 -320
  635. package/esm/utils/localization/translations/en-json.d.ts +0 -317
  636. package/esm/utils/localization/translations/en-json.js +0 -317
@@ -56,7 +56,7 @@ injectString("tr", "Filter by group", "Gruba g\xF6re filtrele");
56
56
  injectString("zh-Hans", "Filter by group", "\u6309\u7EC4\u8FC7\u6EE4");
57
57
  injectString("zh-TW", "Filter by group", "\u4F9D\u7FA4\u7D44\u7BE9\u9078");
58
58
  injectString("ro-RO", "Filter by group", "Filtra\u021Bi dup\u0103 grup");
59
- injectString("ar-SA", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
59
+ injectString("ar", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
60
60
  export const DropdownRaw = props => {
61
61
  var _a, _b;
62
62
  const {
@@ -73,6 +73,7 @@ export const DropdownRaw = props => {
73
73
  isLoading,
74
74
  title,
75
75
  triggerAriaLabel,
76
+ id: propId,
76
77
  inputId,
77
78
  filterName,
78
79
  showCounterPill = true,
@@ -101,7 +102,8 @@ export const DropdownRaw = props => {
101
102
  isLoadingError,
102
103
  mobileSheetStackingClassName,
103
104
  isError,
104
- firstParentNodeIsVisible
105
+ firstParentNodeIsVisible,
106
+ dataAnalyticsId
105
107
  } = props;
106
108
  const {
107
109
  isFormSection
@@ -120,7 +122,15 @@ export const DropdownRaw = props => {
120
122
  let onChangeInner, defaultValueInner;
121
123
  if (isFormItemVal) {
122
124
  onChangeInner = val => {
123
- field === null || field === void 0 ? void 0 : field.onChange(val.map(item => item.id));
125
+ if (Array.isArray(val)) {
126
+ field === null || field === void 0 ? void 0 : field.onChange(val.map(item => item.id));
127
+ } else if (typeof val === "object" && val !== null && "selected" in val) {
128
+ field === null || field === void 0 ? void 0 : field.onChange(Object.assign(Object.assign({}, val), {
129
+ selected: val.selected.map(item => item.id)
130
+ }));
131
+ } else {
132
+ field === null || field === void 0 ? void 0 : field.onChange(val);
133
+ }
124
134
  };
125
135
  defaultValueInner = ((_a = props.controller) === null || _a === void 0 ? void 0 : _a.defaultValue) || [];
126
136
  } else {
@@ -469,15 +479,15 @@ export const DropdownRaw = props => {
469
479
  selected: preparedItems,
470
480
  isAllSelected: state.isAllSelected || false
471
481
  };
472
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
482
+ onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
473
483
  } else {
474
484
  const newValue = isCheckboxMode ? {
475
485
  selected: preparedItems,
476
486
  isChecked: state.isChecked
477
487
  } : preparedItems;
478
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
488
+ onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
479
489
  }
480
- }, [state.selectedIds, state.isAllSelected, state.isChecked, state.groupsMap, state.groupsMapSelected, isCheckboxMode, handleClose, isFullSelectionMode, onChange]);
490
+ }, [state.selectedIds, state.isAllSelected, state.isChecked, state.groupsMap, state.groupsMapSelected, isCheckboxMode, handleClose, isFullSelectionMode, onChangeInner]);
481
491
  const customGetData = useCallback(str => str && dataItems ? Promise.resolve(dataItems.filter(el => {
482
492
  var _a;
483
493
  return (((_a = el.name) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) || "").indexOf(str.trim().toLocaleLowerCase()) > -1;
@@ -543,12 +553,18 @@ export const DropdownRaw = props => {
543
553
  }, [setChecked, setSearch]);
544
554
  const debouncedGetData = useDebounce((signal, searchValue, isChecked) => getData ? (isCheckboxMode ? getData(signal, searchValue, isChecked) : getData(signal, searchValue)).then(dta => handleData(dta, searchValue)).catch(handleError) : customGetData(searchValue).then(dta => handleData(dta, searchValue)).catch(handleError), 200);
545
555
  const controlData = useCallback((signal, searchValue, isChecked) => {
546
- !isQueryMode && dispatchState({
547
- type: StateActionType.ShowWaiting,
548
- payload: undefined
549
- });
550
- isQueryMode ? handleQueryMode(searchValue, isChecked) : debouncedGetData(signal, searchValue, isChecked);
551
- }, [debouncedGetData, handleQueryMode, isQueryMode]);
556
+ if (isQueryMode) {
557
+ handleQueryMode(searchValue, isChecked);
558
+ } else if (!getData && dataItems && !searchValue) {
559
+ handleData(dataItems, "");
560
+ } else {
561
+ dispatchState({
562
+ type: StateActionType.ShowWaiting,
563
+ payload: undefined
564
+ });
565
+ debouncedGetData(signal, searchValue, isChecked);
566
+ }
567
+ }, [debouncedGetData, handleData, handleQueryMode, isQueryMode, getData, dataItems]);
552
568
  useEffect(() => {
553
569
  var _a;
554
570
  const timeoutId = (_a = zen.setTimeout) === null || _a === void 0 ? void 0 : _a.call(zen, () => {
@@ -593,15 +609,15 @@ export const DropdownRaw = props => {
593
609
  selected: preparedItems,
594
610
  isAllSelected: state.isAllSelected || false
595
611
  };
596
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
612
+ onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
597
613
  } else {
598
614
  const newValue = isCheckboxMode ? {
599
615
  selected: preparedItems,
600
616
  isChecked: state.isChecked
601
617
  } : preparedItems;
602
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
618
+ onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
603
619
  }
604
- }, [onChangeInner, value, state.selectedIds, state.groupsMapSelected, state.groupsMap, hasApplyButton, state.isAllSelected, isFullSelectionMode, state.isChecked, isCheckboxMode, onChange]);
620
+ }, [onChangeInner, value, state.selectedIds, state.groupsMapSelected, state.groupsMap, hasApplyButton, state.isAllSelected, isFullSelectionMode, state.isChecked, isCheckboxMode]);
605
621
  useEffect(() => {
606
622
  // when change outside
607
623
  const selectedValue = isFullSelectionMode || isCheckboxMode ? value.selected : value;
@@ -931,7 +947,7 @@ export const DropdownRaw = props => {
931
947
  className: classNames([!width && !fullWidthTriggerButton && parentTriggerWidth < 420 && !searchField ? "zen-dropdown__trigger-button--width-parent" : "", isError ? "zen-dropdown__trigger-button--error" : ""]),
932
948
  currentSelection: memoizedCurrentSelection,
933
949
  isActive: state.isOpenCombo,
934
- id: inputId,
950
+ id: inputId || propId,
935
951
  isError: isError,
936
952
  disabled: disabled,
937
953
  count: showCounterPill ? countSelected : 0,
@@ -949,7 +965,8 @@ export const DropdownRaw = props => {
949
965
  buttonType: buttonType,
950
966
  handleFocusOnPopup: handleFocusOnPopup,
951
967
  popupId: memoizedAllyPattern === "selectOnlyCombobox" ? selectListId : popupId,
952
- allyPattern: memoizedAllyPattern
968
+ allyPattern: memoizedAllyPattern,
969
+ dataAnalyticsId: dataAnalyticsId
953
970
  }, accessibilityProps)), _jsx(DropdownPopup, {
954
971
  alignment: alignment,
955
972
  triggerRef: triggerRef,
@@ -21,9 +21,10 @@ interface IDropdownSearchableTrigger {
21
21
  onBlur?: () => void;
22
22
  popupId?: string;
23
23
  handleFocusOnPopup?: () => void;
24
+ dataAnalyticsId?: string;
24
25
  }
25
26
  export declare const DropdownSearchableTrigger: {
26
- ({ value, className, onChange, placeholder, isOpenPopup, inputRef, handleClick, width, title, id, disabled, count, currentSelection, isError, fullWidth, ref, name, onBlur, popupId, handleFocusOnPopup, ...otherProps }: IDropdownSearchableTrigger): import("react/jsx-runtime").JSX.Element;
27
+ ({ value, className, onChange, placeholder, isOpenPopup, inputRef, handleClick, width, title, id, disabled, count, currentSelection, isError, fullWidth, ref, name, onBlur, popupId, handleFocusOnPopup, dataAnalyticsId, ...otherProps }: IDropdownSearchableTrigger): import("react/jsx-runtime").JSX.Element;
27
28
  displayName: string;
28
29
  };
29
30
  export declare const TRANSLATIONS: string[];
@@ -43,7 +43,7 @@ injectString("tr", "Filter by group", "Gruba g\xF6re filtrele");
43
43
  injectString("zh-Hans", "Filter by group", "\u6309\u7EC4\u8FC7\u6EE4");
44
44
  injectString("zh-TW", "Filter by group", "\u4F9D\u7FA4\u7D44\u7BE9\u9078");
45
45
  injectString("ro-RO", "Filter by group", "Filtra\u021Bi dup\u0103 grup");
46
- injectString("ar-SA", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
46
+ injectString("ar", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
47
47
  injectString("cs", "Clear search", "Vymazat vyhled\xE1v\xE1n\xED");
48
48
  injectString("da-DK", "Clear search", "Ryd s\xF8gning");
49
49
  injectString("de", "Clear search", "Suche l\xF6schen");
@@ -70,7 +70,7 @@ injectString("tr", "Clear search", "Aramay\u0131 temizle");
70
70
  injectString("zh-Hans", "Clear search", "\u6E05\u9664\u641C\u7D22");
71
71
  injectString("zh-TW", "Clear search", "\u6E05\u9664\u641C\u5C0B");
72
72
  injectString("ro-RO", "Clear search", "\u0218terge\u021Bi c\u0103utarea");
73
- injectString("ar-SA", "Clear search", "\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B");
73
+ injectString("ar", "Clear search", "\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B");
74
74
  injectString("cs", "Close filter", "Zav\u0159\xEDt filtr");
75
75
  injectString("da-DK", "Close filter", "Luk filter");
76
76
  injectString("de", "Close filter", "Filter schlie\xDFen");
@@ -97,7 +97,7 @@ injectString("tr", "Close filter", "Filtreyi kapat");
97
97
  injectString("zh-Hans", "Close filter", "\u5173\u95ED\u7B5B\u9009\u5668");
98
98
  injectString("zh-TW", "Close filter", "\u95DC\u9589\u7BE9\u9078\u5668");
99
99
  injectString("ro-RO", "Close filter", "\xCEnchide\u021Bi filtrul");
100
- injectString("ar-SA", "Close filter", "\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u062A\u0635\u0641\u064A\u0629");
100
+ injectString("ar", "Close filter", "\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u062A\u0635\u0641\u064A\u0629");
101
101
  injectString("cs", "Open filter", "Otev\u0159\xEDt filtr");
102
102
  injectString("da-DK", "Open filter", "\xC5bn filter");
103
103
  injectString("de", "Open filter", "Filter \xF6ffnen");
@@ -124,7 +124,7 @@ injectString("tr", "Open filter", "Filtreyi a\xE7");
124
124
  injectString("zh-Hans", "Open filter", "\u6253\u5F00\u7B5B\u9009\u5668");
125
125
  injectString("zh-TW", "Open filter", "\u958B\u555F\u7BE9\u9078\u689D\u4EF6");
126
126
  injectString("ro-RO", "Open filter", "Deschide\u021Bi filtrul");
127
- injectString("ar-SA", "Open filter", "\u0641\u062A\u062D \u0627\u0644\u062A\u0635\u0641\u064A\u0629");
127
+ injectString("ar", "Open filter", "\u0641\u062A\u062D \u0627\u0644\u062A\u0635\u0641\u064A\u0629");
128
128
  export const DropdownSearchableTrigger = _a => {
129
129
  var {
130
130
  value,
@@ -146,9 +146,10 @@ export const DropdownSearchableTrigger = _a => {
146
146
  name,
147
147
  onBlur,
148
148
  popupId,
149
- handleFocusOnPopup
149
+ handleFocusOnPopup,
150
+ dataAnalyticsId
150
151
  } = _a,
151
- otherProps = __rest(_a, ["value", "className", "onChange", "placeholder", "isOpenPopup", "inputRef", "handleClick", "width", "title", "id", "disabled", "count", "currentSelection", "isError", "fullWidth", "ref", "name", "onBlur", "popupId", "handleFocusOnPopup"])
152
+ otherProps = __rest(_a, ["value", "className", "onChange", "placeholder", "isOpenPopup", "inputRef", "handleClick", "width", "title", "id", "disabled", "count", "currentSelection", "isError", "fullWidth", "ref", "name", "onBlur", "popupId", "handleFocusOnPopup", "dataAnalyticsId"])
152
153
  // eslint-disable-next-line complexity
153
154
  ;
154
155
  const {
@@ -201,6 +202,7 @@ export const DropdownSearchableTrigger = _a => {
201
202
  ref: ref
202
203
  }, otherProps, {
203
204
  onClick: disabled ? () => {} : clickHandler,
205
+ "data-analytics-id": dataAnalyticsId,
204
206
  children: [_jsxs("div", {
205
207
  onBlur: onBlur,
206
208
  className: classNames(["zen-dropdown-searchable-trigger__search-container", className]),
@@ -25,6 +25,7 @@ export interface IDropdownTrigger extends IZenComponentProps {
25
25
  popupId?: string;
26
26
  handleFocusOnPopup?: () => void;
27
27
  allyPattern?: "selectOnlyCombobox" | "comboboxWithDialog" | "buttonWithDialog" | "buttonWithMenu";
28
+ dataAnalyticsId?: string;
28
29
  }
29
- export declare const DropdownTrigger: ({ name, onBlur, isActive, id, triggerRef, searchField, placeholder, disabled, fullWidth, currentSelection, handleClick, inputValue, className, onSearchChange, width, title, triggerAriaLabel, count, inputRef, buttonType, isError, popupId, handleFocusOnPopup, allyPattern, ...otherProps }: IDropdownTrigger) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const DropdownTrigger: ({ name, onBlur, isActive, id, triggerRef, searchField, placeholder, disabled, fullWidth, currentSelection, handleClick, inputValue, className, onSearchChange, width, title, triggerAriaLabel, count, inputRef, buttonType, isError, popupId, handleFocusOnPopup, allyPattern, dataAnalyticsId, ...otherProps }: IDropdownTrigger) => import("react/jsx-runtime").JSX.Element;
30
31
  export declare const TRANSLATIONS: string[];
@@ -16,13 +16,13 @@ import { useMemo, useRef } from "react";
16
16
  import { classNames } from "../commonHelpers/classNames/classNames";
17
17
  import { getAllyTriggerProps } from "./dropdownHelper";
18
18
  export const DropdownTrigger = (_a) => {
19
- var { name, onBlur, isActive, id, triggerRef, searchField, placeholder, disabled, fullWidth, currentSelection, handleClick, inputValue, className, onSearchChange = () => { }, width, title, triggerAriaLabel, count, inputRef, buttonType, isError, popupId, handleFocusOnPopup, allyPattern = "buttonWithDialog" } = _a, otherProps = __rest(_a, ["name", "onBlur", "isActive", "id", "triggerRef", "searchField", "placeholder", "disabled", "fullWidth", "currentSelection", "handleClick", "inputValue", "className", "onSearchChange", "width", "title", "triggerAriaLabel", "count", "inputRef", "buttonType", "isError", "popupId", "handleFocusOnPopup", "allyPattern"]);
19
+ var { name, onBlur, isActive, id, triggerRef, searchField, placeholder, disabled, fullWidth, currentSelection, handleClick, inputValue, className, onSearchChange = () => { }, width, title, triggerAriaLabel, count, inputRef, buttonType, isError, popupId, handleFocusOnPopup, allyPattern = "buttonWithDialog", dataAnalyticsId } = _a, otherProps = __rest(_a, ["name", "onBlur", "isActive", "id", "triggerRef", "searchField", "placeholder", "disabled", "fullWidth", "currentSelection", "handleClick", "inputValue", "className", "onSearchChange", "width", "title", "triggerAriaLabel", "count", "inputRef", "buttonType", "isError", "popupId", "handleFocusOnPopup", "allyPattern", "dataAnalyticsId"]);
20
20
  const elInpRef = useRef(null);
21
21
  const handleButtonClick = () => {
22
22
  handleClick(!isActive);
23
23
  };
24
24
  const allyTriggerProps = useMemo(() => getAllyTriggerProps(allyPattern), [allyPattern]);
25
- return (_jsx(_Fragment, { children: searchField ? (_jsx(DropdownSearchableTrigger, Object.assign({ value: inputValue || "", name: name, onChange: onSearchChange, isOpenPopup: isActive, inputRef: inputRef || elInpRef, handleClick: handleClick, handleFocusOnPopup: handleFocusOnPopup, ref: triggerRef, width: width, placeholder: placeholder, disabled: disabled, id: id, title: title, count: count, currentSelection: currentSelection, className: className, isError: isError, fullWidth: fullWidth, popupId: popupId }, otherProps))) : (_jsx(FilterButton, Object.assign({ ref: triggerRef, id: id, name: name, onBlur: onBlur, className: classNames(["zen-dropdown__trigger-button", isError ? "zen-dropdown__trigger-button--error" : "", className || ""]), onClick: handleButtonClick, disabled: disabled, isActive: isActive, fullWidth: width ? true : fullWidth, maxWidth: width, minWidth: width, quantity: count || undefined, type: buttonType, title: title, ariaLabel: triggerAriaLabel || currentSelection || placeholder, "aria-expanded": isActive, "aria-controls": popupId }, allyTriggerProps, otherProps, { children: currentSelection ? (_jsx("span", { className: classNames([
25
+ return (_jsx(_Fragment, { children: searchField ? (_jsx(DropdownSearchableTrigger, Object.assign({ value: inputValue || "", name: name, onChange: onSearchChange, isOpenPopup: isActive, inputRef: inputRef || elInpRef, handleClick: handleClick, handleFocusOnPopup: handleFocusOnPopup, ref: triggerRef, width: width, placeholder: placeholder, disabled: disabled, id: id, title: title, count: count, currentSelection: currentSelection, className: className, isError: isError, fullWidth: fullWidth, popupId: popupId, dataAnalyticsId: dataAnalyticsId }, otherProps))) : (_jsx(FilterButton, Object.assign({ ref: triggerRef, id: id, name: name, onBlur: onBlur, className: classNames(["zen-dropdown__trigger-button", isError ? "zen-dropdown__trigger-button--error" : "", className || ""]), onClick: handleButtonClick, disabled: disabled, isActive: isActive, fullWidth: width ? true : fullWidth, maxWidth: width, minWidth: width, quantity: count || undefined, type: buttonType, title: title, ariaLabel: triggerAriaLabel || currentSelection || placeholder, "aria-expanded": isActive, "aria-controls": popupId }, allyTriggerProps, { dataAnalyticsId: dataAnalyticsId }, otherProps, { children: currentSelection ? (_jsx("span", { className: classNames([
26
26
  "zen-dropdown__trigger-button-text",
27
27
  buttonType ? `zen-dropdown__trigger-button-text--${buttonType.toString()}` : ""
28
28
  ]), children: currentSelection })) : (placeholder) }))) }));
@@ -24,6 +24,7 @@ interface IFetchState<T> {
24
24
  export interface IFetchDropdownState extends IFetchState<IDropdownRawItem[]> {
25
25
  }
26
26
  interface IDropdownBase extends IChipsParent {
27
+ id?: string;
27
28
  /**
28
29
  * @deprecated
29
30
  * @param translate - will be removed in the next major release
@@ -60,6 +61,7 @@ interface IDropdownBase extends IChipsParent {
60
61
  fetchState?: IFetchDropdownState;
61
62
  mobileSheetStackingClassName?: string;
62
63
  firstParentNodeIsVisible?: boolean;
64
+ dataAnalyticsId?: string;
63
65
  }
64
66
  interface IDropdownBaseDefault {
65
67
  disabled?: boolean;
@@ -35,7 +35,7 @@ injectString("tr", "Favorite", "Favori");
35
35
  injectString("zh-Hans", "Favorite", "\u6536\u85CF");
36
36
  injectString("zh-TW", "Favorite", "\u6211\u7684\u6700\u611B");
37
37
  injectString("ro-RO", "Favorite", "Preferat");
38
- injectString("ar-SA", "Favorite", "\u0627\u0644\u0645\u0641\u0636\u0644\u0629");
38
+ injectString("ar", "Favorite", "\u0627\u0644\u0645\u0641\u0636\u0644\u0629");
39
39
  export const FavoriteButton = ({
40
40
  isFavorite,
41
41
  onChange,
@@ -4,114 +4,114 @@ import { Button } from "../../button/button";
4
4
  import { ButtonType } from "../../button/buttonType";
5
5
  import { ImageCloudUpload } from "../../images/imageCloudUpload";
6
6
  import { ImageTapToUpload } from "../../images/imageTapToUpload";
7
- injectString("cs", "Tap to add files", "Tap to add files");
8
- injectString("da-DK", "Tap to add files", "Tap to add files");
9
- injectString("de", "Tap to add files", "Tap to add files");
7
+ injectString("cs", "Tap to add files", "Klepnut\xEDm p\u0159idejte soubory");
8
+ injectString("da-DK", "Tap to add files", "Tryk for at tilf\xF8je filer");
9
+ injectString("de", "Tap to add files", "Tippen, um Dateien hinzuzuf\xFCgen");
10
10
  injectString("en", "Tap to add files", "Tap to add files");
11
- injectString("es", "Tap to add files", "Tap to add files");
12
- injectString("fi-FI", "Tap to add files", "Tap to add files");
13
- injectString("fr", "Tap to add files", "Tap to add files");
14
- injectString("fr-FR", "Tap to add files", "Tap to add files");
15
- injectString("hu-HU", "Tap to add files", "Tap to add files");
16
- injectString("id", "Tap to add files", "Tap to add files");
17
- injectString("it", "Tap to add files", "Tap to add files");
18
- injectString("ja", "Tap to add files", "Tap to add files");
19
- injectString("ko-KR", "Tap to add files", "Tap to add files");
20
- injectString("ms", "Tap to add files", "Tap to add files");
21
- injectString("nb-NO", "Tap to add files", "Tap to add files");
22
- injectString("nl", "Tap to add files", "Tap to add files");
23
- injectString("pl", "Tap to add files", "Tap to add files");
24
- injectString("pt-BR", "Tap to add files", "Tap to add files");
25
- injectString("pt-PT", "Tap to add files", "Tap to add files");
26
- injectString("sk-SK", "Tap to add files", "Tap to add files");
27
- injectString("sv", "Tap to add files", "Tap to add files");
28
- injectString("th", "Tap to add files", "Tap to add files");
29
- injectString("tr", "Tap to add files", "Tap to add files");
30
- injectString("zh-Hans", "Tap to add files", "Tap to add files");
31
- injectString("zh-TW", "Tap to add files", "Tap to add files");
32
- injectString("ro-RO", "Tap to add files", "Tap to add files");
33
- injectString("ar-SA", "Tap to add files", "\u0627\u0646\u0642\u0631 \u0644\u0625\u0636\u0627\u0641\u0629 \u0645\u0644\u0641\u0627\u062A");
34
- injectString("cs", "Drag & drop files or", "Drag & drop files or");
35
- injectString("da-DK", "Drag & drop files or", "Drag & drop files or");
36
- injectString("de", "Drag & drop files or", "Drag & drop files or");
11
+ injectString("es", "Tap to add files", "Toca para agregar archivos");
12
+ injectString("fi-FI", "Tap to add files", "Lis\xE4\xE4 tiedostoja napauttamalla");
13
+ injectString("fr", "Tap to add files", "Appuyez pour ajouter des fichiers");
14
+ injectString("fr-FR", "Tap to add files", "Appuyez pour ajouter des fichiers");
15
+ injectString("hu-HU", "Tap to add files", "F\xE1jlok hozz\xE1ad\xE1s\xE1hoz koppintson");
16
+ injectString("id", "Tap to add files", "Ketuk untuk menambahkan file");
17
+ injectString("it", "Tap to add files", "Tocca per aggiungere file");
18
+ injectString("ja", "Tap to add files", "\u30BF\u30C3\u30D7\u3057\u3066\u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0");
19
+ injectString("ko-KR", "Tap to add files", "\uD0ED\uD558\uC5EC \uD30C\uC77C \uCD94\uAC00");
20
+ injectString("ms", "Tap to add files", "Ketik untuk menambah fail");
21
+ injectString("nb-NO", "Tap to add files", "Trykk for \xE5 legge til filer");
22
+ injectString("nl", "Tap to add files", "Tik om bestanden toe te voegen");
23
+ injectString("pl", "Tap to add files", "Dotknij, aby doda\u0107 pliki");
24
+ injectString("pt-BR", "Tap to add files", "Toque para adicionar arquivos");
25
+ injectString("pt-PT", "Tap to add files", "Toque para adicionar ficheiros");
26
+ injectString("sk-SK", "Tap to add files", "Klepnut\xEDm pridajte s\xFAbory");
27
+ injectString("sv", "Tap to add files", "Tryck f\xF6r att l\xE4gga till filer");
28
+ injectString("th", "Tap to add files", "\u0E41\u0E15\u0E30\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E44\u0E1F\u0E25\u0E4C");
29
+ injectString("tr", "Tap to add files", "Dosya eklemek i\xE7in dokunun");
30
+ injectString("zh-Hans", "Tap to add files", "\u70B9\u51FB\u6DFB\u52A0\u6587\u4EF6");
31
+ injectString("zh-TW", "Tap to add files", "\u9EDE\u9078\u4EE5\u65B0\u589E\u6A94\u6848");
32
+ injectString("ro-RO", "Tap to add files", "Atinge\u021Bi pentru a ad\u0103uga fi\u0219iere");
33
+ injectString("ar", "Tap to add files", "\u0627\u0646\u0642\u0631 \u0644\u0625\u0636\u0627\u0641\u0629 \u0645\u0644\u0641\u0627\u062A");
34
+ injectString("cs", "Drag & drop files or", "P\u0159et\xE1hn\u011Bte soubory nebo");
35
+ injectString("da-DK", "Drag & drop files or", "Tr\xE6k og slip filer eller");
36
+ injectString("de", "Drag & drop files or", "Dateien hierher ziehen oder");
37
37
  injectString("en", "Drag & drop files or", "Drag & drop files or");
38
- injectString("es", "Drag & drop files or", "Drag & drop files or");
39
- injectString("fi-FI", "Drag & drop files or", "Drag & drop files or");
40
- injectString("fr", "Drag & drop files or", "Drag & drop files or");
41
- injectString("fr-FR", "Drag & drop files or", "Drag & drop files or");
42
- injectString("hu-HU", "Drag & drop files or", "Drag & drop files or");
43
- injectString("id", "Drag & drop files or", "Drag & drop files or");
44
- injectString("it", "Drag & drop files or", "Drag & drop files or");
45
- injectString("ja", "Drag & drop files or", "Drag & drop files or");
46
- injectString("ko-KR", "Drag & drop files or", "Drag & drop files or");
47
- injectString("ms", "Drag & drop files or", "Drag & drop files or");
48
- injectString("nb-NO", "Drag & drop files or", "Drag & drop files or");
49
- injectString("nl", "Drag & drop files or", "Drag & drop files or");
50
- injectString("pl", "Drag & drop files or", "Drag & drop files or");
51
- injectString("pt-BR", "Drag & drop files or", "Drag & drop files or");
52
- injectString("pt-PT", "Drag & drop files or", "Drag & drop files or");
53
- injectString("sk-SK", "Drag & drop files or", "Drag & drop files or");
54
- injectString("sv", "Drag & drop files or", "Drag & drop files or");
55
- injectString("th", "Drag & drop files or", "Drag & drop files or");
56
- injectString("tr", "Drag & drop files or", "Drag & drop files or");
57
- injectString("zh-Hans", "Drag & drop files or", "Drag & drop files or");
58
- injectString("zh-TW", "Drag & drop files or", "Drag & drop files or");
59
- injectString("ro-RO", "Drag & drop files or", "Drag & drop files or");
60
- injectString("ar-SA", "Drag & drop files or", "\u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0623\u0648");
61
- injectString("cs", "Browse", "Browse");
62
- injectString("da-DK", "Browse", "Browse");
63
- injectString("de", "Browse", "Browse");
38
+ injectString("es", "Drag & drop files or", "Arrastrar y soltar archivos o");
39
+ injectString("fi-FI", "Drag & drop files or", "Ved\xE4 ja pudota tiedostoja tai");
40
+ injectString("fr", "Drag & drop files or", "Glisser-d\xE9poser des fichiers ou");
41
+ injectString("fr-FR", "Drag & drop files or", "Glisser-d\xE9poser des fichiers ou");
42
+ injectString("hu-HU", "Drag & drop files or", "H\xFAzza ide a f\xE1jlokat, vagy");
43
+ injectString("id", "Drag & drop files or", "Seret & lepas file atau");
44
+ injectString("it", "Drag & drop files or", "Trascina e rilascia i file o");
45
+ injectString("ja", "Drag & drop files or", "\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3059\u308B\u304B\u3001");
46
+ injectString("ko-KR", "Drag & drop files or", "\uD30C\uC77C\uC744 \uB4DC\uB798\uADF8 \uC564 \uB4DC\uB86D\uD558\uAC70\uB098");
47
+ injectString("ms", "Drag & drop files or", "Seret & lepas fail atau");
48
+ injectString("nb-NO", "Drag & drop files or", "Dra og slipp filer eller");
49
+ injectString("nl", "Drag & drop files or", "Bestanden slepen en neerzetten of");
50
+ injectString("pl", "Drag & drop files or", "Przeci\u0105gnij i upu\u015B\u0107 pliki lub");
51
+ injectString("pt-BR", "Drag & drop files or", "Arraste e solte arquivos ou");
52
+ injectString("pt-PT", "Drag & drop files or", "Arraste e largue ficheiros ou");
53
+ injectString("sk-SK", "Drag & drop files or", "Presu\u0148te s\xFAbory alebo");
54
+ injectString("sv", "Drag & drop files or", "Dra och sl\xE4pp filer eller");
55
+ injectString("th", "Drag & drop files or", "\u0E25\u0E32\u0E01\u0E41\u0E25\u0E30\u0E27\u0E32\u0E07\u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D");
56
+ injectString("tr", "Drag & drop files or", "Dosyalar\u0131 s\xFCr\xFCkleyip b\u0131rak\u0131n veya");
57
+ injectString("zh-Hans", "Drag & drop files or", "\u62D6\u653E\u6587\u4EF6\u6216");
58
+ injectString("zh-TW", "Drag & drop files or", "\u62D6\u653E\u6A94\u6848\u6216");
59
+ injectString("ro-RO", "Drag & drop files or", "Glisa\u021Bi \u0219i fixa\u021Bi fi\u0219iere sau");
60
+ injectString("ar", "Drag & drop files or", "\u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0623\u0648");
61
+ injectString("cs", "Browse", "Proch\xE1zet");
62
+ injectString("da-DK", "Browse", "Gennemse");
63
+ injectString("de", "Browse", "Durchsuchen");
64
64
  injectString("en", "Browse", "Browse");
65
- injectString("es", "Browse", "Browse");
66
- injectString("fi-FI", "Browse", "Browse");
67
- injectString("fr", "Browse", "Browse");
68
- injectString("fr-FR", "Browse", "Browse");
69
- injectString("hu-HU", "Browse", "Browse");
70
- injectString("id", "Browse", "Browse");
71
- injectString("it", "Browse", "Browse");
72
- injectString("ja", "Browse", "Browse");
73
- injectString("ko-KR", "Browse", "Browse");
74
- injectString("ms", "Browse", "Browse");
75
- injectString("nb-NO", "Browse", "Browse");
76
- injectString("nl", "Browse", "Browse");
77
- injectString("pl", "Browse", "Browse");
78
- injectString("pt-BR", "Browse", "Browse");
79
- injectString("pt-PT", "Browse", "Browse");
80
- injectString("sk-SK", "Browse", "Browse");
81
- injectString("sv", "Browse", "Browse");
82
- injectString("th", "Browse", "Browse");
83
- injectString("tr", "Browse", "Browse");
84
- injectString("zh-Hans", "Browse", "Browse");
85
- injectString("zh-TW", "Browse", "Browse");
86
- injectString("ro-RO", "Browse", "Browse");
87
- injectString("ar-SA", "Browse", "\u062A\u0635\u0641\u062D");
88
- injectString("cs", "Supported Formats:", "Supported Formats:");
89
- injectString("da-DK", "Supported Formats:", "Supported Formats:");
90
- injectString("de", "Supported Formats:", "Supported Formats:");
65
+ injectString("es", "Browse", "Explorar");
66
+ injectString("fi-FI", "Browse", "Selaa");
67
+ injectString("fr", "Browse", "Parcourir");
68
+ injectString("fr-FR", "Browse", "Parcourir");
69
+ injectString("hu-HU", "Browse", "Tall\xF3z\xE1s");
70
+ injectString("id", "Browse", "Jelajahi");
71
+ injectString("it", "Browse", "Sfoglia");
72
+ injectString("ja", "Browse", "\u53C2\u7167");
73
+ injectString("ko-KR", "Browse", "\uCC3E\uC544\uBCF4\uAE30");
74
+ injectString("ms", "Browse", "Semak Imbas");
75
+ injectString("nb-NO", "Browse", "Bla gjennom");
76
+ injectString("nl", "Browse", "Bladeren");
77
+ injectString("pl", "Browse", "Przegl\u0105daj");
78
+ injectString("pt-BR", "Browse", "Procurar");
79
+ injectString("pt-PT", "Browse", "Procurar");
80
+ injectString("sk-SK", "Browse", "Preh\u013Ead\xE1va\u0165");
81
+ injectString("sv", "Browse", "Bl\xE4ddra");
82
+ injectString("th", "Browse", "\u0E40\u0E23\u0E35\u0E22\u0E01\u0E14\u0E39");
83
+ injectString("tr", "Browse", "G\xF6zat");
84
+ injectString("zh-Hans", "Browse", "\u6D4F\u89C8");
85
+ injectString("zh-TW", "Browse", "\u700F\u89BD");
86
+ injectString("ro-RO", "Browse", "R\u0103sfoire");
87
+ injectString("ar", "Browse", "\u062A\u0635\u0641\u062D");
88
+ injectString("cs", "Supported Formats:", "Podporovan\xE9 form\xE1ty:");
89
+ injectString("da-DK", "Supported Formats:", "Underst\xF8ttede formater:");
90
+ injectString("de", "Supported Formats:", "Unterst\xFCtzte Formate:");
91
91
  injectString("en", "Supported Formats:", "Supported Formats:");
92
- injectString("es", "Supported Formats:", "Supported Formats:");
93
- injectString("fi-FI", "Supported Formats:", "Supported Formats:");
94
- injectString("fr", "Supported Formats:", "Supported Formats:");
95
- injectString("fr-FR", "Supported Formats:", "Supported Formats:");
96
- injectString("hu-HU", "Supported Formats:", "Supported Formats:");
97
- injectString("id", "Supported Formats:", "Supported Formats:");
98
- injectString("it", "Supported Formats:", "Supported Formats:");
99
- injectString("ja", "Supported Formats:", "Supported Formats:");
100
- injectString("ko-KR", "Supported Formats:", "Supported Formats:");
101
- injectString("ms", "Supported Formats:", "Supported Formats:");
102
- injectString("nb-NO", "Supported Formats:", "Supported Formats:");
103
- injectString("nl", "Supported Formats:", "Supported Formats:");
104
- injectString("pl", "Supported Formats:", "Supported Formats:");
105
- injectString("pt-BR", "Supported Formats:", "Supported Formats:");
106
- injectString("pt-PT", "Supported Formats:", "Supported Formats:");
107
- injectString("sk-SK", "Supported Formats:", "Supported Formats:");
108
- injectString("sv", "Supported Formats:", "Supported Formats:");
109
- injectString("th", "Supported Formats:", "Supported Formats:");
110
- injectString("tr", "Supported Formats:", "Supported Formats:");
111
- injectString("zh-Hans", "Supported Formats:", "Supported Formats:");
112
- injectString("zh-TW", "Supported Formats:", "Supported Formats:");
113
- injectString("ro-RO", "Supported Formats:", "Supported Formats:");
114
- injectString("ar-SA", "Supported Formats:", "\u0627\u0644\u0635\u064A\u063A \u0627\u0644\u0645\u062F\u0639\u0648\u0645\u0629:");
92
+ injectString("es", "Supported Formats:", "Formatos compatibles:");
93
+ injectString("fi-FI", "Supported Formats:", "Tuetut muodot:");
94
+ injectString("fr", "Supported Formats:", "Formats pris en charge :");
95
+ injectString("fr-FR", "Supported Formats:", "Formats pris en charge :");
96
+ injectString("hu-HU", "Supported Formats:", "T\xE1mogatott form\xE1tumok:");
97
+ injectString("id", "Supported Formats:", "Format yang Didukung:");
98
+ injectString("it", "Supported Formats:", "Formati supportati:");
99
+ injectString("ja", "Supported Formats:", "\u5BFE\u5FDC\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\uFF1A");
100
+ injectString("ko-KR", "Supported Formats:", "\uC9C0\uC6D0\uB418\uB294 \uD615\uC2DD:");
101
+ injectString("ms", "Supported Formats:", "Format yang Disokong:");
102
+ injectString("nb-NO", "Supported Formats:", "St\xF8ttede formater:");
103
+ injectString("nl", "Supported Formats:", "Ondersteunde indelingen:");
104
+ injectString("pl", "Supported Formats:", "Obs\u0142ugiwane formaty:");
105
+ injectString("pt-BR", "Supported Formats:", "Formatos suportados:");
106
+ injectString("pt-PT", "Supported Formats:", "Formatos suportados:");
107
+ injectString("sk-SK", "Supported Formats:", "Podporovan\xE9 form\xE1ty:");
108
+ injectString("sv", "Supported Formats:", "Format som st\xF6ds:");
109
+ injectString("th", "Supported Formats:", "\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A:");
110
+ injectString("tr", "Supported Formats:", "Desteklenen Bi\xE7imler:");
111
+ injectString("zh-Hans", "Supported Formats:", "\u652F\u6301\u7684\u683C\u5F0F\uFF1A");
112
+ injectString("zh-TW", "Supported Formats:", "\u652F\u63F4\u7684\u683C\u5F0F\uFF1A");
113
+ injectString("ro-RO", "Supported Formats:", "Formate acceptate:");
114
+ injectString("ar", "Supported Formats:", "\u0627\u0644\u0635\u064A\u063A \u0627\u0644\u0645\u062F\u0639\u0648\u0645\u0629:");
115
115
  export const DropZoneContent = ({
116
116
  size,
117
117
  isMobile,
@@ -28,7 +28,7 @@ injectString("tr", "Download", "\u0130ndir");
28
28
  injectString("zh-Hans", "Download", "\u4E0B\u8F7D");
29
29
  injectString("zh-TW", "Download", "\u4E0B\u8F09");
30
30
  injectString("ro-RO", "Download", "Desc\u0103rca\u021Bi");
31
- injectString("ar-SA", "Download", "\u062A\u0646\u0632\u064A\u0644");
31
+ injectString("ar", "Download", "\u062A\u0646\u0632\u064A\u0644");
32
32
  export const TemplateDownloadSection = ({
33
33
  templateDownload,
34
34
  disabled,
@@ -36,7 +36,7 @@ injectString("tr", "Uploaded", "Uploaded");
36
36
  injectString("zh-Hans", "Uploaded", "Uploaded");
37
37
  injectString("zh-TW", "Uploaded", "Uploaded");
38
38
  injectString("ro-RO", "Uploaded", "Uploaded");
39
- injectString("ar-SA", "Uploaded", "\u062A\u0645 \u0627\u0644\u0631\u0641\u0639");
39
+ injectString("ar", "Uploaded", "\u062A\u0645 \u0627\u0644\u0631\u0641\u0639");
40
40
  injectString("cs", "Remove", "Odebrat");
41
41
  injectString("da-DK", "Remove", "Fjern");
42
42
  injectString("de", "Remove", "Entfernen");
@@ -63,7 +63,7 @@ injectString("tr", "Remove", "Kald\u0131r");
63
63
  injectString("zh-Hans", "Remove", "\u79FB\u9664");
64
64
  injectString("zh-TW", "Remove", "\u79FB\u9664");
65
65
  injectString("ro-RO", "Remove", "Elimin\u0103");
66
- injectString("ar-SA", "Remove", "\u0625\u0632\u0627\u0644\u0629");
66
+ injectString("ar", "Remove", "\u0625\u0632\u0627\u0644\u0629");
67
67
  const getFileIcon = file => {
68
68
  var _a;
69
69
  const extension = (_a = file.name.split(".").pop()) === null || _a === void 0 ? void 0 : _a.toLowerCase();