@react-spectrum/list 3.0.0-alpha.0 → 3.0.0-alpha.11
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/main.css +1 -2
- package/dist/main.js +915 -373
- package/dist/main.js.map +1 -1
- package/dist/module.js +929 -328
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +9 -10
- package/dist/types.d.ts.map +1 -1
- package/package.json +41 -30
- package/src/DragPreview.tsx +60 -0
- package/src/InsertionIndicator.tsx +42 -0
- package/src/ListView.tsx +235 -63
- package/src/ListViewItem.tsx +218 -24
- package/src/RootDropIndicator.tsx +25 -0
- package/src/styles.css +592 -0
- package/dist/main.css.map +0 -1
- package/src/listview.css +0 -49
package/dist/main.js
CHANGED
|
@@ -1,407 +1,949 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
require("./main.css");
|
|
2
|
+
var $k9Du2$reactstatelycollections = require("@react-stately/collections");
|
|
3
|
+
var $k9Du2$reactspectrumutils = require("@react-spectrum/utils");
|
|
4
|
+
var $k9Du2$reactariautils = require("@react-aria/utils");
|
|
5
|
+
var $k9Du2$reactstatelylayout = require("@react-stately/layout");
|
|
6
|
+
var $k9Du2$reactstatelylist = require("@react-stately/list");
|
|
7
|
+
var $k9Du2$reactspectrumprogress = require("@react-spectrum/progress");
|
|
8
|
+
var $k9Du2$react = require("react");
|
|
9
|
+
var $k9Du2$reactstatelyvirtualizer = require("@react-stately/virtualizer");
|
|
10
|
+
var $k9Du2$reactariai18n = require("@react-aria/i18n");
|
|
11
|
+
var $k9Du2$reactarialist = require("@react-aria/list");
|
|
12
|
+
var $k9Du2$reactspectrumprovider = require("@react-spectrum/provider");
|
|
13
|
+
var $k9Du2$reactariavirtualizer = require("@react-aria/virtualizer");
|
|
14
|
+
var $k9Du2$reactariavisuallyhidden = require("@react-aria/visually-hidden");
|
|
15
|
+
var $k9Du2$reactspectrumcheckbox = require("@react-spectrum/checkbox");
|
|
16
|
+
var $k9Du2$spectrumiconsuiChevronLeftMedium = require("@spectrum-icons/ui/ChevronLeftMedium");
|
|
17
|
+
var $k9Du2$spectrumiconsuiChevronRightMedium = require("@spectrum-icons/ui/ChevronRightMedium");
|
|
18
|
+
var $k9Du2$reacttransitiongroup = require("react-transition-group");
|
|
19
|
+
var $k9Du2$reactariafocus = require("@react-aria/focus");
|
|
20
|
+
var $k9Du2$reactspectrumlayout = require("@react-spectrum/layout");
|
|
21
|
+
var $k9Du2$reactariainteractions = require("@react-aria/interactions");
|
|
22
|
+
var $k9Du2$spectrumiconsuiListGripper = require("@spectrum-icons/ui/ListGripper");
|
|
23
|
+
var $k9Du2$reactspectrumtext = require("@react-spectrum/text");
|
|
24
|
+
var $k9Du2$reactariabutton = require("@react-aria/button");
|
|
25
|
+
|
|
26
|
+
function $parcel$export(e, n, v, s) {
|
|
27
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28
|
+
}
|
|
29
|
+
function $parcel$interopDefault(a) {
|
|
30
|
+
return a && a.__esModule ? a.default : a;
|
|
31
|
+
}
|
|
4
32
|
|
|
5
|
-
exports
|
|
33
|
+
$parcel$export(module.exports, "ListView", () => $60684b441be8e84c$export$84d0dd190d551cd1);
|
|
34
|
+
$parcel$export(module.exports, "Item", () => $k9Du2$reactstatelycollections.Item);
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
var $279507a6f189e509$exports = {};
|
|
39
|
+
|
|
40
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView", () => $279507a6f189e509$export$4ad4709e9aee8e02, (v) => $279507a6f189e509$export$4ad4709e9aee8e02 = v);
|
|
41
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView-row", () => $279507a6f189e509$export$f80410436c6352c8, (v) => $279507a6f189e509$export$f80410436c6352c8 = v);
|
|
42
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--emphasized", () => $279507a6f189e509$export$eb0d5352b2a55473, (v) => $279507a6f189e509$export$eb0d5352b2a55473 = v);
|
|
43
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem", () => $279507a6f189e509$export$ce8c93b50eec2d4f, (v) => $279507a6f189e509$export$ce8c93b50eec2d4f = v);
|
|
44
|
+
$parcel$export($279507a6f189e509$exports, "is-selected", () => $279507a6f189e509$export$1e0fb04f31d3c22a, (v) => $279507a6f189e509$export$1e0fb04f31d3c22a = v);
|
|
45
|
+
$parcel$export($279507a6f189e509$exports, "is-hovered", () => $279507a6f189e509$export$b8813cd5d7824ce7, (v) => $279507a6f189e509$export$b8813cd5d7824ce7 = v);
|
|
46
|
+
$parcel$export($279507a6f189e509$exports, "is-active", () => $279507a6f189e509$export$20fd0f7cd4e6112f, (v) => $279507a6f189e509$export$20fd0f7cd4e6112f = v);
|
|
47
|
+
$parcel$export($279507a6f189e509$exports, "focus-ring", () => $279507a6f189e509$export$f39a09f249340e2a, (v) => $279507a6f189e509$export$f39a09f249340e2a = v);
|
|
48
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem--firstRow", () => $279507a6f189e509$export$60162f05499b7560, (v) => $279507a6f189e509$export$60162f05499b7560 = v);
|
|
49
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--quiet", () => $279507a6f189e509$export$b01cb9680b0b8d22, (v) => $279507a6f189e509$export$b01cb9680b0b8d22 = v);
|
|
50
|
+
$parcel$export($279507a6f189e509$exports, "is-next-selected", () => $279507a6f189e509$export$53aa811f86efbfad, (v) => $279507a6f189e509$export$53aa811f86efbfad = v);
|
|
51
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem--isFlushBottom", () => $279507a6f189e509$export$f9ed481cac4d935a, (v) => $279507a6f189e509$export$f9ed481cac4d935a = v);
|
|
52
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--loadingMore", () => $279507a6f189e509$export$5aa06adeaa92dbca, (v) => $279507a6f189e509$export$5aa06adeaa92dbca = v);
|
|
53
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem--lastRow", () => $279507a6f189e509$export$659c081622dc13b0, (v) => $279507a6f189e509$export$659c081622dc13b0 = v);
|
|
54
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--isVerticalScrollbarVisible", () => $279507a6f189e509$export$1bf50375883926, (v) => $279507a6f189e509$export$1bf50375883926 = v);
|
|
55
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--isHorizontalScrollbarVisible", () => $279507a6f189e509$export$d9b13621bc5dd4d1, (v) => $279507a6f189e509$export$d9b13621bc5dd4d1 = v);
|
|
56
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--wrap", () => $279507a6f189e509$export$68b45d42c77fe1cf, (v) => $279507a6f189e509$export$68b45d42c77fe1cf = v);
|
|
57
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-content", () => $279507a6f189e509$export$dc2b0b08d47555, (v) => $279507a6f189e509$export$dc2b0b08d47555 = v);
|
|
58
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-description", () => $279507a6f189e509$export$5d2adfeb248e654a, (v) => $279507a6f189e509$export$5d2adfeb248e654a = v);
|
|
59
|
+
$parcel$export($279507a6f189e509$exports, "round-tops", () => $279507a6f189e509$export$3b4577d06eb82ec0, (v) => $279507a6f189e509$export$3b4577d06eb82ec0 = v);
|
|
60
|
+
$parcel$export($279507a6f189e509$exports, "round-bottoms", () => $279507a6f189e509$export$8a26470723c97997, (v) => $279507a6f189e509$export$8a26470723c97997 = v);
|
|
61
|
+
$parcel$export($279507a6f189e509$exports, "is-focused", () => $279507a6f189e509$export$e7dc768d35940237, (v) => $279507a6f189e509$export$e7dc768d35940237 = v);
|
|
62
|
+
$parcel$export($279507a6f189e509$exports, "is-disabled", () => $279507a6f189e509$export$d35bc1e505d1ebbf, (v) => $279507a6f189e509$export$d35bc1e505d1ebbf = v);
|
|
63
|
+
$parcel$export($279507a6f189e509$exports, "has-checkbox", () => $279507a6f189e509$export$27f4d14f7fc5b94, (v) => $279507a6f189e509$export$27f4d14f7fc5b94 = v);
|
|
64
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-grid", () => $279507a6f189e509$export$aaaf83100348d389, (v) => $279507a6f189e509$export$aaaf83100348d389 = v);
|
|
65
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-draghandle-container", () => $279507a6f189e509$export$f385e7456ddfee84, (v) => $279507a6f189e509$export$f385e7456ddfee84 = v);
|
|
66
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-draghandle-button", () => $279507a6f189e509$export$4784f0c2ec8bbf7b, (v) => $279507a6f189e509$export$4784f0c2ec8bbf7b = v);
|
|
67
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-checkboxWrapper", () => $279507a6f189e509$export$41a33ae9818c51be, (v) => $279507a6f189e509$export$41a33ae9818c51be = v);
|
|
68
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-checkbox", () => $279507a6f189e509$export$f979f76ca45242f2, (v) => $279507a6f189e509$export$f979f76ca45242f2 = v);
|
|
69
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-icon", () => $279507a6f189e509$export$2b56ca744bd31ebd, (v) => $279507a6f189e509$export$2b56ca744bd31ebd = v);
|
|
70
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-image", () => $279507a6f189e509$export$1260770e51d5a8c4, (v) => $279507a6f189e509$export$1260770e51d5a8c4 = v);
|
|
71
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--hasDescription", () => $279507a6f189e509$export$7c9efe74c4b77579, (v) => $279507a6f189e509$export$7c9efe74c4b77579 = v);
|
|
72
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-actions", () => $279507a6f189e509$export$26480389595d4515, (v) => $279507a6f189e509$export$26480389595d4515 = v);
|
|
73
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-actionmenu", () => $279507a6f189e509$export$58dfda3903289699, (v) => $279507a6f189e509$export$58dfda3903289699 = v);
|
|
74
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-parentIndicator", () => $279507a6f189e509$export$39b42a8a24290c17, (v) => $279507a6f189e509$export$39b42a8a24290c17 = v);
|
|
75
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-dragPreview", () => $279507a6f189e509$export$84286d36e5c00c55, (v) => $279507a6f189e509$export$84286d36e5c00c55 = v);
|
|
76
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-badge", () => $279507a6f189e509$export$6498e436231eea33, (v) => $279507a6f189e509$export$6498e436231eea33 = v);
|
|
77
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-dragPreview--multiple", () => $279507a6f189e509$export$2fb3c7c2d5c0d720, (v) => $279507a6f189e509$export$2fb3c7c2d5c0d720 = v);
|
|
78
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--hasAnyChildren", () => $279507a6f189e509$export$7150e72e440612bf, (v) => $279507a6f189e509$export$7150e72e440612bf = v);
|
|
79
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-parentIndicator--hasChildItems", () => $279507a6f189e509$export$c29dcfa80dab8c88, (v) => $279507a6f189e509$export$c29dcfa80dab8c88 = v);
|
|
80
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--compact", () => $279507a6f189e509$export$1f55b27adf96a61e, (v) => $279507a6f189e509$export$1f55b27adf96a61e = v);
|
|
81
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--spacious", () => $279507a6f189e509$export$cbd30c7809acdd81, (v) => $279507a6f189e509$export$cbd30c7809acdd81 = v);
|
|
82
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--draggable", () => $279507a6f189e509$export$a2d35348c0cc9bca, (v) => $279507a6f189e509$export$a2d35348c0cc9bca = v);
|
|
83
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem--dropTarget", () => $279507a6f189e509$export$8afa006321ee3a8f, (v) => $279507a6f189e509$export$8afa006321ee3a8f = v);
|
|
84
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView--dropTarget", () => $279507a6f189e509$export$d9ba3f873d0eaec6, (v) => $279507a6f189e509$export$d9ba3f873d0eaec6 = v);
|
|
85
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView-centeredWrapper", () => $279507a6f189e509$export$1b66ee5cd8394caf, (v) => $279507a6f189e509$export$1b66ee5cd8394caf = v);
|
|
86
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListView-centeredWrapper--loadingMore", () => $279507a6f189e509$export$6b3b7792abd9e5f4, (v) => $279507a6f189e509$export$6b3b7792abd9e5f4 = v);
|
|
87
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewInsertionIndicator", () => $279507a6f189e509$export$2a6a235e0baff403, (v) => $279507a6f189e509$export$2a6a235e0baff403 = v);
|
|
88
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewInsertionIndicator--dropTarget", () => $279507a6f189e509$export$927a243805a411ca, (v) => $279507a6f189e509$export$927a243805a411ca = v);
|
|
89
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-checkbox--enter", () => $279507a6f189e509$export$9dc11c0e0825a249, (v) => $279507a6f189e509$export$9dc11c0e0825a249 = v);
|
|
90
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-checkbox--enterActive", () => $279507a6f189e509$export$f89865e352230a35, (v) => $279507a6f189e509$export$f89865e352230a35 = v);
|
|
91
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-checkbox--exit", () => $279507a6f189e509$export$867c05a16e5d2a7c, (v) => $279507a6f189e509$export$867c05a16e5d2a7c = v);
|
|
92
|
+
$parcel$export($279507a6f189e509$exports, "react-spectrum-ListViewItem-checkbox--exitActive", () => $279507a6f189e509$export$61b66671605f1b1a, (v) => $279507a6f189e509$export$61b66671605f1b1a = v);
|
|
93
|
+
var $279507a6f189e509$export$4ad4709e9aee8e02;
|
|
94
|
+
var $279507a6f189e509$export$f80410436c6352c8;
|
|
95
|
+
var $279507a6f189e509$export$eb0d5352b2a55473;
|
|
96
|
+
var $279507a6f189e509$export$ce8c93b50eec2d4f;
|
|
97
|
+
var $279507a6f189e509$export$1e0fb04f31d3c22a;
|
|
98
|
+
var $279507a6f189e509$export$b8813cd5d7824ce7;
|
|
99
|
+
var $279507a6f189e509$export$20fd0f7cd4e6112f;
|
|
100
|
+
var $279507a6f189e509$export$f39a09f249340e2a;
|
|
101
|
+
var $279507a6f189e509$export$60162f05499b7560;
|
|
102
|
+
var $279507a6f189e509$export$b01cb9680b0b8d22;
|
|
103
|
+
var $279507a6f189e509$export$53aa811f86efbfad;
|
|
104
|
+
var $279507a6f189e509$export$f9ed481cac4d935a;
|
|
105
|
+
var $279507a6f189e509$export$5aa06adeaa92dbca;
|
|
106
|
+
var $279507a6f189e509$export$659c081622dc13b0;
|
|
107
|
+
var $279507a6f189e509$export$1bf50375883926;
|
|
108
|
+
var $279507a6f189e509$export$d9b13621bc5dd4d1;
|
|
109
|
+
var $279507a6f189e509$export$68b45d42c77fe1cf;
|
|
110
|
+
var $279507a6f189e509$export$dc2b0b08d47555;
|
|
111
|
+
var $279507a6f189e509$export$5d2adfeb248e654a;
|
|
112
|
+
var $279507a6f189e509$export$3b4577d06eb82ec0;
|
|
113
|
+
var $279507a6f189e509$export$8a26470723c97997;
|
|
114
|
+
var $279507a6f189e509$export$e7dc768d35940237;
|
|
115
|
+
var $279507a6f189e509$export$d35bc1e505d1ebbf;
|
|
116
|
+
var $279507a6f189e509$export$27f4d14f7fc5b94;
|
|
117
|
+
var $279507a6f189e509$export$aaaf83100348d389;
|
|
118
|
+
var $279507a6f189e509$export$f385e7456ddfee84;
|
|
119
|
+
var $279507a6f189e509$export$4784f0c2ec8bbf7b;
|
|
120
|
+
var $279507a6f189e509$export$41a33ae9818c51be;
|
|
121
|
+
var $279507a6f189e509$export$f979f76ca45242f2;
|
|
122
|
+
var $279507a6f189e509$export$2b56ca744bd31ebd;
|
|
123
|
+
var $279507a6f189e509$export$1260770e51d5a8c4;
|
|
124
|
+
var $279507a6f189e509$export$7c9efe74c4b77579;
|
|
125
|
+
var $279507a6f189e509$export$26480389595d4515;
|
|
126
|
+
var $279507a6f189e509$export$58dfda3903289699;
|
|
127
|
+
var $279507a6f189e509$export$39b42a8a24290c17;
|
|
128
|
+
var $279507a6f189e509$export$84286d36e5c00c55;
|
|
129
|
+
var $279507a6f189e509$export$6498e436231eea33;
|
|
130
|
+
var $279507a6f189e509$export$2fb3c7c2d5c0d720;
|
|
131
|
+
var $279507a6f189e509$export$7150e72e440612bf;
|
|
132
|
+
var $279507a6f189e509$export$c29dcfa80dab8c88;
|
|
133
|
+
var $279507a6f189e509$export$1f55b27adf96a61e;
|
|
134
|
+
var $279507a6f189e509$export$cbd30c7809acdd81;
|
|
135
|
+
var $279507a6f189e509$export$a2d35348c0cc9bca;
|
|
136
|
+
var $279507a6f189e509$export$8afa006321ee3a8f;
|
|
137
|
+
var $279507a6f189e509$export$d9ba3f873d0eaec6;
|
|
138
|
+
var $279507a6f189e509$export$1b66ee5cd8394caf;
|
|
139
|
+
var $279507a6f189e509$export$6b3b7792abd9e5f4;
|
|
140
|
+
var $279507a6f189e509$export$2a6a235e0baff403;
|
|
141
|
+
var $279507a6f189e509$export$927a243805a411ca;
|
|
142
|
+
var $279507a6f189e509$export$9dc11c0e0825a249;
|
|
143
|
+
var $279507a6f189e509$export$f89865e352230a35;
|
|
144
|
+
var $279507a6f189e509$export$867c05a16e5d2a7c;
|
|
145
|
+
var $279507a6f189e509$export$61b66671605f1b1a;
|
|
146
|
+
$279507a6f189e509$export$4ad4709e9aee8e02 = "react-spectrum-ListView_dd5487";
|
|
147
|
+
$279507a6f189e509$export$f80410436c6352c8 = "react-spectrum-ListView-row_dd5487";
|
|
148
|
+
$279507a6f189e509$export$eb0d5352b2a55473 = "react-spectrum-ListView--emphasized_dd5487";
|
|
149
|
+
$279507a6f189e509$export$ce8c93b50eec2d4f = "react-spectrum-ListViewItem_dd5487";
|
|
150
|
+
$279507a6f189e509$export$1e0fb04f31d3c22a = "is-selected_dd5487";
|
|
151
|
+
$279507a6f189e509$export$b8813cd5d7824ce7 = "is-hovered_dd5487";
|
|
152
|
+
$279507a6f189e509$export$20fd0f7cd4e6112f = "is-active_dd5487";
|
|
153
|
+
$279507a6f189e509$export$f39a09f249340e2a = "focus-ring_dd5487";
|
|
154
|
+
$279507a6f189e509$export$60162f05499b7560 = "react-spectrum-ListViewItem--firstRow_dd5487";
|
|
155
|
+
$279507a6f189e509$export$b01cb9680b0b8d22 = "react-spectrum-ListView--quiet_dd5487";
|
|
156
|
+
$279507a6f189e509$export$53aa811f86efbfad = "is-next-selected_dd5487";
|
|
157
|
+
$279507a6f189e509$export$f9ed481cac4d935a = "react-spectrum-ListViewItem--isFlushBottom_dd5487";
|
|
158
|
+
$279507a6f189e509$export$5aa06adeaa92dbca = "react-spectrum-ListView--loadingMore_dd5487";
|
|
159
|
+
$279507a6f189e509$export$659c081622dc13b0 = "react-spectrum-ListViewItem--lastRow_dd5487";
|
|
160
|
+
$279507a6f189e509$export$1bf50375883926 = "react-spectrum-ListView--isVerticalScrollbarVisible_dd5487";
|
|
161
|
+
$279507a6f189e509$export$d9b13621bc5dd4d1 = "react-spectrum-ListView--isHorizontalScrollbarVisible_dd5487";
|
|
162
|
+
$279507a6f189e509$export$68b45d42c77fe1cf = "react-spectrum-ListView--wrap_dd5487";
|
|
163
|
+
$279507a6f189e509$export$dc2b0b08d47555 = "react-spectrum-ListViewItem-content_dd5487";
|
|
164
|
+
$279507a6f189e509$export$5d2adfeb248e654a = "react-spectrum-ListViewItem-description_dd5487";
|
|
165
|
+
$279507a6f189e509$export$3b4577d06eb82ec0 = "round-tops_dd5487";
|
|
166
|
+
$279507a6f189e509$export$8a26470723c97997 = "round-bottoms_dd5487";
|
|
167
|
+
$279507a6f189e509$export$e7dc768d35940237 = "is-focused_dd5487";
|
|
168
|
+
$279507a6f189e509$export$d35bc1e505d1ebbf = "is-disabled_dd5487";
|
|
169
|
+
$279507a6f189e509$export$27f4d14f7fc5b94 = "has-checkbox_dd5487";
|
|
170
|
+
$279507a6f189e509$export$aaaf83100348d389 = "react-spectrum-ListViewItem-grid_dd5487";
|
|
171
|
+
$279507a6f189e509$export$f385e7456ddfee84 = "react-spectrum-ListViewItem-draghandle-container_dd5487";
|
|
172
|
+
$279507a6f189e509$export$4784f0c2ec8bbf7b = "react-spectrum-ListViewItem-draghandle-button_dd5487";
|
|
173
|
+
$279507a6f189e509$export$41a33ae9818c51be = "react-spectrum-ListViewItem-checkboxWrapper_dd5487";
|
|
174
|
+
$279507a6f189e509$export$f979f76ca45242f2 = "react-spectrum-ListViewItem-checkbox_dd5487";
|
|
175
|
+
$279507a6f189e509$export$2b56ca744bd31ebd = "react-spectrum-ListViewItem-icon_dd5487";
|
|
176
|
+
$279507a6f189e509$export$1260770e51d5a8c4 = "react-spectrum-ListViewItem-image_dd5487";
|
|
177
|
+
$279507a6f189e509$export$7c9efe74c4b77579 = "react-spectrum-ListView--hasDescription_dd5487";
|
|
178
|
+
$279507a6f189e509$export$26480389595d4515 = "react-spectrum-ListViewItem-actions_dd5487";
|
|
179
|
+
$279507a6f189e509$export$58dfda3903289699 = "react-spectrum-ListViewItem-actionmenu_dd5487";
|
|
180
|
+
$279507a6f189e509$export$39b42a8a24290c17 = "react-spectrum-ListViewItem-parentIndicator_dd5487";
|
|
181
|
+
$279507a6f189e509$export$84286d36e5c00c55 = "react-spectrum-ListViewItem-dragPreview_dd5487";
|
|
182
|
+
$279507a6f189e509$export$6498e436231eea33 = "react-spectrum-ListViewItem-badge_dd5487";
|
|
183
|
+
$279507a6f189e509$export$2fb3c7c2d5c0d720 = "react-spectrum-ListViewItem-dragPreview--multiple_dd5487";
|
|
184
|
+
$279507a6f189e509$export$7150e72e440612bf = "react-spectrum-ListView--hasAnyChildren_dd5487";
|
|
185
|
+
$279507a6f189e509$export$c29dcfa80dab8c88 = "react-spectrum-ListViewItem-parentIndicator--hasChildItems_dd5487";
|
|
186
|
+
$279507a6f189e509$export$1f55b27adf96a61e = "react-spectrum-ListView--compact_dd5487";
|
|
187
|
+
$279507a6f189e509$export$cbd30c7809acdd81 = "react-spectrum-ListView--spacious_dd5487";
|
|
188
|
+
$279507a6f189e509$export$a2d35348c0cc9bca = "react-spectrum-ListView--draggable_dd5487";
|
|
189
|
+
$279507a6f189e509$export$8afa006321ee3a8f = "react-spectrum-ListViewItem--dropTarget_dd5487";
|
|
190
|
+
$279507a6f189e509$export$d9ba3f873d0eaec6 = "react-spectrum-ListView--dropTarget_dd5487";
|
|
191
|
+
$279507a6f189e509$export$1b66ee5cd8394caf = "react-spectrum-ListView-centeredWrapper_dd5487";
|
|
192
|
+
$279507a6f189e509$export$6b3b7792abd9e5f4 = "react-spectrum-ListView-centeredWrapper--loadingMore_dd5487";
|
|
193
|
+
$279507a6f189e509$export$2a6a235e0baff403 = "react-spectrum-ListViewInsertionIndicator_dd5487";
|
|
194
|
+
$279507a6f189e509$export$927a243805a411ca = "react-spectrum-ListViewInsertionIndicator--dropTarget_dd5487";
|
|
195
|
+
$279507a6f189e509$export$9dc11c0e0825a249 = "react-spectrum-ListViewItem-checkbox--enter_dd5487";
|
|
196
|
+
$279507a6f189e509$export$f89865e352230a35 = "react-spectrum-ListViewItem-checkbox--enterActive_dd5487";
|
|
197
|
+
$279507a6f189e509$export$867c05a16e5d2a7c = "react-spectrum-ListViewItem-checkbox--exit_dd5487";
|
|
198
|
+
$279507a6f189e509$export$61b66671605f1b1a = "react-spectrum-ListViewItem-checkbox--exitActive_dd5487";
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
function $fc02fd49ab58c72e$export$2e2bcd8739ae039(props) {
|
|
205
|
+
let { dropState: dropState , dropHooks: dropHooks } = $k9Du2$react.useContext($60684b441be8e84c$export$870039b0abfe3de0);
|
|
206
|
+
const { target: target , isPresentationOnly: isPresentationOnly } = props;
|
|
207
|
+
let ref = $k9Du2$react.useRef();
|
|
208
|
+
let { dropIndicatorProps: dropIndicatorProps } = dropHooks.useDropIndicator(props, dropState, ref);
|
|
209
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = $k9Du2$reactariavisuallyhidden.useVisuallyHidden();
|
|
210
|
+
let isDropTarget = dropState.isDropTarget(target);
|
|
211
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
212
|
+
role: "row",
|
|
213
|
+
"aria-hidden": dropIndicatorProps['aria-hidden']
|
|
214
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
215
|
+
role: "gridcell",
|
|
216
|
+
"aria-selected": "false",
|
|
217
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewInsertionIndicator', {
|
|
218
|
+
'react-spectrum-ListViewInsertionIndicator--dropTarget': isDropTarget
|
|
219
|
+
})
|
|
220
|
+
}, !isPresentationOnly && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
221
|
+
...visuallyHiddenProps,
|
|
222
|
+
role: "button",
|
|
223
|
+
...dropIndicatorProps,
|
|
224
|
+
ref: ref
|
|
225
|
+
}))));
|
|
226
|
+
}
|
|
6
227
|
|
|
7
|
-
var {
|
|
8
|
-
Virtualizer
|
|
9
|
-
} = require("@react-aria/virtualizer");
|
|
10
228
|
|
|
11
|
-
var {
|
|
12
|
-
|
|
13
|
-
|
|
229
|
+
var $fd0918c0ca138160$exports = {};
|
|
230
|
+
var $1beeff0a5a0ccb2a$exports = {};
|
|
231
|
+
$1beeff0a5a0ccb2a$exports = JSON.parse("{\"loading\":\"جارٍ التحميل...\",\"loadingMore\":\"جارٍ تحميل المزيد...\"}");
|
|
14
232
|
|
|
15
|
-
var {
|
|
16
|
-
useCollator,
|
|
17
|
-
useLocale,
|
|
18
|
-
useMessageFormatter
|
|
19
|
-
} = require("@react-aria/i18n");
|
|
20
233
|
|
|
21
|
-
var {
|
|
22
|
-
|
|
23
|
-
} = require("@react-spectrum/progress");
|
|
234
|
+
var $8d53c5c3a365f51f$exports = {};
|
|
235
|
+
$8d53c5c3a365f51f$exports = JSON.parse("{\"loading\":\"Зареждане...\",\"loadingMore\":\"Зареждане на още...\"}");
|
|
24
236
|
|
|
25
|
-
var {
|
|
26
|
-
useHover
|
|
27
|
-
} = require("@react-aria/interactions");
|
|
28
237
|
|
|
29
|
-
var {
|
|
30
|
-
|
|
31
|
-
} = require("@react-aria/focus");
|
|
238
|
+
var $99a0008efa578202$exports = {};
|
|
239
|
+
$99a0008efa578202$exports = JSON.parse("{\"loading\":\"Načítání...\",\"loadingMore\":\"Načítání dalších...\"}");
|
|
32
240
|
|
|
33
|
-
var _react2 = require("react");
|
|
34
241
|
|
|
35
|
-
var
|
|
242
|
+
var $fed6a92f3a9a90c2$exports = {};
|
|
243
|
+
$fed6a92f3a9a90c2$exports = JSON.parse("{\"loading\":\"Indlæser...\",\"loadingMore\":\"Indlæser flere...\"}");
|
|
36
244
|
|
|
37
|
-
var {
|
|
38
|
-
useContext,
|
|
39
|
-
useRef,
|
|
40
|
-
useMemo
|
|
41
|
-
} = _react2;
|
|
42
245
|
|
|
43
|
-
var {
|
|
44
|
-
|
|
45
|
-
} = require("@react-aria/utils");
|
|
246
|
+
var $ad6943b7faf38b41$exports = {};
|
|
247
|
+
$ad6943b7faf38b41$exports = JSON.parse("{\"loading\":\"Laden...\",\"loadingMore\":\"Mehr laden ...\"}");
|
|
46
248
|
|
|
47
|
-
var {
|
|
48
|
-
useListState
|
|
49
|
-
} = require("@react-stately/list");
|
|
50
249
|
|
|
51
|
-
var {
|
|
52
|
-
|
|
53
|
-
} = require("@react-stately/layout");
|
|
250
|
+
var $ed6da119df8f733b$exports = {};
|
|
251
|
+
$ed6da119df8f733b$exports = JSON.parse("{\"loading\":\"Φόρτωση...\",\"loadingMore\":\"Φόρτωση περισσότερων...\"}");
|
|
54
252
|
|
|
55
|
-
var {
|
|
56
|
-
GridKeyboardDelegate,
|
|
57
|
-
useGrid,
|
|
58
|
-
useGridCell,
|
|
59
|
-
useGridRow
|
|
60
|
-
} = require("@react-aria/grid");
|
|
61
253
|
|
|
62
|
-
var {
|
|
63
|
-
|
|
64
|
-
useGridState
|
|
65
|
-
} = require("@react-stately/grid");
|
|
254
|
+
var $a922ddd791b2701d$exports = {};
|
|
255
|
+
$a922ddd791b2701d$exports = JSON.parse("{\"loading\":\"Loading…\",\"loadingMore\":\"Loading more…\"}");
|
|
66
256
|
|
|
67
|
-
var {
|
|
68
|
-
classNames,
|
|
69
|
-
useDOMRef,
|
|
70
|
-
useStyleProps
|
|
71
|
-
} = require("@react-spectrum/utils");
|
|
72
257
|
|
|
73
|
-
var
|
|
258
|
+
var $1616ac893d9df40d$exports = {};
|
|
259
|
+
$1616ac893d9df40d$exports = JSON.parse("{\"loading\":\"Cargando…\",\"loadingMore\":\"Cargando más…\"}");
|
|
74
260
|
|
|
75
|
-
var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));
|
|
76
261
|
|
|
77
|
-
|
|
262
|
+
var $71139980c308673a$exports = {};
|
|
263
|
+
$71139980c308673a$exports = JSON.parse("{\"loading\":\"Laadimine...\",\"loadingMore\":\"Laadi rohkem...\"}");
|
|
78
264
|
|
|
79
|
-
function $parcel$interopDefault(a) {
|
|
80
|
-
return a && a.__esModule ? a.default : a;
|
|
81
|
-
}
|
|
82
265
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
266
|
+
var $df400f4d8990deb0$exports = {};
|
|
267
|
+
$df400f4d8990deb0$exports = JSON.parse("{\"loading\":\"Ladataan…\",\"loadingMore\":\"Ladataan lisää…\"}");
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
var $4fedac3a4a024339$exports = {};
|
|
271
|
+
$4fedac3a4a024339$exports = JSON.parse("{\"loading\":\"Chargement...\",\"loadingMore\":\"Chargement supplémentaire...\"}");
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
var $0c1298be372fa672$exports = {};
|
|
275
|
+
$0c1298be372fa672$exports = JSON.parse("{\"loading\":\"טוען...\",\"loadingMore\":\"טוען עוד...\"}");
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
var $aac34baf9a6ccbce$exports = {};
|
|
279
|
+
$aac34baf9a6ccbce$exports = JSON.parse("{\"loading\":\"Učitavam...\",\"loadingMore\":\"Učitavam još...\"}");
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
var $6d93c8a72fbf4a90$exports = {};
|
|
283
|
+
$6d93c8a72fbf4a90$exports = JSON.parse("{\"loading\":\"Betöltés folyamatban…\",\"loadingMore\":\"Továbbiak betöltése folyamatban…\"}");
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
var $69346d8975e9f344$exports = {};
|
|
287
|
+
$69346d8975e9f344$exports = JSON.parse("{\"loading\":\"Caricamento...\",\"loadingMore\":\"Caricamento altri...\"}");
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
var $b263dd2c132d2852$exports = {};
|
|
291
|
+
$b263dd2c132d2852$exports = JSON.parse("{\"loading\":\"読み込み中...\",\"loadingMore\":\"さらに読み込み中...\"}");
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
var $b79146096cdb30c7$exports = {};
|
|
295
|
+
$b79146096cdb30c7$exports = JSON.parse("{\"loading\":\"로드 중…\",\"loadingMore\":\"추가 로드 중…\"}");
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
var $adc50e375b062a9e$exports = {};
|
|
299
|
+
$adc50e375b062a9e$exports = JSON.parse("{\"loading\":\"Įkeliama...\",\"loadingMore\":\"Įkeliama daugiau...\"}");
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
var $20ba6eae003d4c10$exports = {};
|
|
303
|
+
$20ba6eae003d4c10$exports = JSON.parse("{\"loading\":\"Notiek ielāde...\",\"loadingMore\":\"Tiek ielādēts vēl...\"}");
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
var $6a03ad2ccd528f82$exports = {};
|
|
307
|
+
$6a03ad2ccd528f82$exports = JSON.parse("{\"loading\":\"Laster inn ...\",\"loadingMore\":\"Laster inn flere ...\"}");
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
var $6bdc84276c605774$exports = {};
|
|
311
|
+
$6bdc84276c605774$exports = JSON.parse("{\"loading\":\"Laden...\",\"loadingMore\":\"Meer laden...\"}");
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
var $41e9b40a686907b7$exports = {};
|
|
315
|
+
$41e9b40a686907b7$exports = JSON.parse("{\"loading\":\"Ładowanie...\",\"loadingMore\":\"Wczytywanie większej liczby...\"}");
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
var $332f285483e392b9$exports = {};
|
|
319
|
+
$332f285483e392b9$exports = JSON.parse("{\"loading\":\"Carregando...\",\"loadingMore\":\"Carregando mais...\"}");
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
var $21a7a272ae3b9fd4$exports = {};
|
|
323
|
+
$21a7a272ae3b9fd4$exports = JSON.parse("{\"loading\":\"A carregar...\",\"loadingMore\":\"A carregar mais...\"}");
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
var $7f773822d0ecfb7d$exports = {};
|
|
327
|
+
$7f773822d0ecfb7d$exports = JSON.parse("{\"loading\":\"Se încarcă...\",\"loadingMore\":\"Se încarcă mai multe...\"}");
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
var $7d8f25b69820e6ce$exports = {};
|
|
331
|
+
$7d8f25b69820e6ce$exports = JSON.parse("{\"loading\":\"Загрузка...\",\"loadingMore\":\"Дополнительная загрузка...\"}");
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
var $ef1cbac310feac6e$exports = {};
|
|
335
|
+
$ef1cbac310feac6e$exports = JSON.parse("{\"loading\":\"Načítava sa...\",\"loadingMore\":\"Načítava sa viac...\"}");
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
var $a37847ff0890b3f8$exports = {};
|
|
339
|
+
$a37847ff0890b3f8$exports = JSON.parse("{\"loading\":\"Nalaganje ...\",\"loadingMore\":\"Nalaganje več vsebine ...\"}");
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
var $f95d6d9be7c5418d$exports = {};
|
|
343
|
+
$f95d6d9be7c5418d$exports = JSON.parse("{\"loading\":\"Učitavam...\",\"loadingMore\":\"Učitavam još...\"}");
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
var $eb2bbd94105316d8$exports = {};
|
|
347
|
+
$eb2bbd94105316d8$exports = JSON.parse("{\"loading\":\"Läser in...\",\"loadingMore\":\"Läser in mer...\"}");
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
var $afc69bf18d2f3b1a$exports = {};
|
|
351
|
+
$afc69bf18d2f3b1a$exports = JSON.parse("{\"loading\":\"Yükleniyor...\",\"loadingMore\":\"Daha fazla yükleniyor...\"}");
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
var $eda3e7326f5e4dcb$exports = {};
|
|
355
|
+
$eda3e7326f5e4dcb$exports = JSON.parse("{\"loading\":\"Завантаження…\",\"loadingMore\":\"Завантаження інших об’єктів...\"}");
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
var $6d455ae2db499a05$exports = {};
|
|
359
|
+
$6d455ae2db499a05$exports = JSON.parse("{\"loading\":\"正在加载...\",\"loadingMore\":\"正在加载更多...\"}");
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
var $0fa2d17f8a898b48$exports = {};
|
|
363
|
+
$0fa2d17f8a898b48$exports = JSON.parse("{\"loading\":\"載入中…\",\"loadingMore\":\"正在載入更多…\"}");
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
$fd0918c0ca138160$exports = {
|
|
367
|
+
"ar-AE": $1beeff0a5a0ccb2a$exports,
|
|
368
|
+
"bg-BG": $8d53c5c3a365f51f$exports,
|
|
369
|
+
"cs-CZ": $99a0008efa578202$exports,
|
|
370
|
+
"da-DK": $fed6a92f3a9a90c2$exports,
|
|
371
|
+
"de-DE": $ad6943b7faf38b41$exports,
|
|
372
|
+
"el-GR": $ed6da119df8f733b$exports,
|
|
373
|
+
"en-US": $a922ddd791b2701d$exports,
|
|
374
|
+
"es-ES": $1616ac893d9df40d$exports,
|
|
375
|
+
"et-EE": $71139980c308673a$exports,
|
|
376
|
+
"fi-FI": $df400f4d8990deb0$exports,
|
|
377
|
+
"fr-FR": $4fedac3a4a024339$exports,
|
|
378
|
+
"he-IL": $0c1298be372fa672$exports,
|
|
379
|
+
"hr-HR": $aac34baf9a6ccbce$exports,
|
|
380
|
+
"hu-HU": $6d93c8a72fbf4a90$exports,
|
|
381
|
+
"it-IT": $69346d8975e9f344$exports,
|
|
382
|
+
"ja-JP": $b263dd2c132d2852$exports,
|
|
383
|
+
"ko-KR": $b79146096cdb30c7$exports,
|
|
384
|
+
"lt-LT": $adc50e375b062a9e$exports,
|
|
385
|
+
"lv-LV": $20ba6eae003d4c10$exports,
|
|
386
|
+
"nb-NO": $6a03ad2ccd528f82$exports,
|
|
387
|
+
"nl-NL": $6bdc84276c605774$exports,
|
|
388
|
+
"pl-PL": $41e9b40a686907b7$exports,
|
|
389
|
+
"pt-BR": $332f285483e392b9$exports,
|
|
390
|
+
"pt-PT": $21a7a272ae3b9fd4$exports,
|
|
391
|
+
"ro-RO": $7f773822d0ecfb7d$exports,
|
|
392
|
+
"ru-RU": $7d8f25b69820e6ce$exports,
|
|
393
|
+
"sk-SK": $ef1cbac310feac6e$exports,
|
|
394
|
+
"sl-SI": $a37847ff0890b3f8$exports,
|
|
395
|
+
"sr-SP": $f95d6d9be7c5418d$exports,
|
|
396
|
+
"sv-SE": $eb2bbd94105316d8$exports,
|
|
397
|
+
"tr-TR": $afc69bf18d2f3b1a$exports,
|
|
398
|
+
"uk-UA": $eda3e7326f5e4dcb$exports,
|
|
399
|
+
"zh-CN": $6d455ae2db499a05$exports,
|
|
400
|
+
"zh-TW": $0fa2d17f8a898b48$exports
|
|
92
401
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
var
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
$
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
$
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
//
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
//
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
function $9eae7a1cb1535a6b$export$c6bde0c04b033c0e(props) {
|
|
427
|
+
var ref, ref1;
|
|
428
|
+
let { item: item , isEmphasized: isEmphasized } = props;
|
|
429
|
+
let { state: state , dragState: dragState , dropState: dropState , isListDraggable: isListDraggable , isListDroppable: isListDroppable , layout: layout , dragHooks: dragHooks , dropHooks: dropHooks , loadingState: loadingState } = $k9Du2$react.useContext($60684b441be8e84c$export$870039b0abfe3de0);
|
|
430
|
+
let { direction: direction } = $k9Du2$reactariai18n.useLocale();
|
|
431
|
+
let rowRef = $k9Du2$react.useRef();
|
|
432
|
+
let { isFocusVisible: isFocusVisibleWithin , focusProps: focusWithinProps } = $k9Du2$reactariafocus.useFocusRing({
|
|
433
|
+
within: true
|
|
434
|
+
});
|
|
435
|
+
let { isFocusVisible: isFocusVisible , focusProps: focusProps } = $k9Du2$reactariafocus.useFocusRing();
|
|
436
|
+
let { rowProps: rowProps , gridCellProps: gridCellProps , isPressed: isPressed , isSelected: isSelected , isDisabled: isDisabled , allowsSelection: allowsSelection , hasAction: hasAction } = $k9Du2$reactarialist.useListItem({
|
|
437
|
+
node: item,
|
|
438
|
+
isVirtualized: true,
|
|
439
|
+
shouldSelectOnPressUp: isListDraggable
|
|
440
|
+
}, state, rowRef);
|
|
441
|
+
let isDroppable = isListDroppable && !isDisabled;
|
|
442
|
+
let { hoverProps: hoverProps , isHovered: isHovered } = $k9Du2$reactariainteractions.useHover({
|
|
443
|
+
isDisabled: !allowsSelection && !hasAction
|
|
444
|
+
});
|
|
445
|
+
let { checkboxProps: checkboxProps } = $k9Du2$reactarialist.useListSelectionCheckbox({
|
|
446
|
+
key: item.key
|
|
447
|
+
}, state);
|
|
448
|
+
let hasDescription = $k9Du2$reactspectrumutils.useHasChild(`.${(/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-description']}`, rowRef);
|
|
449
|
+
let draggableItem;
|
|
450
|
+
if (isListDraggable) {
|
|
451
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
452
|
+
draggableItem = dragHooks.useDraggableItem({
|
|
453
|
+
key: item.key
|
|
454
|
+
}, dragState);
|
|
455
|
+
if (isDisabled) draggableItem = null;
|
|
456
|
+
}
|
|
457
|
+
let droppableItem;
|
|
458
|
+
let isDropTarget;
|
|
459
|
+
if (isListDroppable) {
|
|
460
|
+
let target = {
|
|
461
|
+
type: 'item',
|
|
462
|
+
key: item.key,
|
|
463
|
+
dropPosition: 'on'
|
|
464
|
+
};
|
|
465
|
+
isDropTarget = dropState.isDropTarget(target);
|
|
466
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
467
|
+
droppableItem = dropHooks.useDroppableItem({
|
|
468
|
+
target: target
|
|
469
|
+
}, dropState, rowRef);
|
|
470
|
+
}
|
|
471
|
+
let dragButtonRef = ($parcel$interopDefault($k9Du2$react)).useRef();
|
|
472
|
+
let { buttonProps: buttonProps } = $k9Du2$reactariabutton.useButton({
|
|
473
|
+
...draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragButtonProps,
|
|
474
|
+
elementType: 'div'
|
|
475
|
+
}, dragButtonRef);
|
|
476
|
+
let chevron = direction === 'ltr' ? /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement(($parcel$interopDefault($k9Du2$spectrumiconsuiChevronRightMedium)), {
|
|
477
|
+
"aria-hidden": "true",
|
|
478
|
+
UNSAFE_className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewItem-parentIndicator', {
|
|
479
|
+
'react-spectrum-ListViewItem-parentIndicator--hasChildItems': item.props.hasChildItems,
|
|
480
|
+
'is-disabled': !hasAction
|
|
481
|
+
})
|
|
482
|
+
}) : /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement(($parcel$interopDefault($k9Du2$spectrumiconsuiChevronLeftMedium)), {
|
|
483
|
+
"aria-hidden": "true",
|
|
484
|
+
UNSAFE_className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewItem-parentIndicator', {
|
|
485
|
+
'react-spectrum-ListViewItem-parentIndicator--hasChildItems': item.props.hasChildItems,
|
|
486
|
+
'is-disabled': !hasAction
|
|
487
|
+
})
|
|
488
|
+
});
|
|
489
|
+
let showCheckbox = state.selectionManager.selectionMode !== 'none' && state.selectionManager.selectionBehavior === 'toggle';
|
|
490
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = $k9Du2$reactariavisuallyhidden.useVisuallyHidden();
|
|
491
|
+
const mergedProps = $k9Du2$reactariautils.mergeProps(rowProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, isDroppable && (droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps), hoverProps, focusWithinProps, focusProps);
|
|
492
|
+
let isFirstRow = item.prevKey == null;
|
|
493
|
+
let isLastRow = item.nextKey == null;
|
|
494
|
+
// Figure out if the ListView content is equal or greater in height to the container. If so, we'll need to round the bottom
|
|
495
|
+
// border corners of the last row when selected and we can get rid of the bottom border if it isn't selected to avoid border overlap
|
|
496
|
+
// with bottom border
|
|
497
|
+
let isFlushWithContainerBottom = false;
|
|
498
|
+
if (isLastRow && loadingState !== 'loadingMore') {
|
|
499
|
+
if (((ref = layout.getContentSize()) === null || ref === void 0 ? void 0 : ref.height) >= ((ref1 = layout.virtualizer) === null || ref1 === void 0 ? void 0 : ref1.getVisibleRect().height)) isFlushWithContainerBottom = true;
|
|
500
|
+
}
|
|
501
|
+
// previous item isn't selected
|
|
502
|
+
// and the previous item isn't focused or, if it is focused, then if focus globally isn't visible or just focus isn't in the listview
|
|
503
|
+
let roundTops = !state.selectionManager.isSelected(item.prevKey) && (state.selectionManager.focusedKey !== item.prevKey || !($k9Du2$reactariainteractions.isFocusVisible() && state.selectionManager.isFocused));
|
|
504
|
+
let roundBottoms = !state.selectionManager.isSelected(item.nextKey) && (state.selectionManager.focusedKey !== item.nextKey || !($k9Du2$reactariainteractions.isFocusVisible() && state.selectionManager.isFocused));
|
|
505
|
+
let content = typeof item.rendered === 'string' ? /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumtext.Text, null, item.rendered) : item.rendered;
|
|
506
|
+
if (isDisabled) content = /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumprovider.Provider, {
|
|
507
|
+
isDisabled: true
|
|
508
|
+
}, content);
|
|
509
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
510
|
+
...mergedProps,
|
|
511
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListView-row', {
|
|
512
|
+
'focus-ring': isFocusVisible,
|
|
513
|
+
'round-tops': roundTops || isHovered && !isSelected && state.selectionManager.focusedKey !== item.key,
|
|
514
|
+
'round-bottoms': roundBottoms || isHovered && !isSelected && state.selectionManager.focusedKey !== item.key
|
|
515
|
+
}),
|
|
516
|
+
ref: rowRef
|
|
517
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
518
|
+
// TODO: refactor the css here now that we are focusing the row?
|
|
519
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewItem', {
|
|
520
|
+
'is-active': isPressed,
|
|
521
|
+
'is-focused': isFocusVisibleWithin,
|
|
522
|
+
'focus-ring': isFocusVisible,
|
|
523
|
+
'is-hovered': isHovered,
|
|
524
|
+
'is-selected': isSelected,
|
|
525
|
+
'is-disabled': isDisabled,
|
|
526
|
+
'is-prev-selected': state.selectionManager.isSelected(item.prevKey),
|
|
527
|
+
'is-next-selected': state.selectionManager.isSelected(item.nextKey),
|
|
528
|
+
'react-spectrum-ListViewItem--highlightSelection': state.selectionManager.selectionBehavior === 'replace' && (isSelected || state.selectionManager.isSelected(item.nextKey)),
|
|
529
|
+
'react-spectrum-ListViewItem--dropTarget': !!isDropTarget,
|
|
530
|
+
'react-spectrum-ListViewItem--firstRow': isFirstRow,
|
|
531
|
+
'react-spectrum-ListViewItem--lastRow': isLastRow,
|
|
532
|
+
'react-spectrum-ListViewItem--isFlushBottom': isFlushWithContainerBottom,
|
|
533
|
+
'react-spectrum-ListViewItem--hasDescription': hasDescription
|
|
534
|
+
}),
|
|
535
|
+
...gridCellProps
|
|
536
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumlayout.Grid, {
|
|
537
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-grid']
|
|
538
|
+
}, isListDraggable && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
539
|
+
className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-draghandle-container']
|
|
540
|
+
}, !isDisabled && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactariafocus.FocusRing, {
|
|
541
|
+
focusRingClass: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'focus-ring')
|
|
542
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
543
|
+
...buttonProps,
|
|
544
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewItem-draghandle-button'),
|
|
545
|
+
style: !isFocusVisibleWithin ? {
|
|
546
|
+
...visuallyHiddenProps.style
|
|
547
|
+
} : {
|
|
548
|
+
},
|
|
549
|
+
ref: dragButtonRef,
|
|
550
|
+
draggable: "true"
|
|
551
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement(($parcel$interopDefault($k9Du2$spectrumiconsuiListGripper)), null)))), /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reacttransitiongroup.CSSTransition, {
|
|
552
|
+
in: showCheckbox,
|
|
553
|
+
unmountOnExit: true,
|
|
554
|
+
classNames: {
|
|
555
|
+
enter: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-checkbox--enter'],
|
|
556
|
+
enterActive: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-checkbox--enterActive'],
|
|
557
|
+
exit: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-checkbox--exit'],
|
|
558
|
+
exitActive: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-checkbox--exitActive']
|
|
559
|
+
},
|
|
560
|
+
timeout: 160
|
|
561
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
562
|
+
className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-checkboxWrapper']
|
|
563
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumcheckbox.Checkbox, {
|
|
564
|
+
...checkboxProps,
|
|
565
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-checkbox'],
|
|
566
|
+
isEmphasized: isEmphasized
|
|
567
|
+
}))), /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumutils.SlotProvider, {
|
|
568
|
+
slots: {
|
|
569
|
+
text: {
|
|
570
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-content']
|
|
571
|
+
},
|
|
572
|
+
description: {
|
|
573
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-description']
|
|
574
|
+
},
|
|
575
|
+
icon: {
|
|
576
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-icon'],
|
|
577
|
+
size: 'M'
|
|
578
|
+
},
|
|
579
|
+
image: {
|
|
580
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-image']
|
|
581
|
+
},
|
|
582
|
+
actionButton: {
|
|
583
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-actions'],
|
|
584
|
+
isQuiet: true
|
|
585
|
+
},
|
|
586
|
+
actionGroup: {
|
|
587
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-actions'],
|
|
588
|
+
isQuiet: true,
|
|
589
|
+
density: 'compact'
|
|
590
|
+
},
|
|
591
|
+
actionMenu: {
|
|
592
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-actionmenu'],
|
|
593
|
+
isQuiet: true
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
}, content, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumutils.ClearSlots, null, chevron))))));
|
|
242
597
|
}
|
|
243
598
|
|
|
244
|
-
// @ts-ignore
|
|
245
|
-
const $e7c536fff73c6a7b9c1c07582f0c25a$var$intlMessages = {
|
|
246
|
-
"ar-AE": _babelRuntimeHelpersInteropRequireDefault($c0e73e536a6214a8$exports).default,
|
|
247
|
-
"bg-BG": _babelRuntimeHelpersInteropRequireDefault($d10e45f855dd264d361dc8417eccf336$exports).default,
|
|
248
|
-
"cs-CZ": _babelRuntimeHelpersInteropRequireDefault($cd57c650420f55c782af53645a8625a0$exports).default,
|
|
249
|
-
"da-DK": _babelRuntimeHelpersInteropRequireDefault($e9251f61576dcc7468e044107eabac1b$exports).default,
|
|
250
|
-
"de-DE": _babelRuntimeHelpersInteropRequireDefault($bcd4b4f77717e3d175ac72b639918cf4$exports).default,
|
|
251
|
-
"el-GR": _babelRuntimeHelpersInteropRequireDefault($ab298f8dbeba836e700636ab2a97bf8c$exports).default,
|
|
252
|
-
"en-US": _babelRuntimeHelpersInteropRequireDefault($aac00a6bac6abfc759ed86b86a1650e$exports).default,
|
|
253
|
-
"es-ES": _babelRuntimeHelpersInteropRequireDefault($bdd8095fcfa119b973a573ad0c3ce$exports).default,
|
|
254
|
-
"et-EE": _babelRuntimeHelpersInteropRequireDefault($d984f4a9658089f7e11de7b3c7f$exports).default,
|
|
255
|
-
"fi-FI": _babelRuntimeHelpersInteropRequireDefault($c47984d866dae8367700c9cdd9d0c079$exports).default,
|
|
256
|
-
"fr-FR": _babelRuntimeHelpersInteropRequireDefault($f95e76092a4bfe2ee57f72058fb13$exports).default,
|
|
257
|
-
"he-IL": _babelRuntimeHelpersInteropRequireDefault($d33e3efe54c3a770d7368daf$exports).default,
|
|
258
|
-
"hr-HR": _babelRuntimeHelpersInteropRequireDefault($a383f48f336c23414040048982c3d36e$exports).default,
|
|
259
|
-
"hu-HU": _babelRuntimeHelpersInteropRequireDefault($c22d03cce2b659bfe201bdc8cfd49d6c$exports).default,
|
|
260
|
-
"it-IT": _babelRuntimeHelpersInteropRequireDefault($a18cd27dd03b78d5da27b762ba304d8b$exports).default,
|
|
261
|
-
"ja-JP": _babelRuntimeHelpersInteropRequireDefault($d16135f8943668f309b50ec769b683d$exports).default,
|
|
262
|
-
"ko-KR": _babelRuntimeHelpersInteropRequireDefault($a3cc2b02a5ac5ed2a1cec2bccb52$exports).default,
|
|
263
|
-
"lt-LT": _babelRuntimeHelpersInteropRequireDefault($ae93571eb401fed294c5dab20b33bb$exports).default,
|
|
264
|
-
"lv-LV": _babelRuntimeHelpersInteropRequireDefault($be5175fef81d226e7f779256abe1dcd5$exports).default,
|
|
265
|
-
"nb-NO": _babelRuntimeHelpersInteropRequireDefault($a48a712b8517c3f86d8ede3eb7ad77a$exports).default,
|
|
266
|
-
"nl-NL": _babelRuntimeHelpersInteropRequireDefault($e2337a2939c9da82394706e415a3$exports).default,
|
|
267
|
-
"pl-PL": _babelRuntimeHelpersInteropRequireDefault($fd52b05db65f6cf28f965b2e45a4107f$exports).default,
|
|
268
|
-
"pt-BR": _babelRuntimeHelpersInteropRequireDefault($e9b4f7ff9fac8fb1d98cca0baf7a9e0c$exports).default,
|
|
269
|
-
"pt-PT": _babelRuntimeHelpersInteropRequireDefault($d902cdfcc9371d068ee49ad19aabdd1$exports).default,
|
|
270
|
-
"ro-RO": _babelRuntimeHelpersInteropRequireDefault($e3452733acd9f9e5a3ac8cbb48d4e751$exports).default,
|
|
271
|
-
"ru-RU": _babelRuntimeHelpersInteropRequireDefault($b670eb7e3cbf30871c98ed1e9d89e2db$exports).default,
|
|
272
|
-
"sk-SK": _babelRuntimeHelpersInteropRequireDefault($c8639b246b747f6e33ea70c42946934c$exports).default,
|
|
273
|
-
"sl-SI": _babelRuntimeHelpersInteropRequireDefault($c0edc9a424436a2a0151fb5159f578c9$exports).default,
|
|
274
|
-
"sr-SP": _babelRuntimeHelpersInteropRequireDefault($b674b388f9c4f9e79fa495de7ad1a8c$exports).default,
|
|
275
|
-
"sv-SE": _babelRuntimeHelpersInteropRequireDefault($ceba4cbd80d48b8dc0b4e431446a0a4$exports).default,
|
|
276
|
-
"tr-TR": _babelRuntimeHelpersInteropRequireDefault($caef6c965d83763c0f3046bc6cb23d7$exports).default,
|
|
277
|
-
"uk-UA": _babelRuntimeHelpersInteropRequireDefault($bcc2656e6d1975b0ba57e3d35d$exports).default,
|
|
278
|
-
"zh-CN": _babelRuntimeHelpersInteropRequireDefault($fd0c1523885c2930fa91facf8ca5329$exports).default,
|
|
279
|
-
"zh-TW": _babelRuntimeHelpersInteropRequireDefault($b982929e1b75088f0588b4b23816b9af$exports).default
|
|
280
|
-
};
|
|
281
599
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
function $c59d3898f402f50b$export$2e2bcd8739ae039() {
|
|
608
|
+
let { dropState: dropState , dropHooks: dropHooks } = $k9Du2$react.useContext($60684b441be8e84c$export$870039b0abfe3de0);
|
|
609
|
+
let dropRef = $k9Du2$react.useRef();
|
|
610
|
+
let { dropIndicatorProps: dropIndicatorProps } = dropHooks.useDropIndicator({
|
|
611
|
+
target: {
|
|
612
|
+
type: 'root'
|
|
613
|
+
}
|
|
614
|
+
}, dropState, dropRef);
|
|
615
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = $k9Du2$reactariavisuallyhidden.useVisuallyHidden();
|
|
616
|
+
if (dropIndicatorProps['aria-hidden']) return null;
|
|
617
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
618
|
+
role: "option",
|
|
619
|
+
"aria-selected": "false",
|
|
620
|
+
...visuallyHiddenProps,
|
|
621
|
+
...dropIndicatorProps,
|
|
622
|
+
ref: dropRef
|
|
623
|
+
}));
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
function $3d665b19f7865ff9$export$905ab40ac2179daa(props) {
|
|
633
|
+
let { item: item , itemCount: itemCount , itemHeight: itemHeight } = props;
|
|
634
|
+
let isDraggingMultiple = itemCount > 1;
|
|
635
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
636
|
+
style: {
|
|
637
|
+
height: itemHeight
|
|
638
|
+
},
|
|
639
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewItem', 'react-spectrum-ListViewItem-dragPreview', {
|
|
640
|
+
'react-spectrum-ListViewItem-dragPreview--multiple': isDraggingMultiple
|
|
641
|
+
})
|
|
642
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumlayout.Grid, {
|
|
643
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-grid']
|
|
644
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumutils.SlotProvider, {
|
|
645
|
+
slots: {
|
|
646
|
+
content: {
|
|
647
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-content']
|
|
648
|
+
},
|
|
649
|
+
text: {
|
|
650
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-content']
|
|
651
|
+
},
|
|
652
|
+
description: {
|
|
653
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-description']
|
|
654
|
+
},
|
|
655
|
+
icon: {
|
|
656
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-icon'],
|
|
657
|
+
size: 'M'
|
|
658
|
+
},
|
|
659
|
+
image: {
|
|
660
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-image']
|
|
661
|
+
},
|
|
662
|
+
actionButton: {
|
|
663
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-actions'],
|
|
664
|
+
isQuiet: true
|
|
665
|
+
},
|
|
666
|
+
actionGroup: {
|
|
667
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-actions'],
|
|
668
|
+
isQuiet: true,
|
|
669
|
+
density: 'compact'
|
|
670
|
+
},
|
|
671
|
+
actionMenu: {
|
|
672
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports))['react-spectrum-ListViewItem-actionmenu'],
|
|
673
|
+
isQuiet: true
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}, typeof item.rendered === 'string' ? /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumtext.Text, null, item.rendered) : item.rendered, isDraggingMultiple && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
677
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListViewItem-badge')
|
|
678
|
+
}, itemCount)))));
|
|
300
679
|
}
|
|
301
680
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
});
|
|
321
|
-
let gridCollection = useMemo(() => new GridCollection({
|
|
322
|
-
columnCount: 1,
|
|
323
|
-
items: [...collection].map(item => ({
|
|
324
|
-
type: 'item',
|
|
325
|
-
childNodes: [_babelRuntimeHelpersExtends({}, item, {
|
|
326
|
-
index: 0,
|
|
327
|
-
type: 'cell'
|
|
328
|
-
})]
|
|
329
|
-
}))
|
|
330
|
-
}), [collection]);
|
|
331
|
-
let state = useGridState(_babelRuntimeHelpersExtends({}, props, {
|
|
332
|
-
collection: gridCollection
|
|
333
|
-
}));
|
|
334
|
-
let layout = $e7c536fff73c6a7b9c1c07582f0c25a$export$useListLayout(state);
|
|
335
|
-
let keyboardDelegate = useMemo(() => new GridKeyboardDelegate({
|
|
336
|
-
collection: state.collection,
|
|
337
|
-
disabledKeys: state.disabledKeys,
|
|
338
|
-
ref: domRef,
|
|
339
|
-
direction,
|
|
340
|
-
collator,
|
|
341
|
-
focusMode: 'cell'
|
|
342
|
-
}), [state, domRef, direction, collator]);
|
|
343
|
-
let {
|
|
344
|
-
gridProps
|
|
345
|
-
} = useGrid(_babelRuntimeHelpersExtends({}, props, {
|
|
346
|
-
isVirtualized: true,
|
|
347
|
-
keyboardDelegate,
|
|
348
|
-
ref: domRef
|
|
349
|
-
}), state); // Sync loading state into the layout.
|
|
350
|
-
|
|
351
|
-
layout.isLoading = props.isLoading;
|
|
352
|
-
return /*#__PURE__*/_react.createElement($e7c536fff73c6a7b9c1c07582f0c25a$export$ListViewContext.Provider, {
|
|
353
|
-
value: {
|
|
354
|
-
state,
|
|
355
|
-
keyboardDelegate
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
const $60684b441be8e84c$export$870039b0abfe3de0 = /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createContext(null);
|
|
687
|
+
const $60684b441be8e84c$var$ROW_HEIGHTS = {
|
|
688
|
+
compact: {
|
|
689
|
+
medium: 32,
|
|
690
|
+
large: 40
|
|
691
|
+
},
|
|
692
|
+
regular: {
|
|
693
|
+
medium: 40,
|
|
694
|
+
large: 50
|
|
695
|
+
},
|
|
696
|
+
spacious: {
|
|
697
|
+
medium: 48,
|
|
698
|
+
large: 60
|
|
356
699
|
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
collection
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
700
|
+
};
|
|
701
|
+
function $60684b441be8e84c$var$useListLayout(state, density, allowDisabledKeyFocus) {
|
|
702
|
+
let { scale: scale } = $k9Du2$reactspectrumprovider.useProvider();
|
|
703
|
+
let collator = $k9Du2$reactariai18n.useCollator({
|
|
704
|
+
usage: 'search',
|
|
705
|
+
sensitivity: 'base'
|
|
706
|
+
});
|
|
707
|
+
let isEmpty = state.collection.size === 0;
|
|
708
|
+
let layout = $k9Du2$react.useMemo(()=>new $k9Du2$reactstatelylayout.ListLayout({
|
|
709
|
+
estimatedRowHeight: $60684b441be8e84c$var$ROW_HEIGHTS[density][scale],
|
|
710
|
+
padding: 0,
|
|
711
|
+
collator: collator,
|
|
712
|
+
loaderHeight: isEmpty ? null : $60684b441be8e84c$var$ROW_HEIGHTS[density][scale],
|
|
713
|
+
allowDisabledKeyFocus: allowDisabledKeyFocus
|
|
714
|
+
})
|
|
715
|
+
, [
|
|
716
|
+
collator,
|
|
717
|
+
scale,
|
|
718
|
+
density,
|
|
719
|
+
isEmpty,
|
|
720
|
+
allowDisabledKeyFocus
|
|
721
|
+
]);
|
|
722
|
+
layout.collection = state.collection;
|
|
723
|
+
layout.disabledKeys = state.disabledKeys;
|
|
724
|
+
return layout;
|
|
725
|
+
}
|
|
726
|
+
function $60684b441be8e84c$var$ListView(props, ref) {
|
|
727
|
+
var ref1;
|
|
728
|
+
let { density: density = 'regular' , onLoadMore: onLoadMore , loadingState: loadingState , isQuiet: isQuiet , overflowMode: overflowMode = 'truncate' , onAction: onAction , dragHooks: dragHooks , dropHooks: dropHooks , ...otherProps } = props;
|
|
729
|
+
let isListDraggable = !!dragHooks;
|
|
730
|
+
let isListDroppable = !!dropHooks;
|
|
731
|
+
let dragHooksProvided = $k9Du2$react.useRef(isListDraggable);
|
|
732
|
+
let dropHooksProvided = $k9Du2$react.useRef(isListDroppable);
|
|
733
|
+
if (dragHooksProvided.current !== isListDraggable) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');
|
|
734
|
+
if (dropHooksProvided.current !== isListDroppable) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');
|
|
735
|
+
let domRef = $k9Du2$reactspectrumutils.useDOMRef(ref);
|
|
736
|
+
let state = $k9Du2$reactstatelylist.useListState({
|
|
737
|
+
...props,
|
|
738
|
+
selectionBehavior: props.selectionStyle === 'highlight' ? 'replace' : 'toggle'
|
|
739
|
+
});
|
|
740
|
+
let { collection: collection , selectionManager: selectionManager } = state;
|
|
741
|
+
let formatMessage = $k9Du2$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($fd0918c0ca138160$exports)));
|
|
742
|
+
let isLoading = loadingState === 'loading' || loadingState === 'loadingMore';
|
|
743
|
+
let { styleProps: styleProps } = $k9Du2$reactspectrumutils.useStyleProps(props);
|
|
744
|
+
let layout = $60684b441be8e84c$var$useListLayout(state, props.density || 'regular', state.selectionManager.disabledBehavior === 'selection');
|
|
745
|
+
let dragState;
|
|
746
|
+
let preview = $k9Du2$react.useRef(null);
|
|
747
|
+
if (isListDraggable) dragState = dragHooks.useDraggableCollectionState({
|
|
748
|
+
collection: collection,
|
|
749
|
+
selectionManager: selectionManager,
|
|
750
|
+
preview: preview
|
|
751
|
+
});
|
|
752
|
+
let DragPreview = dragHooks === null || dragHooks === void 0 ? void 0 : dragHooks.DragPreview;
|
|
753
|
+
let dropState;
|
|
754
|
+
let droppableCollection;
|
|
755
|
+
let isRootDropTarget;
|
|
756
|
+
if (isListDroppable) {
|
|
757
|
+
dropState = dropHooks.useDroppableCollectionState({
|
|
758
|
+
collection: collection,
|
|
759
|
+
selectionManager: selectionManager
|
|
760
|
+
});
|
|
761
|
+
droppableCollection = dropHooks.useDroppableCollection({
|
|
762
|
+
keyboardDelegate: layout,
|
|
763
|
+
getDropTargetFromPoint (x, y) {
|
|
764
|
+
let closest = null;
|
|
765
|
+
let closestDistance = Infinity;
|
|
766
|
+
let closestDir = null;
|
|
767
|
+
x += domRef.current.scrollLeft;
|
|
768
|
+
y += domRef.current.scrollTop;
|
|
769
|
+
let visible = layout.getVisibleLayoutInfos(new $k9Du2$reactstatelyvirtualizer.Rect(x - 50, y - 50, x + 50, y + 50));
|
|
770
|
+
for (let layoutInfo of visible){
|
|
771
|
+
let r = layoutInfo.rect;
|
|
772
|
+
let points = [
|
|
773
|
+
[
|
|
774
|
+
r.x,
|
|
775
|
+
r.y + 4,
|
|
776
|
+
'before'
|
|
777
|
+
],
|
|
778
|
+
[
|
|
779
|
+
r.maxX,
|
|
780
|
+
r.y + 4,
|
|
781
|
+
'before'
|
|
782
|
+
],
|
|
783
|
+
[
|
|
784
|
+
r.x,
|
|
785
|
+
r.maxY - 8,
|
|
786
|
+
'after'
|
|
787
|
+
],
|
|
788
|
+
[
|
|
789
|
+
r.maxX,
|
|
790
|
+
r.maxY - 8,
|
|
791
|
+
'after'
|
|
792
|
+
]
|
|
793
|
+
];
|
|
794
|
+
for (let [px, py, dir] of points){
|
|
795
|
+
let dx = px - x;
|
|
796
|
+
let dy = py - y;
|
|
797
|
+
let d = dx * dx + dy * dy;
|
|
798
|
+
if (d < closestDistance) {
|
|
799
|
+
closestDistance = d;
|
|
800
|
+
closest = layoutInfo;
|
|
801
|
+
closestDir = dir;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
// TODO: Best way to implement only for when closest can be dropped on
|
|
805
|
+
// TODO: Figure out the typescript for this
|
|
806
|
+
// @ts-ignore
|
|
807
|
+
if (y >= r.y + 10 && y <= r.maxY - 10 && collection.getItem(closest.key).value.type === 'folder') closestDir = 'on';
|
|
808
|
+
}
|
|
809
|
+
let key = closest === null || closest === void 0 ? void 0 : closest.key;
|
|
810
|
+
if (key) return {
|
|
811
|
+
type: 'item',
|
|
812
|
+
key: key,
|
|
813
|
+
dropPosition: closestDir
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
}, dropState, domRef);
|
|
817
|
+
isRootDropTarget = dropState.isDropTarget({
|
|
818
|
+
type: 'root'
|
|
819
|
+
});
|
|
384
820
|
}
|
|
385
|
-
}
|
|
821
|
+
let { gridProps: gridProps } = $k9Du2$reactarialist.useList({
|
|
822
|
+
...props,
|
|
823
|
+
isVirtualized: true,
|
|
824
|
+
keyboardDelegate: layout,
|
|
825
|
+
onAction: onAction
|
|
826
|
+
}, state, domRef);
|
|
827
|
+
// Sync loading state into the layout.
|
|
828
|
+
layout.isLoading = isLoading;
|
|
829
|
+
let focusedKey = selectionManager.focusedKey;
|
|
830
|
+
if ((dropState === null || dropState === void 0 ? void 0 : (ref1 = dropState.target) === null || ref1 === void 0 ? void 0 : ref1.type) === 'item') focusedKey = dropState.target.key;
|
|
831
|
+
// wait for layout to get accurate measurements
|
|
832
|
+
let [isVerticalScrollbarVisible, setVerticalScollbarVisible] = $k9Du2$react.useState(false);
|
|
833
|
+
let [isHorizontalScrollbarVisible, setHorizontalScollbarVisible] = $k9Du2$react.useState(false);
|
|
834
|
+
$k9Du2$reactariautils.useLayoutEffect(()=>{
|
|
835
|
+
if (domRef.current) {
|
|
836
|
+
// 2 is the width of the border which is not part of the box size
|
|
837
|
+
setVerticalScollbarVisible(domRef.current.clientWidth + 2 < domRef.current.offsetWidth);
|
|
838
|
+
setHorizontalScollbarVisible(domRef.current.clientHeight + 2 < domRef.current.offsetHeight);
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
let hasAnyChildren = $k9Du2$react.useMemo(()=>[
|
|
842
|
+
...collection
|
|
843
|
+
].some((item)=>item.hasChildNodes
|
|
844
|
+
)
|
|
845
|
+
, [
|
|
846
|
+
collection
|
|
847
|
+
]);
|
|
848
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($60684b441be8e84c$export$870039b0abfe3de0.Provider, {
|
|
849
|
+
value: {
|
|
850
|
+
state: state,
|
|
851
|
+
dragState: dragState,
|
|
852
|
+
dropState: dropState,
|
|
853
|
+
dragHooks: dragHooks,
|
|
854
|
+
dropHooks: dropHooks,
|
|
855
|
+
onAction: onAction,
|
|
856
|
+
isListDraggable: isListDraggable,
|
|
857
|
+
isListDroppable: isListDroppable,
|
|
858
|
+
layout: layout,
|
|
859
|
+
loadingState: loadingState
|
|
860
|
+
}
|
|
861
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactariavirtualizer.Virtualizer, {
|
|
862
|
+
...$k9Du2$reactariautils.mergeProps(isListDroppable && (droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps), gridProps),
|
|
863
|
+
...$k9Du2$reactariautils.filterDOMProps(otherProps),
|
|
864
|
+
...gridProps,
|
|
865
|
+
...styleProps,
|
|
866
|
+
isLoading: isLoading,
|
|
867
|
+
onLoadMore: onLoadMore,
|
|
868
|
+
ref: domRef,
|
|
869
|
+
focusedKey: focusedKey,
|
|
870
|
+
scrollDirection: "vertical",
|
|
871
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListView', `react-spectrum-ListView--${density}`, 'react-spectrum-ListView--emphasized', {
|
|
872
|
+
'react-spectrum-ListView--quiet': isQuiet,
|
|
873
|
+
'react-spectrum-ListView--loadingMore': loadingState === 'loadingMore',
|
|
874
|
+
'react-spectrum-ListView--draggable': !!isListDraggable,
|
|
875
|
+
'react-spectrum-ListView--dropTarget': !!isRootDropTarget,
|
|
876
|
+
'react-spectrum-ListView--isVerticalScrollbarVisible': isVerticalScrollbarVisible,
|
|
877
|
+
'react-spectrum-ListView--isHorizontalScrollbarVisible': isHorizontalScrollbarVisible,
|
|
878
|
+
'react-spectrum-ListView--hasAnyChildren': hasAnyChildren,
|
|
879
|
+
'react-spectrum-ListView--wrap': overflowMode === 'wrap'
|
|
880
|
+
}, styleProps.className),
|
|
881
|
+
layout: layout,
|
|
882
|
+
collection: collection,
|
|
883
|
+
transitionDuration: isLoading ? 160 : 220
|
|
884
|
+
}, (type, item)=>{
|
|
885
|
+
if (type === 'item') return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement(($parcel$interopDefault($k9Du2$react)).Fragment, null, isListDroppable && collection.getKeyBefore(item.key) == null && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($c59d3898f402f50b$export$2e2bcd8739ae039, {
|
|
886
|
+
key: "root"
|
|
887
|
+
}), isListDroppable && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($fc02fd49ab58c72e$export$2e2bcd8739ae039, {
|
|
888
|
+
key: `${item.key}-before`,
|
|
889
|
+
target: {
|
|
890
|
+
key: item.key,
|
|
891
|
+
type: 'item',
|
|
892
|
+
dropPosition: 'before'
|
|
893
|
+
}
|
|
894
|
+
}), /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($9eae7a1cb1535a6b$export$c6bde0c04b033c0e, {
|
|
895
|
+
item: item,
|
|
896
|
+
isEmphasized: true,
|
|
897
|
+
hasActions: !!onAction
|
|
898
|
+
}), isListDroppable && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($fc02fd49ab58c72e$export$2e2bcd8739ae039, {
|
|
899
|
+
key: `${item.key}-after`,
|
|
900
|
+
target: {
|
|
901
|
+
key: item.key,
|
|
902
|
+
type: 'item',
|
|
903
|
+
dropPosition: 'after'
|
|
904
|
+
},
|
|
905
|
+
isPresentationOnly: collection.getKeyAfter(item.key) !== null
|
|
906
|
+
})));
|
|
907
|
+
else if (type === 'loader') return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($60684b441be8e84c$var$CenteredWrapper, null, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($k9Du2$reactspectrumprogress.ProgressCircle, {
|
|
908
|
+
isIndeterminate: true,
|
|
909
|
+
"aria-label": collection.size > 0 ? formatMessage('loadingMore') : formatMessage('loading')
|
|
910
|
+
})));
|
|
911
|
+
else if (type === 'placeholder') {
|
|
912
|
+
let emptyState = props.renderEmptyState ? props.renderEmptyState() : null;
|
|
913
|
+
if (emptyState == null) return null;
|
|
914
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($60684b441be8e84c$var$CenteredWrapper, null, emptyState));
|
|
915
|
+
}
|
|
916
|
+
}), DragPreview && isListDraggable && /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement(DragPreview, {
|
|
917
|
+
ref: preview
|
|
918
|
+
}, ()=>{
|
|
919
|
+
let item = state.collection.getItem(dragState.draggedKey);
|
|
920
|
+
let itemCount = dragState.draggingKeys.size;
|
|
921
|
+
let itemHeight = layout.getLayoutInfo(dragState.draggedKey).rect.height;
|
|
922
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement($3d665b19f7865ff9$export$905ab40ac2179daa, {
|
|
923
|
+
item: item,
|
|
924
|
+
itemCount: itemCount,
|
|
925
|
+
itemHeight: itemHeight
|
|
926
|
+
}));
|
|
927
|
+
})));
|
|
386
928
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
className: classNames($b12595b6ccb9db4fe8501811c0117e$$interop$default, 'react-spectrum-ListView-centeredWrapper')
|
|
399
|
-
}, /*#__PURE__*/_react.createElement("div", {
|
|
400
|
-
role: "gridcell"
|
|
401
|
-
}, children));
|
|
929
|
+
function $60684b441be8e84c$var$CenteredWrapper({ children: children }) {
|
|
930
|
+
let { state: state } = $k9Du2$react.useContext($60684b441be8e84c$export$870039b0abfe3de0);
|
|
931
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
932
|
+
role: "row",
|
|
933
|
+
"aria-rowindex": state.collection.size + 1,
|
|
934
|
+
className: $k9Du2$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($279507a6f189e509$exports)), 'react-spectrum-ListView-centeredWrapper', {
|
|
935
|
+
'react-spectrum-ListView-centeredWrapper--loadingMore': state.collection.size > 0
|
|
936
|
+
})
|
|
937
|
+
}, /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).createElement("div", {
|
|
938
|
+
role: "gridcell"
|
|
939
|
+
}, children)));
|
|
402
940
|
}
|
|
941
|
+
/**
|
|
942
|
+
* Lists display a linear collection of data. They allow users to quickly scan, sort, compare, and take action on large amounts of data.
|
|
943
|
+
*/ const $60684b441be8e84c$export$84d0dd190d551cd1 = /*#__PURE__*/ ($parcel$interopDefault($k9Du2$react)).forwardRef($60684b441be8e84c$var$ListView);
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
403
947
|
|
|
404
|
-
const ListView = /*#__PURE__*/_react.forwardRef($e7c536fff73c6a7b9c1c07582f0c25a$var$ListView);
|
|
405
948
|
|
|
406
|
-
exports.ListView = ListView;
|
|
407
949
|
//# sourceMappingURL=main.js.map
|