@box/metadata-view 1.58.1 → 1.59.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/dist/chunks/action-bar.js +19 -15
- package/dist/esm/lib/components/sort-dropdown/sort-dropdown.js +13 -12
- package/dist/i18n/en-x-pseudo.js +34 -34
- package/dist/i18n/en-x-pseudo.properties +34 -34
- package/dist/types/lib/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/lib/components/sort-dropdown/sort-dropdown.d.ts +2 -1
- package/package.json +9 -9
|
@@ -12,33 +12,37 @@ import '../styles/action-bar.css';var u = {
|
|
|
12
12
|
filterRow: "_filterRow_bbxsv_8",
|
|
13
13
|
additionalActions: "_additionalActions_bbxsv_13",
|
|
14
14
|
viewModeButtonContainer: "_viewModeButtonContainer_bbxsv_24"
|
|
15
|
-
}, d = ({
|
|
16
|
-
let { formatMessage:
|
|
15
|
+
}, d = ({ dataTargetPrefix: d, isIconColumnEnabled: f, isViewModeButtonDisabled: p, onSortDescriptorChange: m, onViewModeClick: h, onZoomLevelChange: g, sortableColumns: _, sortDescriptor: v, sortDropdownProps: y, viewMode: b, zoomLevel: x, ...S }) => {
|
|
16
|
+
let { formatMessage: C } = s(), w = y?.triggerButtonDataTargetId ?? (d ? `${d}-sortButton` : void 0);
|
|
17
17
|
return /* @__PURE__ */ l("div", {
|
|
18
18
|
className: u.actionBar,
|
|
19
19
|
children: [/* @__PURE__ */ c("div", {
|
|
20
20
|
className: u.filterRow,
|
|
21
|
-
children: /* @__PURE__ */ c(t, {
|
|
21
|
+
children: /* @__PURE__ */ c(t, {
|
|
22
|
+
...S,
|
|
23
|
+
dataTargetPrefix: d
|
|
24
|
+
})
|
|
22
25
|
}), /* @__PURE__ */ l("div", {
|
|
23
26
|
className: u.additionalActions,
|
|
24
27
|
children: [
|
|
25
|
-
|
|
26
|
-
...
|
|
27
|
-
onSortDescriptorChange:
|
|
28
|
-
sortableColumns:
|
|
29
|
-
sortDescriptor:
|
|
28
|
+
y && /* @__PURE__ */ c(n, {
|
|
29
|
+
...y,
|
|
30
|
+
onSortDescriptorChange: m,
|
|
31
|
+
sortableColumns: _,
|
|
32
|
+
sortDescriptor: v,
|
|
33
|
+
triggerButtonDataTargetId: w
|
|
30
34
|
}),
|
|
31
|
-
(
|
|
32
|
-
onZoomLevelChange:
|
|
33
|
-
zoomLevel:
|
|
35
|
+
(f || b === e.GRID) && /* @__PURE__ */ c(r, {
|
|
36
|
+
onZoomLevelChange: g,
|
|
37
|
+
zoomLevel: x
|
|
34
38
|
}),
|
|
35
|
-
!
|
|
39
|
+
!p && /* @__PURE__ */ c("div", {
|
|
36
40
|
className: u.viewModeButtonContainer,
|
|
37
41
|
children: /* @__PURE__ */ c(a, {
|
|
38
|
-
"aria-label":
|
|
42
|
+
"aria-label": b === e.GRID ? C(i.switchToListView) : C(i.switchToGridView),
|
|
39
43
|
endIcon: o,
|
|
40
|
-
onClick:
|
|
41
|
-
variant:
|
|
44
|
+
onClick: h,
|
|
45
|
+
variant: b === e.GRID ? "primary" : "tertiary"
|
|
42
46
|
})
|
|
43
47
|
})
|
|
44
48
|
]
|
|
@@ -2,33 +2,34 @@ import { DropdownMenu as e, TriggerButton as t } from "@box/blueprint-web";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { ArrowDown as r, ArrowUp as i } from "@box/blueprint-web-assets/icons/Fill";
|
|
4
4
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
-
var s = ({ onSortDescriptorChange: s, sortableColumns: c, sortDescriptor: l, initialSortByColumnId: u = c[0].id, initialSortDirection: d = "ascending",
|
|
6
|
-
let
|
|
5
|
+
var s = ({ onSortDescriptorChange: s, sortableColumns: c, sortDescriptor: l, initialSortByColumnId: u = c[0].id, initialSortDirection: d = "ascending", triggerButtonDataTargetId: f, onSortChange: p }) => {
|
|
6
|
+
let m = new Map(c.map((e) => [e.id, e.textValue])), [h, g] = n(u), [_, v] = n(d), y = l?.column == null ? h : String(l.column), b = l?.direction ?? _;
|
|
7
7
|
return /* @__PURE__ */ o(e.Root, { children: [/* @__PURE__ */ a(e.Trigger, { children: /* @__PURE__ */ a(t, {
|
|
8
|
-
caretDirection:
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
caretDirection: b === "ascending" ? "up" : "down",
|
|
9
|
+
"data-target-id": f,
|
|
10
|
+
label: m.get(y),
|
|
11
|
+
startIcon: b === "ascending" ? i : r,
|
|
11
12
|
variant: "tertiary"
|
|
12
13
|
}) }), /* @__PURE__ */ a(e.Content, { children: /* @__PURE__ */ a(e.RadioGroup, {
|
|
13
14
|
onValueChange: (e) => {
|
|
14
|
-
if (e ===
|
|
15
|
-
let t =
|
|
16
|
-
|
|
15
|
+
if (e === y) {
|
|
16
|
+
let t = b === "ascending" ? "descending" : "ascending";
|
|
17
|
+
v(t), s({
|
|
17
18
|
column: e,
|
|
18
19
|
direction: t
|
|
19
|
-
}),
|
|
20
|
+
}), p({
|
|
20
21
|
column: e,
|
|
21
22
|
direction: t
|
|
22
23
|
});
|
|
23
|
-
} else
|
|
24
|
+
} else g(e), v("ascending"), s({
|
|
24
25
|
column: e,
|
|
25
26
|
direction: "ascending"
|
|
26
|
-
}),
|
|
27
|
+
}), p({
|
|
27
28
|
column: e,
|
|
28
29
|
direction: "ascending"
|
|
29
30
|
});
|
|
30
31
|
},
|
|
31
|
-
value:
|
|
32
|
+
value: y,
|
|
32
33
|
children: c.map(({ id: t, textValue: n }) => /* @__PURE__ */ a(e.RadioSelectItem, {
|
|
33
34
|
value: t,
|
|
34
35
|
children: n
|
package/dist/i18n/en-x-pseudo.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"groupSharedFeatures.emptyState.body": "⟦萬萬萬萬萬萬萬萬萬萬萬
|
|
3
|
-
"groupSharedFeatures.emptyState.heading": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬
|
|
4
|
-
"groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize": "⟦萬萬
|
|
5
|
-
"groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize": "⟦萬萬
|
|
6
|
-
"groupSharedFeatures.metadataView.actionBar.sliderLabel": "⟦萬
|
|
7
|
-
"groupSharedFeatures.metadataView.actionBar.switchToGridView": "⟦萬萬萬萬萬
|
|
8
|
-
"groupSharedFeatures.metadataView.actionBar.switchToListView": "⟦萬萬萬萬萬
|
|
9
|
-
"groupSharedFeatures.metadataView.filterRow.AllFilters": "⟦萬萬萬
|
|
10
|
-
"groupSharedFeatures.metadataView.filterRow.applyButton": "⟦萬
|
|
2
|
+
"groupSharedFeatures.emptyState.body": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ťґý αďĵцşţïňĝ Уσμґ ƒìľŧеřѕ óŕ ĸěўẃôřďś. 國國國國國國國國國國國⟧",
|
|
3
|
+
"groupSharedFeatures.emptyState.heading": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śоŗŗỳ, ẃέ ĉôũļďή'ť ƒìиď ωнãť Уøŭ'гĕ ļοøкîпğ ƒōř. 國國國國國國國國國國國國國國⟧",
|
|
4
|
+
"groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize": "⟦萬萬 Ðêĉřêàśè 國國⟧",
|
|
5
|
+
"groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize": "⟦萬萬 İпĉґėâşė 國國⟧",
|
|
6
|
+
"groupSharedFeatures.metadataView.actionBar.sliderLabel": "⟦萬 Śĺĭďêг 國⟧",
|
|
7
|
+
"groupSharedFeatures.metadataView.actionBar.switchToGridView": "⟦萬萬萬萬萬 Śŵϊŧсн ţο Ğřïď Vĩєŵ 國國國國國⟧",
|
|
8
|
+
"groupSharedFeatures.metadataView.actionBar.switchToListView": "⟦萬萬萬萬萬 Śщιťćĥ τŏ Ŀιŝŧ Vįëώ 國國國國國⟧",
|
|
9
|
+
"groupSharedFeatures.metadataView.filterRow.AllFilters": "⟦萬萬萬 Âľĺ ₣îļŧěѓŝ 國國國⟧",
|
|
10
|
+
"groupSharedFeatures.metadataView.filterRow.applyButton": "⟦萬 ÅΡΡĺŷ 國⟧",
|
|
11
11
|
"groupSharedFeatures.metadataView.filterRow.chipNameWithCount": "⟦萬萬萬 {name} ({count}) 國國國⟧",
|
|
12
12
|
"groupSharedFeatures.metadataView.filterRow.chipNameWithFilterOption": "⟦萬萬萬 {name} - {optionLabel} 國國國⟧",
|
|
13
|
-
"groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬
|
|
14
|
-
"groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬
|
|
15
|
-
"groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬
|
|
16
|
-
"groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬
|
|
17
|
-
"groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬
|
|
18
|
-
"groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬
|
|
19
|
-
"groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬
|
|
20
|
-
"groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬
|
|
21
|
-
"groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬
|
|
22
|
-
"groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬
|
|
23
|
-
"groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "⟦萬萬萬萬
|
|
24
|
-
"groupSharedFeatures.metadataView.header.itemsSelected": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в>#
|
|
25
|
-
"groupSharedFeatures.metadataView.header.singleItemSelected": "⟦萬萬萬萬萬萬萬
|
|
13
|
+
"groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬 Ċļēãř 國⟧",
|
|
14
|
+
"groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬 ₣іĺе ŦУΡě 國國⟧",
|
|
15
|
+
"groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬 Ёηţëѓ кέýŵőŕďś 國國國國⟧",
|
|
16
|
+
"groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬 Ļőćãťιóπ 國國⟧",
|
|
17
|
+
"groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬 Ŝеť Vàĺûє 國國⟧",
|
|
18
|
+
"groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬 Ćļёáѓ Ăĺļ 國國⟧",
|
|
19
|
+
"groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬 Çľòŝę 國⟧",
|
|
20
|
+
"groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬 ₣ĩĺτεřŝ 國國⟧",
|
|
21
|
+
"groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬 Ѕεáгċħ 國⟧",
|
|
22
|
+
"groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬 Ġřϊď Vιёщ 國國⟧",
|
|
23
|
+
"groupSharedFeatures.metadataView.header.clearSelectionAriaLabel": "⟦萬萬萬萬 Ćļεαŗ ѕěĺε¢ťįõи 國國國國⟧",
|
|
24
|
+
"groupSharedFeatures.metadataView.header.itemsSelected": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в># îŧëm</в> íŝ ŝєĺēċţëď} other {<в># ϊŧėmś</ь> ãŗë śēĺèсτêď}} 國國國國國國國國國國國國國國國國國國國⟧",
|
|
25
|
+
"groupSharedFeatures.metadataView.header.singleItemSelected": "⟦萬萬萬萬萬萬萬 <ь>{name}</в> ĩś ŝēĺěсťėď 國國國國國國國⟧",
|
|
26
26
|
"groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "⟦ -- ⟧",
|
|
27
|
-
"groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬
|
|
28
|
-
"groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬
|
|
29
|
-
"groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬
|
|
30
|
-
"groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬
|
|
31
|
-
"groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬
|
|
32
|
-
"groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬
|
|
33
|
-
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬
|
|
34
|
-
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬
|
|
35
|
-
"groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬
|
|
36
|
-
"groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬
|
|
37
|
-
"groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 P
|
|
38
|
-
"groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 P
|
|
27
|
+
"groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬 Ãĉŧĩσŋ mέήů 國國國⟧",
|
|
28
|
+
"groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śόmέţĥιиġ ŵėпτ ẁŗőйġ. Pĺéàśέ ґèƒяεśн ţħĩś Ρǻĝε. 國國國國國國國國國國國國國國⟧",
|
|
29
|
+
"groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬 Ļĭşτ νīėώ 國國⟧",
|
|
30
|
+
"groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬 Ŕёƒŗεѕĥ 國國⟧",
|
|
31
|
+
"groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬 Şєľέ¢ť àľļ 國國⟧",
|
|
32
|
+
"groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬 Śёļêĉŧ â ƒóļďěя 國國國國⟧",
|
|
33
|
+
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬 Ѕëāяċн 國⟧",
|
|
34
|
+
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬 Ċļέăг 國⟧",
|
|
35
|
+
"groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬 Ņě×τ 國⟧",
|
|
36
|
+
"groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕħòŵïŋĝ {startEntryIndex} ŧо {endEntryIndex} ôƒ {totalCount} ēήţґįέѕ 國國國國國國國國國國國⟧",
|
|
37
|
+
"groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pαğϊйάτïòπ ŋăνíġăţįôņ ĉōńŧŗόľş ąńď ĉůŕгëήτ Ρǻĝε ĩńƒōŕmąτïöʼn 國國國國國國國國國國國國國國國國國⟧",
|
|
38
|
+
"groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 Pѓєνîôŭş 國國⟧"
|
|
39
39
|
}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
# Body text for the empty state when no items are found
|
|
2
|
-
groupSharedFeatures.emptyState.body = ⟦萬萬萬萬萬萬萬萬萬萬萬
|
|
2
|
+
groupSharedFeatures.emptyState.body = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ťґý αďĵцşţïňĝ Уσμґ ƒìľŧеřѕ óŕ ĸěўẃôřďś. 國國國國國國國國國國國⟧
|
|
3
3
|
# Heading for the empty state when no items are found
|
|
4
|
-
groupSharedFeatures.emptyState.heading = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬
|
|
4
|
+
groupSharedFeatures.emptyState.heading = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śоŗŗỳ, ẃέ ĉôũļďή'ť ƒìиď ωнãť Уøŭ'гĕ ļοøкîпğ ƒōř. 國國國國國國國國國國國國國國⟧
|
|
5
5
|
# Label for decreasing the size of column.
|
|
6
|
-
groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize = ⟦萬萬
|
|
6
|
+
groupSharedFeatures.metadataView.actionBar.sliderDecreaseSize = ⟦萬萬 Ðêĉřêàśè 國國⟧
|
|
7
7
|
# Label for increasing the size of column.
|
|
8
|
-
groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize = ⟦萬萬
|
|
8
|
+
groupSharedFeatures.metadataView.actionBar.sliderIncreaseSize = ⟦萬萬 İпĉґėâşė 國國⟧
|
|
9
9
|
# Label for the slider that controls the size of column.
|
|
10
|
-
groupSharedFeatures.metadataView.actionBar.sliderLabel = ⟦萬
|
|
10
|
+
groupSharedFeatures.metadataView.actionBar.sliderLabel = ⟦萬 Śĺĭďêг 國⟧
|
|
11
11
|
# Label to switch to grid view
|
|
12
|
-
groupSharedFeatures.metadataView.actionBar.switchToGridView = ⟦萬萬萬萬萬
|
|
12
|
+
groupSharedFeatures.metadataView.actionBar.switchToGridView = ⟦萬萬萬萬萬 Śŵϊŧсн ţο Ğřïď Vĩєŵ 國國國國國⟧
|
|
13
13
|
# Label to switch to list view
|
|
14
|
-
groupSharedFeatures.metadataView.actionBar.switchToListView = ⟦萬萬萬萬萬
|
|
14
|
+
groupSharedFeatures.metadataView.actionBar.switchToListView = ⟦萬萬萬萬萬 Śщιťćĥ τŏ Ŀιŝŧ Vįëώ 國國國國國⟧
|
|
15
15
|
# Button label to open the sidepanel with all filters
|
|
16
|
-
groupSharedFeatures.metadataView.filterRow.AllFilters = ⟦萬萬萬
|
|
16
|
+
groupSharedFeatures.metadataView.filterRow.AllFilters = ⟦萬萬萬 Âľĺ ₣îļŧěѓŝ 國國國⟧
|
|
17
17
|
# Button label to apply the current input as a filter to the metadata table
|
|
18
|
-
groupSharedFeatures.metadataView.filterRow.applyButton = ⟦萬
|
|
18
|
+
groupSharedFeatures.metadataView.filterRow.applyButton = ⟦萬 ÅΡΡĺŷ 國⟧
|
|
19
19
|
# Label for a filter chip that includes the name and count of selected options
|
|
20
20
|
groupSharedFeatures.metadataView.filterRow.chipNameWithCount = ⟦萬萬萬 {name} ({count}) 國國國⟧
|
|
21
21
|
# Label for a filter chip showing the field name and active filter option, e.g. "Modified - Is blank"
|
|
22
22
|
groupSharedFeatures.metadataView.filterRow.chipNameWithFilterOption = ⟦萬萬萬 {name} - {optionLabel} 國國國⟧
|
|
23
23
|
# Button label to clear the current input in a textarea
|
|
24
|
-
groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬
|
|
24
|
+
groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬 Ċļēãř 國⟧
|
|
25
25
|
# Title for the file type filter group
|
|
26
|
-
groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬
|
|
26
|
+
groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬 ₣іĺе ŦУΡě 國國⟧
|
|
27
27
|
# Placeholder text for the keyword search filter
|
|
28
|
-
groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬
|
|
28
|
+
groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬 Ёηţëѓ кέýŵőŕďś 國國國國⟧
|
|
29
29
|
# Title for the location filter group
|
|
30
|
-
groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬
|
|
30
|
+
groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬 Ļőćãťιóπ 國國⟧
|
|
31
31
|
# Placeholder text for the input field in the filter row
|
|
32
|
-
groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬
|
|
32
|
+
groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬 Ŝеť Vàĺûє 國國⟧
|
|
33
33
|
# Button label to clear all filters in the sidepanel
|
|
34
|
-
groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬
|
|
34
|
+
groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬 Ćļёáѓ Ăĺļ 國國⟧
|
|
35
35
|
# Aria label for the close button in the filter sidepanel
|
|
36
|
-
groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬
|
|
36
|
+
groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬 Çľòŝę 國⟧
|
|
37
37
|
# Header for the filter sidepanel
|
|
38
|
-
groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬
|
|
38
|
+
groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬 ₣ĩĺτεřŝ 國國⟧
|
|
39
39
|
# Button label to apply filters and show results
|
|
40
|
-
groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬
|
|
40
|
+
groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬 Ѕεáгċħ 國⟧
|
|
41
41
|
# Label for the grid view of files and folders
|
|
42
|
-
groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬
|
|
42
|
+
groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬 Ġřϊď Vιёщ 國國⟧
|
|
43
43
|
# Aria label for the clear selection button
|
|
44
|
-
groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = ⟦萬萬萬萬
|
|
44
|
+
groupSharedFeatures.metadataView.header.clearSelectionAriaLabel = ⟦萬萬萬萬 Ćļεαŗ ѕěĺε¢ťįõи 國國國國⟧
|
|
45
45
|
# Selection count text in the header when multiple items are selected or item name is unavailable
|
|
46
|
-
groupSharedFeatures.metadataView.header.itemsSelected = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в>#
|
|
46
|
+
groupSharedFeatures.metadataView.header.itemsSelected = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 {count, plural, one {<в># îŧëm</в> íŝ ŝєĺēċţëď} other {<в># ϊŧėmś</ь> ãŗë śēĺèсτêď}} 國國國國國國國國國國國國國國國國國國國⟧
|
|
47
47
|
# Selection text in the header when a single item is selected, showing the item name
|
|
48
|
-
groupSharedFeatures.metadataView.header.singleItemSelected = ⟦萬萬萬萬萬萬萬
|
|
48
|
+
groupSharedFeatures.metadataView.header.singleItemSelected = ⟦萬萬萬萬萬萬萬 <ь>{name}</в> ĩś ŝēĺěсťėď 國國國國國國國⟧
|
|
49
49
|
# Label for the default unselected option in inline editing dropdowns
|
|
50
50
|
groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel = ⟦ -- ⟧
|
|
51
51
|
# Label for the action menu for an item in the metadata view list
|
|
52
|
-
groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬
|
|
52
|
+
groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬 Ãĉŧĩσŋ mέήů 國國國⟧
|
|
53
53
|
# Error message displayed when metadata fails to load
|
|
54
|
-
groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬
|
|
54
|
+
groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Śόmέţĥιиġ ŵėпτ ẁŗőйġ. Pĺéàśέ ґèƒяεśн ţħĩś Ρǻĝε. 國國國國國國國國國國國國國國⟧
|
|
55
55
|
# Label for the list of files and folders displayed in a list view
|
|
56
|
-
groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬
|
|
56
|
+
groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬 Ļĭşτ νīėώ 國國⟧
|
|
57
57
|
# Label for the refresh button in error state
|
|
58
|
-
groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬
|
|
58
|
+
groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬 Ŕёƒŗεѕĥ 國國⟧
|
|
59
59
|
# Label for the select all checkbox in the metadata table
|
|
60
|
-
groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬
|
|
60
|
+
groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬 Şєľέ¢ť àľļ 國國⟧
|
|
61
61
|
# Placeholder for select folder trigger
|
|
62
|
-
groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬
|
|
62
|
+
groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬 Śёļêĉŧ â ƒóļďěя 國國國國⟧
|
|
63
63
|
# Aria label for the search input
|
|
64
|
-
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬
|
|
64
|
+
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬 Ѕëāяċн 國⟧
|
|
65
65
|
# Aria label for the clear button in the search input
|
|
66
|
-
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬
|
|
66
|
+
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬 Ċļέăг 國⟧
|
|
67
67
|
# Label for the next page button
|
|
68
|
-
groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬
|
|
68
|
+
groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬 Ņě×τ 國⟧
|
|
69
69
|
# Pagination menu status with the range of entries shown
|
|
70
|
-
groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬
|
|
70
|
+
groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬 Ѕħòŵïŋĝ {startEntryIndex} ŧо {endEntryIndex} ôƒ {totalCount} ēήţґįέѕ 國國國國國國國國國國國⟧
|
|
71
71
|
# Aria label for the pagination component, which includes entry status and previous/next page controls
|
|
72
|
-
groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 P
|
|
72
|
+
groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pαğϊйάτïòπ ŋăνíġăţįôņ ĉōńŧŗόľş ąńď ĉůŕгëήτ Ρǻĝε ĩńƒōŕmąτïöʼn 國國國國國國國國國國國國國國國國國⟧
|
|
73
73
|
# Label for the previous page button
|
|
74
|
-
groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 P
|
|
74
|
+
groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pѓєνîôŭş 國國⟧
|
|
@@ -18,5 +18,5 @@ interface ActionBarInternalProps extends ActionBarProps {
|
|
|
18
18
|
sortableColumns: Column[];
|
|
19
19
|
sortDescriptor: SortDescriptor;
|
|
20
20
|
}
|
|
21
|
-
export declare const ActionBar: ({ isIconColumnEnabled, isViewModeButtonDisabled, onSortDescriptorChange, onViewModeClick, onZoomLevelChange, sortableColumns, sortDescriptor, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const ActionBar: ({ dataTargetPrefix, isIconColumnEnabled, isViewModeButtonDisabled, onSortDescriptorChange, onViewModeClick, onZoomLevelChange, sortableColumns, sortDescriptor, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -3,6 +3,7 @@ import { Column } from '../../types';
|
|
|
3
3
|
export interface SortDropdownProps {
|
|
4
4
|
initialSortByColumnId?: string;
|
|
5
5
|
initialSortDirection?: SortDirection;
|
|
6
|
+
triggerButtonDataTargetId?: string;
|
|
6
7
|
onSortChange: (sortDescriptor: SortDescriptor) => void;
|
|
7
8
|
}
|
|
8
9
|
interface SortDropdownInternalProps extends SortDropdownProps {
|
|
@@ -10,5 +11,5 @@ interface SortDropdownInternalProps extends SortDropdownProps {
|
|
|
10
11
|
sortableColumns: Column[];
|
|
11
12
|
sortDescriptor: SortDescriptor;
|
|
12
13
|
}
|
|
13
|
-
export declare const SortDropdown: ({ onSortDescriptorChange, sortableColumns, sortDescriptor, initialSortByColumnId, initialSortDirection, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const SortDropdown: ({ onSortDescriptorChange, sortableColumns, sortDescriptor, initialSortByColumnId, initialSortDirection, triggerButtonDataTargetId, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-view",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@box/blueprint-web": "^14.31.0",
|
|
7
7
|
"@box/blueprint-web-assets": "^4.118.3",
|
|
8
|
-
"@box/box-item-type-selector": "^1.41.
|
|
9
|
-
"@box/content-field": "^1.42.
|
|
10
|
-
"@box/item-icon": "^2.35.
|
|
11
|
-
"@box/metadata-filter": "^1.83.
|
|
8
|
+
"@box/box-item-type-selector": "^1.41.10",
|
|
9
|
+
"@box/content-field": "^1.42.10",
|
|
10
|
+
"@box/item-icon": "^2.35.10",
|
|
11
|
+
"@box/metadata-filter": "^1.83.10",
|
|
12
12
|
"@box/types": "2.2.1",
|
|
13
13
|
"@tanstack/react-virtual": "^3.10.8",
|
|
14
14
|
"formik": "^2.4.5",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@box/blueprint-web": "^14.31.0",
|
|
23
23
|
"@box/blueprint-web-assets": "^4.118.3",
|
|
24
|
-
"@box/box-item-type-selector": "^1.41.
|
|
25
|
-
"@box/content-field": "^1.42.
|
|
24
|
+
"@box/box-item-type-selector": "^1.41.10",
|
|
25
|
+
"@box/content-field": "^1.42.10",
|
|
26
26
|
"@box/eslint-plugin-blueprint": "1.2.1",
|
|
27
|
-
"@box/item-icon": "^2.35.
|
|
28
|
-
"@box/metadata-filter": "^1.83.
|
|
27
|
+
"@box/item-icon": "^2.35.10",
|
|
28
|
+
"@box/metadata-filter": "^1.83.10",
|
|
29
29
|
"@box/storybook-utils": "0.19.7",
|
|
30
30
|
"@box/types": "2.2.1",
|
|
31
31
|
"@tanstack/react-virtual": "^3.10.8",
|