@geotab/zenith 3.11.1 → 3.12.0-beta.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 +70 -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 +1 -1
- 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 +4 -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 +1 -1
- 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 +4 -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
|
@@ -65,7 +65,7 @@ injectString("tr", "Error Loading Items", "Error Loading Items");
|
|
|
65
65
|
injectString("zh-Hans", "Error Loading Items", "Error Loading Items");
|
|
66
66
|
injectString("zh-TW", "Error Loading Items", "Error Loading Items");
|
|
67
67
|
injectString("ro-RO", "Error Loading Items", "Eroare la \xEEnc\u0103rcarea articolelor");
|
|
68
|
-
injectString("ar
|
|
68
|
+
injectString("ar", "Error Loading Items", "\u062E\u0637\u0623 \u0641\u064A \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0639\u0646\u0627\u0635\u0631");
|
|
69
69
|
injectString("cs", "No data", "\u017D\xE1dn\xE1 data");
|
|
70
70
|
injectString("da-DK", "No data", "Ingen data");
|
|
71
71
|
injectString("de", "No data", "Keine Daten");
|
|
@@ -92,7 +92,7 @@ injectString("tr", "No data", "Veri yok");
|
|
|
92
92
|
injectString("zh-Hans", "No data", "\u65E0\u6570\u636E");
|
|
93
93
|
injectString("zh-TW", "No data", "\u7121\u8CC7\u6599");
|
|
94
94
|
injectString("ro-RO", "No data", "Nu exist\u0103 date");
|
|
95
|
-
injectString("ar
|
|
95
|
+
injectString("ar", "No data", "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A");
|
|
96
96
|
injectString("cs", "Clear", "Vymazat");
|
|
97
97
|
injectString("da-DK", "Clear", "Ryd");
|
|
98
98
|
injectString("de", "Clear", "L\xF6schen");
|
|
@@ -119,7 +119,7 @@ injectString("tr", "Clear", "Temizle");
|
|
|
119
119
|
injectString("zh-Hans", "Clear", "\u6E05\u9664");
|
|
120
120
|
injectString("zh-TW", "Clear", "\u6E05\u9664");
|
|
121
121
|
injectString("ro-RO", "Clear", "\u0218terge\u021Bi");
|
|
122
|
-
injectString("ar
|
|
122
|
+
injectString("ar", "Clear", "\u0645\u0633\u062D");
|
|
123
123
|
injectString("cs", "Cancel", "Zru\u0161it");
|
|
124
124
|
injectString("da-DK", "Cancel", "Annuller");
|
|
125
125
|
injectString("de", "Cancel", "Abbrechen");
|
|
@@ -146,7 +146,7 @@ injectString("tr", "Cancel", "\u0130ptal");
|
|
|
146
146
|
injectString("zh-Hans", "Cancel", "\u53D6\u6D88");
|
|
147
147
|
injectString("zh-TW", "Cancel", "\u53D6\u6D88");
|
|
148
148
|
injectString("ro-RO", "Cancel", "Anula\u021Bi");
|
|
149
|
-
injectString("ar
|
|
149
|
+
injectString("ar", "Cancel", "\u0625\u0644\u063A\u0627\u0621");
|
|
150
150
|
injectString("cs", "Apply", "Pou\u017E\xEDt");
|
|
151
151
|
injectString("da-DK", "Apply", "Anvend");
|
|
152
152
|
injectString("de", "Apply", "Anwenden");
|
|
@@ -173,7 +173,7 @@ injectString("tr", "Apply", "Uygula");
|
|
|
173
173
|
injectString("zh-Hans", "Apply", "\u5E94\u7528");
|
|
174
174
|
injectString("zh-TW", "Apply", "\u5957\u7528");
|
|
175
175
|
injectString("ro-RO", "Apply", "Aplica\u021Bi");
|
|
176
|
-
injectString("ar
|
|
176
|
+
injectString("ar", "Apply", "\u062A\u0637\u0628\u064A\u0642");
|
|
177
177
|
injectString("cs", "Deselect all", "Zru\u0161it v\xFDb\u011Br v\u0161ech");
|
|
178
178
|
injectString("da-DK", "Deselect all", "Frav\xE6lg alle");
|
|
179
179
|
injectString("de", "Deselect all", "Auswahl f\xFCr alle aufheben");
|
|
@@ -200,7 +200,7 @@ injectString("tr", "Deselect all", "T\xFCm\xFCn\xFCn se\xE7imini iptal et");
|
|
|
200
200
|
injectString("zh-Hans", "Deselect all", "\u53D6\u6D88\u5168\u9009");
|
|
201
201
|
injectString("zh-TW", "Deselect all", "\u53D6\u6D88\u5168\u9078");
|
|
202
202
|
injectString("ro-RO", "Deselect all", "Deselecta\u021Bi tot");
|
|
203
|
-
injectString("ar
|
|
203
|
+
injectString("ar", "Deselect all", "\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644");
|
|
204
204
|
injectString("cs", "Select all", "Vybrat v\u0161e");
|
|
205
205
|
injectString("da-DK", "Select all", "V\xE6lg alle");
|
|
206
206
|
injectString("de", "Select all", "Alle ausw\xE4hlen");
|
|
@@ -227,7 +227,7 @@ injectString("tr", "Select all", "T\xFCm\xFCn\xFC se\xE7");
|
|
|
227
227
|
injectString("zh-Hans", "Select all", "\u5168\u9009");
|
|
228
228
|
injectString("zh-TW", "Select all", "\u5168\u9078");
|
|
229
229
|
injectString("ro-RO", "Select all", "Selecta\u021Bi tot");
|
|
230
|
-
injectString("ar
|
|
230
|
+
injectString("ar", "Select all", "\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644");
|
|
231
231
|
injectString("cs", "Select option", "Vybrat mo\u017Enost");
|
|
232
232
|
injectString("da-DK", "Select option", "V\xE6lg mulighed");
|
|
233
233
|
injectString("de", "Select option", "Option ausw\xE4hlen");
|
|
@@ -254,7 +254,7 @@ injectString("tr", "Select option", "Se\xE7enek belirleyin");
|
|
|
254
254
|
injectString("zh-Hans", "Select option", "\u9009\u62E9\u9009\u9879");
|
|
255
255
|
injectString("zh-TW", "Select option", "\u9078\u53D6\u9078\u9805");
|
|
256
256
|
injectString("ro-RO", "Select option", "Selecta\u021Bi op\u021Biunea");
|
|
257
|
-
injectString("ar
|
|
257
|
+
injectString("ar", "Select option", "\u0627\u062E\u062A\u064A\u0627\u0631 \u062E\u064A\u0627\u0631");
|
|
258
258
|
injectString("cs", "Back", "Zp\u011Bt");
|
|
259
259
|
injectString("da-DK", "Back", "Tilbage");
|
|
260
260
|
injectString("de", "Back", "Zur\xFCck");
|
|
@@ -281,7 +281,7 @@ injectString("tr", "Back", "Geri");
|
|
|
281
281
|
injectString("zh-Hans", "Back", "\u8FD4\u56DE");
|
|
282
282
|
injectString("zh-TW", "Back", "\u8FD4\u56DE");
|
|
283
283
|
injectString("ro-RO", "Back", "\xCEnapoi");
|
|
284
|
-
injectString("ar
|
|
284
|
+
injectString("ar", "Back", "\u0631\u062C\u0648\u0639");
|
|
285
285
|
const react_1 = __importStar(require("react"));
|
|
286
286
|
const checkboxListWithAction_1 = require("../checkboxListWithAction/checkboxListWithAction");
|
|
287
287
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
@@ -46,7 +46,7 @@ injectString("tr", "Filter by group", "Gruba g\xF6re filtrele");
|
|
|
46
46
|
injectString("zh-Hans", "Filter by group", "\u6309\u7EC4\u8FC7\u6EE4");
|
|
47
47
|
injectString("zh-TW", "Filter by group", "\u4F9D\u7FA4\u7D44\u7BE9\u9078");
|
|
48
48
|
injectString("ro-RO", "Filter by group", "Filtra\u021Bi dup\u0103 grup");
|
|
49
|
-
injectString("ar
|
|
49
|
+
injectString("ar", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
|
|
50
50
|
injectString("cs", "Apply", "Pou\u017E\xEDt");
|
|
51
51
|
injectString("da-DK", "Apply", "Anvend");
|
|
52
52
|
injectString("de", "Apply", "Anwenden");
|
|
@@ -73,7 +73,7 @@ injectString("tr", "Apply", "Uygula");
|
|
|
73
73
|
injectString("zh-Hans", "Apply", "\u5E94\u7528");
|
|
74
74
|
injectString("zh-TW", "Apply", "\u5957\u7528");
|
|
75
75
|
injectString("ro-RO", "Apply", "Aplica\u021Bi");
|
|
76
|
-
injectString("ar
|
|
76
|
+
injectString("ar", "Apply", "\u062A\u0637\u0628\u064A\u0642");
|
|
77
77
|
injectString("cs", "Clear", "Vymazat");
|
|
78
78
|
injectString("da-DK", "Clear", "Ryd");
|
|
79
79
|
injectString("de", "Clear", "L\xF6schen");
|
|
@@ -100,7 +100,7 @@ injectString("tr", "Clear", "Temizle");
|
|
|
100
100
|
injectString("zh-Hans", "Clear", "\u6E05\u9664");
|
|
101
101
|
injectString("zh-TW", "Clear", "\u6E05\u9664");
|
|
102
102
|
injectString("ro-RO", "Clear", "\u0218terge\u021Bi");
|
|
103
|
-
injectString("ar
|
|
103
|
+
injectString("ar", "Clear", "\u0645\u0633\u062D");
|
|
104
104
|
const DropdownPopup = ({
|
|
105
105
|
alignment,
|
|
106
106
|
triggerRef,
|
|
@@ -36,7 +36,7 @@ injectString("tr", "Filter by group", "Gruba g\xF6re filtrele");
|
|
|
36
36
|
injectString("zh-Hans", "Filter by group", "\u6309\u7EC4\u8FC7\u6EE4");
|
|
37
37
|
injectString("zh-TW", "Filter by group", "\u4F9D\u7FA4\u7D44\u7BE9\u9078");
|
|
38
38
|
injectString("ro-RO", "Filter by group", "Filtra\u021Bi dup\u0103 grup");
|
|
39
|
-
injectString("ar
|
|
39
|
+
injectString("ar", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
|
|
40
40
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
41
41
|
const dropdownList_1 = require("./dropdownList");
|
|
42
42
|
const stateReducer_1 = require("./stateReducer/stateReducer");
|
|
@@ -81,6 +81,7 @@ const DropdownRaw = props => {
|
|
|
81
81
|
isLoading,
|
|
82
82
|
title,
|
|
83
83
|
triggerAriaLabel,
|
|
84
|
+
id: propId,
|
|
84
85
|
inputId,
|
|
85
86
|
filterName,
|
|
86
87
|
showCounterPill = true,
|
|
@@ -109,7 +110,8 @@ const DropdownRaw = props => {
|
|
|
109
110
|
isLoadingError,
|
|
110
111
|
mobileSheetStackingClassName,
|
|
111
112
|
isError,
|
|
112
|
-
firstParentNodeIsVisible
|
|
113
|
+
firstParentNodeIsVisible,
|
|
114
|
+
dataAnalyticsId
|
|
113
115
|
} = props;
|
|
114
116
|
const {
|
|
115
117
|
isFormSection
|
|
@@ -128,7 +130,15 @@ const DropdownRaw = props => {
|
|
|
128
130
|
let onChangeInner, defaultValueInner;
|
|
129
131
|
if (isFormItemVal) {
|
|
130
132
|
onChangeInner = val => {
|
|
131
|
-
|
|
133
|
+
if (Array.isArray(val)) {
|
|
134
|
+
field === null || field === void 0 ? void 0 : field.onChange(val.map(item => item.id));
|
|
135
|
+
} else if (typeof val === "object" && val !== null && "selected" in val) {
|
|
136
|
+
field === null || field === void 0 ? void 0 : field.onChange(Object.assign(Object.assign({}, val), {
|
|
137
|
+
selected: val.selected.map(item => item.id)
|
|
138
|
+
}));
|
|
139
|
+
} else {
|
|
140
|
+
field === null || field === void 0 ? void 0 : field.onChange(val);
|
|
141
|
+
}
|
|
132
142
|
};
|
|
133
143
|
defaultValueInner = ((_a = props.controller) === null || _a === void 0 ? void 0 : _a.defaultValue) || [];
|
|
134
144
|
} else {
|
|
@@ -477,15 +487,15 @@ const DropdownRaw = props => {
|
|
|
477
487
|
selected: preparedItems,
|
|
478
488
|
isAllSelected: state.isAllSelected || false
|
|
479
489
|
};
|
|
480
|
-
|
|
490
|
+
onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
|
|
481
491
|
} else {
|
|
482
492
|
const newValue = isCheckboxMode ? {
|
|
483
493
|
selected: preparedItems,
|
|
484
494
|
isChecked: state.isChecked
|
|
485
495
|
} : preparedItems;
|
|
486
|
-
|
|
496
|
+
onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
|
|
487
497
|
}
|
|
488
|
-
}, [state.selectedIds, state.isAllSelected, state.isChecked, state.groupsMap, state.groupsMapSelected, isCheckboxMode, handleClose, isFullSelectionMode,
|
|
498
|
+
}, [state.selectedIds, state.isAllSelected, state.isChecked, state.groupsMap, state.groupsMapSelected, isCheckboxMode, handleClose, isFullSelectionMode, onChangeInner]);
|
|
489
499
|
const customGetData = (0, react_1.useCallback)(str => str && dataItems ? Promise.resolve(dataItems.filter(el => {
|
|
490
500
|
var _a;
|
|
491
501
|
return (((_a = el.name) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) || "").indexOf(str.trim().toLocaleLowerCase()) > -1;
|
|
@@ -551,12 +561,18 @@ const DropdownRaw = props => {
|
|
|
551
561
|
}, [setChecked, setSearch]);
|
|
552
562
|
const debouncedGetData = (0, useDebounce_1.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);
|
|
553
563
|
const controlData = (0, react_1.useCallback)((signal, searchValue, isChecked) => {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
564
|
+
if (isQueryMode) {
|
|
565
|
+
handleQueryMode(searchValue, isChecked);
|
|
566
|
+
} else if (!getData && dataItems && !searchValue) {
|
|
567
|
+
handleData(dataItems, "");
|
|
568
|
+
} else {
|
|
569
|
+
dispatchState({
|
|
570
|
+
type: stateActionType_1.StateActionType.ShowWaiting,
|
|
571
|
+
payload: undefined
|
|
572
|
+
});
|
|
573
|
+
debouncedGetData(signal, searchValue, isChecked);
|
|
574
|
+
}
|
|
575
|
+
}, [debouncedGetData, handleData, handleQueryMode, isQueryMode, getData, dataItems]);
|
|
560
576
|
(0, react_1.useEffect)(() => {
|
|
561
577
|
var _a;
|
|
562
578
|
const timeoutId = (_a = zen_1.zen.setTimeout) === null || _a === void 0 ? void 0 : _a.call(zen_1.zen, () => {
|
|
@@ -601,15 +617,15 @@ const DropdownRaw = props => {
|
|
|
601
617
|
selected: preparedItems,
|
|
602
618
|
isAllSelected: state.isAllSelected || false
|
|
603
619
|
};
|
|
604
|
-
|
|
620
|
+
onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
|
|
605
621
|
} else {
|
|
606
622
|
const newValue = isCheckboxMode ? {
|
|
607
623
|
selected: preparedItems,
|
|
608
624
|
isChecked: state.isChecked
|
|
609
625
|
} : preparedItems;
|
|
610
|
-
|
|
626
|
+
onChangeInner === null || onChangeInner === void 0 ? void 0 : onChangeInner(newValue);
|
|
611
627
|
}
|
|
612
|
-
}, [onChangeInner, value, state.selectedIds, state.groupsMapSelected, state.groupsMap, hasApplyButton, state.isAllSelected, isFullSelectionMode, state.isChecked, isCheckboxMode
|
|
628
|
+
}, [onChangeInner, value, state.selectedIds, state.groupsMapSelected, state.groupsMap, hasApplyButton, state.isAllSelected, isFullSelectionMode, state.isChecked, isCheckboxMode]);
|
|
613
629
|
(0, react_1.useEffect)(() => {
|
|
614
630
|
// when change outside
|
|
615
631
|
const selectedValue = isFullSelectionMode || isCheckboxMode ? value.selected : value;
|
|
@@ -939,7 +955,7 @@ const DropdownRaw = props => {
|
|
|
939
955
|
className: (0, classNames_1.classNames)([!width && !fullWidthTriggerButton && parentTriggerWidth < 420 && !searchField ? "zen-dropdown__trigger-button--width-parent" : "", isError ? "zen-dropdown__trigger-button--error" : ""]),
|
|
940
956
|
currentSelection: memoizedCurrentSelection,
|
|
941
957
|
isActive: state.isOpenCombo,
|
|
942
|
-
id: inputId,
|
|
958
|
+
id: inputId || propId,
|
|
943
959
|
isError: isError,
|
|
944
960
|
disabled: disabled,
|
|
945
961
|
count: showCounterPill ? countSelected : 0,
|
|
@@ -957,7 +973,8 @@ const DropdownRaw = props => {
|
|
|
957
973
|
buttonType: buttonType,
|
|
958
974
|
handleFocusOnPopup: handleFocusOnPopup,
|
|
959
975
|
popupId: memoizedAllyPattern === "selectOnlyCombobox" ? selectListId : popupId,
|
|
960
|
-
allyPattern: memoizedAllyPattern
|
|
976
|
+
allyPattern: memoizedAllyPattern,
|
|
977
|
+
dataAnalyticsId: dataAnalyticsId
|
|
961
978
|
}, accessibilityProps)), (0, jsx_runtime_1.jsx)(dropdownPopup_1.DropdownPopup, {
|
|
962
979
|
alignment: alignment,
|
|
963
980
|
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[];
|
|
@@ -44,7 +44,7 @@ injectString("tr", "Filter by group", "Gruba g\xF6re filtrele");
|
|
|
44
44
|
injectString("zh-Hans", "Filter by group", "\u6309\u7EC4\u8FC7\u6EE4");
|
|
45
45
|
injectString("zh-TW", "Filter by group", "\u4F9D\u7FA4\u7D44\u7BE9\u9078");
|
|
46
46
|
injectString("ro-RO", "Filter by group", "Filtra\u021Bi dup\u0103 grup");
|
|
47
|
-
injectString("ar
|
|
47
|
+
injectString("ar", "Filter by group", "\u062A\u0635\u0641\u064A\u0629 \u062D\u0633\u0628 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629");
|
|
48
48
|
injectString("cs", "Clear search", "Vymazat vyhled\xE1v\xE1n\xED");
|
|
49
49
|
injectString("da-DK", "Clear search", "Ryd s\xF8gning");
|
|
50
50
|
injectString("de", "Clear search", "Suche l\xF6schen");
|
|
@@ -71,7 +71,7 @@ injectString("tr", "Clear search", "Aramay\u0131 temizle");
|
|
|
71
71
|
injectString("zh-Hans", "Clear search", "\u6E05\u9664\u641C\u7D22");
|
|
72
72
|
injectString("zh-TW", "Clear search", "\u6E05\u9664\u641C\u5C0B");
|
|
73
73
|
injectString("ro-RO", "Clear search", "\u0218terge\u021Bi c\u0103utarea");
|
|
74
|
-
injectString("ar
|
|
74
|
+
injectString("ar", "Clear search", "\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B");
|
|
75
75
|
injectString("cs", "Close filter", "Zav\u0159\xEDt filtr");
|
|
76
76
|
injectString("da-DK", "Close filter", "Luk filter");
|
|
77
77
|
injectString("de", "Close filter", "Filter schlie\xDFen");
|
|
@@ -98,7 +98,7 @@ injectString("tr", "Close filter", "Filtreyi kapat");
|
|
|
98
98
|
injectString("zh-Hans", "Close filter", "\u5173\u95ED\u7B5B\u9009\u5668");
|
|
99
99
|
injectString("zh-TW", "Close filter", "\u95DC\u9589\u7BE9\u9078\u5668");
|
|
100
100
|
injectString("ro-RO", "Close filter", "\xCEnchide\u021Bi filtrul");
|
|
101
|
-
injectString("ar
|
|
101
|
+
injectString("ar", "Close filter", "\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u062A\u0635\u0641\u064A\u0629");
|
|
102
102
|
injectString("cs", "Open filter", "Otev\u0159\xEDt filtr");
|
|
103
103
|
injectString("da-DK", "Open filter", "\xC5bn filter");
|
|
104
104
|
injectString("de", "Open filter", "Filter \xF6ffnen");
|
|
@@ -125,7 +125,7 @@ injectString("tr", "Open filter", "Filtreyi a\xE7");
|
|
|
125
125
|
injectString("zh-Hans", "Open filter", "\u6253\u5F00\u7B5B\u9009\u5668");
|
|
126
126
|
injectString("zh-TW", "Open filter", "\u958B\u555F\u7BE9\u9078\u689D\u4EF6");
|
|
127
127
|
injectString("ro-RO", "Open filter", "Deschide\u021Bi filtrul");
|
|
128
|
-
injectString("ar
|
|
128
|
+
injectString("ar", "Open filter", "\u0641\u062A\u062D \u0627\u0644\u062A\u0635\u0641\u064A\u0629");
|
|
129
129
|
const textInputRaw_1 = require("../textInputRaw/textInputRaw");
|
|
130
130
|
const iconChevronDownSmall_1 = require("../icons/iconChevronDownSmall");
|
|
131
131
|
const iconCrossThin_1 = require("../icons/deprecated/iconCrossThin");
|
|
@@ -154,9 +154,10 @@ const DropdownSearchableTrigger = _a => {
|
|
|
154
154
|
name,
|
|
155
155
|
onBlur,
|
|
156
156
|
popupId,
|
|
157
|
-
handleFocusOnPopup
|
|
157
|
+
handleFocusOnPopup,
|
|
158
|
+
dataAnalyticsId
|
|
158
159
|
} = _a,
|
|
159
|
-
otherProps = __rest(_a, ["value", "className", "onChange", "placeholder", "isOpenPopup", "inputRef", "handleClick", "width", "title", "id", "disabled", "count", "currentSelection", "isError", "fullWidth", "ref", "name", "onBlur", "popupId", "handleFocusOnPopup"])
|
|
160
|
+
otherProps = __rest(_a, ["value", "className", "onChange", "placeholder", "isOpenPopup", "inputRef", "handleClick", "width", "title", "id", "disabled", "count", "currentSelection", "isError", "fullWidth", "ref", "name", "onBlur", "popupId", "handleFocusOnPopup", "dataAnalyticsId"])
|
|
160
161
|
// eslint-disable-next-line complexity
|
|
161
162
|
;
|
|
162
163
|
const {
|
|
@@ -209,6 +210,7 @@ const DropdownSearchableTrigger = _a => {
|
|
|
209
210
|
ref: ref
|
|
210
211
|
}, otherProps, {
|
|
211
212
|
onClick: disabled ? () => {} : clickHandler,
|
|
213
|
+
"data-analytics-id": dataAnalyticsId,
|
|
212
214
|
children: [(0, jsx_runtime_1.jsxs)("div", {
|
|
213
215
|
onBlur: onBlur,
|
|
214
216
|
className: (0, classNames_1.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[];
|
|
@@ -19,13 +19,13 @@ const react_1 = require("react");
|
|
|
19
19
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
20
20
|
const dropdownHelper_1 = require("./dropdownHelper");
|
|
21
21
|
const DropdownTrigger = (_a) => {
|
|
22
|
-
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"]);
|
|
22
|
+
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"]);
|
|
23
23
|
const elInpRef = (0, react_1.useRef)(null);
|
|
24
24
|
const handleButtonClick = () => {
|
|
25
25
|
handleClick(!isActive);
|
|
26
26
|
};
|
|
27
27
|
const allyTriggerProps = (0, react_1.useMemo)(() => (0, dropdownHelper_1.getAllyTriggerProps)(allyPattern), [allyPattern]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchField ? ((0, jsx_runtime_1.jsx)(dropdownSearchableTrigger_1.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))) : ((0, jsx_runtime_1.jsx)(filterButton_1.FilterButton, Object.assign({ ref: triggerRef, id: id, name: name, onBlur: onBlur, className: (0, classNames_1.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 ? ((0, jsx_runtime_1.jsx)("span", { className: (0, classNames_1.classNames)([
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchField ? ((0, jsx_runtime_1.jsx)(dropdownSearchableTrigger_1.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))) : ((0, jsx_runtime_1.jsx)(filterButton_1.FilterButton, Object.assign({ ref: triggerRef, id: id, name: name, onBlur: onBlur, className: (0, classNames_1.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 ? ((0, jsx_runtime_1.jsx)("span", { className: (0, classNames_1.classNames)([
|
|
29
29
|
"zen-dropdown__trigger-button-text",
|
|
30
30
|
buttonType ? `zen-dropdown__trigger-button-text--${buttonType.toString()}` : ""
|
|
31
31
|
]), 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;
|
|
@@ -39,7 +39,7 @@ injectString("tr", "Favorite", "Favori");
|
|
|
39
39
|
injectString("zh-Hans", "Favorite", "\u6536\u85CF");
|
|
40
40
|
injectString("zh-TW", "Favorite", "\u6211\u7684\u6700\u611B");
|
|
41
41
|
injectString("ro-RO", "Favorite", "Preferat");
|
|
42
|
-
injectString("ar
|
|
42
|
+
injectString("ar", "Favorite", "\u0627\u0644\u0645\u0641\u0636\u0644\u0629");
|
|
43
43
|
const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
44
44
|
const useDrive_1 = require("../utils/theme/useDrive");
|
|
45
45
|
const useMobile_1 = require("../commonHelpers/hooks/useMobile");
|
|
@@ -12,114 +12,114 @@ const button_1 = require("../../button/button");
|
|
|
12
12
|
const buttonType_1 = require("../../button/buttonType");
|
|
13
13
|
const imageCloudUpload_1 = require("../../images/imageCloudUpload");
|
|
14
14
|
const imageTapToUpload_1 = require("../../images/imageTapToUpload");
|
|
15
|
-
injectString("cs", "Tap to add files", "
|
|
16
|
-
injectString("da-DK", "Tap to add files", "
|
|
17
|
-
injectString("de", "Tap to add files", "
|
|
15
|
+
injectString("cs", "Tap to add files", "Klepnut\xEDm p\u0159idejte soubory");
|
|
16
|
+
injectString("da-DK", "Tap to add files", "Tryk for at tilf\xF8je filer");
|
|
17
|
+
injectString("de", "Tap to add files", "Tippen, um Dateien hinzuzuf\xFCgen");
|
|
18
18
|
injectString("en", "Tap to add files", "Tap to add files");
|
|
19
|
-
injectString("es", "Tap to add files", "
|
|
20
|
-
injectString("fi-FI", "Tap to add files", "
|
|
21
|
-
injectString("fr", "Tap to add files", "
|
|
22
|
-
injectString("fr-FR", "Tap to add files", "
|
|
23
|
-
injectString("hu-HU", "Tap to add files", "
|
|
24
|
-
injectString("id", "Tap to add files", "
|
|
25
|
-
injectString("it", "Tap to add files", "
|
|
26
|
-
injectString("ja", "Tap to add files", "
|
|
27
|
-
injectString("ko-KR", "Tap to add files", "
|
|
28
|
-
injectString("ms", "Tap to add files", "
|
|
29
|
-
injectString("nb-NO", "Tap to add files", "
|
|
30
|
-
injectString("nl", "Tap to add files", "
|
|
31
|
-
injectString("pl", "Tap to add files", "
|
|
32
|
-
injectString("pt-BR", "Tap to add files", "
|
|
33
|
-
injectString("pt-PT", "Tap to add files", "
|
|
34
|
-
injectString("sk-SK", "Tap to add files", "
|
|
35
|
-
injectString("sv", "Tap to add files", "
|
|
36
|
-
injectString("th", "Tap to add files", "
|
|
37
|
-
injectString("tr", "Tap to add files", "
|
|
38
|
-
injectString("zh-Hans", "Tap to add files", "
|
|
39
|
-
injectString("zh-TW", "Tap to add files", "
|
|
40
|
-
injectString("ro-RO", "Tap to add files", "
|
|
41
|
-
injectString("ar
|
|
42
|
-
injectString("cs", "Drag & drop files or", "
|
|
43
|
-
injectString("da-DK", "Drag & drop files or", "
|
|
44
|
-
injectString("de", "Drag & drop files or", "
|
|
19
|
+
injectString("es", "Tap to add files", "Toca para agregar archivos");
|
|
20
|
+
injectString("fi-FI", "Tap to add files", "Lis\xE4\xE4 tiedostoja napauttamalla");
|
|
21
|
+
injectString("fr", "Tap to add files", "Appuyez pour ajouter des fichiers");
|
|
22
|
+
injectString("fr-FR", "Tap to add files", "Appuyez pour ajouter des fichiers");
|
|
23
|
+
injectString("hu-HU", "Tap to add files", "F\xE1jlok hozz\xE1ad\xE1s\xE1hoz koppintson");
|
|
24
|
+
injectString("id", "Tap to add files", "Ketuk untuk menambahkan file");
|
|
25
|
+
injectString("it", "Tap to add files", "Tocca per aggiungere file");
|
|
26
|
+
injectString("ja", "Tap to add files", "\u30BF\u30C3\u30D7\u3057\u3066\u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0");
|
|
27
|
+
injectString("ko-KR", "Tap to add files", "\uD0ED\uD558\uC5EC \uD30C\uC77C \uCD94\uAC00");
|
|
28
|
+
injectString("ms", "Tap to add files", "Ketik untuk menambah fail");
|
|
29
|
+
injectString("nb-NO", "Tap to add files", "Trykk for \xE5 legge til filer");
|
|
30
|
+
injectString("nl", "Tap to add files", "Tik om bestanden toe te voegen");
|
|
31
|
+
injectString("pl", "Tap to add files", "Dotknij, aby doda\u0107 pliki");
|
|
32
|
+
injectString("pt-BR", "Tap to add files", "Toque para adicionar arquivos");
|
|
33
|
+
injectString("pt-PT", "Tap to add files", "Toque para adicionar ficheiros");
|
|
34
|
+
injectString("sk-SK", "Tap to add files", "Klepnut\xEDm pridajte s\xFAbory");
|
|
35
|
+
injectString("sv", "Tap to add files", "Tryck f\xF6r att l\xE4gga till filer");
|
|
36
|
+
injectString("th", "Tap to add files", "\u0E41\u0E15\u0E30\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E44\u0E1F\u0E25\u0E4C");
|
|
37
|
+
injectString("tr", "Tap to add files", "Dosya eklemek i\xE7in dokunun");
|
|
38
|
+
injectString("zh-Hans", "Tap to add files", "\u70B9\u51FB\u6DFB\u52A0\u6587\u4EF6");
|
|
39
|
+
injectString("zh-TW", "Tap to add files", "\u9EDE\u9078\u4EE5\u65B0\u589E\u6A94\u6848");
|
|
40
|
+
injectString("ro-RO", "Tap to add files", "Atinge\u021Bi pentru a ad\u0103uga fi\u0219iere");
|
|
41
|
+
injectString("ar", "Tap to add files", "\u0627\u0646\u0642\u0631 \u0644\u0625\u0636\u0627\u0641\u0629 \u0645\u0644\u0641\u0627\u062A");
|
|
42
|
+
injectString("cs", "Drag & drop files or", "P\u0159et\xE1hn\u011Bte soubory nebo");
|
|
43
|
+
injectString("da-DK", "Drag & drop files or", "Tr\xE6k og slip filer eller");
|
|
44
|
+
injectString("de", "Drag & drop files or", "Dateien hierher ziehen oder");
|
|
45
45
|
injectString("en", "Drag & drop files or", "Drag & drop files or");
|
|
46
|
-
injectString("es", "Drag & drop files or", "
|
|
47
|
-
injectString("fi-FI", "Drag & drop files or", "
|
|
48
|
-
injectString("fr", "Drag & drop files or", "
|
|
49
|
-
injectString("fr-FR", "Drag & drop files or", "
|
|
50
|
-
injectString("hu-HU", "Drag & drop files or", "
|
|
51
|
-
injectString("id", "Drag & drop files or", "
|
|
52
|
-
injectString("it", "Drag & drop files or", "
|
|
53
|
-
injectString("ja", "Drag & drop files or", "
|
|
54
|
-
injectString("ko-KR", "Drag & drop files or", "
|
|
55
|
-
injectString("ms", "Drag & drop files or", "
|
|
56
|
-
injectString("nb-NO", "Drag & drop files or", "
|
|
57
|
-
injectString("nl", "Drag & drop files or", "
|
|
58
|
-
injectString("pl", "Drag & drop files or", "
|
|
59
|
-
injectString("pt-BR", "Drag & drop files or", "
|
|
60
|
-
injectString("pt-PT", "Drag & drop files or", "
|
|
61
|
-
injectString("sk-SK", "Drag & drop files or", "
|
|
62
|
-
injectString("sv", "Drag & drop files or", "
|
|
63
|
-
injectString("th", "Drag & drop files or", "
|
|
64
|
-
injectString("tr", "Drag & drop files or", "
|
|
65
|
-
injectString("zh-Hans", "Drag & drop files or", "
|
|
66
|
-
injectString("zh-TW", "Drag & drop files or", "
|
|
67
|
-
injectString("ro-RO", "Drag & drop files or", "
|
|
68
|
-
injectString("ar
|
|
69
|
-
injectString("cs", "Browse", "
|
|
70
|
-
injectString("da-DK", "Browse", "
|
|
71
|
-
injectString("de", "Browse", "
|
|
46
|
+
injectString("es", "Drag & drop files or", "Arrastrar y soltar archivos o");
|
|
47
|
+
injectString("fi-FI", "Drag & drop files or", "Ved\xE4 ja pudota tiedostoja tai");
|
|
48
|
+
injectString("fr", "Drag & drop files or", "Glisser-d\xE9poser des fichiers ou");
|
|
49
|
+
injectString("fr-FR", "Drag & drop files or", "Glisser-d\xE9poser des fichiers ou");
|
|
50
|
+
injectString("hu-HU", "Drag & drop files or", "H\xFAzza ide a f\xE1jlokat, vagy");
|
|
51
|
+
injectString("id", "Drag & drop files or", "Seret & lepas file atau");
|
|
52
|
+
injectString("it", "Drag & drop files or", "Trascina e rilascia i file o");
|
|
53
|
+
injectString("ja", "Drag & drop files or", "\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3059\u308B\u304B\u3001");
|
|
54
|
+
injectString("ko-KR", "Drag & drop files or", "\uD30C\uC77C\uC744 \uB4DC\uB798\uADF8 \uC564 \uB4DC\uB86D\uD558\uAC70\uB098");
|
|
55
|
+
injectString("ms", "Drag & drop files or", "Seret & lepas fail atau");
|
|
56
|
+
injectString("nb-NO", "Drag & drop files or", "Dra og slipp filer eller");
|
|
57
|
+
injectString("nl", "Drag & drop files or", "Bestanden slepen en neerzetten of");
|
|
58
|
+
injectString("pl", "Drag & drop files or", "Przeci\u0105gnij i upu\u015B\u0107 pliki lub");
|
|
59
|
+
injectString("pt-BR", "Drag & drop files or", "Arraste e solte arquivos ou");
|
|
60
|
+
injectString("pt-PT", "Drag & drop files or", "Arraste e largue ficheiros ou");
|
|
61
|
+
injectString("sk-SK", "Drag & drop files or", "Presu\u0148te s\xFAbory alebo");
|
|
62
|
+
injectString("sv", "Drag & drop files or", "Dra och sl\xE4pp filer eller");
|
|
63
|
+
injectString("th", "Drag & drop files or", "\u0E25\u0E32\u0E01\u0E41\u0E25\u0E30\u0E27\u0E32\u0E07\u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D");
|
|
64
|
+
injectString("tr", "Drag & drop files or", "Dosyalar\u0131 s\xFCr\xFCkleyip b\u0131rak\u0131n veya");
|
|
65
|
+
injectString("zh-Hans", "Drag & drop files or", "\u62D6\u653E\u6587\u4EF6\u6216");
|
|
66
|
+
injectString("zh-TW", "Drag & drop files or", "\u62D6\u653E\u6A94\u6848\u6216");
|
|
67
|
+
injectString("ro-RO", "Drag & drop files or", "Glisa\u021Bi \u0219i fixa\u021Bi fi\u0219iere sau");
|
|
68
|
+
injectString("ar", "Drag & drop files or", "\u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0623\u0648");
|
|
69
|
+
injectString("cs", "Browse", "Proch\xE1zet");
|
|
70
|
+
injectString("da-DK", "Browse", "Gennemse");
|
|
71
|
+
injectString("de", "Browse", "Durchsuchen");
|
|
72
72
|
injectString("en", "Browse", "Browse");
|
|
73
|
-
injectString("es", "Browse", "
|
|
74
|
-
injectString("fi-FI", "Browse", "
|
|
75
|
-
injectString("fr", "Browse", "
|
|
76
|
-
injectString("fr-FR", "Browse", "
|
|
77
|
-
injectString("hu-HU", "Browse", "
|
|
78
|
-
injectString("id", "Browse", "
|
|
79
|
-
injectString("it", "Browse", "
|
|
80
|
-
injectString("ja", "Browse", "
|
|
81
|
-
injectString("ko-KR", "Browse", "
|
|
82
|
-
injectString("ms", "Browse", "
|
|
83
|
-
injectString("nb-NO", "Browse", "
|
|
84
|
-
injectString("nl", "Browse", "
|
|
85
|
-
injectString("pl", "Browse", "
|
|
86
|
-
injectString("pt-BR", "Browse", "
|
|
87
|
-
injectString("pt-PT", "Browse", "
|
|
88
|
-
injectString("sk-SK", "Browse", "
|
|
89
|
-
injectString("sv", "Browse", "
|
|
90
|
-
injectString("th", "Browse", "
|
|
91
|
-
injectString("tr", "Browse", "
|
|
92
|
-
injectString("zh-Hans", "Browse", "
|
|
93
|
-
injectString("zh-TW", "Browse", "
|
|
94
|
-
injectString("ro-RO", "Browse", "
|
|
95
|
-
injectString("ar
|
|
96
|
-
injectString("cs", "Supported Formats:", "
|
|
97
|
-
injectString("da-DK", "Supported Formats:", "
|
|
98
|
-
injectString("de", "Supported Formats:", "
|
|
73
|
+
injectString("es", "Browse", "Explorar");
|
|
74
|
+
injectString("fi-FI", "Browse", "Selaa");
|
|
75
|
+
injectString("fr", "Browse", "Parcourir");
|
|
76
|
+
injectString("fr-FR", "Browse", "Parcourir");
|
|
77
|
+
injectString("hu-HU", "Browse", "Tall\xF3z\xE1s");
|
|
78
|
+
injectString("id", "Browse", "Jelajahi");
|
|
79
|
+
injectString("it", "Browse", "Sfoglia");
|
|
80
|
+
injectString("ja", "Browse", "\u53C2\u7167");
|
|
81
|
+
injectString("ko-KR", "Browse", "\uCC3E\uC544\uBCF4\uAE30");
|
|
82
|
+
injectString("ms", "Browse", "Semak Imbas");
|
|
83
|
+
injectString("nb-NO", "Browse", "Bla gjennom");
|
|
84
|
+
injectString("nl", "Browse", "Bladeren");
|
|
85
|
+
injectString("pl", "Browse", "Przegl\u0105daj");
|
|
86
|
+
injectString("pt-BR", "Browse", "Procurar");
|
|
87
|
+
injectString("pt-PT", "Browse", "Procurar");
|
|
88
|
+
injectString("sk-SK", "Browse", "Preh\u013Ead\xE1va\u0165");
|
|
89
|
+
injectString("sv", "Browse", "Bl\xE4ddra");
|
|
90
|
+
injectString("th", "Browse", "\u0E40\u0E23\u0E35\u0E22\u0E01\u0E14\u0E39");
|
|
91
|
+
injectString("tr", "Browse", "G\xF6zat");
|
|
92
|
+
injectString("zh-Hans", "Browse", "\u6D4F\u89C8");
|
|
93
|
+
injectString("zh-TW", "Browse", "\u700F\u89BD");
|
|
94
|
+
injectString("ro-RO", "Browse", "R\u0103sfoire");
|
|
95
|
+
injectString("ar", "Browse", "\u062A\u0635\u0641\u062D");
|
|
96
|
+
injectString("cs", "Supported Formats:", "Podporovan\xE9 form\xE1ty:");
|
|
97
|
+
injectString("da-DK", "Supported Formats:", "Underst\xF8ttede formater:");
|
|
98
|
+
injectString("de", "Supported Formats:", "Unterst\xFCtzte Formate:");
|
|
99
99
|
injectString("en", "Supported Formats:", "Supported Formats:");
|
|
100
|
-
injectString("es", "Supported Formats:", "
|
|
101
|
-
injectString("fi-FI", "Supported Formats:", "
|
|
102
|
-
injectString("fr", "Supported Formats:", "
|
|
103
|
-
injectString("fr-FR", "Supported Formats:", "
|
|
104
|
-
injectString("hu-HU", "Supported Formats:", "
|
|
105
|
-
injectString("id", "Supported Formats:", "
|
|
106
|
-
injectString("it", "Supported Formats:", "
|
|
107
|
-
injectString("ja", "Supported Formats:", "
|
|
108
|
-
injectString("ko-KR", "Supported Formats:", "
|
|
109
|
-
injectString("ms", "Supported Formats:", "
|
|
110
|
-
injectString("nb-NO", "Supported Formats:", "
|
|
111
|
-
injectString("nl", "Supported Formats:", "
|
|
112
|
-
injectString("pl", "Supported Formats:", "
|
|
113
|
-
injectString("pt-BR", "Supported Formats:", "
|
|
114
|
-
injectString("pt-PT", "Supported Formats:", "
|
|
115
|
-
injectString("sk-SK", "Supported Formats:", "
|
|
116
|
-
injectString("sv", "Supported Formats:", "
|
|
117
|
-
injectString("th", "Supported Formats:", "
|
|
118
|
-
injectString("tr", "Supported Formats:", "
|
|
119
|
-
injectString("zh-Hans", "Supported Formats:", "
|
|
120
|
-
injectString("zh-TW", "Supported Formats:", "
|
|
121
|
-
injectString("ro-RO", "Supported Formats:", "
|
|
122
|
-
injectString("ar
|
|
100
|
+
injectString("es", "Supported Formats:", "Formatos compatibles:");
|
|
101
|
+
injectString("fi-FI", "Supported Formats:", "Tuetut muodot:");
|
|
102
|
+
injectString("fr", "Supported Formats:", "Formats pris en charge :");
|
|
103
|
+
injectString("fr-FR", "Supported Formats:", "Formats pris en charge :");
|
|
104
|
+
injectString("hu-HU", "Supported Formats:", "T\xE1mogatott form\xE1tumok:");
|
|
105
|
+
injectString("id", "Supported Formats:", "Format yang Didukung:");
|
|
106
|
+
injectString("it", "Supported Formats:", "Formati supportati:");
|
|
107
|
+
injectString("ja", "Supported Formats:", "\u5BFE\u5FDC\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\uFF1A");
|
|
108
|
+
injectString("ko-KR", "Supported Formats:", "\uC9C0\uC6D0\uB418\uB294 \uD615\uC2DD:");
|
|
109
|
+
injectString("ms", "Supported Formats:", "Format yang Disokong:");
|
|
110
|
+
injectString("nb-NO", "Supported Formats:", "St\xF8ttede formater:");
|
|
111
|
+
injectString("nl", "Supported Formats:", "Ondersteunde indelingen:");
|
|
112
|
+
injectString("pl", "Supported Formats:", "Obs\u0142ugiwane formaty:");
|
|
113
|
+
injectString("pt-BR", "Supported Formats:", "Formatos suportados:");
|
|
114
|
+
injectString("pt-PT", "Supported Formats:", "Formatos suportados:");
|
|
115
|
+
injectString("sk-SK", "Supported Formats:", "Podporovan\xE9 form\xE1ty:");
|
|
116
|
+
injectString("sv", "Supported Formats:", "Format som st\xF6ds:");
|
|
117
|
+
injectString("th", "Supported Formats:", "\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A:");
|
|
118
|
+
injectString("tr", "Supported Formats:", "Desteklenen Bi\xE7imler:");
|
|
119
|
+
injectString("zh-Hans", "Supported Formats:", "\u652F\u6301\u7684\u683C\u5F0F\uFF1A");
|
|
120
|
+
injectString("zh-TW", "Supported Formats:", "\u652F\u63F4\u7684\u683C\u5F0F\uFF1A");
|
|
121
|
+
injectString("ro-RO", "Supported Formats:", "Formate acceptate:");
|
|
122
|
+
injectString("ar", "Supported Formats:", "\u0627\u0644\u0635\u064A\u063A \u0627\u0644\u0645\u062F\u0639\u0648\u0645\u0629:");
|
|
123
123
|
const DropZoneContent = ({
|
|
124
124
|
size,
|
|
125
125
|
isMobile,
|