@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.
- package/README.md +24 -0
- package/dist/absolute/absolute.d.ts +21 -1
- package/dist/absolute/absolute.js +46 -6
- package/dist/advancedGroupsFilter/advancedGroupsFilter.js +3 -3
- package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +7 -7
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +1 -1
- package/dist/alert/banner.d.ts +3 -1
- package/dist/alertRaw/alertRaw.js +1 -1
- package/dist/banner/banner.d.ts +5 -2
- package/dist/banner/banner.js +13 -2
- package/dist/banner/bannerErrorSummary.d.ts +7 -0
- package/dist/banner/bannerErrorSummary.js +8 -0
- package/dist/banner/bannerMultipLine.js +1 -1
- package/dist/banner/bannerSingleLine.js +1 -1
- package/dist/banner/utils/buildSummaryErrorList.d.ts +1 -0
- package/dist/banner/utils/buildSummaryErrorList.js +16 -0
- package/dist/banner/utils/hasSummaryErrorChild.d.ts +1 -0
- package/dist/banner/utils/hasSummaryErrorChild.js +7 -0
- package/dist/banner/utils/isSummaryErrorBanner.d.ts +2 -0
- package/dist/banner/utils/isSummaryErrorBanner.js +6 -0
- package/dist/banner/utils/isSummaryErrorElement.d.ts +3 -0
- package/dist/banner/utils/isSummaryErrorElement.js +7 -0
- package/dist/banner/utils/useSummaryBannerProp.d.ts +6 -0
- package/dist/banner/utils/useSummaryBannerProp.js +34 -0
- package/dist/betaPill/betaPill.js +4 -4
- package/dist/bookmark/bookmark.js +2 -2
- package/dist/bulkEditControl/bulkEditControl.js +5 -5
- package/dist/calendar/calendar.js +37 -34
- package/dist/calendar/calendarUtils.js +6 -4
- package/dist/card/card.js +1 -1
- package/dist/card/components/title.js +4 -1
- package/dist/card/components/titleLink.js +5 -2
- package/dist/chart/accessibleChart/accessibleChartNarrative.js +13 -13
- package/dist/chart/accessibleChart/accessibleChartTable.js +5 -5
- package/dist/chart/barChart/getDefaultOptions.d.ts +2 -1
- package/dist/chart/barChart/getDefaultOptions.js +5 -2
- package/dist/chart/barChart.js +6 -4
- package/dist/chart/chart.js +1 -1
- package/dist/chart/chartAxis/chartAxis.js +2 -2
- package/dist/chart/lineChart/getDefaultOptions.d.ts +4 -1
- package/dist/chart/lineChart/getDefaultOptions.js +7 -2
- package/dist/chart/lineChart.js +7 -3
- package/dist/chart/plugins/linePlugin/linePlugin.js +5 -4
- package/dist/chart/utils/getXAxisMeta.js +8 -5
- package/dist/chart/utils/isDateRange.js +1 -1
- package/dist/chart/utils/useHidden.d.ts +1 -0
- package/dist/chart/utils/useHidden.js +1 -1
- package/dist/chart/utils/useLastVisibleXAxisMeta.d.ts +2 -0
- package/dist/chart/utils/useLastVisibleXAxisMeta.js +15 -0
- package/dist/checkboxListWithAction/checkboxListWithAction.js +8 -5
- package/dist/chip/chip.js +1 -1
- package/dist/columnsSelector/columnsSelector.js +2 -2
- package/dist/columnsSelector/columnsTab/columnsTab.js +1 -1
- package/dist/columnsSelector/columnsTabGroup/columnsTabGroup.js +1 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/dist/commonStyles/columnsList.less +59 -0
- package/dist/commonStyles/link/link.less +1 -1
- package/dist/commonStyles/pillStyles/pillContent.less +14 -15
- package/dist/commonStyles/pillStyles/pillStyles.less +4 -5
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/pillStyles/pillTypes.less +1 -1
- package/dist/commonStyles/popupMixin.less +1 -1
- package/dist/commonStyles/selectButton.less +1 -1
- package/dist/commonStyles/typography/typography.less +545 -19
- package/dist/controlledPopup/controlledPopup.d.ts +1 -0
- package/dist/controlledPopup/controlledPopup.js +3 -1
- package/dist/dataFeed/feedExpandControl/feedExpandControl.js +5 -0
- package/dist/dataGrid/cell/cell.d.ts +2 -1
- package/dist/dataGrid/cell/cell.js +2 -2
- package/dist/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +1 -1
- package/dist/dataGrid/dataGrid.js +8 -5
- package/dist/dataGrid/emptySearchList/emptySearchList.js +1 -1
- package/dist/dataGrid/entitiesListActions/actions/columnsListButton.js +1 -1
- package/dist/dataGrid/entitiesListActions/actions/fullscreenButton.js +2 -2
- package/dist/dataGrid/listColumn.d.ts +2 -0
- package/dist/dataGrid/row/row.d.ts +2 -1
- package/dist/dataGrid/row/row.js +13 -9
- package/dist/dataGrid/withFlexibleColumns/components/columnSettings.js +2 -2
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +1 -1
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +45 -116
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +4 -0
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +29 -29
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +5 -5
- package/dist/dataGrid/withSelectableRows/withSelectableRows.js +4 -3
- package/dist/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +2 -2
- package/dist/dateInputInner/dateInputInner.js +7 -7
- package/dist/dateInputInner/dateInputInnerControlBlock.js +2 -2
- package/dist/dateInputRaw/dateInputRaw.js +4 -4
- package/dist/dateInputRaw/utils/getLabel.js +2 -2
- package/dist/dateRangeInner/dateRangeInner.js +6 -3
- package/dist/dateRangeRaw/dateRangeRaw.d.ts +1 -0
- package/dist/dateRangeRaw/dateRangeRaw.js +21 -15
- package/dist/dateRangeRaw/types.d.ts +1 -0
- package/dist/dateRangeRaw/utils/dateRangeUtils.js +17 -17
- package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
- package/dist/dateSelectionWrapper/dateSelectionWrapper.js +4 -4
- package/dist/dialog/dialogContent.js +1 -1
- package/dist/dropdown/dropdownTrigger.d.ts +1 -1
- package/dist/dropdownRaw/dropdownList.js +9 -9
- package/dist/dropdownRaw/dropdownPopup.js +3 -3
- package/dist/dropdownRaw/dropdownRaw.js +34 -17
- package/dist/dropdownRaw/dropdownSearchableTrigger.d.ts +2 -1
- package/dist/dropdownRaw/dropdownSearchableTrigger.js +8 -6
- package/dist/dropdownRaw/dropdownTrigger.d.ts +2 -1
- package/dist/dropdownRaw/dropdownTrigger.js +2 -2
- package/dist/dropdownRaw/types.d.ts +2 -0
- package/dist/favoriteButton/favoriteButton.js +1 -1
- package/dist/fileUpload/components/dropZoneContent.js +104 -104
- package/dist/fileUpload/components/templateDownloadSection.js +1 -1
- package/dist/fileUpload/components/uploadedFilesSection.js +2 -2
- package/dist/fileUpload/fileUpload.js +106 -106
- package/dist/filterButton/filterButton.d.ts +1 -0
- package/dist/filters/components/filtersContainer.js +2 -2
- package/dist/filters/components/filtersDropdown.d.ts +1 -1
- package/dist/filters/components/filtersEmptyState.js +2 -2
- package/dist/filters/components/filtersSaveModal.js +5 -5
- package/dist/filters/components/filtersSavedChipComponent.js +11 -11
- package/dist/filters/components/filtersSearchItemData.js +1 -1
- package/dist/filters/components/filtersSearchList.js +14 -11
- package/dist/filters/components/filtersSelect.js +1 -1
- package/dist/filters/components/filtersSelectListItem.js +2 -2
- package/dist/filters/components/filtersSidePanel.js +8 -8
- package/dist/filters/filters.js +7 -7
- package/dist/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
- package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
- package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +18 -18
- package/dist/filtersBar/components/resetComponentButton.js +1 -1
- package/dist/filtersBar/filtersBarActions/filtersBarActions.js +3 -3
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +5 -5
- package/dist/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/dist/formField/hooks/useError.js +3 -3
- package/dist/formField/hooks/useFormFieldProps.d.ts +1 -1
- package/dist/formField/hooks/useFormFieldProps.js +4 -2
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +2 -2
- package/dist/formGroup/hooks/useCustomRow.js +46 -32
- package/dist/formGroup/hooks/useRowElements.js +9 -6
- package/dist/formGroup/hooks/useToggle.js +1 -1
- package/dist/formGroup/types.d.ts +4 -0
- package/dist/formGroup/utils/normalizeFieldId.d.ts +1 -0
- package/dist/formGroup/utils/normalizeFieldId.js +5 -0
- package/dist/formGroup/utils/resolveId.d.ts +7 -0
- package/dist/formGroup/utils/resolveId.js +6 -0
- package/dist/formLayout/components/getLayoutColumns.js +4 -2
- package/dist/formLayout/hooks/useError.js +3 -3
- package/dist/formLayout/hooks/useErrorSummary.d.ts +6 -0
- package/dist/formLayout/hooks/useErrorSummary.js +34 -0
- package/dist/formLayout/hooks/useFormButtons.js +3 -3
- package/dist/formLayout/utils/applyGridPropsStatic.js +1 -1
- package/dist/formLayout/utils/flattenErrors.d.ts +5 -0
- package/dist/formLayout/utils/flattenErrors.js +14 -0
- package/dist/formLayout/utils/getChildrenWithCustomColumns.js +3 -0
- package/dist/formLayout/utils/getFieldLabel.d.ts +1 -0
- package/dist/formLayout/utils/getFieldLabel.js +26 -0
- package/dist/formSection/hooks/useError.js +3 -3
- package/dist/formStepper/components/formStep.js +1 -1
- package/dist/formStepper/formStepper.js +2 -2
- package/dist/formStepperButtons/formStepperButtons.js +8 -5
- package/dist/gridLayout/hooks/useGridClasses.js +3 -9
- package/dist/groupButtonRaw/groupButtonRaw.js +2 -2
- package/dist/groupButtonRaw/types.d.ts +1 -0
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +8 -5
- package/dist/groupsFilterRaw/groupsFilterBox.js +3 -3
- package/dist/groupsFilterRaw/groupsFilterCommon.js +2 -2
- package/dist/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +5 -5
- package/dist/groupsFilterRaw/groupsFilterHelper.js +2 -2
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +12 -9
- package/dist/groupsFilterRaw/groupsFilterMenu.js +3 -3
- package/dist/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
- package/dist/groupsFilterRaw/groupsFilterRaw.js +15 -10
- package/dist/groupsFilterRaw/groupsFilterTrigger.d.ts +2 -1
- package/dist/groupsFilterRaw/groupsFilterTrigger.js +8 -5
- package/dist/groupsFilterRaw/groupsHelper.js +22 -22
- package/dist/groupsFilterRaw/types.d.ts +2 -0
- package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/dist/header/components/mobileFilterControl/mobileFilterControl.js +1 -1
- package/dist/header/components/mobileSearchControl/mobileSearchControl.js +3 -3
- package/dist/header/header.js +1 -1
- package/dist/header/headerBack.js +5 -2
- package/dist/header/headerHelpers.d.ts +1 -0
- package/dist/header/headerHelpers.js +10 -1
- package/dist/header/hooks/useNonFittingElements.js +1 -1
- package/dist/icons/iconAlignLeft.js +1 -3
- package/dist/icons/iconAlignmentLeft.js +1 -3
- package/dist/icons/iconAlignmentRight.js +1 -3
- package/dist/icons/iconArrowBottomLeft.js +1 -3
- package/dist/icons/iconArrowBottomRight.js +1 -3
- package/dist/icons/iconArrowLeftPath.js +1 -3
- package/dist/icons/iconArrowRight.js +1 -3
- package/dist/icons/iconArrowRightCircle.js +1 -3
- package/dist/icons/iconArrowRightPath.js +1 -3
- package/dist/icons/iconArrowTopLeft.js +1 -3
- package/dist/icons/iconArrowTopRight.js +1 -3
- package/dist/icons/iconChevronDoubleRight.js +1 -3
- package/dist/icons/iconChevronRight.js +1 -3
- package/dist/icons/iconChevronRightSmall.js +1 -3
- package/dist/icons/iconCornerDownLeft.js +1 -3
- package/dist/icons/iconCornerDownRight.js +1 -3
- package/dist/icons/iconCornerLeftDown.js +1 -3
- package/dist/icons/iconCornerLeftUp.js +1 -3
- package/dist/icons/iconCornerRightDown.js +1 -3
- package/dist/icons/iconCornerRightUp.js +1 -3
- package/dist/icons/iconCornerUpLeft.js +1 -3
- package/dist/icons/iconCornerUpRight.js +1 -3
- package/dist/index.css +3628 -3321
- package/dist/index.d.ts +1 -0
- package/dist/index.js +16 -14
- package/dist/lineChartMini/lineChartMini.js +15 -3
- package/dist/list/itemData/itemDataInternal.js +6 -3
- package/dist/list/listItem/listItem.js +6 -3
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +4 -1
- package/dist/menu/components/menuButton.d.ts +2 -1
- package/dist/menu/components/menuButton.js +7 -4
- package/dist/menu/components/menuErrorItem.js +2 -2
- package/dist/menu/components/menuItem.js +4 -4
- package/dist/menu/utils/useMenuItemCore.js +1 -3
- package/dist/miniTabs/miniTabs.d.ts +1 -0
- package/dist/miniTabs/miniTabs.js +1 -1
- package/dist/miniTabs/miniTabsHeaderItem.d.ts +2 -1
- package/dist/miniTabs/miniTabsHeaderItem.js +1 -1
- package/dist/miniTabs/miniTabsItem.d.ts +1 -0
- package/dist/mobileSheet/mobileSheet.js +2 -2
- package/dist/modal/modal.js +1 -1
- package/dist/nav/navFooter/navEditFooter/navEditFooter.js +2 -2
- package/dist/nav/navFooter/navFooter.js +1 -1
- package/dist/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/dist/nav/navHeader/navHeader.js +2 -2
- package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +2 -2
- package/dist/nav/navItem/navItem.js +4 -1
- package/dist/nav/navMobileBar/navMobileBar.js +1 -1
- package/dist/notification/notification.js +1 -1
- package/dist/pagination/paginationArrow.js +12 -5
- package/dist/pagination/paginationText/paginationText.js +1 -1
- package/dist/pill/components/pillNonActionable/pillNonActionable.js +1 -1
- package/dist/pillBox/components/pillBoxItem.js +1 -1
- package/dist/pillBox/pillBox.js +3 -3
- package/dist/pillExpandable/pillContent.js +12 -3
- package/dist/pillExpandable/pillExpandable.d.ts +4 -1
- package/dist/pillExpandable/pillExpandable.js +5 -3
- package/dist/pillExpandable/pillExpandableSimple.d.ts +1 -1
- package/dist/pillExpandable/pillExpandableSimple.js +4 -4
- package/dist/radioGroupRaw/radioGroupRaw.js +2 -1
- package/dist/rangeRaw/rangeRaw.js +7 -8
- package/dist/rangeRaw/utils/rangeHelper.js +7 -7
- package/dist/searchInputRaw/searchInputRaw.js +6 -3
- package/dist/selectList/selectList.js +2 -2
- package/dist/selectList/selectListItem.js +4 -1
- package/dist/skeleton/skeleton.js +1 -1
- package/dist/sortControl/sortControl.js +6 -7
- package/dist/stepperRaw/stepperRaw.js +5 -0
- package/dist/summary/summary.js +2 -2
- package/dist/summaryTile/summaryTile.d.ts +4 -2
- package/dist/summaryTile/summaryTile.js +59 -26
- package/dist/summaryTileBar/summaryTileBar.d.ts +4 -2
- package/dist/summaryTileBar/summaryTileBar.js +2 -2
- package/dist/table/actions/actionsMenu.js +2 -2
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/detailPanel/detailPanel.js +1 -1
- package/dist/table/detailPanel/detailPanelHeader.js +2 -2
- package/dist/table/flexible/columnSettings.js +2 -2
- package/dist/table/flexible/columnsList.js +47 -117
- package/dist/table/flexible/columnsPopup.d.ts +1 -1
- package/dist/table/flexible/columnsPopup.js +1 -1
- package/dist/table/nested/useNestedRows.js +2 -2
- package/dist/table/selectable/selectableHeader.js +5 -4
- package/dist/table/selectable/useSelectableRows.d.ts +8 -0
- package/dist/table/selectable/useSelectableRows.js +16 -8
- package/dist/table/sortable/mobileSortControl.js +1 -1
- package/dist/table/sortable/sortableHeader.js +2 -2
- package/dist/table/table.js +3 -9
- package/dist/tabs/tabItem/tabItem.d.ts +2 -1
- package/dist/tabs/tabItem/tabItem.js +7 -2
- package/dist/tabs/tabs.d.ts +2 -1
- package/dist/tabs/tabs.js +71 -61
- package/dist/tabs/tabsTestHelper.js +2 -2
- package/dist/timePickerRaw/timePickerRaw.js +11 -9
- package/dist/timePickerRaw/types.d.ts +1 -0
- package/dist/toastRaw/toastRaw.js +1 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +7 -4
- package/dist/tooltip/tooltip.js +13 -5
- package/dist/utils/formatDate.js +37 -37
- package/dist/utils/localization/flipAlignment.js +12 -1
- package/dist/utils/localization/languageContext.d.ts +1 -1
- package/dist/utils/localization/translations/cs.json +7 -5
- package/dist/utils/localization/translations/da-DK.json +7 -5
- package/dist/utils/localization/translations/de.json +7 -5
- package/dist/utils/localization/translations/en.json +12 -1
- package/dist/utils/localization/translations/es.json +7 -5
- package/dist/utils/localization/translations/fi-FI.json +7 -5
- package/dist/utils/localization/translations/fr-FR.json +7 -5
- package/dist/utils/localization/translations/fr.json +7 -5
- package/dist/utils/localization/translations/hu-HU.json +7 -5
- package/dist/utils/localization/translations/id.json +7 -5
- package/dist/utils/localization/translations/it.json +7 -5
- package/dist/utils/localization/translations/ja.json +7 -5
- package/dist/utils/localization/translations/ko-KR.json +7 -5
- package/dist/utils/localization/translations/ms.json +7 -5
- package/dist/utils/localization/translations/nb-NO.json +7 -5
- package/dist/utils/localization/translations/nl.json +7 -5
- package/dist/utils/localization/translations/pl.json +7 -5
- package/dist/utils/localization/translations/pt-BR.json +7 -5
- package/dist/utils/localization/translations/pt-PT.json +7 -5
- package/dist/utils/localization/translations/ro-RO.json +7 -5
- package/dist/utils/localization/translations/sk-SK.json +7 -5
- package/dist/utils/localization/translations/sv.json +7 -5
- package/dist/utils/localization/translations/th.json +7 -5
- package/dist/utils/localization/translations/tr.json +7 -5
- package/dist/utils/localization/translations/zh-Hans.json +7 -5
- package/dist/utils/localization/translations/zh-TW.json +7 -5
- package/dist/utils/localization/useDirectionalIcon.d.ts +3 -0
- package/dist/utils/localization/useDirectionalIcon.js +9 -0
- package/dist/utils/positioningUtils/alignments.d.ts +2 -2
- package/dist/utils/positioningUtils/alignments.js +2 -2
- package/dist/utils/positioningUtils/calculatePosition.d.ts +2 -1
- package/dist/utils/positioningUtils/calculatePosition.js +11 -11
- package/dist/utils/positioningUtils/normalizeLogicalAlignment.d.ts +4 -0
- package/dist/utils/positioningUtils/normalizeLogicalAlignment.js +36 -0
- package/esm/absolute/absolute.d.ts +21 -1
- package/esm/absolute/absolute.js +46 -6
- package/esm/advancedGroupsFilter/advancedGroupsFilter.js +3 -3
- package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +7 -7
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +1 -1
- package/esm/alert/banner.d.ts +3 -1
- package/esm/alertRaw/alertRaw.js +1 -1
- package/esm/banner/banner.d.ts +5 -2
- package/esm/banner/banner.js +13 -2
- package/esm/banner/bannerErrorSummary.d.ts +7 -0
- package/esm/banner/bannerErrorSummary.js +4 -0
- package/esm/banner/bannerMultipLine.js +1 -1
- package/esm/banner/bannerSingleLine.js +1 -1
- package/esm/banner/utils/buildSummaryErrorList.d.ts +1 -0
- package/esm/banner/utils/buildSummaryErrorList.js +12 -0
- package/esm/banner/utils/hasSummaryErrorChild.d.ts +1 -0
- package/esm/banner/utils/hasSummaryErrorChild.js +3 -0
- package/esm/banner/utils/isSummaryErrorBanner.d.ts +2 -0
- package/esm/banner/utils/isSummaryErrorBanner.js +2 -0
- package/esm/banner/utils/isSummaryErrorElement.d.ts +3 -0
- package/esm/banner/utils/isSummaryErrorElement.js +3 -0
- package/esm/banner/utils/useSummaryBannerProp.d.ts +6 -0
- package/esm/banner/utils/useSummaryBannerProp.js +25 -0
- package/esm/betaPill/betaPill.js +4 -4
- package/esm/bookmark/bookmark.js +2 -2
- package/esm/bulkEditControl/bulkEditControl.js +5 -5
- package/esm/calendar/calendar.js +37 -34
- package/esm/calendar/calendarUtils.js +6 -4
- package/esm/card/card.js +1 -1
- package/esm/card/components/title.js +4 -1
- package/esm/card/components/titleLink.js +5 -2
- package/esm/chart/accessibleChart/accessibleChartNarrative.js +13 -13
- package/esm/chart/accessibleChart/accessibleChartTable.js +5 -5
- package/esm/chart/barChart/getDefaultOptions.d.ts +2 -1
- package/esm/chart/barChart/getDefaultOptions.js +5 -2
- package/esm/chart/barChart.js +6 -4
- package/esm/chart/chart.js +1 -1
- package/esm/chart/chartAxis/chartAxis.js +2 -2
- package/esm/chart/lineChart/getDefaultOptions.d.ts +4 -1
- package/esm/chart/lineChart/getDefaultOptions.js +7 -2
- package/esm/chart/lineChart.js +7 -3
- package/esm/chart/plugins/linePlugin/linePlugin.js +5 -4
- package/esm/chart/utils/getXAxisMeta.js +8 -5
- package/esm/chart/utils/isDateRange.js +1 -1
- package/esm/chart/utils/useHidden.d.ts +1 -0
- package/esm/chart/utils/useHidden.js +1 -1
- package/esm/chart/utils/useLastVisibleXAxisMeta.d.ts +2 -0
- package/esm/chart/utils/useLastVisibleXAxisMeta.js +11 -0
- package/esm/checkboxListWithAction/checkboxListWithAction.js +8 -5
- package/esm/chip/chip.js +1 -1
- package/esm/columnsSelector/columnsSelector.js +2 -2
- package/esm/columnsSelector/columnsTab/columnsTab.js +1 -1
- package/esm/columnsSelector/columnsTabGroup/columnsTabGroup.js +1 -1
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/esm/controlledPopup/controlledPopup.d.ts +1 -0
- package/esm/controlledPopup/controlledPopup.js +3 -1
- package/esm/dataFeed/feedExpandControl/feedExpandControl.js +3 -0
- package/esm/dataGrid/cell/cell.d.ts +2 -1
- package/esm/dataGrid/cell/cell.js +2 -2
- package/esm/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +1 -1
- package/esm/dataGrid/dataGrid.js +8 -5
- package/esm/dataGrid/emptySearchList/emptySearchList.js +1 -1
- package/esm/dataGrid/entitiesListActions/actions/columnsListButton.js +1 -1
- package/esm/dataGrid/entitiesListActions/actions/fullscreenButton.js +2 -2
- package/esm/dataGrid/listColumn.d.ts +2 -0
- package/esm/dataGrid/row/row.d.ts +2 -1
- package/esm/dataGrid/row/row.js +13 -9
- package/esm/dataGrid/withFlexibleColumns/components/columnSettings.js +2 -2
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +1 -1
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +44 -110
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +2 -0
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +29 -29
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +5 -5
- package/esm/dataGrid/withSelectableRows/withSelectableRows.js +4 -3
- package/esm/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +2 -2
- package/esm/dateInputInner/dateInputInner.js +7 -7
- package/esm/dateInputInner/dateInputInnerControlBlock.js +2 -2
- package/esm/dateInputRaw/dateInputRaw.js +4 -4
- package/esm/dateInputRaw/utils/getLabel.js +2 -2
- package/esm/dateRangeInner/dateRangeInner.js +6 -3
- package/esm/dateRangeRaw/dateRangeRaw.d.ts +1 -0
- package/esm/dateRangeRaw/dateRangeRaw.js +21 -15
- package/esm/dateRangeRaw/types.d.ts +1 -0
- package/esm/dateRangeRaw/utils/dateRangeUtils.js +17 -17
- package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
- package/esm/dateSelectionWrapper/dateSelectionWrapper.js +4 -4
- package/esm/dialog/dialogContent.js +1 -1
- package/esm/dropdown/dropdownTrigger.d.ts +1 -1
- package/esm/dropdownRaw/dropdownList.js +9 -9
- package/esm/dropdownRaw/dropdownPopup.js +3 -3
- package/esm/dropdownRaw/dropdownRaw.js +34 -17
- package/esm/dropdownRaw/dropdownSearchableTrigger.d.ts +2 -1
- package/esm/dropdownRaw/dropdownSearchableTrigger.js +8 -6
- package/esm/dropdownRaw/dropdownTrigger.d.ts +2 -1
- package/esm/dropdownRaw/dropdownTrigger.js +2 -2
- package/esm/dropdownRaw/types.d.ts +2 -0
- package/esm/favoriteButton/favoriteButton.js +1 -1
- package/esm/fileUpload/components/dropZoneContent.js +104 -104
- package/esm/fileUpload/components/templateDownloadSection.js +1 -1
- package/esm/fileUpload/components/uploadedFilesSection.js +2 -2
- package/esm/fileUpload/fileUpload.js +106 -106
- package/esm/filterButton/filterButton.d.ts +1 -0
- package/esm/filters/components/filtersContainer.js +2 -2
- package/esm/filters/components/filtersDropdown.d.ts +1 -1
- package/esm/filters/components/filtersEmptyState.js +2 -2
- package/esm/filters/components/filtersSaveModal.js +5 -5
- package/esm/filters/components/filtersSavedChipComponent.js +11 -11
- package/esm/filters/components/filtersSearchItemData.js +1 -1
- package/esm/filters/components/filtersSearchList.js +14 -11
- package/esm/filters/components/filtersSelect.js +1 -1
- package/esm/filters/components/filtersSelectListItem.js +2 -2
- package/esm/filters/components/filtersSidePanel.js +8 -8
- package/esm/filters/filters.js +7 -7
- package/esm/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
- package/esm/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
- package/esm/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +18 -18
- package/esm/filtersBar/components/resetComponentButton.js +1 -1
- package/esm/filtersBar/filtersBarActions/filtersBarActions.js +3 -3
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +5 -5
- package/esm/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/esm/formField/hooks/useError.js +3 -3
- package/esm/formField/hooks/useFormFieldProps.d.ts +1 -1
- package/esm/formField/hooks/useFormFieldProps.js +4 -2
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +2 -2
- package/esm/formGroup/hooks/useCustomRow.js +46 -32
- package/esm/formGroup/hooks/useRowElements.js +9 -6
- package/esm/formGroup/hooks/useToggle.js +1 -1
- package/esm/formGroup/types.d.ts +4 -0
- package/esm/formGroup/utils/normalizeFieldId.d.ts +1 -0
- package/esm/formGroup/utils/normalizeFieldId.js +1 -0
- package/esm/formGroup/utils/resolveId.d.ts +7 -0
- package/esm/formGroup/utils/resolveId.js +2 -0
- package/esm/formLayout/components/getLayoutColumns.js +4 -2
- package/esm/formLayout/hooks/useError.js +3 -3
- package/esm/formLayout/hooks/useErrorSummary.d.ts +6 -0
- package/esm/formLayout/hooks/useErrorSummary.js +30 -0
- package/esm/formLayout/hooks/useFormButtons.js +3 -3
- package/esm/formLayout/utils/applyGridPropsStatic.js +1 -1
- package/esm/formLayout/utils/flattenErrors.d.ts +5 -0
- package/esm/formLayout/utils/flattenErrors.js +10 -0
- package/esm/formLayout/utils/getChildrenWithCustomColumns.js +3 -0
- package/esm/formLayout/utils/getFieldLabel.d.ts +1 -0
- package/esm/formLayout/utils/getFieldLabel.js +22 -0
- package/esm/formSection/hooks/useError.js +3 -3
- package/esm/formStepper/components/formStep.js +1 -1
- package/esm/formStepper/formStepper.js +2 -2
- package/esm/formStepperButtons/formStepperButtons.js +8 -5
- package/esm/gridLayout/hooks/useGridClasses.js +3 -9
- package/esm/groupButtonRaw/groupButtonRaw.js +2 -2
- package/esm/groupButtonRaw/types.d.ts +1 -0
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +8 -5
- package/esm/groupsFilterRaw/groupsFilterBox.js +3 -3
- package/esm/groupsFilterRaw/groupsFilterCommon.js +2 -2
- package/esm/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +5 -5
- package/esm/groupsFilterRaw/groupsFilterHelper.js +2 -2
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +12 -9
- package/esm/groupsFilterRaw/groupsFilterMenu.js +3 -3
- package/esm/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
- package/esm/groupsFilterRaw/groupsFilterRaw.js +15 -10
- package/esm/groupsFilterRaw/groupsFilterTrigger.d.ts +2 -1
- package/esm/groupsFilterRaw/groupsFilterTrigger.js +8 -5
- package/esm/groupsFilterRaw/groupsHelper.js +22 -22
- package/esm/groupsFilterRaw/types.d.ts +2 -0
- package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/esm/header/components/mobileFilterControl/mobileFilterControl.js +1 -1
- package/esm/header/components/mobileSearchControl/mobileSearchControl.js +3 -3
- package/esm/header/header.js +2 -2
- package/esm/header/headerBack.js +5 -2
- package/esm/header/headerHelpers.d.ts +1 -0
- package/esm/header/headerHelpers.js +8 -0
- package/esm/header/hooks/useNonFittingElements.js +1 -1
- package/esm/icons/iconAlignLeft.js +1 -3
- package/esm/icons/iconAlignmentLeft.js +1 -3
- package/esm/icons/iconAlignmentRight.js +1 -3
- package/esm/icons/iconArrowBottomLeft.js +1 -3
- package/esm/icons/iconArrowBottomRight.js +1 -3
- package/esm/icons/iconArrowLeftPath.js +1 -3
- package/esm/icons/iconArrowRight.js +1 -3
- package/esm/icons/iconArrowRightCircle.js +1 -3
- package/esm/icons/iconArrowRightPath.js +1 -3
- package/esm/icons/iconArrowTopLeft.js +1 -3
- package/esm/icons/iconArrowTopRight.js +1 -3
- package/esm/icons/iconChevronDoubleRight.js +1 -3
- package/esm/icons/iconChevronRight.js +1 -3
- package/esm/icons/iconChevronRightSmall.js +1 -3
- package/esm/icons/iconCornerDownLeft.js +1 -3
- package/esm/icons/iconCornerDownRight.js +1 -3
- package/esm/icons/iconCornerLeftDown.js +1 -3
- package/esm/icons/iconCornerLeftUp.js +1 -3
- package/esm/icons/iconCornerRightDown.js +1 -3
- package/esm/icons/iconCornerRightUp.js +1 -3
- package/esm/icons/iconCornerUpLeft.js +1 -3
- package/esm/icons/iconCornerUpRight.js +1 -3
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/lineChartMini/lineChartMini.js +15 -3
- package/esm/list/itemData/itemDataInternal.js +6 -3
- package/esm/list/listItem/listItem.js +6 -3
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +4 -1
- package/esm/menu/components/menuButton.d.ts +2 -1
- package/esm/menu/components/menuButton.js +7 -4
- package/esm/menu/components/menuErrorItem.js +2 -2
- package/esm/menu/components/menuItem.js +4 -4
- package/esm/menu/utils/useMenuItemCore.js +1 -3
- package/esm/miniTabs/miniTabs.d.ts +1 -0
- package/esm/miniTabs/miniTabs.js +1 -1
- package/esm/miniTabs/miniTabsHeaderItem.d.ts +2 -1
- package/esm/miniTabs/miniTabsHeaderItem.js +1 -1
- package/esm/miniTabs/miniTabsItem.d.ts +1 -0
- package/esm/mobileSheet/mobileSheet.js +2 -2
- package/esm/modal/modal.js +1 -1
- package/esm/nav/navFooter/navEditFooter/navEditFooter.js +2 -2
- package/esm/nav/navFooter/navFooter.js +1 -1
- package/esm/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/esm/nav/navHeader/navHeader.js +2 -2
- package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +2 -2
- package/esm/nav/navItem/navItem.js +4 -1
- package/esm/nav/navMobileBar/navMobileBar.js +1 -1
- package/esm/notification/notification.js +1 -1
- package/esm/pagination/paginationArrow.js +12 -5
- package/esm/pagination/paginationText/paginationText.js +1 -1
- package/esm/pill/components/pillNonActionable/pillNonActionable.js +1 -1
- package/esm/pillBox/components/pillBoxItem.js +1 -1
- package/esm/pillBox/pillBox.js +3 -3
- package/esm/pillExpandable/pillContent.js +12 -3
- package/esm/pillExpandable/pillExpandable.d.ts +4 -1
- package/esm/pillExpandable/pillExpandable.js +5 -3
- package/esm/pillExpandable/pillExpandableSimple.d.ts +1 -1
- package/esm/pillExpandable/pillExpandableSimple.js +4 -4
- package/esm/radioGroupRaw/radioGroupRaw.js +2 -1
- package/esm/rangeRaw/rangeRaw.js +7 -8
- package/esm/rangeRaw/utils/rangeHelper.js +7 -7
- package/esm/searchInputRaw/searchInputRaw.js +6 -3
- package/esm/selectList/selectList.js +2 -2
- package/esm/selectList/selectListItem.js +4 -1
- package/esm/skeleton/skeleton.js +1 -1
- package/esm/sortControl/sortControl.js +6 -7
- package/esm/stepperRaw/stepperRaw.js +3 -0
- package/esm/summary/summary.js +2 -2
- package/esm/summaryTile/summaryTile.d.ts +4 -2
- package/esm/summaryTile/summaryTile.js +59 -26
- package/esm/summaryTileBar/summaryTileBar.d.ts +4 -2
- package/esm/summaryTileBar/summaryTileBar.js +2 -2
- package/esm/table/actions/actionsMenu.js +2 -2
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/detailPanel/detailPanel.js +1 -1
- package/esm/table/detailPanel/detailPanelHeader.js +2 -2
- package/esm/table/flexible/columnSettings.js +2 -2
- package/esm/table/flexible/columnsList.js +46 -111
- package/esm/table/flexible/columnsPopup.d.ts +1 -1
- package/esm/table/flexible/columnsPopup.js +1 -1
- package/esm/table/nested/useNestedRows.js +2 -2
- package/esm/table/selectable/selectableHeader.js +5 -4
- package/esm/table/selectable/useSelectableRows.d.ts +8 -0
- package/esm/table/selectable/useSelectableRows.js +16 -8
- package/esm/table/sortable/mobileSortControl.js +1 -1
- package/esm/table/sortable/sortableHeader.js +2 -2
- package/esm/table/table.js +3 -9
- package/esm/tabs/tabItem/tabItem.d.ts +2 -1
- package/esm/tabs/tabItem/tabItem.js +7 -2
- package/esm/tabs/tabs.d.ts +2 -1
- package/esm/tabs/tabs.js +71 -61
- package/esm/tabs/tabsTestHelper.js +2 -2
- package/esm/testHelpers/mockAbsoluteAlignment.d.ts +1 -0
- package/esm/testHelpers/mockAbsoluteAlignment.js +10 -0
- package/esm/timePickerRaw/timePickerRaw.js +11 -9
- package/esm/timePickerRaw/types.d.ts +1 -0
- package/esm/toastRaw/toastRaw.js +1 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +7 -4
- package/esm/tooltip/tooltip.js +13 -5
- package/esm/utils/formatDate.js +37 -37
- package/esm/utils/localization/flipAlignment.js +12 -1
- package/esm/utils/localization/languageContext.d.ts +1 -1
- package/esm/utils/localization/translations/cs.json +7 -5
- package/esm/utils/localization/translations/da-DK.json +7 -5
- package/esm/utils/localization/translations/de.json +7 -5
- package/esm/utils/localization/translations/en.json +12 -1
- package/esm/utils/localization/translations/es.json +7 -5
- package/esm/utils/localization/translations/fi-FI.json +7 -5
- package/esm/utils/localization/translations/fr-FR.json +7 -5
- package/esm/utils/localization/translations/fr.json +7 -5
- package/esm/utils/localization/translations/hu-HU.json +7 -5
- package/esm/utils/localization/translations/id.json +7 -5
- package/esm/utils/localization/translations/it.json +7 -5
- package/esm/utils/localization/translations/ja.json +7 -5
- package/esm/utils/localization/translations/ko-KR.json +7 -5
- package/esm/utils/localization/translations/ms.json +7 -5
- package/esm/utils/localization/translations/nb-NO.json +7 -5
- package/esm/utils/localization/translations/nl.json +7 -5
- package/esm/utils/localization/translations/pl.json +7 -5
- package/esm/utils/localization/translations/pt-BR.json +7 -5
- package/esm/utils/localization/translations/pt-PT.json +7 -5
- package/esm/utils/localization/translations/ro-RO.json +7 -5
- package/esm/utils/localization/translations/sk-SK.json +7 -5
- package/esm/utils/localization/translations/sv.json +7 -5
- package/esm/utils/localization/translations/th.json +7 -5
- package/esm/utils/localization/translations/tr.json +7 -5
- package/esm/utils/localization/translations/zh-Hans.json +7 -5
- package/esm/utils/localization/translations/zh-TW.json +7 -5
- package/esm/utils/localization/useDirectionalIcon.d.ts +3 -0
- package/esm/utils/localization/useDirectionalIcon.js +5 -0
- package/esm/utils/positioningUtils/alignments.d.ts +2 -2
- package/esm/utils/positioningUtils/alignments.js +2 -2
- package/esm/utils/positioningUtils/calculatePosition.d.ts +2 -1
- package/esm/utils/positioningUtils/calculatePosition.js +11 -11
- package/esm/utils/positioningUtils/normalizeLogicalAlignment.d.ts +4 -0
- package/esm/utils/positioningUtils/normalizeLogicalAlignment.js +32 -0
- package/package.json +11 -12
- package/dist/utils/localization/translations/en-json.d.ts +0 -317
- package/dist/utils/localization/translations/en-json.js +0 -320
- package/esm/utils/localization/translations/en-json.d.ts +0 -317
- 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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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", "
|
|
8
|
-
injectString("da-DK", "Tap to add files", "
|
|
9
|
-
injectString("de", "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", "
|
|
12
|
-
injectString("fi-FI", "Tap to add files", "
|
|
13
|
-
injectString("fr", "Tap to add files", "
|
|
14
|
-
injectString("fr-FR", "Tap to add files", "
|
|
15
|
-
injectString("hu-HU", "Tap to add files", "
|
|
16
|
-
injectString("id", "Tap to add files", "
|
|
17
|
-
injectString("it", "Tap to add files", "
|
|
18
|
-
injectString("ja", "Tap to add files", "
|
|
19
|
-
injectString("ko-KR", "Tap to add files", "
|
|
20
|
-
injectString("ms", "Tap to add files", "
|
|
21
|
-
injectString("nb-NO", "Tap to add files", "
|
|
22
|
-
injectString("nl", "Tap to add files", "
|
|
23
|
-
injectString("pl", "Tap to add files", "
|
|
24
|
-
injectString("pt-BR", "Tap to add files", "
|
|
25
|
-
injectString("pt-PT", "Tap to add files", "
|
|
26
|
-
injectString("sk-SK", "Tap to add files", "
|
|
27
|
-
injectString("sv", "Tap to add files", "
|
|
28
|
-
injectString("th", "Tap to add files", "
|
|
29
|
-
injectString("tr", "Tap to add files", "
|
|
30
|
-
injectString("zh-Hans", "Tap to add files", "
|
|
31
|
-
injectString("zh-TW", "Tap to add files", "
|
|
32
|
-
injectString("ro-RO", "Tap to add files", "
|
|
33
|
-
injectString("ar
|
|
34
|
-
injectString("cs", "Drag & drop files or", "
|
|
35
|
-
injectString("da-DK", "Drag & drop files or", "
|
|
36
|
-
injectString("de", "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", "
|
|
39
|
-
injectString("fi-FI", "Drag & drop files or", "
|
|
40
|
-
injectString("fr", "Drag & drop files or", "
|
|
41
|
-
injectString("fr-FR", "Drag & drop files or", "
|
|
42
|
-
injectString("hu-HU", "Drag & drop files or", "
|
|
43
|
-
injectString("id", "Drag & drop files or", "
|
|
44
|
-
injectString("it", "Drag & drop files or", "
|
|
45
|
-
injectString("ja", "Drag & drop files or", "
|
|
46
|
-
injectString("ko-KR", "Drag & drop files or", "
|
|
47
|
-
injectString("ms", "Drag & drop files or", "
|
|
48
|
-
injectString("nb-NO", "Drag & drop files or", "
|
|
49
|
-
injectString("nl", "Drag & drop files or", "
|
|
50
|
-
injectString("pl", "Drag & drop files or", "
|
|
51
|
-
injectString("pt-BR", "Drag & drop files or", "
|
|
52
|
-
injectString("pt-PT", "Drag & drop files or", "
|
|
53
|
-
injectString("sk-SK", "Drag & drop files or", "
|
|
54
|
-
injectString("sv", "Drag & drop files or", "
|
|
55
|
-
injectString("th", "Drag & drop files or", "
|
|
56
|
-
injectString("tr", "Drag & drop files or", "
|
|
57
|
-
injectString("zh-Hans", "Drag & drop files or", "
|
|
58
|
-
injectString("zh-TW", "Drag & drop files or", "
|
|
59
|
-
injectString("ro-RO", "Drag & drop files or", "
|
|
60
|
-
injectString("ar
|
|
61
|
-
injectString("cs", "Browse", "
|
|
62
|
-
injectString("da-DK", "Browse", "
|
|
63
|
-
injectString("de", "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", "
|
|
66
|
-
injectString("fi-FI", "Browse", "
|
|
67
|
-
injectString("fr", "Browse", "
|
|
68
|
-
injectString("fr-FR", "Browse", "
|
|
69
|
-
injectString("hu-HU", "Browse", "
|
|
70
|
-
injectString("id", "Browse", "
|
|
71
|
-
injectString("it", "Browse", "
|
|
72
|
-
injectString("ja", "Browse", "
|
|
73
|
-
injectString("ko-KR", "Browse", "
|
|
74
|
-
injectString("ms", "Browse", "
|
|
75
|
-
injectString("nb-NO", "Browse", "
|
|
76
|
-
injectString("nl", "Browse", "
|
|
77
|
-
injectString("pl", "Browse", "
|
|
78
|
-
injectString("pt-BR", "Browse", "
|
|
79
|
-
injectString("pt-PT", "Browse", "
|
|
80
|
-
injectString("sk-SK", "Browse", "
|
|
81
|
-
injectString("sv", "Browse", "
|
|
82
|
-
injectString("th", "Browse", "
|
|
83
|
-
injectString("tr", "Browse", "
|
|
84
|
-
injectString("zh-Hans", "Browse", "
|
|
85
|
-
injectString("zh-TW", "Browse", "
|
|
86
|
-
injectString("ro-RO", "Browse", "
|
|
87
|
-
injectString("ar
|
|
88
|
-
injectString("cs", "Supported Formats:", "
|
|
89
|
-
injectString("da-DK", "Supported Formats:", "
|
|
90
|
-
injectString("de", "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:", "
|
|
93
|
-
injectString("fi-FI", "Supported Formats:", "
|
|
94
|
-
injectString("fr", "Supported Formats:", "
|
|
95
|
-
injectString("fr-FR", "Supported Formats:", "
|
|
96
|
-
injectString("hu-HU", "Supported Formats:", "
|
|
97
|
-
injectString("id", "Supported Formats:", "
|
|
98
|
-
injectString("it", "Supported Formats:", "
|
|
99
|
-
injectString("ja", "Supported Formats:", "
|
|
100
|
-
injectString("ko-KR", "Supported Formats:", "
|
|
101
|
-
injectString("ms", "Supported Formats:", "
|
|
102
|
-
injectString("nb-NO", "Supported Formats:", "
|
|
103
|
-
injectString("nl", "Supported Formats:", "
|
|
104
|
-
injectString("pl", "Supported Formats:", "
|
|
105
|
-
injectString("pt-BR", "Supported Formats:", "
|
|
106
|
-
injectString("pt-PT", "Supported Formats:", "
|
|
107
|
-
injectString("sk-SK", "Supported Formats:", "
|
|
108
|
-
injectString("sv", "Supported Formats:", "
|
|
109
|
-
injectString("th", "Supported Formats:", "
|
|
110
|
-
injectString("tr", "Supported Formats:", "
|
|
111
|
-
injectString("zh-Hans", "Supported Formats:", "
|
|
112
|
-
injectString("zh-TW", "Supported Formats:", "
|
|
113
|
-
injectString("ro-RO", "Supported Formats:", "
|
|
114
|
-
injectString("ar
|
|
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
|
|
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
|
|
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
|
|
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();
|