@react-spectrum/list 3.7.3-nightly.4295 → 3.7.3

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.
Files changed (2) hide show
  1. package/package.json +26 -26
  2. package/dist/import.mjs +0 -1099
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/list",
3
- "version": "3.7.3-nightly.4295+f600fdfa2",
3
+ "version": "3.7.3",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,34 +36,34 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/button": "3.0.0-nightly.2584+f600fdfa2",
40
- "@react-aria/focus": "3.0.0-nightly.2584+f600fdfa2",
41
- "@react-aria/gridlist": "3.7.3-nightly.4295+f600fdfa2",
42
- "@react-aria/i18n": "3.0.0-nightly.2584+f600fdfa2",
43
- "@react-aria/interactions": "3.0.0-nightly.2584+f600fdfa2",
44
- "@react-aria/utils": "3.0.0-nightly.2584+f600fdfa2",
45
- "@react-aria/virtualizer": "3.9.6-nightly.4295+f600fdfa2",
46
- "@react-aria/visually-hidden": "3.0.0-nightly.2584+f600fdfa2",
47
- "@react-spectrum/checkbox": "3.0.0-nightly.2584+f600fdfa2",
48
- "@react-spectrum/dnd": "3.3.6-nightly.4295+f600fdfa2",
49
- "@react-spectrum/layout": "3.6.1-nightly.4295+f600fdfa2",
50
- "@react-spectrum/progress": "3.0.0-nightly.2584+f600fdfa2",
51
- "@react-spectrum/text": "3.5.1-nightly.4295+f600fdfa2",
52
- "@react-spectrum/utils": "3.0.0-nightly.2584+f600fdfa2",
53
- "@react-stately/collections": "3.0.0-nightly.2584+f600fdfa2",
54
- "@react-stately/layout": "3.13.5-nightly.4295+f600fdfa2",
55
- "@react-stately/list": "3.10.2-nightly.4295+f600fdfa2",
56
- "@react-types/grid": "3.2.4-nightly.4295+f600fdfa2",
57
- "@react-types/shared": "3.0.0-nightly.2584+f600fdfa2",
58
- "@spectrum-icons/ui": "3.0.0-nightly.2584+f600fdfa2",
39
+ "@react-aria/button": "^3.9.0",
40
+ "@react-aria/focus": "^3.15.0",
41
+ "@react-aria/gridlist": "^3.7.2",
42
+ "@react-aria/i18n": "^3.9.0",
43
+ "@react-aria/interactions": "^3.20.0",
44
+ "@react-aria/utils": "^3.22.0",
45
+ "@react-aria/virtualizer": "^3.9.6",
46
+ "@react-aria/visually-hidden": "^3.8.7",
47
+ "@react-spectrum/checkbox": "^3.9.0",
48
+ "@react-spectrum/dnd": "^3.3.5",
49
+ "@react-spectrum/layout": "^3.6.0",
50
+ "@react-spectrum/progress": "^3.7.2",
51
+ "@react-spectrum/text": "^3.5.0",
52
+ "@react-spectrum/utils": "^3.11.2",
53
+ "@react-stately/collections": "^3.10.3",
54
+ "@react-stately/layout": "^3.13.4",
55
+ "@react-stately/list": "^3.10.1",
56
+ "@react-types/grid": "^3.2.3",
57
+ "@react-types/shared": "^3.22.0",
58
+ "@spectrum-icons/ui": "^3.6.2",
59
59
  "@swc/helpers": "^0.5.0",
60
60
  "react-transition-group": "^4.4.5"
61
61
  },
62
62
  "devDependencies": {
63
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2584+f600fdfa2",
64
- "@react-aria/dnd": "3.5.1-nightly.4295+f600fdfa2",
65
- "@react-spectrum/button": "3.0.0-nightly.2584+f600fdfa2",
66
- "@react-stately/dnd": "3.2.7-nightly.4295+f600fdfa2"
63
+ "@adobe/spectrum-css-temp": "^3.0.0-alpha.1",
64
+ "@react-aria/dnd": "^3.0.0",
65
+ "@react-spectrum/button": "^3.8.1",
66
+ "@react-stately/dnd": "^3.0.0"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@react-spectrum/provider": "^3.2.0",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "f600fdfa2af9f3131b34b1536a790aa1bb348151"
76
+ "gitHead": "4a7ee6fc93e00a34d4cdad26d48439f8dabee88b"
77
77
  }
