@geotab/zenith 3.1.1-beta.6 → 3.2.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 +20 -0
- package/dist/advancedGroupsFilter/advancedGroupsFilter.js +136 -30
- package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +139 -34
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +352 -87
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.d.ts +0 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +83 -9
- package/dist/alertRaw/alertRaw.js +175 -54
- package/dist/banner/bannerMultipLine.js +131 -23
- package/dist/banner/bannerSingleLine.js +110 -16
- package/dist/betaPill/betaPill.js +111 -20
- package/dist/bookmark/bookmark.js +95 -28
- package/dist/bulkEditControl/bulkEditControl.js +167 -34
- package/dist/calendar/calendar.js +943 -273
- package/dist/calendar/calendarUtils.js +157 -85
- package/dist/card/card.js +268 -123
- package/dist/chart/accessibleChart/accessibleChartNarrative.js +648 -555
- package/dist/chart/accessibleChart/accessibleChartTable.js +245 -86
- package/dist/chart/chart.js +36 -21
- package/dist/chart/chartAxis/chartAxis.js +85 -7
- package/dist/checkboxListWithAction/checkboxListWithAction.js +224 -69
- package/dist/chip/chip.js +195 -91
- package/dist/columnsSelector/columnsSelector.js +97 -12
- package/dist/columnsSelector/columnsTab/columnsTab.js +59 -15
- package/dist/columnsSelector/columnsTabGroup/columnsTabGroup.js +81 -34
- package/dist/comboboxSelected/comboboxSelected.js +1 -3
- package/dist/dataFeed/feedExpandControl/feedExpandControl.js +25 -10
- package/dist/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +92 -11
- package/dist/dataGrid/dataGrid.js +227 -117
- package/dist/dataGrid/emptySearchList/emptySearchList.js +56 -9
- package/dist/dataGrid/entitiesListActions/actions/columnsListButton.js +51 -7
- package/dist/dataGrid/entitiesListActions/actions/fullscreenButton.js +64 -18
- package/dist/dataGrid/withFlexibleColumns/components/columnSettings.js +84 -10
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +48 -16
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +223 -32
- package/dist/dataGrid/withSelectableRows/withSelectableRows.js +286 -213
- package/dist/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +178 -95
- package/dist/dateInputInner/dateInputInner.js +791 -476
- package/dist/dateInputInner/dateInputInnerControlBlock.js +125 -22
- package/dist/dateInputRaw/dateInputRaw.js +315 -104
- package/dist/dateInputRaw/utils/getLabel.js +38 -7
- package/dist/dateRangeInner/dateRangeInner.js +172 -58
- package/dist/dateRangeRaw/dateRangeRaw.js +601 -239
- package/dist/dateRangeRaw/utils/dateRangeUtils.js +629 -241
- package/dist/dateSelectionWrapper/dateSelectionWrapper.js +152 -14
- package/dist/dialog/dialogContent.js +123 -40
- package/dist/dropdownRaw/dropdownHelper.d.ts +2 -2
- package/dist/dropdownRaw/dropdownHelper.js +9 -9
- package/dist/dropdownRaw/dropdownList.js +447 -78
- package/dist/dropdownRaw/dropdownPopup.js +218 -20
- package/dist/dropdownRaw/dropdownRaw.js +866 -506
- package/dist/dropdownRaw/dropdownSearchableTrigger.js +223 -46
- package/dist/dropdownRaw/stateReducer/stateAction.d.ts +5 -1
- package/dist/dropdownRaw/stateReducer/stateActionType.d.ts +2 -1
- package/dist/dropdownRaw/stateReducer/stateActionType.js +1 -0
- package/dist/dropdownRaw/stateReducer/stateReducer.d.ts +6 -1
- package/dist/dropdownRaw/stateReducer/stateReducer.js +24 -12
- package/dist/dropdownRaw/stateReducer/stateReducerHelper.d.ts +2 -0
- package/dist/dropdownRaw/stateReducer/stateReducerHelper.js +20 -1
- package/dist/dropdownRaw/stateReducer/stateReducerTestData.d.ts +39 -0
- package/dist/dropdownRaw/stateReducer/stateReducerTestData.js +74 -0
- package/dist/dropdownRaw/types.d.ts +1 -0
- package/dist/favoriteButton/favoriteButton.js +59 -10
- package/dist/filters/components/filtersContainer.js +151 -64
- package/dist/filters/components/filtersEmptySelectedList.js +30 -4
- package/dist/filters/components/filtersSaveModal.js +140 -42
- package/dist/filters/components/filtersSavedChipComponent.js +318 -108
- package/dist/filters/components/filtersSearchItemData.js +127 -47
- package/dist/filters/components/filtersSearchList.js +381 -179
- package/dist/filters/components/filtersSelect.js +128 -61
- package/dist/filters/components/filtersSelectListItem.js +125 -13
- package/dist/filters/components/filtersSidePanel.js +510 -178
- package/dist/filters/filters.js +445 -268
- package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +729 -272
- package/dist/filtersBar/components/resetComponentButton.js +45 -5
- package/dist/filtersBar/filtersBarActions/filtersBarActions.js +126 -15
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +155 -49
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +360 -104
- package/dist/filtersBar/filtersContainer/filtersContainer.js +204 -134
- package/dist/formField/components/formFieldWithLabel.d.ts +2 -1
- package/dist/formField/components/formFieldWithLabel.js +3 -2
- package/dist/formField/components/formFieldWithoutLabel.d.ts +2 -1
- package/dist/formField/components/formFieldWithoutLabel.js +3 -3
- package/dist/formField/components/trailingComponent.d.ts +8 -0
- package/dist/formField/components/trailingComponent.js +11 -0
- package/dist/formField/formField.js +12 -11
- package/dist/formField/hooks/useError.js +100 -36
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +72 -7
- package/dist/formGroup/hooks/useToggle.js +37 -11
- package/dist/formGroup/utils/getControls.js +8 -7
- package/dist/formLayout/hooks/useError.js +55 -15
- package/dist/formLayout/hooks/useFormButtons.js +128 -27
- package/dist/formSection/components/formSectionModal.js +1 -1
- package/dist/formSection/formSection.js +1 -1
- package/dist/formSection/hooks/useError.js +70 -22
- package/dist/formStepper/components/formStep.js +65 -10
- package/dist/formStepper/formStepper.js +129 -33
- package/dist/formStepperButtons/formStepperButtons.js +184 -38
- package/dist/groupsFilter/groupsHelper.d.ts +1 -1
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +162 -17
- package/dist/groupsFilterRaw/groupsFilterBox.js +137 -32
- package/dist/groupsFilterRaw/groupsFilterCommon.js +75 -8
- package/dist/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +184 -25
- package/dist/groupsFilterRaw/groupsFilterHelper.d.ts +2 -1
- package/dist/groupsFilterRaw/groupsFilterHelper.js +284 -168
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +266 -18
- package/dist/groupsFilterRaw/groupsFilterMenu.js +124 -9
- package/dist/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
- package/dist/groupsFilterRaw/groupsFilterRaw.js +816 -308
- package/dist/groupsFilterRaw/groupsFilterTestData.d.ts +155 -2
- package/dist/groupsFilterRaw/groupsFilterTestData.js +153 -58
- package/dist/groupsFilterRaw/groupsFilterTrigger.js +139 -35
- package/dist/groupsFilterRaw/groupsHelper.js +739 -208
- package/dist/groupsFilterRaw/stateReducer/stateReducerHelper.js +3 -1
- package/dist/groupsFilterRaw/types.d.ts +1 -0
- package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +107 -52
- package/dist/header/components/mobileFilterControl/mobileFilterControl.js +62 -9
- package/dist/header/components/mobileSearchControl/mobileSearchControl.js +119 -14
- package/dist/header/headerBack.js +64 -20
- package/dist/index.css +110 -71
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/dist/list/itemData/itemDataInternal.js +216 -51
- package/dist/list/listItem/listItem.js +168 -55
- package/dist/menu/components/menuErrorItem.js +33 -5
- package/dist/mobileSheet/mobileSheet.js +195 -69
- package/dist/modal/modal.js +300 -142
- package/dist/nav/nav.js +1 -1
- package/dist/nav/navFooter/navFooter.js +82 -39
- package/dist/nav/navFooter/navFooterAction/navFooterAction.js +52 -13
- package/dist/nav/navHeader/navHeader.js +86 -36
- package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +88 -29
- package/dist/nav/navItem/navItem.d.ts +3 -3
- package/dist/nav/navItem/navItem.js +35 -33
- package/dist/nav/navMobileBar/navMobileBar.js +67 -21
- package/dist/notification/notification.js +124 -21
- package/dist/pagination/paginationArrow.js +81 -11
- package/dist/pagination/paginationText/paginationText.js +45 -11
- package/dist/pill/components/pillNonActionable/pillNonActionable.js +93 -24
- package/dist/pillBox/components/pillBoxItem.js +52 -9
- package/dist/pillBox/pillBox.js +121 -20
- package/dist/pillExpandable/pillExpandable.js +333 -139
- package/dist/rangeRaw/rangeRaw.js +486 -141
- package/dist/rangeRaw/utils/rangeHelper.js +209 -39
- package/dist/searchInputRaw/searchInputRaw.js +180 -65
- package/dist/skeleton/skeleton.js +51 -6
- package/dist/sortControl/sortControl.js +152 -42
- package/dist/stepperRaw/stepperRaw.js +116 -42
- package/dist/summary/summary.js +94 -8
- package/dist/table/actions/actionsMenu.js +171 -78
- package/dist/table/flexible/columnSettings.js +80 -10
- package/dist/table/flexible/columnsList.js +110 -43
- package/dist/table/flexible/columnsPopup.js +77 -20
- package/dist/table/nested/useNestedRows.js +167 -77
- package/dist/table/selectable/selectableHeader.js +180 -41
- package/dist/table/selectable/useSelectableRows.js +270 -191
- package/dist/table/sortable/sortableHeader.js +153 -75
- package/dist/tabs/tabs.js +227 -118
- package/dist/timePickerRaw/timePickerRaw.js +278 -58
- package/dist/toastRaw/toastRaw.js +138 -32
- package/dist/toggleButton/toggleButton.d.ts +0 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.d.ts +1 -0
- package/dist/toggleButtonRaw/toggleButtonRaw.js +146 -40
- package/dist/utils/formatDate.js +1001 -117
- package/{esm/utils/localization/translations/cs-json.js → dist/utils/localization/translations/cs.json} +11 -12
- package/{esm/utils/localization/translations/da-DK-json.js → dist/utils/localization/translations/da-DK.json} +31 -23
- package/{esm/utils/localization/translations/de-json.js → dist/utils/localization/translations/de.json} +12 -13
- package/dist/utils/localization/translations/en.json +308 -0
- package/{esm/utils/localization/translations/es-json.js → dist/utils/localization/translations/es.json} +11 -12
- package/{esm/utils/localization/translations/fi-FI-json.js → dist/utils/localization/translations/fi-FI.json} +31 -23
- package/{esm/utils/localization/translations/fr-FR-json.js → dist/utils/localization/translations/fr-FR.json} +12 -12
- package/{esm/utils/localization/translations/fr-json.js → dist/utils/localization/translations/fr.json} +11 -12
- package/{esm/utils/localization/translations/hu-HU-json.js → dist/utils/localization/translations/hu-HU.json} +31 -23
- package/{esm/utils/localization/translations/id-json.js → dist/utils/localization/translations/id.json} +11 -13
- package/{esm/utils/localization/translations/it-json.js → dist/utils/localization/translations/it.json} +11 -12
- package/{esm/utils/localization/translations/ja-json.js → dist/utils/localization/translations/ja.json} +11 -12
- package/{esm/utils/localization/translations/ko-KR-json.js → dist/utils/localization/translations/ko-KR.json} +24 -23
- package/{esm/utils/localization/translations/ms-json.js → dist/utils/localization/translations/ms.json} +11 -12
- package/{esm/utils/localization/translations/nb-NO-json.js → dist/utils/localization/translations/nb-NO.json} +31 -23
- package/{esm/utils/localization/translations/nl-json.js → dist/utils/localization/translations/nl.json} +11 -12
- package/{esm/utils/localization/translations/pl-json.js → dist/utils/localization/translations/pl.json} +11 -12
- package/{esm/utils/localization/translations/pt-BR-json.js → dist/utils/localization/translations/pt-BR.json} +11 -12
- package/{esm/utils/localization/translations/sk-SK-json.js → dist/utils/localization/translations/sk-SK.json} +31 -23
- package/{esm/utils/localization/translations/sv-json.js → dist/utils/localization/translations/sv.json} +11 -12
- package/{esm/utils/localization/translations/th-json.js → dist/utils/localization/translations/th.json} +11 -12
- package/{esm/utils/localization/translations/tr-json.js → dist/utils/localization/translations/tr.json} +11 -12
- package/{esm/utils/localization/translations/zh-Hans-json.js → dist/utils/localization/translations/zh-Hans.json} +11 -12
- package/{esm/utils/localization/translations/zh-TW-json.js → dist/utils/localization/translations/zh-TW.json} +11 -23
- package/dist/utils/localization/translationsDictionary.d.ts +2 -0
- package/dist/utils/localization/translationsDictionary.js +63 -0
- package/dist/utils/localization/useLanguage.js +2 -74
- package/esm/advancedGroupsFilter/advancedGroupsFilter.js +130 -29
- package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +133 -33
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +317 -65
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.d.ts +0 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +77 -8
- package/esm/alertRaw/alertRaw.js +165 -51
- package/esm/banner/bannerMultipLine.js +121 -20
- package/esm/banner/bannerSingleLine.js +100 -13
- package/esm/betaPill/betaPill.js +105 -19
- package/esm/bookmark/bookmark.js +89 -27
- package/esm/bulkEditControl/bulkEditControl.js +161 -33
- package/esm/calendar/calendar.js +937 -272
- package/esm/calendar/calendarUtils.js +151 -84
- package/esm/card/card.js +233 -101
- package/esm/chart/accessibleChart/accessibleChartNarrative.js +642 -554
- package/esm/chart/accessibleChart/accessibleChartTable.js +239 -85
- package/esm/chart/chart.js +30 -20
- package/esm/chart/chartAxis/chartAxis.js +79 -6
- package/esm/checkboxListWithAction/checkboxListWithAction.js +218 -68
- package/esm/chip/chip.js +189 -90
- package/esm/columnsSelector/columnsSelector.js +91 -11
- package/esm/columnsSelector/columnsTab/columnsTab.js +53 -14
- package/esm/columnsSelector/columnsTabGroup/columnsTabGroup.js +75 -33
- package/esm/comboboxSelected/comboboxSelected.js +1 -3
- package/esm/dataFeed/feedExpandControl/feedExpandControl.js +21 -9
- package/esm/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +86 -10
- package/esm/dataGrid/dataGrid.js +221 -116
- package/esm/dataGrid/emptySearchList/emptySearchList.js +50 -8
- package/esm/dataGrid/entitiesListActions/actions/columnsListButton.js +45 -6
- package/esm/dataGrid/entitiesListActions/actions/fullscreenButton.js +58 -17
- package/esm/dataGrid/withFlexibleColumns/components/columnSettings.js +78 -9
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +44 -15
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +217 -31
- package/esm/dataGrid/withSelectableRows/withSelectableRows.js +280 -212
- package/esm/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +172 -94
- package/esm/dateInputInner/dateInputInner.js +785 -475
- package/esm/dateInputInner/dateInputInnerControlBlock.js +119 -21
- package/esm/dateInputRaw/dateInputRaw.js +309 -103
- package/esm/dateInputRaw/utils/getLabel.js +32 -6
- package/esm/dateRangeInner/dateRangeInner.js +166 -57
- package/esm/dateRangeRaw/dateRangeRaw.js +595 -238
- package/esm/dateRangeRaw/utils/dateRangeUtils.js +622 -239
- package/esm/dateSelectionWrapper/dateSelectionWrapper.js +146 -13
- package/esm/dialog/dialogContent.js +117 -39
- package/esm/dropdownRaw/dropdownHelper.d.ts +2 -2
- package/esm/dropdownRaw/dropdownHelper.js +10 -10
- package/esm/dropdownRaw/dropdownList.js +412 -56
- package/esm/dropdownRaw/dropdownPopup.js +212 -19
- package/esm/dropdownRaw/dropdownRaw.js +862 -507
- package/esm/dropdownRaw/dropdownSearchableTrigger.js +217 -45
- package/esm/dropdownRaw/stateReducer/stateAction.d.ts +5 -1
- package/esm/dropdownRaw/stateReducer/stateActionType.d.ts +2 -1
- package/esm/dropdownRaw/stateReducer/stateActionType.js +1 -0
- package/esm/dropdownRaw/stateReducer/stateReducer.d.ts +6 -1
- package/esm/dropdownRaw/stateReducer/stateReducer.js +24 -12
- package/esm/dropdownRaw/stateReducer/stateReducerHelper.d.ts +2 -0
- package/esm/dropdownRaw/stateReducer/stateReducerHelper.js +18 -0
- package/esm/dropdownRaw/stateReducer/stateReducerTestData.d.ts +39 -0
- package/esm/dropdownRaw/stateReducer/stateReducerTestData.js +71 -0
- package/esm/dropdownRaw/types.d.ts +1 -0
- package/esm/favoriteButton/favoriteButton.js +53 -9
- package/esm/filters/components/filtersContainer.js +141 -61
- package/esm/filters/components/filtersEmptySelectedList.js +24 -3
- package/esm/filters/components/filtersSaveModal.js +134 -41
- package/esm/filters/components/filtersSavedChipComponent.js +312 -107
- package/esm/filters/components/filtersSearchItemData.js +121 -46
- package/esm/filters/components/filtersSearchList.js +375 -178
- package/esm/filters/components/filtersSelect.js +122 -60
- package/esm/filters/components/filtersSelectListItem.js +119 -12
- package/esm/filters/components/filtersSidePanel.js +504 -177
- package/esm/filters/filters.js +435 -265
- package/esm/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +722 -270
- package/esm/filtersBar/components/resetComponentButton.js +39 -4
- package/esm/filtersBar/filtersBarActions/filtersBarActions.js +120 -14
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +149 -48
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +354 -103
- package/esm/filtersBar/filtersContainer/filtersContainer.js +198 -133
- package/esm/formField/components/formFieldWithLabel.d.ts +2 -1
- package/esm/formField/components/formFieldWithLabel.js +3 -2
- package/esm/formField/components/formFieldWithoutLabel.d.ts +2 -1
- package/esm/formField/components/formFieldWithoutLabel.js +3 -3
- package/esm/formField/components/trailingComponent.d.ts +8 -0
- package/esm/formField/components/trailingComponent.js +7 -0
- package/esm/formField/formField.js +12 -11
- package/esm/formField/hooks/useError.js +94 -35
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +66 -6
- package/esm/formGroup/hooks/useToggle.js +31 -10
- package/esm/formGroup/utils/getControls.js +8 -7
- package/esm/formLayout/hooks/useError.js +49 -14
- package/esm/formLayout/hooks/useFormButtons.js +122 -26
- package/esm/formSection/components/formSectionModal.js +1 -1
- package/esm/formSection/formSection.js +1 -1
- package/esm/formSection/hooks/useError.js +64 -21
- package/esm/formStepper/components/formStep.js +59 -9
- package/esm/formStepper/formStepper.js +123 -32
- package/esm/formStepperButtons/formStepperButtons.js +178 -37
- package/esm/groupsFilter/groupsHelper.d.ts +1 -1
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +152 -14
- package/esm/groupsFilterRaw/groupsFilterBox.js +131 -31
- package/esm/groupsFilterRaw/groupsFilterCommon.js +69 -7
- package/esm/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +178 -24
- package/esm/groupsFilterRaw/groupsFilterHelper.d.ts +2 -1
- package/esm/groupsFilterRaw/groupsFilterHelper.js +279 -168
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +260 -17
- package/esm/groupsFilterRaw/groupsFilterMenu.js +118 -8
- package/esm/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
- package/esm/groupsFilterRaw/groupsFilterRaw.js +811 -308
- package/esm/groupsFilterRaw/groupsFilterTestData.d.ts +155 -2
- package/esm/groupsFilterRaw/groupsFilterTestData.js +152 -57
- package/esm/groupsFilterRaw/groupsFilterTrigger.js +133 -34
- package/esm/groupsFilterRaw/groupsHelper.js +733 -207
- package/esm/groupsFilterRaw/stateReducer/stateReducerHelper.js +3 -1
- package/esm/groupsFilterRaw/types.d.ts +1 -0
- package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +101 -51
- package/esm/header/components/mobileFilterControl/mobileFilterControl.js +56 -8
- package/esm/header/components/mobileSearchControl/mobileSearchControl.js +113 -13
- package/esm/header/headerBack.js +58 -19
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/list/itemData/itemDataInternal.js +210 -50
- package/esm/list/listItem/listItem.js +162 -54
- package/esm/menu/components/menuErrorItem.js +27 -4
- package/esm/mobileSheet/mobileSheet.js +189 -68
- package/esm/modal/modal.js +265 -120
- package/esm/nav/nav.js +1 -1
- package/esm/nav/navFooter/navFooter.js +76 -38
- package/esm/nav/navFooter/navFooterAction/navFooterAction.js +46 -12
- package/esm/nav/navHeader/navHeader.js +80 -35
- package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +82 -28
- package/esm/nav/navItem/navItem.d.ts +3 -3
- package/esm/nav/navItem/navItem.js +35 -33
- package/esm/nav/navMobileBar/navMobileBar.js +61 -20
- package/esm/notification/notification.js +114 -18
- package/esm/pagination/paginationArrow.js +75 -10
- package/esm/pagination/paginationText/paginationText.js +39 -10
- package/esm/pill/components/pillNonActionable/pillNonActionable.js +87 -23
- package/esm/pillBox/components/pillBoxItem.js +46 -8
- package/esm/pillBox/pillBox.js +115 -19
- package/esm/pillExpandable/pillExpandable.js +327 -138
- package/esm/rangeRaw/rangeRaw.js +480 -140
- package/esm/rangeRaw/utils/rangeHelper.js +203 -38
- package/esm/searchInputRaw/searchInputRaw.js +145 -43
- package/esm/skeleton/skeleton.js +45 -5
- package/esm/sortControl/sortControl.js +146 -41
- package/esm/stepperRaw/stepperRaw.js +112 -41
- package/esm/storybookHelpers/dataGridWithDifferentCellOptions/components/EntitiesListAction.js +178 -19
- package/esm/summary/summary.js +88 -7
- package/esm/table/actions/actionsMenu.js +165 -77
- package/esm/table/flexible/columnSettings.js +74 -9
- package/esm/table/flexible/columnsList.js +104 -42
- package/esm/table/flexible/columnsPopup.js +71 -19
- package/esm/table/nested/useNestedRows.js +161 -76
- package/esm/table/selectable/selectableHeader.js +174 -40
- package/esm/table/selectable/useSelectableRows.js +264 -190
- package/esm/table/sortable/sortableHeader.js +147 -74
- package/esm/tabs/tabs.js +221 -117
- package/esm/timePickerRaw/timePickerRaw.js +272 -57
- package/esm/toastRaw/toastRaw.js +132 -31
- package/esm/toggleButton/toggleButton.d.ts +0 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.d.ts +1 -0
- package/esm/toggleButtonRaw/toggleButtonRaw.js +111 -18
- package/esm/utils/formatDate.js +995 -116
- package/{dist/utils/localization/translations/cs-json.js → esm/utils/localization/translations/cs.json} +11 -15
- package/{dist/utils/localization/translations/da-DK-json.js → esm/utils/localization/translations/da-DK.json} +31 -26
- package/{dist/utils/localization/translations/de-json.js → esm/utils/localization/translations/de.json} +12 -16
- package/esm/utils/localization/translations/en.json +308 -0
- package/{dist/utils/localization/translations/es-json.js → esm/utils/localization/translations/es.json} +11 -15
- package/{dist/utils/localization/translations/fi-FI-json.js → esm/utils/localization/translations/fi-FI.json} +31 -26
- package/{dist/utils/localization/translations/fr-FR-json.js → esm/utils/localization/translations/fr-FR.json} +12 -15
- package/{dist/utils/localization/translations/fr-json.js → esm/utils/localization/translations/fr.json} +11 -15
- package/{dist/utils/localization/translations/hu-HU-json.js → esm/utils/localization/translations/hu-HU.json} +31 -26
- package/{dist/utils/localization/translations/id-json.js → esm/utils/localization/translations/id.json} +11 -16
- package/{dist/utils/localization/translations/it-json.js → esm/utils/localization/translations/it.json} +11 -15
- package/{dist/utils/localization/translations/ja-json.js → esm/utils/localization/translations/ja.json} +11 -15
- package/{dist/utils/localization/translations/ko-KR-json.js → esm/utils/localization/translations/ko-KR.json} +24 -26
- package/{dist/utils/localization/translations/ms-json.js → esm/utils/localization/translations/ms.json} +11 -15
- package/{dist/utils/localization/translations/nb-NO-json.js → esm/utils/localization/translations/nb-NO.json} +31 -26
- package/{dist/utils/localization/translations/nl-json.js → esm/utils/localization/translations/nl.json} +11 -15
- package/{dist/utils/localization/translations/pl-json.js → esm/utils/localization/translations/pl.json} +11 -15
- package/{dist/utils/localization/translations/pt-BR-json.js → esm/utils/localization/translations/pt-BR.json} +11 -15
- package/{dist/utils/localization/translations/sk-SK-json.js → esm/utils/localization/translations/sk-SK.json} +31 -26
- package/{dist/utils/localization/translations/sv-json.js → esm/utils/localization/translations/sv.json} +11 -15
- package/{dist/utils/localization/translations/th-json.js → esm/utils/localization/translations/th.json} +11 -15
- package/{dist/utils/localization/translations/tr-json.js → esm/utils/localization/translations/tr.json} +11 -15
- package/{dist/utils/localization/translations/zh-Hans-json.js → esm/utils/localization/translations/zh-Hans.json} +11 -15
- package/{dist/utils/localization/translations/zh-TW-json.js → esm/utils/localization/translations/zh-TW.json} +11 -26
- package/esm/utils/localization/translationsDictionary.d.ts +2 -0
- package/esm/utils/localization/translationsDictionary.js +59 -0
- package/esm/utils/localization/useLanguage.js +1 -50
- package/package.json +17 -10
- package/dist/utils/localization/translations/cs-json.d.ts +0 -251
- package/dist/utils/localization/translations/da-DK-json.d.ts +0 -252
- package/dist/utils/localization/translations/de-json.d.ts +0 -251
- package/dist/utils/localization/translations/en-json.d.ts +0 -314
- package/dist/utils/localization/translations/en-json.js +0 -317
- package/dist/utils/localization/translations/es-json.d.ts +0 -251
- package/dist/utils/localization/translations/fi-FI-json.d.ts +0 -252
- package/dist/utils/localization/translations/fr-FR-json.d.ts +0 -250
- package/dist/utils/localization/translations/fr-json.d.ts +0 -251
- package/dist/utils/localization/translations/hu-HU-json.d.ts +0 -252
- package/dist/utils/localization/translations/id-json.d.ts +0 -252
- package/dist/utils/localization/translations/it-json.d.ts +0 -251
- package/dist/utils/localization/translations/ja-json.d.ts +0 -251
- package/dist/utils/localization/translations/ko-KR-json.d.ts +0 -258
- package/dist/utils/localization/translations/ms-json.d.ts +0 -251
- package/dist/utils/localization/translations/nb-NO-json.d.ts +0 -252
- package/dist/utils/localization/translations/nl-json.d.ts +0 -251
- package/dist/utils/localization/translations/pl-json.d.ts +0 -251
- package/dist/utils/localization/translations/pt-BR-json.d.ts +0 -251
- package/dist/utils/localization/translations/sk-SK-json.d.ts +0 -251
- package/dist/utils/localization/translations/sv-json.d.ts +0 -251
- package/dist/utils/localization/translations/th-json.d.ts +0 -251
- package/dist/utils/localization/translations/tr-json.d.ts +0 -251
- package/dist/utils/localization/translations/zh-Hans-json.d.ts +0 -251
- package/dist/utils/localization/translations/zh-TW-json.d.ts +0 -271
- package/esm/utils/localization/translations/cs-json.d.ts +0 -251
- package/esm/utils/localization/translations/da-DK-json.d.ts +0 -252
- package/esm/utils/localization/translations/de-json.d.ts +0 -251
- package/esm/utils/localization/translations/en-json.d.ts +0 -314
- package/esm/utils/localization/translations/en-json.js +0 -314
- package/esm/utils/localization/translations/es-json.d.ts +0 -251
- package/esm/utils/localization/translations/fi-FI-json.d.ts +0 -252
- package/esm/utils/localization/translations/fr-FR-json.d.ts +0 -250
- package/esm/utils/localization/translations/fr-json.d.ts +0 -251
- package/esm/utils/localization/translations/hu-HU-json.d.ts +0 -252
- package/esm/utils/localization/translations/id-json.d.ts +0 -252
- package/esm/utils/localization/translations/it-json.d.ts +0 -251
- package/esm/utils/localization/translations/ja-json.d.ts +0 -251
- package/esm/utils/localization/translations/ko-KR-json.d.ts +0 -258
- package/esm/utils/localization/translations/ms-json.d.ts +0 -251
- package/esm/utils/localization/translations/nb-NO-json.d.ts +0 -252
- package/esm/utils/localization/translations/nl-json.d.ts +0 -251
- package/esm/utils/localization/translations/pl-json.d.ts +0 -251
- package/esm/utils/localization/translations/pt-BR-json.d.ts +0 -251
- package/esm/utils/localization/translations/sk-SK-json.d.ts +0 -251
- package/esm/utils/localization/translations/sv-json.d.ts +0 -251
- package/esm/utils/localization/translations/th-json.d.ts +0 -251
- package/esm/utils/localization/translations/tr-json.d.ts +0 -251
- package/esm/utils/localization/translations/zh-Hans-json.d.ts +0 -251
- package/esm/utils/localization/translations/zh-TW-json.d.ts +0 -271
|
@@ -1,30 +1,212 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
injectString
|
|
5
|
+
} = require("../utils/localization/translationsDictionary");
|
|
6
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return m[k];
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
Object.defineProperty(o, k2, desc);
|
|
18
|
+
} : function (o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
});
|
|
22
|
+
var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
value: v
|
|
26
|
+
});
|
|
27
|
+
} : function (o, v) {
|
|
28
|
+
o["default"] = v;
|
|
17
29
|
});
|
|
18
|
-
var __importStar =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
var __importStar = this && this.__importStar || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
24
36
|
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", {
|
|
37
|
+
Object.defineProperty(exports, "__esModule", {
|
|
38
|
+
value: true
|
|
39
|
+
});
|
|
26
40
|
exports.TRANSLATIONS = exports.AdvancedGroupsFilterFormSection = void 0;
|
|
27
41
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
injectString("cs", "And", "A");
|
|
43
|
+
injectString("da-DK", "And", "Og");
|
|
44
|
+
injectString("de", "And", "Und");
|
|
45
|
+
injectString("en", "And", "And");
|
|
46
|
+
injectString("es", "And", "Y");
|
|
47
|
+
injectString("fi-FI", "And", "Ja");
|
|
48
|
+
injectString("fr", "And", "Et");
|
|
49
|
+
injectString("fr-FR", "And", "Et");
|
|
50
|
+
injectString("hu-HU", "And", "\xC9s");
|
|
51
|
+
injectString("id", "And", "Dan");
|
|
52
|
+
injectString("it", "And", "E");
|
|
53
|
+
injectString("ja", "And", "\u3068");
|
|
54
|
+
injectString("ko-KR", "And", "\uADF8\uB9AC\uACE0");
|
|
55
|
+
injectString("ms", "And", "Dan");
|
|
56
|
+
injectString("nb-NO", "And", "Og");
|
|
57
|
+
injectString("nl", "And", "En");
|
|
58
|
+
injectString("pl", "And", "Oraz");
|
|
59
|
+
injectString("pt-BR", "And", "E");
|
|
60
|
+
injectString("sk-SK", "And", "A");
|
|
61
|
+
injectString("sv", "And", "Och");
|
|
62
|
+
injectString("th", "And", "\u0E41\u0E25\u0E30");
|
|
63
|
+
injectString("tr", "And", "Ve");
|
|
64
|
+
injectString("zh-Hans", "And", "\u548C");
|
|
65
|
+
injectString("zh-TW", "And", "\u548C");
|
|
66
|
+
injectString("cs", "Or", "Nebo");
|
|
67
|
+
injectString("da-DK", "Or", "Eller");
|
|
68
|
+
injectString("de", "Or", "Oder");
|
|
69
|
+
injectString("en", "Or", "Or");
|
|
70
|
+
injectString("es", "Or", "O");
|
|
71
|
+
injectString("fi-FI", "Or", "Tai");
|
|
72
|
+
injectString("fr", "Or", "Ou");
|
|
73
|
+
injectString("fr-FR", "Or", "Ou");
|
|
74
|
+
injectString("hu-HU", "Or", "Vagy");
|
|
75
|
+
injectString("id", "Or", "Atau");
|
|
76
|
+
injectString("it", "Or", "O");
|
|
77
|
+
injectString("ja", "Or", "\u307E\u305F\u306F");
|
|
78
|
+
injectString("ko-KR", "Or", "\uB610\uB294");
|
|
79
|
+
injectString("ms", "Or", "Atau");
|
|
80
|
+
injectString("nb-NO", "Or", "Eller");
|
|
81
|
+
injectString("nl", "Or", "Of");
|
|
82
|
+
injectString("pl", "Or", "Lub");
|
|
83
|
+
injectString("pt-BR", "Or", "Ou");
|
|
84
|
+
injectString("sk-SK", "Or", "Alebo");
|
|
85
|
+
injectString("sv", "Or", "Eller");
|
|
86
|
+
injectString("th", "Or", "\u0E2B\u0E23\u0E37\u0E2D");
|
|
87
|
+
injectString("tr", "Or", "Veya");
|
|
88
|
+
injectString("zh-Hans", "Or", "\u6216");
|
|
89
|
+
injectString("zh-TW", "Or", "\u6216");
|
|
90
|
+
injectString("cs", "Operator", "Oper\xE1tor");
|
|
91
|
+
injectString("da-DK", "Operator", "Operat\xF8r");
|
|
92
|
+
injectString("de", "Operator", "Operator");
|
|
93
|
+
injectString("en", "Operator", "Operator");
|
|
94
|
+
injectString("es", "Operator", "Operador");
|
|
95
|
+
injectString("fi-FI", "Operator", "Operaattori");
|
|
96
|
+
injectString("fr", "Operator", "Op\xE9rateur");
|
|
97
|
+
injectString("fr-FR", "Operator", "Op\xE9rateur");
|
|
98
|
+
injectString("hu-HU", "Operator", "Oper\xE1tor");
|
|
99
|
+
injectString("id", "Operator", "Operator");
|
|
100
|
+
injectString("it", "Operator", "Operatore");
|
|
101
|
+
injectString("ja", "Operator", "\u6F14\u7B97\u5B50");
|
|
102
|
+
injectString("ko-KR", "Operator", "\uC5F0\uC0B0\uC790");
|
|
103
|
+
injectString("ms", "Operator", "Pengendali");
|
|
104
|
+
injectString("nb-NO", "Operator", "Operat\xF8r");
|
|
105
|
+
injectString("nl", "Operator", "Operator");
|
|
106
|
+
injectString("pl", "Operator", "Operator");
|
|
107
|
+
injectString("pt-BR", "Operator", "Operador");
|
|
108
|
+
injectString("sk-SK", "Operator", "Oper\xE1tor");
|
|
109
|
+
injectString("sv", "Operator", "Operat\xF6r");
|
|
110
|
+
injectString("th", "Operator", "\u0E15\u0E31\u0E27\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23");
|
|
111
|
+
injectString("tr", "Operator", "Operat\xF6r");
|
|
112
|
+
injectString("zh-Hans", "Operator", "\u64CD\u4F5C\u5458");
|
|
113
|
+
injectString("zh-TW", "Operator", "\u904B\u7B97\u5B50");
|
|
114
|
+
injectString("cs", "Groups", "Skupiny");
|
|
115
|
+
injectString("da-DK", "Groups", "Grupper");
|
|
116
|
+
injectString("de", "Groups", "Gruppen");
|
|
117
|
+
injectString("en", "Groups", "Groups");
|
|
118
|
+
injectString("es", "Groups", "Grupos");
|
|
119
|
+
injectString("fi-FI", "Groups", "Ryhm\xE4t");
|
|
120
|
+
injectString("fr", "Groups", "Groupes");
|
|
121
|
+
injectString("fr-FR", "Groups", "Groupes");
|
|
122
|
+
injectString("hu-HU", "Groups", "Csoportok");
|
|
123
|
+
injectString("id", "Groups", "Grup");
|
|
124
|
+
injectString("it", "Groups", "Gruppi");
|
|
125
|
+
injectString("ja", "Groups", "\u30B0\u30EB\u30FC\u30D7");
|
|
126
|
+
injectString("ko-KR", "Groups", "\uADF8\uB8F9");
|
|
127
|
+
injectString("ms", "Groups", "Kumpulan");
|
|
128
|
+
injectString("nb-NO", "Groups", "Grupper");
|
|
129
|
+
injectString("nl", "Groups", "Groepen");
|
|
130
|
+
injectString("pl", "Groups", "Grupy");
|
|
131
|
+
injectString("pt-BR", "Groups", "Grupos");
|
|
132
|
+
injectString("sk-SK", "Groups", "Skupiny");
|
|
133
|
+
injectString("sv", "Groups", "Grupper");
|
|
134
|
+
injectString("th", "Groups", "\u0E01\u0E25\u0E38\u0E48\u0E21");
|
|
135
|
+
injectString("tr", "Groups", "Gruplar");
|
|
136
|
+
injectString("zh-Hans", "Groups", "\u7EC4");
|
|
137
|
+
injectString("zh-TW", "Groups", "\u7FA4\u7D44");
|
|
138
|
+
injectString("cs", "Remove condition", "Odebrat podm\xEDnku");
|
|
139
|
+
injectString("da-DK", "Remove condition", "Fjern betingelse");
|
|
140
|
+
injectString("de", "Remove condition", "Bedingung entfernen");
|
|
141
|
+
injectString("en", "Remove condition", "Remove condition");
|
|
142
|
+
injectString("es", "Remove condition", "Eliminar condici\xF3n");
|
|
143
|
+
injectString("fi-FI", "Remove condition", "Poista ehto");
|
|
144
|
+
injectString("fr", "Remove condition", "Supprimer la condition");
|
|
145
|
+
injectString("fr-FR", "Remove condition", "Supprimer condition");
|
|
146
|
+
injectString("hu-HU", "Remove condition", "T\xE1vol\xEDtsd el a felt\xE9telt.");
|
|
147
|
+
injectString("id", "Remove condition", "Hapus kondisi");
|
|
148
|
+
injectString("it", "Remove condition", "Rimuovere condizione");
|
|
149
|
+
injectString("ja", "Remove condition", "\u6761\u4EF6\u3092\u524A\u9664");
|
|
150
|
+
injectString("ko-KR", "Remove condition", "\uC870\uAC74 \uC81C\uAC70");
|
|
151
|
+
injectString("ms", "Remove condition", "Alih keluar syarat");
|
|
152
|
+
injectString("nb-NO", "Remove condition", "Fjern betingelse");
|
|
153
|
+
injectString("nl", "Remove condition", "Voorwaarde verwijderen");
|
|
154
|
+
injectString("pl", "Remove condition", "Usu\u0144 warunek");
|
|
155
|
+
injectString("pt-BR", "Remove condition", "Remover condi\xE7\xE3o");
|
|
156
|
+
injectString("sk-SK", "Remove condition", "Zru\u0161 podmienku.");
|
|
157
|
+
injectString("sv", "Remove condition", "Ta bort villkor");
|
|
158
|
+
injectString("th", "Remove condition", "\u0E25\u0E1A\u0E40\u0E07\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E02");
|
|
159
|
+
injectString("tr", "Remove condition", "Ko\u015Fulu kald\u0131r");
|
|
160
|
+
injectString("zh-Hans", "Remove condition", "\u5220\u9664\u6761\u4EF6");
|
|
161
|
+
injectString("zh-TW", "Remove condition", "\u79FB\u9664\u689D\u4EF6");
|
|
162
|
+
injectString("cs", "Select groups\u2026", "Vybrat skupiny\u2026");
|
|
163
|
+
injectString("da-DK", "Select groups\u2026", "V\xE6lg grupper...");
|
|
164
|
+
injectString("de", "Select groups\u2026", "Gruppen ausw\xE4hlen\xA0\u2026");
|
|
165
|
+
injectString("en", "Select groups\u2026", "Select groups\u2026");
|
|
166
|
+
injectString("es", "Select groups\u2026", "Seleccionar grupos\u2026");
|
|
167
|
+
injectString("fi-FI", "Select groups\u2026", "Valitse ryhm\xE4t...");
|
|
168
|
+
injectString("fr", "Select groups\u2026", "S\xE9lectionner des groupes\u2026");
|
|
169
|
+
injectString("fr-FR", "Select groups\u2026", "S\xE9lectionner les groupes...");
|
|
170
|
+
injectString("hu-HU", "Select groups\u2026", "V\xE1laszd ki a csoportokat\u2026");
|
|
171
|
+
injectString("id", "Select groups\u2026", "Pilih grup\u2026");
|
|
172
|
+
injectString("it", "Select groups\u2026", "Selezionare gruppi\u2026");
|
|
173
|
+
injectString("ja", "Select groups\u2026", "\u30B0\u30EB\u30FC\u30D7\u3092\u9078\u629E\u2026");
|
|
174
|
+
injectString("ko-KR", "Select groups\u2026", "\uADF8\uB8F9 \uC120\uD0DD\u2026");
|
|
175
|
+
injectString("ms", "Select groups\u2026", "Pilih kumpulan\u2026");
|
|
176
|
+
injectString("nb-NO", "Select groups\u2026", "Velg grupper...");
|
|
177
|
+
injectString("nl", "Select groups\u2026", "Groepen selecteren\u2026");
|
|
178
|
+
injectString("pl", "Select groups\u2026", "Wybierz grupy\u2026");
|
|
179
|
+
injectString("pt-BR", "Select groups\u2026", "Selecionar grupos\u2026");
|
|
180
|
+
injectString("sk-SK", "Select groups\u2026", "Vyber skupiny\u2026");
|
|
181
|
+
injectString("sv", "Select groups\u2026", "V\xE4lj grupper\u2026");
|
|
182
|
+
injectString("th", "Select groups\u2026", "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E01\u0E25\u0E38\u0E48\u0E21\u2026");
|
|
183
|
+
injectString("tr", "Select groups\u2026", "Gruplar\u0131 se\xE7\u2026");
|
|
184
|
+
injectString("zh-Hans", "Select groups\u2026", "\u9009\u62E9\u7EC4\u2026");
|
|
185
|
+
injectString("zh-TW", "Select groups\u2026", "\u9078\u53D6\u7FA4\u7D44...");
|
|
186
|
+
injectString("cs", "GroupCompanyId", "Skupina spole\u010Dnosti");
|
|
187
|
+
injectString("da-DK", "GroupCompanyId", "Virksomhedsgruppe");
|
|
188
|
+
injectString("de", "GroupCompanyId", "Unternehmensgruppe");
|
|
189
|
+
injectString("en", "GroupCompanyId", "Company group");
|
|
190
|
+
injectString("es", "GroupCompanyId", "Grupo Compa\xF1\xEDa");
|
|
191
|
+
injectString("fi-FI", "GroupCompanyId", "Yritysryhm\xE4");
|
|
192
|
+
injectString("fr", "GroupCompanyId", "Groupe Entreprise");
|
|
193
|
+
injectString("fr-FR", "GroupCompanyId", "Groupe Entreprise");
|
|
194
|
+
injectString("hu-HU", "GroupCompanyId", "V\xE1llalatcsoport");
|
|
195
|
+
injectString("id", "GroupCompanyId", "Grup perusahaan");
|
|
196
|
+
injectString("it", "GroupCompanyId", "Gruppo aziendale");
|
|
197
|
+
injectString("ja", "GroupCompanyId", "\u4F1A\u793E\u30B0\u30EB\u30FC\u30D7");
|
|
198
|
+
injectString("ko-KR", "GroupCompanyId", "\uD68C\uC0AC \uADF8\uB8F9");
|
|
199
|
+
injectString("ms", "GroupCompanyId", "Kumpulan syarikat");
|
|
200
|
+
injectString("nb-NO", "GroupCompanyId", "Selskapsgruppen");
|
|
201
|
+
injectString("nl", "GroupCompanyId", "Bedrijfsgroep");
|
|
202
|
+
injectString("pl", "GroupCompanyId", "Grupa firmy");
|
|
203
|
+
injectString("pt-BR", "GroupCompanyId", "Grupo da empresa");
|
|
204
|
+
injectString("sk-SK", "GroupCompanyId", "Skupina spolo\u010Dnost\xED");
|
|
205
|
+
injectString("sv", "GroupCompanyId", "F\xF6retagsgrupp");
|
|
206
|
+
injectString("th", "GroupCompanyId", "\u0E01\u0E25\u0E38\u0E48\u0E21\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17");
|
|
207
|
+
injectString("tr", "GroupCompanyId", "\u015Eirket grubu");
|
|
208
|
+
injectString("zh-Hans", "GroupCompanyId", "\u516C\u53F8\u7EC4");
|
|
209
|
+
injectString("zh-TW", "GroupCompanyId", "\u516C\u53F8\u7FA4\u7D44");
|
|
28
210
|
const react_1 = __importStar(require("react"));
|
|
29
211
|
const groupButton_1 = require("../groupButton/groupButton");
|
|
30
212
|
const groupsFilterInterfaces_1 = require("../groupsFilterRaw/groupsFilterInterfaces");
|
|
@@ -32,73 +214,156 @@ const advancedGroupsFilterSectionTooltip_1 = require("./advancedGroupsFilterSect
|
|
|
32
214
|
const dropdown_1 = require("../dropdown/dropdown");
|
|
33
215
|
const comboboxSelected_1 = require("../comboboxSelected/comboboxSelected");
|
|
34
216
|
const advancedGroupsFilterHelper_1 = require("./advancedGroupsFilterHelper");
|
|
35
|
-
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
36
217
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
37
218
|
const focusableSelector_1 = require("../utils/focusableSelector");
|
|
38
219
|
const useMobile_1 = require("../commonHelpers/hooks/useMobile");
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
220
|
+
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
221
|
+
const AdvancedGroupsFilterFormSection = ({
|
|
222
|
+
state,
|
|
223
|
+
interSectionRelation,
|
|
224
|
+
itemId,
|
|
225
|
+
onInterSectionChange,
|
|
226
|
+
onRelationChange,
|
|
227
|
+
onRemoveCondition,
|
|
228
|
+
onStateChange,
|
|
229
|
+
getData,
|
|
230
|
+
errorHandler,
|
|
231
|
+
dataItems,
|
|
232
|
+
isHasRemoveConditionButton,
|
|
233
|
+
isHasTooltip,
|
|
234
|
+
tooltipText
|
|
235
|
+
}) => {
|
|
236
|
+
const {
|
|
237
|
+
translate
|
|
238
|
+
} = (0, useLanguage_1.useLanguage)();
|
|
239
|
+
const inputItem = (0, react_1.useId)();
|
|
240
|
+
const isMobile = (0, useMobile_1.useMobile)();
|
|
241
|
+
const [currentSelection, setCurrentSelection] = react_1.default.useState((0, advancedGroupsFilterHelper_1.getCurrentSelectionFromIds)(state.items, dataItems).filter(el => el.id !== groupsHelper_1.ENTIRE_ORGANIZATION_GROUP_ID));
|
|
242
|
+
const isPrevEmptyComboItems = (0, react_1.useRef)(dataItems.length === 0);
|
|
243
|
+
const comboboxRef = (0, react_1.useRef)(null);
|
|
244
|
+
const pillBoxRef = (0, react_1.useRef)(null);
|
|
245
|
+
const handleInterSectionRelationChange = () => {
|
|
246
|
+
onInterSectionChange(itemId);
|
|
247
|
+
};
|
|
248
|
+
const handleFocusOnRemove = (0, react_1.useCallback)(newSelectedFirstItem => {
|
|
249
|
+
var _a, _b, _c;
|
|
250
|
+
if (newSelectedFirstItem) {
|
|
251
|
+
const pillBoxElement = (_a = pillBoxRef.current) === null || _a === void 0 ? void 0 : _a.querySelector(`.zen-pill-box__pill[data-id="${newSelectedFirstItem}"]`);
|
|
252
|
+
const focusable = pillBoxElement ? [...Array.from(pillBoxElement.querySelectorAll(focusableSelector_1.FOCUSABLE_SELECTOR))] : undefined;
|
|
253
|
+
(_b = focusable === null || focusable === void 0 ? void 0 : focusable[0]) === null || _b === void 0 ? void 0 : _b.focus();
|
|
254
|
+
} else {
|
|
255
|
+
const focusable = comboboxRef.current ? [...Array.from(comboboxRef.current.querySelectorAll(focusableSelector_1.FOCUSABLE_SELECTOR))] : undefined;
|
|
256
|
+
(_c = focusable === null || focusable === void 0 ? void 0 : focusable[0]) === null || _c === void 0 ? void 0 : _c.focus();
|
|
257
|
+
}
|
|
258
|
+
}, []);
|
|
259
|
+
const handleRelationChange = () => {
|
|
260
|
+
onRelationChange(itemId);
|
|
261
|
+
};
|
|
262
|
+
const handleRemove = item => {
|
|
263
|
+
const newValue = currentSelection.filter(el => el.id !== item);
|
|
264
|
+
setCurrentSelection(newValue);
|
|
265
|
+
const newValues = newValue.length ? newValue.map(el => el.id) : [];
|
|
266
|
+
onStateChange(itemId, newValues);
|
|
267
|
+
handleFocusOnRemove(newValues[0]);
|
|
268
|
+
};
|
|
269
|
+
const handleSelection = newSelection => {
|
|
270
|
+
setCurrentSelection(newSelection);
|
|
271
|
+
const newValues = newSelection.length ? newSelection.map(el => el.id) : [];
|
|
272
|
+
onStateChange(itemId, newValues);
|
|
273
|
+
};
|
|
274
|
+
(0, react_1.useEffect)(() => {
|
|
275
|
+
if (isPrevEmptyComboItems.current && dataItems.length > 0) {
|
|
276
|
+
isPrevEmptyComboItems.current = false;
|
|
277
|
+
setCurrentSelection((0, advancedGroupsFilterHelper_1.getCurrentSelectionFromIds)(state.items, dataItems));
|
|
278
|
+
}
|
|
279
|
+
}, [dataItems, state.items]);
|
|
280
|
+
return (0, jsx_runtime_1.jsxs)("li", {
|
|
281
|
+
className: "zen-advanced-groups-filter-form__section",
|
|
282
|
+
children: [interSectionRelation ? (0, jsx_runtime_1.jsx)("div", {
|
|
283
|
+
className: "zen-advanced-groups-filter-form__section",
|
|
284
|
+
children: (0, jsx_runtime_1.jsx)("div", {
|
|
285
|
+
className: "zen-advanced-groups-filter-form__inter-section-switcher",
|
|
286
|
+
children: (0, jsx_runtime_1.jsx)(groupButton_1.GroupButton, {
|
|
287
|
+
onChange: handleInterSectionRelationChange,
|
|
288
|
+
groupData: [{
|
|
289
|
+
name: translate("And"),
|
|
290
|
+
value: groupsFilterInterfaces_1.RelationOperator.AND,
|
|
291
|
+
selected: interSectionRelation === groupsFilterInterfaces_1.RelationOperator.AND
|
|
292
|
+
}, {
|
|
293
|
+
name: translate("Or"),
|
|
294
|
+
value: groupsFilterInterfaces_1.RelationOperator.OR,
|
|
295
|
+
selected: interSectionRelation === groupsFilterInterfaces_1.RelationOperator.OR
|
|
296
|
+
}]
|
|
297
|
+
})
|
|
298
|
+
})
|
|
299
|
+
}) : null, (0, jsx_runtime_1.jsxs)("div", {
|
|
300
|
+
className: "zen-advanced-groups-filter-form__main-section",
|
|
301
|
+
children: [(0, jsx_runtime_1.jsxs)("div", {
|
|
302
|
+
className: "zen-advanced-groups-filter-form__section-column zen-advanced-groups-filter-form__section-column--left",
|
|
303
|
+
children: [(0, jsx_runtime_1.jsxs)("div", {
|
|
304
|
+
className: "zen-advanced-groups-filter-form__section-label zen-advanced-groups-filter-form__operator-section",
|
|
305
|
+
children: [(0, jsx_runtime_1.jsx)("div", {
|
|
306
|
+
className: "zen-advanced-groups-filter-form__operator-label",
|
|
307
|
+
children: translate("Operator")
|
|
308
|
+
}), isHasTooltip && (0, jsx_runtime_1.jsx)(advancedGroupsFilterSectionTooltip_1.AdvancedGroupsFilterSectionTooltip, {
|
|
309
|
+
text: tooltipText
|
|
310
|
+
})]
|
|
311
|
+
}), (0, jsx_runtime_1.jsx)(groupButton_1.GroupButton, {
|
|
312
|
+
onChange: handleRelationChange,
|
|
313
|
+
groupData: [{
|
|
314
|
+
name: translate("And"),
|
|
315
|
+
value: groupsFilterInterfaces_1.RelationOperator.AND,
|
|
316
|
+
selected: state.relation === groupsFilterInterfaces_1.RelationOperator.AND
|
|
317
|
+
}, {
|
|
318
|
+
name: translate("Or"),
|
|
319
|
+
value: groupsFilterInterfaces_1.RelationOperator.OR,
|
|
320
|
+
selected: state.relation === groupsFilterInterfaces_1.RelationOperator.OR
|
|
321
|
+
}]
|
|
322
|
+
})]
|
|
323
|
+
}), (0, jsx_runtime_1.jsxs)("div", {
|
|
324
|
+
className: "zen-advanced-groups-filter-form__section-column zen-advanced-groups-filter-form__section-column--right",
|
|
325
|
+
children: [(0, jsx_runtime_1.jsx)("label", {
|
|
326
|
+
className: "zen-advanced-groups-filter-form__section-label",
|
|
327
|
+
children: translate("Groups")
|
|
328
|
+
}), isHasRemoveConditionButton && (0, jsx_runtime_1.jsx)("button", {
|
|
329
|
+
type: "button",
|
|
330
|
+
className: "zen-advanced-groups-filter-form__remove-button",
|
|
331
|
+
"data-item": itemId,
|
|
332
|
+
onClick: onRemoveCondition,
|
|
333
|
+
children: translate("Remove condition")
|
|
334
|
+
}), (0, jsx_runtime_1.jsxs)("div", {
|
|
335
|
+
className: "zen-advanced-groups-filter-form__combo-section",
|
|
336
|
+
children: [(0, jsx_runtime_1.jsx)("div", {
|
|
337
|
+
className: "zen-advanced-groups-filter-form__combo-box",
|
|
338
|
+
ref: comboboxRef,
|
|
339
|
+
children: (0, jsx_runtime_1.jsx)(dropdown_1.Dropdown, {
|
|
340
|
+
classNamePopup: "zen-advanced-groups-filter-form__popup",
|
|
341
|
+
getData: getData,
|
|
342
|
+
mobileSheetStackingClassName: isMobile ? "zen-advanced-groups-filter-form__mobile-sheet-stacking" : undefined,
|
|
343
|
+
errorHandler: errorHandler,
|
|
344
|
+
dataItems: dataItems,
|
|
345
|
+
onChange: handleSelection,
|
|
346
|
+
value: state.items.filter(el => el.id !== groupsHelper_1.ENTIRE_ORGANIZATION_GROUP_ID).map(el => el.id),
|
|
347
|
+
placeholder: translate("Select groups…"),
|
|
348
|
+
inputId: `${inputItem}-dropdown-${itemId}`,
|
|
349
|
+
showCounterPill: true
|
|
350
|
+
})
|
|
351
|
+
}), (0, jsx_runtime_1.jsx)("div", {
|
|
352
|
+
className: "zen-advanced-groups-filter-form__selected-box",
|
|
353
|
+
ref: pillBoxRef,
|
|
354
|
+
children: (0, jsx_runtime_1.jsx)(comboboxSelected_1.ComboboxSelected, {
|
|
355
|
+
selection: (0, advancedGroupsFilterHelper_1.getCurrentSelectionFromIds)(state.items, dataItems).map(el => ({
|
|
356
|
+
id: el.id,
|
|
357
|
+
name: el.name
|
|
358
|
+
})),
|
|
359
|
+
onRemove: handleRemove,
|
|
360
|
+
pillEmptyText: translate("GroupCompanyId")
|
|
361
|
+
})
|
|
362
|
+
})]
|
|
363
|
+
})]
|
|
364
|
+
})]
|
|
365
|
+
})]
|
|
366
|
+
});
|
|
90
367
|
};
|
|
91
368
|
exports.AdvancedGroupsFilterFormSection = AdvancedGroupsFilterFormSection;
|
|
92
|
-
exports.TRANSLATIONS = [
|
|
93
|
-
...advancedGroupsFilterSectionTooltip_1.TRANSLATIONS,
|
|
94
|
-
...dropdown_1.TRANSLATIONS,
|
|
95
|
-
...comboboxSelected_1.TRANSLATIONS,
|
|
96
|
-
"Operator",
|
|
97
|
-
"Information",
|
|
98
|
-
"Groups",
|
|
99
|
-
"Remove condition",
|
|
100
|
-
"Remove selection",
|
|
101
|
-
"Select groups…",
|
|
102
|
-
"And",
|
|
103
|
-
"Or"
|
|
104
|
-
];
|
|
369
|
+
exports.TRANSLATIONS = [...advancedGroupsFilterSectionTooltip_1.TRANSLATIONS, ...dropdown_1.TRANSLATIONS, ...comboboxSelected_1.TRANSLATIONS, "Operator", "Information", "Groups", "Remove condition", "Remove selection", "Select groups…", "And", "Or"];
|
|
@@ -7,7 +7,6 @@ interface IAdvancedGroupsFilterSectionTooltip {
|
|
|
7
7
|
size?: TooltipSize;
|
|
8
8
|
alignment?: TAlignment;
|
|
9
9
|
text?: string;
|
|
10
|
-
ariaLabel: string;
|
|
11
10
|
}
|
|
12
11
|
export declare const AdvancedGroupsFilterSectionTooltip: FC<IAdvancedGroupsFilterSectionTooltip>;
|
|
13
12
|
export declare const TRANSLATIONS: string[];
|
|
@@ -1,19 +1,93 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
injectString
|
|
5
|
+
} = require("../utils/localization/translationsDictionary");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
3
9
|
exports.TRANSLATIONS = exports.AdvancedGroupsFilterSectionTooltip = void 0;
|
|
4
10
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
11
|
const react_1 = require("react");
|
|
6
12
|
const tooltip_1 = require("../tooltip/tooltip");
|
|
13
|
+
injectString("cs", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "P\u0159i hled\xE1n\xED konkr\xE9tn\xED skupiny pou\u017Eijte v\xEDce oper\xE1tor\u016F. Nap\u0159\xEDklad p\u0159i filtrov\xE1n\xED prost\u0159edk\u016F, kter\xE9 spadaj\xED do skupiny Traktory, skupina Toronto zobraz\xED seznam traktor\u016F, kter\xE9 pat\u0159\xED do pobo\u010Dky v Torontu.");
|
|
14
|
+
injectString("da-DK", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Brug flere operatorer, n\xE5r du s\xF8ger efter en bestemt gruppe. Hvis du f.eks. filtrerer efter aktiver, der tilh\xF8rer gruppen Traktor og Toronto-gruppen, vises en liste over traktorer, der tilh\xF8rer Toronto-grenen.");
|
|
15
|
+
injectString("de", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Verwenden Sie mehrere Operatoren, wenn Sie nach einer bestimmten Gruppe suchen. Benutzen Sie beispielsweise bei der Suche nach Assets die Gruppenfilter \u201ETraktor\u201C und \u201EToronto\u201C, wird eine Liste mit allen Traktoren f\xFCr den Standort Toronto angezeigt.");
|
|
16
|
+
injectString("en", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Use multiple Operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.");
|
|
17
|
+
injectString("es", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Utilice varios operadores cuando busque un grupo espec\xEDfico. Por ejemplo, al fltrar por activos que pertenecen al grupo Tractor y al grupo Toronto se muestra una lista de tractores que pertenecen a la sucursal de Toronto.");
|
|
18
|
+
injectString("fi-FI", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "K\xE4yt\xE4 useita operaattoreita, kun etsit tietty\xE4 ryhm\xE4\xE4. Esimerkiksi traktoriryhm\xE4\xE4n ja Toronto-ryhm\xE4\xE4n kuuluvien varojen suodattaminen n\xE4ytt\xE4\xE4 luettelon traktoreista, jotka kuuluvat Toronto-sivuliikkeeseen.");
|
|
19
|
+
injectString("fr", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Utilisez plusieurs op\xE9rateurs lors de la recherche d\u2019un groupe sp\xE9cifique. Par exemple, le filtrage des actifs appartenant au groupe Tracteur et au groupe Toronto affiche une liste des tracteurs appartenant \xE0 la succursale de Toronto.");
|
|
20
|
+
injectString("fr-FR", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Utilisez plusieurs op\xE9rateurs lors de la recherche d\u2019un groupe sp\xE9cifique. Par exemple, filtrer des actifs appartenant au groupe Tracteurs et au groupe Toronto affiche une liste des tracteurs appartenant \xE0 la branche de Toronto.");
|
|
21
|
+
injectString("hu-HU", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Haszn\xE1lj t\xF6bb oper\xE1tort, amikor egy adott csoportot keresel. P\xE9ld\xE1ul, ha a Traktor \xE9s a Toront\xF3i csoporthoz tartoz\xF3 eszk\xF6z\xF6kre sz\u0171rsz, akkor a Toront\xF3i fi\xF3khoz tartoz\xF3 traktorok list\xE1ja jelenik meg.");
|
|
22
|
+
injectString("id", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Gunakan beberapa Operator saat mencari grup tertentu. Contohnya, memfilter aset yang termasuk dalam grup Traktor dan grup Toronto akan menampilkan daftar traktor yang termasuk dalam cabang Toronto.");
|
|
23
|
+
injectString("it", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Utilizzare pi\xF9 operatori durante la ricerca di un gruppo specifico. Ad esempio, filtrando per asset appartenenti al gruppo Trattore e Toronto, viene visualizzato un elenco di trattori appartenenti alla filiale di Toronto.");
|
|
24
|
+
injectString("ja", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "\u7279\u5B9A\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u691C\u7D22\u3059\u308B\u3068\u304D\u306F\u3001\u8907\u6570\u306E\u6F14\u7B97\u5B50\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u4F8B\u3048\u3070\u3001Tractor \u30B0\u30EB\u30FC\u30D7\u3068 Toronto \u30B0\u30EB\u30FC\u30D7\u306B\u5C5E\u3059\u308B\u30A2\u30BB\u30C3\u30C8\u3092\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u3059\u308B\u3068\u3001Toronto \u652F\u5E97\u306B\u5C5E\u3059\u308B\u30C8\u30E9\u30AF\u30BF\u30FC\u306E\u30EA\u30B9\u30C8\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002");
|
|
25
|
+
injectString("ko-KR", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "\uD2B9\uC815 \uADF8\uB8F9\uC744 \uAC80\uC0C9\uD560 \uB54C\uB294 \uC5EC\uB7EC \uC5F0\uC0B0\uC790\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4, \uD2B8\uB799\uD130 \uADF8\uB8F9\uACFC \uD1A0\uB860\uD1A0 \uADF8\uB8F9\uC5D0 \uC18D\uD55C \uC790\uC0B0\uC744 \uD544\uD130\uB9C1\uD558\uBA74 \uD1A0\uB860\uD1A0 \uC9C0\uC810\uC5D0 \uC18D\uD55C \uD2B8\uB799\uD130 \uBAA9\uB85D\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.");
|
|
26
|
+
injectString("ms", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Gunakan berbilang Operator apabila mencari kumpulan khusus. Contohnya, penyaringan untuk aset yang dimiliki kumpulan Traktor dan kumpulan Toronto memaparkan senarai traktor yang dimiliki oleh cawangan Toronto.");
|
|
27
|
+
injectString("nb-NO", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Bruk flere operat\xF8rer n\xE5r du s\xF8ker etter en bestemt gruppe. Hvis du for eksempel filtrerer for eiendeler som tilh\xF8rer traktorgruppen og Toronto-gruppen, vises en liste over traktorer som tilh\xF8rer Toronto-grenen.");
|
|
28
|
+
injectString("nl", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Gebruik meerdere opties bij het zoeken naar een specifieke groep. Als u bijvoorbeeld filtert op assets die behoren tot de tractorgroep en de Toronto-groep, wordt een lijst weergegeven met tractoren die tot de Toronto-tak behoren.");
|
|
29
|
+
injectString("pl", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "U\u017Cyj wielu operator\xF3w podczas wyszukiwania okre\u015Blonej grupy. Na przyk\u0142ad filtrowanie zasob\xF3w nale\u017C\u0105cych do grupy Ci\u0105gnik i grupy Toronto wy\u015Bwietla list\u0119 ci\u0105gnik\xF3w nale\u017C\u0105cych do oddzia\u0142u w Toronto.");
|
|
30
|
+
injectString("pt-BR", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Use v\xE1rios operadores para pesquisar um grupo espec\xEDfico. Por exemplo, a filtragem por ativos que pertencem ao grupo Tratores e ao grupo Toronto exibe uma lista de tratores que pertencem \xE0 divis\xE3o de Toronto.");
|
|
31
|
+
injectString("sk-SK", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Pri h\u013Eadan\xED konkr\xE9tnej skupiny pou\u017Ei viacero oper\xE1torov. Napr\xEDklad filtrovanie akt\xEDv, ktor\xE9 patria do skupiny Traktory a skupiny Toronto, zobraz\xED zoznam traktorov, ktor\xE9 patria do pobo\u010Dky Toronto.");
|
|
32
|
+
injectString("sv", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Anv\xE4nd flera operat\xF6rer n\xE4r du s\xF6ker efter en viss grupp. Om du till exempel filtrerar efter tillg\xE5ngar som tillh\xF6r gruppen \"Dragbilar\" och gruppen \"Toronto\" visas en lista med dragbilar som tillh\xF6r lokalkontoret i Toronto.");
|
|
33
|
+
injectString("th", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "\u0E43\u0E0A\u0E49\u0E15\u0E31\u0E27\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E2B\u0E25\u0E32\u0E22\u0E15\u0E31\u0E27\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E01\u0E25\u0E38\u0E48\u0E21\u0E40\u0E09\u0E1E\u0E32\u0E30 \u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E40\u0E0A\u0E48\u0E19 \u0E01\u0E32\u0E23\u0E01\u0E23\u0E2D\u0E07\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2A\u0E34\u0E19\u0E17\u0E23\u0E31\u0E1E\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E23\u0E16\u0E41\u0E17\u0E23\u0E01\u0E40\u0E15\u0E2D\u0E23\u0E4C\u0E41\u0E25\u0E30\u0E01\u0E25\u0E38\u0E48\u0E21\u0E42\u0E17\u0E23\u0E2D\u0E19\u0E42\u0E15\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E23\u0E16\u0E41\u0E17\u0E23\u0E01\u0E40\u0E15\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E2A\u0E32\u0E02\u0E32\u0E42\u0E17\u0E23\u0E2D\u0E19\u0E42\u0E15");
|
|
34
|
+
injectString("tr", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "Belirli bir grubu ararken birden \xE7ok operat\xF6r kullan\u0131n. \xD6rne\u011Fin, Trakt\xF6r grubuna ve Toronto grubuna ait varl\u0131klar i\xE7in filtreleme yap\u0131l\u0131rken Toronto \u015Fubesine ait trakt\xF6rlerin listesi g\xF6r\xFCnt\xFClenir.");
|
|
35
|
+
injectString("zh-Hans", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "\u641C\u7D22\u7279\u5B9A\u7EC4\u65F6\uFF0C\u53EF\u4EE5\u4F7F\u7528\u591A\u4E2A\u8FD0\u7B97\u7B26\u3002\u4F8B\u5982\uFF0C\u7B5B\u9009\u5C5E\u4E8E\u201C\u7275\u5F15\u8F66\u201D\u7EC4\u548C\u201C\u591A\u4F26\u591A\u201D\u7EC4\u7684\u8D44\u4EA7\uFF0C\u5C31\u4F1A\u663E\u793A\u5C5E\u4E8E\u591A\u4F26\u591A\u5206\u652F\u7684\u7275\u5F15\u8F66\u5217\u8868\u3002");
|
|
36
|
+
injectString("zh-TW", "Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.", "\u641C\u5C0B\u7279\u5B9A\u7FA4\u7D44\u6642\uFF0C\u8ACB\u4F7F\u7528\u591A\u500B\u904B\u7B97\u5B50\u3002\u4F8B\u5982\uFF0C\u82E5\u7BE9\u9078\u5C6C\u65BC\u727D\u5F15\u6A5F\u7FA4\u7D44\u548C\u591A\u502B\u591A\u7FA4\u7D44\u7684\u8CC7\u7522\uFF0C\u5247\u6703\u986F\u793A\u5C6C\u65BC\u591A\u502B\u591A\u5206\u516C\u53F8\u7684\u727D\u5F15\u6A5F\u6E05\u55AE\u3002");
|
|
37
|
+
injectString("cs", "Information", "Informace");
|
|
38
|
+
injectString("da-DK", "Information", "Information");
|
|
39
|
+
injectString("de", "Information", "Information");
|
|
40
|
+
injectString("en", "Information", "Information");
|
|
41
|
+
injectString("es", "Information", "Informaci\xF3n");
|
|
42
|
+
injectString("fi-FI", "Information", "Tiedot");
|
|
43
|
+
injectString("fr", "Information", "Renseignements");
|
|
44
|
+
injectString("fr-FR", "Information", "Informations");
|
|
45
|
+
injectString("hu-HU", "Information", "Inform\xE1ci\xF3");
|
|
46
|
+
injectString("id", "Information", "Informasi");
|
|
47
|
+
injectString("it", "Information", "Informazioni");
|
|
48
|
+
injectString("ja", "Information", "\u60C5\u5831");
|
|
49
|
+
injectString("ko-KR", "Information", "\uC815\uBCF4");
|
|
50
|
+
injectString("ms", "Information", "Maklumat");
|
|
51
|
+
injectString("nb-NO", "Information", "Informasjon");
|
|
52
|
+
injectString("nl", "Information", "Informatie");
|
|
53
|
+
injectString("pl", "Information", "Informacje");
|
|
54
|
+
injectString("pt-BR", "Information", "Informa\xE7\xF5es");
|
|
55
|
+
injectString("sk-SK", "Information", "Inform\xE1cie");
|
|
56
|
+
injectString("sv", "Information", "Information");
|
|
57
|
+
injectString("th", "Information", "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25");
|
|
58
|
+
injectString("tr", "Information", "Bilgi");
|
|
59
|
+
injectString("zh-Hans", "Information", "\u4FE1\u606F");
|
|
60
|
+
injectString("zh-TW", "Information", "\u8CC7\u8A0A");
|
|
7
61
|
const iconInfoCircle_1 = require("../icons/iconInfoCircle");
|
|
8
62
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
9
63
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
10
|
-
const AdvancedGroupsFilterSectionTooltip = ({
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
64
|
+
const AdvancedGroupsFilterSectionTooltip = ({
|
|
65
|
+
className = "",
|
|
66
|
+
size = "auto",
|
|
67
|
+
alignment = "top",
|
|
68
|
+
text
|
|
69
|
+
}) => {
|
|
70
|
+
const {
|
|
71
|
+
translate
|
|
72
|
+
} = (0, useLanguage_1.useLanguage)();
|
|
73
|
+
const triggerRef = (0, react_1.useRef)(null);
|
|
74
|
+
const defaultTooltipText = translate("Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch.");
|
|
75
|
+
return (0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, {
|
|
76
|
+
className: (0, classNames_1.classNames)(["zen-advanced-groups-filter-section-tooltip__item", className || ""]),
|
|
77
|
+
size: size,
|
|
78
|
+
alignment: alignment,
|
|
79
|
+
trigger: (0, jsx_runtime_1.jsx)("button", {
|
|
80
|
+
type: "button",
|
|
81
|
+
"aria-label": translate("Information"),
|
|
82
|
+
className: "zen-advanced-groups-filter-section-tooltip__trigger",
|
|
83
|
+
ref: triggerRef,
|
|
84
|
+
children: (0, jsx_runtime_1.jsx)(iconInfoCircle_1.IconInfoCircle, {
|
|
85
|
+
className: "zen-advanced-groups-filter-section-tooltip__trigger-icon",
|
|
86
|
+
size: "large"
|
|
87
|
+
})
|
|
88
|
+
}),
|
|
89
|
+
children: text || defaultTooltipText
|
|
90
|
+
});
|
|
15
91
|
};
|
|
16
92
|
exports.AdvancedGroupsFilterSectionTooltip = AdvancedGroupsFilterSectionTooltip;
|
|
17
|
-
exports.TRANSLATIONS = [
|
|
18
|
-
"Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch."
|
|
19
|
-
];
|
|
93
|
+
exports.TRANSLATIONS = ["Use multiple operators when searching for a specific group. For example, filtering for assets that belong to the Tractor group and the Toronto group displays a list of tractors that belong to the Toronto branch."];
|