@box/metadata-view 1.26.1 → 1.27.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/index.js +41 -41
- package/dist/chunks/types.js +3 -3
- package/dist/esm/lib/components/filter-row/initial-field-values.js +12 -13
- package/dist/esm/lib/components/filter-row/metadata-filter-chip.js +1 -0
- package/dist/esm/lib/components/filter-row/predefinedFilters/index.js +2 -2
- package/dist/esm/lib/components/filter-row/select-filter-chip.js +39 -40
- package/dist/esm/lib/components/filter-sidepanel/filter-side-panel.js +36 -36
- package/dist/esm/lib/components/filter-sidepanel/filter.js +7 -4
- package/dist/esm/lib/components/item-action-menu/item-action-menu.js +103 -103
- package/dist/esm/lib/components/metadata-grid/metadata-grid.js +29 -30
- package/dist/esm/lib/components/metadata-table/actionColumn.js +3 -3
- package/dist/esm/lib/components/metadata-table/hooks/useInfiniteScrollTableItems.js +13 -16
- package/dist/esm/lib/components/metadata-table/table-body/table-body-with-data.js +140 -144
- package/dist/esm/lib/components/metadata-table/table-renderer.js +35 -35
- package/dist/esm/lib/components/metadata-value/metadata-checkbox-field.js +14 -15
- package/dist/esm/lib/components/metadata-value/metadata-file-chip.js +13 -14
- package/dist/esm/lib/components/metadata-value/metadata-file-field.js +12 -13
- package/dist/esm/lib/components/metadata-value/metadata-location-field.js +31 -32
- package/dist/esm/lib/components/metadata-value/metadata-radio-field.js +10 -11
- package/dist/esm/lib/components/metadata-value/metadata-search-field.js +22 -23
- package/dist/esm/lib/components/sort-dropdown/sort-dropdown.js +35 -35
- package/dist/esm/lib/metadata-view.js +59 -59
- package/dist/i18n/en-x-pseudo.js +31 -31
- package/dist/i18n/en-x-pseudo.properties +31 -31
- package/dist/styles/action-bar.css +1 -1
- package/package.json +12 -12
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import { useFormikContext as
|
|
1
|
+
import { useFormikContext as u } from "formik";
|
|
2
2
|
import { Radio as a } from "@box/blueprint-web";
|
|
3
|
-
import { jsx as o, jsxs as
|
|
4
|
-
const
|
|
3
|
+
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
const c = ({
|
|
5
5
|
id: t,
|
|
6
6
|
name: i,
|
|
7
7
|
placeholder: l
|
|
8
8
|
}) => {
|
|
9
|
-
var r, m, s, u;
|
|
10
9
|
const {
|
|
11
10
|
values: d,
|
|
12
|
-
setFieldValue:
|
|
13
|
-
} =
|
|
11
|
+
setFieldValue: r
|
|
12
|
+
} = u(), m = d.metadata.fields[t]?.value?.enum?.[0] || "", s = d.metadata.fields[t]?.options || [];
|
|
14
13
|
return /* @__PURE__ */ o(a.Legend, {
|
|
15
14
|
header: i,
|
|
16
|
-
children: /* @__PURE__ */
|
|
15
|
+
children: /* @__PURE__ */ n(a.Group, {
|
|
17
16
|
loop: !0,
|
|
18
17
|
name: i,
|
|
19
18
|
onValueChange: (e) => {
|
|
20
|
-
|
|
19
|
+
r(`metadata.fields.${t}.value.enum[0]`, e);
|
|
21
20
|
},
|
|
22
|
-
value:
|
|
21
|
+
value: m,
|
|
23
22
|
children: [l && /* @__PURE__ */ o(a.Item, {
|
|
24
23
|
"data-target-id": `RadioItem-filter_${t}_placeholder`,
|
|
25
24
|
label: l,
|
|
26
25
|
value: ""
|
|
27
|
-
}, l),
|
|
26
|
+
}, l), s.map(({
|
|
28
27
|
key: e
|
|
29
28
|
}) => /* @__PURE__ */ o(a.Item, {
|
|
30
29
|
"data-target-id": `RadioItem-filter_${t}_${e}`,
|
|
@@ -35,5 +34,5 @@ const R = ({
|
|
|
35
34
|
});
|
|
36
35
|
};
|
|
37
36
|
export {
|
|
38
|
-
|
|
37
|
+
c as MetadataRadioField
|
|
39
38
|
};
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { SearchInput as
|
|
2
|
-
import { useFormikContext as
|
|
3
|
-
import { useIntl as
|
|
4
|
-
import
|
|
5
|
-
import { jsx as
|
|
6
|
-
const
|
|
1
|
+
import { SearchInput as m } from "@box/blueprint-web";
|
|
2
|
+
import { useFormikContext as i } from "formik";
|
|
3
|
+
import { useIntl as p } from "react-intl";
|
|
4
|
+
import r from "./messages.js";
|
|
5
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
6
|
+
const v = ({
|
|
7
7
|
id: e,
|
|
8
|
-
name:
|
|
9
|
-
placeholder:
|
|
8
|
+
name: l,
|
|
9
|
+
placeholder: o
|
|
10
10
|
}) => {
|
|
11
|
-
var o, l;
|
|
12
11
|
const {
|
|
13
|
-
formatMessage:
|
|
14
|
-
} =
|
|
15
|
-
values:
|
|
16
|
-
setFieldValue:
|
|
17
|
-
} =
|
|
18
|
-
return /* @__PURE__ */
|
|
12
|
+
formatMessage: a
|
|
13
|
+
} = p(), {
|
|
14
|
+
values: n,
|
|
15
|
+
setFieldValue: t
|
|
16
|
+
} = i(), s = n.metadata.fields[e]?.value?.enum;
|
|
17
|
+
return /* @__PURE__ */ c(m.Controlled, {
|
|
19
18
|
"data-target-id": `SearchInputControlled-filter_${e}`,
|
|
20
19
|
id: e,
|
|
21
|
-
name:
|
|
22
|
-
onChange: (
|
|
23
|
-
onClearInput: () =>
|
|
24
|
-
placeholder:
|
|
25
|
-
searchInputAriaLabel:
|
|
26
|
-
searchInputClearAriaLabel:
|
|
27
|
-
value:
|
|
20
|
+
name: l,
|
|
21
|
+
onChange: (u) => t(`metadata.fields.${e}.value.enum[0]`, u.target.value),
|
|
22
|
+
onClearInput: () => t(`metadata.fields.${e}.value.enum`, []),
|
|
23
|
+
placeholder: o,
|
|
24
|
+
searchInputAriaLabel: a(r.searchInputAriaLabel),
|
|
25
|
+
searchInputClearAriaLabel: a(r.searchInputClearAriaLabel),
|
|
26
|
+
value: s?.[0] || ""
|
|
28
27
|
});
|
|
29
28
|
};
|
|
30
29
|
export {
|
|
31
|
-
|
|
30
|
+
v as MetadataSearchField
|
|
32
31
|
};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { DropdownMenu as
|
|
2
|
-
import { ArrowUp as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { jsxs as
|
|
5
|
-
const
|
|
6
|
-
onSortDescriptorChange:
|
|
7
|
-
sortableColumns:
|
|
8
|
-
sortDescriptor:
|
|
9
|
-
initialSortByColumnId: l =
|
|
10
|
-
initialSortDirection:
|
|
11
|
-
onSortChange:
|
|
1
|
+
import { DropdownMenu as o, TriggerButton as D } from "@box/blueprint-web";
|
|
2
|
+
import { ArrowUp as v, ArrowDown as M } from "@box/blueprint-web-assets/icons/Fill";
|
|
3
|
+
import { useState as m } from "react";
|
|
4
|
+
import { jsxs as R, jsx as c } from "react/jsx-runtime";
|
|
5
|
+
const V = ({
|
|
6
|
+
onSortDescriptorChange: d,
|
|
7
|
+
sortableColumns: r,
|
|
8
|
+
sortDescriptor: t,
|
|
9
|
+
initialSortByColumnId: l = r[0].id,
|
|
10
|
+
initialSortDirection: p = "ascending",
|
|
11
|
+
onSortChange: u
|
|
12
12
|
}) => {
|
|
13
|
-
const
|
|
14
|
-
if (n ===
|
|
15
|
-
const
|
|
16
|
-
|
|
13
|
+
const s = new Map(r.map((n) => [n.id, n.textValue])), [w, h] = m(l), [f, g] = m(p), e = t?.column != null ? String(t.column) : w, a = t?.direction ?? f, x = (n) => {
|
|
14
|
+
if (n === e) {
|
|
15
|
+
const i = a === "ascending" ? "descending" : "ascending";
|
|
16
|
+
g(i), d({
|
|
17
17
|
column: n,
|
|
18
|
-
direction:
|
|
19
|
-
}),
|
|
18
|
+
direction: i
|
|
19
|
+
}), u({
|
|
20
20
|
column: n,
|
|
21
|
-
direction:
|
|
21
|
+
direction: i
|
|
22
22
|
});
|
|
23
23
|
} else
|
|
24
|
-
|
|
24
|
+
h(n), g("ascending"), d({
|
|
25
25
|
column: n,
|
|
26
26
|
direction: "ascending"
|
|
27
|
-
}),
|
|
27
|
+
}), u({
|
|
28
28
|
column: n,
|
|
29
29
|
direction: "ascending"
|
|
30
30
|
});
|
|
31
31
|
};
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
children: [/* @__PURE__ */
|
|
34
|
-
children: /* @__PURE__ */
|
|
35
|
-
caretDirection:
|
|
36
|
-
label:
|
|
37
|
-
startIcon:
|
|
32
|
+
return /* @__PURE__ */ R(o.Root, {
|
|
33
|
+
children: [/* @__PURE__ */ c(o.Trigger, {
|
|
34
|
+
children: /* @__PURE__ */ c(D, {
|
|
35
|
+
caretDirection: a === "ascending" ? "up" : "down",
|
|
36
|
+
label: s.get(e),
|
|
37
|
+
startIcon: a === "ascending" ? v : M,
|
|
38
38
|
variant: "tertiary"
|
|
39
39
|
})
|
|
40
|
-
}), /* @__PURE__ */
|
|
41
|
-
children: /* @__PURE__ */
|
|
42
|
-
onValueChange:
|
|
43
|
-
value:
|
|
44
|
-
children:
|
|
40
|
+
}), /* @__PURE__ */ c(o.Content, {
|
|
41
|
+
children: /* @__PURE__ */ c(o.RadioGroup, {
|
|
42
|
+
onValueChange: x,
|
|
43
|
+
value: e,
|
|
44
|
+
children: r.map(({
|
|
45
45
|
id: n,
|
|
46
|
-
textValue:
|
|
47
|
-
}) => /* @__PURE__ */
|
|
46
|
+
textValue: i
|
|
47
|
+
}) => /* @__PURE__ */ c(o.RadioSelectItem, {
|
|
48
48
|
value: n,
|
|
49
|
-
children:
|
|
49
|
+
children: i
|
|
50
50
|
}, n))
|
|
51
51
|
})
|
|
52
52
|
})]
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
V as SortDropdown
|
|
57
57
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ActionBar as
|
|
1
|
+
import { V as t, I as O } from "../../chunks/types.js";
|
|
2
|
+
import { ActionBar as Z } 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 b } from "./components/metadata-grid/metadata-grid.js";
|
|
12
|
+
import { MetadataTable as k } 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,102 +17,102 @@ 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 w, Fragment as
|
|
29
|
-
import { ErrorState as
|
|
30
|
-
import
|
|
31
|
-
import '../../styles/metadata-view.css';const
|
|
32
|
-
container:
|
|
33
|
-
contentContainer:
|
|
25
|
+
import { SwitchCase as A, Case as c } from "./components/switch-case/switch-case.js";
|
|
26
|
+
import { TooltipProvider as F } from "@box/blueprint-web";
|
|
27
|
+
import { useState as p, 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 Q = "_container_1o9go_5", W = "_contentContainer_1o9go_15", T = {
|
|
32
|
+
container: Q,
|
|
33
|
+
contentContainer: W
|
|
34
34
|
};
|
|
35
35
|
function _o({
|
|
36
|
-
actionBarProps:
|
|
37
|
-
columns:
|
|
38
|
-
tableProps:
|
|
36
|
+
actionBarProps: r,
|
|
37
|
+
columns: s,
|
|
38
|
+
tableProps: i,
|
|
39
39
|
hasError: V,
|
|
40
40
|
onRefresh: L,
|
|
41
41
|
initialViewMode: _ = t.LIST,
|
|
42
42
|
paginationProps: l,
|
|
43
|
-
isLoading:
|
|
43
|
+
isLoading: d,
|
|
44
44
|
isSelectAllEnabled: y = !0,
|
|
45
|
-
isSelectionEnabled:
|
|
45
|
+
isSelectionEnabled: C,
|
|
46
46
|
areSelectionCheckboxesDisabled: h,
|
|
47
|
-
...
|
|
47
|
+
...m
|
|
48
48
|
}) {
|
|
49
|
-
const [
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
iconColumnVariant:
|
|
53
|
-
} =
|
|
49
|
+
const [n, f] = p(_), [u, S] = p(void 0), [a, D] = p(0), M = U(null), R = () => {
|
|
50
|
+
n === t.LIST ? f(t.GRID) : f(t.LIST);
|
|
51
|
+
}, x = !d && m.items.length === 0, E = r && r.sortDropdownProps && s.filter((e) => e.type !== "multiSelect" && e.type !== "enum"), {
|
|
52
|
+
iconColumnVariant: g
|
|
53
|
+
} = i || {}, G = g && g === O.COLUMN, I = i?.onSortChange, N = q(({
|
|
54
54
|
column: e,
|
|
55
55
|
direction: v
|
|
56
56
|
}) => {
|
|
57
57
|
S({
|
|
58
58
|
column: e,
|
|
59
59
|
direction: v
|
|
60
|
-
}),
|
|
60
|
+
}), I?.({
|
|
61
61
|
column: e,
|
|
62
62
|
direction: v
|
|
63
63
|
});
|
|
64
|
-
}, [
|
|
65
|
-
...
|
|
66
|
-
sortDescriptor:
|
|
67
|
-
onSortChange:
|
|
64
|
+
}, [I]), j = {
|
|
65
|
+
...i,
|
|
66
|
+
sortDescriptor: u,
|
|
67
|
+
onSortChange: N
|
|
68
68
|
};
|
|
69
|
-
return /* @__PURE__ */ o(
|
|
69
|
+
return /* @__PURE__ */ o(F, {
|
|
70
70
|
children: /* @__PURE__ */ o("div", {
|
|
71
|
-
ref:
|
|
71
|
+
ref: M,
|
|
72
72
|
className: T.container,
|
|
73
|
-
children: V ? /* @__PURE__ */ o(
|
|
73
|
+
children: V ? /* @__PURE__ */ o(J, {
|
|
74
74
|
onRefresh: L
|
|
75
|
-
}) : /* @__PURE__ */ w(
|
|
76
|
-
children: [/* @__PURE__ */ o(
|
|
77
|
-
...
|
|
78
|
-
containerRef:
|
|
79
|
-
isIconColumnEnabled:
|
|
75
|
+
}) : /* @__PURE__ */ w(H, {
|
|
76
|
+
children: [/* @__PURE__ */ o(Z, {
|
|
77
|
+
...r,
|
|
78
|
+
containerRef: M,
|
|
79
|
+
isIconColumnEnabled: G,
|
|
80
80
|
onSortDescriptorChange: S,
|
|
81
81
|
onViewModeClick: R,
|
|
82
82
|
onZoomLevelChange: D,
|
|
83
|
-
sortableColumns:
|
|
84
|
-
sortDescriptor:
|
|
85
|
-
viewMode:
|
|
83
|
+
sortableColumns: E,
|
|
84
|
+
sortDescriptor: u,
|
|
85
|
+
viewMode: n,
|
|
86
86
|
zoomLevel: a
|
|
87
87
|
}), /* @__PURE__ */ o("div", {
|
|
88
88
|
className: T.contentContainer,
|
|
89
|
-
children: /* @__PURE__ */ w(
|
|
90
|
-
children: [/* @__PURE__ */ o(
|
|
91
|
-
condition:
|
|
92
|
-
children: /* @__PURE__ */ o(
|
|
93
|
-
}), /* @__PURE__ */ o(
|
|
94
|
-
condition:
|
|
95
|
-
children: /* @__PURE__ */ o(
|
|
89
|
+
children: /* @__PURE__ */ w(A, {
|
|
90
|
+
children: [/* @__PURE__ */ o(c, {
|
|
91
|
+
condition: x,
|
|
92
|
+
children: /* @__PURE__ */ o(K, {})
|
|
93
|
+
}), /* @__PURE__ */ o(c, {
|
|
94
|
+
condition: n === t.LIST,
|
|
95
|
+
children: /* @__PURE__ */ o(k, {
|
|
96
96
|
areSelectionCheckboxesDisabled: h,
|
|
97
|
-
columns:
|
|
98
|
-
isLoading:
|
|
97
|
+
columns: s,
|
|
98
|
+
isLoading: d,
|
|
99
99
|
isSelectAllEnabled: y,
|
|
100
|
-
selectionMode:
|
|
100
|
+
selectionMode: C ? "multiple" : "none",
|
|
101
101
|
zoomLevel: a,
|
|
102
|
-
...
|
|
103
|
-
...
|
|
102
|
+
...m,
|
|
103
|
+
...j
|
|
104
104
|
})
|
|
105
|
-
}), /* @__PURE__ */ o(
|
|
106
|
-
condition:
|
|
107
|
-
children: /* @__PURE__ */ o(
|
|
105
|
+
}), /* @__PURE__ */ o(c, {
|
|
106
|
+
condition: n === t.GRID,
|
|
107
|
+
children: /* @__PURE__ */ o(b, {
|
|
108
108
|
areSelectionCheckboxesDisabled: h,
|
|
109
|
-
selectionMode:
|
|
109
|
+
selectionMode: C ? "multiple" : "none",
|
|
110
110
|
zoomLevel: a,
|
|
111
|
-
...
|
|
111
|
+
...m
|
|
112
112
|
})
|
|
113
113
|
})]
|
|
114
114
|
})
|
|
115
|
-
}), l && /* @__PURE__ */ o(
|
|
115
|
+
}), l && /* @__PURE__ */ o(z, {
|
|
116
116
|
...l
|
|
117
117
|
})]
|
|
118
118
|
})
|
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ǻŧіόʼn 國國國國國國國國國國國國國國國國國⟧",
|
|
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ǻŧіόʼn 國國國國國國國國國國國國國國國國國⟧
|
|
65
65
|
# Label for the previous page button
|
|
66
|
-
groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 P
|
|
66
|
+
groupSharedFeatures.metadataView.pagination.previousPageButton = ⟦萬萬 Pяēνіόũś 國國⟧
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._actionBar_bbxsv_1{display:flex;justify-content:space-between;padding:var(--space-4) 0}@media
|
|
1
|
+
._actionBar_bbxsv_1{display:flex;justify-content:space-between;padding:var(--space-4) 0}@media(max-width:374px){._filterRow_bbxsv_8{display:none}}._additionalActions_bbxsv_13{display:flex;height:var(--size-8)}@media(max-width:374px){._additionalActions_bbxsv_13{flex-grow:1;justify-content:space-between}}._viewModeButtonContainer_bbxsv_24{display:flex;align-items:center}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-view",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@box/blueprint-web": "^12.
|
|
7
|
-
"@box/blueprint-web-assets": "^4.
|
|
8
|
-
"@box/box-item-type-selector": "^
|
|
9
|
-
"@box/item-icon": "^
|
|
10
|
-
"@box/metadata-filter": "^1.
|
|
6
|
+
"@box/blueprint-web": "^12.103.3",
|
|
7
|
+
"@box/blueprint-web-assets": "^4.86.3",
|
|
8
|
+
"@box/box-item-type-selector": "^1.15.0",
|
|
9
|
+
"@box/item-icon": "^2.6.0",
|
|
10
|
+
"@box/metadata-filter": "^1.53.0",
|
|
11
11
|
"@box/types": "0.2.1",
|
|
12
12
|
"@tanstack/react-virtual": "^3.10.8",
|
|
13
13
|
"formik": "^2.4.5",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"react-intl": "^6.4.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@box/blueprint-web": "^12.103.
|
|
22
|
-
"@box/blueprint-web-assets": "^4.86.
|
|
23
|
-
"@box/box-item-type-selector": "^1.
|
|
21
|
+
"@box/blueprint-web": "^12.103.3",
|
|
22
|
+
"@box/blueprint-web-assets": "^4.86.3",
|
|
23
|
+
"@box/box-item-type-selector": "^1.15.0",
|
|
24
24
|
"@box/eslint-plugin-blueprint": "1.0.5",
|
|
25
|
-
"@box/item-icon": "^2.
|
|
26
|
-
"@box/metadata-filter": "^1.
|
|
27
|
-
"@box/storybook-utils": "0.14.
|
|
25
|
+
"@box/item-icon": "^2.6.0",
|
|
26
|
+
"@box/metadata-filter": "^1.53.0",
|
|
27
|
+
"@box/storybook-utils": "0.14.24",
|
|
28
28
|
"@box/types": "2.0.0",
|
|
29
29
|
"@tanstack/react-virtual": "^3.10.8",
|
|
30
30
|
"react-intl": "^6.4.2"
|