package/dist/import.mjs DELETED
@@ -1,1099 +0,0 @@
1
- import "./main.css";
2
- import {Item as $75e4a7b01832b12d$re_export$Item} from "@react-stately/collections";
3
- import {useGridList as $fWI2a$useGridList, useGridListItem as $fWI2a$useGridListItem, useGridListSelectionCheckbox as $fWI2a$useGridListSelectionCheckbox} from "@react-aria/gridlist";
4
- 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";
5
- import {useLayoutEffect as $fWI2a$useLayoutEffect, mergeProps as $fWI2a$mergeProps, filterDOMProps as $fWI2a$filterDOMProps} from "@react-aria/utils";
6
- import {FocusScope as $fWI2a$FocusScope, FocusRing as $fWI2a$FocusRing, useFocusRing as $fWI2a$useFocusRing} from "@react-aria/focus";
7
- import {ListLayout as $fWI2a$ListLayout} from "@react-stately/layout";
8
- import {useListState as $fWI2a$useListState} from "@react-stately/list";
9
- import {ProgressCircle as $fWI2a$ProgressCircle} from "@react-spectrum/progress";
10
- import $fWI2a$react, {useMemo as $fWI2a$useMemo, useRef as $fWI2a$useRef, useEffect as $fWI2a$useEffect, useState as $fWI2a$useState, useContext as $fWI2a$useContext} from "react";
11
- import {useCollator as $fWI2a$useCollator, useLocalizedStringFormatter as $fWI2a$useLocalizedStringFormatter, useLocale as $fWI2a$useLocale} from "@react-aria/i18n";
12
- import {useProvider as $fWI2a$useProvider, Provider as $fWI2a$Provider} from "@react-spectrum/provider";
13
- import {Virtualizer as $fWI2a$Virtualizer} from "@react-aria/virtualizer";
14
- import {useVisuallyHidden as $fWI2a$useVisuallyHidden} from "@react-aria/visually-hidden";
15
- import {Checkbox as $fWI2a$Checkbox} from "@react-spectrum/checkbox";
16
- import $fWI2a$spectrumiconsuiChevronLeftMedium from "@spectrum-icons/ui/ChevronLeftMedium";
17
- import $fWI2a$spectrumiconsuiChevronRightMedium from "@spectrum-icons/ui/ChevronRightMedium";
18
- import {CSSTransition as $fWI2a$CSSTransition} from "react-transition-group";
19
- import {Grid as $fWI2a$Grid} from "@react-spectrum/layout";
20
- import {useHover as $fWI2a$useHover, isFocusVisible as $fWI2a$isFocusVisible} from "@react-aria/interactions";
21
- import $fWI2a$spectrumiconsuiListGripper from "@spectrum-icons/ui/ListGripper";
22
- import {Text as $fWI2a$Text} from "@react-spectrum/text";
23
- import {useButton as $fWI2a$useButton} from "@react-aria/button";
24
-
25
-
26
- function $parcel$interopDefault(a) {
27
- return a && a.__esModule ? a.default : a;
28
- }
29
-
30
- function $parcel$export(e, n, v, s) {
31
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
32
- }
33
- /*
34
- * Copyright 2022 Adobe. All rights reserved.
35
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
36
- * you may not use this file except in compliance with the License. You may obtain a copy
37
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
38
- *
39
- * Unless required by applicable law or agreed to in writing, software distributed under
40
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
41
- * OF ANY KIND, either express or implied. See the License for the specific language
42
- * governing permissions and limitations under the License.
43
- */ /*
44
- * Copyright 2021 Adobe. All rights reserved.
45
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
46
- * you may not use this file except in compliance with the License. You may obtain a copy
47
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
48
- *
49
- * Unless required by applicable law or agreed to in writing, software distributed under
50
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
51
- * OF ANY KIND, either express or implied. See the License for the specific language
52
- * governing permissions and limitations under the License.
53
- */
54
-
55
-
56
-
57
-
58
- var $c8bc378300208597$exports = {};
59
-
60
- $parcel$export($c8bc378300208597$exports, "actionmenu", () => $c8bc378300208597$export$bd7f6383fb9d6b48, (v) => $c8bc378300208597$export$bd7f6383fb9d6b48 = v);
61
- $parcel$export($c8bc378300208597$exports, "actions", () => $c8bc378300208597$export$e324594224ef24da, (v) => $c8bc378300208597$export$e324594224ef24da = v);
62
- $parcel$export($c8bc378300208597$exports, "badge", () => $c8bc378300208597$export$4aebd143f31d0c0d, (v) => $c8bc378300208597$export$4aebd143f31d0c0d = v);
63
- $parcel$export($c8bc378300208597$exports, "checkbox", () => $c8bc378300208597$export$b07e517d22efa1ca, (v) => $c8bc378300208597$export$b07e517d22efa1ca = v);
64
- $parcel$export($c8bc378300208597$exports, "chevron", () => $c8bc378300208597$export$980c1089c0604ea3, (v) => $c8bc378300208597$export$980c1089c0604ea3 = v);
65
- $parcel$export($c8bc378300208597$exports, "content", () => $c8bc378300208597$export$a7db06668cad9adb, (v) => $c8bc378300208597$export$a7db06668cad9adb = v);
66
- $parcel$export($c8bc378300208597$exports, "description", () => $c8bc378300208597$export$6d59db4903f20f7d, (v) => $c8bc378300208597$export$6d59db4903f20f7d = v);
67
- $parcel$export($c8bc378300208597$exports, "draghandle", () => $c8bc378300208597$export$7b34ab0dc3a6dc3b, (v) => $c8bc378300208597$export$7b34ab0dc3a6dc3b = v);
68
- $parcel$export($c8bc378300208597$exports, "focus-ring", () => $c8bc378300208597$export$f39a09f249340e2a, (v) => $c8bc378300208597$export$f39a09f249340e2a = v);
69
- $parcel$export($c8bc378300208597$exports, "has-checkbox", () => $c8bc378300208597$export$27f4d14f7fc5b94, (v) => $c8bc378300208597$export$27f4d14f7fc5b94 = v);
70
- $parcel$export($c8bc378300208597$exports, "is-active", () => $c8bc378300208597$export$20fd0f7cd4e6112f, (v) => $c8bc378300208597$export$20fd0f7cd4e6112f = v);
71
- $parcel$export($c8bc378300208597$exports, "is-disabled", () => $c8bc378300208597$export$d35bc1e505d1ebbf, (v) => $c8bc378300208597$export$d35bc1e505d1ebbf = v);
72
- $parcel$export($c8bc378300208597$exports, "is-focused", () => $c8bc378300208597$export$e7dc768d35940237, (v) => $c8bc378300208597$export$e7dc768d35940237 = v);
73
- $parcel$export($c8bc378300208597$exports, "is-hovered", () => $c8bc378300208597$export$b8813cd5d7824ce7, (v) => $c8bc378300208597$export$b8813cd5d7824ce7 = v);
74
- $parcel$export($c8bc378300208597$exports, "is-next-selected", () => $c8bc378300208597$export$53aa811f86efbfad, (v) => $c8bc378300208597$export$53aa811f86efbfad = v);
75
- $parcel$export($c8bc378300208597$exports, "is-selected", () => $c8bc378300208597$export$1e0fb04f31d3c22a, (v) => $c8bc378300208597$export$1e0fb04f31d3c22a = v);
76
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView", () => $c8bc378300208597$export$4ad4709e9aee8e02, (v) => $c8bc378300208597$export$4ad4709e9aee8e02 = v);
77
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--compact", () => $c8bc378300208597$export$1f55b27adf96a61e, (v) => $c8bc378300208597$export$1f55b27adf96a61e = v);
78
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--draggable", () => $c8bc378300208597$export$a2d35348c0cc9bca, (v) => $c8bc378300208597$export$a2d35348c0cc9bca = v);
79
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--dropTarget", () => $c8bc378300208597$export$d9ba3f873d0eaec6, (v) => $c8bc378300208597$export$d9ba3f873d0eaec6 = v);
80
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--emphasized", () => $c8bc378300208597$export$eb0d5352b2a55473, (v) => $c8bc378300208597$export$eb0d5352b2a55473 = v);
81
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--hasAnyChildren", () => $c8bc378300208597$export$7150e72e440612bf, (v) => $c8bc378300208597$export$7150e72e440612bf = v);
82
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--hasDescription", () => $c8bc378300208597$export$7c9efe74c4b77579, (v) => $c8bc378300208597$export$7c9efe74c4b77579 = v);
83
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--isHorizontalScrollbarVisible", () => $c8bc378300208597$export$d9b13621bc5dd4d1, (v) => $c8bc378300208597$export$d9b13621bc5dd4d1 = v);
84
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--isVerticalScrollbarVisible", () => $c8bc378300208597$export$1bf50375883926, (v) => $c8bc378300208597$export$1bf50375883926 = v);
85
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--loadingMore", () => $c8bc378300208597$export$5aa06adeaa92dbca, (v) => $c8bc378300208597$export$5aa06adeaa92dbca = v);
86
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--quiet", () => $c8bc378300208597$export$b01cb9680b0b8d22, (v) => $c8bc378300208597$export$b01cb9680b0b8d22 = v);
87
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--spacious", () => $c8bc378300208597$export$cbd30c7809acdd81, (v) => $c8bc378300208597$export$cbd30c7809acdd81 = v);
88
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView--wrap", () => $c8bc378300208597$export$68b45d42c77fe1cf, (v) => $c8bc378300208597$export$68b45d42c77fe1cf = v);
89
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView-centeredWrapper", () => $c8bc378300208597$export$1b66ee5cd8394caf, (v) => $c8bc378300208597$export$1b66ee5cd8394caf = v);
90
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView-centeredWrapper--loadingMore", () => $c8bc378300208597$export$6b3b7792abd9e5f4, (v) => $c8bc378300208597$export$6b3b7792abd9e5f4 = v);
91
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListView-row", () => $c8bc378300208597$export$f80410436c6352c8, (v) => $c8bc378300208597$export$f80410436c6352c8 = v);
92
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewInsertionIndicator", () => $c8bc378300208597$export$2a6a235e0baff403, (v) => $c8bc378300208597$export$2a6a235e0baff403 = v);
93
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewInsertionIndicator--dropTarget", () => $c8bc378300208597$export$927a243805a411ca, (v) => $c8bc378300208597$export$927a243805a411ca = v);
94
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem", () => $c8bc378300208597$export$ce8c93b50eec2d4f, (v) => $c8bc378300208597$export$ce8c93b50eec2d4f = v);
95
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--dropTarget", () => $c8bc378300208597$export$8afa006321ee3a8f, (v) => $c8bc378300208597$export$8afa006321ee3a8f = v);
96
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--firstRow", () => $c8bc378300208597$export$60162f05499b7560, (v) => $c8bc378300208597$export$60162f05499b7560 = v);
97
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--isFlushBottom", () => $c8bc378300208597$export$f9ed481cac4d935a, (v) => $c8bc378300208597$export$f9ed481cac4d935a = v);
98
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem--lastRow", () => $c8bc378300208597$export$659c081622dc13b0, (v) => $c8bc378300208597$export$659c081622dc13b0 = v);
99
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-actionmenu", () => $c8bc378300208597$export$58dfda3903289699, (v) => $c8bc378300208597$export$58dfda3903289699 = v);
100
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-actions", () => $c8bc378300208597$export$26480389595d4515, (v) => $c8bc378300208597$export$26480389595d4515 = v);
101
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-badge", () => $c8bc378300208597$export$6498e436231eea33, (v) => $c8bc378300208597$export$6498e436231eea33 = v);
102
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox", () => $c8bc378300208597$export$f979f76ca45242f2, (v) => $c8bc378300208597$export$f979f76ca45242f2 = v);
103
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--enter", () => $c8bc378300208597$export$9dc11c0e0825a249, (v) => $c8bc378300208597$export$9dc11c0e0825a249 = v);
104
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--enterActive", () => $c8bc378300208597$export$f89865e352230a35, (v) => $c8bc378300208597$export$f89865e352230a35 = v);
105
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--exit", () => $c8bc378300208597$export$867c05a16e5d2a7c, (v) => $c8bc378300208597$export$867c05a16e5d2a7c = v);
106
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkbox--exitActive", () => $c8bc378300208597$export$61b66671605f1b1a, (v) => $c8bc378300208597$export$61b66671605f1b1a = v);
107
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-checkboxWrapper", () => $c8bc378300208597$export$41a33ae9818c51be, (v) => $c8bc378300208597$export$41a33ae9818c51be = v);
108
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-content", () => $c8bc378300208597$export$dc2b0b08d47555, (v) => $c8bc378300208597$export$dc2b0b08d47555 = v);
109
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-description", () => $c8bc378300208597$export$5d2adfeb248e654a, (v) => $c8bc378300208597$export$5d2adfeb248e654a = v);
110
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-dragPreview", () => $c8bc378300208597$export$84286d36e5c00c55, (v) => $c8bc378300208597$export$84286d36e5c00c55 = v);
111
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-dragPreview--compact", () => $c8bc378300208597$export$fcabaf52adc14efe, (v) => $c8bc378300208597$export$fcabaf52adc14efe = v);
112
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-dragPreview--multiple", () => $c8bc378300208597$export$2fb3c7c2d5c0d720, (v) => $c8bc378300208597$export$2fb3c7c2d5c0d720 = v);
113
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-dragPreview--spacious", () => $c8bc378300208597$export$256b97e812db1642, (v) => $c8bc378300208597$export$256b97e812db1642 = v);
114
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-draghandle-button", () => $c8bc378300208597$export$4784f0c2ec8bbf7b, (v) => $c8bc378300208597$export$4784f0c2ec8bbf7b = v);
115
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-draghandle-container", () => $c8bc378300208597$export$f385e7456ddfee84, (v) => $c8bc378300208597$export$f385e7456ddfee84 = v);
116
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-grid", () => $c8bc378300208597$export$aaaf83100348d389, (v) => $c8bc378300208597$export$aaaf83100348d389 = v);
117
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-parentIndicator", () => $c8bc378300208597$export$39b42a8a24290c17, (v) => $c8bc378300208597$export$39b42a8a24290c17 = v);
118
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-parentIndicator--hasChildItems", () => $c8bc378300208597$export$c29dcfa80dab8c88, (v) => $c8bc378300208597$export$c29dcfa80dab8c88 = v);
119
- $parcel$export($c8bc378300208597$exports, "react-spectrum-ListViewItem-thumbnail", () => $c8bc378300208597$export$38c6ebb7f58dedaa, (v) => $c8bc378300208597$export$38c6ebb7f58dedaa = v);
120
- $parcel$export($c8bc378300208597$exports, "round-bottoms", () => $c8bc378300208597$export$8a26470723c97997, (v) => $c8bc378300208597$export$8a26470723c97997 = v);
121
- $parcel$export($c8bc378300208597$exports, "round-tops", () => $c8bc378300208597$export$3b4577d06eb82ec0, (v) => $c8bc378300208597$export$3b4577d06eb82ec0 = v);
122
- $parcel$export($c8bc378300208597$exports, "thumbnail", () => $c8bc378300208597$export$e77609e6ef08541e, (v) => $c8bc378300208597$export$e77609e6ef08541e = v);
123
- var $c8bc378300208597$export$bd7f6383fb9d6b48;
124
- var $c8bc378300208597$export$e324594224ef24da;
125
- var $c8bc378300208597$export$4aebd143f31d0c0d;
126
- var $c8bc378300208597$export$b07e517d22efa1ca;
127
- var $c8bc378300208597$export$980c1089c0604ea3;
128
- var $c8bc378300208597$export$a7db06668cad9adb;
129
- var $c8bc378300208597$export$6d59db4903f20f7d;
130
- var $c8bc378300208597$export$7b34ab0dc3a6dc3b;
131
- var $c8bc378300208597$export$f39a09f249340e2a;
132
- var $c8bc378300208597$export$27f4d14f7fc5b94;
133
- var $c8bc378300208597$export$20fd0f7cd4e6112f;
134
- var $c8bc378300208597$export$d35bc1e505d1ebbf;
135
- var $c8bc378300208597$export$e7dc768d35940237;
136
- var $c8bc378300208597$export$b8813cd5d7824ce7;
137
- var $c8bc378300208597$export$53aa811f86efbfad;
138
- var $c8bc378300208597$export$1e0fb04f31d3c22a;
139
- var $c8bc378300208597$export$4ad4709e9aee8e02;
140
- var $c8bc378300208597$export$1f55b27adf96a61e;
141
- var $c8bc378300208597$export$a2d35348c0cc9bca;
142
- var $c8bc378300208597$export$d9ba3f873d0eaec6;
143
- var $c8bc378300208597$export$eb0d5352b2a55473;
144
- var $c8bc378300208597$export$7150e72e440612bf;
145
- var $c8bc378300208597$export$7c9efe74c4b77579;
146
- var $c8bc378300208597$export$d9b13621bc5dd4d1;
147
- var $c8bc378300208597$export$1bf50375883926;
148
- var $c8bc378300208597$export$5aa06adeaa92dbca;
149
- var $c8bc378300208597$export$b01cb9680b0b8d22;
150
- var $c8bc378300208597$export$cbd30c7809acdd81;
151
- var $c8bc378300208597$export$68b45d42c77fe1cf;
152
- var $c8bc378300208597$export$1b66ee5cd8394caf;
153
- var $c8bc378300208597$export$6b3b7792abd9e5f4;
154
- var $c8bc378300208597$export$f80410436c6352c8;
155
- var $c8bc378300208597$export$2a6a235e0baff403;
156
- var $c8bc378300208597$export$927a243805a411ca;
157
- var $c8bc378300208597$export$ce8c93b50eec2d4f;
158
- var $c8bc378300208597$export$8afa006321ee3a8f;
159
- var $c8bc378300208597$export$60162f05499b7560;
160
- var $c8bc378300208597$export$f9ed481cac4d935a;
161
- var $c8bc378300208597$export$659c081622dc13b0;
162
- var $c8bc378300208597$export$58dfda3903289699;
163
- var $c8bc378300208597$export$26480389595d4515;
164
- var $c8bc378300208597$export$6498e436231eea33;
165
- var $c8bc378300208597$export$f979f76ca45242f2;
166
- var $c8bc378300208597$export$9dc11c0e0825a249;
167
- var $c8bc378300208597$export$f89865e352230a35;
168
- var $c8bc378300208597$export$867c05a16e5d2a7c;
169
- var $c8bc378300208597$export$61b66671605f1b1a;
170
- var $c8bc378300208597$export$41a33ae9818c51be;
171
- var $c8bc378300208597$export$dc2b0b08d47555;
172
- var $c8bc378300208597$export$5d2adfeb248e654a;
173
- var $c8bc378300208597$export$84286d36e5c00c55;
174
- var $c8bc378300208597$export$fcabaf52adc14efe;
175
- var $c8bc378300208597$export$2fb3c7c2d5c0d720;
176
- var $c8bc378300208597$export$256b97e812db1642;
177
- var $c8bc378300208597$export$4784f0c2ec8bbf7b;
178
- var $c8bc378300208597$export$f385e7456ddfee84;
179
- var $c8bc378300208597$export$aaaf83100348d389;
180
- var $c8bc378300208597$export$39b42a8a24290c17;
181
- var $c8bc378300208597$export$c29dcfa80dab8c88;
182
- var $c8bc378300208597$export$38c6ebb7f58dedaa;
183
- var $c8bc378300208597$export$8a26470723c97997;
184
- var $c8bc378300208597$export$3b4577d06eb82ec0;
185
- var $c8bc378300208597$export$e77609e6ef08541e;
186
- $c8bc378300208597$export$bd7f6383fb9d6b48 = `C64cMW_actionmenu`;
187
- $c8bc378300208597$export$e324594224ef24da = `C64cMW_actions`;
188
- $c8bc378300208597$export$4aebd143f31d0c0d = `C64cMW_badge`;
189
- $c8bc378300208597$export$b07e517d22efa1ca = `C64cMW_checkbox`;
190
- $c8bc378300208597$export$980c1089c0604ea3 = `C64cMW_chevron`;
191
- $c8bc378300208597$export$a7db06668cad9adb = `C64cMW_content`;
192
- $c8bc378300208597$export$6d59db4903f20f7d = `C64cMW_description`;
193
- $c8bc378300208597$export$7b34ab0dc3a6dc3b = `C64cMW_draghandle`;
194
- $c8bc378300208597$export$f39a09f249340e2a = `C64cMW_focus-ring`;
195
- $c8bc378300208597$export$27f4d14f7fc5b94 = `C64cMW_has-checkbox`;
196
- $c8bc378300208597$export$20fd0f7cd4e6112f = `C64cMW_is-active`;
197
- $c8bc378300208597$export$d35bc1e505d1ebbf = `C64cMW_is-disabled`;
198
- $c8bc378300208597$export$e7dc768d35940237 = `C64cMW_is-focused`;
199
- $c8bc378300208597$export$b8813cd5d7824ce7 = `C64cMW_is-hovered`;
200
- $c8bc378300208597$export$53aa811f86efbfad = `C64cMW_is-next-selected`;
201
- $c8bc378300208597$export$1e0fb04f31d3c22a = `C64cMW_is-selected`;
202
- $c8bc378300208597$export$4ad4709e9aee8e02 = `C64cMW_react-spectrum-ListView`;
203
- $c8bc378300208597$export$1f55b27adf96a61e = `C64cMW_react-spectrum-ListView--compact`;
204
- $c8bc378300208597$export$a2d35348c0cc9bca = `C64cMW_react-spectrum-ListView--draggable`;
205
- $c8bc378300208597$export$d9ba3f873d0eaec6 = `C64cMW_react-spectrum-ListView--dropTarget`;
206
- $c8bc378300208597$export$eb0d5352b2a55473 = `C64cMW_react-spectrum-ListView--emphasized`;
207
- $c8bc378300208597$export$7150e72e440612bf = `C64cMW_react-spectrum-ListView--hasAnyChildren`;
208
- $c8bc378300208597$export$7c9efe74c4b77579 = `C64cMW_react-spectrum-ListView--hasDescription`;
209
- $c8bc378300208597$export$d9b13621bc5dd4d1 = `C64cMW_react-spectrum-ListView--isHorizontalScrollbarVisible`;
210
- $c8bc378300208597$export$1bf50375883926 = `C64cMW_react-spectrum-ListView--isVerticalScrollbarVisible`;
211
- $c8bc378300208597$export$5aa06adeaa92dbca = `C64cMW_react-spectrum-ListView--loadingMore`;
212
- $c8bc378300208597$export$b01cb9680b0b8d22 = `C64cMW_react-spectrum-ListView--quiet`;
213
- $c8bc378300208597$export$cbd30c7809acdd81 = `C64cMW_react-spectrum-ListView--spacious`;
214
- $c8bc378300208597$export$68b45d42c77fe1cf = `C64cMW_react-spectrum-ListView--wrap`;
215
- $c8bc378300208597$export$1b66ee5cd8394caf = `C64cMW_react-spectrum-ListView-centeredWrapper`;
216
- $c8bc378300208597$export$6b3b7792abd9e5f4 = `C64cMW_react-spectrum-ListView-centeredWrapper--loadingMore`;
217
- $c8bc378300208597$export$f80410436c6352c8 = `C64cMW_react-spectrum-ListView-row`;
218
- $c8bc378300208597$export$2a6a235e0baff403 = `C64cMW_react-spectrum-ListViewInsertionIndicator`;
219
- $c8bc378300208597$export$927a243805a411ca = `C64cMW_react-spectrum-ListViewInsertionIndicator--dropTarget`;
220
- $c8bc378300208597$export$ce8c93b50eec2d4f = `C64cMW_react-spectrum-ListViewItem`;
221
- $c8bc378300208597$export$8afa006321ee3a8f = `C64cMW_react-spectrum-ListViewItem--dropTarget`;
222
- $c8bc378300208597$export$60162f05499b7560 = `C64cMW_react-spectrum-ListViewItem--firstRow`;
223
- $c8bc378300208597$export$f9ed481cac4d935a = `C64cMW_react-spectrum-ListViewItem--isFlushBottom`;
224
- $c8bc378300208597$export$659c081622dc13b0 = `C64cMW_react-spectrum-ListViewItem--lastRow`;
225
- $c8bc378300208597$export$58dfda3903289699 = `C64cMW_react-spectrum-ListViewItem-actionmenu`;
226
- $c8bc378300208597$export$26480389595d4515 = `C64cMW_react-spectrum-ListViewItem-actions`;
227
- $c8bc378300208597$export$6498e436231eea33 = `C64cMW_react-spectrum-ListViewItem-badge`;
228
- $c8bc378300208597$export$f979f76ca45242f2 = `C64cMW_react-spectrum-ListViewItem-checkbox`;
229
- $c8bc378300208597$export$9dc11c0e0825a249 = `C64cMW_react-spectrum-ListViewItem-checkbox--enter`;
230
- $c8bc378300208597$export$f89865e352230a35 = `C64cMW_react-spectrum-ListViewItem-checkbox--enterActive`;
231
- $c8bc378300208597$export$867c05a16e5d2a7c = `C64cMW_react-spectrum-ListViewItem-checkbox--exit`;
232
- $c8bc378300208597$export$61b66671605f1b1a = `C64cMW_react-spectrum-ListViewItem-checkbox--exitActive`;
233
- $c8bc378300208597$export$41a33ae9818c51be = `C64cMW_react-spectrum-ListViewItem-checkboxWrapper`;
234
- $c8bc378300208597$export$dc2b0b08d47555 = `C64cMW_react-spectrum-ListViewItem-content`;
235
- $c8bc378300208597$export$5d2adfeb248e654a = `C64cMW_react-spectrum-ListViewItem-description`;
236
- $c8bc378300208597$export$84286d36e5c00c55 = `C64cMW_react-spectrum-ListViewItem-dragPreview`;
237
- $c8bc378300208597$export$fcabaf52adc14efe = `C64cMW_react-spectrum-ListViewItem-dragPreview--compact`;
238
- $c8bc378300208597$export$2fb3c7c2d5c0d720 = `C64cMW_react-spectrum-ListViewItem-dragPreview--multiple`;
239
- $c8bc378300208597$export$256b97e812db1642 = `C64cMW_react-spectrum-ListViewItem-dragPreview--spacious`;
240
- $c8bc378300208597$export$4784f0c2ec8bbf7b = `C64cMW_react-spectrum-ListViewItem-draghandle-button`;
241
- $c8bc378300208597$export$f385e7456ddfee84 = `C64cMW_react-spectrum-ListViewItem-draghandle-container`;
242
- $c8bc378300208597$export$aaaf83100348d389 = `C64cMW_react-spectrum-ListViewItem-grid`;
243
- $c8bc378300208597$export$39b42a8a24290c17 = `C64cMW_react-spectrum-ListViewItem-parentIndicator`;
244
- $c8bc378300208597$export$c29dcfa80dab8c88 = `C64cMW_react-spectrum-ListViewItem-parentIndicator--hasChildItems`;
245
- $c8bc378300208597$export$38c6ebb7f58dedaa = `C64cMW_react-spectrum-ListViewItem-thumbnail`;
246
- $c8bc378300208597$export$8a26470723c97997 = `C64cMW_round-bottoms`;
247
- $c8bc378300208597$export$3b4577d06eb82ec0 = `C64cMW_round-tops`;
248
- $c8bc378300208597$export$e77609e6ef08541e = `C64cMW_thumbnail`;
249
-
250
-
251
-
252
-
253
-
254
- function $0a834ddbc989a3e3$export$2e2bcd8739ae039(props) {
255
- let { dropState: dropState, dragAndDropHooks: dragAndDropHooks } = (0, $fWI2a$useContext)((0, $f85fb77f9d4cbc6c$export$870039b0abfe3de0));
256
- const { target: target, isPresentationOnly: isPresentationOnly } = props;
257
- let ref = (0, $fWI2a$useRef)();
258
- let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator(props, dropState, ref);
259
- let { visuallyHiddenProps: visuallyHiddenProps } = (0, $fWI2a$useVisuallyHidden)();
260
- let isDropTarget = dropState.isDropTarget(target);
261
- if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
262
- return /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
263
- role: "row",
264
- "aria-hidden": dropIndicatorProps["aria-hidden"]
265
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
266
- role: "gridcell",
267
- "aria-selected": "false",
268
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewInsertionIndicator", {
269
- "react-spectrum-ListViewInsertionIndicator--dropTarget": isDropTarget
270
- })
271
- }, !isPresentationOnly && /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
272
- ...visuallyHiddenProps,
273
- role: "button",
274
- ...dropIndicatorProps,
275
- ref: ref
276
- })));
277
- }
278
-
279
-
280
- var $ae327a38dafd8ae2$exports = {};
281
- var $a8be062dce739a7d$exports = {};
282
- $a8be062dce739a7d$exports = {
283
- "loading": `\u{62C}\u{627}\u{631}\u{64D} \u{627}\u{644}\u{62A}\u{62D}\u{645}\u{64A}\u{644}...`,
284
- "loadingMore": `\u{62C}\u{627}\u{631}\u{64D} \u{62A}\u{62D}\u{645}\u{64A}\u{644} \u{627}\u{644}\u{645}\u{632}\u{64A}\u{62F}...`
285
- };
286
-
287
-
288
- var $ebee5026543c5714$exports = {};
289
- $ebee5026543c5714$exports = {
290
- "loading": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435}...`,
291
- "loadingMore": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435} \u{43D}\u{430} \u{43E}\u{449}\u{435}...`
292
- };
293
-
294
-
295
- var $ec2dceffa5b2d037$exports = {};
296
- $ec2dceffa5b2d037$exports = {
297
- "loading": `Na\u{10D}\xedt\xe1n\xed...`,
298
- "loadingMore": `Na\u{10D}\xedt\xe1n\xed dal\u{161}\xedch...`
299
- };
300
-
301
-
302
- var $e49254d6635b1a35$exports = {};
303
- $e49254d6635b1a35$exports = {
304
- "loading": `Indl\xe6ser...`,
305
- "loadingMore": `Indl\xe6ser flere...`
306
- };
307
-
308
-
309
- var $c25de0af306f5a70$exports = {};
310
- $c25de0af306f5a70$exports = {
311
- "loading": `Laden...`,
312
- "loadingMore": `Mehr laden ...`
313
- };
314
-
315
-
316
- var $1aedf9be304cf865$exports = {};
317
- $1aedf9be304cf865$exports = {
318
- "loading": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7}...`,
319
- "loadingMore": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7} \u{3C0}\u{3B5}\u{3C1}\u{3B9}\u{3C3}\u{3C3}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3C9}\u{3BD}...`
320
- };
321
-
322
-
323
- var $653a020875a8fea3$exports = {};
324
- $653a020875a8fea3$exports = {
325
- "loading": `Loading\u{2026}`,
326
- "loadingMore": `Loading more\u{2026}`
327
- };
328
-
329
-
330
- var $24fba9a73a2aba1c$exports = {};
331
- $24fba9a73a2aba1c$exports = {
332
- "loading": `Cargando\u{2026}`,
333
- "loadingMore": `Cargando m\xe1s\u{2026}`
334
- };
335
-
336
-
337
- var $0994847e6d27862d$exports = {};
338
- $0994847e6d27862d$exports = {
339
- "loading": `Laadimine...`,
340
- "loadingMore": `Laadi rohkem...`
341
- };
342
-
343
-
344
- var $084b0bc3d6e3d2a1$exports = {};
345
- $084b0bc3d6e3d2a1$exports = {
346
- "loading": `Ladataan\u{2026}`,
347
- "loadingMore": `Ladataan lis\xe4\xe4\u{2026}`
348
- };
349
-
350
-
351
- var $3c567f46aec1205a$exports = {};
352
- $3c567f46aec1205a$exports = {
353
- "loading": `Chargement...`,
354
- "loadingMore": `Chargement suppl\xe9mentaire...`
355
- };
356
-
357
-
358
- var $e5a01f2966bf0b9a$exports = {};
359
- $e5a01f2966bf0b9a$exports = {
360
- "loading": `\u{5D8}\u{5D5}\u{5E2}\u{5DF}...`,
361
- "loadingMore": `\u{5D8}\u{5D5}\u{5E2}\u{5DF} \u{5E2}\u{5D5}\u{5D3}...`
362
- };
363
-
364
-
365
- var $223cc8f6bb1d23dd$exports = {};
366
- $223cc8f6bb1d23dd$exports = {
367
- "loading": `U\u{10D}itavam...`,
368
- "loadingMore": `U\u{10D}itavam jo\u{161}...`
369
- };
370
-
371
-
372
- var $c577fab129d558ed$exports = {};
373
- $c577fab129d558ed$exports = {
374
- "loading": `Bet\xf6lt\xe9s folyamatban\u{2026}`,
375
- "loadingMore": `Tov\xe1bbiak bet\xf6lt\xe9se folyamatban\u{2026}`
376
- };
377
-
378
-
379
- var $a6e5541030242f67$exports = {};
380
- $a6e5541030242f67$exports = {
381
- "loading": `Caricamento...`,
382
- "loadingMore": `Caricamento altri...`
383
- };
384
-
385
-
386
- var $cce2c1ef24294875$exports = {};
387
- $cce2c1ef24294875$exports = {
388
- "loading": `\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`,
389
- "loadingMore": `\u{3055}\u{3089}\u{306B}\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`
390
- };
391
-
392
-
393
- var $01de2837b3b6f15a$exports = {};
394
- $01de2837b3b6f15a$exports = {
395
- "loading": `\u{B85C}\u{B4DC} \u{C911}\u{2026}`,
396
- "loadingMore": `\u{CD94}\u{AC00} \u{B85C}\u{B4DC} \u{C911}\u{2026}`
397
- };
398
-
399
-
400
- var $5394997707852da6$exports = {};
401
- $5394997707852da6$exports = {
402
- "loading": `\u{12E}keliama...`,
403
- "loadingMore": `\u{12E}keliama daugiau...`
404
- };
405
-
406
-
407
- var $3f13373950080912$exports = {};
408
- $3f13373950080912$exports = {
409
- "loading": `Notiek iel\u{101}de...`,
410
- "loadingMore": `Tiek iel\u{101}d\u{113}ts v\u{113}l...`
411
- };
412
-
413
-
414
- var $041a8a2796a43a59$exports = {};
415
- $041a8a2796a43a59$exports = {
416
- "loading": `Laster inn ...`,
417
- "loadingMore": `Laster inn flere ...`
418
- };
419
-
420
-
421
- var $ef957358eac33027$exports = {};
422
- $ef957358eac33027$exports = {
423
- "loading": `Laden...`,
424
- "loadingMore": `Meer laden...`
425
- };
426
-
427
-
428
- var $09a0ddc6d157c4fe$exports = {};
429
- $09a0ddc6d157c4fe$exports = {
430
- "loading": `\u{141}adowanie...`,
431
- "loadingMore": `Wczytywanie wi\u{119}kszej liczby...`
432
- };
433
-
434
-
435
- var $5e4abb947f3a742c$exports = {};
436
- $5e4abb947f3a742c$exports = {
437
- "loading": `Carregando...`,
438
- "loadingMore": `Carregando mais...`
439
- };
440
-
441
-
442
- var $18faaf4c3266f94f$exports = {};
443
- $18faaf4c3266f94f$exports = {
444
- "loading": `A carregar...`,
445
- "loadingMore": `A carregar mais...`
446
- };
447
-
448
-
449
- var $b3819b882aaf2b05$exports = {};
450
- $b3819b882aaf2b05$exports = {
451
- "loading": `Se \xeencarc\u{103}...`,
452
- "loadingMore": `Se \xeencarc\u{103} mai multe...`
453
- };
454
-
455
-
456
- var $bbb9489f20c7c6c0$exports = {};
457
- $bbb9489f20c7c6c0$exports = {
458
- "loading": `\u{417}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`,
459
- "loadingMore": `\u{414}\u{43E}\u{43F}\u{43E}\u{43B}\u{43D}\u{438}\u{442}\u{435}\u{43B}\u{44C}\u{43D}\u{430}\u{44F} \u{437}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`
460
- };
461
-
462
-
463
- var $12e7bbe01da0d5ad$exports = {};
464
- $12e7bbe01da0d5ad$exports = {
465
- "loading": `Na\u{10D}\xedtava sa...`,
466
- "loadingMore": `Na\u{10D}\xedtava sa viac...`
467
- };
468
-
469
-
470
- var $5582a397c204a97c$exports = {};
471
- $5582a397c204a97c$exports = {
472
- "loading": `Nalaganje ...`,
473
- "loadingMore": `Nalaganje ve\u{10D} vsebine ...`
474
- };
475
-
476
-
477
- var $aa6549babfa00736$exports = {};
478
- $aa6549babfa00736$exports = {
479
- "loading": `U\u{10D}itavam...`,
480
- "loadingMore": `U\u{10D}itavam jo\u{161}...`
481
- };
482
-
483
-
484
- var $13248984d46c1e4f$exports = {};
485
- $13248984d46c1e4f$exports = {
486
- "loading": `L\xe4ser in...`,
487
- "loadingMore": `L\xe4ser in mer...`
488
- };
489
-
490
-
491
- var $7af10700b945dced$exports = {};
492
- $7af10700b945dced$exports = {
493
- "loading": `Y\xfckleniyor...`,
494
- "loadingMore": `Daha fazla y\xfckleniyor...`
495
- };
496
-
497
-
498
- var $00a02749c6fa842b$exports = {};
499
- $00a02749c6fa842b$exports = {
500
- "loading": `\u{417}\u{430}\u{432}\u{430}\u{43D}\u{442}\u{430}\u{436}\u{435}\u{43D}\u{43D}\u{44F}\u{2026}`,
501
- "loadingMore": `\u{417}\u{430}\u{432}\u{430}\u{43D}\u{442}\u{430}\u{436}\u{435}\u{43D}\u{43D}\u{44F} \u{456}\u{43D}\u{448}\u{438}\u{445} \u{43E}\u{431}\u{2019}\u{454}\u{43A}\u{442}\u{456}\u{432}...`
502
- };
503
-
504
-
505
- var $e3b2b7128a600af6$exports = {};
506
- $e3b2b7128a600af6$exports = {
507
- "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
508
- "loadingMore": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}\u{66F4}\u{591A}...`
509
- };
510
-
511
-
512
- var $8751d9847e270a98$exports = {};
513
- $8751d9847e270a98$exports = {
514
- "loading": `\u{8F09}\u{5165}\u{4E2D}\u{2026}`,
515
- "loadingMore": `\u{6B63}\u{5728}\u{8F09}\u{5165}\u{66F4}\u{591A}\u{2026}`
516
- };
517
-
518
-
519
- $ae327a38dafd8ae2$exports = {
520
- "ar-AE": $a8be062dce739a7d$exports,
521
- "bg-BG": $ebee5026543c5714$exports,
522
- "cs-CZ": $ec2dceffa5b2d037$exports,
523
- "da-DK": $e49254d6635b1a35$exports,
524
- "de-DE": $c25de0af306f5a70$exports,
525
- "el-GR": $1aedf9be304cf865$exports,
526
- "en-US": $653a020875a8fea3$exports,
527
- "es-ES": $24fba9a73a2aba1c$exports,
528
- "et-EE": $0994847e6d27862d$exports,
529
- "fi-FI": $084b0bc3d6e3d2a1$exports,
530
- "fr-FR": $3c567f46aec1205a$exports,
531
- "he-IL": $e5a01f2966bf0b9a$exports,
532
- "hr-HR": $223cc8f6bb1d23dd$exports,
533
- "hu-HU": $c577fab129d558ed$exports,
534
- "it-IT": $a6e5541030242f67$exports,
535
- "ja-JP": $cce2c1ef24294875$exports,
536
- "ko-KR": $01de2837b3b6f15a$exports,
537
- "lt-LT": $5394997707852da6$exports,
538
- "lv-LV": $3f13373950080912$exports,
539
- "nb-NO": $041a8a2796a43a59$exports,
540
- "nl-NL": $ef957358eac33027$exports,
541
- "pl-PL": $09a0ddc6d157c4fe$exports,
542
- "pt-BR": $5e4abb947f3a742c$exports,
543
- "pt-PT": $18faaf4c3266f94f$exports,
544
- "ro-RO": $b3819b882aaf2b05$exports,
545
- "ru-RU": $bbb9489f20c7c6c0$exports,
546
- "sk-SK": $12e7bbe01da0d5ad$exports,
547
- "sl-SI": $5582a397c204a97c$exports,
548
- "sr-SP": $aa6549babfa00736$exports,
549
- "sv-SE": $13248984d46c1e4f$exports,
550
- "tr-TR": $7af10700b945dced$exports,
551
- "uk-UA": $00a02749c6fa842b$exports,
552
- "zh-CN": $e3b2b7128a600af6$exports,
553
- "zh-TW": $8751d9847e270a98$exports
554
- };
555
-
556
-
557
-
558
-
559
-
560
- /*
561
- * Copyright 2021 Adobe. All rights reserved.
562
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
563
- * you may not use this file except in compliance with the License. You may obtain a copy
564
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
565
- *
566
- * Unless required by applicable law or agreed to in writing, software distributed under
567
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
568
- * OF ANY KIND, either express or implied. See the License for the specific language
569
- * governing permissions and limitations under the License.
570
- */
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
- function $d7c07ca2efc5ba02$export$c6bde0c04b033c0e(props) {
590
- var _layout_getContentSize, _layout_virtualizer;
591
- let { item: item, isEmphasized: isEmphasized } = props;
592
- let { state: state, dragState: dragState, dropState: dropState, isListDraggable: isListDraggable, isListDroppable: isListDroppable, layout: layout, dragAndDropHooks: dragAndDropHooks, loadingState: loadingState } = (0, $fWI2a$useContext)((0, $f85fb77f9d4cbc6c$export$870039b0abfe3de0));
593
- let { direction: direction } = (0, $fWI2a$useLocale)();
594
- let rowRef = (0, $fWI2a$useRef)();
595
- let checkboxWrapperRef = (0, $fWI2a$useRef)();
596
- let { isFocusVisible: isFocusVisibleWithin, focusProps: focusWithinProps } = (0, $fWI2a$useFocusRing)({
597
- within: true
598
- });
599
- let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $fWI2a$useFocusRing)();
600
- let { rowProps: rowProps, gridCellProps: gridCellProps, isPressed: isPressed, descriptionProps: descriptionProps, isSelected: isSelected, isDisabled: isDisabled, allowsSelection: allowsSelection, hasAction: hasAction } = (0, $fWI2a$useGridListItem)({
601
- node: item,
602
- isVirtualized: true,
603
- shouldSelectOnPressUp: isListDraggable
604
- }, state, rowRef);
605
- let isDroppable = isListDroppable && !isDisabled;
606
- let { hoverProps: hoverProps, isHovered: isHovered } = (0, $fWI2a$useHover)({
607
- isDisabled: !allowsSelection && !hasAction
608
- });
609
- let { checkboxProps: checkboxProps } = (0, $fWI2a$useGridListSelectionCheckbox)({
610
- key: item.key
611
- }, state);
612
- let hasDescription = (0, $fWI2a$useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-description"]}`, rowRef);
613
- let draggableItem;
614
- if (isListDraggable) {
615
- // eslint-disable-next-line react-hooks/rules-of-hooks
616
- draggableItem = dragAndDropHooks.useDraggableItem({
617
- key: item.key,
618
- hasDragButton: true
619
- }, dragState);
620
- if (isDisabled) draggableItem = null;
621
- }
622
- let droppableItem;
623
- let isDropTarget;
624
- let dropIndicator;
625
- let dropIndicatorRef = (0, $fWI2a$useRef)();
626
- if (isListDroppable) {
627
- let target = {
628
- type: "item",
629
- key: item.key,
630
- dropPosition: "on"
631
- };
632
- isDropTarget = dropState.isDropTarget(target);
633
- // eslint-disable-next-line react-hooks/rules-of-hooks
634
- dropIndicator = dragAndDropHooks.useDropIndicator({
635
- target: target
636
- }, dropState, dropIndicatorRef);
637
- }
638
- let dragButtonRef = (0, $fWI2a$react).useRef();
639
- let { buttonProps: buttonProps } = (0, $fWI2a$useButton)({
640
- ...draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragButtonProps,
641
- elementType: "div"
642
- }, dragButtonRef);
643
- let chevron = direction === "ltr" ? /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$spectrumiconsuiChevronRightMedium), {
644
- "aria-hidden": "true",
645
- UNSAFE_className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewItem-parentIndicator", {
646
- "react-spectrum-ListViewItem-parentIndicator--hasChildItems": item.props.hasChildItems,
647
- "is-disabled": !hasAction
648
- })
649
- }) : /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$spectrumiconsuiChevronLeftMedium), {
650
- "aria-hidden": "true",
651
- UNSAFE_className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewItem-parentIndicator", {
652
- "react-spectrum-ListViewItem-parentIndicator--hasChildItems": item.props.hasChildItems,
653
- "is-disabled": !hasAction
654
- })
655
- });
656
- let showCheckbox = state.selectionManager.selectionMode !== "none" && state.selectionManager.selectionBehavior === "toggle";
657
- let { visuallyHiddenProps: visuallyHiddenProps } = (0, $fWI2a$useVisuallyHidden)();
658
- let dropProps = isDroppable ? droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps : {
659
- "aria-hidden": droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps["aria-hidden"]
660
- };
661
- const mergedProps = (0, $fWI2a$mergeProps)(rowProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, dropProps, hoverProps, focusWithinProps, focusProps, // Remove tab index from list row if performing a screenreader drag. This prevents TalkBack from focusing the row,
662
- // allowing for single swipe navigation between row drop indicator
663
- (dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.isVirtualDragging()) && {
664
- tabIndex: null
665
- });
666
- let isFirstRow = item.prevKey == null;
667
- let isLastRow = item.nextKey == null;
668
- // Figure out if the ListView content is equal or greater in height to the container. If so, we'll need to round the bottom
669
- // 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
670
- // with bottom border
671
- let isFlushWithContainerBottom = false;
672
- if (isLastRow && loadingState !== "loadingMore") {
673
- if (((_layout_getContentSize = layout.getContentSize()) === null || _layout_getContentSize === void 0 ? void 0 : _layout_getContentSize.height) >= ((_layout_virtualizer = layout.virtualizer) === null || _layout_virtualizer === void 0 ? void 0 : _layout_virtualizer.getVisibleRect().height)) isFlushWithContainerBottom = true;
674
- }
675
- // previous item isn't selected
676
- // 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
677
- let roundTops = !state.selectionManager.isSelected(item.prevKey) && (state.selectionManager.focusedKey !== item.prevKey || !((0, $fWI2a$isFocusVisible)() && state.selectionManager.isFocused));
678
- let roundBottoms = !state.selectionManager.isSelected(item.nextKey) && (state.selectionManager.focusedKey !== item.nextKey || !((0, $fWI2a$isFocusVisible)() && state.selectionManager.isFocused));
679
- let content = typeof item.rendered === "string" ? /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Text), null, item.rendered) : item.rendered;
680
- if (isDisabled) content = /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Provider), {
681
- isDisabled: true
682
- }, content);
683
- return /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
684
- ...mergedProps,
685
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListView-row", {
686
- "focus-ring": isFocusVisible,
687
- "round-tops": roundTops || isHovered && !isSelected && state.selectionManager.focusedKey !== item.key,
688
- "round-bottoms": roundBottoms || isHovered && !isSelected && state.selectionManager.focusedKey !== item.key
689
- }),
690
- ref: rowRef
691
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
692
- // TODO: refactor the css here now that we are focusing the row?
693
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewItem", {
694
- "is-active": isPressed,
695
- "is-focused": isFocusVisibleWithin,
696
- "focus-ring": isFocusVisible,
697
- "is-hovered": isHovered,
698
- "is-selected": isSelected,
699
- "is-disabled": isDisabled,
700
- "is-prev-selected": state.selectionManager.isSelected(item.prevKey),
701
- "is-next-selected": state.selectionManager.isSelected(item.nextKey),
702
- "react-spectrum-ListViewItem--highlightSelection": state.selectionManager.selectionBehavior === "replace" && (isSelected || state.selectionManager.isSelected(item.nextKey)),
703
- "react-spectrum-ListViewItem--dropTarget": !!isDropTarget,
704
- "react-spectrum-ListViewItem--firstRow": isFirstRow,
705
- "react-spectrum-ListViewItem--lastRow": isLastRow,
706
- "react-spectrum-ListViewItem--isFlushBottom": isFlushWithContainerBottom,
707
- "react-spectrum-ListViewItem--hasDescription": hasDescription
708
- }),
709
- ...gridCellProps
710
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Grid), {
711
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-grid"]
712
- }, isListDraggable && /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
713
- className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-draghandle-container"]
714
- }, !isDisabled && /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$FocusRing), {
715
- focusRingClass: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "focus-ring")
716
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
717
- ...buttonProps,
718
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewItem-draghandle-button"),
719
- style: !isFocusVisibleWithin ? {
720
- ...visuallyHiddenProps.style
721
- } : {},
722
- ref: dragButtonRef,
723
- draggable: "true"
724
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$spectrumiconsuiListGripper), null)))), isListDroppable && !(dropIndicator === null || dropIndicator === void 0 ? void 0 : dropIndicator.isHidden) && /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
725
- role: "button",
726
- ...visuallyHiddenProps,
727
- ...dropIndicator === null || dropIndicator === void 0 ? void 0 : dropIndicator.dropIndicatorProps,
728
- ref: dropIndicatorRef
729
- }), /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$CSSTransition), {
730
- in: showCheckbox,
731
- unmountOnExit: true,
732
- classNames: {
733
- enter: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-checkbox--enter"],
734
- enterActive: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-checkbox--enterActive"],
735
- exit: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-checkbox--exit"],
736
- exitActive: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-checkbox--exitActive"]
737
- },
738
- timeout: 160,
739
- nodeRef: checkboxWrapperRef
740
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
741
- ref: checkboxWrapperRef,
742
- className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-checkboxWrapper"]
743
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Checkbox), {
744
- ...checkboxProps,
745
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-checkbox"],
746
- isEmphasized: isEmphasized
747
- }))), /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$SlotProvider), {
748
- slots: {
749
- text: {
750
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-content"]
751
- },
752
- description: {
753
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-description"],
754
- ...descriptionProps
755
- },
756
- illustration: {
757
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-thumbnail"]
758
- },
759
- image: {
760
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-thumbnail"]
761
- },
762
- actionButton: {
763
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-actions"],
764
- isQuiet: true
765
- },
766
- actionGroup: {
767
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-actions"],
768
- isQuiet: true,
769
- density: "compact"
770
- },
771
- actionMenu: {
772
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-actionmenu"],
773
- isQuiet: true
774
- }
775
- }
776
- }, content, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$ClearSlots), null, chevron)))));
777
- }
778
-
779
-
780
-
781
-
782
-
783
-
784
-
785
- function $41a60729487a82d7$export$2e2bcd8739ae039() {
786
- let { dropState: dropState, dragAndDropHooks: dragAndDropHooks } = (0, $fWI2a$useContext)((0, $f85fb77f9d4cbc6c$export$870039b0abfe3de0));
787
- let ref = (0, $fWI2a$useRef)();
788
- let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator({
789
- target: {
790
- type: "root"
791
- }
792
- }, dropState, ref);
793
- let isDropTarget = dropState.isDropTarget({
794
- type: "root"
795
- });
796
- let { visuallyHiddenProps: visuallyHiddenProps } = (0, $fWI2a$useVisuallyHidden)();
797
- if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
798
- return /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
799
- role: "row",
800
- "aria-hidden": dropIndicatorProps["aria-hidden"]
801
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
802
- role: "gridcell",
803
- "aria-selected": "false"
804
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
805
- role: "button",
806
- ...visuallyHiddenProps,
807
- ...dropIndicatorProps,
808
- ref: ref
809
- })));
810
- }
811
-
812
-
813
- /*
814
- * Copyright 2021 Adobe. All rights reserved.
815
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
816
- * you may not use this file except in compliance with the License. You may obtain a copy
817
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
818
- *
819
- * Unless required by applicable law or agreed to in writing, software distributed under
820
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
821
- * OF ANY KIND, either express or implied. See the License for the specific language
822
- * governing permissions and limitations under the License.
823
- */
824
-
825
-
826
-
827
-
828
- function $cd61e55c47e3c0f5$export$905ab40ac2179daa(props) {
829
- let { item: item, itemCount: itemCount, itemHeight: itemHeight, density: density } = props;
830
- let isDraggingMultiple = itemCount > 1;
831
- return /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
832
- style: {
833
- height: itemHeight
834
- },
835
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewItem", "react-spectrum-ListViewItem-dragPreview", {
836
- "react-spectrum-ListViewItem-dragPreview--multiple": isDraggingMultiple
837
- }, `react-spectrum-ListViewItem-dragPreview--${density}`)
838
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Grid), {
839
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-grid"]
840
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$SlotProvider), {
841
- slots: {
842
- text: {
843
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-content"]
844
- },
845
- description: {
846
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-description"]
847
- },
848
- illustration: {
849
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-thumbnail"]
850
- },
851
- image: {
852
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-thumbnail"]
853
- },
854
- actionButton: {
855
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-actions"],
856
- isQuiet: true
857
- },
858
- actionGroup: {
859
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-actions"],
860
- isQuiet: true,
861
- density: "compact"
862
- },
863
- actionMenu: {
864
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports)))["react-spectrum-ListViewItem-actionmenu"],
865
- isQuiet: true
866
- }
867
- }
868
- }, typeof item.rendered === "string" ? /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Text), null, item.rendered) : item.rendered, isDraggingMultiple && /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
869
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListViewItem-badge")
870
- }, itemCount))));
871
- }
872
-
873
-
874
-
875
-
876
-
877
- const $f85fb77f9d4cbc6c$export$870039b0abfe3de0 = /*#__PURE__*/ (0, $fWI2a$react).createContext(null);
878
- const $f85fb77f9d4cbc6c$var$ROW_HEIGHTS = {
879
- compact: {
880
- medium: 32,
881
- large: 40
882
- },
883
- regular: {
884
- medium: 40,
885
- large: 50
886
- },
887
- spacious: {
888
- medium: 48,
889
- large: 60
890
- }
891
- };
892
- function $f85fb77f9d4cbc6c$var$useListLayout(state, density, overflowMode) {
893
- let { scale: scale } = (0, $fWI2a$useProvider)();
894
- let collator = (0, $fWI2a$useCollator)({
895
- usage: "search",
896
- sensitivity: "base"
897
- });
898
- let isEmpty = state.collection.size === 0;
899
- let layout = (0, $fWI2a$useMemo)(()=>new (0, $fWI2a$ListLayout)({
900
- estimatedRowHeight: $f85fb77f9d4cbc6c$var$ROW_HEIGHTS[density][scale],
901
- padding: 0,
902
- collator: collator,
903
- loaderHeight: isEmpty ? null : $f85fb77f9d4cbc6c$var$ROW_HEIGHTS[density][scale]
904
- }), [
905
- collator,
906
- scale,
907
- density,
908
- isEmpty,
909
- overflowMode
910
- ]);
911
- layout.collection = state.collection;
912
- layout.disabledKeys = state.disabledKeys;
913
- return layout;
914
- }
915
- function $f85fb77f9d4cbc6c$var$ListView(props, ref) {
916
- var _dropState_target;
917
- let { density: density = "regular", loadingState: loadingState, onLoadMore: onLoadMore, isQuiet: isQuiet, overflowMode: overflowMode = "truncate", onAction: onAction, dragAndDropHooks: dragAndDropHooks, ...otherProps } = props;
918
- let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
919
- let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);
920
- let dragHooksProvided = (0, $fWI2a$useRef)(isListDraggable);
921
- let dropHooksProvided = (0, $fWI2a$useRef)(isListDroppable);
922
- (0, $fWI2a$useEffect)(()=>{
923
- 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.");
924
- 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.");
925
- }, [
926
- isListDraggable,
927
- isListDroppable
928
- ]);
929
- let domRef = (0, $fWI2a$useDOMRef)(ref);
930
- let state = (0, $fWI2a$useListState)({
931
- ...props,
932
- selectionBehavior: props.selectionStyle === "highlight" ? "replace" : "toggle"
933
- });
934
- let { collection: collection, selectionManager: selectionManager } = state;
935
- let stringFormatter = (0, $fWI2a$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($ae327a38dafd8ae2$exports))));
936
- let isLoading = loadingState === "loading" || loadingState === "loadingMore";
937
- let { styleProps: styleProps } = (0, $fWI2a$useStyleProps)(props);
938
- let dragState;
939
- let preview = (0, $fWI2a$useRef)(null);
940
- if (isListDraggable) {
941
- dragState = dragAndDropHooks.useDraggableCollectionState({
942
- collection: collection,
943
- selectionManager: selectionManager,
944
- preview: preview
945
- });
946
- dragAndDropHooks.useDraggableCollection({}, dragState, domRef);
947
- }
948
- let layout = $f85fb77f9d4cbc6c$var$useListLayout(state, props.density || "regular", overflowMode);
949
- // !!0 is false, so we can cast size or undefined and they'll be falsy
950
- layout.allowDisabledKeyFocus = state.selectionManager.disabledBehavior === "selection" || !!(dragState === null || dragState === void 0 ? void 0 : dragState.draggingKeys.size);
951
- let DragPreview = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.DragPreview;
952
- let dropState;
953
- let droppableCollection;
954
- let isRootDropTarget;
955
- if (isListDroppable) {
956
- dropState = dragAndDropHooks.useDroppableCollectionState({
957
- collection: collection,
958
- selectionManager: selectionManager
959
- });
960
- droppableCollection = dragAndDropHooks.useDroppableCollection({
961
- keyboardDelegate: layout,
962
- dropTargetDelegate: layout
963
- }, dropState, domRef);
964
- isRootDropTarget = dropState.isDropTarget({
965
- type: "root"
966
- });
967
- }
968
- let { gridProps: gridProps } = (0, $fWI2a$useGridList)({
969
- ...props,
970
- isVirtualized: true,
971
- keyboardDelegate: layout,
972
- onAction: onAction
973
- }, state, domRef);
974
- // Sync loading state into the layout.
975
- layout.isLoading = isLoading;
976
- let focusedKey = selectionManager.focusedKey;
977
- if ((dropState === null || dropState === void 0 ? void 0 : (_dropState_target = dropState.target) === null || _dropState_target === void 0 ? void 0 : _dropState_target.type) === "item") focusedKey = dropState.target.key;
978
- // wait for layout to get accurate measurements
979
- let [isVerticalScrollbarVisible, setVerticalScollbarVisible] = (0, $fWI2a$useState)(false);
980
- let [isHorizontalScrollbarVisible, setHorizontalScollbarVisible] = (0, $fWI2a$useState)(false);
981
- // eslint-disable-next-line react-hooks/exhaustive-deps
982
- (0, $fWI2a$useLayoutEffect)(()=>{
983
- if (domRef.current) {
984
- // 2 is the width of the border which is not part of the box size
985
- setVerticalScollbarVisible(domRef.current.clientWidth + 2 < domRef.current.offsetWidth);
986
- setHorizontalScollbarVisible(domRef.current.clientHeight + 2 < domRef.current.offsetHeight);
987
- }
988
- });
989
- let hasAnyChildren = (0, $fWI2a$useMemo)(()=>[
990
- ...collection
991
- ].some((item)=>item.hasChildNodes), [
992
- collection
993
- ]);
994
- return /*#__PURE__*/ (0, $fWI2a$react).createElement($f85fb77f9d4cbc6c$export$870039b0abfe3de0.Provider, {
995
- value: {
996
- state: state,
997
- dragState: dragState,
998
- dropState: dropState,
999
- dragAndDropHooks: dragAndDropHooks,
1000
- onAction: onAction,
1001
- isListDraggable: isListDraggable,
1002
- isListDroppable: isListDroppable,
1003
- layout: layout,
1004
- loadingState: loadingState
1005
- }
1006
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$FocusScope), null, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$FocusRing), {
1007
- focusRingClass: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "focus-ring")
1008
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$Virtualizer), {
1009
- ...(0, $fWI2a$mergeProps)(isListDroppable && (droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps), gridProps),
1010
- ...(0, $fWI2a$filterDOMProps)(otherProps),
1011
- ...gridProps,
1012
- ...styleProps,
1013
- isLoading: isLoading,
1014
- onLoadMore: onLoadMore,
1015
- ref: domRef,
1016
- focusedKey: focusedKey,
1017
- scrollDirection: "vertical",
1018
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListView", `react-spectrum-ListView--${density}`, "react-spectrum-ListView--emphasized", {
1019
- "react-spectrum-ListView--quiet": isQuiet,
1020
- "react-spectrum-ListView--loadingMore": loadingState === "loadingMore",
1021
- "react-spectrum-ListView--draggable": !!isListDraggable,
1022
- "react-spectrum-ListView--dropTarget": !!isRootDropTarget,
1023
- "react-spectrum-ListView--isVerticalScrollbarVisible": isVerticalScrollbarVisible,
1024
- "react-spectrum-ListView--isHorizontalScrollbarVisible": isHorizontalScrollbarVisible,
1025
- "react-spectrum-ListView--hasAnyChildren": hasAnyChildren,
1026
- "react-spectrum-ListView--wrap": overflowMode === "wrap"
1027
- }, styleProps.className),
1028
- layout: layout,
1029
- collection: collection,
1030
- transitionDuration: isLoading ? 160 : 220
1031
- }, (type, item)=>{
1032
- if (type === "item") return /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$react).Fragment, null, isListDroppable && collection.getKeyBefore(item.key) == null && /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $41a60729487a82d7$export$2e2bcd8739ae039), {
1033
- key: "root"
1034
- }), isListDroppable && /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $0a834ddbc989a3e3$export$2e2bcd8739ae039), {
1035
- key: `${item.key}-before`,
1036
- target: {
1037
- key: item.key,
1038
- type: "item",
1039
- dropPosition: "before"
1040
- }
1041
- }), /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $d7c07ca2efc5ba02$export$c6bde0c04b033c0e), {
1042
- item: item,
1043
- isEmphasized: true,
1044
- hasActions: !!onAction
1045
- }), isListDroppable && /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $0a834ddbc989a3e3$export$2e2bcd8739ae039), {
1046
- key: `${item.key}-after`,
1047
- target: {
1048
- key: item.key,
1049
- type: "item",
1050
- dropPosition: "after"
1051
- },
1052
- isPresentationOnly: collection.getKeyAfter(item.key) != null
1053
- }));
1054
- else if (type === "loader") return /*#__PURE__*/ (0, $fWI2a$react).createElement($f85fb77f9d4cbc6c$var$CenteredWrapper, null, /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $fWI2a$ProgressCircle), {
1055
- isIndeterminate: true,
1056
- "aria-label": collection.size > 0 ? stringFormatter.format("loadingMore") : stringFormatter.format("loading")
1057
- }));
1058
- else if (type === "placeholder") {
1059
- let emptyState = props.renderEmptyState ? props.renderEmptyState() : null;
1060
- if (emptyState == null) return null;
1061
- return /*#__PURE__*/ (0, $fWI2a$react).createElement($f85fb77f9d4cbc6c$var$CenteredWrapper, null, emptyState);
1062
- }
1063
- }))), DragPreview && isListDraggable && /*#__PURE__*/ (0, $fWI2a$react).createElement(DragPreview, {
1064
- ref: preview
1065
- }, ()=>{
1066
- if (dragAndDropHooks.renderPreview) return dragAndDropHooks.renderPreview(dragState.draggingKeys, dragState.draggedKey);
1067
- let item = state.collection.getItem(dragState.draggedKey);
1068
- let itemCount = dragState.draggingKeys.size;
1069
- let itemHeight = layout.getLayoutInfo(dragState.draggedKey).rect.height;
1070
- return /*#__PURE__*/ (0, $fWI2a$react).createElement((0, $cd61e55c47e3c0f5$export$905ab40ac2179daa), {
1071
- item: item,
1072
- itemCount: itemCount,
1073
- itemHeight: itemHeight,
1074
- density: density
1075
- });
1076
- }));
1077
- }
1078
- function $f85fb77f9d4cbc6c$var$CenteredWrapper({ children: children }) {
1079
- let { state: state } = (0, $fWI2a$useContext)($f85fb77f9d4cbc6c$export$870039b0abfe3de0);
1080
- return /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
1081
- role: "row",
1082
- "aria-rowindex": state.collection.size + 1,
1083
- className: (0, $fWI2a$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c8bc378300208597$exports))), "react-spectrum-ListView-centeredWrapper", {
1084
- "react-spectrum-ListView-centeredWrapper--loadingMore": state.collection.size > 0
1085
- })
1086
- }, /*#__PURE__*/ (0, $fWI2a$react).createElement("div", {
1087
- role: "gridcell"
1088
- }, children));
1089
- }
1090
- /**
1091
- * A ListView displays a list of interactive items, and allows a user to navigate, select, or perform an action.
1092
- */ const $f85fb77f9d4cbc6c$export$84d0dd190d551cd1 = /*#__PURE__*/ (0, $fWI2a$react).forwardRef($f85fb77f9d4cbc6c$var$ListView);
1093
-
1094
-
1095
-
1096
-
1097
-
1098
- export {$f85fb77f9d4cbc6c$export$84d0dd190d551cd1 as ListView, $75e4a7b01832b12d$re_export$Item as Item};
1099
- //# sourceMappingURL=module.js.map