@react-spectrum/list 3.0.0-alpha.9 → 3.0.0-beta.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/main.css +1 -1
- package/dist/main.js +572 -304
- package/dist/main.js.map +1 -1
- package/dist/module.js +574 -306
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +6 -16
- package/dist/types.d.ts.map +1 -1
- package/package.json +39 -35
- package/src/DragPreview.tsx +60 -0
- package/src/InsertionIndicator.tsx +46 -0
- package/src/ListView.tsx +184 -150
- package/src/ListViewItem.tsx +158 -62
- package/src/RootDropIndicator.tsx +28 -0
- package/src/styles.css +593 -0
- package/src/listview.css +0 -236
package/dist/module.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import "./main.css";
|
|
2
2
|
import {Item as $75e4a7b01832b12d$re_export$Item} from "@react-stately/collections";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {Content as $fWI2a$Content} from "@react-spectrum/view";
|
|
6
|
-
import {GridCollection as $fWI2a$GridCollection, useGridState as $fWI2a$useGridState} from "@react-stately/grid";
|
|
7
|
-
import {GridKeyboardDelegate as $fWI2a$GridKeyboardDelegate, useGridSelectionCheckbox as $fWI2a$useGridSelectionCheckbox, useGrid as $fWI2a$useGrid, useGridRow as $fWI2a$useGridRow, useGridCell as $fWI2a$useGridCell} from "@react-aria/grid";
|
|
3
|
+
import {useDOMRef as $fWI2a$useDOMRef, useStyleProps as $fWI2a$useStyleProps, classNames as $fWI2a$classNames, useHasChild as $fWI2a$useHasChild, SlotProvider as $fWI2a$SlotProvider, ClearSlots as $fWI2a$ClearSlots} from "@react-spectrum/utils";
|
|
4
|
+
import {useLayoutEffect as $fWI2a$useLayoutEffect, mergeProps as $fWI2a$mergeProps, filterDOMProps as $fWI2a$filterDOMProps} from "@react-aria/utils";
|
|
8
5
|
import {ListLayout as $fWI2a$ListLayout} from "@react-stately/layout";
|
|
9
6
|
import {useListState as $fWI2a$useListState} from "@react-stately/list";
|
|
10
7
|
import {ProgressCircle as $fWI2a$ProgressCircle} from "@react-spectrum/progress";
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
8
|
+
import $fWI2a$react, {useMemo as $fWI2a$useMemo, useRef as $fWI2a$useRef, useState as $fWI2a$useState, useContext as $fWI2a$useContext} from "react";
|
|
9
|
+
import {Rect as $fWI2a$Rect} from "@react-stately/virtualizer";
|
|
13
10
|
import {useCollator as $fWI2a$useCollator, useMessageFormatter as $fWI2a$useMessageFormatter, useLocale as $fWI2a$useLocale} from "@react-aria/i18n";
|
|
11
|
+
import {useList as $fWI2a$useList, useListItem as $fWI2a$useListItem, useListSelectionCheckbox as $fWI2a$useListSelectionCheckbox} from "@react-aria/list";
|
|
12
|
+
import {useProvider as $fWI2a$useProvider, Provider as $fWI2a$Provider} from "@react-spectrum/provider";
|
|
14
13
|
import {Virtualizer as $fWI2a$Virtualizer} from "@react-aria/virtualizer";
|
|
15
|
-
import $fWI2a$
|
|
14
|
+
import {useVisuallyHidden as $fWI2a$useVisuallyHidden} from "@react-aria/visually-hidden";
|
|
15
|
+
import {Checkbox as $fWI2a$Checkbox} from "@react-spectrum/checkbox";
|
|
16
16
|
import $fWI2a$spectrumiconsuiChevronLeftMedium from "@spectrum-icons/ui/ChevronLeftMedium";
|
|
17
17
|
import $fWI2a$spectrumiconsuiChevronRightMedium from "@spectrum-icons/ui/ChevronRightMedium";
|
|
18
|
+
import {CSSTransition as $fWI2a$CSSTransition} from "react-transition-group";
|
|
18
19
|
import {useFocusRing as $fWI2a$useFocusRing, FocusRing as $fWI2a$FocusRing} from "@react-aria/focus";
|
|
19
20
|
import {Grid as $fWI2a$Grid} from "@react-spectrum/layout";
|
|
20
|
-
import {
|
|
21
|
+
import {useHover as $fWI2a$useHover, isFocusVisible as $fWI2a$isFocusVisible} from "@react-aria/interactions";
|
|
22
|
+
import $fWI2a$spectrumiconsuiListGripper from "@spectrum-icons/ui/ListGripper";
|
|
23
|
+
import {Text as $fWI2a$Text} from "@react-spectrum/text";
|
|
21
24
|
import {useButton as $fWI2a$useButton} from "@react-aria/button";
|
|
22
|
-
import {useHover as $fWI2a$useHover, usePress as $fWI2a$usePress} from "@react-aria/interactions";
|
|
23
|
-
import {useVisuallyHidden as $fWI2a$useVisuallyHidden} from "@react-aria/visually-hidden";
|
|
24
25
|
|
|
25
26
|
function $parcel$interopDefault(a) {
|
|
26
27
|
return a && a.__esModule ? a.default : a;
|
|
@@ -31,6 +32,196 @@ function $parcel$export(e, n, v, s) {
|
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
35
|
+
var $c8bc378300208597$exports = {};
|
|
36
|
+
|
|
37
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView", () => $c8bc378300208597$export$4ad4709e9aee8e02, (v) => $c8bc378300208597$export$4ad4709e9aee8e02 = v);
|
|
38
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView-row", () => $c8bc378300208597$export$f80410436c6352c8, (v) => $c8bc378300208597$export$f80410436c6352c8 = v);
|
|
39
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--emphasized", () => $c8bc378300208597$export$eb0d5352b2a55473, (v) => $c8bc378300208597$export$eb0d5352b2a55473 = v);
|
|
40
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--dropTarget", () => $c8bc378300208597$export$d9ba3f873d0eaec6, (v) => $c8bc378300208597$export$d9ba3f873d0eaec6 = v);
|
|
41
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem", () => $c8bc378300208597$export$ce8c93b50eec2d4f, (v) => $c8bc378300208597$export$ce8c93b50eec2d4f = v);
|
|
42
|
+
$parcel$export($c8bc378300208597$exports, "is-selected", () => $c8bc378300208597$export$1e0fb04f31d3c22a, (v) => $c8bc378300208597$export$1e0fb04f31d3c22a = v);
|
|
43
|
+
$parcel$export($c8bc378300208597$exports, "is-hovered", () => $c8bc378300208597$export$b8813cd5d7824ce7, (v) => $c8bc378300208597$export$b8813cd5d7824ce7 = v);
|
|
44
|
+
$parcel$export($c8bc378300208597$exports, "is-active", () => $c8bc378300208597$export$20fd0f7cd4e6112f, (v) => $c8bc378300208597$export$20fd0f7cd4e6112f = v);
|
|
45
|
+
$parcel$export($c8bc378300208597$exports, "focus-ring", () => $c8bc378300208597$export$f39a09f249340e2a, (v) => $c8bc378300208597$export$f39a09f249340e2a = v);
|
|
46
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--firstRow", () => $c8bc378300208597$export$60162f05499b7560, (v) => $c8bc378300208597$export$60162f05499b7560 = v);
|
|
47
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--quiet", () => $c8bc378300208597$export$b01cb9680b0b8d22, (v) => $c8bc378300208597$export$b01cb9680b0b8d22 = v);
|
|
48
|
+
$parcel$export($c8bc378300208597$exports, "is-next-selected", () => $c8bc378300208597$export$53aa811f86efbfad, (v) => $c8bc378300208597$export$53aa811f86efbfad = v);
|
|
49
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--isFlushBottom", () => $c8bc378300208597$export$f9ed481cac4d935a, (v) => $c8bc378300208597$export$f9ed481cac4d935a = v);
|
|
50
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--loadingMore", () => $c8bc378300208597$export$5aa06adeaa92dbca, (v) => $c8bc378300208597$export$5aa06adeaa92dbca = v);
|
|
51
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--lastRow", () => $c8bc378300208597$export$659c081622dc13b0, (v) => $c8bc378300208597$export$659c081622dc13b0 = v);
|
|
52
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--isVerticalScrollbarVisible", () => $c8bc378300208597$export$1bf50375883926, (v) => $c8bc378300208597$export$1bf50375883926 = v);
|
|
53
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--isHorizontalScrollbarVisible", () => $c8bc378300208597$export$d9b13621bc5dd4d1, (v) => $c8bc378300208597$export$d9b13621bc5dd4d1 = v);
|
|
54
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--wrap", () => $c8bc378300208597$export$68b45d42c77fe1cf, (v) => $c8bc378300208597$export$68b45d42c77fe1cf = v);
|
|
55
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-content", () => $c8bc378300208597$export$dc2b0b08d47555, (v) => $c8bc378300208597$export$dc2b0b08d47555 = v);
|
|
56
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-description", () => $c8bc378300208597$export$5d2adfeb248e654a, (v) => $c8bc378300208597$export$5d2adfeb248e654a = v);
|
|
57
|
+
$parcel$export($c8bc378300208597$exports, "round-tops", () => $c8bc378300208597$export$3b4577d06eb82ec0, (v) => $c8bc378300208597$export$3b4577d06eb82ec0 = v);
|
|
58
|
+
$parcel$export($c8bc378300208597$exports, "round-bottoms", () => $c8bc378300208597$export$8a26470723c97997, (v) => $c8bc378300208597$export$8a26470723c97997 = v);
|
|
59
|
+
$parcel$export($c8bc378300208597$exports, "is-focused", () => $c8bc378300208597$export$e7dc768d35940237, (v) => $c8bc378300208597$export$e7dc768d35940237 = v);
|
|
60
|
+
$parcel$export($c8bc378300208597$exports, "is-disabled", () => $c8bc378300208597$export$d35bc1e505d1ebbf, (v) => $c8bc378300208597$export$d35bc1e505d1ebbf = v);
|
|
61
|
+
$parcel$export($c8bc378300208597$exports, "has-checkbox", () => $c8bc378300208597$export$27f4d14f7fc5b94, (v) => $c8bc378300208597$export$27f4d14f7fc5b94 = v);
|
|
62
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-grid", () => $c8bc378300208597$export$aaaf83100348d389, (v) => $c8bc378300208597$export$aaaf83100348d389 = v);
|
|
63
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-draghandle-container", () => $c8bc378300208597$export$f385e7456ddfee84, (v) => $c8bc378300208597$export$f385e7456ddfee84 = v);
|
|
64
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-draghandle-button", () => $c8bc378300208597$export$4784f0c2ec8bbf7b, (v) => $c8bc378300208597$export$4784f0c2ec8bbf7b = v);
|
|
65
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkboxWrapper", () => $c8bc378300208597$export$41a33ae9818c51be, (v) => $c8bc378300208597$export$41a33ae9818c51be = v);
|
|
66
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox", () => $c8bc378300208597$export$f979f76ca45242f2, (v) => $c8bc378300208597$export$f979f76ca45242f2 = v);
|
|
67
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-icon", () => $c8bc378300208597$export$2b56ca744bd31ebd, (v) => $c8bc378300208597$export$2b56ca744bd31ebd = v);
|
|
68
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-image", () => $c8bc378300208597$export$1260770e51d5a8c4, (v) => $c8bc378300208597$export$1260770e51d5a8c4 = v);
|
|
69
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--hasDescription", () => $c8bc378300208597$export$7c9efe74c4b77579, (v) => $c8bc378300208597$export$7c9efe74c4b77579 = v);
|
|
70
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-actions", () => $c8bc378300208597$export$26480389595d4515, (v) => $c8bc378300208597$export$26480389595d4515 = v);
|
|
71
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-actionmenu", () => $c8bc378300208597$export$58dfda3903289699, (v) => $c8bc378300208597$export$58dfda3903289699 = v);
|
|
72
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-parentIndicator", () => $c8bc378300208597$export$39b42a8a24290c17, (v) => $c8bc378300208597$export$39b42a8a24290c17 = v);
|
|
73
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-dragPreview", () => $c8bc378300208597$export$84286d36e5c00c55, (v) => $c8bc378300208597$export$84286d36e5c00c55 = v);
|
|
74
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-badge", () => $c8bc378300208597$export$6498e436231eea33, (v) => $c8bc378300208597$export$6498e436231eea33 = v);
|
|
75
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-dragPreview--multiple", () => $c8bc378300208597$export$2fb3c7c2d5c0d720, (v) => $c8bc378300208597$export$2fb3c7c2d5c0d720 = v);
|
|
76
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--hasAnyChildren", () => $c8bc378300208597$export$7150e72e440612bf, (v) => $c8bc378300208597$export$7150e72e440612bf = v);
|
|
77
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-parentIndicator--hasChildItems", () => $c8bc378300208597$export$c29dcfa80dab8c88, (v) => $c8bc378300208597$export$c29dcfa80dab8c88 = v);
|
|
78
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--compact", () => $c8bc378300208597$export$1f55b27adf96a61e, (v) => $c8bc378300208597$export$1f55b27adf96a61e = v);
|
|
79
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--spacious", () => $c8bc378300208597$export$cbd30c7809acdd81, (v) => $c8bc378300208597$export$cbd30c7809acdd81 = v);
|
|
80
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--draggable", () => $c8bc378300208597$export$a2d35348c0cc9bca, (v) => $c8bc378300208597$export$a2d35348c0cc9bca = v);
|
|
81
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--dropTarget", () => $c8bc378300208597$export$8afa006321ee3a8f, (v) => $c8bc378300208597$export$8afa006321ee3a8f = v);
|
|
82
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView-centeredWrapper", () => $c8bc378300208597$export$1b66ee5cd8394caf, (v) => $c8bc378300208597$export$1b66ee5cd8394caf = v);
|
|
83
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListView-centeredWrapper--loadingMore", () => $c8bc378300208597$export$6b3b7792abd9e5f4, (v) => $c8bc378300208597$export$6b3b7792abd9e5f4 = v);
|
|
84
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewInsertionIndicator", () => $c8bc378300208597$export$2a6a235e0baff403, (v) => $c8bc378300208597$export$2a6a235e0baff403 = v);
|
|
85
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewInsertionIndicator--dropTarget", () => $c8bc378300208597$export$927a243805a411ca, (v) => $c8bc378300208597$export$927a243805a411ca = v);
|
|
86
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--enter", () => $c8bc378300208597$export$9dc11c0e0825a249, (v) => $c8bc378300208597$export$9dc11c0e0825a249 = v);
|
|
87
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--enterActive", () => $c8bc378300208597$export$f89865e352230a35, (v) => $c8bc378300208597$export$f89865e352230a35 = v);
|
|
88
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--exit", () => $c8bc378300208597$export$867c05a16e5d2a7c, (v) => $c8bc378300208597$export$867c05a16e5d2a7c = v);
|
|
89
|
+
$parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--exitActive", () => $c8bc378300208597$export$61b66671605f1b1a, (v) => $c8bc378300208597$export$61b66671605f1b1a = v);
|
|
90
|
+
var $c8bc378300208597$export$4ad4709e9aee8e02;
|
|
91
|
+
var $c8bc378300208597$export$f80410436c6352c8;
|
|
92
|
+
var $c8bc378300208597$export$eb0d5352b2a55473;
|
|
93
|
+
var $c8bc378300208597$export$d9ba3f873d0eaec6;
|
|
94
|
+
var $c8bc378300208597$export$ce8c93b50eec2d4f;
|
|
95
|
+
var $c8bc378300208597$export$1e0fb04f31d3c22a;
|
|
96
|
+
var $c8bc378300208597$export$b8813cd5d7824ce7;
|
|
97
|
+
var $c8bc378300208597$export$20fd0f7cd4e6112f;
|
|
98
|
+
var $c8bc378300208597$export$f39a09f249340e2a;
|
|
99
|
+
var $c8bc378300208597$export$60162f05499b7560;
|
|
100
|
+
var $c8bc378300208597$export$b01cb9680b0b8d22;
|
|
101
|
+
var $c8bc378300208597$export$53aa811f86efbfad;
|
|
102
|
+
var $c8bc378300208597$export$f9ed481cac4d935a;
|
|
103
|
+
var $c8bc378300208597$export$5aa06adeaa92dbca;
|
|
104
|
+
var $c8bc378300208597$export$659c081622dc13b0;
|
|
105
|
+
var $c8bc378300208597$export$1bf50375883926;
|
|
106
|
+
var $c8bc378300208597$export$d9b13621bc5dd4d1;
|
|
107
|
+
var $c8bc378300208597$export$68b45d42c77fe1cf;
|
|
108
|
+
var $c8bc378300208597$export$dc2b0b08d47555;
|
|
109
|
+
var $c8bc378300208597$export$5d2adfeb248e654a;
|
|
110
|
+
var $c8bc378300208597$export$3b4577d06eb82ec0;
|
|
111
|
+
var $c8bc378300208597$export$8a26470723c97997;
|
|
112
|
+
var $c8bc378300208597$export$e7dc768d35940237;
|
|
113
|
+
var $c8bc378300208597$export$d35bc1e505d1ebbf;
|
|
114
|
+
var $c8bc378300208597$export$27f4d14f7fc5b94;
|
|
115
|
+
var $c8bc378300208597$export$aaaf83100348d389;
|
|
116
|
+
var $c8bc378300208597$export$f385e7456ddfee84;
|
|
117
|
+
var $c8bc378300208597$export$4784f0c2ec8bbf7b;
|
|
118
|
+
var $c8bc378300208597$export$41a33ae9818c51be;
|
|
119
|
+
var $c8bc378300208597$export$f979f76ca45242f2;
|
|
120
|
+
var $c8bc378300208597$export$2b56ca744bd31ebd;
|
|
121
|
+
var $c8bc378300208597$export$1260770e51d5a8c4;
|
|
122
|
+
var $c8bc378300208597$export$7c9efe74c4b77579;
|
|
123
|
+
var $c8bc378300208597$export$26480389595d4515;
|
|
124
|
+
var $c8bc378300208597$export$58dfda3903289699;
|
|
125
|
+
var $c8bc378300208597$export$39b42a8a24290c17;
|
|
126
|
+
var $c8bc378300208597$export$84286d36e5c00c55;
|
|
127
|
+
var $c8bc378300208597$export$6498e436231eea33;
|
|
128
|
+
var $c8bc378300208597$export$2fb3c7c2d5c0d720;
|
|
129
|
+
var $c8bc378300208597$export$7150e72e440612bf;
|
|
130
|
+
var $c8bc378300208597$export$c29dcfa80dab8c88;
|
|
131
|
+
var $c8bc378300208597$export$1f55b27adf96a61e;
|
|
132
|
+
var $c8bc378300208597$export$cbd30c7809acdd81;
|
|
133
|
+
var $c8bc378300208597$export$a2d35348c0cc9bca;
|
|
134
|
+
var $c8bc378300208597$export$8afa006321ee3a8f;
|
|
135
|
+
var $c8bc378300208597$export$1b66ee5cd8394caf;
|
|
136
|
+
var $c8bc378300208597$export$6b3b7792abd9e5f4;
|
|
137
|
+
var $c8bc378300208597$export$2a6a235e0baff403;
|
|
138
|
+
var $c8bc378300208597$export$927a243805a411ca;
|
|
139
|
+
var $c8bc378300208597$export$9dc11c0e0825a249;
|
|
140
|
+
var $c8bc378300208597$export$f89865e352230a35;
|
|
141
|
+
var $c8bc378300208597$export$867c05a16e5d2a7c;
|
|
142
|
+
var $c8bc378300208597$export$61b66671605f1b1a;
|
|
143
|
+
$c8bc378300208597$export$4ad4709e9aee8e02 = "react-spectrum-ListView_dd5487";
|
|
144
|
+
$c8bc378300208597$export$f80410436c6352c8 = "react-spectrum-ListView-row_dd5487";
|
|
145
|
+
$c8bc378300208597$export$eb0d5352b2a55473 = "react-spectrum-ListView--emphasized_dd5487";
|
|
146
|
+
$c8bc378300208597$export$d9ba3f873d0eaec6 = "react-spectrum-ListView--dropTarget_dd5487";
|
|
147
|
+
$c8bc378300208597$export$ce8c93b50eec2d4f = "react-spectrum-ListViewItem_dd5487";
|
|
148
|
+
$c8bc378300208597$export$1e0fb04f31d3c22a = "is-selected_dd5487";
|
|
149
|
+
$c8bc378300208597$export$b8813cd5d7824ce7 = "is-hovered_dd5487";
|
|
150
|
+
$c8bc378300208597$export$20fd0f7cd4e6112f = "is-active_dd5487";
|
|
151
|
+
$c8bc378300208597$export$f39a09f249340e2a = "focus-ring_dd5487";
|
|
152
|
+
$c8bc378300208597$export$60162f05499b7560 = "react-spectrum-ListViewItem--firstRow_dd5487";
|
|
153
|
+
$c8bc378300208597$export$b01cb9680b0b8d22 = "react-spectrum-ListView--quiet_dd5487";
|
|
154
|
+
$c8bc378300208597$export$53aa811f86efbfad = "is-next-selected_dd5487";
|
|
155
|
+
$c8bc378300208597$export$f9ed481cac4d935a = "react-spectrum-ListViewItem--isFlushBottom_dd5487";
|
|
156
|
+
$c8bc378300208597$export$5aa06adeaa92dbca = "react-spectrum-ListView--loadingMore_dd5487";
|
|
157
|
+
$c8bc378300208597$export$659c081622dc13b0 = "react-spectrum-ListViewItem--lastRow_dd5487";
|
|
158
|
+
$c8bc378300208597$export$1bf50375883926 = "react-spectrum-ListView--isVerticalScrollbarVisible_dd5487";
|
|
159
|
+
$c8bc378300208597$export$d9b13621bc5dd4d1 = "react-spectrum-ListView--isHorizontalScrollbarVisible_dd5487";
|
|
160
|
+
$c8bc378300208597$export$68b45d42c77fe1cf = "react-spectrum-ListView--wrap_dd5487";
|
|
161
|
+
$c8bc378300208597$export$dc2b0b08d47555 = "react-spectrum-ListViewItem-content_dd5487";
|
|
162
|
+
$c8bc378300208597$export$5d2adfeb248e654a = "react-spectrum-ListViewItem-description_dd5487";
|
|
163
|
+
$c8bc378300208597$export$3b4577d06eb82ec0 = "round-tops_dd5487";
|
|
164
|
+
$c8bc378300208597$export$8a26470723c97997 = "round-bottoms_dd5487";
|
|
165
|
+
$c8bc378300208597$export$e7dc768d35940237 = "is-focused_dd5487";
|
|
166
|
+
$c8bc378300208597$export$d35bc1e505d1ebbf = "is-disabled_dd5487";
|
|
167
|
+
$c8bc378300208597$export$27f4d14f7fc5b94 = "has-checkbox_dd5487";
|
|
168
|
+
$c8bc378300208597$export$aaaf83100348d389 = "react-spectrum-ListViewItem-grid_dd5487";
|
|
169
|
+
$c8bc378300208597$export$f385e7456ddfee84 = "react-spectrum-ListViewItem-draghandle-container_dd5487";
|
|
170
|
+
$c8bc378300208597$export$4784f0c2ec8bbf7b = "react-spectrum-ListViewItem-draghandle-button_dd5487";
|
|
171
|
+
$c8bc378300208597$export$41a33ae9818c51be = "react-spectrum-ListViewItem-checkboxWrapper_dd5487";
|
|
172
|
+
$c8bc378300208597$export$f979f76ca45242f2 = "react-spectrum-ListViewItem-checkbox_dd5487";
|
|
173
|
+
$c8bc378300208597$export$2b56ca744bd31ebd = "react-spectrum-ListViewItem-icon_dd5487";
|
|
174
|
+
$c8bc378300208597$export$1260770e51d5a8c4 = "react-spectrum-ListViewItem-image_dd5487";
|
|
175
|
+
$c8bc378300208597$export$7c9efe74c4b77579 = "react-spectrum-ListView--hasDescription_dd5487";
|
|
176
|
+
$c8bc378300208597$export$26480389595d4515 = "react-spectrum-ListViewItem-actions_dd5487";
|
|
177
|
+
$c8bc378300208597$export$58dfda3903289699 = "react-spectrum-ListViewItem-actionmenu_dd5487";
|
|
178
|
+
$c8bc378300208597$export$39b42a8a24290c17 = "react-spectrum-ListViewItem-parentIndicator_dd5487";
|
|
179
|
+
$c8bc378300208597$export$84286d36e5c00c55 = "react-spectrum-ListViewItem-dragPreview_dd5487";
|
|
180
|
+
$c8bc378300208597$export$6498e436231eea33 = "react-spectrum-ListViewItem-badge_dd5487";
|
|
181
|
+
$c8bc378300208597$export$2fb3c7c2d5c0d720 = "react-spectrum-ListViewItem-dragPreview--multiple_dd5487";
|
|
182
|
+
$c8bc378300208597$export$7150e72e440612bf = "react-spectrum-ListView--hasAnyChildren_dd5487";
|
|
183
|
+
$c8bc378300208597$export$c29dcfa80dab8c88 = "react-spectrum-ListViewItem-parentIndicator--hasChildItems_dd5487";
|
|
184
|
+
$c8bc378300208597$export$1f55b27adf96a61e = "react-spectrum-ListView--compact_dd5487";
|
|
185
|
+
$c8bc378300208597$export$cbd30c7809acdd81 = "react-spectrum-ListView--spacious_dd5487";
|
|
186
|
+
$c8bc378300208597$export$a2d35348c0cc9bca = "react-spectrum-ListView--draggable_dd5487";
|
|
187
|
+
$c8bc378300208597$export$8afa006321ee3a8f = "react-spectrum-ListViewItem--dropTarget_dd5487";
|
|
188
|
+
$c8bc378300208597$export$1b66ee5cd8394caf = "react-spectrum-ListView-centeredWrapper_dd5487";
|
|
189
|
+
$c8bc378300208597$export$6b3b7792abd9e5f4 = "react-spectrum-ListView-centeredWrapper--loadingMore_dd5487";
|
|
190
|
+
$c8bc378300208597$export$2a6a235e0baff403 = "react-spectrum-ListViewInsertionIndicator_dd5487";
|
|
191
|
+
$c8bc378300208597$export$927a243805a411ca = "react-spectrum-ListViewInsertionIndicator--dropTarget_dd5487";
|
|
192
|
+
$c8bc378300208597$export$9dc11c0e0825a249 = "react-spectrum-ListViewItem-checkbox--enter_dd5487";
|
|
193
|
+
$c8bc378300208597$export$f89865e352230a35 = "react-spectrum-ListViewItem-checkbox--enterActive_dd5487";
|
|
194
|
+
$c8bc378300208597$export$867c05a16e5d2a7c = "react-spectrum-ListViewItem-checkbox--exit_dd5487";
|
|
195
|
+
$c8bc378300208597$export$61b66671605f1b1a = "react-spectrum-ListViewItem-checkbox--exitActive_dd5487";
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
function $0a834ddbc989a3e3$export$2e2bcd8739ae039(props) {
|
|
202
|
+
let { dropState: dropState , dropHooks: dropHooks } = $fWI2a$useContext($f85fb77f9d4cbc6c$export$870039b0abfe3de0);
|
|
203
|
+
const { target: target , isPresentationOnly: isPresentationOnly } = props;
|
|
204
|
+
let ref = $fWI2a$useRef();
|
|
205
|
+
let { dropIndicatorProps: dropIndicatorProps } = dropHooks.useDropIndicator(props, dropState, ref);
|
|
206
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = $fWI2a$useVisuallyHidden();
|
|
207
|
+
let isDropTarget = dropState.isDropTarget(target);
|
|
208
|
+
if (!isDropTarget && dropIndicatorProps['aria-hidden']) return null;
|
|
209
|
+
return(/*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
210
|
+
role: "row",
|
|
211
|
+
"aria-hidden": dropIndicatorProps['aria-hidden']
|
|
212
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
213
|
+
role: "gridcell",
|
|
214
|
+
"aria-selected": "false",
|
|
215
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewInsertionIndicator', {
|
|
216
|
+
'react-spectrum-ListViewInsertionIndicator--dropTarget': isDropTarget
|
|
217
|
+
})
|
|
218
|
+
}, !isPresentationOnly && /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
219
|
+
...visuallyHiddenProps,
|
|
220
|
+
role: "button",
|
|
221
|
+
...dropIndicatorProps,
|
|
222
|
+
ref: ref
|
|
223
|
+
}))));
|
|
224
|
+
}
|
|
34
225
|
|
|
35
226
|
|
|
36
227
|
var $8d8b0a0ae222979e$exports = {};
|
|
@@ -211,95 +402,6 @@ $8d8b0a0ae222979e$exports = {
|
|
|
211
402
|
|
|
212
403
|
|
|
213
404
|
|
|
214
|
-
var $7a33fe9cdec6aaae$exports = {};
|
|
215
|
-
|
|
216
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView", () => $7a33fe9cdec6aaae$export$4ad4709e9aee8e02, (v) => $7a33fe9cdec6aaae$export$4ad4709e9aee8e02 = v);
|
|
217
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView--quiet", () => $7a33fe9cdec6aaae$export$b01cb9680b0b8d22, (v) => $7a33fe9cdec6aaae$export$b01cb9680b0b8d22 = v);
|
|
218
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem", () => $7a33fe9cdec6aaae$export$ce8c93b50eec2d4f, (v) => $7a33fe9cdec6aaae$export$ce8c93b50eec2d4f = v);
|
|
219
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView--emphasized", () => $7a33fe9cdec6aaae$export$eb0d5352b2a55473, (v) => $7a33fe9cdec6aaae$export$eb0d5352b2a55473 = v);
|
|
220
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "is-selected", () => $7a33fe9cdec6aaae$export$1e0fb04f31d3c22a, (v) => $7a33fe9cdec6aaae$export$1e0fb04f31d3c22a = v);
|
|
221
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "is-hovered", () => $7a33fe9cdec6aaae$export$b8813cd5d7824ce7, (v) => $7a33fe9cdec6aaae$export$b8813cd5d7824ce7 = v);
|
|
222
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "is-active", () => $7a33fe9cdec6aaae$export$20fd0f7cd4e6112f, (v) => $7a33fe9cdec6aaae$export$20fd0f7cd4e6112f = v);
|
|
223
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "is-previous-selected", () => $7a33fe9cdec6aaae$export$714358c802c073a3, (v) => $7a33fe9cdec6aaae$export$714358c802c073a3 = v);
|
|
224
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "is-focused", () => $7a33fe9cdec6aaae$export$e7dc768d35940237, (v) => $7a33fe9cdec6aaae$export$e7dc768d35940237 = v);
|
|
225
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "focus-ring", () => $7a33fe9cdec6aaae$export$f39a09f249340e2a, (v) => $7a33fe9cdec6aaae$export$f39a09f249340e2a = v);
|
|
226
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "has-checkbox", () => $7a33fe9cdec6aaae$export$27f4d14f7fc5b94, (v) => $7a33fe9cdec6aaae$export$27f4d14f7fc5b94 = v);
|
|
227
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "is-dragging", () => $7a33fe9cdec6aaae$export$642fdeb0d9a9740d, (v) => $7a33fe9cdec6aaae$export$642fdeb0d9a9740d = v);
|
|
228
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-grid", () => $7a33fe9cdec6aaae$export$aaaf83100348d389, (v) => $7a33fe9cdec6aaae$export$aaaf83100348d389 = v);
|
|
229
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-draghandle-container", () => $7a33fe9cdec6aaae$export$f385e7456ddfee84, (v) => $7a33fe9cdec6aaae$export$f385e7456ddfee84 = v);
|
|
230
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-draghandle-button", () => $7a33fe9cdec6aaae$export$4784f0c2ec8bbf7b, (v) => $7a33fe9cdec6aaae$export$4784f0c2ec8bbf7b = v);
|
|
231
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-checkbox", () => $7a33fe9cdec6aaae$export$f979f76ca45242f2, (v) => $7a33fe9cdec6aaae$export$f979f76ca45242f2 = v);
|
|
232
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-icon", () => $7a33fe9cdec6aaae$export$2b56ca744bd31ebd, (v) => $7a33fe9cdec6aaae$export$2b56ca744bd31ebd = v);
|
|
233
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-image", () => $7a33fe9cdec6aaae$export$1260770e51d5a8c4, (v) => $7a33fe9cdec6aaae$export$1260770e51d5a8c4 = v);
|
|
234
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-content", () => $7a33fe9cdec6aaae$export$dc2b0b08d47555, (v) => $7a33fe9cdec6aaae$export$dc2b0b08d47555 = v);
|
|
235
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-description", () => $7a33fe9cdec6aaae$export$5d2adfeb248e654a, (v) => $7a33fe9cdec6aaae$export$5d2adfeb248e654a = v);
|
|
236
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-actions", () => $7a33fe9cdec6aaae$export$26480389595d4515, (v) => $7a33fe9cdec6aaae$export$26480389595d4515 = v);
|
|
237
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-actionmenu", () => $7a33fe9cdec6aaae$export$58dfda3903289699, (v) => $7a33fe9cdec6aaae$export$58dfda3903289699 = v);
|
|
238
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem-parentIndicator", () => $7a33fe9cdec6aaae$export$39b42a8a24290c17, (v) => $7a33fe9cdec6aaae$export$39b42a8a24290c17 = v);
|
|
239
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView--compact", () => $7a33fe9cdec6aaae$export$1f55b27adf96a61e, (v) => $7a33fe9cdec6aaae$export$1f55b27adf96a61e = v);
|
|
240
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView--spacious", () => $7a33fe9cdec6aaae$export$cbd30c7809acdd81, (v) => $7a33fe9cdec6aaae$export$cbd30c7809acdd81 = v);
|
|
241
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView--draggable", () => $7a33fe9cdec6aaae$export$a2d35348c0cc9bca, (v) => $7a33fe9cdec6aaae$export$a2d35348c0cc9bca = v);
|
|
242
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListViewItem--draggable", () => $7a33fe9cdec6aaae$export$f290f4d471385527, (v) => $7a33fe9cdec6aaae$export$f290f4d471385527 = v);
|
|
243
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView-centeredWrapper", () => $7a33fe9cdec6aaae$export$1b66ee5cd8394caf, (v) => $7a33fe9cdec6aaae$export$1b66ee5cd8394caf = v);
|
|
244
|
-
$parcel$export($7a33fe9cdec6aaae$exports, "react-spectrum-ListView-centeredWrapper--loadingMore", () => $7a33fe9cdec6aaae$export$6b3b7792abd9e5f4, (v) => $7a33fe9cdec6aaae$export$6b3b7792abd9e5f4 = v);
|
|
245
|
-
var $7a33fe9cdec6aaae$export$4ad4709e9aee8e02;
|
|
246
|
-
var $7a33fe9cdec6aaae$export$b01cb9680b0b8d22;
|
|
247
|
-
var $7a33fe9cdec6aaae$export$ce8c93b50eec2d4f;
|
|
248
|
-
var $7a33fe9cdec6aaae$export$eb0d5352b2a55473;
|
|
249
|
-
var $7a33fe9cdec6aaae$export$1e0fb04f31d3c22a;
|
|
250
|
-
var $7a33fe9cdec6aaae$export$b8813cd5d7824ce7;
|
|
251
|
-
var $7a33fe9cdec6aaae$export$20fd0f7cd4e6112f;
|
|
252
|
-
var $7a33fe9cdec6aaae$export$714358c802c073a3;
|
|
253
|
-
var $7a33fe9cdec6aaae$export$e7dc768d35940237;
|
|
254
|
-
var $7a33fe9cdec6aaae$export$f39a09f249340e2a;
|
|
255
|
-
var $7a33fe9cdec6aaae$export$27f4d14f7fc5b94;
|
|
256
|
-
var $7a33fe9cdec6aaae$export$642fdeb0d9a9740d;
|
|
257
|
-
var $7a33fe9cdec6aaae$export$aaaf83100348d389;
|
|
258
|
-
var $7a33fe9cdec6aaae$export$f385e7456ddfee84;
|
|
259
|
-
var $7a33fe9cdec6aaae$export$4784f0c2ec8bbf7b;
|
|
260
|
-
var $7a33fe9cdec6aaae$export$f979f76ca45242f2;
|
|
261
|
-
var $7a33fe9cdec6aaae$export$2b56ca744bd31ebd;
|
|
262
|
-
var $7a33fe9cdec6aaae$export$1260770e51d5a8c4;
|
|
263
|
-
var $7a33fe9cdec6aaae$export$dc2b0b08d47555;
|
|
264
|
-
var $7a33fe9cdec6aaae$export$5d2adfeb248e654a;
|
|
265
|
-
var $7a33fe9cdec6aaae$export$26480389595d4515;
|
|
266
|
-
var $7a33fe9cdec6aaae$export$58dfda3903289699;
|
|
267
|
-
var $7a33fe9cdec6aaae$export$39b42a8a24290c17;
|
|
268
|
-
var $7a33fe9cdec6aaae$export$1f55b27adf96a61e;
|
|
269
|
-
var $7a33fe9cdec6aaae$export$cbd30c7809acdd81;
|
|
270
|
-
var $7a33fe9cdec6aaae$export$a2d35348c0cc9bca;
|
|
271
|
-
var $7a33fe9cdec6aaae$export$f290f4d471385527;
|
|
272
|
-
var $7a33fe9cdec6aaae$export$1b66ee5cd8394caf;
|
|
273
|
-
var $7a33fe9cdec6aaae$export$6b3b7792abd9e5f4;
|
|
274
|
-
$7a33fe9cdec6aaae$export$4ad4709e9aee8e02 = "react-spectrum-ListView_d68562";
|
|
275
|
-
$7a33fe9cdec6aaae$export$b01cb9680b0b8d22 = "react-spectrum-ListView--quiet_d68562";
|
|
276
|
-
$7a33fe9cdec6aaae$export$ce8c93b50eec2d4f = "react-spectrum-ListViewItem_d68562";
|
|
277
|
-
$7a33fe9cdec6aaae$export$eb0d5352b2a55473 = "react-spectrum-ListView--emphasized_d68562";
|
|
278
|
-
$7a33fe9cdec6aaae$export$1e0fb04f31d3c22a = "is-selected_d68562";
|
|
279
|
-
$7a33fe9cdec6aaae$export$b8813cd5d7824ce7 = "is-hovered_d68562";
|
|
280
|
-
$7a33fe9cdec6aaae$export$20fd0f7cd4e6112f = "is-active_d68562";
|
|
281
|
-
$7a33fe9cdec6aaae$export$714358c802c073a3 = "is-previous-selected_d68562";
|
|
282
|
-
$7a33fe9cdec6aaae$export$e7dc768d35940237 = "is-focused_d68562";
|
|
283
|
-
$7a33fe9cdec6aaae$export$f39a09f249340e2a = "focus-ring_d68562";
|
|
284
|
-
$7a33fe9cdec6aaae$export$27f4d14f7fc5b94 = "has-checkbox_d68562";
|
|
285
|
-
$7a33fe9cdec6aaae$export$642fdeb0d9a9740d = "is-dragging_d68562";
|
|
286
|
-
$7a33fe9cdec6aaae$export$aaaf83100348d389 = "react-spectrum-ListViewItem-grid_d68562";
|
|
287
|
-
$7a33fe9cdec6aaae$export$f385e7456ddfee84 = "react-spectrum-ListViewItem-draghandle-container_d68562";
|
|
288
|
-
$7a33fe9cdec6aaae$export$4784f0c2ec8bbf7b = "react-spectrum-ListViewItem-draghandle-button_d68562";
|
|
289
|
-
$7a33fe9cdec6aaae$export$f979f76ca45242f2 = "react-spectrum-ListViewItem-checkbox_d68562";
|
|
290
|
-
$7a33fe9cdec6aaae$export$2b56ca744bd31ebd = "react-spectrum-ListViewItem-icon_d68562";
|
|
291
|
-
$7a33fe9cdec6aaae$export$1260770e51d5a8c4 = "react-spectrum-ListViewItem-image_d68562";
|
|
292
|
-
$7a33fe9cdec6aaae$export$dc2b0b08d47555 = "react-spectrum-ListViewItem-content_d68562";
|
|
293
|
-
$7a33fe9cdec6aaae$export$5d2adfeb248e654a = "react-spectrum-ListViewItem-description_d68562";
|
|
294
|
-
$7a33fe9cdec6aaae$export$26480389595d4515 = "react-spectrum-ListViewItem-actions_d68562";
|
|
295
|
-
$7a33fe9cdec6aaae$export$58dfda3903289699 = "react-spectrum-ListViewItem-actionmenu_d68562";
|
|
296
|
-
$7a33fe9cdec6aaae$export$39b42a8a24290c17 = "react-spectrum-ListViewItem-parentIndicator_d68562";
|
|
297
|
-
$7a33fe9cdec6aaae$export$1f55b27adf96a61e = "react-spectrum-ListView--compact_d68562";
|
|
298
|
-
$7a33fe9cdec6aaae$export$cbd30c7809acdd81 = "react-spectrum-ListView--spacious_d68562";
|
|
299
|
-
$7a33fe9cdec6aaae$export$a2d35348c0cc9bca = "react-spectrum-ListView--draggable_d68562";
|
|
300
|
-
$7a33fe9cdec6aaae$export$f290f4d471385527 = "react-spectrum-ListViewItem--draggable_d68562";
|
|
301
|
-
$7a33fe9cdec6aaae$export$1b66ee5cd8394caf = "react-spectrum-ListView-centeredWrapper_d68562";
|
|
302
|
-
$7a33fe9cdec6aaae$export$6b3b7792abd9e5f4 = "react-spectrum-ListView-centeredWrapper--loadingMore_d68562";
|
|
303
405
|
|
|
304
406
|
|
|
305
407
|
|
|
@@ -320,137 +422,280 @@ $7a33fe9cdec6aaae$export$6b3b7792abd9e5f4 = "react-spectrum-ListView-centeredWra
|
|
|
320
422
|
|
|
321
423
|
|
|
322
424
|
function $d7c07ca2efc5ba02$export$c6bde0c04b033c0e(props) {
|
|
323
|
-
|
|
324
|
-
let
|
|
325
|
-
|
|
326
|
-
][0];
|
|
327
|
-
let { state: state , dragState: dragState , onAction: onAction , isListDraggable: isListDraggable } = $fWI2a$useContext($f85fb77f9d4cbc6c$export$870039b0abfe3de0);
|
|
425
|
+
var ref, ref1;
|
|
426
|
+
let { item: item , isEmphasized: isEmphasized } = props;
|
|
427
|
+
let { state: state , dragState: dragState , dropState: dropState , isListDraggable: isListDraggable , isListDroppable: isListDroppable , layout: layout , dragHooks: dragHooks , dropHooks: dropHooks , loadingState: loadingState } = $fWI2a$useContext($f85fb77f9d4cbc6c$export$870039b0abfe3de0);
|
|
328
428
|
let { direction: direction } = $fWI2a$useLocale();
|
|
329
429
|
let rowRef = $fWI2a$useRef();
|
|
330
|
-
let cellRef = $fWI2a$useRef();
|
|
331
430
|
let { isFocusVisible: isFocusVisibleWithin , focusProps: focusWithinProps } = $fWI2a$useFocusRing({
|
|
332
431
|
within: true
|
|
333
432
|
});
|
|
334
433
|
let { isFocusVisible: isFocusVisible , focusProps: focusProps } = $fWI2a$useFocusRing();
|
|
335
|
-
let
|
|
336
|
-
let isDisabled = !allowsInteraction || state.disabledKeys.has(item.key);
|
|
337
|
-
let isDraggable = (dragState === null || dragState === void 0 ? void 0 : dragState.isDraggable(item.key)) && !isDisabled;
|
|
338
|
-
let { hoverProps: hoverProps , isHovered: isHovered } = $fWI2a$useHover({
|
|
339
|
-
isDisabled: isDisabled
|
|
340
|
-
});
|
|
341
|
-
let { pressProps: pressProps , isPressed: isPressed } = $fWI2a$usePress({
|
|
342
|
-
isDisabled: isDisabled
|
|
343
|
-
});
|
|
344
|
-
let { rowProps: rowProps } = $fWI2a$useGridRow({
|
|
434
|
+
let { rowProps: rowProps , gridCellProps: gridCellProps , isPressed: isPressed , descriptionProps: descriptionProps , isSelected: isSelected , isDisabled: isDisabled , allowsSelection: allowsSelection , hasAction: hasAction } = $fWI2a$useListItem({
|
|
345
435
|
node: item,
|
|
346
436
|
isVirtualized: true,
|
|
347
|
-
onAction: onAction ? ()=>onAction(item.key)
|
|
348
|
-
: undefined,
|
|
349
437
|
shouldSelectOnPressUp: isListDraggable
|
|
350
438
|
}, state, rowRef);
|
|
351
|
-
let
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
let
|
|
356
|
-
if (isListDraggable) // eslint-disable-next-line react-hooks/rules-of-hooks
|
|
357
|
-
draggableItem = dragHooks.useDraggableItem({
|
|
358
|
-
key: item.key
|
|
359
|
-
}, dragState);
|
|
360
|
-
const mergedProps = $fWI2a$mergeProps(gridCellProps, hoverProps, focusWithinProps, focusProps);
|
|
361
|
-
let { checkboxProps: checkboxProps } = $fWI2a$useGridSelectionCheckbox({
|
|
362
|
-
...props,
|
|
439
|
+
let isDroppable = isListDroppable && !isDisabled;
|
|
440
|
+
let { hoverProps: hoverProps , isHovered: isHovered } = $fWI2a$useHover({
|
|
441
|
+
isDisabled: !allowsSelection && !hasAction
|
|
442
|
+
});
|
|
443
|
+
let { checkboxProps: checkboxProps } = $fWI2a$useListSelectionCheckbox({
|
|
363
444
|
key: item.key
|
|
364
445
|
}, state);
|
|
446
|
+
let hasDescription = $fWI2a$useHasChild(`.${(/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-description']}`, rowRef);
|
|
447
|
+
let draggableItem;
|
|
448
|
+
if (isListDraggable) {
|
|
449
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
450
|
+
draggableItem = dragHooks.useDraggableItem({
|
|
451
|
+
key: item.key
|
|
452
|
+
}, dragState);
|
|
453
|
+
if (isDisabled) draggableItem = null;
|
|
454
|
+
}
|
|
455
|
+
let droppableItem;
|
|
456
|
+
let isDropTarget;
|
|
457
|
+
let dropIndicator;
|
|
458
|
+
let dropIndicatorRef = $fWI2a$useRef();
|
|
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
|
+
dropIndicator = dropHooks.useDropIndicator({
|
|
471
|
+
target: target
|
|
472
|
+
}, dropState, dropIndicatorRef);
|
|
473
|
+
}
|
|
365
474
|
let dragButtonRef = $fWI2a$react.useRef();
|
|
366
475
|
let { buttonProps: buttonProps } = $fWI2a$useButton({
|
|
367
476
|
...draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragButtonProps,
|
|
368
477
|
elementType: 'div'
|
|
369
478
|
}, dragButtonRef);
|
|
370
|
-
let chevron =
|
|
371
|
-
if (item.props.hasChildItems) chevron = direction === 'ltr' ? /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$spectrumiconsuiChevronRightMedium, {
|
|
479
|
+
let chevron = direction === 'ltr' ? /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$spectrumiconsuiChevronRightMedium, {
|
|
372
480
|
"aria-hidden": "true",
|
|
373
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
481
|
+
UNSAFE_className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewItem-parentIndicator', {
|
|
482
|
+
'react-spectrum-ListViewItem-parentIndicator--hasChildItems': item.props.hasChildItems,
|
|
483
|
+
'is-disabled': !hasAction
|
|
484
|
+
})
|
|
374
485
|
}) : /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$spectrumiconsuiChevronLeftMedium, {
|
|
375
486
|
"aria-hidden": "true",
|
|
376
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
487
|
+
UNSAFE_className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewItem-parentIndicator', {
|
|
488
|
+
'react-spectrum-ListViewItem-parentIndicator--hasChildItems': item.props.hasChildItems,
|
|
489
|
+
'is-disabled': !hasAction
|
|
490
|
+
})
|
|
377
491
|
});
|
|
378
492
|
let showCheckbox = state.selectionManager.selectionMode !== 'none' && state.selectionManager.selectionBehavior === 'toggle';
|
|
379
|
-
let isSelected = state.selectionManager.isSelected(item.key);
|
|
380
|
-
let showDragHandle = isDraggable && (isFocusVisibleWithin || isHovered || isPressed);
|
|
381
493
|
let { visuallyHiddenProps: visuallyHiddenProps } = $fWI2a$useVisuallyHidden();
|
|
494
|
+
let dropProps = isDroppable ? droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps : {
|
|
495
|
+
'aria-hidden': droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps['aria-hidden']
|
|
496
|
+
};
|
|
497
|
+
const mergedProps = $fWI2a$mergeProps(rowProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, dropProps, hoverProps, focusWithinProps, focusProps);
|
|
498
|
+
let isFirstRow = item.prevKey == null;
|
|
499
|
+
let isLastRow = item.nextKey == null;
|
|
500
|
+
// Figure out if the ListView content is equal or greater in height to the container. If so, we'll need to round the bottom
|
|
501
|
+
// 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
|
|
502
|
+
// with bottom border
|
|
503
|
+
let isFlushWithContainerBottom = false;
|
|
504
|
+
if (isLastRow && loadingState !== 'loadingMore') {
|
|
505
|
+
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;
|
|
506
|
+
}
|
|
507
|
+
// previous item isn't selected
|
|
508
|
+
// 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
|
|
509
|
+
let roundTops = !state.selectionManager.isSelected(item.prevKey) && (state.selectionManager.focusedKey !== item.prevKey || !($fWI2a$isFocusVisible() && state.selectionManager.isFocused));
|
|
510
|
+
let roundBottoms = !state.selectionManager.isSelected(item.nextKey) && (state.selectionManager.focusedKey !== item.nextKey || !($fWI2a$isFocusVisible() && state.selectionManager.isFocused));
|
|
511
|
+
let content = typeof item.rendered === 'string' ? /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Text, null, item.rendered) : item.rendered;
|
|
512
|
+
if (isDisabled) content = /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Provider, {
|
|
513
|
+
isDisabled: true
|
|
514
|
+
}, content);
|
|
382
515
|
return(/*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
383
|
-
|
|
516
|
+
...mergedProps,
|
|
517
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListView-row', {
|
|
518
|
+
'focus-ring': isFocusVisible,
|
|
519
|
+
'round-tops': roundTops || isHovered && !isSelected && state.selectionManager.focusedKey !== item.key,
|
|
520
|
+
'round-bottoms': roundBottoms || isHovered && !isSelected && state.selectionManager.focusedKey !== item.key
|
|
521
|
+
}),
|
|
384
522
|
ref: rowRef
|
|
385
523
|
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
386
|
-
|
|
524
|
+
// TODO: refactor the css here now that we are focusing the row?
|
|
525
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewItem', {
|
|
387
526
|
'is-active': isPressed,
|
|
388
527
|
'is-focused': isFocusVisibleWithin,
|
|
389
528
|
'focus-ring': isFocusVisible,
|
|
390
529
|
'is-hovered': isHovered,
|
|
391
530
|
'is-selected': isSelected,
|
|
392
|
-
'is-
|
|
531
|
+
'is-disabled': isDisabled,
|
|
532
|
+
'is-prev-selected': state.selectionManager.isSelected(item.prevKey),
|
|
533
|
+
'is-next-selected': state.selectionManager.isSelected(item.nextKey),
|
|
393
534
|
'react-spectrum-ListViewItem--highlightSelection': state.selectionManager.selectionBehavior === 'replace' && (isSelected || state.selectionManager.isSelected(item.nextKey)),
|
|
394
|
-
'react-spectrum-ListViewItem--
|
|
535
|
+
'react-spectrum-ListViewItem--dropTarget': !!isDropTarget,
|
|
536
|
+
'react-spectrum-ListViewItem--firstRow': isFirstRow,
|
|
537
|
+
'react-spectrum-ListViewItem--lastRow': isLastRow,
|
|
538
|
+
'react-spectrum-ListViewItem--isFlushBottom': isFlushWithContainerBottom,
|
|
539
|
+
'react-spectrum-ListViewItem--hasDescription': hasDescription
|
|
395
540
|
}),
|
|
396
|
-
|
|
397
|
-
...mergedProps
|
|
541
|
+
...gridCellProps
|
|
398
542
|
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Grid, {
|
|
399
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
543
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-grid']
|
|
400
544
|
}, isListDraggable && /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
401
|
-
className: (/*@__PURE__*/$parcel$interopDefault($
|
|
402
|
-
},
|
|
403
|
-
focusRingClass: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($
|
|
545
|
+
className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-draghandle-container']
|
|
546
|
+
}, !isDisabled && /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$FocusRing, {
|
|
547
|
+
focusRingClass: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'focus-ring')
|
|
404
548
|
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
405
549
|
...buttonProps,
|
|
406
|
-
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($
|
|
407
|
-
style: !
|
|
550
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewItem-draghandle-button'),
|
|
551
|
+
style: !isFocusVisibleWithin ? {
|
|
408
552
|
...visuallyHiddenProps.style
|
|
409
553
|
} : {
|
|
410
554
|
},
|
|
411
555
|
ref: dragButtonRef,
|
|
412
556
|
draggable: "true"
|
|
413
|
-
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$spectrumiconsuiListGripper, null)))),
|
|
414
|
-
|
|
557
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$spectrumiconsuiListGripper, null)))), isDropTarget && !(dropIndicator === null || dropIndicator === void 0 ? void 0 : dropIndicator.dropIndicatorProps['aria-hidden']) && /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
558
|
+
role: "button",
|
|
559
|
+
...visuallyHiddenProps,
|
|
560
|
+
...dropIndicator === null || dropIndicator === void 0 ? void 0 : dropIndicator.dropIndicatorProps,
|
|
561
|
+
ref: dropIndicatorRef
|
|
562
|
+
}), /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$CSSTransition, {
|
|
563
|
+
in: showCheckbox,
|
|
564
|
+
unmountOnExit: true,
|
|
565
|
+
classNames: {
|
|
566
|
+
enter: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-checkbox--enter'],
|
|
567
|
+
enterActive: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-checkbox--enterActive'],
|
|
568
|
+
exit: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-checkbox--exit'],
|
|
569
|
+
exitActive: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-checkbox--exitActive']
|
|
570
|
+
},
|
|
571
|
+
timeout: 160
|
|
572
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
573
|
+
className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-checkboxWrapper']
|
|
574
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Checkbox, {
|
|
415
575
|
...checkboxProps,
|
|
576
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-checkbox'],
|
|
416
577
|
isEmphasized: isEmphasized
|
|
417
|
-
}), /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$SlotProvider, {
|
|
578
|
+
}))), /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$SlotProvider, {
|
|
418
579
|
slots: {
|
|
419
|
-
content: {
|
|
420
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($7a33fe9cdec6aaae$exports))['react-spectrum-ListViewItem-content']
|
|
421
|
-
},
|
|
422
580
|
text: {
|
|
423
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
581
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-content']
|
|
424
582
|
},
|
|
425
583
|
description: {
|
|
426
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
584
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-description'],
|
|
585
|
+
...descriptionProps
|
|
427
586
|
},
|
|
428
587
|
icon: {
|
|
429
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
588
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-icon'],
|
|
430
589
|
size: 'M'
|
|
431
590
|
},
|
|
432
591
|
image: {
|
|
433
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
592
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-image']
|
|
593
|
+
},
|
|
594
|
+
actionButton: {
|
|
595
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-actions'],
|
|
596
|
+
isQuiet: true
|
|
597
|
+
},
|
|
598
|
+
actionGroup: {
|
|
599
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-actions'],
|
|
600
|
+
isQuiet: true,
|
|
601
|
+
density: 'compact'
|
|
434
602
|
},
|
|
435
|
-
|
|
436
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
603
|
+
actionMenu: {
|
|
604
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-actionmenu'],
|
|
437
605
|
isQuiet: true
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}, content, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$ClearSlots, null, chevron))))));
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
function $41a60729487a82d7$export$2e2bcd8739ae039() {
|
|
620
|
+
let { dropState: dropState , dropHooks: dropHooks } = $fWI2a$useContext($f85fb77f9d4cbc6c$export$870039b0abfe3de0);
|
|
621
|
+
let ref = $fWI2a$useRef();
|
|
622
|
+
let { dropIndicatorProps: dropIndicatorProps } = dropHooks.useDropIndicator({
|
|
623
|
+
target: {
|
|
624
|
+
type: 'root'
|
|
625
|
+
}
|
|
626
|
+
}, dropState, ref);
|
|
627
|
+
let isDropTarget = dropState.isDropTarget({
|
|
628
|
+
type: 'root'
|
|
629
|
+
});
|
|
630
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = $fWI2a$useVisuallyHidden();
|
|
631
|
+
if (!isDropTarget && dropIndicatorProps['aria-hidden']) return null;
|
|
632
|
+
return(/*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
633
|
+
role: "row",
|
|
634
|
+
"aria-hidden": dropIndicatorProps['aria-hidden']
|
|
635
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
636
|
+
role: "gridcell",
|
|
637
|
+
"aria-selected": "false",
|
|
638
|
+
...visuallyHiddenProps
|
|
639
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
640
|
+
role: "button",
|
|
641
|
+
...dropIndicatorProps,
|
|
642
|
+
ref: ref
|
|
643
|
+
}))));
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
function $cd61e55c47e3c0f5$export$905ab40ac2179daa(props) {
|
|
653
|
+
let { item: item , itemCount: itemCount , itemHeight: itemHeight } = props;
|
|
654
|
+
let isDraggingMultiple = itemCount > 1;
|
|
655
|
+
return(/*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
656
|
+
style: {
|
|
657
|
+
height: itemHeight
|
|
658
|
+
},
|
|
659
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewItem', 'react-spectrum-ListViewItem-dragPreview', {
|
|
660
|
+
'react-spectrum-ListViewItem-dragPreview--multiple': isDraggingMultiple
|
|
661
|
+
})
|
|
662
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Grid, {
|
|
663
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-grid']
|
|
664
|
+
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$SlotProvider, {
|
|
665
|
+
slots: {
|
|
666
|
+
content: {
|
|
667
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-content']
|
|
668
|
+
},
|
|
669
|
+
text: {
|
|
670
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-content']
|
|
671
|
+
},
|
|
672
|
+
description: {
|
|
673
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-description']
|
|
674
|
+
},
|
|
675
|
+
icon: {
|
|
676
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-icon'],
|
|
677
|
+
size: 'M'
|
|
678
|
+
},
|
|
679
|
+
image: {
|
|
680
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-image']
|
|
438
681
|
},
|
|
439
682
|
actionButton: {
|
|
440
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
683
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-actions'],
|
|
441
684
|
isQuiet: true
|
|
442
685
|
},
|
|
443
686
|
actionGroup: {
|
|
444
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
687
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-actions'],
|
|
445
688
|
isQuiet: true,
|
|
446
689
|
density: 'compact'
|
|
447
690
|
},
|
|
448
691
|
actionMenu: {
|
|
449
|
-
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($
|
|
692
|
+
UNSAFE_className: (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))['react-spectrum-ListViewItem-actionmenu'],
|
|
450
693
|
isQuiet: true
|
|
451
694
|
}
|
|
452
695
|
}
|
|
453
|
-
}, typeof item.rendered === 'string' ? /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$
|
|
696
|
+
}, typeof item.rendered === 'string' ? /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Text, null, item.rendered) : item.rendered, isDraggingMultiple && /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
697
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListViewItem-badge')
|
|
698
|
+
}, itemCount)))));
|
|
454
699
|
}
|
|
455
700
|
|
|
456
701
|
|
|
@@ -458,7 +703,6 @@ function $d7c07ca2efc5ba02$export$c6bde0c04b033c0e(props) {
|
|
|
458
703
|
|
|
459
704
|
|
|
460
705
|
|
|
461
|
-
|
|
462
706
|
const $f85fb77f9d4cbc6c$export$870039b0abfe3de0 = /*#__PURE__*/ $fWI2a$react.createContext(null);
|
|
463
707
|
const $f85fb77f9d4cbc6c$var$ROW_HEIGHTS = {
|
|
464
708
|
compact: {
|
|
@@ -474,7 +718,7 @@ const $f85fb77f9d4cbc6c$var$ROW_HEIGHTS = {
|
|
|
474
718
|
large: 60
|
|
475
719
|
}
|
|
476
720
|
};
|
|
477
|
-
function $f85fb77f9d4cbc6c$
|
|
721
|
+
function $f85fb77f9d4cbc6c$var$useListLayout(state, density, overflowMode) {
|
|
478
722
|
let { scale: scale } = $fWI2a$useProvider();
|
|
479
723
|
let collator = $fWI2a$useCollator({
|
|
480
724
|
usage: 'search',
|
|
@@ -491,165 +735,153 @@ function $f85fb77f9d4cbc6c$export$bea90da51ec70dea(state, density) {
|
|
|
491
735
|
collator,
|
|
492
736
|
scale,
|
|
493
737
|
density,
|
|
494
|
-
isEmpty
|
|
738
|
+
isEmpty,
|
|
739
|
+
overflowMode
|
|
495
740
|
]);
|
|
496
741
|
layout.collection = state.collection;
|
|
497
742
|
layout.disabledKeys = state.disabledKeys;
|
|
498
743
|
return layout;
|
|
499
744
|
}
|
|
500
745
|
function $f85fb77f9d4cbc6c$var$ListView(props, ref) {
|
|
501
|
-
|
|
746
|
+
var ref1;
|
|
747
|
+
let { density: density = 'regular' , onLoadMore: onLoadMore , loadingState: loadingState , isQuiet: isQuiet , overflowMode: overflowMode = 'truncate' , onAction: onAction , dragHooks: dragHooks , dropHooks: dropHooks , ...otherProps } = props;
|
|
502
748
|
let isListDraggable = !!dragHooks;
|
|
749
|
+
let isListDroppable = !!dropHooks;
|
|
503
750
|
let dragHooksProvided = $fWI2a$useRef(isListDraggable);
|
|
751
|
+
let dropHooksProvided = $fWI2a$useRef(isListDroppable);
|
|
504
752
|
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.');
|
|
753
|
+
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.');
|
|
505
754
|
let domRef = $fWI2a$useDOMRef(ref);
|
|
506
|
-
let
|
|
507
|
-
let formatMessage = $fWI2a$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($8d8b0a0ae222979e$exports)));
|
|
508
|
-
let isLoading = loadingState === 'loading' || loadingState === 'loadingMore';
|
|
509
|
-
let { styleProps: styleProps } = $fWI2a$useStyleProps(props);
|
|
510
|
-
let { direction: direction } = $fWI2a$useLocale();
|
|
511
|
-
let collator = $fWI2a$useCollator({
|
|
512
|
-
usage: 'search',
|
|
513
|
-
sensitivity: 'base'
|
|
514
|
-
});
|
|
515
|
-
let gridCollection = $fWI2a$useMemo(()=>new $fWI2a$GridCollection({
|
|
516
|
-
columnCount: 1,
|
|
517
|
-
items: [
|
|
518
|
-
...collection
|
|
519
|
-
].map((item)=>({
|
|
520
|
-
...item,
|
|
521
|
-
hasChildNodes: true,
|
|
522
|
-
childNodes: [
|
|
523
|
-
{
|
|
524
|
-
key: `cell-${item.key}`,
|
|
525
|
-
type: 'cell',
|
|
526
|
-
index: 0,
|
|
527
|
-
value: null,
|
|
528
|
-
level: 0,
|
|
529
|
-
rendered: null,
|
|
530
|
-
textValue: item.textValue,
|
|
531
|
-
hasChildNodes: false,
|
|
532
|
-
childNodes: []
|
|
533
|
-
}
|
|
534
|
-
]
|
|
535
|
-
})
|
|
536
|
-
)
|
|
537
|
-
})
|
|
538
|
-
, [
|
|
539
|
-
collection
|
|
540
|
-
]);
|
|
541
|
-
let state = $fWI2a$useGridState({
|
|
755
|
+
let state = $fWI2a$useListState({
|
|
542
756
|
...props,
|
|
543
|
-
collection: gridCollection,
|
|
544
|
-
focusMode: 'cell',
|
|
545
757
|
selectionBehavior: props.selectionStyle === 'highlight' ? 'replace' : 'toggle'
|
|
546
758
|
});
|
|
547
|
-
let
|
|
548
|
-
let
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
ref: domRef,
|
|
552
|
-
direction: direction,
|
|
553
|
-
collator: collator,
|
|
554
|
-
// Focus the ListView cell instead of the row so that focus doesn't change with left/right arrow keys when there aren't any
|
|
555
|
-
// focusable children in the cell.
|
|
556
|
-
focusMode: 'cell'
|
|
557
|
-
})
|
|
558
|
-
, [
|
|
559
|
-
state,
|
|
560
|
-
domRef,
|
|
561
|
-
direction,
|
|
562
|
-
collator
|
|
563
|
-
]);
|
|
564
|
-
let provider = $fWI2a$useProvider();
|
|
565
|
-
let { checkboxProps: checkboxProps } = $fWI2a$useGridSelectionCheckbox({
|
|
566
|
-
key: null
|
|
567
|
-
}, state);
|
|
759
|
+
let { collection: collection , selectionManager: selectionManager } = state;
|
|
760
|
+
let formatMessage = $fWI2a$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($8d8b0a0ae222979e$exports)));
|
|
761
|
+
let isLoading = loadingState === 'loading' || loadingState === 'loadingMore';
|
|
762
|
+
let { styleProps: styleProps } = $fWI2a$useStyleProps(props);
|
|
568
763
|
let dragState;
|
|
764
|
+
let preview = $fWI2a$useRef(null);
|
|
569
765
|
if (isListDraggable) dragState = dragHooks.useDraggableCollectionState({
|
|
570
|
-
collection:
|
|
571
|
-
selectionManager:
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
isQuiet: true
|
|
766
|
+
collection: collection,
|
|
767
|
+
selectionManager: selectionManager,
|
|
768
|
+
preview: preview
|
|
769
|
+
});
|
|
770
|
+
let layout = $f85fb77f9d4cbc6c$var$useListLayout(state, props.density || 'regular', overflowMode);
|
|
771
|
+
// !!0 is false, so we can cast size or undefined and they'll be falsy
|
|
772
|
+
layout.allowDisabledKeyFocus = state.selectionManager.disabledBehavior === 'selection' || !!(dragState === null || dragState === void 0 ? void 0 : dragState.draggingKeys.size);
|
|
773
|
+
let DragPreview = dragHooks === null || dragHooks === void 0 ? void 0 : dragHooks.DragPreview;
|
|
774
|
+
let dropState;
|
|
775
|
+
let droppableCollection;
|
|
776
|
+
let isRootDropTarget;
|
|
777
|
+
if (isListDroppable) {
|
|
778
|
+
dropState = dropHooks.useDroppableCollectionState({
|
|
779
|
+
collection: collection,
|
|
780
|
+
selectionManager: selectionManager
|
|
781
|
+
});
|
|
782
|
+
droppableCollection = dropHooks.useDroppableCollection({
|
|
783
|
+
keyboardDelegate: layout,
|
|
784
|
+
getDropTargetFromPoint (x, y) {
|
|
785
|
+
let closest = null;
|
|
786
|
+
let closestDistance = Infinity;
|
|
787
|
+
let closestDir = null;
|
|
788
|
+
x += domRef.current.scrollLeft;
|
|
789
|
+
y += domRef.current.scrollTop;
|
|
790
|
+
let visible = layout.getVisibleLayoutInfos(new $fWI2a$Rect(x - 50, y - 50, x + 50, y + 50));
|
|
791
|
+
for (let layoutInfo of visible){
|
|
792
|
+
let r = layoutInfo.rect;
|
|
793
|
+
let points = [
|
|
794
|
+
[
|
|
795
|
+
r.x,
|
|
796
|
+
r.y + 4,
|
|
797
|
+
'before'
|
|
798
|
+
],
|
|
799
|
+
[
|
|
800
|
+
r.maxX,
|
|
801
|
+
r.y + 4,
|
|
802
|
+
'before'
|
|
803
|
+
],
|
|
804
|
+
[
|
|
805
|
+
r.x,
|
|
806
|
+
r.maxY - 8,
|
|
807
|
+
'after'
|
|
808
|
+
],
|
|
809
|
+
[
|
|
810
|
+
r.maxX,
|
|
811
|
+
r.maxY - 8,
|
|
812
|
+
'after'
|
|
813
|
+
]
|
|
814
|
+
];
|
|
815
|
+
for (let [px, py, dir] of points){
|
|
816
|
+
let dx = px - x;
|
|
817
|
+
let dy = py - y;
|
|
818
|
+
let d = dx * dx + dy * dy;
|
|
819
|
+
if (d < closestDistance) {
|
|
820
|
+
closestDistance = d;
|
|
821
|
+
closest = layoutInfo;
|
|
822
|
+
closestDir = dir;
|
|
823
|
+
}
|
|
629
824
|
}
|
|
825
|
+
// TODO: Best way to implement only for when closest can be dropped on
|
|
826
|
+
// TODO: Figure out the typescript for this
|
|
827
|
+
// @ts-ignore
|
|
828
|
+
if (y >= r.y + 10 && y <= r.maxY - 10 && collection.getItem(closest.key).value.type === 'folder') closestDir = 'on';
|
|
630
829
|
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
830
|
+
let key = closest === null || closest === void 0 ? void 0 : closest.key;
|
|
831
|
+
if (key) return {
|
|
832
|
+
type: 'item',
|
|
833
|
+
key: key,
|
|
834
|
+
dropPosition: closestDir
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
}, dropState, domRef);
|
|
838
|
+
isRootDropTarget = dropState.isDropTarget({
|
|
839
|
+
type: 'root'
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
let { gridProps: gridProps } = $fWI2a$useList({
|
|
635
843
|
...props,
|
|
636
844
|
isVirtualized: true,
|
|
637
|
-
keyboardDelegate:
|
|
845
|
+
keyboardDelegate: layout,
|
|
846
|
+
onAction: onAction
|
|
638
847
|
}, state, domRef);
|
|
639
848
|
// Sync loading state into the layout.
|
|
640
849
|
layout.isLoading = isLoading;
|
|
641
|
-
let focusedKey =
|
|
642
|
-
|
|
643
|
-
|
|
850
|
+
let focusedKey = selectionManager.focusedKey;
|
|
851
|
+
if ((dropState === null || dropState === void 0 ? void 0 : (ref1 = dropState.target) === null || ref1 === void 0 ? void 0 : ref1.type) === 'item') focusedKey = dropState.target.key;
|
|
852
|
+
// wait for layout to get accurate measurements
|
|
853
|
+
let [isVerticalScrollbarVisible, setVerticalScollbarVisible] = $fWI2a$useState(false);
|
|
854
|
+
let [isHorizontalScrollbarVisible, setHorizontalScollbarVisible] = $fWI2a$useState(false);
|
|
855
|
+
$fWI2a$useLayoutEffect(()=>{
|
|
856
|
+
if (domRef.current) {
|
|
857
|
+
// 2 is the width of the border which is not part of the box size
|
|
858
|
+
setVerticalScollbarVisible(domRef.current.clientWidth + 2 < domRef.current.offsetWidth);
|
|
859
|
+
setHorizontalScollbarVisible(domRef.current.clientHeight + 2 < domRef.current.offsetHeight);
|
|
860
|
+
}
|
|
861
|
+
});
|
|
862
|
+
let hasAnyChildren = $fWI2a$useMemo(()=>[
|
|
863
|
+
...collection
|
|
864
|
+
].some((item)=>item.hasChildNodes
|
|
865
|
+
)
|
|
866
|
+
, [
|
|
867
|
+
collection
|
|
868
|
+
]);
|
|
644
869
|
return(/*#__PURE__*/ $fWI2a$react.createElement($f85fb77f9d4cbc6c$export$870039b0abfe3de0.Provider, {
|
|
645
870
|
value: {
|
|
646
871
|
state: state,
|
|
647
|
-
keyboardDelegate: keyboardDelegate,
|
|
648
872
|
dragState: dragState,
|
|
873
|
+
dropState: dropState,
|
|
874
|
+
dragHooks: dragHooks,
|
|
875
|
+
dropHooks: dropHooks,
|
|
649
876
|
onAction: onAction,
|
|
650
|
-
isListDraggable: isListDraggable
|
|
877
|
+
isListDraggable: isListDraggable,
|
|
878
|
+
isListDroppable: isListDroppable,
|
|
879
|
+
layout: layout,
|
|
880
|
+
loadingState: loadingState
|
|
651
881
|
}
|
|
652
882
|
}, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$Virtualizer, {
|
|
883
|
+
...$fWI2a$mergeProps(isListDroppable && (droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps), gridProps),
|
|
884
|
+
...$fWI2a$filterDOMProps(otherProps),
|
|
653
885
|
...gridProps,
|
|
654
886
|
...styleProps,
|
|
655
887
|
isLoading: isLoading,
|
|
@@ -657,28 +889,62 @@ function $f85fb77f9d4cbc6c$var$ListView(props, ref) {
|
|
|
657
889
|
ref: domRef,
|
|
658
890
|
focusedKey: focusedKey,
|
|
659
891
|
scrollDirection: "vertical",
|
|
660
|
-
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($
|
|
892
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListView', `react-spectrum-ListView--${density}`, 'react-spectrum-ListView--emphasized', {
|
|
661
893
|
'react-spectrum-ListView--quiet': isQuiet,
|
|
662
|
-
'react-spectrum-ListView--
|
|
894
|
+
'react-spectrum-ListView--loadingMore': loadingState === 'loadingMore',
|
|
895
|
+
'react-spectrum-ListView--draggable': !!isListDraggable,
|
|
896
|
+
'react-spectrum-ListView--dropTarget': !!isRootDropTarget,
|
|
897
|
+
'react-spectrum-ListView--isVerticalScrollbarVisible': isVerticalScrollbarVisible,
|
|
898
|
+
'react-spectrum-ListView--isHorizontalScrollbarVisible': isHorizontalScrollbarVisible,
|
|
899
|
+
'react-spectrum-ListView--hasAnyChildren': hasAnyChildren,
|
|
900
|
+
'react-spectrum-ListView--wrap': overflowMode === 'wrap'
|
|
663
901
|
}, styleProps.className),
|
|
664
902
|
layout: layout,
|
|
665
|
-
collection:
|
|
666
|
-
transitionDuration:
|
|
903
|
+
collection: collection,
|
|
904
|
+
transitionDuration: isLoading ? 160 : 220
|
|
667
905
|
}, (type, item)=>{
|
|
668
|
-
if (type === 'item') return(/*#__PURE__*/ $fWI2a$react.createElement($
|
|
906
|
+
if (type === 'item') return(/*#__PURE__*/ $fWI2a$react.createElement($fWI2a$react.Fragment, null, isListDroppable && collection.getKeyBefore(item.key) == null && /*#__PURE__*/ $fWI2a$react.createElement($41a60729487a82d7$export$2e2bcd8739ae039, {
|
|
907
|
+
key: "root"
|
|
908
|
+
}), isListDroppable && /*#__PURE__*/ $fWI2a$react.createElement($0a834ddbc989a3e3$export$2e2bcd8739ae039, {
|
|
909
|
+
key: `${item.key}-before`,
|
|
910
|
+
target: {
|
|
911
|
+
key: item.key,
|
|
912
|
+
type: 'item',
|
|
913
|
+
dropPosition: 'before'
|
|
914
|
+
}
|
|
915
|
+
}), /*#__PURE__*/ $fWI2a$react.createElement($d7c07ca2efc5ba02$export$c6bde0c04b033c0e, {
|
|
669
916
|
item: item,
|
|
670
917
|
isEmphasized: true,
|
|
671
|
-
|
|
672
|
-
})
|
|
918
|
+
hasActions: !!onAction
|
|
919
|
+
}), isListDroppable && /*#__PURE__*/ $fWI2a$react.createElement($0a834ddbc989a3e3$export$2e2bcd8739ae039, {
|
|
920
|
+
key: `${item.key}-after`,
|
|
921
|
+
target: {
|
|
922
|
+
key: item.key,
|
|
923
|
+
type: 'item',
|
|
924
|
+
dropPosition: 'after'
|
|
925
|
+
},
|
|
926
|
+
isPresentationOnly: collection.getKeyAfter(item.key) != null
|
|
927
|
+
})));
|
|
673
928
|
else if (type === 'loader') return(/*#__PURE__*/ $fWI2a$react.createElement($f85fb77f9d4cbc6c$var$CenteredWrapper, null, /*#__PURE__*/ $fWI2a$react.createElement($fWI2a$ProgressCircle, {
|
|
674
929
|
isIndeterminate: true,
|
|
675
|
-
"aria-label":
|
|
930
|
+
"aria-label": collection.size > 0 ? formatMessage('loadingMore') : formatMessage('loading')
|
|
676
931
|
})));
|
|
677
932
|
else if (type === 'placeholder') {
|
|
678
933
|
let emptyState = props.renderEmptyState ? props.renderEmptyState() : null;
|
|
679
934
|
if (emptyState == null) return null;
|
|
680
935
|
return(/*#__PURE__*/ $fWI2a$react.createElement($f85fb77f9d4cbc6c$var$CenteredWrapper, null, emptyState));
|
|
681
936
|
}
|
|
937
|
+
}), DragPreview && isListDraggable && /*#__PURE__*/ $fWI2a$react.createElement(DragPreview, {
|
|
938
|
+
ref: preview
|
|
939
|
+
}, ()=>{
|
|
940
|
+
let item = state.collection.getItem(dragState.draggedKey);
|
|
941
|
+
let itemCount = dragState.draggingKeys.size;
|
|
942
|
+
let itemHeight = layout.getLayoutInfo(dragState.draggedKey).rect.height;
|
|
943
|
+
return(/*#__PURE__*/ $fWI2a$react.createElement($cd61e55c47e3c0f5$export$905ab40ac2179daa, {
|
|
944
|
+
item: item,
|
|
945
|
+
itemCount: itemCount,
|
|
946
|
+
itemHeight: itemHeight
|
|
947
|
+
}));
|
|
682
948
|
})));
|
|
683
949
|
}
|
|
684
950
|
function $f85fb77f9d4cbc6c$var$CenteredWrapper({ children: children }) {
|
|
@@ -686,14 +952,16 @@ function $f85fb77f9d4cbc6c$var$CenteredWrapper({ children: children }) {
|
|
|
686
952
|
return(/*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
687
953
|
role: "row",
|
|
688
954
|
"aria-rowindex": state.collection.size + 1,
|
|
689
|
-
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($
|
|
955
|
+
className: $fWI2a$classNames((/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)), 'react-spectrum-ListView-centeredWrapper', {
|
|
690
956
|
'react-spectrum-ListView-centeredWrapper--loadingMore': state.collection.size > 0
|
|
691
957
|
})
|
|
692
958
|
}, /*#__PURE__*/ $fWI2a$react.createElement("div", {
|
|
693
959
|
role: "gridcell"
|
|
694
960
|
}, children)));
|
|
695
961
|
}
|
|
696
|
-
|
|
962
|
+
/**
|
|
963
|
+
* Lists display a linear collection of data. They allow users to quickly scan, sort, compare, and take action on large amounts of data.
|
|
964
|
+
*/ const $f85fb77f9d4cbc6c$export$84d0dd190d551cd1 = /*#__PURE__*/ $fWI2a$react.forwardRef($f85fb77f9d4cbc6c$var$ListView);
|
|
697
965
|
|
|
698
966
|
|
|
699
967
|
|