@box/metadata-view 0.51.0 → 0.52.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/dist/esm/lib/components/action-bar/action-bar.js +33 -29
- package/dist/esm/lib/components/metadata-table/metadata-table.js +33 -34
- package/dist/esm/lib/components/sort-dropdown/sort-dropdown.js +35 -27
- package/dist/esm/lib/metadata-view.js +87 -70
- package/dist/i18n/en-x-pseudo.js +31 -31
- package/dist/i18n/en-x-pseudo.properties +31 -31
- package/dist/types/lib/components/action-bar/action-bar.d.ts +4 -1
- package/dist/types/lib/components/sort-dropdown/sort-dropdown.d.ts +3 -1
- package/package.json +5 -5
|
@@ -1,52 +1,56 @@
|
|
|
1
|
-
import { Button as
|
|
2
|
-
import { Grid as
|
|
3
|
-
import { useIntl as
|
|
1
|
+
import { Button as p } from "@box/blueprint-web";
|
|
2
|
+
import { Grid as b } from "@box/blueprint-web-assets/icons/Fill";
|
|
3
|
+
import { useIntl as u } from "react-intl";
|
|
4
4
|
import { V as r } from "../../../../chunks/types.js";
|
|
5
|
-
import { ZoomButton as
|
|
5
|
+
import { ZoomButton as R } from "./zoom-button.js";
|
|
6
6
|
import s from "./messages.js";
|
|
7
7
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
8
|
-
import { FilterRow as
|
|
9
|
-
import { SortDropdown as
|
|
10
|
-
import '../../../../styles/action-bar.css';const
|
|
11
|
-
actionBar:
|
|
12
|
-
filterRow:
|
|
13
|
-
additionalActions:
|
|
14
|
-
viewModeButtonContainer:
|
|
15
|
-
},
|
|
8
|
+
import { FilterRow as x } from "../filter-row/filter-row.js";
|
|
9
|
+
import { SortDropdown as h } from "../sort-dropdown/sort-dropdown.js";
|
|
10
|
+
import '../../../../styles/action-bar.css';const A = "_actionBar_bbxsv_1", C = "_filterRow_bbxsv_8", G = "_additionalActions_bbxsv_13", I = "_viewModeButtonContainer_bbxsv_24", t = {
|
|
11
|
+
actionBar: A,
|
|
12
|
+
filterRow: C,
|
|
13
|
+
additionalActions: G,
|
|
14
|
+
viewModeButtonContainer: I
|
|
15
|
+
}, F = ({
|
|
16
16
|
isIconColumnEnabled: c,
|
|
17
17
|
isViewModeButtonDisabled: m,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
onSortDescriptorChange: l,
|
|
19
|
+
onViewModeClick: d,
|
|
20
|
+
onZoomLevelChange: f,
|
|
21
|
+
sortableColumns: w,
|
|
22
|
+
sortDescriptor: _,
|
|
21
23
|
sortDropdownProps: n,
|
|
22
24
|
viewMode: i,
|
|
23
|
-
zoomLevel:
|
|
24
|
-
...
|
|
25
|
+
zoomLevel: v,
|
|
26
|
+
...B
|
|
25
27
|
}) => {
|
|
26
28
|
const {
|
|
27
29
|
formatMessage: a
|
|
28
|
-
} =
|
|
30
|
+
} = u();
|
|
29
31
|
return /* @__PURE__ */ e("div", {
|
|
30
32
|
className: t.actionBar,
|
|
31
33
|
children: [/* @__PURE__ */ o("div", {
|
|
32
34
|
className: t.filterRow,
|
|
33
|
-
children: /* @__PURE__ */ o(
|
|
34
|
-
...
|
|
35
|
+
children: /* @__PURE__ */ o(x, {
|
|
36
|
+
...B
|
|
35
37
|
})
|
|
36
38
|
}), /* @__PURE__ */ e("div", {
|
|
37
39
|
className: t.additionalActions,
|
|
38
|
-
children: [n && /* @__PURE__ */ o(
|
|
40
|
+
children: [n && /* @__PURE__ */ o(h, {
|
|
39
41
|
...n,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
onSortDescriptorChange: l,
|
|
43
|
+
sortableColumns: w,
|
|
44
|
+
sortDescriptor: _
|
|
45
|
+
}), (c || i === r.GRID) && /* @__PURE__ */ o(R, {
|
|
46
|
+
onZoomLevelChange: f,
|
|
47
|
+
zoomLevel: v
|
|
44
48
|
}), !m && /* @__PURE__ */ o("div", {
|
|
45
49
|
className: t.viewModeButtonContainer,
|
|
46
|
-
children: /* @__PURE__ */ o(
|
|
50
|
+
children: /* @__PURE__ */ o(p, {
|
|
47
51
|
"aria-label": i === r.GRID ? a(s.switchToListView) : a(s.switchToGridView),
|
|
48
|
-
icon:
|
|
49
|
-
onClick:
|
|
52
|
+
icon: b,
|
|
53
|
+
onClick: d,
|
|
50
54
|
variant: i === r.GRID ? "primary" : "tertiary"
|
|
51
55
|
})
|
|
52
56
|
})]
|
|
@@ -54,5 +58,5 @@ import '../../../../styles/action-bar.css';const x = "_actionBar_bbxsv_1", h = "
|
|
|
54
58
|
});
|
|
55
59
|
};
|
|
56
60
|
export {
|
|
57
|
-
|
|
61
|
+
F as ActionBar
|
|
58
62
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { useRef as
|
|
2
|
-
import { useIntl as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { useInfiniteScrollTableItems as
|
|
5
|
-
import { TableRenderer as
|
|
6
|
-
import { I as
|
|
7
|
-
import { THUMBNAIL_WIDTHS as
|
|
1
|
+
import { useRef as M } from "react";
|
|
2
|
+
import { useIntl as E } from "react-intl";
|
|
3
|
+
import { Text as k, ListCheckbox as B, TableHeader as O, Column as P } from "@box/blueprint-web";
|
|
4
|
+
import { useInfiniteScrollTableItems as U } from "./hooks/useInfiniteScrollTableItems.js";
|
|
5
|
+
import { TableRenderer as I } from "./table-renderer.js";
|
|
6
|
+
import { I as j } from "../../../../chunks/types.js";
|
|
7
|
+
import { THUMBNAIL_WIDTHS as F } from "../constants.js";
|
|
8
8
|
import { s } from "../../../../chunks/index.js";
|
|
9
|
-
import
|
|
9
|
+
import G from "./messages.js";
|
|
10
10
|
import { jsx as e } from "react/jsx-runtime";
|
|
11
11
|
import "./table-body/inline-editing-cell/inline-editing-cell.js";
|
|
12
|
-
const
|
|
12
|
+
const L = 40, te = ({
|
|
13
13
|
columns: o,
|
|
14
|
-
isLoading:
|
|
14
|
+
isLoading: l = !1,
|
|
15
15
|
iconColumnVariant: n,
|
|
16
16
|
isSelectAllEnabled: m,
|
|
17
17
|
items: d,
|
|
@@ -27,20 +27,20 @@ const V = 40, ae = ({
|
|
|
27
27
|
var u;
|
|
28
28
|
const {
|
|
29
29
|
formatMessage: c
|
|
30
|
-
} =
|
|
30
|
+
} = E(), f = M(null), {
|
|
31
31
|
virtualItemsToDisplay: p,
|
|
32
32
|
getTableHeight: A
|
|
33
|
-
} =
|
|
33
|
+
} = U({
|
|
34
34
|
items: d,
|
|
35
35
|
hasNextPage: w,
|
|
36
|
-
isLoading:
|
|
36
|
+
isLoading: l,
|
|
37
37
|
parentRef: f,
|
|
38
38
|
onGetNextPage: y,
|
|
39
39
|
placeholderRowsCount: C
|
|
40
40
|
}), a = [], N = 0;
|
|
41
|
-
if (n ===
|
|
41
|
+
if (n === j.COLUMN) {
|
|
42
42
|
r = r || N;
|
|
43
|
-
const t = parseInt(
|
|
43
|
+
const t = parseInt(F[r], 10) + 24;
|
|
44
44
|
a.push({
|
|
45
45
|
id: "item-type-icon",
|
|
46
46
|
isRowHeader: !1,
|
|
@@ -52,23 +52,22 @@ const V = 40, ae = ({
|
|
|
52
52
|
const D = o.map((t) => {
|
|
53
53
|
const {
|
|
54
54
|
id: H,
|
|
55
|
-
isItemMetadata: S,
|
|
56
55
|
isRowHeader: _,
|
|
57
56
|
headerRenderer: b,
|
|
58
|
-
textValue:
|
|
59
|
-
type:
|
|
57
|
+
textValue: i,
|
|
58
|
+
type: T,
|
|
60
59
|
...v
|
|
61
60
|
} = t;
|
|
62
61
|
return {
|
|
63
62
|
...v,
|
|
64
|
-
children: b ? b(
|
|
63
|
+
children: b ? b(i, t) : /* @__PURE__ */ e(k, {
|
|
65
64
|
as: "span",
|
|
66
|
-
children:
|
|
65
|
+
children: i
|
|
67
66
|
}),
|
|
68
67
|
isRowHeader: H === "name" || _,
|
|
69
|
-
id:
|
|
70
|
-
textValue:
|
|
71
|
-
allowsSorting:
|
|
68
|
+
id: H,
|
|
69
|
+
textValue: i,
|
|
70
|
+
allowsSorting: T !== "multiSelect" && T !== "enum"
|
|
72
71
|
};
|
|
73
72
|
});
|
|
74
73
|
a.push(...D), m && a.push({
|
|
@@ -76,19 +75,19 @@ const V = 40, ae = ({
|
|
|
76
75
|
className: s.tableHeaderActions,
|
|
77
76
|
children: /* @__PURE__ */ e("div", {
|
|
78
77
|
className: s.tableHeaderActionsWrapper,
|
|
79
|
-
children: /* @__PURE__ */ e(
|
|
80
|
-
"aria-label": c(
|
|
78
|
+
children: /* @__PURE__ */ e(B, {
|
|
79
|
+
"aria-label": c(G.selectAll),
|
|
81
80
|
className: s.selectAllCheckbox,
|
|
82
|
-
isDisabled:
|
|
81
|
+
isDisabled: l
|
|
83
82
|
})
|
|
84
83
|
}),
|
|
85
84
|
isRowHeader: !1,
|
|
86
85
|
hideHeader: !1,
|
|
87
86
|
allowsSorting: !1
|
|
88
87
|
});
|
|
89
|
-
const
|
|
88
|
+
const S = /* @__PURE__ */ e(O, {
|
|
90
89
|
columns: a,
|
|
91
|
-
children: (t) => /* @__PURE__ */ e(
|
|
90
|
+
children: (t) => /* @__PURE__ */ e(P, {
|
|
92
91
|
...t
|
|
93
92
|
})
|
|
94
93
|
}), h = {
|
|
@@ -96,12 +95,12 @@ const V = 40, ae = ({
|
|
|
96
95
|
columns: o,
|
|
97
96
|
formatMessage: c,
|
|
98
97
|
iconColumnVariant: n,
|
|
99
|
-
isLoading:
|
|
98
|
+
isLoading: l,
|
|
100
99
|
isSelectAllEnabled: m,
|
|
101
100
|
itemActionMenuProps: R,
|
|
102
101
|
items: d,
|
|
103
102
|
onInlineEditChange: g,
|
|
104
|
-
tableHeader:
|
|
103
|
+
tableHeader: S,
|
|
105
104
|
tableProps: W,
|
|
106
105
|
zoomLevel: r
|
|
107
106
|
};
|
|
@@ -112,9 +111,9 @@ const V = 40, ae = ({
|
|
|
112
111
|
style: {
|
|
113
112
|
position: "relative",
|
|
114
113
|
width: "100%",
|
|
115
|
-
height: A() +
|
|
114
|
+
height: A() + L
|
|
116
115
|
},
|
|
117
|
-
children: /* @__PURE__ */ e(
|
|
116
|
+
children: /* @__PURE__ */ e(I, {
|
|
118
117
|
...h,
|
|
119
118
|
style: {
|
|
120
119
|
position: "absolute",
|
|
@@ -127,10 +126,10 @@ const V = 40, ae = ({
|
|
|
127
126
|
virtualItems: p
|
|
128
127
|
})
|
|
129
128
|
})
|
|
130
|
-
}) : /* @__PURE__ */ e(
|
|
129
|
+
}) : /* @__PURE__ */ e(I, {
|
|
131
130
|
...h
|
|
132
131
|
});
|
|
133
132
|
};
|
|
134
133
|
export {
|
|
135
|
-
|
|
134
|
+
te as MetadataTable
|
|
136
135
|
};
|
|
@@ -1,49 +1,57 @@
|
|
|
1
|
-
import { DropdownMenu as e, TriggerButton as
|
|
2
|
-
import { ArrowUp as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { jsxs as
|
|
5
|
-
const
|
|
1
|
+
import { DropdownMenu as e, TriggerButton as M } from "@box/blueprint-web";
|
|
2
|
+
import { ArrowUp as R, ArrowDown as S } from "@box/blueprint-web-assets/icons/Fill";
|
|
3
|
+
import { useState as r } from "react";
|
|
4
|
+
import { jsxs as j, jsx as a } from "react/jsx-runtime";
|
|
5
|
+
const B = ({
|
|
6
|
+
onSortDescriptorChange: u,
|
|
6
7
|
sortableColumns: o,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
sortDescriptor: i,
|
|
9
|
+
initialSortByColumnId: l = o[0].id,
|
|
10
|
+
initialSortDirection: w = "ascending",
|
|
11
|
+
onSortChange: g
|
|
10
12
|
}) => {
|
|
11
|
-
const
|
|
12
|
-
if (n ===
|
|
13
|
-
const
|
|
14
|
-
|
|
13
|
+
const h = new Map(o.map((n) => [n.id, n.textValue])), [f, x] = r(l), [p, m] = r(w), d = (i == null ? void 0 : i.column) != null ? String(i.column) : f, t = (i == null ? void 0 : i.direction) ?? p, v = (n) => {
|
|
14
|
+
if (n === d) {
|
|
15
|
+
const c = t === "ascending" ? "descending" : "ascending";
|
|
16
|
+
m(c), u({
|
|
15
17
|
column: n,
|
|
16
|
-
direction:
|
|
18
|
+
direction: c
|
|
19
|
+
}), g({
|
|
20
|
+
column: n,
|
|
21
|
+
direction: c
|
|
17
22
|
});
|
|
18
23
|
} else
|
|
19
|
-
|
|
24
|
+
x(n), m("ascending"), u({
|
|
25
|
+
column: n,
|
|
26
|
+
direction: "ascending"
|
|
27
|
+
}), g({
|
|
20
28
|
column: n,
|
|
21
29
|
direction: "ascending"
|
|
22
30
|
});
|
|
23
31
|
};
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
children: [/* @__PURE__ */
|
|
26
|
-
children: /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ j(e.Root, {
|
|
33
|
+
children: [/* @__PURE__ */ a(e.Trigger, {
|
|
34
|
+
children: /* @__PURE__ */ a(M, {
|
|
27
35
|
caretDirection: t === "ascending" ? "up" : "down",
|
|
28
|
-
label:
|
|
29
|
-
startIcon: t === "ascending" ?
|
|
36
|
+
label: h.get(d),
|
|
37
|
+
startIcon: t === "ascending" ? R : S,
|
|
30
38
|
variant: "tertiary"
|
|
31
39
|
})
|
|
32
|
-
}), /* @__PURE__ */
|
|
33
|
-
children: /* @__PURE__ */
|
|
34
|
-
onValueChange:
|
|
35
|
-
value: d
|
|
40
|
+
}), /* @__PURE__ */ a(e.Content, {
|
|
41
|
+
children: /* @__PURE__ */ a(e.RadioGroup, {
|
|
42
|
+
onValueChange: v,
|
|
43
|
+
value: d,
|
|
36
44
|
children: o.map(({
|
|
37
45
|
id: n,
|
|
38
|
-
textValue:
|
|
39
|
-
}) => /* @__PURE__ */
|
|
46
|
+
textValue: c
|
|
47
|
+
}) => /* @__PURE__ */ a(e.RadioSelectItem, {
|
|
40
48
|
value: n,
|
|
41
|
-
children:
|
|
49
|
+
children: c
|
|
42
50
|
}, n))
|
|
43
51
|
})
|
|
44
52
|
})]
|
|
45
53
|
});
|
|
46
54
|
};
|
|
47
55
|
export {
|
|
48
|
-
|
|
56
|
+
B as SortDropdown
|
|
49
57
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as
|
|
2
|
-
import { ActionBar as
|
|
1
|
+
import { I as N, V as t } from "../../chunks/types.js";
|
|
2
|
+
import { ActionBar as j } from "./components/action-bar/action-bar.js";
|
|
3
3
|
import "./components/filter-row/filter-row.js";
|
|
4
4
|
import "./components/filter-row/form-filter-chip.js";
|
|
5
5
|
import "./components/filter-row/metadata-filter-chip.js";
|
|
@@ -8,8 +8,8 @@ import "./components/filter-row/predefinedFilters/index.js";
|
|
|
8
8
|
import "./components/filter-sidepanel/filter.js";
|
|
9
9
|
import "./components/filter-sidepanel/filter-side-panel.js";
|
|
10
10
|
import "./components/item-action-menu/item-action-menu.js";
|
|
11
|
-
import { MetadataGrid as
|
|
12
|
-
import { MetadataTable as
|
|
11
|
+
import { MetadataGrid as x } from "./components/metadata-grid/metadata-grid.js";
|
|
12
|
+
import { MetadataTable as A } from "./components/metadata-table/metadata-table.js";
|
|
13
13
|
import "./components/metadata-table/table-body/inline-editing-cell/inline-editing-cell.js";
|
|
14
14
|
import "./components/metadata-table/table-renderer.js";
|
|
15
15
|
import "./components/metadata-value/metadata-file-chip.js";
|
|
@@ -17,88 +17,105 @@ import "./components/metadata-value/metadata-file-field.js";
|
|
|
17
17
|
import "./components/metadata-value/metadata-location-field.js";
|
|
18
18
|
import "./components/metadata-value/metadata-radio-field.js";
|
|
19
19
|
import "./components/metadata-value/metadata-search-field.js";
|
|
20
|
-
import { Pagination as
|
|
20
|
+
import { Pagination as Z } from "./components/pagination/pagination.js";
|
|
21
21
|
import "./components/pagination/marker-based-pagination.js";
|
|
22
22
|
import "./components/pagination/offset-based-pagination.js";
|
|
23
23
|
import "./components/pagination/pagination-controls.js";
|
|
24
24
|
import "./components/sort-dropdown/sort-dropdown.js";
|
|
25
|
-
import { SwitchCase as
|
|
26
|
-
import { TooltipProvider as
|
|
27
|
-
import { useState as
|
|
28
|
-
import { jsx as o, jsxs as
|
|
29
|
-
import { ErrorState as
|
|
30
|
-
import
|
|
31
|
-
import '../../styles/metadata-view.css';const
|
|
32
|
-
container:
|
|
33
|
-
contentContainer:
|
|
25
|
+
import { SwitchCase as z, Case as s } from "./components/switch-case/switch-case.js";
|
|
26
|
+
import { TooltipProvider as F } from "@box/blueprint-web";
|
|
27
|
+
import { useState as l, useRef as U, useCallback as q } from "react";
|
|
28
|
+
import { jsx as o, jsxs as w, Fragment as H } from "react/jsx-runtime";
|
|
29
|
+
import { ErrorState as J } from "./components/error-state/error-state.js";
|
|
30
|
+
import K from "./components/empty-state/empty-state.js";
|
|
31
|
+
import '../../styles/metadata-view.css';const O = "_container_nykl3_5", Q = "_contentContainer_nykl3_14", T = {
|
|
32
|
+
container: O,
|
|
33
|
+
contentContainer: Q
|
|
34
34
|
};
|
|
35
|
-
function
|
|
36
|
-
actionBarProps:
|
|
37
|
-
columns:
|
|
38
|
-
tableProps:
|
|
39
|
-
hasError:
|
|
40
|
-
onRefresh:
|
|
41
|
-
initialViewMode:
|
|
42
|
-
paginationProps:
|
|
43
|
-
isLoading:
|
|
44
|
-
isSelectionEnabled:
|
|
45
|
-
...
|
|
35
|
+
function go({
|
|
36
|
+
actionBarProps: m,
|
|
37
|
+
columns: d,
|
|
38
|
+
tableProps: e,
|
|
39
|
+
hasError: V,
|
|
40
|
+
onRefresh: g,
|
|
41
|
+
initialViewMode: y = t.LIST,
|
|
42
|
+
paginationProps: C,
|
|
43
|
+
isLoading: f,
|
|
44
|
+
isSelectionEnabled: c,
|
|
45
|
+
...a
|
|
46
46
|
}) {
|
|
47
|
-
const [
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
iconColumnVariant:
|
|
51
|
-
} =
|
|
52
|
-
|
|
47
|
+
const [i, h] = l(y), [u, M] = l(void 0), [p, L] = l(0), S = U(null), D = () => {
|
|
48
|
+
i === t.LIST ? h(t.GRID) : h(t.LIST);
|
|
49
|
+
}, _ = !f && a.items.length === 0, k = m && m.sortDropdownProps && d.filter((n) => n.type !== "multiSelect" && n.type !== "enum"), {
|
|
50
|
+
iconColumnVariant: I
|
|
51
|
+
} = e || {}, R = I && I === N.COLUMN, r = e == null ? void 0 : e.onSortChange, E = q(({
|
|
52
|
+
column: n,
|
|
53
|
+
direction: v
|
|
54
|
+
}) => {
|
|
55
|
+
M({
|
|
56
|
+
column: n,
|
|
57
|
+
direction: v
|
|
58
|
+
}), r == null || r({
|
|
59
|
+
column: n,
|
|
60
|
+
direction: v
|
|
61
|
+
});
|
|
62
|
+
}, [r]), G = {
|
|
63
|
+
...e,
|
|
64
|
+
sortDescriptor: u,
|
|
65
|
+
onSortChange: E
|
|
66
|
+
};
|
|
67
|
+
return /* @__PURE__ */ o(F, {
|
|
53
68
|
children: /* @__PURE__ */ o("div", {
|
|
54
|
-
ref:
|
|
55
|
-
className:
|
|
56
|
-
children:
|
|
57
|
-
onRefresh:
|
|
58
|
-
}) : /* @__PURE__ */
|
|
59
|
-
children: [/* @__PURE__ */ o(
|
|
60
|
-
...
|
|
61
|
-
containerRef:
|
|
62
|
-
isIconColumnEnabled:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
ref: S,
|
|
70
|
+
className: T.container,
|
|
71
|
+
children: V ? /* @__PURE__ */ o(J, {
|
|
72
|
+
onRefresh: g
|
|
73
|
+
}) : /* @__PURE__ */ w(H, {
|
|
74
|
+
children: [/* @__PURE__ */ o(j, {
|
|
75
|
+
...m,
|
|
76
|
+
containerRef: S,
|
|
77
|
+
isIconColumnEnabled: R,
|
|
78
|
+
onSortDescriptorChange: M,
|
|
79
|
+
onViewModeClick: D,
|
|
80
|
+
onZoomLevelChange: L,
|
|
81
|
+
sortableColumns: k,
|
|
82
|
+
sortDescriptor: u,
|
|
83
|
+
viewMode: i,
|
|
84
|
+
zoomLevel: p
|
|
68
85
|
}), /* @__PURE__ */ o("div", {
|
|
69
|
-
className:
|
|
70
|
-
children: /* @__PURE__ */
|
|
71
|
-
children: [/* @__PURE__ */ o(
|
|
72
|
-
condition:
|
|
73
|
-
children: /* @__PURE__ */ o(
|
|
74
|
-
}), /* @__PURE__ */ o(
|
|
75
|
-
condition:
|
|
76
|
-
children: /* @__PURE__ */ o(
|
|
77
|
-
columns:
|
|
78
|
-
isLoading:
|
|
79
|
-
isSelectAllEnabled:
|
|
80
|
-
selectionMode:
|
|
81
|
-
zoomLevel:
|
|
82
|
-
...
|
|
83
|
-
...
|
|
86
|
+
className: T.contentContainer,
|
|
87
|
+
children: /* @__PURE__ */ w(z, {
|
|
88
|
+
children: [/* @__PURE__ */ o(s, {
|
|
89
|
+
condition: _,
|
|
90
|
+
children: /* @__PURE__ */ o(K, {})
|
|
91
|
+
}), /* @__PURE__ */ o(s, {
|
|
92
|
+
condition: i === t.LIST,
|
|
93
|
+
children: /* @__PURE__ */ o(A, {
|
|
94
|
+
columns: d,
|
|
95
|
+
isLoading: f,
|
|
96
|
+
isSelectAllEnabled: c,
|
|
97
|
+
selectionMode: c ? "multiple" : "none",
|
|
98
|
+
zoomLevel: p,
|
|
99
|
+
...a,
|
|
100
|
+
...G
|
|
84
101
|
})
|
|
85
|
-
}), /* @__PURE__ */ o(
|
|
86
|
-
condition:
|
|
87
|
-
children: /* @__PURE__ */ o(
|
|
88
|
-
selectionMode:
|
|
89
|
-
zoomLevel:
|
|
90
|
-
...
|
|
102
|
+
}), /* @__PURE__ */ o(s, {
|
|
103
|
+
condition: i === t.GRID,
|
|
104
|
+
children: /* @__PURE__ */ o(x, {
|
|
105
|
+
selectionMode: c ? "multiple" : "none",
|
|
106
|
+
zoomLevel: p,
|
|
107
|
+
...a
|
|
91
108
|
})
|
|
92
109
|
})]
|
|
93
110
|
})
|
|
94
|
-
}),
|
|
95
|
-
...
|
|
111
|
+
}), C && /* @__PURE__ */ o(Z, {
|
|
112
|
+
...C
|
|
96
113
|
})]
|
|
97
114
|
})
|
|
98
115
|
})
|
|
99
116
|
});
|
|
100
117
|
}
|
|
101
118
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
119
|
+
go as MetadataView,
|
|
120
|
+
go as default
|
|
104
121
|
};
|
package/dist/i18n/en-x-pseudo.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
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
|
-
"groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬
|
|
13
|
-
"groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬
|
|
14
|
-
"groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬
|
|
15
|
-
"groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬
|
|
16
|
-
"groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬
|
|
17
|
-
"groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬
|
|
18
|
-
"groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬
|
|
19
|
-
"groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬
|
|
20
|
-
"groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬
|
|
21
|
-
"groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬
|
|
12
|
+
"groupSharedFeatures.metadataView.filterRow.clearButton": "⟦萬 Ĉļėάг 國⟧",
|
|
13
|
+
"groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle": "⟦萬萬 ₣ϊĺέ ΤўΡê 國國⟧",
|
|
14
|
+
"groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder": "⟦萬萬萬萬 Ēиťėя κêỳωöŕďѕ 國國國國⟧",
|
|
15
|
+
"groupSharedFeatures.metadataView.filterRow.locationFilterTitle": "⟦萬萬 Ļõċãŧĭøй 國國⟧",
|
|
16
|
+
"groupSharedFeatures.metadataView.filterRow.textInputPlaceholder": "⟦萬萬 Ѕеτ Våļůè 國國⟧",
|
|
17
|
+
"groupSharedFeatures.metadataView.filterSidepanel.clearAllButton": "⟦萬萬 Ćľеάŗ Áľľ 國國⟧",
|
|
18
|
+
"groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel": "⟦萬 Çļøşè 國⟧",
|
|
19
|
+
"groupSharedFeatures.metadataView.filterSidepanel.filtersHeader": "⟦萬萬 ₣íĺťěřŝ 國國⟧",
|
|
20
|
+
"groupSharedFeatures.metadataView.filterSidepanel.showResultsButton": "⟦萬 Ѕеàŗçн 國⟧",
|
|
21
|
+
"groupSharedFeatures.metadataView.gridList.gridView": "⟦萬萬 Ġřîď Vіêш 國國⟧",
|
|
22
22
|
"groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel": "⟦ -- ⟧",
|
|
23
|
-
"groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬
|
|
24
|
-
"groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬
|
|
25
|
-
"groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬
|
|
26
|
-
"groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬
|
|
27
|
-
"groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬
|
|
28
|
-
"groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬
|
|
29
|
-
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬
|
|
30
|
-
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬
|
|
31
|
-
"groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬
|
|
32
|
-
"groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬
|
|
33
|
-
"groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 P
|
|
34
|
-
"groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 P
|
|
23
|
+
"groupSharedFeatures.metadataView.itemActionMenu.actionMenu": "⟦萬萬萬 Ąсťϊσл měʼnũ 國國國⟧",
|
|
24
|
+
"groupSharedFeatures.metadataView.itemList.errorMessage": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ŝŏmεťħιлĝ ωĕйť шґôйġ. Pĺêãśе яеƒŕёѕĥ ŧĥιѕ Ρàğè. 國國國國國國國國國國國國國國⟧",
|
|
25
|
+
"groupSharedFeatures.metadataView.itemList.listView": "⟦萬萬 Ľïŝť νīēŵ 國國⟧",
|
|
26
|
+
"groupSharedFeatures.metadataView.itemList.refreshButton": "⟦萬萬 Ŕĕƒґеśн 國國⟧",
|
|
27
|
+
"groupSharedFeatures.metadataView.itemList.selectAll": "⟦萬萬 Ѕεĺëçť άļľ 國國⟧",
|
|
28
|
+
"groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint": "⟦萬萬萬萬 Ŝеĺéčť ą ƒőļďĕг 國國國國⟧",
|
|
29
|
+
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel": "⟦萬 Ѕёάѓċħ 國⟧",
|
|
30
|
+
"groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel": "⟦萬 Čļéąř 國⟧",
|
|
31
|
+
"groupSharedFeatures.metadataView.pagination.nextPageButton": "⟦萬 Ńє×ţ 國⟧",
|
|
32
|
+
"groupSharedFeatures.metadataView.pagination.pageEntryStatus": "⟦萬萬萬萬萬萬萬萬萬萬萬 Şħöшĩŋğ {startEntryIndex} ťσ {endEntryIndex} øƒ {totalCount} ěŋŧŕĩęŝ 國國國國國國國國國國國⟧",
|
|
33
|
+
"groupSharedFeatures.metadataView.pagination.paginationLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pāğĩиàŧιòň ήàνîġáŧìőπ сοήτяóľŝ âлď ćūґŕěŋτ Ράġε íйƒσřmάťĩóń 國國國國國國國國國國國國國國國國國⟧",
|
|
34
|
+
"groupSharedFeatures.metadataView.pagination.previousPageButton": "⟦萬萬 Pѓєνįöũŝ 國國⟧"
|
|
35
35
|
}
|
|
@@ -1,66 +1,66 @@
|
|
|
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
|
# Button label to clear the current input in a textarea
|
|
22
|
-
groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬
|
|
22
|
+
groupSharedFeatures.metadataView.filterRow.clearButton = ⟦萬 Ĉļėάг 國⟧
|
|
23
23
|
# Title for the file type filter group
|
|
24
|
-
groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬
|
|
24
|
+
groupSharedFeatures.metadataView.filterRow.fileTypeFilterTitle = ⟦萬萬 ₣ϊĺέ ΤўΡê 國國⟧
|
|
25
25
|
# Placeholder text for the keyword search filter
|
|
26
|
-
groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬
|
|
26
|
+
groupSharedFeatures.metadataView.filterRow.keywordSearchFilterPlaceholder = ⟦萬萬萬萬 Ēиťėя κêỳωöŕďѕ 國國國國⟧
|
|
27
27
|
# Title for the location filter group
|
|
28
|
-
groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬
|
|
28
|
+
groupSharedFeatures.metadataView.filterRow.locationFilterTitle = ⟦萬萬 Ļõċãŧĭøй 國國⟧
|
|
29
29
|
# Placeholder text for the input field in the filter row
|
|
30
|
-
groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬
|
|
30
|
+
groupSharedFeatures.metadataView.filterRow.textInputPlaceholder = ⟦萬萬 Ѕеτ Våļůè 國國⟧
|
|
31
31
|
# Button label to clear all filters in the sidepanel
|
|
32
|
-
groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬
|
|
32
|
+
groupSharedFeatures.metadataView.filterSidepanel.clearAllButton = ⟦萬萬 Ćľеάŗ Áľľ 國國⟧
|
|
33
33
|
# Aria label for the close button in the filter sidepanel
|
|
34
|
-
groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬
|
|
34
|
+
groupSharedFeatures.metadataView.filterSidepanel.closeAriaLabel = ⟦萬 Çļøşè 國⟧
|
|
35
35
|
# Header for the filter sidepanel
|
|
36
|
-
groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬
|
|
36
|
+
groupSharedFeatures.metadataView.filterSidepanel.filtersHeader = ⟦萬萬 ₣íĺťěřŝ 國國⟧
|
|
37
37
|
# Button label to apply filters and show results
|
|
38
|
-
groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬
|
|
38
|
+
groupSharedFeatures.metadataView.filterSidepanel.showResultsButton = ⟦萬 Ѕеàŗçн 國⟧
|
|
39
39
|
# Label for the grid view of files and folders
|
|
40
|
-
groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬
|
|
40
|
+
groupSharedFeatures.metadataView.gridList.gridView = ⟦萬萬 Ġřîď Vіêш 國國⟧
|
|
41
41
|
# Label for the default unselected option in inline editing dropdowns
|
|
42
42
|
groupSharedFeatures.metadataView.inlineEditingCell.unselectedOptionLabel = ⟦ -- ⟧
|
|
43
43
|
# Label for the action menu for an item in the metadata view list
|
|
44
|
-
groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬
|
|
44
|
+
groupSharedFeatures.metadataView.itemActionMenu.actionMenu = ⟦萬萬萬 Ąсťϊσл měʼnũ 國國國⟧
|
|
45
45
|
# Error message displayed when metadata fails to load
|
|
46
|
-
groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬
|
|
46
|
+
groupSharedFeatures.metadataView.itemList.errorMessage = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ŝŏmεťħιлĝ ωĕйť шґôйġ. Pĺêãśе яеƒŕёѕĥ ŧĥιѕ Ρàğè. 國國國國國國國國國國國國國國⟧
|
|
47
47
|
# Label for the list of files and folders displayed in a list view
|
|
48
|
-
groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬
|
|
48
|
+
groupSharedFeatures.metadataView.itemList.listView = ⟦萬萬 Ľïŝť νīēŵ 國國⟧
|
|
49
49
|
# Label for the refresh button in error state
|
|
50
|
-
groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬
|
|
50
|
+
groupSharedFeatures.metadataView.itemList.refreshButton = ⟦萬萬 Ŕĕƒґеśн 國國⟧
|
|
51
51
|
# Label for the select all checkbox in the metadata table
|
|
52
|
-
groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬
|
|
52
|
+
groupSharedFeatures.metadataView.itemList.selectAll = ⟦萬萬 Ѕεĺëçť άļľ 國國⟧
|
|
53
53
|
# Placeholder for select folder trigger
|
|
54
|
-
groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬
|
|
54
|
+
groupSharedFeatures.metadataView.metadataValue.metadataLocation.locationTriggerHint = ⟦萬萬萬萬 Ŝеĺéčť ą ƒőļďĕг 國國國國⟧
|
|
55
55
|
# Aria label for the search input
|
|
56
|
-
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬
|
|
56
|
+
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputAriaLabel = ⟦萬 Ѕёάѓċħ 國⟧
|
|
57
57
|
# Aria label for the clear button in the search input
|
|
58
|
-
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬
|
|
58
|
+
groupSharedFeatures.metadataView.metadataValue.metadataSearch.searchInputClearAriaLabel = ⟦萬 Čļéąř 國⟧
|
|
59
59
|
# Label for the next page button
|
|
60
|
-
groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬
|
|
60
|
+
groupSharedFeatures.metadataView.pagination.nextPageButton = ⟦萬 Ńє×ţ 國⟧
|
|
61
61
|
# Pagination menu status with the range of entries shown
|
|
62
|
-
groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬
|
|
62
|
+
groupSharedFeatures.metadataView.pagination.pageEntryStatus = ⟦萬萬萬萬萬萬萬萬萬萬萬 Şħöшĩŋğ {startEntryIndex} ťσ {endEntryIndex} øƒ {totalCount} ěŋŧŕĩęŝ 國國國國國國國國國國國⟧
|
|
63
63
|
# Aria label for the pagination component, which includes entry status and previous/next page controls
|
|
64
|
-
groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 P
|
|
64
|
+
groupSharedFeatures.metadataView.pagination.paginationLabel = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Pāğĩиàŧιòň ήàνîġáŧìőπ сοήτяóľŝ âлď ćūґŕěŋτ Ράġε íйƒσřmάťĩóń 國國國國國國國國國國國國國國國國國⟧
|
|
65
65
|
# Label for the previous page button
|
|
66
|
-
groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 P
|
|
66
|
+
groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pѓєνįöũŝ 國國⟧
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SortDescriptor } from 'react-aria-components';
|
|
1
2
|
import { Column, ViewMode } from '../../types';
|
|
2
3
|
import { FilterRowProps } from '../filter-row';
|
|
3
4
|
import { SortDropdownProps } from '../sort-dropdown';
|
|
@@ -13,7 +14,9 @@ export interface ActionBarProps extends Omit<FilterRowProps, 'filterGroups'> {
|
|
|
13
14
|
zoomLevel?: number;
|
|
14
15
|
}
|
|
15
16
|
interface ActionBarInternalProps extends ActionBarProps {
|
|
17
|
+
onSortDescriptorChange: (sortDescriptor: SortDescriptor) => void;
|
|
16
18
|
sortableColumns: Column[];
|
|
19
|
+
sortDescriptor: SortDescriptor;
|
|
17
20
|
}
|
|
18
|
-
export declare const ActionBar: ({ isIconColumnEnabled, isViewModeButtonDisabled, onViewModeClick, onZoomLevelChange, sortableColumns, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const ActionBar: ({ isIconColumnEnabled, isViewModeButtonDisabled, onSortDescriptorChange, onViewModeClick, onZoomLevelChange, sortableColumns, sortDescriptor, sortDropdownProps, viewMode, zoomLevel, ...rest }: ActionBarInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
22
|
export {};
|
|
@@ -6,7 +6,9 @@ export interface SortDropdownProps {
|
|
|
6
6
|
onSortChange: (sortDescriptor: SortDescriptor) => void;
|
|
7
7
|
}
|
|
8
8
|
interface SortDropdownInternalProps extends SortDropdownProps {
|
|
9
|
+
onSortDescriptorChange: (sortDescriptor: SortDescriptor) => void;
|
|
9
10
|
sortableColumns: Column[];
|
|
11
|
+
sortDescriptor: SortDescriptor;
|
|
10
12
|
}
|
|
11
|
-
export declare const SortDropdown: ({ sortableColumns, initialSortByColumnId, initialSortDirection, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const SortDropdown: ({ onSortDescriptorChange, sortableColumns, sortDescriptor, initialSortByColumnId, initialSortDirection, onSortChange, }: SortDropdownInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-view",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@box/blueprint-web": "^12.66.0",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"react-intl": "^6.4.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@box/blueprint-web": "^12.76.
|
|
21
|
+
"@box/blueprint-web": "^12.76.1",
|
|
22
22
|
"@box/blueprint-web-assets": "^4.68.0",
|
|
23
|
-
"@box/box-item-type-selector": "^0.
|
|
23
|
+
"@box/box-item-type-selector": "^0.72.1",
|
|
24
24
|
"@box/eslint-plugin-blueprint": "1.0.4",
|
|
25
|
-
"@box/item-icon": "^0.
|
|
26
|
-
"@box/metadata-filter": "^1.
|
|
25
|
+
"@box/item-icon": "^0.26.1",
|
|
26
|
+
"@box/metadata-filter": "^1.29.1",
|
|
27
27
|
"@box/storybook-utils": "0.14.4",
|
|
28
28
|
"@box/types": "0.2.1",
|
|
29
29
|
"@tanstack/react-virtual": "^3.10.8",
|