@geotab/zenith 3.14.0 → 3.15.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 +32 -3
- package/dist/advancedGroupsFilter/advancedGroupsFilter.js +19 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +13 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +60 -8
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +7 -1
- package/dist/alert/banner.d.ts +2 -3
- package/dist/alert/hooks/useAlertState.d.ts +0 -1
- package/dist/alertRaw/alertRaw.js +6 -0
- package/dist/banner/bannerMultipLine.d.ts +0 -1
- package/dist/banner/bannerMultipLine.js +6 -0
- package/dist/banner/bannerSingleLine.d.ts +0 -1
- package/dist/banner/bannerSingleLine.js +6 -0
- package/dist/banner/utils/isSummaryErrorElement.d.ts +1 -2
- package/dist/banner/utils/useSummaryBannerProp.js +32 -0
- package/dist/betaPill/betaPill.js +34 -10
- package/dist/bookmark/bookmark.js +14 -2
- package/dist/bulkEditControl/bulkEditControl.js +32 -2
- package/dist/calendar/calendar.js +182 -2
- package/dist/calendar/calendarUtils.js +107 -19
- package/dist/calendar/dateUtils.js +2 -2
- package/dist/card/card.js +23 -7
- package/dist/card/components/content.d.ts +0 -1
- package/dist/cardContainer/helpers/getSizeClass.js +1 -2
- package/dist/chart/accessibleChart/accessibleChart.js +1 -1
- package/dist/chart/accessibleChart/accessibleChartNarrative.d.ts +1 -1
- package/dist/chart/accessibleChart/accessibleChartNarrative.js +189 -105
- package/dist/chart/accessibleChart/accessibleChartTable.js +42 -12
- package/dist/chart/accessibleChart/generatePieNarrative.d.ts +7 -0
- package/dist/chart/accessibleChart/generatePieNarrative.js +179 -0
- package/dist/chart/accessibleChart/interfaces.d.ts +1 -0
- package/dist/chart/barChart/getDefaultOptions.js +5 -6
- package/dist/chart/barChart.js +152 -50
- package/dist/chart/chart.js +15 -9
- package/dist/chart/chartAxis/chartAxis.js +14 -2
- package/dist/chart/interfaces.d.ts +0 -1
- package/dist/chart/lineChart/getDefaultOptions.js +5 -6
- package/dist/chart/lineChart/useChartTicks.d.ts +0 -1
- package/dist/chart/lineChart/useSummary.d.ts +7 -8
- package/dist/chart/lineChart.js +167 -59
- package/dist/chart/pieChart.js +174 -76
- package/dist/chart/plugins/linePlugin/getInterpolatedValue.js +1 -2
- package/dist/chart/plugins/linePlugin/linePlugin.js +29 -7
- package/dist/chart/utils/convertDates.d.ts +1 -1
- package/dist/chart/utils/getFormattedLabel.js +1 -2
- package/dist/chart/utils/getNiceAxisRange.d.ts +21 -0
- package/dist/chart/utils/getNiceAxisRange.js +76 -0
- package/dist/chart/utils/getRange.js +2 -2
- package/dist/chart/utils/getYAxisMeta.d.ts +2 -5
- package/dist/chart/utils/getYAxisMeta.js +17 -2
- package/dist/chart/utils/getYAxisTickCount.d.ts +15 -0
- package/dist/chart/utils/getYAxisTickCount.js +19 -0
- package/dist/chart/utils/resampleArrayEvenly.js +1 -2
- package/dist/checkbox/checkbox.js +17 -7
- package/dist/checkboxListWithAction/checkboxListWithAction.d.ts +0 -1
- package/dist/checkboxListWithAction/checkboxListWithAction.js +36 -12
- package/dist/chip/chip.d.ts +0 -1
- package/dist/chip/chip.js +6 -0
- package/dist/chip/utils/useChip.d.ts +0 -1
- package/dist/columnsSelector/columnsSelector.js +13 -1
- package/dist/columnsSelector/columnsTab/columnsTab.js +6 -0
- package/dist/columnsSelector/columnsTabGroup/columnsTabGroup.js +6 -0
- package/dist/commonHelpers/HOC/reducerLogger/reducerLogger.d.ts +1 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.d.ts +0 -1
- package/dist/commonHelpers/arrowNavigation/hooks/useHoldOnScroll.d.ts +0 -1
- package/dist/commonHelpers/generateId.js +1 -2
- package/dist/commonHelpers/hooks/breakpoints.d.ts +4 -0
- package/dist/commonHelpers/hooks/breakpoints.js +7 -0
- package/dist/commonHelpers/hooks/fetch.reducer.d.ts +1 -1
- package/dist/commonHelpers/hooks/fetch.reducer.js +1 -2
- package/dist/commonHelpers/hooks/useDebouncedMemo.d.ts +0 -1
- package/dist/commonHelpers/hooks/useDebouncedMemo.js +1 -2
- package/dist/commonHelpers/hooks/useDeviceType.js +2 -2
- package/dist/commonHelpers/hooks/useEscape.d.ts +1 -1
- package/dist/commonHelpers/hooks/useGridSize.d.ts +0 -1
- package/dist/commonHelpers/hooks/useMobileOrTablet.d.ts +1 -0
- package/dist/commonHelpers/hooks/useMobileOrTablet.js +21 -0
- package/dist/commonHelpers/hooks/usePillSize.d.ts +0 -1
- package/dist/{gridLayout → commonHelpers}/hooks/useTablet.js +8 -11
- package/dist/commonHelpers/utils.js +3 -3
- package/dist/commonStyles/colors/colors.less +1 -0
- package/dist/dataFeed/dataFeed.d.ts +1 -1
- package/dist/dataFeed/dataFeed.js +2 -2
- package/dist/dataFeed/dataFeedCell/dataFeedCell.d.ts +3 -1
- package/dist/dataFeed/dataFeedColumnsItems.d.ts +2 -2
- package/dist/dataFeed/feedExpandControl/feedExpandControl.js +64 -0
- package/dist/dataGrid/cell/cell.d.ts +3 -1
- package/dist/dataGrid/columns/actionsColumn/actionsButton.js +1 -2
- package/dist/dataGrid/columns/actionsColumn/actionsColumn.d.ts +3 -3
- package/dist/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +7 -1
- package/dist/dataGrid/dataGrid.d.ts +13 -1
- package/dist/dataGrid/dataGrid.js +54 -3
- package/dist/dataGrid/emptySearchList/emptySearchList.d.ts +0 -1
- package/dist/dataGrid/emptySearchList/emptySearchList.js +7 -1
- package/dist/dataGrid/entitiesListActions/actions/columnsListButton.js +7 -1
- package/dist/dataGrid/entitiesListActions/actions/fullscreenButton.js +22 -10
- package/dist/dataGrid/row/row.d.ts +3 -1
- package/dist/dataGrid/withActions/withActions.d.ts +1 -1
- package/dist/dataGrid/withFlexibleColumns/components/columnSettings.js +13 -1
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +1 -2
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +32 -0
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.d.ts +1 -1
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +6 -0
- package/dist/dataGrid/withLoading/withLoading.d.ts +1 -1
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +31 -1
- package/dist/dataGrid/withSelectableRows/withLimitedSelectableRows.d.ts +1 -1
- package/dist/dataGrid/withSelectableRows/withSelectableRows.d.ts +1 -1
- package/dist/dataGrid/withSelectableRows/withSelectableRows.js +50 -0
- package/dist/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +14 -2
- package/dist/dataGrid/withSortableColumns/withSortableColumns.d.ts +1 -1
- package/dist/dateInputInner/dateInputInner.js +62 -20
- package/dist/dateInputInner/dateInputInnerControlBlock.js +12 -0
- package/dist/dateInputInner/dateInputInnerReducer.js +2 -2
- package/dist/dateInputRaw/dateInputRaw.js +18 -0
- package/dist/dateInputRaw/utils/getLabel.js +21 -9
- package/dist/dateRangeInner/dateRangeInner.js +6 -0
- package/dist/dateRangeRaw/dateRangeRaw.js +121 -9
- package/dist/dateRangeRaw/utils/areMapsEqual.js +1 -2
- package/dist/dateRangeRaw/utils/dateRangeUtils.js +108 -6
- package/dist/dateSelectionWrapper/dateSelectionWrapper.js +24 -0
- package/dist/dialog/dialog.d.ts +0 -1
- package/dist/dialog/dialogContent.js +6 -0
- package/dist/dropdown/dropdown.js +1 -1
- package/dist/dropdown/useDropdownState.d.ts +0 -1
- package/dist/dropdownRaw/dropdownHelper.js +2 -2
- package/dist/dropdownRaw/dropdownList.d.ts +3 -2
- package/dist/dropdownRaw/dropdownList.js +84 -48
- package/dist/dropdownRaw/dropdownPopup.js +19 -1
- package/dist/dropdownRaw/dropdownRaw.js +41 -14
- package/dist/dropdownRaw/dropdownSearchableTrigger.js +27 -3
- package/dist/dropdownRaw/stateReducer/stateReducer.d.ts +4 -1
- package/dist/dropdownRaw/stateReducer/stateReducer.js +33 -23
- package/dist/dropdownRaw/stateReducer/stateReducerHelper.d.ts +1 -2
- package/dist/dropdownRaw/stateReducer/stateReducerHelper.js +8 -13
- package/dist/dropdownRaw/types.d.ts +20 -0
- package/dist/favoriteButton/favoriteButton.js +7 -1
- package/dist/feedbackContainer/feedbackContainer.js +17 -7
- package/dist/feedbackContainer/hooks/useFeedbackAlert.d.ts +0 -1
- package/dist/feedbackContainer/hooks/useFeedbackToast.d.ts +0 -1
- package/dist/fileUpload/components/dropZoneContent.js +25 -1
- package/dist/fileUpload/components/templateDownloadSection.js +6 -0
- package/dist/fileUpload/components/uploadedFilesSection.js +21 -9
- package/dist/fileUpload/fileUpload.js +55 -19
- package/dist/filters/components/filtersContainer.js +19 -1
- package/dist/filters/components/filtersDropdown.js +2 -2
- package/dist/filters/components/filtersEmptyState.js +30 -18
- package/dist/filters/components/filtersItem.d.ts +2 -2
- package/dist/filters/components/filtersSaveModal.js +57 -27
- package/dist/filters/components/filtersSavedChipComponent.js +113 -47
- package/dist/filters/components/filtersSearchItemData.js +6 -0
- package/dist/filters/components/filtersSearchList.d.ts +0 -1
- package/dist/filters/components/filtersSearchList.js +83 -29
- package/dist/filters/components/filtersSelect.d.ts +0 -1
- package/dist/filters/components/filtersSelect.js +6 -0
- package/dist/filters/components/filtersSelectCompact.d.ts +0 -1
- package/dist/filters/components/filtersSelectListItem.d.ts +0 -1
- package/dist/filters/components/filtersSelectListItem.js +12 -0
- package/dist/filters/components/filtersSelectUnfoldingPill.d.ts +0 -1
- package/dist/filters/components/filtersSidePanel.js +58 -10
- package/dist/filters/components/filtersSidePanelItem.js +17 -7
- package/dist/filters/filters.js +45 -27
- package/dist/filters/filtersHelper.d.ts +1 -1
- package/dist/filters/filtersHelper.js +5 -5
- package/dist/filters/filtersHooks.d.ts +0 -1
- package/dist/filtersBar/components/filtersBarDropdownWithCheckbox/filtersBarDropdownWithCheckbox.js +1 -1
- package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +116 -8
- package/dist/filtersBar/components/resetComponentButton.js +6 -0
- package/dist/filtersBar/filtersBar.js +2 -2
- package/dist/filtersBar/filtersBarActions/filtersBarActions.d.ts +0 -1
- package/dist/filtersBar/filtersBarActions/filtersBarActions.js +50 -0
- package/dist/filtersBar/filtersBarInterfaces.d.ts +0 -1
- package/dist/filtersBar/filtersBarReducer.js +2 -2
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelDropdownWithCheckbox/filtersBarSidePanelDropdownWithCheckbox.d.ts +4 -10
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +12 -0
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +31 -1
- package/dist/filtersBar/filtersBarSidePanel/sidePanelReducer.js +2 -2
- package/dist/filtersBar/filtersContainer/filtersContainer.js +20 -6
- package/dist/filtersBar/utils/getNumberOfChangedFilters.js +1 -2
- package/dist/footerButtons/footerButtons.js +17 -7
- package/dist/formField/components/formFieldAdditionalInfo.d.ts +0 -1
- package/dist/formField/components/formFieldCounter.d.ts +0 -1
- package/dist/formField/components/formFieldLoading.d.ts +0 -1
- package/dist/formField/components/formFieldSkeleton.d.ts +0 -1
- package/dist/formField/components/formFieldWithLabel.d.ts +0 -1
- package/dist/formField/components/formFieldWithoutLabel.d.ts +0 -1
- package/dist/formField/formField.d.ts +1 -1
- package/dist/formField/hooks/useBanner.d.ts +0 -1
- package/dist/formField/hooks/useDisabled.d.ts +1 -1
- package/dist/formField/hooks/useError.js +27 -9
- package/dist/formGroup/components/customRow/customRow.d.ts +0 -1
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +12 -0
- package/dist/formGroup/formGroup.js +17 -7
- package/dist/formGroup/hooks/listHooks/useStateToElements.d.ts +0 -1
- package/dist/formGroup/hooks/listHooks/useStateToElements.js +1 -1
- package/dist/formGroup/hooks/useToggle.js +15 -9
- package/dist/formGroup/utils/formGroupProvider.d.ts +0 -1
- package/dist/formGroup/utils/isFormLabel.d.ts +1 -1
- package/dist/formGroupItem/formGroupItem.d.ts +0 -1
- package/dist/formLayout/components/layoutColumn/layoutColum.d.ts +0 -1
- package/dist/formLayout/hooks/useError.js +36 -18
- package/dist/formLayout/hooks/useFormButtons.d.ts +1 -1
- package/dist/formLayout/hooks/useFormButtons.js +18 -0
- package/dist/formLayout/types.d.ts +0 -1
- package/dist/formLayout/utils/attachHeadings.d.ts +1 -1
- package/dist/formLayout/utils/attachSeparators.d.ts +0 -1
- package/dist/formLayout/utils/getChildrenWithCustomColumns.d.ts +1 -2
- package/dist/formLayout/utils/getChildrenWithCustomColumns.js +2 -2
- package/dist/formLayout/utils/getFieldLabel.js +5 -5
- package/dist/formSection/components/actions.d.ts +0 -1
- package/dist/formSection/components/additional.d.ts +0 -1
- package/dist/formSection/hooks/useError.js +36 -18
- package/dist/formSection/utils/isFormSection.d.ts +2 -4
- package/dist/formStepper/components/formStep.js +6 -0
- package/dist/formStepper/components/formStepRaw.d.ts +0 -1
- package/dist/formStepper/formStepper.d.ts +0 -1
- package/dist/formStepper/formStepper.js +17 -5
- package/dist/formStepperButtons/formStepperButtons.js +27 -3
- package/dist/gridLayout/hooks/useStretch.js +1 -1
- package/dist/gridLayout/utils/convertStateToClasses.js +1 -2
- package/dist/gridLayout/utils/gridLayoutProvider.d.ts +0 -1
- package/dist/gridLayout/utils/gridLayoutProvider.js +1 -1
- package/dist/gridLayout/utils/isGridItem.d.ts +1 -1
- package/dist/groupsFilter/groupsHelper.d.ts +5 -5
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +24 -0
- package/dist/groupsFilterRaw/groupsFilterBox.js +20 -2
- package/dist/groupsFilterRaw/groupsFilterCommon.js +14 -2
- package/dist/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +30 -0
- package/dist/groupsFilterRaw/groupsFilterHelper.js +28 -16
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +52 -4
- package/dist/groupsFilterRaw/groupsFilterMenu.js +18 -0
- package/dist/groupsFilterRaw/groupsFilterRaw.js +50 -2
- package/dist/groupsFilterRaw/groupsFilterTrigger.js +14 -2
- package/dist/groupsFilterRaw/groupsHelper.d.ts +1 -1
- package/dist/groupsFilterRaw/groupsHelper.js +136 -4
- package/dist/groupsFilterRaw/stateReducer/stateReducer.d.ts +1 -1
- package/dist/groupsFilterRaw/stateReducer/stateReducer.js +2 -2
- package/dist/groupsFilterRaw/testData.js +3 -4
- package/dist/groupsFilterRaw/uiStateReducer/uiStateReducer.js +2 -2
- package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +6 -0
- package/dist/header/components/collapsedItemsControl/utils/handleCustomMenuWrapper.js +5 -0
- package/dist/header/components/mobileFilterControl/mobileFilterControl.d.ts +0 -1
- package/dist/header/components/mobileFilterControl/mobileFilterControl.js +7 -1
- package/dist/header/components/mobileSearchControl/mobileSearchControl.d.ts +0 -1
- package/dist/header/components/mobileSearchControl/mobileSearchControl.js +19 -1
- package/dist/header/header.js +17 -7
- package/dist/header/headerBack.js +6 -0
- package/dist/header/headerButton.d.ts +0 -1
- package/dist/header/headerContext.d.ts +1 -2
- package/dist/header/headerHelpers.d.ts +5 -5
- package/dist/header/headerHelpers.js +17 -7
- package/dist/header/hooks/useNonFittingElements.d.ts +3 -4
- package/dist/headerTitle/headerTitle.d.ts +0 -1
- package/dist/icons/iconAce.d.ts +3 -0
- package/dist/icons/iconAce.js +12 -0
- package/dist/icons/iconBreak.d.ts +3 -0
- package/dist/icons/iconBreak.js +12 -0
- package/dist/icons/iconChevronStepper.d.ts +3 -0
- package/dist/icons/iconChevronStepper.js +12 -0
- package/dist/icons/iconPotato.d.ts +3 -0
- package/dist/icons/iconPotato.js +12 -0
- package/dist/icons/iconToggleLarge.d.ts +3 -0
- package/dist/icons/iconToggleLarge.js +12 -0
- package/dist/icons/iconToggleSmall.d.ts +3 -0
- package/dist/icons/iconToggleSmall.js +12 -0
- package/dist/icons/iconTrendNeutral.d.ts +3 -0
- package/dist/icons/iconTrendNeutral.js +12 -0
- package/dist/icons/iconTruck.d.ts +3 -0
- package/dist/icons/iconTruck.js +12 -0
- package/dist/index.css +219 -169
- package/dist/index.d.ts +8 -0
- package/dist/index.js +30 -13
- package/dist/layout/layout.d.ts +2 -1
- package/dist/layout/layout.js +17 -7
- package/dist/layout/layoutBanner.d.ts +0 -1
- package/dist/lineChart/lineChart.d.ts +1 -0
- package/dist/lineChart/lineChart.js +135 -70
- package/dist/lineChartMini/lineChartMini.d.ts +1 -0
- package/dist/lineChartMini/lineChartMini.js +141 -73
- package/dist/list/itemData/itemData.d.ts +2 -1
- package/dist/list/itemData/itemDataInternal.d.ts +2 -1
- package/dist/list/itemData/itemDataInternal.js +12 -0
- package/dist/list/list.d.ts +0 -1
- package/dist/list/listItem/listItem.js +12 -0
- package/dist/list/utils/changeOrder.js +1 -2
- package/dist/list/utils/isDataListitem.d.ts +1 -1
- package/dist/list/viewportProvider/viewportContext.d.ts +0 -1
- package/dist/menu/components/controlledMenuList/controlledMenuList.d.ts +2 -4
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +3 -1
- package/dist/menu/components/createControlledMenuList.js +1 -2
- package/dist/menu/components/createMenuItem.js +1 -2
- package/dist/menu/components/menuErrorItem.js +30 -18
- package/dist/menu/contexts/usePathContext.js +1 -2
- package/dist/menu/utils/buildMenuContent.js +1 -2
- package/dist/menu/utils/findPrevFocusable.js +1 -2
- package/dist/menu/utils/useDisplayContent.d.ts +21 -0
- package/dist/menu/utils/useDisplayContent.js +35 -0
- package/dist/menu/utils/useMenuItemKeyboardNav.js +1 -2
- package/dist/miniTabs/miniTabsHelper.js +17 -7
- package/dist/mobileSheet/components/mobileSheetTitle.d.ts +0 -1
- package/dist/mobileSheet/mobileSheet.js +12 -0
- package/dist/modal/modal.js +23 -7
- package/dist/nav/context/nav.context.d.ts +0 -1
- package/dist/nav/navFooter/navEditFooter/navEditFooter.d.ts +0 -1
- package/dist/nav/navFooter/navEditFooter/navEditFooter.js +12 -0
- package/dist/nav/navFooter/navFooter.d.ts +1 -1
- package/dist/nav/navFooter/navFooter.js +15 -9
- package/dist/nav/navFooter/navFooterAction/navFooterAction.d.ts +2 -1
- package/dist/nav/navFooter/navFooterAction/navFooterAction.js +9 -1
- package/dist/nav/navHeader/navHeader.js +30 -18
- package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +21 -9
- package/dist/nav/navItem/navItem.d.ts +2 -0
- package/dist/nav/navItem/navItem.js +56 -47
- package/dist/nav/navItem/navItemContent.d.ts +19 -0
- package/dist/nav/navItem/navItemContent.js +21 -0
- package/dist/nav/navItem/navItemType.d.ts +7 -0
- package/dist/nav/navItem/navItemType.js +9 -0
- package/dist/nav/navMobileBar/navMobileBar.js +6 -0
- package/dist/nav/utils/navUtils.d.ts +2 -4
- package/dist/nav/utils/navUtils.js +2 -2
- package/dist/notification/notification.js +6 -0
- package/dist/overview/overview.d.ts +0 -1
- package/dist/pageHeader/pageHeader.d.ts +1 -1
- package/dist/pageHeader/pageHeaderButton.d.ts +0 -1
- package/dist/pageHeader/pageHeaderHelpers.d.ts +1 -1
- package/dist/pageHeader/pageHeaderMenu.d.ts +0 -1
- package/dist/pagination/paginationArrow.d.ts +0 -1
- package/dist/pagination/paginationArrow.js +12 -0
- package/dist/pagination/paginationText/paginationText.js +6 -0
- package/dist/pill/components/pillNonActionable/pillNonActionable.js +6 -0
- package/dist/pill/interfaces/pill.interface.d.ts +0 -1
- package/dist/pillBox/components/pillBoxItem.d.ts +1 -2
- package/dist/pillBox/components/pillBoxItem.js +6 -0
- package/dist/pillBox/pillBox.js +19 -1
- package/dist/pillExpandable/pillExpandable.js +6 -0
- package/dist/popup/popup.js +17 -7
- package/dist/progressIndicator/progressIndicator.d.ts +39 -0
- package/dist/progressIndicator/progressIndicator.js +30 -0
- package/dist/progressIndicator/progressIndicatorUtils.d.ts +12 -0
- package/dist/progressIndicator/progressIndicatorUtils.js +30 -0
- package/dist/radioGroupRaw/radioGroupRaw.js +17 -7
- package/dist/radioGroupRaw/types.d.ts +0 -1
- package/dist/rangeRaw/rangeRaw.js +44 -2
- package/dist/rangeRaw/utils/rangeHelper.js +45 -3
- package/dist/react-chartjs/dateFns/dateFns.js +10 -11
- package/dist/react-chartjs/utils.d.ts +3 -3
- package/dist/react-chartjs/utils.js +8 -9
- package/dist/searchInputRaw/searchInputRaw.js +29 -7
- package/dist/searchInputRaw/types.d.ts +0 -1
- package/dist/selectField/selectField.d.ts +2 -3
- package/dist/selectList/selectList.d.ts +0 -1
- package/dist/selectList/selectList.js +12 -0
- package/dist/selectRaw/hooks/usePopupWidth.js +17 -7
- package/dist/selectRaw/selectRaw.js +20 -7
- package/dist/sidePanel/sidePanelCell/sidePanelCell.d.ts +0 -1
- package/dist/skeleton/skeleton.js +6 -0
- package/dist/sortControl/sortControl.js +36 -6
- package/dist/stepperRaw/stepperRaw.js +64 -0
- package/dist/summaries/utils/splitIntoPairs.js +1 -2
- package/dist/summary/summary.js +12 -0
- package/dist/summaryTile/summaryTile.js +23 -7
- package/dist/summaryTile/summaryTileTrigger.js +17 -7
- package/dist/table/actions/actionsMenu.d.ts +0 -1
- package/dist/table/actions/actionsMenu.js +12 -0
- package/dist/table/children/useTableChildren.d.ts +7 -7
- package/dist/table/detailPanel/detailPanel.js +6 -0
- package/dist/table/detailPanel/detailPanelHeader.js +12 -0
- package/dist/table/detailPanel/interfaces.d.ts +0 -1
- package/dist/table/flexible/columnSettings.js +13 -1
- package/dist/table/flexible/columnsList.js +1 -2
- package/dist/table/flexible/columnsPopup.js +7 -1
- package/dist/table/loading/useLoading.d.ts +10 -10
- package/dist/table/nested/nestedData.d.ts +3 -1
- package/dist/table/nested/useNestedRows.d.ts +2 -2
- package/dist/table/nested/useNestedRows.js +12 -0
- package/dist/table/selectable/selectableHeader.d.ts +2 -1
- package/dist/table/selectable/selectableHeader.js +61 -4
- package/dist/table/selectable/useSelectableRows.d.ts +1 -1
- package/dist/table/selectable/useSelectableRows.js +19 -4
- package/dist/table/sortable/mobileSortControl.js +71 -1
- package/dist/table/sortable/sortableHeader.js +14 -2
- package/dist/table/table.d.ts +16 -1
- package/dist/table/table.js +131 -23
- package/dist/tabs/tabs.js +20 -6
- package/dist/tag/tag.d.ts +19 -0
- package/dist/tag/tag.js +14 -0
- package/dist/textIconButton/textIconButton.js +17 -7
- package/dist/timePickerRaw/timePickerRaw.js +47 -5
- package/dist/toastRaw/toastRaw.d.ts +1 -1
- package/dist/toastRaw/toastRaw.js +9 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +29 -7
- package/dist/toggleButtonRaw/types.d.ts +0 -1
- package/dist/tooltip/tooltip.js +29 -7
- package/dist/tooltipInfo/tooltipInfo.d.ts +0 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/dist/utils/compareElementsUtils/isArraysEqualDeeply.js +1 -2
- package/dist/utils/compareElementsUtils/isElementsEqual.js +2 -2
- package/dist/utils/escapeHtml.js +1 -2
- package/dist/utils/formatDate.js +228 -6
- package/dist/utils/localization/directionContext.d.ts +0 -1
- package/dist/utils/localization/getSupportedLanguage.d.ts +1 -1
- package/dist/utils/localization/getSupportedLanguage.js +7 -1
- package/dist/utils/localization/languageContext.d.ts +1 -2
- package/dist/utils/localization/translations/ar.json +110 -83
- package/dist/utils/localization/translations/bg-BG.json +358 -0
- package/dist/utils/localization/translations/cs.json +18 -1
- package/dist/utils/localization/translations/da-DK.json +84 -59
- package/dist/utils/localization/translations/de.json +18 -1
- package/dist/utils/localization/translations/el-GR.json +358 -0
- package/dist/utils/localization/translations/en.json +12 -1
- package/dist/utils/localization/translations/es.json +18 -1
- package/dist/utils/localization/translations/et-EE.json +358 -0
- package/dist/utils/localization/translations/fi-FI.json +84 -59
- package/dist/utils/localization/translations/fr-FR.json +18 -1
- package/dist/utils/localization/translations/fr.json +18 -1
- package/dist/utils/localization/translations/hu-HU.json +84 -59
- package/dist/utils/localization/translations/id.json +18 -1
- package/dist/utils/localization/translations/it.json +18 -1
- package/dist/utils/localization/translations/ja.json +18 -1
- package/dist/utils/localization/translations/ka-GE.json +358 -0
- package/dist/utils/localization/translations/ko-KR.json +18 -1
- package/dist/utils/localization/translations/lt-LT.json +358 -0
- package/dist/utils/localization/translations/lv-LV.json +358 -0
- package/dist/utils/localization/translations/ms.json +92 -67
- package/dist/utils/localization/translations/nb-NO.json +84 -59
- package/dist/utils/localization/translations/nl.json +94 -69
- package/dist/utils/localization/translations/pl.json +18 -1
- package/dist/utils/localization/translations/pt-BR.json +94 -69
- package/dist/utils/localization/translations/pt-PT.json +18 -1
- package/dist/utils/localization/translations/ro-RO.json +18 -1
- package/dist/utils/localization/translations/sk-SK.json +85 -60
- package/dist/utils/localization/translations/sv.json +94 -69
- package/dist/utils/localization/translations/th.json +18 -1
- package/dist/utils/localization/translations/tr.json +18 -1
- package/dist/utils/localization/translations/zh-Hans.json +18 -1
- package/dist/utils/localization/translations/zh-TW.json +18 -1
- package/dist/utils/localization/translationsDictionary.js +7 -1
- package/dist/utils/theme/themeContext.d.ts +0 -1
- package/dist/utils/topWindow/topWindowContext.d.ts +0 -1
- package/dist/utils/useFadeComponent.d.ts +0 -1
- package/dist/utils/userFormat/userFormatContext.d.ts +0 -1
- package/dist/waiting/waiting.d.ts +2 -1
- package/dist/waiting/waiting.js +23 -6
- package/esm/advancedGroupsFilter/advancedGroupsFilter.js +19 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +13 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +43 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +7 -1
- package/esm/alert/banner.d.ts +2 -3
- package/esm/alert/hooks/useAlertState.d.ts +0 -1
- package/esm/alertRaw/alertRaw.js +6 -0
- package/esm/banner/bannerMultipLine.d.ts +0 -1
- package/esm/banner/bannerMultipLine.js +6 -0
- package/esm/banner/bannerSingleLine.d.ts +0 -1
- package/esm/banner/bannerSingleLine.js +6 -0
- package/esm/banner/utils/isSummaryErrorElement.d.ts +1 -2
- package/esm/banner/utils/useSummaryBannerProp.js +32 -0
- package/esm/betaPill/betaPill.js +34 -10
- package/esm/bookmark/bookmark.js +14 -2
- package/esm/bulkEditControl/bulkEditControl.js +32 -2
- package/esm/calendar/calendar.js +182 -2
- package/esm/calendar/calendarUtils.js +107 -19
- package/esm/card/card.js +6 -0
- package/esm/card/components/content.d.ts +0 -1
- package/esm/chart/accessibleChart/accessibleChart.js +1 -1
- package/esm/chart/accessibleChart/accessibleChartNarrative.d.ts +1 -1
- package/esm/chart/accessibleChart/accessibleChartNarrative.js +186 -102
- package/esm/chart/accessibleChart/accessibleChartTable.js +42 -12
- package/esm/chart/accessibleChart/generatePieNarrative.d.ts +7 -0
- package/esm/chart/accessibleChart/generatePieNarrative.js +167 -0
- package/esm/chart/accessibleChart/interfaces.d.ts +1 -0
- package/esm/chart/barChart/getDefaultOptions.js +5 -6
- package/esm/chart/barChart.js +147 -50
- package/esm/chart/chart.js +15 -9
- package/esm/chart/chartAxis/chartAxis.js +14 -2
- package/esm/chart/interfaces.d.ts +0 -1
- package/esm/chart/lineChart/getDefaultOptions.js +5 -6
- package/esm/chart/lineChart/useChartTicks.d.ts +0 -1
- package/esm/chart/lineChart/useSummary.d.ts +7 -8
- package/esm/chart/lineChart.js +162 -59
- package/esm/chart/pieChart.js +169 -76
- package/esm/chart/plugins/linePlugin/linePlugin.js +29 -7
- package/esm/chart/utils/convertDates.d.ts +1 -1
- package/esm/chart/utils/getNiceAxisRange.d.ts +21 -0
- package/esm/chart/utils/getNiceAxisRange.js +72 -0
- package/esm/chart/utils/getRange.js +2 -2
- package/esm/chart/utils/getYAxisMeta.d.ts +2 -5
- package/esm/chart/utils/getYAxisMeta.js +17 -2
- package/esm/chart/utils/getYAxisTickCount.d.ts +15 -0
- package/esm/chart/utils/getYAxisTickCount.js +15 -0
- package/esm/checkboxListWithAction/checkboxListWithAction.d.ts +0 -1
- package/esm/checkboxListWithAction/checkboxListWithAction.js +36 -12
- package/esm/chip/chip.d.ts +0 -1
- package/esm/chip/chip.js +6 -0
- package/esm/chip/utils/useChip.d.ts +0 -1
- package/esm/columnsSelector/columnsSelector.js +13 -1
- package/esm/columnsSelector/columnsTab/columnsTab.js +6 -0
- package/esm/columnsSelector/columnsTabGroup/columnsTabGroup.js +6 -0
- package/esm/commonHelpers/HOC/reducerLogger/reducerLogger.d.ts +1 -1
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.d.ts +0 -1
- package/esm/commonHelpers/arrowNavigation/hooks/useHoldOnScroll.d.ts +0 -1
- package/esm/commonHelpers/hooks/breakpoints.d.ts +4 -0
- package/esm/commonHelpers/hooks/breakpoints.js +4 -0
- package/esm/commonHelpers/hooks/fetch.reducer.d.ts +1 -1
- package/esm/commonHelpers/hooks/useDebouncedMemo.d.ts +0 -1
- package/esm/commonHelpers/hooks/useDeviceType.js +2 -2
- package/esm/commonHelpers/hooks/useEscape.d.ts +1 -1
- package/esm/commonHelpers/hooks/useGridSize.d.ts +0 -1
- package/esm/commonHelpers/hooks/useMobileOrTablet.d.ts +1 -0
- package/esm/commonHelpers/hooks/useMobileOrTablet.js +17 -0
- package/esm/commonHelpers/hooks/usePillSize.d.ts +0 -1
- package/esm/commonHelpers/hooks/useTablet.js +17 -0
- package/esm/dataFeed/dataFeed.d.ts +1 -1
- package/esm/dataFeed/dataFeed.js +2 -2
- package/esm/dataFeed/dataFeedCell/dataFeedCell.d.ts +3 -1
- package/esm/dataFeed/dataFeedColumnsItems.d.ts +2 -2
- package/esm/dataFeed/feedExpandControl/feedExpandControl.js +64 -0
- package/esm/dataGrid/cell/cell.d.ts +3 -1
- package/esm/dataGrid/columns/actionsColumn/actionsColumn.d.ts +3 -3
- package/esm/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +7 -1
- package/esm/dataGrid/dataGrid.d.ts +13 -1
- package/esm/dataGrid/dataGrid.js +54 -3
- package/esm/dataGrid/emptySearchList/emptySearchList.d.ts +0 -1
- package/esm/dataGrid/emptySearchList/emptySearchList.js +7 -1
- package/esm/dataGrid/entitiesListActions/actions/columnsListButton.js +7 -1
- package/esm/dataGrid/entitiesListActions/actions/fullscreenButton.js +22 -10
- package/esm/dataGrid/row/row.d.ts +3 -1
- package/esm/dataGrid/withActions/withActions.d.ts +1 -1
- package/esm/dataGrid/withFlexibleColumns/components/columnSettings.js +13 -1
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +32 -0
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.d.ts +1 -1
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +6 -0
- package/esm/dataGrid/withLoading/withLoading.d.ts +1 -1
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +31 -1
- package/esm/dataGrid/withSelectableRows/withLimitedSelectableRows.d.ts +1 -1
- package/esm/dataGrid/withSelectableRows/withSelectableRows.d.ts +1 -1
- package/esm/dataGrid/withSelectableRows/withSelectableRows.js +50 -0
- package/esm/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +14 -2
- package/esm/dataGrid/withSortableColumns/withSortableColumns.d.ts +1 -1
- package/esm/dateInputInner/dateInputInner.js +62 -20
- package/esm/dateInputInner/dateInputInnerControlBlock.js +12 -0
- package/esm/dateInputRaw/dateInputRaw.js +18 -0
- package/esm/dateInputRaw/utils/getLabel.js +21 -9
- package/esm/dateRangeInner/dateRangeInner.js +6 -0
- package/esm/dateRangeRaw/dateRangeRaw.js +121 -9
- package/esm/dateRangeRaw/utils/dateRangeUtils.js +108 -6
- package/esm/dateSelectionWrapper/dateSelectionWrapper.js +24 -0
- package/esm/dialog/dialog.d.ts +0 -1
- package/esm/dialog/dialogContent.js +6 -0
- package/esm/dropdown/dropdown.js +1 -1
- package/esm/dropdown/useDropdownState.d.ts +0 -1
- package/esm/dropdownRaw/dropdownList.d.ts +3 -2
- package/esm/dropdownRaw/dropdownList.js +67 -41
- package/esm/dropdownRaw/dropdownPopup.js +19 -1
- package/esm/dropdownRaw/dropdownRaw.js +42 -15
- package/esm/dropdownRaw/dropdownSearchableTrigger.js +27 -3
- package/esm/dropdownRaw/stateReducer/stateReducer.d.ts +4 -1
- package/esm/dropdownRaw/stateReducer/stateReducer.js +32 -22
- package/esm/dropdownRaw/stateReducer/stateReducerHelper.d.ts +1 -2
- package/esm/dropdownRaw/stateReducer/stateReducerHelper.js +5 -10
- package/esm/dropdownRaw/types.d.ts +20 -0
- package/esm/favoriteButton/favoriteButton.js +7 -1
- package/esm/feedbackContainer/hooks/useFeedbackAlert.d.ts +0 -1
- package/esm/feedbackContainer/hooks/useFeedbackToast.d.ts +0 -1
- package/esm/fileUpload/components/dropZoneContent.js +25 -1
- package/esm/fileUpload/components/templateDownloadSection.js +6 -0
- package/esm/fileUpload/components/uploadedFilesSection.js +21 -9
- package/esm/fileUpload/fileUpload.js +55 -19
- package/esm/filters/components/filtersContainer.js +19 -1
- package/esm/filters/components/filtersEmptyState.js +30 -18
- package/esm/filters/components/filtersItem.d.ts +2 -2
- package/esm/filters/components/filtersSaveModal.js +57 -27
- package/esm/filters/components/filtersSavedChipComponent.js +113 -47
- package/esm/filters/components/filtersSearchItemData.js +6 -0
- package/esm/filters/components/filtersSearchList.d.ts +0 -1
- package/esm/filters/components/filtersSearchList.js +83 -29
- package/esm/filters/components/filtersSelect.d.ts +0 -1
- package/esm/filters/components/filtersSelect.js +6 -0
- package/esm/filters/components/filtersSelectCompact.d.ts +0 -1
- package/esm/filters/components/filtersSelectListItem.d.ts +0 -1
- package/esm/filters/components/filtersSelectListItem.js +12 -0
- package/esm/filters/components/filtersSelectUnfoldingPill.d.ts +0 -1
- package/esm/filters/components/filtersSidePanel.js +58 -10
- package/esm/filters/filters.js +45 -27
- package/esm/filters/filtersHelper.d.ts +1 -1
- package/esm/filters/filtersHooks.d.ts +0 -1
- package/esm/filtersBar/components/filtersBarDropdownWithCheckbox/filtersBarDropdownWithCheckbox.js +1 -1
- package/esm/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +114 -6
- package/esm/filtersBar/components/resetComponentButton.js +6 -0
- package/esm/filtersBar/filtersBar.js +2 -2
- package/esm/filtersBar/filtersBarActions/filtersBarActions.d.ts +0 -1
- package/esm/filtersBar/filtersBarActions/filtersBarActions.js +50 -0
- package/esm/filtersBar/filtersBarInterfaces.d.ts +0 -1
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelDropdownWithCheckbox/filtersBarSidePanelDropdownWithCheckbox.d.ts +4 -10
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +12 -0
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +31 -1
- package/esm/filtersBar/filtersContainer/filtersContainer.js +20 -6
- package/esm/formField/components/formFieldAdditionalInfo.d.ts +0 -1
- package/esm/formField/components/formFieldCounter.d.ts +0 -1
- package/esm/formField/components/formFieldLoading.d.ts +0 -1
- package/esm/formField/components/formFieldSkeleton.d.ts +0 -1
- package/esm/formField/components/formFieldWithLabel.d.ts +0 -1
- package/esm/formField/components/formFieldWithoutLabel.d.ts +0 -1
- package/esm/formField/formField.d.ts +1 -1
- package/esm/formField/hooks/useBanner.d.ts +0 -1
- package/esm/formField/hooks/useDisabled.d.ts +1 -1
- package/esm/formField/hooks/useError.js +27 -9
- package/esm/formGroup/components/customRow/customRow.d.ts +0 -1
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +12 -0
- package/esm/formGroup/hooks/listHooks/useStateToElements.d.ts +0 -1
- package/esm/formGroup/hooks/listHooks/useStateToElements.js +1 -1
- package/esm/formGroup/hooks/useToggle.js +15 -9
- package/esm/formGroup/utils/formGroupProvider.d.ts +0 -1
- package/esm/formGroup/utils/isFormLabel.d.ts +1 -1
- package/esm/formGroupItem/formGroupItem.d.ts +0 -1
- package/esm/formLayout/components/layoutColumn/layoutColum.d.ts +0 -1
- package/esm/formLayout/hooks/useError.js +36 -18
- package/esm/formLayout/hooks/useFormButtons.d.ts +1 -1
- package/esm/formLayout/hooks/useFormButtons.js +18 -0
- package/esm/formLayout/types.d.ts +0 -1
- package/esm/formLayout/utils/attachHeadings.d.ts +1 -1
- package/esm/formLayout/utils/attachSeparators.d.ts +0 -1
- package/esm/formLayout/utils/getChildrenWithCustomColumns.d.ts +1 -2
- package/esm/formLayout/utils/getChildrenWithCustomColumns.js +2 -2
- package/esm/formLayout/utils/getFieldLabel.js +5 -5
- package/esm/formSection/components/actions.d.ts +0 -1
- package/esm/formSection/components/additional.d.ts +0 -1
- package/esm/formSection/hooks/useError.js +36 -18
- package/esm/formSection/utils/isFormSection.d.ts +2 -4
- package/esm/formStepper/components/formStep.js +6 -0
- package/esm/formStepper/components/formStepRaw.d.ts +0 -1
- package/esm/formStepper/formStepper.d.ts +0 -1
- package/esm/formStepper/formStepper.js +17 -5
- package/esm/formStepperButtons/formStepperButtons.js +27 -3
- package/esm/gridLayout/hooks/useStretch.js +1 -1
- package/esm/gridLayout/utils/gridLayoutProvider.d.ts +0 -1
- package/esm/gridLayout/utils/gridLayoutProvider.js +1 -1
- package/esm/gridLayout/utils/isGridItem.d.ts +1 -1
- package/esm/groupsFilter/groupsHelper.d.ts +5 -5
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +24 -0
- package/esm/groupsFilterRaw/groupsFilterBox.js +20 -2
- package/esm/groupsFilterRaw/groupsFilterCommon.js +14 -2
- package/esm/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +30 -0
- package/esm/groupsFilterRaw/groupsFilterHelper.js +12 -0
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +52 -4
- package/esm/groupsFilterRaw/groupsFilterMenu.js +18 -0
- package/esm/groupsFilterRaw/groupsFilterRaw.js +50 -2
- package/esm/groupsFilterRaw/groupsFilterTrigger.js +14 -2
- package/esm/groupsFilterRaw/groupsHelper.d.ts +1 -1
- package/esm/groupsFilterRaw/groupsHelper.js +132 -0
- package/esm/groupsFilterRaw/stateReducer/stateReducer.d.ts +1 -1
- package/esm/groupsFilterRaw/testData.js +1 -2
- package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +6 -0
- package/esm/header/components/collapsedItemsControl/utils/handleCustomMenuWrapper.js +5 -0
- package/esm/header/components/mobileFilterControl/mobileFilterControl.d.ts +0 -1
- package/esm/header/components/mobileFilterControl/mobileFilterControl.js +7 -1
- package/esm/header/components/mobileSearchControl/mobileSearchControl.d.ts +0 -1
- package/esm/header/components/mobileSearchControl/mobileSearchControl.js +19 -1
- package/esm/header/headerBack.js +6 -0
- package/esm/header/headerButton.d.ts +0 -1
- package/esm/header/headerContext.d.ts +1 -2
- package/esm/header/headerHelpers.d.ts +5 -5
- package/esm/header/hooks/useNonFittingElements.d.ts +3 -4
- package/esm/headerTitle/headerTitle.d.ts +0 -1
- package/esm/icons/iconAce.d.ts +3 -0
- package/esm/icons/iconAce.js +8 -0
- package/esm/icons/iconBreak.d.ts +3 -0
- package/esm/icons/iconBreak.js +8 -0
- package/esm/icons/iconChevronStepper.d.ts +3 -0
- package/esm/icons/iconChevronStepper.js +8 -0
- package/esm/icons/iconPotato.d.ts +3 -0
- package/esm/icons/iconPotato.js +8 -0
- package/esm/icons/iconToggleLarge.d.ts +3 -0
- package/esm/icons/iconToggleLarge.js +8 -0
- package/esm/icons/iconToggleSmall.d.ts +3 -0
- package/esm/icons/iconToggleSmall.js +8 -0
- package/esm/icons/iconTrendNeutral.d.ts +3 -0
- package/esm/icons/iconTrendNeutral.js +8 -0
- package/esm/icons/iconTruck.d.ts +3 -0
- package/esm/icons/iconTruck.js +8 -0
- package/esm/index.d.ts +8 -0
- package/esm/index.js +8 -0
- package/esm/layout/layout.d.ts +2 -1
- package/esm/layout/layoutBanner.d.ts +0 -1
- package/esm/lineChart/lineChart.d.ts +1 -0
- package/esm/lineChart/lineChart.js +129 -69
- package/esm/lineChartMini/lineChartMini.d.ts +1 -0
- package/esm/lineChartMini/lineChartMini.js +136 -73
- package/esm/list/itemData/itemData.d.ts +2 -1
- package/esm/list/itemData/itemDataInternal.d.ts +2 -1
- package/esm/list/itemData/itemDataInternal.js +12 -0
- package/esm/list/list.d.ts +0 -1
- package/esm/list/listItem/listItem.js +12 -0
- package/esm/list/utils/isDataListitem.d.ts +1 -1
- package/esm/list/viewportProvider/viewportContext.d.ts +0 -1
- package/esm/menu/components/controlledMenuList/controlledMenuList.d.ts +2 -4
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +3 -1
- package/esm/menu/components/menuErrorItem.js +30 -18
- package/esm/menu/utils/useDisplayContent.d.ts +21 -0
- package/esm/menu/utils/useDisplayContent.js +31 -0
- package/esm/mobileSheet/components/mobileSheetTitle.d.ts +0 -1
- package/esm/mobileSheet/mobileSheet.js +12 -0
- package/esm/modal/modal.js +6 -0
- package/esm/nav/context/nav.context.d.ts +0 -1
- package/esm/nav/navFooter/navEditFooter/navEditFooter.d.ts +0 -1
- package/esm/nav/navFooter/navEditFooter/navEditFooter.js +12 -0
- package/esm/nav/navFooter/navFooter.d.ts +1 -1
- package/esm/nav/navFooter/navFooter.js +15 -9
- package/esm/nav/navFooter/navFooterAction/navFooterAction.d.ts +2 -1
- package/esm/nav/navFooter/navFooterAction/navFooterAction.js +9 -1
- package/esm/nav/navHeader/navHeader.js +30 -18
- package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +21 -9
- package/esm/nav/navItem/navItem.d.ts +2 -0
- package/esm/nav/navItem/navItem.js +57 -48
- package/esm/nav/navItem/navItemContent.d.ts +19 -0
- package/esm/nav/navItem/navItemContent.js +17 -0
- package/esm/nav/navItem/navItemType.d.ts +7 -0
- package/esm/nav/navItem/navItemType.js +6 -0
- package/esm/nav/navMobileBar/navMobileBar.js +6 -0
- package/esm/nav/utils/navUtils.d.ts +2 -4
- package/esm/notification/notification.js +6 -0
- package/esm/overview/overview.d.ts +0 -1
- package/esm/pageHeader/pageHeader.d.ts +1 -1
- package/esm/pageHeader/pageHeaderButton.d.ts +0 -1
- package/esm/pageHeader/pageHeaderHelpers.d.ts +1 -1
- package/esm/pageHeader/pageHeaderMenu.d.ts +0 -1
- package/esm/pagination/paginationArrow.d.ts +0 -1
- package/esm/pagination/paginationArrow.js +12 -0
- package/esm/pagination/paginationText/paginationText.js +6 -0
- package/esm/pill/components/pillNonActionable/pillNonActionable.js +6 -0
- package/esm/pill/interfaces/pill.interface.d.ts +0 -1
- package/esm/pillBox/components/pillBoxItem.d.ts +1 -2
- package/esm/pillBox/components/pillBoxItem.js +6 -0
- package/esm/pillBox/pillBox.js +19 -1
- package/esm/pillExpandable/pillExpandable.js +6 -0
- package/esm/progressIndicator/progressIndicator.d.ts +39 -0
- package/esm/progressIndicator/progressIndicator.js +26 -0
- package/esm/progressIndicator/progressIndicatorUtils.d.ts +12 -0
- package/esm/progressIndicator/progressIndicatorUtils.js +25 -0
- package/esm/radioGroupRaw/types.d.ts +0 -1
- package/esm/rangeRaw/rangeRaw.js +44 -2
- package/esm/rangeRaw/utils/rangeHelper.js +45 -3
- package/esm/react-chartjs/utils.d.ts +3 -3
- package/esm/searchInputRaw/searchInputRaw.js +12 -0
- package/esm/searchInputRaw/types.d.ts +0 -1
- package/esm/selectField/selectField.d.ts +2 -3
- package/esm/selectList/selectList.d.ts +0 -1
- package/esm/selectList/selectList.js +12 -0
- package/esm/selectRaw/selectRaw.js +3 -0
- package/esm/sidePanel/sidePanelCell/sidePanelCell.d.ts +0 -1
- package/esm/skeleton/skeleton.js +6 -0
- package/esm/sortControl/sortControl.js +36 -6
- package/esm/stepperRaw/stepperRaw.js +64 -0
- package/esm/summary/summary.js +12 -0
- package/esm/summaryTile/summaryTile.js +6 -0
- package/esm/table/actions/actionsMenu.d.ts +0 -1
- package/esm/table/actions/actionsMenu.js +12 -0
- package/esm/table/children/useTableChildren.d.ts +7 -7
- package/esm/table/detailPanel/detailPanel.js +6 -0
- package/esm/table/detailPanel/detailPanelHeader.js +12 -0
- package/esm/table/detailPanel/interfaces.d.ts +0 -1
- package/esm/table/flexible/columnSettings.js +13 -1
- package/esm/table/flexible/columnsPopup.js +7 -1
- package/esm/table/loading/useLoading.d.ts +10 -10
- package/esm/table/nested/nestedData.d.ts +3 -1
- package/esm/table/nested/useNestedRows.d.ts +2 -2
- package/esm/table/nested/useNestedRows.js +12 -0
- package/esm/table/selectable/selectableHeader.d.ts +2 -1
- package/esm/table/selectable/selectableHeader.js +61 -4
- package/esm/table/selectable/useSelectableRows.d.ts +1 -1
- package/esm/table/selectable/useSelectableRows.js +19 -4
- package/esm/table/sortable/mobileSortControl.js +71 -1
- package/esm/table/sortable/sortableHeader.js +14 -2
- package/esm/table/table.d.ts +16 -1
- package/esm/table/table.js +132 -24
- package/esm/tabs/tabs.js +20 -6
- package/esm/tag/tag.d.ts +19 -0
- package/esm/tag/tag.js +10 -0
- package/esm/testHelpers/geotab-axe/index.d.ts +0 -1
- package/esm/timePickerRaw/timePickerRaw.js +47 -5
- package/esm/toastRaw/toastRaw.d.ts +1 -1
- package/esm/toastRaw/toastRaw.js +9 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +12 -0
- package/esm/toggleButtonRaw/types.d.ts +0 -1
- package/esm/tooltip/tooltip.js +12 -0
- package/esm/tooltipInfo/tooltipInfo.d.ts +0 -1
- package/esm/tsconfig.esm.tsbuildinfo +1 -0
- package/esm/utils/formatDate.js +228 -6
- package/esm/utils/localization/directionContext.d.ts +0 -1
- package/esm/utils/localization/getSupportedLanguage.d.ts +1 -1
- package/esm/utils/localization/getSupportedLanguage.js +7 -1
- package/esm/utils/localization/languageContext.d.ts +1 -2
- package/esm/utils/localization/translations/ar.json +110 -83
- package/esm/utils/localization/translations/bg-BG.json +358 -0
- package/esm/utils/localization/translations/cs.json +18 -1
- package/esm/utils/localization/translations/da-DK.json +84 -59
- package/esm/utils/localization/translations/de.json +18 -1
- package/esm/utils/localization/translations/el-GR.json +358 -0
- package/esm/utils/localization/translations/en.json +12 -1
- package/esm/utils/localization/translations/es.json +18 -1
- package/esm/utils/localization/translations/et-EE.json +358 -0
- package/esm/utils/localization/translations/fi-FI.json +84 -59
- package/esm/utils/localization/translations/fr-FR.json +18 -1
- package/esm/utils/localization/translations/fr.json +18 -1
- package/esm/utils/localization/translations/hu-HU.json +84 -59
- package/esm/utils/localization/translations/id.json +18 -1
- package/esm/utils/localization/translations/it.json +18 -1
- package/esm/utils/localization/translations/ja.json +18 -1
- package/esm/utils/localization/translations/ka-GE.json +358 -0
- package/esm/utils/localization/translations/ko-KR.json +18 -1
- package/esm/utils/localization/translations/lt-LT.json +358 -0
- package/esm/utils/localization/translations/lv-LV.json +358 -0
- package/esm/utils/localization/translations/ms.json +92 -67
- package/esm/utils/localization/translations/nb-NO.json +84 -59
- package/esm/utils/localization/translations/nl.json +94 -69
- package/esm/utils/localization/translations/pl.json +18 -1
- package/esm/utils/localization/translations/pt-BR.json +94 -69
- package/esm/utils/localization/translations/pt-PT.json +18 -1
- package/esm/utils/localization/translations/ro-RO.json +18 -1
- package/esm/utils/localization/translations/sk-SK.json +85 -60
- package/esm/utils/localization/translations/sv.json +94 -69
- package/esm/utils/localization/translations/th.json +18 -1
- package/esm/utils/localization/translations/tr.json +18 -1
- package/esm/utils/localization/translations/zh-Hans.json +18 -1
- package/esm/utils/localization/translations/zh-TW.json +18 -1
- package/esm/utils/localization/translationsDictionary.js +7 -1
- package/esm/utils/theme/themeContext.d.ts +0 -1
- package/esm/utils/topWindow/topWindowContext.d.ts +0 -1
- package/esm/utils/useFadeComponent.d.ts +0 -1
- package/esm/utils/userFormat/userFormatContext.d.ts +0 -1
- package/esm/waiting/waiting.d.ts +2 -1
- package/esm/waiting/waiting.js +24 -7
- package/package.json +13 -6
- package/esm/gridLayout/hooks/useTablet.js +0 -20
- /package/dist/{gridLayout → commonHelpers}/hooks/useTablet.d.ts +0 -0
- /package/esm/{gridLayout → commonHelpers}/hooks/useTablet.d.ts +0 -0
package/esm/dataFeed/dataFeed.js
CHANGED
|
@@ -20,7 +20,7 @@ const checkCloseToTheEnd = (feedContainerElt) => {
|
|
|
20
20
|
return distanceToTheBottom < endOfFeedThreshold;
|
|
21
21
|
};
|
|
22
22
|
const FIRST_RENDERED_ROWS = 50;
|
|
23
|
-
const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, options, description, children, actions, actionsAsync, primaryActions, itemsPerPage = 1000, rowClassName, expandedRows, onExpandedChange, activePage, onClick }, ref) => {
|
|
23
|
+
const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, options, description, children, actions, actionsAsync, primaryActions, itemsPerPage = 1000, rowClassName, expandedRows, onExpandedChange, activePage, onClick, isLoading }, ref) => {
|
|
24
24
|
const [pages, setPages] = useState(1);
|
|
25
25
|
const data = useMemo(() => entities.slice(0, itemsPerPage * pages), [entities, itemsPerPage, pages]);
|
|
26
26
|
const initialVisibleRows = useMemo(() => data.slice(0, FIRST_RENDERED_ROWS).map(r => r.id), [data]);
|
|
@@ -141,7 +141,7 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
141
141
|
onExpandedChange,
|
|
142
142
|
onClick
|
|
143
143
|
]);
|
|
144
|
-
return (_jsx("div", { className: "zen-data-grid-wrapper", children: _jsxs("div", { className: classNames(["zen-data-grid", className || ""]), ref: feedRef, onScroll: handleScroll, children: [_jsx("div", { role: "feed", className: "zen-data-grid__feed zen-data-feed", "aria-label": description, "aria-busy":
|
|
144
|
+
return (_jsx("div", { className: "zen-data-grid-wrapper", children: _jsxs("div", { className: classNames(["zen-data-grid", className || ""]), ref: feedRef, onScroll: handleScroll, children: [_jsx("div", { role: "feed", className: "zen-data-grid__feed zen-data-feed", "aria-label": description, "aria-busy": !!isLoading, children: feedItems }), emptyList && data.length === 0 ? emptyList : null, footer] }) }));
|
|
145
145
|
};
|
|
146
146
|
const DataFeed = forwardRef(DataFeedInner);
|
|
147
147
|
DataFeed.EmptyList = EmptyList;
|
|
@@ -15,4 +15,6 @@ export interface IDataFeedCell<T extends object> extends IZenComponentProps {
|
|
|
15
15
|
isNested: boolean;
|
|
16
16
|
onClick?: () => void;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
declare const FeedCell: <T extends object>({ limited, visibleOnHover, isVisible, title, render, renderWrappers, renderPlaceholder, defaultValue, entity, isNested }: IDataFeedCell<T>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const DataFeedCell: typeof FeedCell;
|
|
20
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IActionWithId } from "../dataGrid/columns/actionsColumn/actionsColumn";
|
|
3
2
|
import { IListColumnStrict } from "../dataGrid/extensions/toBasicColumn";
|
|
4
3
|
import { IRowEntity } from "../dataGrid/row/row";
|
|
@@ -25,5 +24,6 @@ interface IFeedItem<T extends IRowEntity<N>, N extends IEntityWithId> {
|
|
|
25
24
|
primaryActions?: IActionWithId<T>[] | ((e: T, isNested: boolean) => IActionWithId<T>[]);
|
|
26
25
|
onClick?: (id: string) => void;
|
|
27
26
|
}
|
|
28
|
-
|
|
27
|
+
declare const FeedItemInner: <T extends IRowEntity<N>, N extends IEntityWithId>({ columnsList, feedWrappers, expanded, collapsedColumnsQty, visibleColumns, visibleRows, entity, index, className, isRowExpanded, onExpandedChange, actions, actionsAsync, primaryActions, onClick }: IFeedItem<T, N>) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare const FeedItem: typeof FeedItemInner;
|
|
29
29
|
export {};
|
|
@@ -7,8 +7,72 @@ import { IconLayoutWindow4 } from "../../icons/iconLayoutWindow4";
|
|
|
7
7
|
import { SvgIconSize } from "../../svgIcon/svgIconSize";
|
|
8
8
|
import { ButtonIconPosition, TextIconButton } from "../../textIconButton/textIconButton";
|
|
9
9
|
import { useLanguage } from "../../utils/localization/useLanguage";
|
|
10
|
+
injectString("cs", "Collapse feed", "Sbalit p\u0159ehled");
|
|
11
|
+
injectString("da-DK", "Collapse feed", "Skjul feed");
|
|
12
|
+
injectString("de", "Collapse feed", "Feed einklappen");
|
|
10
13
|
injectString("en", "Collapse feed", "Collapse feed");
|
|
14
|
+
injectString("es", "Collapse feed", "Contraer fuente");
|
|
15
|
+
injectString("fi-FI", "Collapse feed", "Tiivist\xE4 sy\xF6te");
|
|
16
|
+
injectString("fr", "Collapse feed", "R\xE9duire le fil");
|
|
17
|
+
injectString("fr-FR", "Collapse feed", "R\xE9duire le fil");
|
|
18
|
+
injectString("hu-HU", "Collapse feed", "H\xEDrfolyam \xF6sszecsuk\xE1sa");
|
|
19
|
+
injectString("id", "Collapse feed", "Ciutkan umpan");
|
|
20
|
+
injectString("it", "Collapse feed", "Comprimi feed");
|
|
21
|
+
injectString("ja", "Collapse feed", "\u30D5\u30A3\u30FC\u30C9\u3092\u6298\u308A\u305F\u305F\u3080");
|
|
22
|
+
injectString("ko-KR", "Collapse feed", "\uD53C\uB4DC \uC811\uAE30");
|
|
23
|
+
injectString("ms", "Collapse feed", "Runtuhkan suapan");
|
|
24
|
+
injectString("nb-NO", "Collapse feed", "Skjul feed");
|
|
25
|
+
injectString("nl", "Collapse feed", "Feed inklappen");
|
|
26
|
+
injectString("pl", "Collapse feed", "Zwi\u0144 kana\u0142");
|
|
27
|
+
injectString("pt-BR", "Collapse feed", "Recolher feed");
|
|
28
|
+
injectString("pt-PT", "Collapse feed", "Recolher feed");
|
|
29
|
+
injectString("sk-SK", "Collapse feed", "Zbali\u0165 zdroj");
|
|
30
|
+
injectString("sv", "Collapse feed", "D\xF6lj fl\xF6de");
|
|
31
|
+
injectString("th", "Collapse feed", "\u0E22\u0E38\u0E1A\u0E1F\u0E35\u0E14");
|
|
32
|
+
injectString("tr", "Collapse feed", "Ak\u0131\u015F\u0131 daralt");
|
|
33
|
+
injectString("zh-Hans", "Collapse feed", "\u6298\u53E0\u52A8\u6001");
|
|
34
|
+
injectString("zh-TW", "Collapse feed", "\u647A\u758A\u52D5\u614B");
|
|
35
|
+
injectString("ro-RO", "Collapse feed", "Restr\xE2nge\u021Bi feedul");
|
|
36
|
+
injectString("ar", "Collapse feed", "\u0637\u064A\u0651 \u0627\u0644\u062E\u0644\u0627\u0635\u0629");
|
|
37
|
+
injectString("lt-LT", "Collapse feed", "Sutraukti sraut\u0105");
|
|
38
|
+
injectString("lv-LV", "Collapse feed", "Sak\u013Caut pl\u016Bsmu");
|
|
39
|
+
injectString("ka-GE", "Collapse feed", "\u10E4\u10D8\u10D3\u10D8\u10E1 \u10E9\u10D0\u10D9\u10D4\u10EA\u10D5\u10D0");
|
|
40
|
+
injectString("el-GR", "Collapse feed", "\u03A3\u03CD\u03BC\u03C0\u03C4\u03C5\u03BE\u03B7 \u03C1\u03BF\u03AE\u03C2");
|
|
41
|
+
injectString("et-EE", "Collapse feed", "Ahenda voog");
|
|
42
|
+
injectString("bg-BG", "Collapse feed", "\u0421\u0432\u0438\u0432\u0430\u043D\u0435 \u043D\u0430 \u0444\u0438\u0439\u0434\u0430");
|
|
43
|
+
injectString("cs", "Expand feed", "Rozbalit p\u0159ehled");
|
|
44
|
+
injectString("da-DK", "Expand feed", "Vis feed");
|
|
45
|
+
injectString("de", "Expand feed", "Feed ausklappen");
|
|
11
46
|
injectString("en", "Expand feed", "Expand feed");
|
|
47
|
+
injectString("es", "Expand feed", "Expandir fuente");
|
|
48
|
+
injectString("fi-FI", "Expand feed", "Laajenna sy\xF6te");
|
|
49
|
+
injectString("fr", "Expand feed", "D\xE9velopper le fil");
|
|
50
|
+
injectString("fr-FR", "Expand feed", "D\xE9velopper le fil");
|
|
51
|
+
injectString("hu-HU", "Expand feed", "H\xEDrfolyam kibont\xE1sa");
|
|
52
|
+
injectString("id", "Expand feed", "Perluas umpan");
|
|
53
|
+
injectString("it", "Expand feed", "Espandi feed");
|
|
54
|
+
injectString("ja", "Expand feed", "\u30D5\u30A3\u30FC\u30C9\u3092\u5C55\u958B\u3059\u308B");
|
|
55
|
+
injectString("ko-KR", "Expand feed", "\uD53C\uB4DC \uD3BC\uCE58\uAE30");
|
|
56
|
+
injectString("ms", "Expand feed", "Kembangkan suapan");
|
|
57
|
+
injectString("nb-NO", "Expand feed", "Vis feed");
|
|
58
|
+
injectString("nl", "Expand feed", "Feed uitklappen");
|
|
59
|
+
injectString("pl", "Expand feed", "Rozwi\u0144 kana\u0142");
|
|
60
|
+
injectString("pt-BR", "Expand feed", "Expandir feed");
|
|
61
|
+
injectString("pt-PT", "Expand feed", "Expandir feed");
|
|
62
|
+
injectString("sk-SK", "Expand feed", "Rozbali\u0165 zdroj");
|
|
63
|
+
injectString("sv", "Expand feed", "Visa fl\xF6de");
|
|
64
|
+
injectString("th", "Expand feed", "\u0E02\u0E22\u0E32\u0E22\u0E1F\u0E35\u0E14");
|
|
65
|
+
injectString("tr", "Expand feed", "Ak\u0131\u015F\u0131 geni\u015Flet");
|
|
66
|
+
injectString("zh-Hans", "Expand feed", "\u5C55\u5F00\u52A8\u6001");
|
|
67
|
+
injectString("zh-TW", "Expand feed", "\u5C55\u958B\u52D5\u614B");
|
|
68
|
+
injectString("ro-RO", "Expand feed", "Extinde\u021Bi feedul");
|
|
69
|
+
injectString("ar", "Expand feed", "\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u062E\u0644\u0627\u0635\u0629");
|
|
70
|
+
injectString("lt-LT", "Expand feed", "I\u0161pl\u0117sti sraut\u0105");
|
|
71
|
+
injectString("lv-LV", "Expand feed", "Izv\u0113rst pl\u016Bsmu");
|
|
72
|
+
injectString("ka-GE", "Expand feed", "\u10E4\u10D8\u10D3\u10D8\u10E1 \u10D2\u10D0\u10E8\u10DA\u10D0");
|
|
73
|
+
injectString("el-GR", "Expand feed", "\u0391\u03BD\u03AC\u03C0\u03C4\u03C5\u03BE\u03B7 \u03C1\u03BF\u03AE\u03C2");
|
|
74
|
+
injectString("et-EE", "Expand feed", "Laienda voog");
|
|
75
|
+
injectString("bg-BG", "Expand feed", "\u0420\u0430\u0437\u0433\u044A\u0432\u0430\u043D\u0435 \u043D\u0430 \u0444\u0438\u0439\u0434\u0430");
|
|
12
76
|
export const FeedExpandControl = ({
|
|
13
77
|
className = "",
|
|
14
78
|
isExpanded,
|
|
@@ -18,4 +18,6 @@ export interface IDataGridCell<T extends IEntityWithId> extends IZenComponentPro
|
|
|
18
18
|
onClick?: () => void;
|
|
19
19
|
isActive?: boolean;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
declare const Cell: <T extends IEntityWithId>({ index, limited, visibleOnHover, isVisible, width, maxWidth, render, renderWrappers, renderPlaceholder, defaultValue, entity, colspan, className, onClick, isActive }: IDataGridCell<T>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const DataGridCell: typeof Cell;
|
|
23
|
+
export {};
|
|
@@ -46,8 +46,8 @@ export declare class ActionsColumn<T extends IRowEntity<N>, N extends IEntityWit
|
|
|
46
46
|
constructor(actionsOptions: IActionsColumnOptions<T | N>);
|
|
47
47
|
get options(): IActionsColumnOptions<T | N>;
|
|
48
48
|
set options(actionsOptions: IActionsColumnOptions<T | N>);
|
|
49
|
-
get columnActions(): IActionWithId<N | T> | ((entity: T, isNested: boolean) =>
|
|
50
|
-
get columnActionsAsync(): ((entity: T, isNested: boolean) => PromiseLike<
|
|
51
|
-
get columnPrimaryActions(): IActionWithId<N | T>[] | ((entity:
|
|
49
|
+
get columnActions(): IActionWithId<N | T> | ((entity: T, isNested: boolean) => React.JSX.Element) | undefined;
|
|
50
|
+
get columnActionsAsync(): ((entity: T, isNested: boolean) => PromiseLike<React.JSX.Element>) | undefined;
|
|
51
|
+
get columnPrimaryActions(): IActionWithId<N | T>[] | ((entity: T | N, isNested: boolean) => IAction<T>[]) | undefined;
|
|
52
52
|
}
|
|
53
53
|
export {};
|
|
@@ -32,7 +32,13 @@ injectString("tr", "Multiple row selection menu", "\xC7oklu s\u0131ra se\xE7imi
|
|
|
32
32
|
injectString("zh-Hans", "Multiple row selection menu", "\u591A\u884C\u9009\u62E9\u83DC\u5355");
|
|
33
33
|
injectString("zh-TW", "Multiple row selection menu", "\u591A\u5217\u9078\u64C7\u9078\u55AE");
|
|
34
34
|
injectString("ro-RO", "Multiple row selection menu", "Meniu de selectare cu mai multe r\xE2nduri");
|
|
35
|
-
injectString("ar", "Multiple row selection menu", "\u0642\u0627\u0626\u0645\u0629 \
|
|
35
|
+
injectString("ar", "Multiple row selection menu", "\u0642\u0627\u0626\u0645\u0629 \u0627\u062E\u062A\u064A\u0627\u0631 \u0635\u0641\u0648\u0641 \u0645\u062A\u0639\u062F\u062F\u0629");
|
|
36
|
+
injectString("lt-LT", "Multiple row selection menu", "Keli\u0173 eilu\u010Di\u0173 pasirinkimo meniu");
|
|
37
|
+
injectString("lv-LV", "Multiple row selection menu", "Vair\u0101ku rindu atlases izv\u0113lne");
|
|
38
|
+
injectString("ka-GE", "Multiple row selection menu", "\u10DB\u10E0\u10D0\u10D5\u10D0\u10DA\u10D8 \u10DB\u10EC\u10D9\u10E0\u10D8\u10D5\u10D8\u10E1 \u10D0\u10E0\u10E9\u10D4\u10D5\u10D8\u10E1 \u10DB\u10D4\u10DC\u10D8\u10E3");
|
|
39
|
+
injectString("el-GR", "Multiple row selection menu", "\u039C\u03B5\u03BD\u03BF\u03CD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE\u03C2 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03CE\u03BD \u03B3\u03C1\u03B1\u03BC\u03BC\u03CE\u03BD");
|
|
40
|
+
injectString("et-EE", "Multiple row selection menu", "Mitmerea valiku men\xFC\xFC");
|
|
41
|
+
injectString("bg-BG", "Multiple row selection menu", "\u041C\u0435\u043D\u044E \u0437\u0430 \u0438\u0437\u0431\u043E\u0440 \u043D\u0430 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0435\u0434\u043E\u0432\u0435");
|
|
36
42
|
const CheckboxHandler = ({
|
|
37
43
|
onClick,
|
|
38
44
|
ref
|
|
@@ -17,6 +17,18 @@ export interface IDataGrid<T, N = T> extends Omit<IZenComponentProps, "children"
|
|
|
17
17
|
onExpandedChange?: (id: string, isExpanded: boolean) => void;
|
|
18
18
|
active?: string | undefined;
|
|
19
19
|
onClick?: (id: string) => void;
|
|
20
|
+
/**
|
|
21
|
+
* Called when the user scrolls within ~100 px of the grid bottom (once per approach to the bottom).
|
|
22
|
+
* Also fires after each `entities` change while the grid is already near the bottom — this drives
|
|
23
|
+
* viewport-fill on initial load and greedy load-ahead on appends, so it can fire without new scroll
|
|
24
|
+
* input. The caller is responsible for preventing concurrent fetches (e.g. ignore it while `isLoading`).
|
|
25
|
+
*/
|
|
26
|
+
onScrollEnd?: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* When true, sets `aria-busy` on the grid `<table>` for assistive technology while a fetch is in
|
|
29
|
+
* flight. Callers should also treat it as the guard signal for `onScrollEnd` (skip re-entrant fetches).
|
|
30
|
+
*/
|
|
31
|
+
isLoading?: boolean;
|
|
20
32
|
}
|
|
21
33
|
export declare const NOT_INTERACTIVE_MODIFIER = "zen-data-grid--not-interactive";
|
|
22
34
|
export declare const DRAGGING_MODIFIER = "zen-data-grid--dragging";
|
|
@@ -25,7 +37,7 @@ export declare const VERTICAL_SCROLL_MODIFIER = "zen-data-grid--vertical-scroll"
|
|
|
25
37
|
export declare const MIN_CELL_WIDTH = 100;
|
|
26
38
|
export declare const EmptyList: FC<PropsWithChildren>;
|
|
27
39
|
export declare const Footer: FC<PropsWithChildren>;
|
|
28
|
-
declare const DataGridInner: <T extends IRowEntity<N>, N extends IEntityWithId = T>({ entities, columns, className, description, emptyCellTitle, children, rowClassName, expandedRows, onExpandedChange, active, onClick }: IDataGrid<T, N>, ref: ForwardedRef<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare const DataGridInner: <T extends IRowEntity<N>, N extends IEntityWithId = T>({ entities, columns, className, description, emptyCellTitle, children, rowClassName, expandedRows, onExpandedChange, active, onClick, onScrollEnd, isLoading }: IDataGrid<T, N>, ref: ForwardedRef<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
|
|
29
41
|
export interface IDataGridStaticProps {
|
|
30
42
|
EmptyList: typeof EmptyList;
|
|
31
43
|
Footer: typeof Footer;
|
package/esm/dataGrid/dataGrid.js
CHANGED
|
@@ -38,6 +38,12 @@ injectString("zh-Hans", "Action", "\u64CD\u4F5C");
|
|
|
38
38
|
injectString("zh-TW", "Action", "\u52D5\u4F5C");
|
|
39
39
|
injectString("ro-RO", "Action", "M\u0103sur\u0103");
|
|
40
40
|
injectString("ar", "Action", "\u0625\u062C\u0631\u0627\u0621");
|
|
41
|
+
injectString("lt-LT", "Action", "Veiksmas");
|
|
42
|
+
injectString("lv-LV", "Action", "Darb\u012Bba");
|
|
43
|
+
injectString("ka-GE", "Action", "\u10DB\u10DD\u10E5\u10DB\u10D4\u10D3\u10D4\u10D1\u10D0");
|
|
44
|
+
injectString("el-GR", "Action", "\u0395\u03BD\u03AD\u03C1\u03B3\u03B5\u03B9\u03B1");
|
|
45
|
+
injectString("et-EE", "Action", "Toiming");
|
|
46
|
+
injectString("bg-BG", "Action", "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435");
|
|
41
47
|
export const NOT_INTERACTIVE_MODIFIER = "zen-data-grid--not-interactive";
|
|
42
48
|
export const DRAGGING_MODIFIER = "zen-data-grid--dragging";
|
|
43
49
|
export const HORIZONTAL_SCROLL_MODIFIER = "zen-data-grid--horizontal-scroll";
|
|
@@ -63,6 +69,7 @@ export const Footer = ({
|
|
|
63
69
|
children: children
|
|
64
70
|
});
|
|
65
71
|
const FIRST_RENDERED_ROWS = 100;
|
|
72
|
+
const SCROLL_END_THRESHOLD = 100;
|
|
66
73
|
const DataGridInner = ({
|
|
67
74
|
entities,
|
|
68
75
|
columns,
|
|
@@ -74,7 +81,9 @@ const DataGridInner = ({
|
|
|
74
81
|
expandedRows,
|
|
75
82
|
onExpandedChange,
|
|
76
83
|
active,
|
|
77
|
-
onClick
|
|
84
|
+
onClick,
|
|
85
|
+
onScrollEnd,
|
|
86
|
+
isLoading
|
|
78
87
|
}, ref) => {
|
|
79
88
|
const {
|
|
80
89
|
translate
|
|
@@ -90,6 +99,8 @@ const DataGridInner = ({
|
|
|
90
99
|
const gridRef = useRef(null);
|
|
91
100
|
const bodyRef = useRef(null);
|
|
92
101
|
const lazyRenderTimerRef = useRef(0);
|
|
102
|
+
const scrollEndFiredRef = useRef(false);
|
|
103
|
+
const prevEntitiesRef = useRef(entities);
|
|
93
104
|
const rowsMap = useMemo(() => new Map(entities.map(entity => [entity.id, entity])), [entities]);
|
|
94
105
|
const emptyList = useMemo(() => Children.toArray(children).find(child => child.type === EmptyList), [children]);
|
|
95
106
|
const footer = useMemo(() => Children.toArray(children).find(child => child.type === Footer), [children]);
|
|
@@ -167,10 +178,48 @@ const DataGridInner = ({
|
|
|
167
178
|
setVerticalScrollApplied(scrollTop > 0);
|
|
168
179
|
}
|
|
169
180
|
}, [horizontalScrollApplied, setHorizontalScrollApplied, verticalScrollApplied, setVerticalScrollApplied]);
|
|
181
|
+
const checkScrollEnd = useCallback(() => {
|
|
182
|
+
const grid = gridRef.current;
|
|
183
|
+
if (!grid || !onScrollEnd) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
// scrollHeight is 0 before layout (or for an empty grid) — nothing to measure yet.
|
|
187
|
+
if (grid.scrollHeight === 0) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
const distanceToTheBottom = grid.scrollHeight - grid.scrollTop - grid.clientHeight;
|
|
191
|
+
if (distanceToTheBottom < SCROLL_END_THRESHOLD) {
|
|
192
|
+
if (!scrollEndFiredRef.current) {
|
|
193
|
+
scrollEndFiredRef.current = true;
|
|
194
|
+
onScrollEnd();
|
|
195
|
+
}
|
|
196
|
+
} else {
|
|
197
|
+
scrollEndFiredRef.current = false;
|
|
198
|
+
}
|
|
199
|
+
}, [onScrollEnd]);
|
|
170
200
|
const handleScroll = useCallback(() => {
|
|
171
201
|
updateScroll();
|
|
172
202
|
scheduleLazyRender();
|
|
173
|
-
|
|
203
|
+
checkScrollEnd();
|
|
204
|
+
}, [updateScroll, scheduleLazyRender, checkScrollEnd]);
|
|
205
|
+
useEffect(() => {
|
|
206
|
+
// On a data change (load-more append, or a sort/filter that replaces the list):
|
|
207
|
+
// re-arm the once-per-approach guard so a stale "already fired" flag can't suppress the
|
|
208
|
+
// next trigger, then re-check fit. The re-check covers the viewport-fit case: if the new
|
|
209
|
+
// content doesn't fill the viewport there is no scrollbar and no scroll event, so the next
|
|
210
|
+
// page must be requested here. Resize alone intentionally does not run this (see useResize).
|
|
211
|
+
if (prevEntitiesRef.current !== entities) {
|
|
212
|
+
prevEntitiesRef.current = entities;
|
|
213
|
+
scrollEndFiredRef.current = false;
|
|
214
|
+
}
|
|
215
|
+
// Intentionally unconditional: this covers BOTH viewport-fill (new content too short to
|
|
216
|
+
// scroll) AND greedy load-ahead (user parked near the bottom while a page lands, so the
|
|
217
|
+
// next page is requested without further scroll input). Consequence: onScrollEnd is NOT
|
|
218
|
+
// strictly "once per manual approach" — it keeps firing while near the bottom until
|
|
219
|
+
// hasMore is false or the user scrolls away. Callers MUST guard with their own isLoading
|
|
220
|
+
// to avoid concurrent fetches (documented on the onScrollEnd prop).
|
|
221
|
+
checkScrollEnd();
|
|
222
|
+
}, [entities, checkScrollEnd]);
|
|
174
223
|
const getCellParams = useCallback(columnIndex => {
|
|
175
224
|
const defaultWidth = listOfDefaultWidthColumns[columnIndex];
|
|
176
225
|
const minWidth = listOfMinWidthColumns[columnIndex];
|
|
@@ -233,7 +282,8 @@ const DataGridInner = ({
|
|
|
233
282
|
const body = useMemo(() => entities.map((entity, entityIndex) => renderRow(entity, entityIndex, entities.length)), [entities, renderRow]);
|
|
234
283
|
const headerContent = useMemo(() => columnsList.map((column, index) => renderHeaderCell(column, index)), [columnsList, renderHeaderCell]);
|
|
235
284
|
useResize(() => {
|
|
236
|
-
|
|
285
|
+
updateScroll();
|
|
286
|
+
scheduleLazyRender();
|
|
237
287
|
}, true);
|
|
238
288
|
const gridClasses = classNames(["zen-data-grid", className, horizontalScrollApplied ? HORIZONTAL_SCROLL_MODIFIER : "", verticalScrollApplied ? VERTICAL_SCROLL_MODIFIER : ""]);
|
|
239
289
|
return _jsx("div", {
|
|
@@ -246,6 +296,7 @@ const DataGridInner = ({
|
|
|
246
296
|
children: [_jsxs("table", {
|
|
247
297
|
className: "zen-data-grid__table",
|
|
248
298
|
"aria-label": description,
|
|
299
|
+
"aria-busy": !!isLoading,
|
|
249
300
|
role: isTreeGrid ? "treegrid" : undefined,
|
|
250
301
|
children: [_jsx("thead", {
|
|
251
302
|
className: "zen-data-grid__header",
|
|
@@ -36,7 +36,13 @@ injectString("tr", "Try adjusting your search or filter.", "Araman\u0131z\u0131
|
|
|
36
36
|
injectString("zh-Hans", "Try adjusting your search or filter.", "\u5C1D\u8BD5\u8C03\u6574\u60A8\u7684\u641C\u7D22\u6216\u7B5B\u9009\u6761\u4EF6\u3002");
|
|
37
37
|
injectString("zh-TW", "Try adjusting your search or filter.", "\u8ACB\u5617\u8A66\u8ABF\u6574\u60A8\u7684\u641C\u5C0B\u6216\u7BE9\u9078\u689D\u4EF6\u3002");
|
|
38
38
|
injectString("ro-RO", "Try adjusting your search or filter.", "\xCEncerca\u021Bi s\u0103 ajusta\u021Bi c\u0103utarea sau filtrul.");
|
|
39
|
-
injectString("ar", "Try adjusting your search or filter.", "\u062D\u0627\u0648\u0644 \u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u0628\u062D\u062B \u0623\u0648 \u0627\u0644\u062A\u0635\u0641\u064A\u0629.");
|
|
39
|
+
injectString("ar", "Try adjusting your search or filter.", "\u062D\u0627\u0648\u0644 \u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u0628\u062D\u062B \u0623\u0648 \u0639\u0627\u0645\u0644 \u0627\u0644\u062A\u0635\u0641\u064A\u0629.");
|
|
40
|
+
injectString("lt-LT", "Try adjusting your search or filter.", "Pabandykite koreguoti paie\u0161k\u0105 arba filtr\u0105.");
|
|
41
|
+
injectString("lv-LV", "Try adjusting your search or filter.", "M\u0113\u0123iniet piel\u0101got mekl\u0113\u0161anu vai filtru.");
|
|
42
|
+
injectString("ka-GE", "Try adjusting your search or filter.", "\u10E1\u10EA\u10D0\u10D3\u10D4\u10D7 \u10EB\u10D8\u10D4\u10D1\u10D8\u10E1 \u10D0\u10DC \u10E4\u10D8\u10DA\u10E2\u10E0\u10D8\u10E1 \u10DB\u10DD\u10E0\u10D2\u10D4\u10D1\u10D0.");
|
|
43
|
+
injectString("el-GR", "Try adjusting your search or filter.", "\u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03CC\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B1\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7 \u03AE \u03C4\u03BF \u03C6\u03AF\u03BB\u03C4\u03C1\u03BF.");
|
|
44
|
+
injectString("et-EE", "Try adjusting your search or filter.", "Proovige otsingut v\xF5i filtrit kohandada.");
|
|
45
|
+
injectString("bg-BG", "Try adjusting your search or filter.", "\u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0442\u0435 \u0442\u044A\u0440\u0441\u0435\u043D\u0435\u0442\u043E \u0438\u043B\u0438 \u0444\u0438\u043B\u0442\u044A\u0440\u0430.");
|
|
40
46
|
export const EmptySearchList = _a => {
|
|
41
47
|
var props = __rest(_a, []);
|
|
42
48
|
const {
|
|
@@ -31,7 +31,13 @@ injectString("tr", "Column Settings", "S\xFCtun Ayarlar\u0131");
|
|
|
31
31
|
injectString("zh-Hans", "Column Settings", "\u5217\u8BBE\u7F6E");
|
|
32
32
|
injectString("zh-TW", "Column Settings", "\u6B04\u8A2D\u5B9A");
|
|
33
33
|
injectString("ro-RO", "Column Settings", "Set\u0103ri coloane");
|
|
34
|
-
injectString("ar", "Column Settings", "\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\
|
|
34
|
+
injectString("ar", "Column Settings", "\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0639\u0645\u0648\u062F");
|
|
35
|
+
injectString("lt-LT", "Column Settings", "Stulpelio nustatymai");
|
|
36
|
+
injectString("lv-LV", "Column Settings", "Kolonnas iestat\u012Bjumi");
|
|
37
|
+
injectString("ka-GE", "Column Settings", "\u10E1\u10D5\u10D4\u10E2\u10D8\u10E1 \u10DE\u10D0\u10E0\u10D0\u10DB\u10D4\u10E2\u10E0\u10D4\u10D1\u10D8");
|
|
38
|
+
injectString("el-GR", "Column Settings", "\u03A1\u03C5\u03B8\u03BC\u03AF\u03C3\u03B5\u03B9\u03C2 \u03C3\u03C4\u03AE\u03BB\u03B7\u03C2");
|
|
39
|
+
injectString("et-EE", "Column Settings", "Veeru seaded");
|
|
40
|
+
injectString("bg-BG", "Column Settings", "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043D\u0430 \u043A\u043E\u043B\u043E\u043D\u0438\u0442\u0435");
|
|
35
41
|
const ColumnsListButtonInner = ({
|
|
36
42
|
onClick,
|
|
37
43
|
ref
|
|
@@ -10,32 +10,38 @@ import { useLayoutFullScreenElement } from "../../../layout/layoutFullScreenElem
|
|
|
10
10
|
import { useLayoutFullScreen } from "../../../layout/layoutFullScreenProvider";
|
|
11
11
|
import { useCallback } from "react";
|
|
12
12
|
injectString("cs", "Exit full screen table view", "Exit full screen table view");
|
|
13
|
-
injectString("da-DK", "Exit full screen table view", "
|
|
13
|
+
injectString("da-DK", "Exit full screen table view", "Afslut fuldsk\xE6rmsvisning af tabel");
|
|
14
14
|
injectString("de", "Exit full screen table view", "Exit full screen table view");
|
|
15
15
|
injectString("en", "Exit full screen table view", "Exit full screen table view");
|
|
16
16
|
injectString("es", "Exit full screen table view", "Exit full screen table view");
|
|
17
|
-
injectString("fi-FI", "Exit full screen table view", "
|
|
17
|
+
injectString("fi-FI", "Exit full screen table view", "Poistu koko n\xE4yt\xF6n taulukkon\xE4kym\xE4st\xE4");
|
|
18
18
|
injectString("fr", "Exit full screen table view", "Exit full screen table view");
|
|
19
19
|
injectString("fr-FR", "Exit full screen table view", "Exit full screen table view");
|
|
20
|
-
injectString("hu-HU", "Exit full screen table view", "
|
|
20
|
+
injectString("hu-HU", "Exit full screen table view", "Kil\xE9p\xE9s a teljes k\xE9perny\u0151s t\xE1blan\xE9zetb\u0151l");
|
|
21
21
|
injectString("id", "Exit full screen table view", "Exit full screen table view");
|
|
22
22
|
injectString("it", "Exit full screen table view", "Exit full screen table view");
|
|
23
23
|
injectString("ja", "Exit full screen table view", "Exit full screen table view");
|
|
24
24
|
injectString("ko-KR", "Exit full screen table view", "Exit full screen table view");
|
|
25
|
-
injectString("ms", "Exit full screen table view", "
|
|
26
|
-
injectString("nb-NO", "Exit full screen table view", "
|
|
27
|
-
injectString("nl", "Exit full screen table view", "
|
|
25
|
+
injectString("ms", "Exit full screen table view", "Keluar dari paparan jadual skrin penuh");
|
|
26
|
+
injectString("nb-NO", "Exit full screen table view", "Avslutt fullskjermvisning av tabell");
|
|
27
|
+
injectString("nl", "Exit full screen table view", "Tabelweergave op volledig scherm verlaten");
|
|
28
28
|
injectString("pl", "Exit full screen table view", "Exit full screen table view");
|
|
29
|
-
injectString("pt-BR", "Exit full screen table view", "
|
|
29
|
+
injectString("pt-BR", "Exit full screen table view", "Sair da visualiza\xE7\xE3o de tabela em tela cheia");
|
|
30
30
|
injectString("pt-PT", "Exit full screen table view", "Exit full screen table view");
|
|
31
|
-
injectString("sk-SK", "Exit full screen table view", "
|
|
32
|
-
injectString("sv", "Exit full screen table view", "
|
|
31
|
+
injectString("sk-SK", "Exit full screen table view", "Ukon\u010Di\u0165 zobrazenie tabu\u013Eky na cel\xFA obrazovku");
|
|
32
|
+
injectString("sv", "Exit full screen table view", "Avsluta helsk\xE4rmsvy f\xF6r tabell");
|
|
33
33
|
injectString("th", "Exit full screen table view", "Exit full screen table view");
|
|
34
34
|
injectString("tr", "Exit full screen table view", "Exit full screen table view");
|
|
35
35
|
injectString("zh-Hans", "Exit full screen table view", "Exit full screen table view");
|
|
36
36
|
injectString("zh-TW", "Exit full screen table view", "Exit full screen table view");
|
|
37
37
|
injectString("ro-RO", "Exit full screen table view", "Exit full screen table view");
|
|
38
38
|
injectString("ar", "Exit full screen table view", "\u0627\u0644\u062E\u0631\u0648\u062C \u0645\u0646 \u0639\u0631\u0636 \u0627\u0644\u062C\u062F\u0648\u0644 \u0628\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629");
|
|
39
|
+
injectString("lt-LT", "Exit full screen table view", "I\u0161eiti i\u0161 viso ekrano lentel\u0117s rodinio");
|
|
40
|
+
injectString("lv-LV", "Exit full screen table view", "Iziet no pilnekr\u0101na tabulas skata");
|
|
41
|
+
injectString("ka-GE", "Exit full screen table view", "\u10E1\u10E0\u10E3\u10DA\u10D8 \u10D4\u10D9\u10E0\u10D0\u10DC\u10D8\u10D3\u10D0\u10DC \u10D2\u10D0\u10E1\u10D5\u10DA\u10D0");
|
|
42
|
+
injectString("el-GR", "Exit full screen table view", "\u0388\u03BE\u03BF\u03B4\u03BF\u03C2 \u03B1\u03C0\u03CC \u03C0\u03BB\u03AE\u03C1\u03B7 \u03BF\u03B8\u03CC\u03BD\u03B7 \u03C0\u03AF\u03BD\u03B1\u03BA\u03B1");
|
|
43
|
+
injectString("et-EE", "Exit full screen table view", "V\xE4lju tabeli t\xE4isekraanivaates");
|
|
44
|
+
injectString("bg-BG", "Exit full screen table view", "\u0418\u0437\u043B\u0438\u0437\u0430\u043D\u0435 \u043E\u0442 \u0438\u0437\u0433\u043B\u0435\u0434 \u043D\u0430 \u0446\u044F\u043B \u0435\u043A\u0440\u0430\u043D");
|
|
39
45
|
injectString("cs", "Convert table to full screen", "Konvertovat tabulku do re\u017Eimu pln\xE9ho zobrazen\xED");
|
|
40
46
|
injectString("da-DK", "Convert table to full screen", "Konverter tabel til fuld sk\xE6rm");
|
|
41
47
|
injectString("de", "Convert table to full screen", "Tabelle in Vollbild umwandeln");
|
|
@@ -62,7 +68,13 @@ injectString("tr", "Convert table to full screen", "Tabloyu tam ekrana d\xF6n\xF
|
|
|
62
68
|
injectString("zh-Hans", "Convert table to full screen", "\u5C06\u8868\u683C\u8F6C\u6362\u4E3A\u5168\u5C4F");
|
|
63
69
|
injectString("zh-TW", "Convert table to full screen", "\u5C07\u8868\u683C\u8F49\u63DB\u70BA\u5168\u87A2\u5E55\u986F\u793A");
|
|
64
70
|
injectString("ro-RO", "Convert table to full screen", "Schimba\u021Bi tabelul pe ecran complet");
|
|
65
|
-
injectString("ar", "Convert table to full screen", "\u062A\u062D\u0648\u064A\u0644 \u0627\u0644\u062C\u062F\u0648\u0644 \u0625\u0644\u0649 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629");
|
|
71
|
+
injectString("ar", "Convert table to full screen", "\u062A\u062D\u0648\u064A\u0644 \u0627\u0644\u062C\u062F\u0648\u0644 \u0625\u0644\u0649 \u0648\u0636\u0639 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629");
|
|
72
|
+
injectString("lt-LT", "Convert table to full screen", "Konvertuoti lentel\u0119 \u012F vis\u0105 ekran\u0105");
|
|
73
|
+
injectString("lv-LV", "Convert table to full screen", "P\u0101rv\u0113rst tabulu pilnekr\u0101na re\u017E\u012Bm\u0101");
|
|
74
|
+
injectString("ka-GE", "Convert table to full screen", "\u10EA\u10EE\u10E0\u10D8\u10DA\u10D8\u10E1 \u10E1\u10E0\u10E3\u10DA \u10D4\u10D9\u10E0\u10D0\u10DC\u10D6\u10D4 \u10D2\u10D0\u10D3\u10E7\u10D5\u10D0\u10DC\u10D0");
|
|
75
|
+
injectString("el-GR", "Convert table to full screen", "\u039C\u03B5\u03C4\u03B1\u03C4\u03C1\u03BF\u03C0\u03AE \u03C0\u03AF\u03BD\u03B1\u03BA\u03B1 \u03C3\u03B5 \u03C0\u03BB\u03AE\u03C1\u03B7 \u03BF\u03B8\u03CC\u03BD\u03B7");
|
|
76
|
+
injectString("et-EE", "Convert table to full screen", "Teisenda tabel t\xE4isekraanile");
|
|
77
|
+
injectString("bg-BG", "Convert table to full screen", "\u0422\u0430\u0431\u043B\u0438\u0446\u0430 \u043D\u0430 \u0446\u044F\u043B \u0435\u043A\u0440\u0430\u043D");
|
|
66
78
|
export const FullScreenButton = ({
|
|
67
79
|
fullScreen,
|
|
68
80
|
title,
|
|
@@ -20,4 +20,6 @@ export interface IDataGridRow<T extends IRowEntity<N>, N extends IEntityWithId>
|
|
|
20
20
|
onClick?: (id: string) => void;
|
|
21
21
|
}
|
|
22
22
|
export declare const MIN_CELL_WIDTH = 100;
|
|
23
|
-
|
|
23
|
+
declare const Row: <T extends IRowEntity<N>, N extends IEntityWithId = T>({ id, entity, columns, visibleRows, flexibleColumnWidth, isLastRow, className, expanded, onExpandedChange, isTreeGrid, ariaPosinset, ariaSetsize, onClick, isActive, active }: IDataGridRow<T, N>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const DataGridRow: typeof Row;
|
|
25
|
+
export {};
|
|
@@ -7,7 +7,7 @@ export interface IActionColumnsProps<T extends IEntityWithId> {
|
|
|
7
7
|
columns: IListColumn<T, T>[];
|
|
8
8
|
ref?: RefObject<HTMLElement | null>;
|
|
9
9
|
}
|
|
10
|
-
export declare const withActions: <T extends IEntityWithId, P extends IDataGrid<T
|
|
10
|
+
export declare const withActions: <T extends IEntityWithId, P extends IDataGrid<T>>(DataGridComponent: ComponentType<P>) => {
|
|
11
11
|
(props: IActionColumnsProps<T> & P): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
@@ -29,7 +29,13 @@ injectString("tr", "Reset column settings", "S\xFCtun ayarlar\u0131n\u0131 s\u01
|
|
|
29
29
|
injectString("zh-Hans", "Reset column settings", "\u91CD\u7F6E\u5217\u8BBE\u7F6E");
|
|
30
30
|
injectString("zh-TW", "Reset column settings", "\u91CD\u8A2D\u6B04\u8A2D\u5B9A");
|
|
31
31
|
injectString("ro-RO", "Reset column settings", "Reseta\u021Bi set\u0103rile coloanelor");
|
|
32
|
-
injectString("ar", "Reset column settings", "\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\
|
|
32
|
+
injectString("ar", "Reset column settings", "\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0639\u0645\u0648\u062F");
|
|
33
|
+
injectString("lt-LT", "Reset column settings", "Atkurti stulpelio nustatymus");
|
|
34
|
+
injectString("lv-LV", "Reset column settings", "Atiestat\u012Bt kolonnas iestat\u012Bjumus");
|
|
35
|
+
injectString("ka-GE", "Reset column settings", "\u10E1\u10D5\u10D4\u10E2\u10D8\u10E1 \u10DE\u10D0\u10E0\u10D0\u10DB\u10D4\u10E2\u10E0\u10D4\u10D1\u10D8\u10E1 \u10D2\u10D0\u10D3\u10D0\u10E7\u10D4\u10DC\u10D4\u10D1\u10D0");
|
|
36
|
+
injectString("el-GR", "Reset column settings", "\u0395\u03C0\u03B1\u03BD\u03B1\u03C6\u03BF\u03C1\u03AC \u03C1\u03C5\u03B8\u03BC\u03AF\u03C3\u03B5\u03C9\u03BD \u03C3\u03C4\u03AE\u03BB\u03B7\u03C2");
|
|
37
|
+
injectString("et-EE", "Reset column settings", "L\xE4htesta veeru seaded");
|
|
38
|
+
injectString("bg-BG", "Reset column settings", "\u041D\u0443\u043B\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0442\u0435 \u043D\u0430 \u043A\u043E\u043B\u043E\u043D\u0438\u0442\u0435");
|
|
33
39
|
injectString("cs", "Reset", "Obnovit");
|
|
34
40
|
injectString("da-DK", "Reset", "Nulstil");
|
|
35
41
|
injectString("de", "Reset", "Zur\xFCcksetzen");
|
|
@@ -57,6 +63,12 @@ injectString("zh-Hans", "Reset", "\u91CD\u7F6E");
|
|
|
57
63
|
injectString("zh-TW", "Reset", "\u91CD\u8A2D");
|
|
58
64
|
injectString("ro-RO", "Reset", "Reseta\u021Bi");
|
|
59
65
|
injectString("ar", "Reset", "\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646");
|
|
66
|
+
injectString("lt-LT", "Reset", "I\u0161 naujo nustatyti");
|
|
67
|
+
injectString("lv-LV", "Reset", "Atiestat\u012Bt");
|
|
68
|
+
injectString("ka-GE", "Reset", "\u10D2\u10D0\u10D3\u10D0\u10E7\u10D4\u10DC\u10D4\u10D1\u10D0");
|
|
69
|
+
injectString("el-GR", "Reset", "\u0395\u03C0\u03B1\u03BD\u03B1\u03C6\u03BF\u03C1\u03AC");
|
|
70
|
+
injectString("et-EE", "Reset", "L\xE4htesta");
|
|
71
|
+
injectString("bg-BG", "Reset", "\u041D\u0443\u043B\u0438\u0440\u0430\u043D\u0435");
|
|
60
72
|
const ColumnSettingsInner = ({
|
|
61
73
|
onReset,
|
|
62
74
|
showFooter = true,
|
|
@@ -5,7 +5,39 @@ import { MobileSheet } from "../../../mobileSheet/mobileSheet";
|
|
|
5
5
|
import { Button } from "../../../button/button";
|
|
6
6
|
import { useLanguage } from "../../../utils/localization/useLanguage";
|
|
7
7
|
import { FooterButtons } from "../../../footerButtons/footerButtons";
|
|
8
|
+
injectString("cs", "Customize view", "P\u0159izp\u016Fsobit zobrazen\xED");
|
|
9
|
+
injectString("da-DK", "Customize view", "Tilpas visning");
|
|
10
|
+
injectString("de", "Customize view", "Ansicht anpassen");
|
|
8
11
|
injectString("en", "Customize view", "Customize view");
|
|
12
|
+
injectString("es", "Customize view", "Personalizar vista");
|
|
13
|
+
injectString("fi-FI", "Customize view", "Mukauta n\xE4kym\xE4\xE4");
|
|
14
|
+
injectString("fr", "Customize view", "Personnaliser la vue");
|
|
15
|
+
injectString("fr-FR", "Customize view", "Personnaliser la vue");
|
|
16
|
+
injectString("hu-HU", "Customize view", "N\xE9zet testreszab\xE1sa");
|
|
17
|
+
injectString("id", "Customize view", "Sesuaikan tampilan");
|
|
18
|
+
injectString("it", "Customize view", "Personalizza visualizzazione");
|
|
19
|
+
injectString("ja", "Customize view", "\u30D3\u30E5\u30FC\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA");
|
|
20
|
+
injectString("ko-KR", "Customize view", "\uBCF4\uAE30 \uC0AC\uC6A9\uC790 \uC9C0\uC815");
|
|
21
|
+
injectString("ms", "Customize view", "Sesuaikan paparan");
|
|
22
|
+
injectString("nb-NO", "Customize view", "Tilpass visning");
|
|
23
|
+
injectString("nl", "Customize view", "Weergave aanpassen");
|
|
24
|
+
injectString("pl", "Customize view", "Dostosuj widok");
|
|
25
|
+
injectString("pt-BR", "Customize view", "Personalizar visualiza\xE7\xE3o");
|
|
26
|
+
injectString("pt-PT", "Customize view", "Personalizar vista");
|
|
27
|
+
injectString("sk-SK", "Customize view", "Prisp\xF4sobi\u0165 zobrazenie");
|
|
28
|
+
injectString("sv", "Customize view", "Anpassa vy");
|
|
29
|
+
injectString("th", "Customize view", "\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E21\u0E38\u0E21\u0E21\u0E2D\u0E07");
|
|
30
|
+
injectString("tr", "Customize view", "G\xF6r\xFCn\xFCm\xFC \xF6zelle\u015Ftir");
|
|
31
|
+
injectString("zh-Hans", "Customize view", "\u81EA\u5B9A\u4E49\u89C6\u56FE");
|
|
32
|
+
injectString("zh-TW", "Customize view", "\u81EA\u8A02\u6AA2\u8996");
|
|
33
|
+
injectString("ro-RO", "Customize view", "Personaliza\u021Bi vizualizarea");
|
|
34
|
+
injectString("ar", "Customize view", "\u062A\u062E\u0635\u064A\u0635 \u0627\u0644\u0639\u0631\u0636");
|
|
35
|
+
injectString("lt-LT", "Customize view", "Tinkinti rodin\u012F");
|
|
36
|
+
injectString("lv-LV", "Customize view", "Piel\u0101got skatu");
|
|
37
|
+
injectString("ka-GE", "Customize view", "\u10EE\u10D4\u10D3\u10D8\u10E1 \u10DB\u10DD\u10E0\u10D2\u10D4\u10D1\u10D0");
|
|
38
|
+
injectString("el-GR", "Customize view", "\u03A0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE \u03C0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE\u03C2");
|
|
39
|
+
injectString("et-EE", "Customize view", "Kohanda vaadet");
|
|
40
|
+
injectString("bg-BG", "Customize view", "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0438\u0437\u0433\u043B\u0435\u0434\u0430");
|
|
9
41
|
const ColumnSettingsSidePanelComp = ({
|
|
10
42
|
triggerRef,
|
|
11
43
|
isOpen,
|
|
@@ -23,7 +23,7 @@ export interface IFlexibleColumnsListProps<T> {
|
|
|
23
23
|
ref?: RefObject<HTMLElement | null>;
|
|
24
24
|
}
|
|
25
25
|
export declare const withFlexibleColumns: {
|
|
26
|
-
<T extends IEntityWithId, P extends IDataGrid<T
|
|
26
|
+
<T extends IEntityWithId, P extends IDataGrid<T>>(DataGridComponent: ComponentType<P>): {
|
|
27
27
|
(props: IFlexibleColumnsListProps<T> & P): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
@@ -44,6 +44,12 @@ injectString("zh-Hans", "Select visible columns", "\u9009\u62E9\u53EF\u89C1\u521
|
|
|
44
44
|
injectString("zh-TW", "Select visible columns", "\u9078\u53D6\u53EF\u898B\u6B04");
|
|
45
45
|
injectString("ro-RO", "Select visible columns", "Selecta\u021Bi coloanele vizibile");
|
|
46
46
|
injectString("ar", "Select visible columns", "\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0623\u0639\u0645\u062F\u0629 \u0627\u0644\u0645\u0631\u0626\u064A\u0629");
|
|
47
|
+
injectString("lt-LT", "Select visible columns", "Pasirinkti matomus stulpelius");
|
|
48
|
+
injectString("lv-LV", "Select visible columns", "Atlas\u012Bt redzam\u0101s kolonnas");
|
|
49
|
+
injectString("ka-GE", "Select visible columns", "\u10EE\u10D8\u10DA\u10E3\u10DA\u10D8 \u10E1\u10D5\u10D4\u10E2\u10D4\u10D1\u10D8\u10E1 \u10D0\u10E0\u10E9\u10D4\u10D5\u10D0");
|
|
50
|
+
injectString("el-GR", "Select visible columns", "\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03BF\u03C1\u03B1\u03C4\u03CE\u03BD \u03C3\u03C4\u03B7\u03BB\u03CE\u03BD");
|
|
51
|
+
injectString("et-EE", "Select visible columns", "Vali n\xE4htavad veerud");
|
|
52
|
+
injectString("bg-BG", "Select visible columns", "\u0418\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0432\u0438\u0434\u0438\u043C\u0438 \u043A\u043E\u043B\u043E\u043D\u0438");
|
|
47
53
|
export const withFlexibleColumns = DataGridComponent => {
|
|
48
54
|
const FlexibleColumnsComponent = props => {
|
|
49
55
|
var _a, _b;
|
|
@@ -19,7 +19,7 @@ export interface IWithLoadingProps<T> {
|
|
|
19
19
|
export interface ILoadingEntity extends IEntityWithId {
|
|
20
20
|
isLoading?: boolean;
|
|
21
21
|
}
|
|
22
|
-
export declare const withLoading: <T extends IEntityWithId, P extends IDataGrid<T
|
|
22
|
+
export declare const withLoading: <T extends IEntityWithId, P extends IDataGrid<T>>(DataGridComponent: ComponentType<P>) => {
|
|
23
23
|
(props: IWithLoadingProps<T> & Partial<Pick<ISelectableRowsList<T, T>, "selectMode">> & P): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
displayName: string;
|
|
25
25
|
};
|
|
@@ -39,7 +39,13 @@ injectString("tr", "{1} selected", "{1} se\xE7ildi");
|
|
|
39
39
|
injectString("zh-Hans", "{1} selected", "\u5DF2\u9009\u4E2D {1} \u9879");
|
|
40
40
|
injectString("zh-TW", "{1} selected", "\u5DF2\u9078\u53D6 {1} \u500B");
|
|
41
41
|
injectString("ro-RO", "{1} selected", "{1} selectate");
|
|
42
|
-
injectString("ar", "{1} selected", "
|
|
42
|
+
injectString("ar", "{1} selected", "\u062A\u0645 \u062A\u062D\u062F\u064A\u062F {1}");
|
|
43
|
+
injectString("lt-LT", "{1} selected", "{1} pasirinkta");
|
|
44
|
+
injectString("lv-LV", "{1} selected", "{1} atlas\u012Bts");
|
|
45
|
+
injectString("ka-GE", "{1} selected", "{1} \u10D0\u10E0\u10E9\u10D4\u10E3\u10DA\u10D8");
|
|
46
|
+
injectString("el-GR", "{1} selected", "{1} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1");
|
|
47
|
+
injectString("et-EE", "{1} selected", "{1} valitud");
|
|
48
|
+
injectString("bg-BG", "{1} selected", "{1} \u0438\u0437\u0431\u0440\u0430\u043D\u0438");
|
|
43
49
|
injectString("cs", "All", "V\u0161e");
|
|
44
50
|
injectString("da-DK", "All", "Alle");
|
|
45
51
|
injectString("de", "All", "Alle");
|
|
@@ -67,6 +73,12 @@ injectString("zh-Hans", "All", "\u5168\u90E8");
|
|
|
67
73
|
injectString("zh-TW", "All", "\u5168\u90E8");
|
|
68
74
|
injectString("ro-RO", "All", "Toate");
|
|
69
75
|
injectString("ar", "All", "\u0627\u0644\u0643\u0644");
|
|
76
|
+
injectString("lt-LT", "All", "Visi");
|
|
77
|
+
injectString("lv-LV", "All", "Visi");
|
|
78
|
+
injectString("ka-GE", "All", "\u10E7\u10D5\u10D4\u10DA\u10D0");
|
|
79
|
+
injectString("el-GR", "All", "\u038C\u03BB\u03B1");
|
|
80
|
+
injectString("et-EE", "All", "K\xF5ik");
|
|
81
|
+
injectString("bg-BG", "All", "\u0412\u0441\u0438\u0447\u043A\u0438");
|
|
70
82
|
injectString("cs", "Clear selection", "Vymazat v\xFDb\u011Br");
|
|
71
83
|
injectString("da-DK", "Clear selection", "Ryd markering");
|
|
72
84
|
injectString("de", "Clear selection", "Auswahl l\xF6schen");
|
|
@@ -94,6 +106,12 @@ injectString("zh-Hans", "Clear selection", "\u6E05\u9664\u9009\u62E9");
|
|
|
94
106
|
injectString("zh-TW", "Clear selection", "\u6E05\u9664\u9078\u53D6\u9805\u76EE");
|
|
95
107
|
injectString("ro-RO", "Clear selection", "\u0218terge\u021Bi selec\u021Bia");
|
|
96
108
|
injectString("ar", "Clear selection", "\u0645\u0633\u062D \u0627\u0644\u062A\u062D\u062F\u064A\u062F");
|
|
109
|
+
injectString("lt-LT", "Clear selection", "I\u0161valyti pasirinkim\u0105");
|
|
110
|
+
injectString("lv-LV", "Clear selection", "Not\u012Br\u012Bt atlasi");
|
|
111
|
+
injectString("ka-GE", "Clear selection", "\u10DB\u10DD\u10DC\u10D8\u10E8\u10D5\u10DC\u10D8\u10E1 \u10D2\u10D0\u10E1\u10E3\u10E4\u10D7\u10D0\u10D5\u10D4\u10D1\u10D0");
|
|
112
|
+
injectString("el-GR", "Clear selection", "\u0395\u03BA\u03BA\u03B1\u03B8\u03AC\u03C1\u03B9\u03C3\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE\u03C2");
|
|
113
|
+
injectString("et-EE", "Clear selection", "T\xFChjenda valik");
|
|
114
|
+
injectString("bg-BG", "Clear selection", "\u0418\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043D\u0435 \u043D\u0430 \u0438\u0437\u0431\u043E\u0440\u0430");
|
|
97
115
|
injectString("cs", "Select all", "Vybrat v\u0161e");
|
|
98
116
|
injectString("da-DK", "Select all", "V\xE6lg alle");
|
|
99
117
|
injectString("de", "Select all", "Alle ausw\xE4hlen");
|
|
@@ -121,6 +139,12 @@ injectString("zh-Hans", "Select all", "\u5168\u9009");
|
|
|
121
139
|
injectString("zh-TW", "Select all", "\u5168\u9078");
|
|
122
140
|
injectString("ro-RO", "Select all", "Selecta\u021Bi tot");
|
|
123
141
|
injectString("ar", "Select all", "\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644");
|
|
142
|
+
injectString("lt-LT", "Select all", "Pasirinkti visus");
|
|
143
|
+
injectString("lv-LV", "Select all", "Atlas\u012Bt visus");
|
|
144
|
+
injectString("ka-GE", "Select all", "\u10E7\u10D5\u10D4\u10DA\u10D0\u10E1 \u10D0\u10E0\u10E9\u10D4\u10D5\u10D0");
|
|
145
|
+
injectString("el-GR", "Select all", "\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03CC\u03BB\u03C9\u03BD");
|
|
146
|
+
injectString("et-EE", "Select all", "Vali k\xF5ik");
|
|
147
|
+
injectString("bg-BG", "Select all", "\u0418\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0432\u0441\u0438\u0447\u043A\u0438");
|
|
124
148
|
injectString("cs", "More", "V\xEDce");
|
|
125
149
|
injectString("da-DK", "More", "Mere");
|
|
126
150
|
injectString("de", "More", "Mehr");
|
|
@@ -148,6 +172,12 @@ injectString("zh-Hans", "More", "\u66F4\u591A");
|
|
|
148
172
|
injectString("zh-TW", "More", "\u66F4\u591A");
|
|
149
173
|
injectString("ro-RO", "More", "Mai multe");
|
|
150
174
|
injectString("ar", "More", "\u0627\u0644\u0645\u0632\u064A\u062F");
|
|
175
|
+
injectString("lt-LT", "More", "Daugiau");
|
|
176
|
+
injectString("lv-LV", "More", "Vair\u0101k");
|
|
177
|
+
injectString("ka-GE", "More", "\u10DB\u10D4\u10E2\u10D8");
|
|
178
|
+
injectString("el-GR", "More", "\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1");
|
|
179
|
+
injectString("et-EE", "More", "Rohkem");
|
|
180
|
+
injectString("bg-BG", "More", "\u041F\u043E\u0432\u0435\u0447\u0435");
|
|
151
181
|
export const BulkActions = ({
|
|
152
182
|
selected,
|
|
153
183
|
allSelected,
|