@geotab/zenith 3.13.1 → 3.14.0-beta.1
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 +13 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +29 -29
- package/dist/calendar/calendar.js +1 -1
- package/dist/chart/lineChart/getDefaultOptions.js +7 -2
- package/dist/chart/lineChart/useSummary.d.ts +2 -1
- package/dist/columnsSelector/columnsSelector.js +1 -1
- package/dist/commonHelpers/arrowNavigation/arrowNavigationHelper.d.ts +1 -1
- package/dist/commonHelpers/arrowNavigation/arrowNavigationHelper.js +29 -12
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.d.ts +2 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +2 -2
- package/dist/commonHelpers/arrowNavigation/hooks/useManualScrolling.js +4 -2
- package/dist/commonHelpers/arrowNavigation/hooks/useScrollWhileHolding.js +12 -3
- package/dist/commonHelpers/arrowNavigation/hooks/useScrolling.js +18 -6
- package/dist/commonStyles/caption/caption.less +3 -5
- package/dist/commonStyles/colors/colors.less +4 -19
- package/dist/commonStyles/columnsList.less +1 -0
- package/dist/commonStyles/common.less +1 -2
- package/dist/commonStyles/ellipsis.less +1 -1
- package/dist/commonStyles/fonts/roboto.less +7 -7
- package/dist/commonStyles/link/link.less +1 -1
- package/dist/commonStyles/notSelectable.less +0 -4
- package/dist/commonStyles/pillStyles/pillContent.less +6 -2
- package/dist/commonStyles/pillStyles/pillStyles.less +1 -1
- package/dist/commonStyles/pillStyles/pillTextContent.less +3 -0
- package/dist/commonStyles/pillStyles/pillTypes.less +10 -0
- package/dist/commonStyles/rangeFieldMixin.less +3 -6
- package/dist/commonStyles/shadows/shadows.less +3 -3
- package/dist/commonStyles/typography/typography.less +4 -4
- package/dist/dataFeed/dataFeed.js +28 -2
- package/dist/dataGrid/columns/actionsColumn/actionsButton.js +1 -1
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +1 -1
- package/dist/dataGrid/withSelectableRows/withSelectableRows.js +1 -1
- package/dist/dateInputInner/dateInputInnerControlBlock.js +57 -57
- package/dist/divider/divider.js +1 -1
- package/dist/dropdownRaw/dropdownRaw.js +1 -1
- package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.js +1 -1
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +31 -31
- package/dist/filtersBar/filtersContainer/filtersContainer.js +16 -5
- package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/dist/header/header.js +1 -1
- package/dist/header/headerMenu.js +1 -1
- package/dist/index.css +409 -502
- package/dist/list/itemData/itemDataInternal.js +1 -1
- package/dist/list/listItem/listItem.js +1 -1
- package/dist/menu/menu.js +1 -1
- package/dist/nav/navAddMenu/navAddMenu.js +1 -1
- package/dist/nav/navFooter/navFooter.js +4 -4
- package/dist/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/dist/nav/navHeader/navHeader.js +1 -1
- package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +1 -1
- package/dist/nav/navItem/navItem.js +2 -2
- package/dist/rangeRaw/rangeRaw.js +1 -1
- package/dist/rangeRaw/utils/rangeHelper.js +28 -28
- package/dist/sortControl/sortControl.js +1 -1
- package/dist/summary/summary.d.ts +3 -2
- package/dist/summary/summary.js +6 -2
- package/dist/summaryTileBar/summaryTileBar.js +3 -1
- package/dist/table/actions/actionsMenu.js +2 -2
- package/dist/table/flexible/columnsPopup.js +1 -1
- package/dist/table/table.js +5 -7
- package/dist/tabs/tabs.js +16 -5
- package/dist/toolbar/helpers/getWidthWithMargin.js +2 -2
- package/dist/tooltip/helpers/calculateArrowPosition.js +1 -7
- package/dist/tooltip/tooltip.js +7 -5
- package/dist/utils/localization/translations/ar.json +7 -7
- package/dist/utils/localization/translations/cs.json +7 -7
- package/dist/utils/localization/translations/da-DK.json +7 -7
- package/dist/utils/localization/translations/de.json +7 -7
- package/dist/utils/localization/translations/en.json +7 -7
- package/dist/utils/localization/translations/es.json +7 -7
- package/dist/utils/localization/translations/fi-FI.json +7 -7
- package/dist/utils/localization/translations/fr-FR.json +7 -7
- package/dist/utils/localization/translations/fr.json +7 -7
- package/dist/utils/localization/translations/hu-HU.json +7 -7
- package/dist/utils/localization/translations/id.json +7 -7
- package/dist/utils/localization/translations/it.json +7 -7
- package/dist/utils/localization/translations/ja.json +7 -7
- package/dist/utils/localization/translations/ko-KR.json +7 -7
- package/dist/utils/localization/translations/ms.json +7 -7
- package/dist/utils/localization/translations/nb-NO.json +7 -7
- package/dist/utils/localization/translations/nl.json +7 -7
- package/dist/utils/localization/translations/pl.json +7 -7
- package/dist/utils/localization/translations/pt-BR.json +7 -7
- package/dist/utils/localization/translations/pt-PT.json +7 -7
- package/dist/utils/localization/translations/ro-RO.json +7 -7
- package/dist/utils/localization/translations/sk-SK.json +7 -7
- package/dist/utils/localization/translations/sv.json +7 -7
- package/dist/utils/localization/translations/th.json +7 -7
- package/dist/utils/localization/translations/tr.json +7 -7
- package/dist/utils/localization/translations/zh-Hans.json +7 -7
- package/dist/utils/localization/translations/zh-TW.json +7 -7
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +29 -29
- package/esm/calendar/calendar.js +1 -1
- package/esm/chart/lineChart/getDefaultOptions.js +7 -2
- package/esm/chart/lineChart/useSummary.d.ts +2 -1
- package/esm/columnsSelector/columnsSelector.js +1 -1
- package/esm/commonHelpers/arrowNavigation/arrowNavigationHelper.d.ts +1 -1
- package/esm/commonHelpers/arrowNavigation/arrowNavigationHelper.js +29 -12
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.d.ts +2 -1
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +2 -2
- package/esm/commonHelpers/arrowNavigation/hooks/useManualScrolling.js +4 -2
- package/esm/commonHelpers/arrowNavigation/hooks/useScrollWhileHolding.js +12 -3
- package/esm/commonHelpers/arrowNavigation/hooks/useScrolling.js +18 -6
- package/esm/dataFeed/dataFeed.js +28 -2
- package/esm/dataGrid/columns/actionsColumn/actionsButton.js +1 -1
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +1 -1
- package/esm/dataGrid/withSelectableRows/withSelectableRows.js +1 -1
- package/esm/dateInputInner/dateInputInnerControlBlock.js +57 -57
- package/esm/divider/divider.js +1 -1
- package/esm/dropdownRaw/dropdownRaw.js +1 -1
- package/esm/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.js +1 -1
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +31 -31
- package/esm/filtersBar/filtersContainer/filtersContainer.js +16 -5
- package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/esm/header/header.js +1 -1
- package/esm/header/headerMenu.js +1 -1
- package/esm/list/itemData/itemDataInternal.js +1 -1
- package/esm/list/listItem/listItem.js +1 -1
- package/esm/menu/menu.js +1 -1
- package/esm/nav/navAddMenu/navAddMenu.js +1 -1
- package/esm/nav/navFooter/navFooter.js +4 -4
- package/esm/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/esm/nav/navHeader/navHeader.js +1 -1
- package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +1 -1
- package/esm/nav/navItem/navItem.js +2 -2
- package/esm/rangeRaw/rangeRaw.js +1 -1
- package/esm/rangeRaw/utils/rangeHelper.js +28 -28
- package/esm/sortControl/sortControl.js +1 -1
- package/esm/summary/summary.d.ts +3 -2
- package/esm/summary/summary.js +6 -2
- package/esm/summaryTileBar/summaryTileBar.js +3 -1
- package/esm/table/actions/actionsMenu.js +2 -2
- package/esm/table/flexible/columnsPopup.js +1 -1
- package/esm/table/table.js +5 -7
- package/esm/tabs/tabs.js +16 -5
- package/esm/toolbar/helpers/getWidthWithMargin.js +2 -2
- package/esm/tooltip/helpers/calculateArrowPosition.js +1 -7
- package/esm/tooltip/tooltip.js +7 -5
- package/esm/utils/localization/translations/ar.json +7 -7
- package/esm/utils/localization/translations/cs.json +7 -7
- package/esm/utils/localization/translations/da-DK.json +7 -7
- package/esm/utils/localization/translations/de.json +7 -7
- package/esm/utils/localization/translations/en.json +7 -7
- package/esm/utils/localization/translations/es.json +7 -7
- package/esm/utils/localization/translations/fi-FI.json +7 -7
- package/esm/utils/localization/translations/fr-FR.json +7 -7
- package/esm/utils/localization/translations/fr.json +7 -7
- package/esm/utils/localization/translations/hu-HU.json +7 -7
- package/esm/utils/localization/translations/id.json +7 -7
- package/esm/utils/localization/translations/it.json +7 -7
- package/esm/utils/localization/translations/ja.json +7 -7
- package/esm/utils/localization/translations/ko-KR.json +7 -7
- package/esm/utils/localization/translations/ms.json +7 -7
- package/esm/utils/localization/translations/nb-NO.json +7 -7
- package/esm/utils/localization/translations/nl.json +7 -7
- package/esm/utils/localization/translations/pl.json +7 -7
- package/esm/utils/localization/translations/pt-BR.json +7 -7
- package/esm/utils/localization/translations/pt-PT.json +7 -7
- package/esm/utils/localization/translations/ro-RO.json +7 -7
- package/esm/utils/localization/translations/sk-SK.json +7 -7
- package/esm/utils/localization/translations/sv.json +7 -7
- package/esm/utils/localization/translations/th.json +7 -7
- package/esm/utils/localization/translations/tr.json +7 -7
- package/esm/utils/localization/translations/zh-Hans.json +7 -7
- package/esm/utils/localization/translations/zh-TW.json +7 -7
- package/package.json +10 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: Roboto;
|
|
3
3
|
font-style: normal;
|
|
4
4
|
font-weight: 300;
|
|
5
5
|
src:
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@font-face {
|
|
11
|
-
font-family:
|
|
11
|
+
font-family: Roboto;
|
|
12
12
|
font-style: normal;
|
|
13
13
|
font-weight: 400;
|
|
14
14
|
src:
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@font-face {
|
|
20
|
-
font-family:
|
|
20
|
+
font-family: Roboto;
|
|
21
21
|
font-style: normal;
|
|
22
22
|
font-weight: 500;
|
|
23
23
|
src:
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@font-face {
|
|
29
|
-
font-family:
|
|
29
|
+
font-family: Roboto;
|
|
30
30
|
font-style: normal;
|
|
31
31
|
font-weight: 700;
|
|
32
32
|
src:
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@font-face {
|
|
38
|
-
font-family:
|
|
38
|
+
font-family: Roboto;
|
|
39
39
|
font-style: italic;
|
|
40
40
|
font-weight: 300;
|
|
41
41
|
src:
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
@font-face {
|
|
47
|
-
font-family:
|
|
47
|
+
font-family: Roboto;
|
|
48
48
|
font-style: italic;
|
|
49
49
|
font-weight: 400;
|
|
50
50
|
src:
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
@font-face {
|
|
56
|
-
font-family:
|
|
56
|
+
font-family: Roboto;
|
|
57
57
|
font-style: italic;
|
|
58
58
|
font-weight: 700;
|
|
59
59
|
src:
|
|
@@ -10,14 +10,12 @@
|
|
|
10
10
|
@pill-height--mobile: 34px;
|
|
11
11
|
|
|
12
12
|
.zen-body-s-400();
|
|
13
|
-
display: flex;
|
|
14
13
|
align-items: center;
|
|
15
14
|
justify-content: space-between;
|
|
16
15
|
border-radius: (30 / @rem);
|
|
17
16
|
height: @pill-height;
|
|
18
17
|
display: grid;
|
|
19
18
|
grid-auto-flow: column;
|
|
20
|
-
|
|
21
19
|
gap: (8 / @rem);
|
|
22
20
|
|
|
23
21
|
&--icon-left {
|
|
@@ -44,9 +42,11 @@
|
|
|
44
42
|
&--hidden {
|
|
45
43
|
gap: (4 / @rem);
|
|
46
44
|
}
|
|
45
|
+
|
|
47
46
|
&.zen-pill-new-content--drive,
|
|
48
47
|
&.zen-pill-new-content--drive-tablet {
|
|
49
48
|
height: @pill-height--drive;
|
|
49
|
+
|
|
50
50
|
.zen-pill-non-actionable__icon {
|
|
51
51
|
min-width: (16 / @rem);
|
|
52
52
|
max-width: 16px;
|
|
@@ -70,9 +70,11 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
+
|
|
73
74
|
&.zen-pill-new-content--mobile {
|
|
74
75
|
height: @pill-height--mobile;
|
|
75
76
|
.zen-body-m-400-short();
|
|
77
|
+
|
|
76
78
|
.zen-pill-non-actionable__icon {
|
|
77
79
|
min-width: (16 / @rem);
|
|
78
80
|
max-width: 16px;
|
|
@@ -96,9 +98,11 @@
|
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
}
|
|
101
|
+
|
|
99
102
|
&.zen-pill-new-content--drive {
|
|
100
103
|
.zen-body-s-400-drive();
|
|
101
104
|
}
|
|
105
|
+
|
|
102
106
|
&.zen-pill-new-content--drive-tablet {
|
|
103
107
|
.zen-body-s-400-drive();
|
|
104
108
|
}
|
|
@@ -7,13 +7,16 @@
|
|
|
7
7
|
&--hidden {
|
|
8
8
|
visibility: hidden;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
&.zen-pill-text-content--drive,
|
|
11
12
|
&.zen-pill-text-content--drive-tablet {
|
|
12
13
|
height: 20px;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
&.zen-pill-text-content--drive {
|
|
15
17
|
.zen-body-s-400-drive();
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
&.zen-pill-text-content--drive-tablet {
|
|
18
21
|
.zen-body-s-400-drive();
|
|
19
22
|
}
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
background: var(--backgrounds-content-1);
|
|
6
6
|
color: var(--text-primary);
|
|
7
7
|
fill: var(--text-primary);
|
|
8
|
+
|
|
8
9
|
.zen-pill-non-actionable__close-button {
|
|
9
10
|
fill: var(--text-primary);
|
|
11
|
+
|
|
10
12
|
&:active .zen-pill-non-actionable__close-icon,
|
|
11
13
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
12
14
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -21,8 +23,10 @@
|
|
|
21
23
|
color: var(--accents-success--detail);
|
|
22
24
|
background-color: var(--accents-success--main);
|
|
23
25
|
fill: var(--accents-success--detail);
|
|
26
|
+
|
|
24
27
|
.zen-pill-non-actionable__close-button {
|
|
25
28
|
fill: var(--accents-success--detail);
|
|
29
|
+
|
|
26
30
|
&:active .zen-pill-non-actionable__close-icon,
|
|
27
31
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
28
32
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -37,8 +41,10 @@
|
|
|
37
41
|
background-color: var(--accents-error--main);
|
|
38
42
|
color: var(--accents-error--detail);
|
|
39
43
|
fill: var(--accents-error--detail);
|
|
44
|
+
|
|
40
45
|
.zen-pill-non-actionable__close-button {
|
|
41
46
|
fill: var(--accents-error--detail);
|
|
47
|
+
|
|
42
48
|
&:active .zen-pill-non-actionable__close-icon,
|
|
43
49
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
44
50
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -53,8 +59,10 @@
|
|
|
53
59
|
background-color: var(--accents-warning--main);
|
|
54
60
|
color: var(--accents-warning--detail);
|
|
55
61
|
fill: var(--accents-warning--detail);
|
|
62
|
+
|
|
56
63
|
.zen-pill-non-actionable__close-button {
|
|
57
64
|
fill: var(--accents-warning--detail);
|
|
65
|
+
|
|
58
66
|
&:active .zen-pill-non-actionable__close-icon,
|
|
59
67
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
60
68
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -69,8 +77,10 @@
|
|
|
69
77
|
background-color: var(--accents-general--main);
|
|
70
78
|
color: var(--accents-general--detail);
|
|
71
79
|
fill: var(--accents-general--detail);
|
|
80
|
+
|
|
72
81
|
.zen-pill-non-actionable__close-button {
|
|
73
82
|
fill: var(--accents-general--detail);
|
|
83
|
+
|
|
74
84
|
&:active .zen-pill-non-actionable__close-icon,
|
|
75
85
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
76
86
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
grid-template-columns: minmax(min-content, auto) minmax(auto, 168px) minmax(0, auto);
|
|
4
4
|
grid-template-rows: auto auto;
|
|
5
5
|
gap: (4 / @rem) (8 / @rem);
|
|
6
|
-
|
|
7
|
-
justify-items: start;
|
|
6
|
+
place-items: center start;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
.zen-range-field-wrapper-row {
|
|
11
10
|
display: grid;
|
|
12
|
-
|
|
13
|
-
justify-items: start;
|
|
11
|
+
place-items: center start;
|
|
14
12
|
grid-template-columns:
|
|
15
13
|
minmax((24 / @rem), (32 / @rem))
|
|
16
14
|
minmax((64 / @rem), (64 / @rem))
|
|
@@ -18,6 +16,5 @@
|
|
|
18
16
|
minmax((24 / @rem), (32 / @rem))
|
|
19
17
|
minmax((64 / @rem), (64 / @rem))
|
|
20
18
|
minmax((24 / @rem), (32 / @rem));
|
|
21
|
-
|
|
22
|
-
column-gap: (8 / @rem);
|
|
19
|
+
gap: (4 / @rem) (8 / @rem);
|
|
23
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.zen-shadow-dropdown-default {
|
|
2
|
-
box-shadow:
|
|
2
|
+
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.zen-card-shadow {
|
|
6
|
-
box-shadow:
|
|
6
|
+
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.zen-chip-shadow {
|
|
10
|
-
box-shadow:
|
|
10
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
|
|
11
11
|
}
|
|
@@ -548,10 +548,10 @@
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
:root {
|
|
551
|
-
--main-font:
|
|
552
|
-
--main-font-data: "Roboto Mono", "Segoe UI",
|
|
553
|
-
--data-font-drive: "Roboto Mono", "Segoe UI",
|
|
554
|
-
--arabic-font-family: "Noto Sans Arabic",
|
|
551
|
+
--main-font: roboto, "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
552
|
+
--main-font-data: "Roboto Mono", "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
553
|
+
--data-font-drive: "Roboto Mono", "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
554
|
+
--arabic-font-family: "Noto Sans Arabic", roboto, "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
// Labels
|
|
@@ -33,8 +33,13 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
33
33
|
const { collapsedColumnsQty = 0, onFeedEnd, visibleColumns } = options;
|
|
34
34
|
const feedRef = (0, react_1.useRef)(null);
|
|
35
35
|
const lazyRenderTimerRef = (0, react_1.useRef)(0);
|
|
36
|
+
const feedEndFiredRef = (0, react_1.useRef)(false);
|
|
37
|
+
const prevEntitiesRef = (0, react_1.useRef)(entities);
|
|
36
38
|
(0, react_1.useEffect)(() => {
|
|
37
39
|
setPages(1);
|
|
40
|
+
// Re-arm the once-per-approach guard on a paginated reload (activePage change); in-place
|
|
41
|
+
// entity-list changes re-arm via the entities effect below.
|
|
42
|
+
feedEndFiredRef.current = false;
|
|
38
43
|
if (feedRef.current) {
|
|
39
44
|
feedRef.current.scrollTop = 0;
|
|
40
45
|
}
|
|
@@ -82,11 +87,21 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
82
87
|
newVisibleRows.forEach(row => newRowsSet.add(row));
|
|
83
88
|
setVisibleRows(newRowsSet);
|
|
84
89
|
}
|
|
85
|
-
|
|
90
|
+
const closeToTheEnd = checkCloseToTheEnd(feedRef.current);
|
|
91
|
+
if (visibleRows.size && closeToTheEnd) {
|
|
86
92
|
if (entities.length > data.length) {
|
|
87
93
|
setPages(pages + 1);
|
|
88
94
|
}
|
|
89
|
-
onFeedEnd
|
|
95
|
+
// Fire onFeedEnd once per approach to the bottom (re-armed below once scrolled out),
|
|
96
|
+
// matching DataGrid.onScrollEnd. Without the guard the consumer is called on every
|
|
97
|
+
// animation frame near the bottom and has to debounce it itself.
|
|
98
|
+
if (!feedEndFiredRef.current) {
|
|
99
|
+
feedEndFiredRef.current = true;
|
|
100
|
+
onFeedEnd && onFeedEnd();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
else if (!closeToTheEnd) {
|
|
104
|
+
feedEndFiredRef.current = false;
|
|
90
105
|
}
|
|
91
106
|
});
|
|
92
107
|
}, [itemsMap, visibleRows, setVisibleRows, onFeedEnd, pages, setPages, entities, data.length]);
|
|
@@ -95,6 +110,17 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
95
110
|
(_a = zen_1.zen.cancelAnimationFrame) === null || _a === void 0 ? void 0 : _a.call(zen_1.zen, lazyRenderTimerRef.current);
|
|
96
111
|
lazyRenderTimerRef.current = scheduleVisibleChanges();
|
|
97
112
|
}, [scheduleVisibleChanges]);
|
|
113
|
+
(0, react_1.useEffect)(() => {
|
|
114
|
+
// An entity-list change (in-place filter/sort swap, or appended rows) re-arms the once-per-approach
|
|
115
|
+
// guard and re-checks fit, so a short result set still requests the next page and a stale guard
|
|
116
|
+
// can't suppress the next fire. Keyed on `entities`, not the internal `data` slice, so progressive
|
|
117
|
+
// `setPages` reveals don't reset the guard and cause repeat fires.
|
|
118
|
+
if (prevEntitiesRef.current !== entities) {
|
|
119
|
+
prevEntitiesRef.current = entities;
|
|
120
|
+
feedEndFiredRef.current = false;
|
|
121
|
+
scheduleLazyRender();
|
|
122
|
+
}
|
|
123
|
+
}, [entities, scheduleLazyRender]);
|
|
98
124
|
const handleScroll = (0, react_1.useCallback)(() => {
|
|
99
125
|
scheduleLazyRender();
|
|
100
126
|
}, [scheduleLazyRender]);
|
|
@@ -37,6 +37,6 @@ function ActionsButton({ action, entity }) {
|
|
|
37
37
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(actionsColumnCell_1.ActionColumnCell, { ref: buttonRef, tag: action.createLink !== undefined ? "a" : "button", hash: action.id, title: action.createTitle(entity), href: action.createLink !== undefined ? action.createLink(entity) : undefined, icon: action.icon, onClick: e => {
|
|
38
38
|
setIsMenuOpen(!isMenuOpen);
|
|
39
39
|
action.handler && action.handler(entity, e.target);
|
|
40
|
-
} }, action.id), items.length ? ((0, jsx_runtime_1.jsx)(controlledMenu_1.ControlledMenu, { triggerRef: buttonRef, alignment: "bottom-
|
|
40
|
+
} }, action.id), items.length ? ((0, jsx_runtime_1.jsx)(controlledMenu_1.ControlledMenu, { triggerRef: buttonRef, alignment: "bottom-end", isOpen: isMenuOpen, setIsOpen: setIsMenuOpen, title: action.createTitle(entity), children: items }, entityId + "-" + action.id + "-menu")) : null] }));
|
|
41
41
|
}
|
|
42
42
|
exports.ActionsButton = ActionsButton;
|
|
@@ -220,7 +220,7 @@ const withFlexibleColumns = DataGridComponent => {
|
|
|
220
220
|
}) : (0, jsx_runtime_1.jsx)(popup_1.Popup, {
|
|
221
221
|
ariaLabel: translate("Select visible columns"),
|
|
222
222
|
triggerRef: popupTriggerRef,
|
|
223
|
-
alignment: "bottom-
|
|
223
|
+
alignment: "bottom-end",
|
|
224
224
|
children: (0, jsx_runtime_1.jsx)(columnSettings_1.ColumnSettings, {
|
|
225
225
|
onReset: onResetListener,
|
|
226
226
|
children: listOfColumns
|
|
@@ -294,7 +294,7 @@ const withSelectableRows = DataGridComponent => {
|
|
|
294
294
|
triggerRef: selectMenuRef,
|
|
295
295
|
isOpen: isOpen,
|
|
296
296
|
onOpenChange: setIsOpen,
|
|
297
|
-
alignment: "bottom-
|
|
297
|
+
alignment: "bottom-start",
|
|
298
298
|
children: (0, jsx_runtime_1.jsx)(selectList_1.SelectList, {
|
|
299
299
|
id: selectId,
|
|
300
300
|
title: translate("Select menu"),
|
|
@@ -14,60 +14,60 @@ const timePicker_1 = require("../timePicker/timePicker");
|
|
|
14
14
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
15
15
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
16
16
|
const formFieldError_1 = require("../formFieldError/formFieldError");
|
|
17
|
-
injectString("cs", "The time must be set", "Je t\u0159eba nastavit \u010Das.");
|
|
18
|
-
injectString("da-DK", "The time must be set", "Tiden skal indstilles.");
|
|
19
|
-
injectString("de", "The time must be set", "Die Uhrzeit muss festgelegt werden.");
|
|
20
|
-
injectString("en", "The time must be set", "The time must be set.");
|
|
21
|
-
injectString("es", "The time must be set", "Se debe establecer la hora.");
|
|
22
|
-
injectString("fi-FI", "The time must be set", "Aika on asetettava.");
|
|
23
|
-
injectString("fr", "The time must be set", "L'heure doit \xEAtre programm\xE9e.");
|
|
24
|
-
injectString("fr-FR", "The time must be set", "L'heure doit \xEAtre d\xE9finie.");
|
|
25
|
-
injectString("hu-HU", "The time must be set", "Az id\u0151 be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
26
|
-
injectString("id", "The time must be set", "Waktu harus diatur.");
|
|
27
|
-
injectString("it", "The time must be set", "Impostare l'ora.");
|
|
28
|
-
injectString("ja", "The time must be set", "\u6642\u523B\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
29
|
-
injectString("ko-KR", "The time must be set", "\uC2DC\uAC04\uC744 \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
30
|
-
injectString("ms", "The time must be set", "Masa mesti ditetapkan.");
|
|
31
|
-
injectString("nb-NO", "The time must be set", "Tiden m\xE5 settes.");
|
|
32
|
-
injectString("nl", "The time must be set", "De tijd moet worden ingesteld.");
|
|
33
|
-
injectString("pl", "The time must be set", "Godzina musi by\u0107 ustawiona.");
|
|
34
|
-
injectString("pt-BR", "The time must be set", "\xC9 necess\xE1rio definir a hora.");
|
|
35
|
-
injectString("pt-PT", "The time must be set", "A hora deve ser definida");
|
|
36
|
-
injectString("sk-SK", "The time must be set", "Mus\xED\u0161 nastavi\u0165 \u010Das.");
|
|
37
|
-
injectString("sv", "The time must be set", "Tiden m\xE5ste anges.");
|
|
38
|
-
injectString("th", "The time must be set", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E27\u0E25\u0E32");
|
|
39
|
-
injectString("tr", "The time must be set", "Saat ayarlanmal\u0131d\u0131r.");
|
|
40
|
-
injectString("zh-Hans", "The time must be set", "\u5FC5\u987B\u8BBE\u5B9A\u65F6\u95F4\u3002");
|
|
41
|
-
injectString("zh-TW", "The time must be set", "\u5FC5\u9808\u8A2D\u5B9A\u6642\u9593");
|
|
42
|
-
injectString("ro-RO", "The time must be set", "Trebuie setat\u0103 ora");
|
|
43
|
-
injectString("ar", "The time must be set", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0648\u0642\u062A.");
|
|
44
|
-
injectString("cs", "The date must be set", "Je t\u0159eba nastavit datum.");
|
|
45
|
-
injectString("da-DK", "The date must be set", "Datoen skal indstilles.");
|
|
46
|
-
injectString("de", "The date must be set", "Das Datum muss festgelegt werden.");
|
|
47
|
-
injectString("en", "The date must be set", "The date must be set.");
|
|
48
|
-
injectString("es", "The date must be set", "Se debe establecer la fecha.");
|
|
49
|
-
injectString("fi-FI", "The date must be set", "P\xE4iv\xE4m\xE4\xE4r\xE4 on asetettava.");
|
|
50
|
-
injectString("fr", "The date must be set", "La date doit \xEAtre programm\xE9e.");
|
|
51
|
-
injectString("fr-FR", "The date must be set", "La date doit \xEAtre d\xE9finie.");
|
|
52
|
-
injectString("hu-HU", "The date must be set", "A d\xE1tum be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
53
|
-
injectString("id", "The date must be set", "Tanggal harus diatur.");
|
|
54
|
-
injectString("it", "The date must be set", "Impostare la data.");
|
|
55
|
-
injectString("ja", "The date must be set", "\u65E5\u4ED8\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
56
|
-
injectString("ko-KR", "The date must be set", "\uB0A0\uC9DC\uB97C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
57
|
-
injectString("ms", "The date must be set", "Tarikh mesti ditetapkan.");
|
|
58
|
-
injectString("nb-NO", "The date must be set", "Datoen m\xE5 settes.");
|
|
59
|
-
injectString("nl", "The date must be set", "De datum moet worden ingesteld.");
|
|
60
|
-
injectString("pl", "The date must be set", "Data musi by\u0107 ustawiona.");
|
|
61
|
-
injectString("pt-BR", "The date must be set", "\xC9 necess\xE1rio definir a data.");
|
|
62
|
-
injectString("pt-PT", "The date must be set", "A data deve ser definida");
|
|
63
|
-
injectString("sk-SK", "The date must be set", "Mus\xED\u0161 nastavi\u0165 d\xE1tum.");
|
|
64
|
-
injectString("sv", "The date must be set", "Datumet m\xE5ste anges.");
|
|
65
|
-
injectString("th", "The date must be set", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48");
|
|
66
|
-
injectString("tr", "The date must be set", "Tarih ayarlanmal\u0131d\u0131r.");
|
|
67
|
-
injectString("zh-Hans", "The date must be set", "\u5FC5\u987B\u8BBE\u5B9A\u65E5\u671F\u3002");
|
|
68
|
-
injectString("zh-TW", "The date must be set", "\u5FC5\u9808\u8A2D\u5B9A\u65E5\u671F");
|
|
69
|
-
injectString("ro-RO", "The date must be set", "Trebuie setat\u0103 data");
|
|
70
|
-
injectString("ar", "The date must be set", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u062A\u0627\u0631\u064A\u062E.");
|
|
17
|
+
injectString("cs", "The time must be set.", "Je t\u0159eba nastavit \u010Das.");
|
|
18
|
+
injectString("da-DK", "The time must be set.", "Tiden skal indstilles.");
|
|
19
|
+
injectString("de", "The time must be set.", "Die Uhrzeit muss festgelegt werden.");
|
|
20
|
+
injectString("en", "The time must be set.", "The time must be set.");
|
|
21
|
+
injectString("es", "The time must be set.", "Se debe establecer la hora.");
|
|
22
|
+
injectString("fi-FI", "The time must be set.", "Aika on asetettava.");
|
|
23
|
+
injectString("fr", "The time must be set.", "L'heure doit \xEAtre programm\xE9e.");
|
|
24
|
+
injectString("fr-FR", "The time must be set.", "L'heure doit \xEAtre d\xE9finie.");
|
|
25
|
+
injectString("hu-HU", "The time must be set.", "Az id\u0151 be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
26
|
+
injectString("id", "The time must be set.", "Waktu harus diatur.");
|
|
27
|
+
injectString("it", "The time must be set.", "Impostare l'ora.");
|
|
28
|
+
injectString("ja", "The time must be set.", "\u6642\u523B\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
29
|
+
injectString("ko-KR", "The time must be set.", "\uC2DC\uAC04\uC744 \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
30
|
+
injectString("ms", "The time must be set.", "Masa mesti ditetapkan.");
|
|
31
|
+
injectString("nb-NO", "The time must be set.", "Tiden m\xE5 settes.");
|
|
32
|
+
injectString("nl", "The time must be set.", "De tijd moet worden ingesteld.");
|
|
33
|
+
injectString("pl", "The time must be set.", "Godzina musi by\u0107 ustawiona.");
|
|
34
|
+
injectString("pt-BR", "The time must be set.", "\xC9 necess\xE1rio definir a hora.");
|
|
35
|
+
injectString("pt-PT", "The time must be set.", "A hora deve ser definida");
|
|
36
|
+
injectString("sk-SK", "The time must be set.", "Mus\xED\u0161 nastavi\u0165 \u010Das.");
|
|
37
|
+
injectString("sv", "The time must be set.", "Tiden m\xE5ste anges.");
|
|
38
|
+
injectString("th", "The time must be set.", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E27\u0E25\u0E32");
|
|
39
|
+
injectString("tr", "The time must be set.", "Saat ayarlanmal\u0131d\u0131r.");
|
|
40
|
+
injectString("zh-Hans", "The time must be set.", "\u5FC5\u987B\u8BBE\u5B9A\u65F6\u95F4\u3002");
|
|
41
|
+
injectString("zh-TW", "The time must be set.", "\u5FC5\u9808\u8A2D\u5B9A\u6642\u9593");
|
|
42
|
+
injectString("ro-RO", "The time must be set.", "Trebuie setat\u0103 ora");
|
|
43
|
+
injectString("ar", "The time must be set.", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0648\u0642\u062A.");
|
|
44
|
+
injectString("cs", "The date must be set.", "Je t\u0159eba nastavit datum.");
|
|
45
|
+
injectString("da-DK", "The date must be set.", "Datoen skal indstilles.");
|
|
46
|
+
injectString("de", "The date must be set.", "Das Datum muss festgelegt werden.");
|
|
47
|
+
injectString("en", "The date must be set.", "The date must be set.");
|
|
48
|
+
injectString("es", "The date must be set.", "Se debe establecer la fecha.");
|
|
49
|
+
injectString("fi-FI", "The date must be set.", "P\xE4iv\xE4m\xE4\xE4r\xE4 on asetettava.");
|
|
50
|
+
injectString("fr", "The date must be set.", "La date doit \xEAtre programm\xE9e.");
|
|
51
|
+
injectString("fr-FR", "The date must be set.", "La date doit \xEAtre d\xE9finie.");
|
|
52
|
+
injectString("hu-HU", "The date must be set.", "A d\xE1tum be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
53
|
+
injectString("id", "The date must be set.", "Tanggal harus diatur.");
|
|
54
|
+
injectString("it", "The date must be set.", "Impostare la data.");
|
|
55
|
+
injectString("ja", "The date must be set.", "\u65E5\u4ED8\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
56
|
+
injectString("ko-KR", "The date must be set.", "\uB0A0\uC9DC\uB97C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
57
|
+
injectString("ms", "The date must be set.", "Tarikh mesti ditetapkan.");
|
|
58
|
+
injectString("nb-NO", "The date must be set.", "Datoen m\xE5 settes.");
|
|
59
|
+
injectString("nl", "The date must be set.", "De datum moet worden ingesteld.");
|
|
60
|
+
injectString("pl", "The date must be set.", "Data musi by\u0107 ustawiona.");
|
|
61
|
+
injectString("pt-BR", "The date must be set.", "\xC9 necess\xE1rio definir a data.");
|
|
62
|
+
injectString("pt-PT", "The date must be set.", "A data deve ser definida");
|
|
63
|
+
injectString("sk-SK", "The date must be set.", "Mus\xED\u0161 nastavi\u0165 d\xE1tum.");
|
|
64
|
+
injectString("sv", "The date must be set.", "Datumet m\xE5ste anges.");
|
|
65
|
+
injectString("th", "The date must be set.", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48");
|
|
66
|
+
injectString("tr", "The date must be set.", "Tarih ayarlanmal\u0131d\u0131r.");
|
|
67
|
+
injectString("zh-Hans", "The date must be set.", "\u5FC5\u987B\u8BBE\u5B9A\u65E5\u671F\u3002");
|
|
68
|
+
injectString("zh-TW", "The date must be set.", "\u5FC5\u9808\u8A2D\u5B9A\u65E5\u671F");
|
|
69
|
+
injectString("ro-RO", "The date must be set.", "Trebuie setat\u0103 data");
|
|
70
|
+
injectString("ar", "The date must be set.", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u062A\u0627\u0631\u064A\u062E.");
|
|
71
71
|
const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
72
72
|
const DateInputInnerControlBlock = props => {
|
|
73
73
|
const {
|
|
@@ -122,7 +122,7 @@ const DateInputInnerControlBlock = props => {
|
|
|
122
122
|
dataTimeId: id
|
|
123
123
|
}), isHasTimeError ? (0, jsx_runtime_1.jsx)(formFieldError_1.FormFieldError, {
|
|
124
124
|
id: timeErrorId,
|
|
125
|
-
error: translate("The time must be set")
|
|
125
|
+
error: translate("The time must be set.")
|
|
126
126
|
}) : null]
|
|
127
127
|
}) : null, [selectTime, isActiveField, isHasTimeError, timePickerValue, timeChangeHandler, isMobileView, id, timeErrorId, translate]);
|
|
128
128
|
return (0, jsx_runtime_1.jsxs)("div", {
|
|
@@ -137,7 +137,7 @@ const DateInputInnerControlBlock = props => {
|
|
|
137
137
|
className: "zen-date-input-inner__inputs-block-item",
|
|
138
138
|
children: [memoizedDateInput, isHasDateError ? (0, jsx_runtime_1.jsx)(formFieldError_1.FormFieldError, {
|
|
139
139
|
id: dateErrorId,
|
|
140
|
-
error: translate("The date must be set")
|
|
140
|
+
error: translate("The date must be set.")
|
|
141
141
|
}) : null]
|
|
142
142
|
}), memoizedTimeSelect]
|
|
143
143
|
}), assistiveText ? (0, jsx_runtime_1.jsx)("div", {
|
|
@@ -147,4 +147,4 @@ const DateInputInnerControlBlock = props => {
|
|
|
147
147
|
});
|
|
148
148
|
};
|
|
149
149
|
exports.DateInputInnerControlBlock = DateInputInnerControlBlock;
|
|
150
|
-
exports.TRANSLATIONS = ["The date must be set", "The time must be set"];
|
|
150
|
+
exports.TRANSLATIONS = ["The date must be set.", "The time must be set."];
|
package/dist/divider/divider.js
CHANGED
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
6
6
|
const Divider = ({ className, spacing }) => {
|
|
7
7
|
const classes = (0, classNames_1.classNames)(["zen-divider", className !== null && className !== void 0 ? className : ""]);
|
|
8
|
-
const style = spacing ? {
|
|
8
|
+
const style = spacing ? { marginBlockStart: spacing, marginBlockEnd: spacing } : undefined;
|
|
9
9
|
return (0, jsx_runtime_1.jsx)("hr", { className: classes, style: style, role: "separator" });
|
|
10
10
|
};
|
|
11
11
|
exports.Divider = Divider;
|
|
@@ -165,4 +165,4 @@ const FiltersBarPeriodPicker = ({ props, hasApplyButton, className, useSidePanel
|
|
|
165
165
|
return ((0, jsx_runtime_1.jsx)(sidePanelCell_1.SidePanelCell, { role: "group", labelledBy: filterBarLabelledId, titleId: filterBarLabelledId, title: sidePanelTitle, withoutSidePaddings: !isUsePopup, children: isUsePopup ? popup : component }));
|
|
166
166
|
};
|
|
167
167
|
exports.FiltersBarPeriodPicker = FiltersBarPeriodPicker;
|
|
168
|
-
exports.TRANSLATIONS = ["Clear", "Reset", "Apply", "Date range filter", "The
|
|
168
|
+
exports.TRANSLATIONS = ["Clear", "Reset", "Apply", "Date range filter", "The Start date cannot be empty.", "The End date cannot be empty."];
|
|
@@ -24,33 +24,33 @@ const textIconButton_2 = require("../../textIconButton/textIconButton");
|
|
|
24
24
|
const button_1 = require("../../button/button");
|
|
25
25
|
const useMobile_1 = require("../../commonHelpers/hooks/useMobile");
|
|
26
26
|
const sidePanelReducer_1 = require("./sidePanelReducer");
|
|
27
|
-
injectString("cs", "Reset
|
|
28
|
-
injectString("da-DK", "Reset
|
|
29
|
-
injectString("de", "Reset
|
|
30
|
-
injectString("en", "Reset
|
|
31
|
-
injectString("es", "Reset
|
|
32
|
-
injectString("fi-FI", "Reset
|
|
33
|
-
injectString("fr", "Reset
|
|
34
|
-
injectString("fr-FR", "Reset
|
|
35
|
-
injectString("hu-HU", "Reset
|
|
36
|
-
injectString("id", "Reset
|
|
37
|
-
injectString("it", "Reset
|
|
38
|
-
injectString("ja", "Reset
|
|
39
|
-
injectString("ko-KR", "Reset
|
|
40
|
-
injectString("ms", "Reset
|
|
41
|
-
injectString("nb-NO", "Reset
|
|
42
|
-
injectString("nl", "Reset
|
|
43
|
-
injectString("pl", "Reset
|
|
44
|
-
injectString("pt-BR", "Reset
|
|
45
|
-
injectString("pt-PT", "Reset
|
|
46
|
-
injectString("sk-SK", "Reset
|
|
47
|
-
injectString("sv", "Reset
|
|
48
|
-
injectString("th", "Reset
|
|
49
|
-
injectString("tr", "Reset
|
|
50
|
-
injectString("zh-Hans", "Reset
|
|
51
|
-
injectString("zh-TW", "Reset
|
|
52
|
-
injectString("ro-RO", "Reset
|
|
53
|
-
injectString("ar", "Reset
|
|
27
|
+
injectString("cs", "Reset all", "Obnovit v\u0161e");
|
|
28
|
+
injectString("da-DK", "Reset all", "Nulstil alle");
|
|
29
|
+
injectString("de", "Reset all", "Alles zur\xFCcksetzen");
|
|
30
|
+
injectString("en", "Reset all", "Reset all");
|
|
31
|
+
injectString("es", "Reset all", "Restablecer todo");
|
|
32
|
+
injectString("fi-FI", "Reset all", "Palauta kaikki");
|
|
33
|
+
injectString("fr", "Reset all", "R\xE9initialiser tout");
|
|
34
|
+
injectString("fr-FR", "Reset all", "R\xE9initialiser tout");
|
|
35
|
+
injectString("hu-HU", "Reset all", "\xC1ll\xEDtsd vissza mindet.");
|
|
36
|
+
injectString("id", "Reset all", "Atur ulang semua");
|
|
37
|
+
injectString("it", "Reset all", "Ripristinare tutto");
|
|
38
|
+
injectString("ja", "Reset all", "\u3059\u3079\u3066\u30EA\u30BB\u30C3\u30C8");
|
|
39
|
+
injectString("ko-KR", "Reset all", "\uC804\uCCB4 \uC7AC\uC124\uC815");
|
|
40
|
+
injectString("ms", "Reset all", "Tetapkan semula semua");
|
|
41
|
+
injectString("nb-NO", "Reset all", "Tilbakestill alt");
|
|
42
|
+
injectString("nl", "Reset all", "Alles resetten");
|
|
43
|
+
injectString("pl", "Reset all", "Resetuj wszystko");
|
|
44
|
+
injectString("pt-BR", "Reset all", "Redefinir tudo");
|
|
45
|
+
injectString("pt-PT", "Reset all", "Redefinir tudo");
|
|
46
|
+
injectString("sk-SK", "Reset all", "Vynulova\u0165 v\u0161etko");
|
|
47
|
+
injectString("sv", "Reset all", "\xC5terst\xE4ll alla");
|
|
48
|
+
injectString("th", "Reset all", "\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14");
|
|
49
|
+
injectString("tr", "Reset all", "T\xFCm\xFCn\xFC s\u0131f\u0131rla");
|
|
50
|
+
injectString("zh-Hans", "Reset all", "\u5168\u90E8\u91CD\u7F6E");
|
|
51
|
+
injectString("zh-TW", "Reset all", "\u5168\u90E8\u91CD\u8A2D");
|
|
52
|
+
injectString("ro-RO", "Reset all", "Reseta\u021Bi tot");
|
|
53
|
+
injectString("ar", "Reset all", "\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0643\u0644");
|
|
54
54
|
injectString("cs", "Cancel", "Zru\u0161it");
|
|
55
55
|
injectString("da-DK", "Cancel", "Annuller");
|
|
56
56
|
injectString("de", "Cancel", "Abbrechen");
|
|
@@ -192,7 +192,7 @@ const FiltersBarSidePanel = ({
|
|
|
192
192
|
const {
|
|
193
193
|
translate
|
|
194
194
|
} = (0, useLanguage_1.useLanguage)();
|
|
195
|
-
const isLongTextLanguages = (0, react_1.useMemo)(() => `${translate("Reset
|
|
195
|
+
const isLongTextLanguages = (0, react_1.useMemo)(() => `${translate("Reset all")}${translate("Cancel")}${translate("Apply")}`.length > 31, [translate]);
|
|
196
196
|
const dataShieldId = (0, useUniqueId_1.useUniqueId)();
|
|
197
197
|
const isMobile = (0, useMobile_1.useMobile)();
|
|
198
198
|
const {
|
|
@@ -365,7 +365,7 @@ const FiltersBarSidePanel = ({
|
|
|
365
365
|
className: "zen-side-panel-filters-bar__clear-button",
|
|
366
366
|
onClick: onResetFilters,
|
|
367
367
|
type: "tertiary",
|
|
368
|
-
children: translate("Reset
|
|
368
|
+
children: translate("Reset all")
|
|
369
369
|
})]
|
|
370
370
|
}) : (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, {
|
|
371
371
|
children: [(0, jsx_runtime_1.jsx)("div", {
|
|
@@ -374,7 +374,7 @@ const FiltersBarSidePanel = ({
|
|
|
374
374
|
type: "tertiary",
|
|
375
375
|
className: "zen-side-panel-filters-bar__clear-button",
|
|
376
376
|
onClick: onResetFilters,
|
|
377
|
-
children: translate("Reset
|
|
377
|
+
children: translate("Reset all")
|
|
378
378
|
})
|
|
379
379
|
}), (0, jsx_runtime_1.jsxs)("div", {
|
|
380
380
|
className: "zen-side-panel-filters-bar__footer-section",
|
|
@@ -409,4 +409,4 @@ const FiltersBarSidePanel = ({
|
|
|
409
409
|
exports.FiltersBarSidePanel = FiltersBarSidePanel;
|
|
410
410
|
const FiltersBarSidePanelContainer = _ => (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
411
411
|
exports.FiltersBarSidePanelContainer = FiltersBarSidePanelContainer;
|
|
412
|
-
exports.TRANSLATIONS = ["Apply", "Clear", "Reset
|
|
412
|
+
exports.TRANSLATIONS = ["Apply", "Clear", "Reset all", "Close", "Cancel"];
|