@react-spectrum/table 3.12.3 → 3.12.4
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/import.mjs +2358 -0
- package/package.json +3 -3
package/dist/import.mjs
ADDED
|
@@ -0,0 +1,2358 @@
|
|
|
1
|
+
import "./main.css";
|
|
2
|
+
import {Column as $gyhAV$Column, TableHeader as $e668f3d0f378a712$re_export$TableHeader, TableBody as $e668f3d0f378a712$re_export$TableBody, Section as $e668f3d0f378a712$re_export$Section, Row as $e668f3d0f378a712$re_export$Row, Cell as $e668f3d0f378a712$re_export$Cell, useTableState as $gyhAV$useTableState, TableColumnLayout as $gyhAV$TableColumnLayout, UNSTABLE_useTreeGridState as $gyhAV$UNSTABLE_useTreeGridState} from "@react-stately/table";
|
|
3
|
+
import $gyhAV$react, {useState as $gyhAV$useState, useContext as $gyhAV$useContext, useRef as $gyhAV$useRef, useEffect as $gyhAV$useEffect, useCallback as $gyhAV$useCallback, useMemo as $gyhAV$useMemo} from "react";
|
|
4
|
+
import {tableNestedRows as $gyhAV$tableNestedRows} from "@react-stately/flags";
|
|
5
|
+
import $gyhAV$spectrumiconsuiArrowDownSmall from "@spectrum-icons/ui/ArrowDownSmall";
|
|
6
|
+
import {mergeProps as $gyhAV$mergeProps, scrollIntoView as $gyhAV$scrollIntoView, scrollIntoViewport as $gyhAV$scrollIntoViewport, chain as $gyhAV$chain, isAndroid as $gyhAV$isAndroid, isWebKit as $gyhAV$isWebKit} from "@react-aria/utils";
|
|
7
|
+
import {Checkbox as $gyhAV$Checkbox} from "@react-spectrum/checkbox";
|
|
8
|
+
import $gyhAV$spectrumiconsuiChevronDownMedium from "@spectrum-icons/ui/ChevronDownMedium";
|
|
9
|
+
import $gyhAV$spectrumiconsuiChevronLeftMedium from "@spectrum-icons/ui/ChevronLeftMedium";
|
|
10
|
+
import $gyhAV$spectrumiconsuiChevronRightMedium from "@spectrum-icons/ui/ChevronRightMedium";
|
|
11
|
+
import {useStyleProps as $gyhAV$useStyleProps, useDOMRef as $gyhAV$useDOMRef, classNames as $gyhAV$classNames, useFocusableRef as $gyhAV$useFocusableRef, useUnwrapDOMRef as $gyhAV$useUnwrapDOMRef} from "@react-spectrum/utils";
|
|
12
|
+
import {useFocusRing as $gyhAV$useFocusRing, FocusScope as $gyhAV$FocusScope, FocusRing as $gyhAV$FocusRing} from "@react-aria/focus";
|
|
13
|
+
import {getInteractionModality as $gyhAV$getInteractionModality, usePress as $gyhAV$usePress, useHover as $gyhAV$useHover, isFocusVisible as $gyhAV$isFocusVisible} from "@react-aria/interactions";
|
|
14
|
+
import {MenuTrigger as $gyhAV$MenuTrigger, Menu as $gyhAV$Menu, Item as $gyhAV$Item} from "@react-spectrum/menu";
|
|
15
|
+
import {layoutInfoToStyle as $gyhAV$layoutInfoToStyle, VirtualizerItem as $gyhAV$VirtualizerItem, setScrollLeft as $gyhAV$setScrollLeft, useVirtualizer as $gyhAV$useVirtualizer, ScrollView as $gyhAV$ScrollView} from "@react-aria/virtualizer";
|
|
16
|
+
import $gyhAV$spectrumiconsuiListGripper from "@spectrum-icons/ui/ListGripper";
|
|
17
|
+
import {ProgressCircle as $gyhAV$ProgressCircle} from "@react-spectrum/progress";
|
|
18
|
+
import {useVirtualizerState as $gyhAV$useVirtualizerState} from "@react-stately/virtualizer";
|
|
19
|
+
import {TableLayout as $gyhAV$TableLayout} from "@react-stately/layout";
|
|
20
|
+
import {TooltipTrigger as $gyhAV$TooltipTrigger, Tooltip as $gyhAV$Tooltip} from "@react-spectrum/tooltip";
|
|
21
|
+
import {useButton as $gyhAV$useButton} from "@react-aria/button";
|
|
22
|
+
import {useLocale as $gyhAV$useLocale, useLocalizedStringFormatter as $gyhAV$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
23
|
+
import {useProviderProps as $gyhAV$useProviderProps, useProvider as $gyhAV$useProvider} from "@react-spectrum/provider";
|
|
24
|
+
import {useTable as $gyhAV$useTable, useTableRowGroup as $gyhAV$useTableRowGroup, useTableColumnHeader as $gyhAV$useTableColumnHeader, useTableSelectAllCheckbox as $gyhAV$useTableSelectAllCheckbox, useTableRow as $gyhAV$useTableRow, useTableHeaderRow as $gyhAV$useTableHeaderRow, useTableCell as $gyhAV$useTableCell, useTableSelectionCheckbox as $gyhAV$useTableSelectionCheckbox, useTableColumnResize as $gyhAV$useTableColumnResize} from "@react-aria/table";
|
|
25
|
+
import {VisuallyHidden as $gyhAV$VisuallyHidden, useVisuallyHidden as $gyhAV$useVisuallyHidden} from "@react-aria/visually-hidden";
|
|
26
|
+
import $gyhAV$reactdom from "react-dom";
|
|
27
|
+
import {Flex as $gyhAV$Flex} from "@react-spectrum/layout";
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
function $parcel$interopDefault(a) {
|
|
31
|
+
return a && a.__esModule ? a.default : a;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function $parcel$export(e, n, v, s) {
|
|
35
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
36
|
+
}
|
|
37
|
+
/*
|
|
38
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
39
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
40
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
41
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
42
|
+
*
|
|
43
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
44
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
45
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
46
|
+
* governing permissions and limitations under the License.
|
|
47
|
+
*/ /// <reference types="css-module-types" />
|
|
48
|
+
/*
|
|
49
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
50
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
51
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
52
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
53
|
+
*
|
|
54
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
55
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
56
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
57
|
+
* governing permissions and limitations under the License.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
62
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
63
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
64
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
65
|
+
*
|
|
66
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
67
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
68
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
69
|
+
* governing permissions and limitations under the License.
|
|
70
|
+
*/
|
|
71
|
+
/*
|
|
72
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
73
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
74
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
75
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
76
|
+
*
|
|
77
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
78
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
79
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
80
|
+
* governing permissions and limitations under the License.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/*
|
|
91
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
92
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
93
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
94
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
95
|
+
*
|
|
96
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
97
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
98
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
99
|
+
* governing permissions and limitations under the License.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
var $325bc3d43b25708b$exports = {};
|
|
103
|
+
|
|
104
|
+
$parcel$export($325bc3d43b25708b$exports, "focus-ring", () => $325bc3d43b25708b$export$f39a09f249340e2a, (v) => $325bc3d43b25708b$export$f39a09f249340e2a = v);
|
|
105
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table", () => $325bc3d43b25708b$export$8cc7e6e5f955c192, (v) => $325bc3d43b25708b$export$8cc7e6e5f955c192 = v);
|
|
106
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-InsertionIndicator", () => $325bc3d43b25708b$export$e0940649899bb056, (v) => $325bc3d43b25708b$export$e0940649899bb056 = v);
|
|
107
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-InsertionIndicator--dropTarget", () => $325bc3d43b25708b$export$e246eff99e77d045, (v) => $325bc3d43b25708b$export$e246eff99e77d045 = v);
|
|
108
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-body", () => $325bc3d43b25708b$export$7c43a9cc5d8e99e7, (v) => $325bc3d43b25708b$export$7c43a9cc5d8e99e7 = v);
|
|
109
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-body--dropTarget", () => $325bc3d43b25708b$export$2698e8974a57cb61, (v) => $325bc3d43b25708b$export$2698e8974a57cb61 = v);
|
|
110
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-cell", () => $325bc3d43b25708b$export$19015e98090cea63, (v) => $325bc3d43b25708b$export$19015e98090cea63 = v);
|
|
111
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-cell--alignCenter", () => $325bc3d43b25708b$export$14101ea2699002fc, (v) => $325bc3d43b25708b$export$14101ea2699002fc = v);
|
|
112
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-cell--alignEnd", () => $325bc3d43b25708b$export$c594335f8535fc47, (v) => $325bc3d43b25708b$export$c594335f8535fc47 = v);
|
|
113
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-cell--alignStart", () => $325bc3d43b25708b$export$25d7f56ba6d0d442, (v) => $325bc3d43b25708b$export$25d7f56ba6d0d442 = v);
|
|
114
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-cellWrapper", () => $325bc3d43b25708b$export$ea1d9f40910c509, (v) => $325bc3d43b25708b$export$ea1d9f40910c509 = v);
|
|
115
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-cellWrapper--dropTarget", () => $325bc3d43b25708b$export$374244a7e6e6e484, (v) => $325bc3d43b25708b$export$374244a7e6e6e484 = v);
|
|
116
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-centeredWrapper", () => $325bc3d43b25708b$export$8bffb31c98aaf8d5, (v) => $325bc3d43b25708b$export$8bffb31c98aaf8d5 = v);
|
|
117
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-dragButton", () => $325bc3d43b25708b$export$d4b8138d7ce0ca37, (v) => $325bc3d43b25708b$export$d4b8138d7ce0ca37 = v);
|
|
118
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-dragButtonCell", () => $325bc3d43b25708b$export$8d6d420175da304f, (v) => $325bc3d43b25708b$export$8d6d420175da304f = v);
|
|
119
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-dragButtonHeadCell", () => $325bc3d43b25708b$export$211bbf0547a730b6, (v) => $325bc3d43b25708b$export$211bbf0547a730b6 = v);
|
|
120
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-headCell", () => $325bc3d43b25708b$export$6fe7d8d8ce0454eb, (v) => $325bc3d43b25708b$export$6fe7d8d8ce0454eb = v);
|
|
121
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-row", () => $325bc3d43b25708b$export$a2af12d9c37814bd, (v) => $325bc3d43b25708b$export$a2af12d9c37814bd = v);
|
|
122
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-row--dropTarget", () => $325bc3d43b25708b$export$5e4ce8d9f081b812, (v) => $325bc3d43b25708b$export$5e4ce8d9f081b812 = v);
|
|
123
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-row-badge", () => $325bc3d43b25708b$export$3559001d7e84a6da, (v) => $325bc3d43b25708b$export$3559001d7e84a6da = v);
|
|
124
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-row-dragPreview", () => $325bc3d43b25708b$export$ba71e6bcd70242c7, (v) => $325bc3d43b25708b$export$ba71e6bcd70242c7 = v);
|
|
125
|
+
$parcel$export($325bc3d43b25708b$exports, "react-spectrum-Table-row-dragPreview--multiple", () => $325bc3d43b25708b$export$3d73889014dd20dd, (v) => $325bc3d43b25708b$export$3d73889014dd20dd = v);
|
|
126
|
+
var $325bc3d43b25708b$export$f39a09f249340e2a;
|
|
127
|
+
var $325bc3d43b25708b$export$8cc7e6e5f955c192;
|
|
128
|
+
var $325bc3d43b25708b$export$e0940649899bb056;
|
|
129
|
+
var $325bc3d43b25708b$export$e246eff99e77d045;
|
|
130
|
+
var $325bc3d43b25708b$export$7c43a9cc5d8e99e7;
|
|
131
|
+
var $325bc3d43b25708b$export$2698e8974a57cb61;
|
|
132
|
+
var $325bc3d43b25708b$export$19015e98090cea63;
|
|
133
|
+
var $325bc3d43b25708b$export$14101ea2699002fc;
|
|
134
|
+
var $325bc3d43b25708b$export$c594335f8535fc47;
|
|
135
|
+
var $325bc3d43b25708b$export$25d7f56ba6d0d442;
|
|
136
|
+
var $325bc3d43b25708b$export$ea1d9f40910c509;
|
|
137
|
+
var $325bc3d43b25708b$export$374244a7e6e6e484;
|
|
138
|
+
var $325bc3d43b25708b$export$8bffb31c98aaf8d5;
|
|
139
|
+
var $325bc3d43b25708b$export$d4b8138d7ce0ca37;
|
|
140
|
+
var $325bc3d43b25708b$export$8d6d420175da304f;
|
|
141
|
+
var $325bc3d43b25708b$export$211bbf0547a730b6;
|
|
142
|
+
var $325bc3d43b25708b$export$6fe7d8d8ce0454eb;
|
|
143
|
+
var $325bc3d43b25708b$export$a2af12d9c37814bd;
|
|
144
|
+
var $325bc3d43b25708b$export$5e4ce8d9f081b812;
|
|
145
|
+
var $325bc3d43b25708b$export$3559001d7e84a6da;
|
|
146
|
+
var $325bc3d43b25708b$export$ba71e6bcd70242c7;
|
|
147
|
+
var $325bc3d43b25708b$export$3d73889014dd20dd;
|
|
148
|
+
$325bc3d43b25708b$export$f39a09f249340e2a = `EfWbna_focus-ring`;
|
|
149
|
+
$325bc3d43b25708b$export$8cc7e6e5f955c192 = `EfWbna_react-spectrum-Table`;
|
|
150
|
+
$325bc3d43b25708b$export$e0940649899bb056 = `EfWbna_react-spectrum-Table-InsertionIndicator`;
|
|
151
|
+
$325bc3d43b25708b$export$e246eff99e77d045 = `EfWbna_react-spectrum-Table-InsertionIndicator--dropTarget`;
|
|
152
|
+
$325bc3d43b25708b$export$7c43a9cc5d8e99e7 = `EfWbna_react-spectrum-Table-body`;
|
|
153
|
+
$325bc3d43b25708b$export$2698e8974a57cb61 = `EfWbna_react-spectrum-Table-body--dropTarget`;
|
|
154
|
+
$325bc3d43b25708b$export$19015e98090cea63 = `EfWbna_react-spectrum-Table-cell`;
|
|
155
|
+
$325bc3d43b25708b$export$14101ea2699002fc = `EfWbna_react-spectrum-Table-cell--alignCenter`;
|
|
156
|
+
$325bc3d43b25708b$export$c594335f8535fc47 = `EfWbna_react-spectrum-Table-cell--alignEnd`;
|
|
157
|
+
$325bc3d43b25708b$export$25d7f56ba6d0d442 = `EfWbna_react-spectrum-Table-cell--alignStart`;
|
|
158
|
+
$325bc3d43b25708b$export$ea1d9f40910c509 = `EfWbna_react-spectrum-Table-cellWrapper`;
|
|
159
|
+
$325bc3d43b25708b$export$374244a7e6e6e484 = `EfWbna_react-spectrum-Table-cellWrapper--dropTarget`;
|
|
160
|
+
$325bc3d43b25708b$export$8bffb31c98aaf8d5 = `EfWbna_react-spectrum-Table-centeredWrapper`;
|
|
161
|
+
$325bc3d43b25708b$export$d4b8138d7ce0ca37 = `EfWbna_react-spectrum-Table-dragButton`;
|
|
162
|
+
$325bc3d43b25708b$export$8d6d420175da304f = `EfWbna_react-spectrum-Table-dragButtonCell`;
|
|
163
|
+
$325bc3d43b25708b$export$211bbf0547a730b6 = `EfWbna_react-spectrum-Table-dragButtonHeadCell`;
|
|
164
|
+
$325bc3d43b25708b$export$6fe7d8d8ce0454eb = `EfWbna_react-spectrum-Table-headCell`;
|
|
165
|
+
$325bc3d43b25708b$export$a2af12d9c37814bd = `EfWbna_react-spectrum-Table-row`;
|
|
166
|
+
$325bc3d43b25708b$export$5e4ce8d9f081b812 = `EfWbna_react-spectrum-Table-row--dropTarget`;
|
|
167
|
+
$325bc3d43b25708b$export$3559001d7e84a6da = `EfWbna_react-spectrum-Table-row-badge`;
|
|
168
|
+
$325bc3d43b25708b$export$ba71e6bcd70242c7 = `EfWbna_react-spectrum-Table-row-dragPreview`;
|
|
169
|
+
$325bc3d43b25708b$export$3d73889014dd20dd = `EfWbna_react-spectrum-Table-row-dragPreview--multiple`;
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
function $7ee9a922ee4e8032$export$2c0bab5914a9d088(props) {
|
|
175
|
+
let { dropState: dropState, dragAndDropHooks: dragAndDropHooks } = (0, $bd013581c0a4b065$export$3cb274deb6c2d854)();
|
|
176
|
+
const { target: target, rowProps: rowProps } = props;
|
|
177
|
+
let ref = (0, $gyhAV$useRef)();
|
|
178
|
+
let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator(props, dropState, ref);
|
|
179
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $gyhAV$useVisuallyHidden)();
|
|
180
|
+
let isDropTarget = dropState.isDropTarget(target);
|
|
181
|
+
if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
|
|
182
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
183
|
+
style: {
|
|
184
|
+
position: "absolute",
|
|
185
|
+
top: rowProps.style.top + (target.dropPosition === "after" ? rowProps.style.height : 0),
|
|
186
|
+
width: rowProps.style.width
|
|
187
|
+
},
|
|
188
|
+
role: "row",
|
|
189
|
+
"aria-hidden": dropIndicatorProps["aria-hidden"]
|
|
190
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
191
|
+
role: "gridcell",
|
|
192
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-InsertionIndicator", {
|
|
193
|
+
"react-spectrum-Table-InsertionIndicator--dropTarget": isDropTarget
|
|
194
|
+
})
|
|
195
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
196
|
+
...visuallyHiddenProps,
|
|
197
|
+
role: "button",
|
|
198
|
+
...dropIndicatorProps,
|
|
199
|
+
ref: ref
|
|
200
|
+
})));
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
var $cc43b2d4f6011c04$exports = {};
|
|
205
|
+
var $daf541512f75fd9b$exports = {};
|
|
206
|
+
$daf541512f75fd9b$exports = {
|
|
207
|
+
"collapse": `\u{637}\u{64A}`,
|
|
208
|
+
"columnResizer": `\u{623}\u{62F}\u{627}\u{629} \u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{62D}\u{62C}\u{645} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F}`,
|
|
209
|
+
"drag": `\u{633}\u{62D}\u{628}`,
|
|
210
|
+
"expand": `\u{645}\u{62F}`,
|
|
211
|
+
"loading": `\u{62C}\u{627}\u{631}\u{64D} \u{627}\u{644}\u{62A}\u{62D}\u{645}\u{64A}\u{644}...`,
|
|
212
|
+
"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}...`,
|
|
213
|
+
"resizeColumn": `\u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{62D}\u{62C}\u{645} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F}`,
|
|
214
|
+
"sortAscending": `\u{641}\u{631}\u{632} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
|
|
215
|
+
"sortDescending": `\u{641}\u{631}\u{632} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
var $50819411ab066aa0$exports = {};
|
|
220
|
+
$50819411ab066aa0$exports = {
|
|
221
|
+
"collapse": `\u{421}\u{432}\u{438}\u{432}\u{430}\u{43D}\u{435}`,
|
|
222
|
+
"columnResizer": `\u{41F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{44F}\u{432}\u{430}\u{43D}\u{435} \u{43D}\u{430} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{438}`,
|
|
223
|
+
"drag": `\u{41F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435}`,
|
|
224
|
+
"expand": `\u{420}\u{430}\u{437}\u{448}\u{438}\u{440}\u{44F}\u{432}\u{430}\u{43D}\u{435}`,
|
|
225
|
+
"loading": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435}...`,
|
|
226
|
+
"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}...`,
|
|
227
|
+
"resizeColumn": `\u{41F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{44F}\u{432}\u{430}\u{43D}\u{435} \u{43D}\u{430} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430}`,
|
|
228
|
+
"sortAscending": `\u{412}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449}\u{43E} \u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{435}`,
|
|
229
|
+
"sortDescending": `\u{41D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449}\u{43E} \u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{435} `
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
var $4f747f794f1bcba7$exports = {};
|
|
234
|
+
$4f747f794f1bcba7$exports = {
|
|
235
|
+
"collapse": `Zmen\u{161}it`,
|
|
236
|
+
"columnResizer": `Zm\u{11B}na velikosti sloupce`,
|
|
237
|
+
"drag": `P\u{159}et\xe1hnout`,
|
|
238
|
+
"expand": `Rozt\xe1hnout`,
|
|
239
|
+
"loading": `Na\u{10D}\xedt\xe1n\xed...`,
|
|
240
|
+
"loadingMore": `Na\u{10D}\xedt\xe1n\xed dal\u{161}\xedch...`,
|
|
241
|
+
"resizeColumn": `Zm\u{11B}nit velikost sloupce`,
|
|
242
|
+
"sortAscending": `Se\u{159}adit vzestupn\u{11B}`,
|
|
243
|
+
"sortDescending": `Se\u{159}adit sestupn\u{11B}`
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
var $9b4578f7fea36fce$exports = {};
|
|
248
|
+
$9b4578f7fea36fce$exports = {
|
|
249
|
+
"collapse": `Skjul`,
|
|
250
|
+
"columnResizer": `Kolonne\xe6ndring`,
|
|
251
|
+
"drag": `Tr\xe6k`,
|
|
252
|
+
"expand": `Udvid`,
|
|
253
|
+
"loading": `Indl\xe6ser ...`,
|
|
254
|
+
"loadingMore": `Indl\xe6ser flere ...`,
|
|
255
|
+
"resizeColumn": `Tilpas st\xf8rrelse p\xe5 kolonne`,
|
|
256
|
+
"sortAscending": `Sorter stigende`,
|
|
257
|
+
"sortDescending": `Sorter faldende`
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
var $d1341bbc3e1d2378$exports = {};
|
|
262
|
+
$d1341bbc3e1d2378$exports = {
|
|
263
|
+
"collapse": `Reduzieren`,
|
|
264
|
+
"columnResizer": `Spaltenanpassung`,
|
|
265
|
+
"drag": `Ziehen`,
|
|
266
|
+
"expand": `Erweitern`,
|
|
267
|
+
"loading": `Laden...`,
|
|
268
|
+
"loadingMore": `Mehr laden ...`,
|
|
269
|
+
"resizeColumn": `Spaltengr\xf6\xdfe \xe4ndern`,
|
|
270
|
+
"sortAscending": `Aufsteigend sortieren`,
|
|
271
|
+
"sortDescending": `Absteigend sortieren`
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
var $62dc02a47a5c68a9$exports = {};
|
|
276
|
+
$62dc02a47a5c68a9$exports = {
|
|
277
|
+
"collapse": `\u{3A3}\u{3CD}\u{3BC}\u{3C0}\u{3C4}\u{3C5}\u{3BE}\u{3B7}`,
|
|
278
|
+
"columnResizer": `\u{391}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7}\u{3C2}`,
|
|
279
|
+
"drag": `\u{39C}\u{3B5}\u{3C4}\u{3B1}\u{3C6}\u{3BF}\u{3C1}\u{3AC}`,
|
|
280
|
+
"expand": `\u{391}\u{3BD}\u{3AC}\u{3C0}\u{3C4}\u{3C5}\u{3BE}\u{3B7}`,
|
|
281
|
+
"loading": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7}...`,
|
|
282
|
+
"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}...`,
|
|
283
|
+
"resizeColumn": `\u{391}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7}\u{3C2}`,
|
|
284
|
+
"sortAscending": `\u{3A4}\u{3B1}\u{3BE}\u{3B9}\u{3BD}\u{3CC}\u{3BC}\u{3B7}\u{3C3}\u{3B7} \u{3BA}\u{3B1}\u{3C4}\u{3AC} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
|
|
285
|
+
"sortDescending": `\u{3A4}\u{3B1}\u{3BE}\u{3B9}\u{3BD}\u{3CC}\u{3BC}\u{3B7}\u{3C3}\u{3B7} \u{3BA}\u{3B1}\u{3C4}\u{3AC} \u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
var $4040b78666bdeb49$exports = {};
|
|
290
|
+
$4040b78666bdeb49$exports = {
|
|
291
|
+
"loading": `Loading\u{2026}`,
|
|
292
|
+
"loadingMore": `Loading more\u{2026}`,
|
|
293
|
+
"sortAscending": `Sort Ascending`,
|
|
294
|
+
"sortDescending": `Sort Descending`,
|
|
295
|
+
"resizeColumn": `Resize column`,
|
|
296
|
+
"columnResizer": `Column resizer`,
|
|
297
|
+
"drag": `Drag`,
|
|
298
|
+
"expand": `Expand`,
|
|
299
|
+
"collapse": `Collapse`
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
var $b77a23040d0637b4$exports = {};
|
|
304
|
+
$b77a23040d0637b4$exports = {
|
|
305
|
+
"collapse": `Contraer`,
|
|
306
|
+
"columnResizer": `Redimensionador de columnas`,
|
|
307
|
+
"drag": `Arrastrar`,
|
|
308
|
+
"expand": `Ampliar`,
|
|
309
|
+
"loading": `Cargando\u{2026}`,
|
|
310
|
+
"loadingMore": `Cargando m\xe1s\u{2026}`,
|
|
311
|
+
"resizeColumn": `Cambiar el tama\xf1o de la columna`,
|
|
312
|
+
"sortAscending": `Orden de subida`,
|
|
313
|
+
"sortDescending": `Orden de bajada`
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
var $54ccb4bcf3ebc0a8$exports = {};
|
|
318
|
+
$54ccb4bcf3ebc0a8$exports = {
|
|
319
|
+
"collapse": `Ahenda`,
|
|
320
|
+
"columnResizer": `Veeru suuruse muutja`,
|
|
321
|
+
"drag": `Lohista`,
|
|
322
|
+
"expand": `Laienda`,
|
|
323
|
+
"loading": `Laadimine...`,
|
|
324
|
+
"loadingMore": `Laadi rohkem...`,
|
|
325
|
+
"resizeColumn": `Muuda veeru suurust`,
|
|
326
|
+
"sortAscending": `Sordi kasvavalt`,
|
|
327
|
+
"sortDescending": `Sordi kahanevalt`
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
var $37e671b8f89037ca$exports = {};
|
|
332
|
+
$37e671b8f89037ca$exports = {
|
|
333
|
+
"collapse": `Pienenn\xe4`,
|
|
334
|
+
"columnResizer": `Sarakekoon muuttaja`,
|
|
335
|
+
"drag": `Ved\xe4`,
|
|
336
|
+
"expand": `Laajenna`,
|
|
337
|
+
"loading": `Ladataan\u{2026}`,
|
|
338
|
+
"loadingMore": `Ladataan lis\xe4\xe4\u{2026}`,
|
|
339
|
+
"resizeColumn": `Muuta sarakkeen kokoa`,
|
|
340
|
+
"sortAscending": `Lajitteluj\xe4rjestys: nouseva`,
|
|
341
|
+
"sortDescending": `Lajitteluj\xe4rjestys: laskeva`
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
var $8d65c5abdb6b7cbc$exports = {};
|
|
346
|
+
$8d65c5abdb6b7cbc$exports = {
|
|
347
|
+
"collapse": `R\xe9duire`,
|
|
348
|
+
"columnResizer": `Redimensionnement de colonne`,
|
|
349
|
+
"drag": `Faire glisser`,
|
|
350
|
+
"expand": `D\xe9velopper`,
|
|
351
|
+
"loading": `Chargement...`,
|
|
352
|
+
"loadingMore": `Chargement suppl\xe9mentaire...`,
|
|
353
|
+
"resizeColumn": `Redimensionner la colonne`,
|
|
354
|
+
"sortAscending": `Trier par ordre croissant`,
|
|
355
|
+
"sortDescending": `Trier par ordre d\xe9croissant`
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
var $a87fac8df5d40e78$exports = {};
|
|
360
|
+
$a87fac8df5d40e78$exports = {
|
|
361
|
+
"collapse": `\u{5DB}\u{5D5}\u{5D5}\u{5E5}`,
|
|
362
|
+
"columnResizer": `\u{5E9}\u{5D9}\u{5E0}\u{5D5}\u{5D9} \u{5D2}\u{5D5}\u{5D3}\u{5DC} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4}`,
|
|
363
|
+
"drag": `\u{5D2}\u{5E8}\u{5D5}\u{5E8}`,
|
|
364
|
+
"expand": `\u{5D4}\u{5E8}\u{5D7}\u{5D1}`,
|
|
365
|
+
"loading": `\u{5D8}\u{5D5}\u{5E2}\u{5DF}...`,
|
|
366
|
+
"loadingMore": `\u{5D8}\u{5D5}\u{5E2}\u{5DF} \u{5E2}\u{5D5}\u{5D3}...`,
|
|
367
|
+
"resizeColumn": `\u{5E9}\u{5E0}\u{5D4} \u{5D0}\u{5EA} \u{5D2}\u{5D5}\u{5D3}\u{5DC} \u{5D4}\u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4}`,
|
|
368
|
+
"sortAscending": `\u{5DE}\u{5D9}\u{5D9}\u{5DF} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
|
|
369
|
+
"sortDescending": `\u{5DE}\u{5D9}\u{5D9}\u{5DF} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5D9}\u{5D5}\u{5E8}\u{5D3}`
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
var $a7ee65f0f8055b83$exports = {};
|
|
374
|
+
$a7ee65f0f8055b83$exports = {
|
|
375
|
+
"collapse": `Sa\u{17E}mi`,
|
|
376
|
+
"columnResizer": `Alat za promjenu veli\u{10D}ine stupca`,
|
|
377
|
+
"drag": `Povucite`,
|
|
378
|
+
"expand": `Pro\u{161}iri`,
|
|
379
|
+
"loading": `U\u{10D}itavam...`,
|
|
380
|
+
"loadingMore": `U\u{10D}itavam jo\u{161}...`,
|
|
381
|
+
"resizeColumn": `Promijeni veli\u{10D}inu stupca`,
|
|
382
|
+
"sortAscending": `Sortiraj uzlazno`,
|
|
383
|
+
"sortDescending": `Sortiraj silazno`
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
var $e6091fd2263a451f$exports = {};
|
|
388
|
+
$e6091fd2263a451f$exports = {
|
|
389
|
+
"collapse": `\xd6sszecsuk\xe1s`,
|
|
390
|
+
"columnResizer": `Oszlop\xe1tm\xe9retez\u{151}`,
|
|
391
|
+
"drag": `H\xfaz\xe1s`,
|
|
392
|
+
"expand": `Kibont\xe1s`,
|
|
393
|
+
"loading": `Bet\xf6lt\xe9s folyamatban\u{2026}`,
|
|
394
|
+
"loadingMore": `Tov\xe1bbiak bet\xf6lt\xe9se folyamatban\u{2026}`,
|
|
395
|
+
"resizeColumn": `Oszlop \xe1tm\xe9retez\xe9se`,
|
|
396
|
+
"sortAscending": `N\xf6vekv\u{151} rendez\xe9s`,
|
|
397
|
+
"sortDescending": `Cs\xf6kken\u{151} rendez\xe9s`
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
var $c8d9d250bf8952b2$exports = {};
|
|
402
|
+
$c8d9d250bf8952b2$exports = {
|
|
403
|
+
"collapse": `Comprimi`,
|
|
404
|
+
"columnResizer": `Ridimensionamento colonne`,
|
|
405
|
+
"drag": `Trascina`,
|
|
406
|
+
"expand": `Espandi`,
|
|
407
|
+
"loading": `Caricamento...`,
|
|
408
|
+
"loadingMore": `Caricamento altri...`,
|
|
409
|
+
"resizeColumn": `Ridimensiona colonna`,
|
|
410
|
+
"sortAscending": `Ordinamento crescente`,
|
|
411
|
+
"sortDescending": `Ordinamento decrescente`
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
var $df07a03bb9f879ed$exports = {};
|
|
416
|
+
$df07a03bb9f879ed$exports = {
|
|
417
|
+
"collapse": `\u{6298}\u{308A}\u{305F}\u{305F}\u{3080}`,
|
|
418
|
+
"columnResizer": `\u{5217}\u{30EA}\u{30B5}\u{30A4}\u{30B6}\u{30FC}`,
|
|
419
|
+
"drag": `\u{30C9}\u{30E9}\u{30C3}\u{30B0}`,
|
|
420
|
+
"expand": `\u{5C55}\u{958B}`,
|
|
421
|
+
"loading": `\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`,
|
|
422
|
+
"loadingMore": `\u{3055}\u{3089}\u{306B}\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`,
|
|
423
|
+
"resizeColumn": `\u{5217}\u{5E45}\u{3092}\u{5909}\u{66F4}`,
|
|
424
|
+
"sortAscending": `\u{6607}\u{9806}\u{306B}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
|
|
425
|
+
"sortDescending": `\u{964D}\u{9806}\u{306B}\u{4E26}\u{3079}\u{66FF}\u{3048}`
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
var $40b3ef3504f4b1d0$exports = {};
|
|
430
|
+
$40b3ef3504f4b1d0$exports = {
|
|
431
|
+
"collapse": `\u{C811}\u{AE30}`,
|
|
432
|
+
"columnResizer": `\u{C5F4} \u{D06C}\u{AE30} \u{C870}\u{C815}\u{AE30}`,
|
|
433
|
+
"drag": `\u{B4DC}\u{B798}\u{ADF8}`,
|
|
434
|
+
"expand": `\u{D3BC}\u{CE58}\u{AE30}`,
|
|
435
|
+
"loading": `\u{B85C}\u{B4DC} \u{C911}`,
|
|
436
|
+
"loadingMore": `\u{CD94}\u{AC00} \u{B85C}\u{B4DC} \u{C911}`,
|
|
437
|
+
"resizeColumn": `\u{C5F4} \u{D06C}\u{AE30} \u{C870}\u{C815}`,
|
|
438
|
+
"sortAscending": `\u{C624}\u{B984}\u{CC28}\u{C21C} \u{C815}\u{B82C}`,
|
|
439
|
+
"sortDescending": `\u{B0B4}\u{B9BC}\u{CC28}\u{C21C} \u{C815}\u{B82C}`
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
var $c6959b6b120377f9$exports = {};
|
|
444
|
+
$c6959b6b120377f9$exports = {
|
|
445
|
+
"collapse": `Sutraukti`,
|
|
446
|
+
"columnResizer": `Stulpelio dyd\u{17E}io keitiklis`,
|
|
447
|
+
"drag": `Vilkti`,
|
|
448
|
+
"expand": `I\u{161}skleisti`,
|
|
449
|
+
"loading": `\u{12E}keliama...`,
|
|
450
|
+
"loadingMore": `\u{12E}keliama daugiau...`,
|
|
451
|
+
"resizeColumn": `Keisti stulpelio dyd\u{12F}`,
|
|
452
|
+
"sortAscending": `Rikiuoti did\u{117}jimo tvarka`,
|
|
453
|
+
"sortDescending": `Rikiuoti ma\u{17E}\u{117}jimo tvarka`
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
var $8fcc23e9320cffd0$exports = {};
|
|
458
|
+
$8fcc23e9320cffd0$exports = {
|
|
459
|
+
"collapse": `Sak\u{13C}aut`,
|
|
460
|
+
"columnResizer": `Kolonnas izm\u{113}ru main\u{12B}t\u{101}js`,
|
|
461
|
+
"drag": `Vilk\u{161}ana`,
|
|
462
|
+
"expand": `Izv\u{113}rst`,
|
|
463
|
+
"loading": `Notiek iel\u{101}de...`,
|
|
464
|
+
"loadingMore": `Tiek iel\u{101}d\u{113}ts v\u{113}l...`,
|
|
465
|
+
"resizeColumn": `Main\u{12B}t kolonnas lielumu`,
|
|
466
|
+
"sortAscending": `K\u{101}rtot augo\u{161}\u{101} sec\u{12B}b\u{101}`,
|
|
467
|
+
"sortDescending": `K\u{101}rtot dilsto\u{161}\u{101} sec\u{12B}b\u{101}`
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
var $ec9bb7644b9b61e5$exports = {};
|
|
472
|
+
$ec9bb7644b9b61e5$exports = {
|
|
473
|
+
"collapse": `Skjul`,
|
|
474
|
+
"columnResizer": `St\xf8rrelsesendring av kolonne`,
|
|
475
|
+
"drag": `Dra`,
|
|
476
|
+
"expand": `Utvid`,
|
|
477
|
+
"loading": `Laster inn ...`,
|
|
478
|
+
"loadingMore": `Laster inn flere ...`,
|
|
479
|
+
"resizeColumn": `Endre st\xf8rrelse p\xe5 kolonne`,
|
|
480
|
+
"sortAscending": `Sorter stigende`,
|
|
481
|
+
"sortDescending": `Sorter synkende`
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
var $049ab8e2dc69b622$exports = {};
|
|
486
|
+
$049ab8e2dc69b622$exports = {
|
|
487
|
+
"collapse": `Samenvouwen`,
|
|
488
|
+
"columnResizer": `Groottewijziging van kolom`,
|
|
489
|
+
"drag": `Slepen`,
|
|
490
|
+
"expand": `Uitvouwen`,
|
|
491
|
+
"loading": `Laden...`,
|
|
492
|
+
"loadingMore": `Meer laden...`,
|
|
493
|
+
"resizeColumn": `Kolomgrootte wijzigen`,
|
|
494
|
+
"sortAscending": `Oplopend sorteren`,
|
|
495
|
+
"sortDescending": `Aflopend sorteren`
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
var $480b88f7afcf23a9$exports = {};
|
|
500
|
+
$480b88f7afcf23a9$exports = {
|
|
501
|
+
"collapse": `Zwi\u{144}`,
|
|
502
|
+
"columnResizer": `Narz\u{119}dzie zmiany rozmiaru kolumny`,
|
|
503
|
+
"drag": `Przeci\u{105}gnij`,
|
|
504
|
+
"expand": `Rozwi\u{144}`,
|
|
505
|
+
"loading": `\u{141}adowanie...`,
|
|
506
|
+
"loadingMore": `Wczytywanie wi\u{119}kszej liczby...`,
|
|
507
|
+
"resizeColumn": `Zmie\u{144} rozmiar kolumny`,
|
|
508
|
+
"sortAscending": `Sortuj rosn\u{105}co`,
|
|
509
|
+
"sortDescending": `Sortuj malej\u{105}co`
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
var $0c053d6ef0255c08$exports = {};
|
|
514
|
+
$0c053d6ef0255c08$exports = {
|
|
515
|
+
"collapse": `Recolher`,
|
|
516
|
+
"columnResizer": `Redimensionamento de colunas`,
|
|
517
|
+
"drag": `Arraste`,
|
|
518
|
+
"expand": `Expandir`,
|
|
519
|
+
"loading": `Carregando...`,
|
|
520
|
+
"loadingMore": `Carregando mais...`,
|
|
521
|
+
"resizeColumn": `Redimensionar coluna`,
|
|
522
|
+
"sortAscending": `Ordenar por ordem crescente`,
|
|
523
|
+
"sortDescending": `Ordenar por ordem decrescente`
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
var $3aff8d1b1fa24532$exports = {};
|
|
528
|
+
$3aff8d1b1fa24532$exports = {
|
|
529
|
+
"collapse": `Colapsar`,
|
|
530
|
+
"columnResizer": `Redimensionador de coluna`,
|
|
531
|
+
"drag": `Arrastar`,
|
|
532
|
+
"expand": `Expandir`,
|
|
533
|
+
"loading": `A carregar...`,
|
|
534
|
+
"loadingMore": `A carregar mais...`,
|
|
535
|
+
"resizeColumn": `Redimensionar coluna`,
|
|
536
|
+
"sortAscending": `Ordenar por ordem ascendente`,
|
|
537
|
+
"sortDescending": `Ordenar por ordem decrescente`
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
var $90e0c3e69dc73a74$exports = {};
|
|
542
|
+
$90e0c3e69dc73a74$exports = {
|
|
543
|
+
"collapse": `Restr\xe2nge\u{21B}i`,
|
|
544
|
+
"columnResizer": `Instrument redimensionare coloane`,
|
|
545
|
+
"drag": `Trage\u{21B}i`,
|
|
546
|
+
"expand": `Extinde\u{21B}i`,
|
|
547
|
+
"loading": `Se \xeencarc\u{103}...`,
|
|
548
|
+
"loadingMore": `Se \xeencarc\u{103} mai multe...`,
|
|
549
|
+
"resizeColumn": `Redimensiona\u{21B}i coloana`,
|
|
550
|
+
"sortAscending": `Sorta\u{21B}i cresc\u{103}tor`,
|
|
551
|
+
"sortDescending": `Sorta\u{21B}i descresc\u{103}tor`
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
var $248be0f7eca0ea1f$exports = {};
|
|
556
|
+
$248be0f7eca0ea1f$exports = {
|
|
557
|
+
"collapse": `\u{421}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`,
|
|
558
|
+
"columnResizer": `\u{421}\u{440}\u{435}\u{434}\u{441}\u{442}\u{432}\u{43E} \u{438}\u{437}\u{43C}\u{435}\u{43D}\u{435}\u{43D}\u{438}\u{44F} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{430} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{446}\u{43E}\u{432}`,
|
|
559
|
+
"drag": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{435}`,
|
|
560
|
+
"expand": `\u{420}\u{430}\u{437}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`,
|
|
561
|
+
"loading": `\u{417}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`,
|
|
562
|
+
"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}...`,
|
|
563
|
+
"resizeColumn": `\u{418}\u{437}\u{43C}\u{435}\u{43D}\u{438}\u{442}\u{44C} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{446}\u{430}`,
|
|
564
|
+
"sortAscending": `\u{421}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{43F}\u{43E} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44E}`,
|
|
565
|
+
"sortDescending": `\u{421}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{43F}\u{43E} \u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44E}`
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
var $3142c640504df85a$exports = {};
|
|
570
|
+
$3142c640504df85a$exports = {
|
|
571
|
+
"collapse": `Zbali\u{165}`,
|
|
572
|
+
"columnResizer": `N\xe1stroj na zmenu ve\u{13E}kosti st\u{13A}pcov`,
|
|
573
|
+
"drag": `Presun\xfa\u{165}`,
|
|
574
|
+
"expand": `Rozbali\u{165}`,
|
|
575
|
+
"loading": `Na\u{10D}\xedtava sa...`,
|
|
576
|
+
"loadingMore": `Na\u{10D}\xedtava sa viac...`,
|
|
577
|
+
"resizeColumn": `Zmeni\u{165} ve\u{13E}kos\u{165} st\u{13A}pca`,
|
|
578
|
+
"sortAscending": `Zoradi\u{165} vzostupne`,
|
|
579
|
+
"sortDescending": `Zoradi\u{165} zostupne`
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
var $7b3b7f28a30b2687$exports = {};
|
|
584
|
+
$7b3b7f28a30b2687$exports = {
|
|
585
|
+
"collapse": `Strni`,
|
|
586
|
+
"columnResizer": `Prilagojevalnik velikosti stolpcev`,
|
|
587
|
+
"drag": `Povleci`,
|
|
588
|
+
"expand": `Raz\u{161}iri`,
|
|
589
|
+
"loading": `Nalaganje...`,
|
|
590
|
+
"loadingMore": `Nalaganje ve\u{10D} vsebine...`,
|
|
591
|
+
"resizeColumn": `Spremeni velikost stolpca`,
|
|
592
|
+
"sortAscending": `Razvrsti nara\u{161}\u{10D}ajo\u{10D}e`,
|
|
593
|
+
"sortDescending": `Razvrsti padajo\u{10D}e`
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
var $06c28f958a58f366$exports = {};
|
|
598
|
+
$06c28f958a58f366$exports = {
|
|
599
|
+
"collapse": `Sa\u{17E}mi`,
|
|
600
|
+
"columnResizer": `Alat za promenu veli\u{10D}ine kolone`,
|
|
601
|
+
"drag": `Prevuci`,
|
|
602
|
+
"expand": `Pro\u{161}iri`,
|
|
603
|
+
"loading": `U\u{10D}itavam...`,
|
|
604
|
+
"loadingMore": `U\u{10D}itavam jo\u{161}...`,
|
|
605
|
+
"resizeColumn": `Promeni veli\u{10D}inu kolone`,
|
|
606
|
+
"sortAscending": `Sortiraj po rastu\u{107}em redosledu`,
|
|
607
|
+
"sortDescending": `Sortiraj po opadaju\u{107}em redosledu`
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
var $b45c13a581472a6c$exports = {};
|
|
612
|
+
$b45c13a581472a6c$exports = {
|
|
613
|
+
"collapse": `D\xf6lj`,
|
|
614
|
+
"columnResizer": `\xc4ndra storlek p\xe5 kolumn`,
|
|
615
|
+
"drag": `Dra`,
|
|
616
|
+
"expand": `Expandera`,
|
|
617
|
+
"loading": `L\xe4ser in...`,
|
|
618
|
+
"loadingMore": `L\xe4ser in mer...`,
|
|
619
|
+
"resizeColumn": `\xc4ndra storlek p\xe5 kolumn`,
|
|
620
|
+
"sortAscending": `Sortera i stigande ordning`,
|
|
621
|
+
"sortDescending": `Sortera i fallande ordning`
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
var $785ea1a5e7a35eb5$exports = {};
|
|
626
|
+
$785ea1a5e7a35eb5$exports = {
|
|
627
|
+
"collapse": `Daralt`,
|
|
628
|
+
"columnResizer": `Yeniden s\xfctun boyutland\u{131}r\u{131}c\u{131}`,
|
|
629
|
+
"drag": `S\xfcr\xfckle`,
|
|
630
|
+
"expand": `Geni\u{15F}let`,
|
|
631
|
+
"loading": `Y\xfckleniyor...`,
|
|
632
|
+
"loadingMore": `Daha fazla y\xfckleniyor...`,
|
|
633
|
+
"resizeColumn": `S\xfctunu yeniden boyutland\u{131}r`,
|
|
634
|
+
"sortAscending": `Artan S\u{131}ralama`,
|
|
635
|
+
"sortDescending": `Azalan S\u{131}ralama`
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
var $2e46541801441421$exports = {};
|
|
640
|
+
$2e46541801441421$exports = {
|
|
641
|
+
"collapse": `\u{417}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`,
|
|
642
|
+
"columnResizer": `\u{417}\u{430}\u{441}\u{456}\u{431} \u{437}\u{43C}\u{456}\u{43D}\u{435}\u{43D}\u{43D}\u{44F} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440}\u{443} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{44F}`,
|
|
643
|
+
"drag": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438}`,
|
|
644
|
+
"expand": `\u{420}\u{43E}\u{437}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`,
|
|
645
|
+
"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}`,
|
|
646
|
+
"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}...`,
|
|
647
|
+
"resizeColumn": `\u{417}\u{43C}\u{456}\u{43D}\u{438}\u{442}\u{438} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{44F}`,
|
|
648
|
+
"sortAscending": `\u{421}\u{43E}\u{440}\u{442}\u{443}\u{432}\u{430}\u{442}\u{438} \u{437}\u{430} \u{437}\u{440}\u{43E}\u{441}\u{442}\u{430}\u{43D}\u{43D}\u{44F}\u{43C}`,
|
|
649
|
+
"sortDescending": `\u{421}\u{43E}\u{440}\u{442}\u{443}\u{432}\u{430}\u{442}\u{438} \u{437}\u{430} \u{441}\u{43F}\u{430}\u{434}\u{430}\u{43D}\u{43D}\u{44F}\u{43C}`
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
var $8de129c51e22709f$exports = {};
|
|
654
|
+
$8de129c51e22709f$exports = {
|
|
655
|
+
"collapse": `\u{6298}\u{53E0}`,
|
|
656
|
+
"columnResizer": `\u{5217}\u{5C3A}\u{5BF8}\u{8C03}\u{6574}\u{5668}`,
|
|
657
|
+
"drag": `\u{62D6}\u{52A8}`,
|
|
658
|
+
"expand": `\u{6269}\u{5C55}`,
|
|
659
|
+
"loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
|
|
660
|
+
"loadingMore": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}\u{66F4}\u{591A}...`,
|
|
661
|
+
"resizeColumn": `\u{8C03}\u{6574}\u{5217}\u{5927}\u{5C0F}`,
|
|
662
|
+
"sortAscending": `\u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
|
|
663
|
+
"sortDescending": `\u{964D}\u{5E8F}\u{6392}\u{5E8F}`
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
var $e57af0887d00746b$exports = {};
|
|
668
|
+
$e57af0887d00746b$exports = {
|
|
669
|
+
"collapse": `\u{6536}\u{5408}`,
|
|
670
|
+
"columnResizer": `\u{6B04}\u{5927}\u{5C0F}\u{8ABF}\u{6574}\u{5668}`,
|
|
671
|
+
"drag": `\u{62D6}\u{66F3}`,
|
|
672
|
+
"expand": `\u{5C55}\u{958B}`,
|
|
673
|
+
"loading": `\u{6B63}\u{5728}\u{8F09}\u{5165}`,
|
|
674
|
+
"loadingMore": `\u{6B63}\u{5728}\u{8F09}\u{5165}\u{66F4}\u{591A}\u{2026}`,
|
|
675
|
+
"resizeColumn": `\u{8ABF}\u{6574}\u{6B04}\u{5927}\u{5C0F}`,
|
|
676
|
+
"sortAscending": `\u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
|
|
677
|
+
"sortDescending": `\u{964D}\u{5E8F}\u{6392}\u{5E8F}`
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
$cc43b2d4f6011c04$exports = {
|
|
682
|
+
"ar-AE": $daf541512f75fd9b$exports,
|
|
683
|
+
"bg-BG": $50819411ab066aa0$exports,
|
|
684
|
+
"cs-CZ": $4f747f794f1bcba7$exports,
|
|
685
|
+
"da-DK": $9b4578f7fea36fce$exports,
|
|
686
|
+
"de-DE": $d1341bbc3e1d2378$exports,
|
|
687
|
+
"el-GR": $62dc02a47a5c68a9$exports,
|
|
688
|
+
"en-US": $4040b78666bdeb49$exports,
|
|
689
|
+
"es-ES": $b77a23040d0637b4$exports,
|
|
690
|
+
"et-EE": $54ccb4bcf3ebc0a8$exports,
|
|
691
|
+
"fi-FI": $37e671b8f89037ca$exports,
|
|
692
|
+
"fr-FR": $8d65c5abdb6b7cbc$exports,
|
|
693
|
+
"he-IL": $a87fac8df5d40e78$exports,
|
|
694
|
+
"hr-HR": $a7ee65f0f8055b83$exports,
|
|
695
|
+
"hu-HU": $e6091fd2263a451f$exports,
|
|
696
|
+
"it-IT": $c8d9d250bf8952b2$exports,
|
|
697
|
+
"ja-JP": $df07a03bb9f879ed$exports,
|
|
698
|
+
"ko-KR": $40b3ef3504f4b1d0$exports,
|
|
699
|
+
"lt-LT": $c6959b6b120377f9$exports,
|
|
700
|
+
"lv-LV": $8fcc23e9320cffd0$exports,
|
|
701
|
+
"nb-NO": $ec9bb7644b9b61e5$exports,
|
|
702
|
+
"nl-NL": $049ab8e2dc69b622$exports,
|
|
703
|
+
"pl-PL": $480b88f7afcf23a9$exports,
|
|
704
|
+
"pt-BR": $0c053d6ef0255c08$exports,
|
|
705
|
+
"pt-PT": $3aff8d1b1fa24532$exports,
|
|
706
|
+
"ro-RO": $90e0c3e69dc73a74$exports,
|
|
707
|
+
"ru-RU": $248be0f7eca0ea1f$exports,
|
|
708
|
+
"sk-SK": $3142c640504df85a$exports,
|
|
709
|
+
"sl-SI": $7b3b7f28a30b2687$exports,
|
|
710
|
+
"sr-SP": $06c28f958a58f366$exports,
|
|
711
|
+
"sv-SE": $b45c13a581472a6c$exports,
|
|
712
|
+
"tr-TR": $785ea1a5e7a35eb5$exports,
|
|
713
|
+
"uk-UA": $2e46541801441421$exports,
|
|
714
|
+
"zh-CN": $8de129c51e22709f$exports,
|
|
715
|
+
"zh-TW": $e57af0887d00746b$exports
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/*
|
|
723
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
724
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
725
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
726
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
727
|
+
*
|
|
728
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
729
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
730
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
731
|
+
* governing permissions and limitations under the License.
|
|
732
|
+
*/
|
|
733
|
+
function $cb7d341e8868d81d$export$d9658cdf8c86807() {
|
|
734
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("svg", {
|
|
735
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
736
|
+
width: "16",
|
|
737
|
+
height: "16",
|
|
738
|
+
viewBox: "0 0 16 16"
|
|
739
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("g", {
|
|
740
|
+
fill: "var(--spectrum-global-color-blue-600)",
|
|
741
|
+
stroke: "var(--spectrum-global-color-blue-600)",
|
|
742
|
+
strokeWidth: "2"
|
|
743
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("circle", {
|
|
744
|
+
cx: "8",
|
|
745
|
+
cy: "8",
|
|
746
|
+
r: "8",
|
|
747
|
+
stroke: "none"
|
|
748
|
+
}), /*#__PURE__*/ (0, $gyhAV$react).createElement("circle", {
|
|
749
|
+
cx: "8",
|
|
750
|
+
cy: "8",
|
|
751
|
+
r: "7",
|
|
752
|
+
fill: "none"
|
|
753
|
+
})), /*#__PURE__*/ (0, $gyhAV$react).createElement("path", {
|
|
754
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
755
|
+
transform: "translate(2116 7385.763)",
|
|
756
|
+
fill: "#fff",
|
|
757
|
+
stroke: "#fff",
|
|
758
|
+
strokeLinejoin: "round",
|
|
759
|
+
strokeWidth: "2"
|
|
760
|
+
}), /*#__PURE__*/ (0, $gyhAV$react).createElement("path", {
|
|
761
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
762
|
+
transform: "translate(-2100 -7369.763) rotate(180)",
|
|
763
|
+
fill: "#fff",
|
|
764
|
+
stroke: "#fff",
|
|
765
|
+
strokeLinejoin: "round",
|
|
766
|
+
strokeWidth: "2"
|
|
767
|
+
}));
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/* eslint-disable jsx-a11y/role-supports-aria-props */
|
|
774
|
+
var $2fc56f9fdd93be52$exports = {};
|
|
775
|
+
$2fc56f9fdd93be52$exports = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"-1 0 31 32\">\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"0.5\" stdDeviation=\"1.2\" flood-opacity=\"0.7\"></feDropShadow>\n </filter>\n <g filter=\"url('#shadow')\" transform=\"translate(.5 0)\">\n <path d=\"M9.5,2c.27614,0,.5,.22388,.5,.5v6.5h3v-1.74951c0-.14893,.12215-.25049,.2513-.25049,.05457,0,.1104,.01819,.15875,.05847l2.58995,2.44153-2.58995,2.44153c-.04837,.04028-.10419,.05847-.15875,.05847-.12914,0-.2513-.10156-.2513-.25049v-1.74951h-3v6.5c0,.27612-.22386,.5-.5,.5h-1c-.27614,0-.5-.22388-.5-.5V2.5c0-.27612,.22386-.5,.5-.5h1Zm0-1h-1c-.82843,0-1.5,.67157-1.5,1.5v14c0,.82843,.67157,1.5,1.5,1.5h1c.82843,0,1.5-.67157,1.5-1.5v-5.5h1v.67757c0,.40416,.1632,.80501,.48197,1.05347,.49639,.3869,1.14001,.33571,1.56838-.02144l.02344-.01953,.0222-.02087,2.97589-2.80537c.20937-.19737,.20937-.53028,0-.72765l-2.97589-2.80537-.0222-.02087-.02345-.01965c-.22456-.18713-.5083-.29028-.79895-.29028-.3208,0-.62624,.12134-.86003,.34167-.24872,.23438-.39136,.56567-.39136,.90881v.74951h-1V2.5c0-.82843-.67157-1.5-1.5-1.5Z\" fill=\"#fff\"></path>\n <path d=\"M10,16.5v-6.5h3v1.74952c0,.21196,.24721,.32775,.41005,.19206l2.58995-2.44158-2.58995-2.44158c-.16283-.13569-.41005-.0199-.41005,.19206v1.74952h-3V2.5c0-.27614-.22386-.5-.5-.5h-1c-.27614,0-.5,.22386-.5,.5v14c0,.27614,.22386,.5,.5,.5h1c.27614,0,.5-.22386,.5-.5Z\"></path>\n </g>\n</svg>\n";
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
var $ff1f3562a1be2216$exports = {};
|
|
779
|
+
$ff1f3562a1be2216$exports = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"-1 0 31 32\">\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"0.5\" stdDeviation=\"1.2\" flood-opacity=\"0.7\"></feDropShadow>\n </filter>\n <g filter=\"url('#shadow')\" transform=\"translate(.5 0)\">\n <path fill=\"#fff\" d=\"M9.5,2a.5.5,0,0,1,.5.5V9h3V7.2505A.25014.25014,0,0,1,13.24978,7h.00152a.246.246,0,0,1,.15875.05847L16,9.5l-2.58995,2.44153A.24611.24611,0,0,1,13.2513,12,.25016.25016,0,0,1,13,11.751V10H10v6.5a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5V10H5v1.7495A.25014.25014,0,0,1,4.75022,12H4.7487A.246.246,0,0,1,4.59,11.94153L2,9.5,4.59,7.05847A.246.246,0,0,1,4.7487,7,.25016.25016,0,0,1,5,7.249V9H8V2.5A.5.5,0,0,1,8.5,2Zm0-1h-1A1.5,1.5,0,0,0,7,2.5V8H6V7.32389a1.33,1.33,0,0,0-.4816-1.05444,1.23962,1.23962,0,0,0-1.56876.021l-.02344.01953-.0222.02088L.92812,9.13618A.5.5,0,0,0,.90726,9.843l.02086.02085L3.904,12.66919l.02221.02088.02345.01965a1.23986,1.23986,0,0,0,1.56836.02116A1.3294,1.3294,0,0,0,6,11.6765V11H7v5.5A1.5,1.5,0,0,0,8.5,18h1A1.5,1.5,0,0,0,11,16.5V11h1v.67757a1.32792,1.32792,0,0,0,.482,1.05347,1.24,1.24,0,0,0,1.56839-.02144l.02343-.01953.02221-.02088,2.97588-2.80537a.5.5,0,0,0,.02086-.70679l-.02086-.02085L14.096,6.33081l-.02221-.02087-.02345-.01965A1.24978,1.24978,0,0,0,12,7.2505V8H11V2.5A1.5,1.5,0,0,0,9.5,1Z\"></path>\n <path d=\"M10,16.5V10h3v1.7495a.25.25,0,0,0,.41.19206L16,9.5,13.41,7.05842A.25.25,0,0,0,13,7.2505V9H10V2.5A.5.5,0,0,0,9.5,2h-1a.5.5,0,0,0-.5.5V9H5V7.2505a.25.25,0,0,0-.41-.19206L2,9.5l2.59,2.44158A.25.25,0,0,0,5,11.7495V10H8v6.5a.5.5,0,0,0,.5.5h1A.5.5,0,0,0,10,16.5Z\"></path>\n </g>\n</svg>\n";
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
var $bd5d41f647a296c3$exports = {};
|
|
788
|
+
|
|
789
|
+
$parcel$export($bd5d41f647a296c3$exports, "contents", () => $bd5d41f647a296c3$export$fd59df041b888442, (v) => $bd5d41f647a296c3$export$fd59df041b888442 = v);
|
|
790
|
+
$parcel$export($bd5d41f647a296c3$exports, "expand-button", () => $bd5d41f647a296c3$export$8537c4b9f826a67e, (v) => $bd5d41f647a296c3$export$8537c4b9f826a67e = v);
|
|
791
|
+
$parcel$export($bd5d41f647a296c3$exports, "focus-ring", () => $bd5d41f647a296c3$export$f39a09f249340e2a, (v) => $bd5d41f647a296c3$export$f39a09f249340e2a = v);
|
|
792
|
+
$parcel$export($bd5d41f647a296c3$exports, "i18nFontFamily", () => $bd5d41f647a296c3$export$8c4ee2c50c22c514, (v) => $bd5d41f647a296c3$export$8c4ee2c50c22c514 = v);
|
|
793
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-active", () => $bd5d41f647a296c3$export$20fd0f7cd4e6112f, (v) => $bd5d41f647a296c3$export$20fd0f7cd4e6112f = v);
|
|
794
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-disabled", () => $bd5d41f647a296c3$export$d35bc1e505d1ebbf, (v) => $bd5d41f647a296c3$export$d35bc1e505d1ebbf = v);
|
|
795
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-drop-target", () => $bd5d41f647a296c3$export$d8467f38d2d00bd0, (v) => $bd5d41f647a296c3$export$d8467f38d2d00bd0 = v);
|
|
796
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-focused", () => $bd5d41f647a296c3$export$e7dc768d35940237, (v) => $bd5d41f647a296c3$export$e7dc768d35940237 = v);
|
|
797
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-hovered", () => $bd5d41f647a296c3$export$b8813cd5d7824ce7, (v) => $bd5d41f647a296c3$export$b8813cd5d7824ce7 = v);
|
|
798
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-next-selected", () => $bd5d41f647a296c3$export$53aa811f86efbfad, (v) => $bd5d41f647a296c3$export$53aa811f86efbfad = v);
|
|
799
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-open", () => $bd5d41f647a296c3$export$a9781837241c946d, (v) => $bd5d41f647a296c3$export$a9781837241c946d = v);
|
|
800
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-resizable", () => $bd5d41f647a296c3$export$d20629d2e587d4f, (v) => $bd5d41f647a296c3$export$d20629d2e587d4f = v);
|
|
801
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-selected", () => $bd5d41f647a296c3$export$1e0fb04f31d3c22a, (v) => $bd5d41f647a296c3$export$1e0fb04f31d3c22a = v);
|
|
802
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-sortable", () => $bd5d41f647a296c3$export$c5f84948d72c03fb, (v) => $bd5d41f647a296c3$export$c5f84948d72c03fb = v);
|
|
803
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-sorted-asc", () => $bd5d41f647a296c3$export$24499792d6b87cb, (v) => $bd5d41f647a296c3$export$24499792d6b87cb = v);
|
|
804
|
+
$parcel$export($bd5d41f647a296c3$exports, "is-sorted-desc", () => $bd5d41f647a296c3$export$cda6d7b632f895cc, (v) => $bd5d41f647a296c3$export$cda6d7b632f895cc = v);
|
|
805
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-FocusRing-ring", () => $bd5d41f647a296c3$export$4109102f950813a6, (v) => $bd5d41f647a296c3$export$4109102f950813a6 = v);
|
|
806
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-FocusRing", () => $bd5d41f647a296c3$export$24c7f46a6e3605dd, (v) => $bd5d41f647a296c3$export$24c7f46a6e3605dd = v);
|
|
807
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-FocusRing--quiet", () => $bd5d41f647a296c3$export$2927016961429360, (v) => $bd5d41f647a296c3$export$2927016961429360 = v);
|
|
808
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table", () => $bd5d41f647a296c3$export$455c59d2b5bafef0, (v) => $bd5d41f647a296c3$export$455c59d2b5bafef0 = v);
|
|
809
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--compact", () => $bd5d41f647a296c3$export$bcb43fe016211cab, (v) => $bd5d41f647a296c3$export$bcb43fe016211cab = v);
|
|
810
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--isHorizontalScrollbarVisible", () => $bd5d41f647a296c3$export$eb2b06f9a223c9ae, (v) => $bd5d41f647a296c3$export$eb2b06f9a223c9ae = v);
|
|
811
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--isVerticalScrollbarVisible", () => $bd5d41f647a296c3$export$f3cbf113923c0570, (v) => $bd5d41f647a296c3$export$f3cbf113923c0570 = v);
|
|
812
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--loadingMore", () => $bd5d41f647a296c3$export$51b307035a9062f1, (v) => $bd5d41f647a296c3$export$51b307035a9062f1 = v);
|
|
813
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--quiet", () => $bd5d41f647a296c3$export$80f179961079d85e, (v) => $bd5d41f647a296c3$export$80f179961079d85e = v);
|
|
814
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--regular", () => $bd5d41f647a296c3$export$3be3e4ba813e9589, (v) => $bd5d41f647a296c3$export$3be3e4ba813e9589 = v);
|
|
815
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--spacious", () => $bd5d41f647a296c3$export$eef21b0715bc0914, (v) => $bd5d41f647a296c3$export$eef21b0715bc0914 = v);
|
|
816
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table--wrap", () => $bd5d41f647a296c3$export$9d4c255d6285f0ec, (v) => $bd5d41f647a296c3$export$9d4c255d6285f0ec = v);
|
|
817
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-body", () => $bd5d41f647a296c3$export$c841a58af70827c7, (v) => $bd5d41f647a296c3$export$c841a58af70827c7 = v);
|
|
818
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-body--resizerAtTableEdge", () => $bd5d41f647a296c3$export$ec8d96850ac2415e, (v) => $bd5d41f647a296c3$export$ec8d96850ac2415e = v);
|
|
819
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-bodyResizeIndicator", () => $bd5d41f647a296c3$export$9a870fddd16be630, (v) => $bd5d41f647a296c3$export$9a870fddd16be630 = v);
|
|
820
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cell", () => $bd5d41f647a296c3$export$c073926c283bb618, (v) => $bd5d41f647a296c3$export$c073926c283bb618 = v);
|
|
821
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cell--alignCenter", () => $bd5d41f647a296c3$export$7e9bb4c3d8ec70e2, (v) => $bd5d41f647a296c3$export$7e9bb4c3d8ec70e2 = v);
|
|
822
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cell--alignEnd", () => $bd5d41f647a296c3$export$94db5e2e979379b6, (v) => $bd5d41f647a296c3$export$94db5e2e979379b6 = v);
|
|
823
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cell--divider", () => $bd5d41f647a296c3$export$9531650467e5785b, (v) => $bd5d41f647a296c3$export$9531650467e5785b = v);
|
|
824
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cell--hasExpandCollapseButton", () => $bd5d41f647a296c3$export$466223eab8fe7a73, (v) => $bd5d41f647a296c3$export$466223eab8fe7a73 = v);
|
|
825
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cell--hideHeader", () => $bd5d41f647a296c3$export$8ff2ab45f5f0045d, (v) => $bd5d41f647a296c3$export$8ff2ab45f5f0045d = v);
|
|
826
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cellContents", () => $bd5d41f647a296c3$export$683061182a3353d3, (v) => $bd5d41f647a296c3$export$683061182a3353d3 = v);
|
|
827
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-cellWrapper", () => $bd5d41f647a296c3$export$fe4389976827e927, (v) => $bd5d41f647a296c3$export$fe4389976827e927 = v);
|
|
828
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-checkbox", () => $bd5d41f647a296c3$export$9c494845d6df55df, (v) => $bd5d41f647a296c3$export$9c494845d6df55df = v);
|
|
829
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-checkboxCell", () => $bd5d41f647a296c3$export$ae17a7501a9fd0b3, (v) => $bd5d41f647a296c3$export$ae17a7501a9fd0b3 = v);
|
|
830
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-colResizeIndicator", () => $bd5d41f647a296c3$export$3a270f8fab5daa8b, (v) => $bd5d41f647a296c3$export$3a270f8fab5daa8b = v);
|
|
831
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-colResizeIndicator--resizing", () => $bd5d41f647a296c3$export$d3861fcb1e5f6a2b, (v) => $bd5d41f647a296c3$export$d3861fcb1e5f6a2b = v);
|
|
832
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-colResizeIndicator--visible", () => $bd5d41f647a296c3$export$b0bdf5d269bf857, (v) => $bd5d41f647a296c3$export$b0bdf5d269bf857 = v);
|
|
833
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-colResizeNubbin", () => $bd5d41f647a296c3$export$12c7b2fb4df461f8, (v) => $bd5d41f647a296c3$export$12c7b2fb4df461f8 = v);
|
|
834
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-colResizeNubbin--visible", () => $bd5d41f647a296c3$export$56a3c5ebd77d19bf, (v) => $bd5d41f647a296c3$export$56a3c5ebd77d19bf = v);
|
|
835
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-columnResizer", () => $bd5d41f647a296c3$export$a1a03b9bd1868758, (v) => $bd5d41f647a296c3$export$a1a03b9bd1868758 = v);
|
|
836
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-columnResizerPlaceholder", () => $bd5d41f647a296c3$export$dbbe6828fb150c0d, (v) => $bd5d41f647a296c3$export$dbbe6828fb150c0d = v);
|
|
837
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-expandButton", () => $bd5d41f647a296c3$export$ce10510e27df0512, (v) => $bd5d41f647a296c3$export$ce10510e27df0512 = v);
|
|
838
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headCell", () => $bd5d41f647a296c3$export$f64307d6c29e2f55, (v) => $bd5d41f647a296c3$export$f64307d6c29e2f55 = v);
|
|
839
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headCellButton", () => $bd5d41f647a296c3$export$231a910aceaf76df, (v) => $bd5d41f647a296c3$export$231a910aceaf76df = v);
|
|
840
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headCellButton--alignCenter", () => $bd5d41f647a296c3$export$75a2aad672a61387, (v) => $bd5d41f647a296c3$export$75a2aad672a61387 = v);
|
|
841
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headCellButton--alignEnd", () => $bd5d41f647a296c3$export$7d0b6721a7bc5a4e, (v) => $bd5d41f647a296c3$export$7d0b6721a7bc5a4e = v);
|
|
842
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headCellButton--alignStart", () => $bd5d41f647a296c3$export$b1f0f17b71ca32b7, (v) => $bd5d41f647a296c3$export$b1f0f17b71ca32b7 = v);
|
|
843
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headCellContents", () => $bd5d41f647a296c3$export$ce66f3b8316b228e, (v) => $bd5d41f647a296c3$export$ce66f3b8316b228e = v);
|
|
844
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headWrapper", () => $bd5d41f647a296c3$export$a08929593e9a2fb2, (v) => $bd5d41f647a296c3$export$a08929593e9a2fb2 = v);
|
|
845
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-headerCellText", () => $bd5d41f647a296c3$export$3d7b5f594896430, (v) => $bd5d41f647a296c3$export$3d7b5f594896430 = v);
|
|
846
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-menuChevron", () => $bd5d41f647a296c3$export$da1b2523b4f18b96, (v) => $bd5d41f647a296c3$export$da1b2523b4f18b96 = v);
|
|
847
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-row", () => $bd5d41f647a296c3$export$fefa57dcd4648052, (v) => $bd5d41f647a296c3$export$fefa57dcd4648052 = v);
|
|
848
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-row--firstRow", () => $bd5d41f647a296c3$export$71150fb6934bcef6, (v) => $bd5d41f647a296c3$export$71150fb6934bcef6 = v);
|
|
849
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-row--isFlushBottom", () => $bd5d41f647a296c3$export$c544a9cedcdf7e74, (v) => $bd5d41f647a296c3$export$c544a9cedcdf7e74 = v);
|
|
850
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-row--lastRow", () => $bd5d41f647a296c3$export$6bc25dc2c214dc40, (v) => $bd5d41f647a296c3$export$6bc25dc2c214dc40 = v);
|
|
851
|
+
$parcel$export($bd5d41f647a296c3$exports, "spectrum-Table-sortedIcon", () => $bd5d41f647a296c3$export$7d48ded8ceef1e62, (v) => $bd5d41f647a296c3$export$7d48ded8ceef1e62 = v);
|
|
852
|
+
var $bd5d41f647a296c3$export$fd59df041b888442;
|
|
853
|
+
var $bd5d41f647a296c3$export$8537c4b9f826a67e;
|
|
854
|
+
var $bd5d41f647a296c3$export$f39a09f249340e2a;
|
|
855
|
+
var $bd5d41f647a296c3$export$8c4ee2c50c22c514;
|
|
856
|
+
var $bd5d41f647a296c3$export$20fd0f7cd4e6112f;
|
|
857
|
+
var $bd5d41f647a296c3$export$d35bc1e505d1ebbf;
|
|
858
|
+
var $bd5d41f647a296c3$export$d8467f38d2d00bd0;
|
|
859
|
+
var $bd5d41f647a296c3$export$e7dc768d35940237;
|
|
860
|
+
var $bd5d41f647a296c3$export$b8813cd5d7824ce7;
|
|
861
|
+
var $bd5d41f647a296c3$export$53aa811f86efbfad;
|
|
862
|
+
var $bd5d41f647a296c3$export$a9781837241c946d;
|
|
863
|
+
var $bd5d41f647a296c3$export$d20629d2e587d4f;
|
|
864
|
+
var $bd5d41f647a296c3$export$1e0fb04f31d3c22a;
|
|
865
|
+
var $bd5d41f647a296c3$export$c5f84948d72c03fb;
|
|
866
|
+
var $bd5d41f647a296c3$export$24499792d6b87cb;
|
|
867
|
+
var $bd5d41f647a296c3$export$cda6d7b632f895cc;
|
|
868
|
+
var $bd5d41f647a296c3$export$4109102f950813a6;
|
|
869
|
+
var $bd5d41f647a296c3$export$24c7f46a6e3605dd;
|
|
870
|
+
var $bd5d41f647a296c3$export$2927016961429360;
|
|
871
|
+
var $bd5d41f647a296c3$export$455c59d2b5bafef0;
|
|
872
|
+
var $bd5d41f647a296c3$export$bcb43fe016211cab;
|
|
873
|
+
var $bd5d41f647a296c3$export$eb2b06f9a223c9ae;
|
|
874
|
+
var $bd5d41f647a296c3$export$f3cbf113923c0570;
|
|
875
|
+
var $bd5d41f647a296c3$export$51b307035a9062f1;
|
|
876
|
+
var $bd5d41f647a296c3$export$80f179961079d85e;
|
|
877
|
+
var $bd5d41f647a296c3$export$3be3e4ba813e9589;
|
|
878
|
+
var $bd5d41f647a296c3$export$eef21b0715bc0914;
|
|
879
|
+
var $bd5d41f647a296c3$export$9d4c255d6285f0ec;
|
|
880
|
+
var $bd5d41f647a296c3$export$c841a58af70827c7;
|
|
881
|
+
var $bd5d41f647a296c3$export$ec8d96850ac2415e;
|
|
882
|
+
var $bd5d41f647a296c3$export$9a870fddd16be630;
|
|
883
|
+
var $bd5d41f647a296c3$export$c073926c283bb618;
|
|
884
|
+
var $bd5d41f647a296c3$export$7e9bb4c3d8ec70e2;
|
|
885
|
+
var $bd5d41f647a296c3$export$94db5e2e979379b6;
|
|
886
|
+
var $bd5d41f647a296c3$export$9531650467e5785b;
|
|
887
|
+
var $bd5d41f647a296c3$export$466223eab8fe7a73;
|
|
888
|
+
var $bd5d41f647a296c3$export$8ff2ab45f5f0045d;
|
|
889
|
+
var $bd5d41f647a296c3$export$683061182a3353d3;
|
|
890
|
+
var $bd5d41f647a296c3$export$fe4389976827e927;
|
|
891
|
+
var $bd5d41f647a296c3$export$9c494845d6df55df;
|
|
892
|
+
var $bd5d41f647a296c3$export$ae17a7501a9fd0b3;
|
|
893
|
+
var $bd5d41f647a296c3$export$3a270f8fab5daa8b;
|
|
894
|
+
var $bd5d41f647a296c3$export$d3861fcb1e5f6a2b;
|
|
895
|
+
var $bd5d41f647a296c3$export$b0bdf5d269bf857;
|
|
896
|
+
var $bd5d41f647a296c3$export$12c7b2fb4df461f8;
|
|
897
|
+
var $bd5d41f647a296c3$export$56a3c5ebd77d19bf;
|
|
898
|
+
var $bd5d41f647a296c3$export$a1a03b9bd1868758;
|
|
899
|
+
var $bd5d41f647a296c3$export$dbbe6828fb150c0d;
|
|
900
|
+
var $bd5d41f647a296c3$export$ce10510e27df0512;
|
|
901
|
+
var $bd5d41f647a296c3$export$f64307d6c29e2f55;
|
|
902
|
+
var $bd5d41f647a296c3$export$231a910aceaf76df;
|
|
903
|
+
var $bd5d41f647a296c3$export$75a2aad672a61387;
|
|
904
|
+
var $bd5d41f647a296c3$export$7d0b6721a7bc5a4e;
|
|
905
|
+
var $bd5d41f647a296c3$export$b1f0f17b71ca32b7;
|
|
906
|
+
var $bd5d41f647a296c3$export$ce66f3b8316b228e;
|
|
907
|
+
var $bd5d41f647a296c3$export$a08929593e9a2fb2;
|
|
908
|
+
var $bd5d41f647a296c3$export$3d7b5f594896430;
|
|
909
|
+
var $bd5d41f647a296c3$export$da1b2523b4f18b96;
|
|
910
|
+
var $bd5d41f647a296c3$export$fefa57dcd4648052;
|
|
911
|
+
var $bd5d41f647a296c3$export$71150fb6934bcef6;
|
|
912
|
+
var $bd5d41f647a296c3$export$c544a9cedcdf7e74;
|
|
913
|
+
var $bd5d41f647a296c3$export$6bc25dc2c214dc40;
|
|
914
|
+
var $bd5d41f647a296c3$export$7d48ded8ceef1e62;
|
|
915
|
+
$bd5d41f647a296c3$export$fd59df041b888442 = `_5uzlQq_contents`;
|
|
916
|
+
$bd5d41f647a296c3$export$8537c4b9f826a67e = `_5uzlQq_expand-button`;
|
|
917
|
+
$bd5d41f647a296c3$export$f39a09f249340e2a = `_5uzlQq_focus-ring`;
|
|
918
|
+
$bd5d41f647a296c3$export$8c4ee2c50c22c514 = `_5uzlQq_i18nFontFamily`;
|
|
919
|
+
$bd5d41f647a296c3$export$20fd0f7cd4e6112f = `_5uzlQq_is-active`;
|
|
920
|
+
$bd5d41f647a296c3$export$d35bc1e505d1ebbf = `_5uzlQq_is-disabled`;
|
|
921
|
+
$bd5d41f647a296c3$export$d8467f38d2d00bd0 = `_5uzlQq_is-drop-target`;
|
|
922
|
+
$bd5d41f647a296c3$export$e7dc768d35940237 = `_5uzlQq_is-focused`;
|
|
923
|
+
$bd5d41f647a296c3$export$b8813cd5d7824ce7 = `_5uzlQq_is-hovered`;
|
|
924
|
+
$bd5d41f647a296c3$export$53aa811f86efbfad = `_5uzlQq_is-next-selected`;
|
|
925
|
+
$bd5d41f647a296c3$export$a9781837241c946d = `_5uzlQq_is-open`;
|
|
926
|
+
$bd5d41f647a296c3$export$d20629d2e587d4f = `_5uzlQq_is-resizable`;
|
|
927
|
+
$bd5d41f647a296c3$export$1e0fb04f31d3c22a = `_5uzlQq_is-selected`;
|
|
928
|
+
$bd5d41f647a296c3$export$c5f84948d72c03fb = `_5uzlQq_is-sortable`;
|
|
929
|
+
$bd5d41f647a296c3$export$24499792d6b87cb = `_5uzlQq_is-sorted-asc`;
|
|
930
|
+
$bd5d41f647a296c3$export$cda6d7b632f895cc = `_5uzlQq_is-sorted-desc`;
|
|
931
|
+
$bd5d41f647a296c3$export$4109102f950813a6 = `_5uzlQq_spectrum-FocusRing-ring`;
|
|
932
|
+
$bd5d41f647a296c3$export$24c7f46a6e3605dd = `_5uzlQq_spectrum-FocusRing ${$bd5d41f647a296c3$export$4109102f950813a6}`;
|
|
933
|
+
$bd5d41f647a296c3$export$2927016961429360 = `_5uzlQq_spectrum-FocusRing--quiet`;
|
|
934
|
+
$bd5d41f647a296c3$export$455c59d2b5bafef0 = `_5uzlQq_spectrum-Table`;
|
|
935
|
+
$bd5d41f647a296c3$export$bcb43fe016211cab = `_5uzlQq_spectrum-Table--compact`;
|
|
936
|
+
$bd5d41f647a296c3$export$eb2b06f9a223c9ae = `_5uzlQq_spectrum-Table--isHorizontalScrollbarVisible`;
|
|
937
|
+
$bd5d41f647a296c3$export$f3cbf113923c0570 = `_5uzlQq_spectrum-Table--isVerticalScrollbarVisible`;
|
|
938
|
+
$bd5d41f647a296c3$export$51b307035a9062f1 = `_5uzlQq_spectrum-Table--loadingMore`;
|
|
939
|
+
$bd5d41f647a296c3$export$80f179961079d85e = `_5uzlQq_spectrum-Table--quiet`;
|
|
940
|
+
$bd5d41f647a296c3$export$3be3e4ba813e9589 = `_5uzlQq_spectrum-Table--regular`;
|
|
941
|
+
$bd5d41f647a296c3$export$eef21b0715bc0914 = `_5uzlQq_spectrum-Table--spacious`;
|
|
942
|
+
$bd5d41f647a296c3$export$9d4c255d6285f0ec = `_5uzlQq_spectrum-Table--wrap`;
|
|
943
|
+
$bd5d41f647a296c3$export$c841a58af70827c7 = `_5uzlQq_spectrum-Table-body`;
|
|
944
|
+
$bd5d41f647a296c3$export$ec8d96850ac2415e = `_5uzlQq_spectrum-Table-body--resizerAtTableEdge`;
|
|
945
|
+
$bd5d41f647a296c3$export$9a870fddd16be630 = `_5uzlQq_spectrum-Table-bodyResizeIndicator`;
|
|
946
|
+
$bd5d41f647a296c3$export$c073926c283bb618 = `_5uzlQq_spectrum-Table-cell`;
|
|
947
|
+
$bd5d41f647a296c3$export$7e9bb4c3d8ec70e2 = `_5uzlQq_spectrum-Table-cell--alignCenter`;
|
|
948
|
+
$bd5d41f647a296c3$export$94db5e2e979379b6 = `_5uzlQq_spectrum-Table-cell--alignEnd`;
|
|
949
|
+
$bd5d41f647a296c3$export$9531650467e5785b = `_5uzlQq_spectrum-Table-cell--divider`;
|
|
950
|
+
$bd5d41f647a296c3$export$466223eab8fe7a73 = `_5uzlQq_spectrum-Table-cell--hasExpandCollapseButton`;
|
|
951
|
+
$bd5d41f647a296c3$export$8ff2ab45f5f0045d = `_5uzlQq_spectrum-Table-cell--hideHeader`;
|
|
952
|
+
$bd5d41f647a296c3$export$683061182a3353d3 = `_5uzlQq_spectrum-Table-cellContents`;
|
|
953
|
+
$bd5d41f647a296c3$export$fe4389976827e927 = `_5uzlQq_spectrum-Table-cellWrapper`;
|
|
954
|
+
$bd5d41f647a296c3$export$9c494845d6df55df = `_5uzlQq_spectrum-Table-checkbox`;
|
|
955
|
+
$bd5d41f647a296c3$export$ae17a7501a9fd0b3 = `_5uzlQq_spectrum-Table-checkboxCell`;
|
|
956
|
+
$bd5d41f647a296c3$export$3a270f8fab5daa8b = `_5uzlQq_spectrum-Table-colResizeIndicator`;
|
|
957
|
+
$bd5d41f647a296c3$export$d3861fcb1e5f6a2b = `_5uzlQq_spectrum-Table-colResizeIndicator--resizing`;
|
|
958
|
+
$bd5d41f647a296c3$export$b0bdf5d269bf857 = `_5uzlQq_spectrum-Table-colResizeIndicator--visible`;
|
|
959
|
+
$bd5d41f647a296c3$export$12c7b2fb4df461f8 = `_5uzlQq_spectrum-Table-colResizeNubbin`;
|
|
960
|
+
$bd5d41f647a296c3$export$56a3c5ebd77d19bf = `_5uzlQq_spectrum-Table-colResizeNubbin--visible`;
|
|
961
|
+
$bd5d41f647a296c3$export$a1a03b9bd1868758 = `_5uzlQq_spectrum-Table-columnResizer`;
|
|
962
|
+
$bd5d41f647a296c3$export$dbbe6828fb150c0d = `_5uzlQq_spectrum-Table-columnResizerPlaceholder`;
|
|
963
|
+
$bd5d41f647a296c3$export$ce10510e27df0512 = `_5uzlQq_spectrum-Table-expandButton`;
|
|
964
|
+
$bd5d41f647a296c3$export$f64307d6c29e2f55 = `_5uzlQq_spectrum-Table-headCell`;
|
|
965
|
+
$bd5d41f647a296c3$export$231a910aceaf76df = `_5uzlQq_spectrum-Table-headCellButton`;
|
|
966
|
+
$bd5d41f647a296c3$export$75a2aad672a61387 = `_5uzlQq_spectrum-Table-headCellButton--alignCenter`;
|
|
967
|
+
$bd5d41f647a296c3$export$7d0b6721a7bc5a4e = `_5uzlQq_spectrum-Table-headCellButton--alignEnd`;
|
|
968
|
+
$bd5d41f647a296c3$export$b1f0f17b71ca32b7 = `_5uzlQq_spectrum-Table-headCellButton--alignStart`;
|
|
969
|
+
$bd5d41f647a296c3$export$ce66f3b8316b228e = `_5uzlQq_spectrum-Table-headCellContents`;
|
|
970
|
+
$bd5d41f647a296c3$export$a08929593e9a2fb2 = `_5uzlQq_spectrum-Table-headWrapper`;
|
|
971
|
+
$bd5d41f647a296c3$export$3d7b5f594896430 = `_5uzlQq_spectrum-Table-headerCellText`;
|
|
972
|
+
$bd5d41f647a296c3$export$da1b2523b4f18b96 = `_5uzlQq_spectrum-Table-menuChevron`;
|
|
973
|
+
$bd5d41f647a296c3$export$fefa57dcd4648052 = `_5uzlQq_spectrum-Table-row`;
|
|
974
|
+
$bd5d41f647a296c3$export$71150fb6934bcef6 = `_5uzlQq_spectrum-Table-row--firstRow`;
|
|
975
|
+
$bd5d41f647a296c3$export$c544a9cedcdf7e74 = `_5uzlQq_spectrum-Table-row--isFlushBottom`;
|
|
976
|
+
$bd5d41f647a296c3$export$6bc25dc2c214dc40 = `_5uzlQq_spectrum-Table-row--lastRow`;
|
|
977
|
+
$bd5d41f647a296c3$export$7d48ded8ceef1e62 = `_5uzlQq_spectrum-Table-sortedIcon`;
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
var $58407c2d4eb33511$exports = {};
|
|
984
|
+
$58407c2d4eb33511$exports = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"-1 0 31 32\">\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"0.5\" stdDeviation=\"1.2\" flood-opacity=\"0.7\"></feDropShadow>\n </filter>\n <g filter=\"url('#shadow')\" transform=\"translate(.5 0)\">\n <path d=\"M9.5,2c.27614,0,.5,.22388,.5,.5v14c0,.27612-.22386,.5-.5,.5h-1c-.27614,0-.5-.22388-.5-.5v-6.5h-3v1.74951c0,.14893-.12215,.25049-.2513,.25049-.05457,0-.1104-.01819-.15875-.05847l-2.58995-2.44153,2.58995-2.44153c.04837-.04028,.10419-.05847,.15875-.05847,.12914,0,.2513,.10156,.2513,.25049v1.74951h3V2.5c0-.27612,.22386-.5,.5-.5h1Zm0-1h-1c-.82843,0-1.5,.67157-1.5,1.5v5.5h-1v-.67611c0-.40436-.1629-.80555-.48159-1.05444-.4961-.38744-1.14015-.33635-1.56876,.02095l-.02344,.01953-.0222,.02087L.92811,9.13618c-.20937,.19737-.20937,.53028,0,.72765l2.97589,2.80537,.0222,.02087,.02345,.01965c.42839,.35694,1.07208,.40833,1.56837,.02116,.31886-.24875,.48198-.64994,.48198-1.05435v-.67652s.99999,0,.99999,0v5.5c0,.82843,.67157,1.5,1.5,1.5h1c.82843,0,1.5-.67157,1.5-1.5V2.5c0-.82843-.67157-1.5-1.5-1.5Z\" fill=\"#fff\"></path>\n <path d=\"M10,16.5V2.5c0-.27614-.22386-.5-.5-.5h-1c-.27614,0-.5,.22386-.5,.5v6.5h-3v-1.74952c0-.21196-.24721-.32775-.41005-.19206l-2.58995,2.44158,2.58995,2.44158c.16283,.13569,.41005,.0199,.41005-.19206v-1.74952h3v6.5c0,.27614,.22386,.5,.5,.5h1c.27614,0,.5-.22386,.5-.5Z\"></path>\n </g>\n</svg>\n";
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
function $fc695d2eafc2b351$var$getCursor(svg, fallback) {
|
|
988
|
+
// WebKit renders SVG cursors blurry on 2x screens: https://bugs.webkit.org/show_bug.cgi?id=160657
|
|
989
|
+
// To work around this, we generate two SVGs at different sizes and use image-set to pick between them.
|
|
990
|
+
// Only do this in WebKit to avoid Firefox rendering the cursor at twice the size.
|
|
991
|
+
if ((0, $gyhAV$isWebKit)()) return `image-set(url("data:image/svg+xml,${encodeURIComponent(svg)}") 1x, url("data:image/svg+xml,${encodeURIComponent(svg.replace('width="32" height="32"', 'width="64" height="64"'))}") 2x) 8 8, ${fallback}`;
|
|
992
|
+
else return `url("data:image/svg+xml,${encodeURIComponent(svg)}") 8 8, ${fallback}`;
|
|
993
|
+
}
|
|
994
|
+
const $fc695d2eafc2b351$var$CURSORS = {
|
|
995
|
+
ew: $fc695d2eafc2b351$var$getCursor((0, (/*@__PURE__*/$parcel$interopDefault($ff1f3562a1be2216$exports))), "ew-resize"),
|
|
996
|
+
w: $fc695d2eafc2b351$var$getCursor((0, (/*@__PURE__*/$parcel$interopDefault($58407c2d4eb33511$exports))), "w-resize"),
|
|
997
|
+
e: $fc695d2eafc2b351$var$getCursor((0, (/*@__PURE__*/$parcel$interopDefault($2fc56f9fdd93be52$exports))), "e-resize")
|
|
998
|
+
};
|
|
999
|
+
function $fc695d2eafc2b351$var$Resizer(props, ref) {
|
|
1000
|
+
let { column: column, showResizer: showResizer } = props;
|
|
1001
|
+
let { isEmpty: isEmpty, layout: layout, onFocusedResizer: onFocusedResizer } = (0, $bd013581c0a4b065$export$3cb274deb6c2d854)();
|
|
1002
|
+
// Virtualizer re-renders, but these components are all cached
|
|
1003
|
+
// in order to get around that and cause a rerender here, we use context
|
|
1004
|
+
// but we don't actually need any value, they are available on the layout object
|
|
1005
|
+
(0, $bd013581c0a4b065$export$3f8f74b6bfd2c5df)();
|
|
1006
|
+
let stringFormatter = (0, $gyhAV$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($cc43b2d4f6011c04$exports))));
|
|
1007
|
+
let { direction: direction } = (0, $gyhAV$useLocale)();
|
|
1008
|
+
let [isPointerDown, setIsPointerDown] = (0, $gyhAV$useState)(false);
|
|
1009
|
+
(0, $gyhAV$useEffect)(()=>{
|
|
1010
|
+
let setDown = (e)=>{
|
|
1011
|
+
if (e.pointerType === "mouse") setIsPointerDown(true);
|
|
1012
|
+
};
|
|
1013
|
+
let setUp = (e)=>{
|
|
1014
|
+
if (e.pointerType === "mouse") setIsPointerDown(false);
|
|
1015
|
+
};
|
|
1016
|
+
document.addEventListener("pointerdown", setDown, {
|
|
1017
|
+
capture: true
|
|
1018
|
+
});
|
|
1019
|
+
document.addEventListener("pointerup", setUp, {
|
|
1020
|
+
capture: true
|
|
1021
|
+
});
|
|
1022
|
+
return ()=>{
|
|
1023
|
+
document.removeEventListener("pointerdown", setDown, {
|
|
1024
|
+
capture: true
|
|
1025
|
+
});
|
|
1026
|
+
document.removeEventListener("pointerup", setUp, {
|
|
1027
|
+
capture: true
|
|
1028
|
+
});
|
|
1029
|
+
};
|
|
1030
|
+
}, []);
|
|
1031
|
+
let { inputProps: inputProps, resizerProps: resizerProps } = (0, $gyhAV$useTableColumnResize)((0, $gyhAV$mergeProps)(props, {
|
|
1032
|
+
"aria-label": stringFormatter.format("columnResizer"),
|
|
1033
|
+
isDisabled: isEmpty
|
|
1034
|
+
}), layout, ref);
|
|
1035
|
+
let isEResizable = layout.getColumnMinWidth(column.key) >= layout.getColumnWidth(column.key);
|
|
1036
|
+
let isWResizable = layout.getColumnMaxWidth(column.key) <= layout.getColumnWidth(column.key);
|
|
1037
|
+
let isResizing = layout.resizingColumn === column.key;
|
|
1038
|
+
let cursor = "";
|
|
1039
|
+
if (isEResizable) cursor = direction === "rtl" ? $fc695d2eafc2b351$var$CURSORS.w : $fc695d2eafc2b351$var$CURSORS.e;
|
|
1040
|
+
else if (isWResizable) cursor = direction === "rtl" ? $fc695d2eafc2b351$var$CURSORS.e : $fc695d2eafc2b351$var$CURSORS.w;
|
|
1041
|
+
else cursor = $fc695d2eafc2b351$var$CURSORS.ew;
|
|
1042
|
+
let style = {
|
|
1043
|
+
...resizerProps.style,
|
|
1044
|
+
height: "100%",
|
|
1045
|
+
display: showResizer ? undefined : "none",
|
|
1046
|
+
cursor: cursor
|
|
1047
|
+
};
|
|
1048
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$react).Fragment, null, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
1049
|
+
within: true,
|
|
1050
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
1051
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1052
|
+
...resizerProps,
|
|
1053
|
+
role: "presentation",
|
|
1054
|
+
style: style,
|
|
1055
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-columnResizer")
|
|
1056
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("input", {
|
|
1057
|
+
ref: ref,
|
|
1058
|
+
...(0, $gyhAV$mergeProps)(inputProps, {
|
|
1059
|
+
onFocus: onFocusedResizer
|
|
1060
|
+
})
|
|
1061
|
+
}))), /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1062
|
+
"aria-hidden": true,
|
|
1063
|
+
role: "presentation",
|
|
1064
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-columnResizerPlaceholder")
|
|
1065
|
+
}), /*#__PURE__*/ (0, $gyhAV$react).createElement($fc695d2eafc2b351$var$CursorOverlay, {
|
|
1066
|
+
show: isResizing && isPointerDown
|
|
1067
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1068
|
+
style: {
|
|
1069
|
+
position: "fixed",
|
|
1070
|
+
top: 0,
|
|
1071
|
+
left: 0,
|
|
1072
|
+
bottom: 0,
|
|
1073
|
+
right: 0,
|
|
1074
|
+
cursor: cursor
|
|
1075
|
+
}
|
|
1076
|
+
})));
|
|
1077
|
+
}
|
|
1078
|
+
function $fc695d2eafc2b351$var$CursorOverlay(props) {
|
|
1079
|
+
let { show: show, children: children } = props;
|
|
1080
|
+
return show ? /*#__PURE__*/ (0, $gyhAV$reactdom).createPortal(children, document.body) : null;
|
|
1081
|
+
}
|
|
1082
|
+
const $fc695d2eafc2b351$export$48a76196cafe3b93 = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($fc695d2eafc2b351$var$Resizer);
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
/*
|
|
1087
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
1088
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
1089
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
1090
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
1091
|
+
*
|
|
1092
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
1093
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
1094
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
1095
|
+
* governing permissions and limitations under the License.
|
|
1096
|
+
*/
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
function $4e6fc36ba71ba405$export$d30a7814cfd4033e() {
|
|
1100
|
+
let { dropState: dropState, dragAndDropHooks: dragAndDropHooks, state: state } = (0, $bd013581c0a4b065$export$3cb274deb6c2d854)();
|
|
1101
|
+
let ref = (0, $gyhAV$useRef)();
|
|
1102
|
+
let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator({
|
|
1103
|
+
target: {
|
|
1104
|
+
type: "root"
|
|
1105
|
+
}
|
|
1106
|
+
}, dropState, ref);
|
|
1107
|
+
let isDropTarget = dropState.isDropTarget({
|
|
1108
|
+
type: "root"
|
|
1109
|
+
});
|
|
1110
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $gyhAV$useVisuallyHidden)();
|
|
1111
|
+
if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
|
|
1112
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1113
|
+
role: "row",
|
|
1114
|
+
"aria-hidden": dropIndicatorProps["aria-hidden"]
|
|
1115
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1116
|
+
role: "gridcell",
|
|
1117
|
+
"aria-selected": "false",
|
|
1118
|
+
"aria-colspan": state.collection.columns.length
|
|
1119
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1120
|
+
role: "button",
|
|
1121
|
+
...visuallyHiddenProps,
|
|
1122
|
+
...dropIndicatorProps,
|
|
1123
|
+
ref: ref
|
|
1124
|
+
})));
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
/*
|
|
1129
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
1130
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
1131
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
1132
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
1133
|
+
*
|
|
1134
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
1135
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
1136
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
1137
|
+
* governing permissions and limitations under the License.
|
|
1138
|
+
*/
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
function $daa6ead3d9d3506a$export$905ab40ac2179daa(props) {
|
|
1144
|
+
let { itemText: itemText, itemCount: itemCount, height: height, maxWidth: maxWidth } = props;
|
|
1145
|
+
let isDraggingMultiple = itemCount > 1;
|
|
1146
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$Flex), {
|
|
1147
|
+
justifyContent: "space-between",
|
|
1148
|
+
height: height,
|
|
1149
|
+
maxWidth: maxWidth,
|
|
1150
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-row", (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-row", "react-spectrum-Table-row-dragPreview", {
|
|
1151
|
+
"react-spectrum-Table-row-dragPreview--multiple": isDraggingMultiple
|
|
1152
|
+
}))
|
|
1153
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1154
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cell", (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-cell"))
|
|
1155
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("span", {
|
|
1156
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cellContents")
|
|
1157
|
+
}, itemText)), isDraggingMultiple && /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1158
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-row-badge")
|
|
1159
|
+
}, itemCount));
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
const $bd013581c0a4b065$var$DEFAULT_HEADER_HEIGHT = {
|
|
1174
|
+
medium: 34,
|
|
1175
|
+
large: 40
|
|
1176
|
+
};
|
|
1177
|
+
const $bd013581c0a4b065$var$DEFAULT_HIDE_HEADER_CELL_WIDTH = {
|
|
1178
|
+
medium: 38,
|
|
1179
|
+
large: 46
|
|
1180
|
+
};
|
|
1181
|
+
const $bd013581c0a4b065$var$ROW_HEIGHTS = {
|
|
1182
|
+
compact: {
|
|
1183
|
+
medium: 32,
|
|
1184
|
+
large: 40
|
|
1185
|
+
},
|
|
1186
|
+
regular: {
|
|
1187
|
+
medium: 40,
|
|
1188
|
+
large: 50
|
|
1189
|
+
},
|
|
1190
|
+
spacious: {
|
|
1191
|
+
medium: 48,
|
|
1192
|
+
large: 60
|
|
1193
|
+
}
|
|
1194
|
+
};
|
|
1195
|
+
const $bd013581c0a4b065$var$SELECTION_CELL_DEFAULT_WIDTH = {
|
|
1196
|
+
medium: 38,
|
|
1197
|
+
large: 48
|
|
1198
|
+
};
|
|
1199
|
+
const $bd013581c0a4b065$var$DRAG_BUTTON_CELL_DEFAULT_WIDTH = {
|
|
1200
|
+
medium: 16,
|
|
1201
|
+
large: 20
|
|
1202
|
+
};
|
|
1203
|
+
const $bd013581c0a4b065$var$LEVEL_OFFSET_WIDTH = {
|
|
1204
|
+
medium: 16,
|
|
1205
|
+
large: 20
|
|
1206
|
+
};
|
|
1207
|
+
const $bd013581c0a4b065$export$93e4b0b2cc49b648 = /*#__PURE__*/ (0, $gyhAV$react).createContext(null);
|
|
1208
|
+
function $bd013581c0a4b065$export$3cb274deb6c2d854() {
|
|
1209
|
+
return (0, $gyhAV$useContext)($bd013581c0a4b065$export$93e4b0b2cc49b648);
|
|
1210
|
+
}
|
|
1211
|
+
const $bd013581c0a4b065$export$d288a7dd40372bc = /*#__PURE__*/ (0, $gyhAV$react).createContext(null);
|
|
1212
|
+
function $bd013581c0a4b065$export$3f8f74b6bfd2c5df() {
|
|
1213
|
+
return (0, $gyhAV$useContext)($bd013581c0a4b065$export$d288a7dd40372bc);
|
|
1214
|
+
}
|
|
1215
|
+
function $bd013581c0a4b065$var$TableViewBase(props, ref) {
|
|
1216
|
+
var _dropState_target;
|
|
1217
|
+
props = (0, $gyhAV$useProviderProps)(props);
|
|
1218
|
+
let { isQuiet: isQuiet, onAction: onAction, onResizeStart: propsOnResizeStart, onResizeEnd: propsOnResizeEnd, dragAndDropHooks: dragAndDropHooks, state: state } = props;
|
|
1219
|
+
let isTableDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
1220
|
+
let isTableDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);
|
|
1221
|
+
let dragHooksProvided = (0, $gyhAV$useRef)(isTableDraggable);
|
|
1222
|
+
let dropHooksProvided = (0, $gyhAV$useRef)(isTableDroppable);
|
|
1223
|
+
(0, $gyhAV$useEffect)(()=>{
|
|
1224
|
+
if (dragHooksProvided.current !== isTableDraggable) console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
1225
|
+
if (dropHooksProvided.current !== isTableDroppable) console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
1226
|
+
if ("expandedKeys" in state && (isTableDraggable || isTableDroppable)) console.warn("Drag and drop is not yet fully supported with expandable rows and may produce unexpected results.");
|
|
1227
|
+
}, [
|
|
1228
|
+
isTableDraggable,
|
|
1229
|
+
isTableDroppable,
|
|
1230
|
+
state
|
|
1231
|
+
]);
|
|
1232
|
+
let { styleProps: styleProps } = (0, $gyhAV$useStyleProps)(props);
|
|
1233
|
+
let { direction: direction } = (0, $gyhAV$useLocale)();
|
|
1234
|
+
let { scale: scale } = (0, $gyhAV$useProvider)();
|
|
1235
|
+
const getDefaultWidth = (0, $gyhAV$useCallback)(({ props: { hideHeader: hideHeader, isSelectionCell: isSelectionCell, showDivider: showDivider, isDragButtonCell: isDragButtonCell } })=>{
|
|
1236
|
+
if (hideHeader) {
|
|
1237
|
+
let width = $bd013581c0a4b065$var$DEFAULT_HIDE_HEADER_CELL_WIDTH[scale];
|
|
1238
|
+
return showDivider ? width + 1 : width;
|
|
1239
|
+
} else if (isSelectionCell) return $bd013581c0a4b065$var$SELECTION_CELL_DEFAULT_WIDTH[scale];
|
|
1240
|
+
else if (isDragButtonCell) return $bd013581c0a4b065$var$DRAG_BUTTON_CELL_DEFAULT_WIDTH[scale];
|
|
1241
|
+
}, [
|
|
1242
|
+
scale
|
|
1243
|
+
]);
|
|
1244
|
+
const getDefaultMinWidth = (0, $gyhAV$useCallback)(({ props: { hideHeader: hideHeader, isSelectionCell: isSelectionCell, showDivider: showDivider, isDragButtonCell: isDragButtonCell } })=>{
|
|
1245
|
+
if (hideHeader) {
|
|
1246
|
+
let width = $bd013581c0a4b065$var$DEFAULT_HIDE_HEADER_CELL_WIDTH[scale];
|
|
1247
|
+
return showDivider ? width + 1 : width;
|
|
1248
|
+
} else if (isSelectionCell) return $bd013581c0a4b065$var$SELECTION_CELL_DEFAULT_WIDTH[scale];
|
|
1249
|
+
else if (isDragButtonCell) return $bd013581c0a4b065$var$DRAG_BUTTON_CELL_DEFAULT_WIDTH[scale];
|
|
1250
|
+
return 75;
|
|
1251
|
+
}, [
|
|
1252
|
+
scale
|
|
1253
|
+
]);
|
|
1254
|
+
// Starts when the user selects resize from the menu, ends when resizing ends
|
|
1255
|
+
// used to control the visibility of the resizer Nubbin
|
|
1256
|
+
let [isInResizeMode, setIsInResizeMode] = (0, $gyhAV$useState)(false);
|
|
1257
|
+
// Starts when the resizer is actually moved
|
|
1258
|
+
// entering resizing/exiting resizing doesn't trigger a render
|
|
1259
|
+
// with table layout, so we need to track it here
|
|
1260
|
+
let [, setIsResizing] = (0, $gyhAV$useState)(false);
|
|
1261
|
+
let domRef = (0, $gyhAV$useDOMRef)(ref);
|
|
1262
|
+
let headerRef = (0, $gyhAV$useRef)();
|
|
1263
|
+
let bodyRef = (0, $gyhAV$useRef)();
|
|
1264
|
+
let stringFormatter = (0, $gyhAV$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($cc43b2d4f6011c04$exports))));
|
|
1265
|
+
let density = props.density || "regular";
|
|
1266
|
+
let columnLayout = (0, $gyhAV$useMemo)(()=>new (0, $gyhAV$TableColumnLayout)({
|
|
1267
|
+
getDefaultWidth: getDefaultWidth,
|
|
1268
|
+
getDefaultMinWidth: getDefaultMinWidth
|
|
1269
|
+
}), [
|
|
1270
|
+
getDefaultWidth,
|
|
1271
|
+
getDefaultMinWidth
|
|
1272
|
+
]);
|
|
1273
|
+
let tableLayout = (0, $gyhAV$useMemo)(()=>new (0, $gyhAV$TableLayout)({
|
|
1274
|
+
// If props.rowHeight is auto, then use estimated heights based on scale, otherwise use fixed heights.
|
|
1275
|
+
rowHeight: props.overflowMode === "wrap" ? null : $bd013581c0a4b065$var$ROW_HEIGHTS[density][scale],
|
|
1276
|
+
estimatedRowHeight: props.overflowMode === "wrap" ? $bd013581c0a4b065$var$ROW_HEIGHTS[density][scale] : null,
|
|
1277
|
+
headingHeight: props.overflowMode === "wrap" ? null : $bd013581c0a4b065$var$DEFAULT_HEADER_HEIGHT[scale],
|
|
1278
|
+
estimatedHeadingHeight: props.overflowMode === "wrap" ? $bd013581c0a4b065$var$DEFAULT_HEADER_HEIGHT[scale] : null,
|
|
1279
|
+
columnLayout: columnLayout,
|
|
1280
|
+
initialCollection: state.collection
|
|
1281
|
+
}), // don't recompute when state.collection changes, only used for initial value
|
|
1282
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1283
|
+
[
|
|
1284
|
+
props.overflowMode,
|
|
1285
|
+
scale,
|
|
1286
|
+
density,
|
|
1287
|
+
columnLayout
|
|
1288
|
+
]);
|
|
1289
|
+
// Use a proxy so that a new object is created for each render so that alternate instances aren't affected by mutation.
|
|
1290
|
+
// This can be thought of as equivalent to `{…tableLayout, tableState: state}`, but works with classes as well.
|
|
1291
|
+
let layout = (0, $gyhAV$useMemo)(()=>{
|
|
1292
|
+
let proxy = new Proxy(tableLayout, {
|
|
1293
|
+
get (target, prop, receiver) {
|
|
1294
|
+
return prop === "tableState" ? state : Reflect.get(target, prop, receiver);
|
|
1295
|
+
}
|
|
1296
|
+
});
|
|
1297
|
+
return proxy;
|
|
1298
|
+
}, [
|
|
1299
|
+
state,
|
|
1300
|
+
tableLayout
|
|
1301
|
+
]);
|
|
1302
|
+
let dragState;
|
|
1303
|
+
let preview = (0, $gyhAV$useRef)(null);
|
|
1304
|
+
if (isTableDraggable) {
|
|
1305
|
+
dragState = dragAndDropHooks.useDraggableCollectionState({
|
|
1306
|
+
collection: state.collection,
|
|
1307
|
+
selectionManager: state.selectionManager,
|
|
1308
|
+
preview: preview
|
|
1309
|
+
});
|
|
1310
|
+
dragAndDropHooks.useDraggableCollection({}, dragState, domRef);
|
|
1311
|
+
}
|
|
1312
|
+
let DragPreview = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.DragPreview;
|
|
1313
|
+
let dropState;
|
|
1314
|
+
let droppableCollection;
|
|
1315
|
+
let isRootDropTarget;
|
|
1316
|
+
if (isTableDroppable) {
|
|
1317
|
+
dropState = dragAndDropHooks.useDroppableCollectionState({
|
|
1318
|
+
collection: state.collection,
|
|
1319
|
+
selectionManager: state.selectionManager
|
|
1320
|
+
});
|
|
1321
|
+
droppableCollection = dragAndDropHooks.useDroppableCollection({
|
|
1322
|
+
keyboardDelegate: layout,
|
|
1323
|
+
dropTargetDelegate: layout
|
|
1324
|
+
}, dropState, domRef);
|
|
1325
|
+
isRootDropTarget = dropState.isDropTarget({
|
|
1326
|
+
type: "root"
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
let { gridProps: gridProps } = (0, $gyhAV$useTable)({
|
|
1330
|
+
...props,
|
|
1331
|
+
isVirtualized: true,
|
|
1332
|
+
layout: layout,
|
|
1333
|
+
onRowAction: onAction
|
|
1334
|
+
}, state, domRef);
|
|
1335
|
+
let [headerMenuOpen, setHeaderMenuOpen] = (0, $gyhAV$useState)(false);
|
|
1336
|
+
let [headerRowHovered, setHeaderRowHovered] = (0, $gyhAV$useState)(false);
|
|
1337
|
+
let renderWrapper = (parent, reusableView, children, renderChildren)=>{
|
|
1338
|
+
let style = (0, $gyhAV$layoutInfoToStyle)(reusableView.layoutInfo, direction, parent && parent.layoutInfo);
|
|
1339
|
+
if (style.overflow === "hidden") style.overflow = "visible"; // needed to support position: sticky
|
|
1340
|
+
if (reusableView.viewType === "rowgroup") return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableRowGroup, {
|
|
1341
|
+
key: reusableView.key,
|
|
1342
|
+
style: style
|
|
1343
|
+
}, isTableDroppable && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $4e6fc36ba71ba405$export$d30a7814cfd4033e), {
|
|
1344
|
+
key: "root"
|
|
1345
|
+
}), renderChildren(children));
|
|
1346
|
+
if (reusableView.viewType === "header") return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableHeader, {
|
|
1347
|
+
key: reusableView.key,
|
|
1348
|
+
style: style
|
|
1349
|
+
}, renderChildren(children));
|
|
1350
|
+
if (reusableView.viewType === "row") return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableRow, {
|
|
1351
|
+
key: reusableView.key,
|
|
1352
|
+
item: reusableView.content,
|
|
1353
|
+
style: style,
|
|
1354
|
+
hasActions: onAction,
|
|
1355
|
+
isTableDroppable: isTableDroppable,
|
|
1356
|
+
isTableDraggable: isTableDraggable
|
|
1357
|
+
}, renderChildren(children));
|
|
1358
|
+
if (reusableView.viewType === "headerrow") return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableHeaderRow, {
|
|
1359
|
+
onHoverChange: setHeaderRowHovered,
|
|
1360
|
+
key: reusableView.key,
|
|
1361
|
+
style: style,
|
|
1362
|
+
item: reusableView.content
|
|
1363
|
+
}, renderChildren(children));
|
|
1364
|
+
let isDropTarget;
|
|
1365
|
+
let isRootDroptarget;
|
|
1366
|
+
if (isTableDroppable) {
|
|
1367
|
+
if (parent.content) isDropTarget = dropState.isDropTarget({
|
|
1368
|
+
type: "item",
|
|
1369
|
+
dropPosition: "on",
|
|
1370
|
+
key: parent.content.key
|
|
1371
|
+
});
|
|
1372
|
+
isRootDroptarget = dropState.isDropTarget({
|
|
1373
|
+
type: "root"
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$VirtualizerItem), {
|
|
1377
|
+
key: reusableView.key,
|
|
1378
|
+
layoutInfo: reusableView.layoutInfo,
|
|
1379
|
+
virtualizer: reusableView.virtualizer,
|
|
1380
|
+
parent: parent === null || parent === void 0 ? void 0 : parent.layoutInfo,
|
|
1381
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cellWrapper", (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), {
|
|
1382
|
+
"react-spectrum-Table-cellWrapper": !reusableView.layoutInfo.estimatedSize,
|
|
1383
|
+
"react-spectrum-Table-cellWrapper--dropTarget": isDropTarget || isRootDroptarget
|
|
1384
|
+
}))
|
|
1385
|
+
}, reusableView.rendered);
|
|
1386
|
+
};
|
|
1387
|
+
let renderView = (type, item)=>{
|
|
1388
|
+
switch(type){
|
|
1389
|
+
case "header":
|
|
1390
|
+
case "rowgroup":
|
|
1391
|
+
case "section":
|
|
1392
|
+
case "row":
|
|
1393
|
+
case "headerrow":
|
|
1394
|
+
return null;
|
|
1395
|
+
case "cell":
|
|
1396
|
+
if (item.props.isSelectionCell) return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableCheckboxCell, {
|
|
1397
|
+
cell: item
|
|
1398
|
+
});
|
|
1399
|
+
if (item.props.isDragButtonCell) return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableDragCell, {
|
|
1400
|
+
cell: item
|
|
1401
|
+
});
|
|
1402
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableCell, {
|
|
1403
|
+
cell: item
|
|
1404
|
+
});
|
|
1405
|
+
case "placeholder":
|
|
1406
|
+
// TODO: move to react-aria?
|
|
1407
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1408
|
+
role: "gridcell",
|
|
1409
|
+
"aria-colindex": item.index + 1,
|
|
1410
|
+
"aria-colspan": item.colspan > 1 ? item.colspan : null
|
|
1411
|
+
});
|
|
1412
|
+
case "column":
|
|
1413
|
+
if (item.props.isSelectionCell) return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableSelectAllCell, {
|
|
1414
|
+
column: item
|
|
1415
|
+
});
|
|
1416
|
+
if (item.props.isDragButtonCell) return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableDragHeaderCell, {
|
|
1417
|
+
column: item
|
|
1418
|
+
});
|
|
1419
|
+
// TODO: consider this case, what if we have hidden headers and a empty table
|
|
1420
|
+
if (item.props.hideHeader) return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$TooltipTrigger), {
|
|
1421
|
+
placement: "top",
|
|
1422
|
+
trigger: "focus"
|
|
1423
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableColumnHeader, {
|
|
1424
|
+
column: item
|
|
1425
|
+
}), /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$Tooltip), {
|
|
1426
|
+
placement: "top"
|
|
1427
|
+
}, item.rendered));
|
|
1428
|
+
if (item.props.allowsResizing && !item.hasChildNodes) return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$ResizableTableColumnHeader, {
|
|
1429
|
+
tableRef: domRef,
|
|
1430
|
+
column: item
|
|
1431
|
+
});
|
|
1432
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableColumnHeader, {
|
|
1433
|
+
column: item
|
|
1434
|
+
});
|
|
1435
|
+
case "loader":
|
|
1436
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$CenteredWrapper, null, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$ProgressCircle), {
|
|
1437
|
+
isIndeterminate: true,
|
|
1438
|
+
"aria-label": state.collection.size > 0 ? stringFormatter.format("loadingMore") : stringFormatter.format("loading")
|
|
1439
|
+
}));
|
|
1440
|
+
case "empty":
|
|
1441
|
+
{
|
|
1442
|
+
let emptyState = props.renderEmptyState ? props.renderEmptyState() : null;
|
|
1443
|
+
if (emptyState == null) return null;
|
|
1444
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$CenteredWrapper, null, emptyState);
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
};
|
|
1448
|
+
let [isVerticalScrollbarVisible, setVerticalScollbarVisible] = (0, $gyhAV$useState)(false);
|
|
1449
|
+
let [isHorizontalScrollbarVisible, setHorizontalScollbarVisible] = (0, $gyhAV$useState)(false);
|
|
1450
|
+
let viewport = (0, $gyhAV$useRef)({
|
|
1451
|
+
x: 0,
|
|
1452
|
+
y: 0,
|
|
1453
|
+
width: 0,
|
|
1454
|
+
height: 0
|
|
1455
|
+
});
|
|
1456
|
+
let onVisibleRectChange = (0, $gyhAV$useCallback)((e)=>{
|
|
1457
|
+
if (viewport.current.width === e.width && viewport.current.height === e.height) return;
|
|
1458
|
+
viewport.current = e;
|
|
1459
|
+
if (bodyRef.current) {
|
|
1460
|
+
setVerticalScollbarVisible(bodyRef.current.clientWidth + 2 < bodyRef.current.offsetWidth);
|
|
1461
|
+
setHorizontalScollbarVisible(bodyRef.current.clientHeight + 2 < bodyRef.current.offsetHeight);
|
|
1462
|
+
}
|
|
1463
|
+
}, []);
|
|
1464
|
+
let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $gyhAV$useFocusRing)();
|
|
1465
|
+
let isEmpty = state.collection.size === 0;
|
|
1466
|
+
let onFocusedResizer = ()=>{
|
|
1467
|
+
bodyRef.current.scrollLeft = headerRef.current.scrollLeft;
|
|
1468
|
+
};
|
|
1469
|
+
let onResizeStart = (0, $gyhAV$useCallback)((widths)=>{
|
|
1470
|
+
setIsResizing(true);
|
|
1471
|
+
propsOnResizeStart === null || propsOnResizeStart === void 0 ? void 0 : propsOnResizeStart(widths);
|
|
1472
|
+
}, [
|
|
1473
|
+
setIsResizing,
|
|
1474
|
+
propsOnResizeStart
|
|
1475
|
+
]);
|
|
1476
|
+
let onResizeEnd = (0, $gyhAV$useCallback)((widths)=>{
|
|
1477
|
+
setIsInResizeMode(false);
|
|
1478
|
+
setIsResizing(false);
|
|
1479
|
+
propsOnResizeEnd === null || propsOnResizeEnd === void 0 ? void 0 : propsOnResizeEnd(widths);
|
|
1480
|
+
}, [
|
|
1481
|
+
propsOnResizeEnd,
|
|
1482
|
+
setIsInResizeMode,
|
|
1483
|
+
setIsResizing
|
|
1484
|
+
]);
|
|
1485
|
+
let focusedKey = state.selectionManager.focusedKey;
|
|
1486
|
+
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;
|
|
1487
|
+
let mergedProps = (0, $gyhAV$mergeProps)(isTableDroppable && (droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps), gridProps, focusProps, (dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.isVirtualDragging()) && {
|
|
1488
|
+
tabIndex: null
|
|
1489
|
+
});
|
|
1490
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$export$93e4b0b2cc49b648.Provider, {
|
|
1491
|
+
value: {
|
|
1492
|
+
state: state,
|
|
1493
|
+
dragState: dragState,
|
|
1494
|
+
dropState: dropState,
|
|
1495
|
+
dragAndDropHooks: dragAndDropHooks,
|
|
1496
|
+
isTableDraggable: isTableDraggable,
|
|
1497
|
+
isTableDroppable: isTableDroppable,
|
|
1498
|
+
layout: layout,
|
|
1499
|
+
onResizeStart: onResizeStart,
|
|
1500
|
+
onResize: props.onResize,
|
|
1501
|
+
onResizeEnd: onResizeEnd,
|
|
1502
|
+
headerRowHovered: headerRowHovered,
|
|
1503
|
+
isInResizeMode: isInResizeMode,
|
|
1504
|
+
setIsInResizeMode: setIsInResizeMode,
|
|
1505
|
+
isEmpty: isEmpty,
|
|
1506
|
+
onFocusedResizer: onFocusedResizer,
|
|
1507
|
+
headerMenuOpen: headerMenuOpen,
|
|
1508
|
+
setHeaderMenuOpen: setHeaderMenuOpen
|
|
1509
|
+
}
|
|
1510
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableVirtualizer, {
|
|
1511
|
+
...mergedProps,
|
|
1512
|
+
...styleProps,
|
|
1513
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table", `spectrum-Table--${density}`, {
|
|
1514
|
+
"spectrum-Table--quiet": isQuiet,
|
|
1515
|
+
"spectrum-Table--wrap": props.overflowMode === "wrap",
|
|
1516
|
+
"spectrum-Table--loadingMore": state.collection.body.props.loadingState === "loadingMore",
|
|
1517
|
+
"spectrum-Table--isVerticalScrollbarVisible": isVerticalScrollbarVisible,
|
|
1518
|
+
"spectrum-Table--isHorizontalScrollbarVisible": isHorizontalScrollbarVisible
|
|
1519
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table"), styleProps.className),
|
|
1520
|
+
layout: layout,
|
|
1521
|
+
collection: state.collection,
|
|
1522
|
+
focusedKey: focusedKey,
|
|
1523
|
+
renderView: renderView,
|
|
1524
|
+
renderWrapper: renderWrapper,
|
|
1525
|
+
onVisibleRectChange: onVisibleRectChange,
|
|
1526
|
+
domRef: domRef,
|
|
1527
|
+
headerRef: headerRef,
|
|
1528
|
+
bodyRef: bodyRef,
|
|
1529
|
+
isFocusVisible: isFocusVisible,
|
|
1530
|
+
isVirtualDragging: dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.isVirtualDragging(),
|
|
1531
|
+
isRootDropTarget: isRootDropTarget
|
|
1532
|
+
}), DragPreview && isTableDraggable && /*#__PURE__*/ (0, $gyhAV$react).createElement(DragPreview, {
|
|
1533
|
+
ref: preview
|
|
1534
|
+
}, ()=>{
|
|
1535
|
+
if (dragAndDropHooks.renderPreview) return dragAndDropHooks.renderPreview(dragState.draggingKeys, dragState.draggedKey);
|
|
1536
|
+
let itemCount = dragState.draggingKeys.size;
|
|
1537
|
+
let maxWidth = bodyRef.current.getBoundingClientRect().width;
|
|
1538
|
+
let height = $bd013581c0a4b065$var$ROW_HEIGHTS[density][scale];
|
|
1539
|
+
let itemText = state.collection.getTextValue(dragState.draggedKey);
|
|
1540
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $daa6ead3d9d3506a$export$905ab40ac2179daa), {
|
|
1541
|
+
itemText: itemText,
|
|
1542
|
+
itemCount: itemCount,
|
|
1543
|
+
height: height,
|
|
1544
|
+
maxWidth: maxWidth
|
|
1545
|
+
});
|
|
1546
|
+
}));
|
|
1547
|
+
}
|
|
1548
|
+
// This is a custom Virtualizer that also has a header that syncs its scroll position with the body.
|
|
1549
|
+
function $bd013581c0a4b065$var$TableVirtualizer(props) {
|
|
1550
|
+
var _layout_getLayoutInfo;
|
|
1551
|
+
let { layout: layout, collection: collection, focusedKey: focusedKey, renderView: renderView, renderWrapper: renderWrapper, domRef: domRef, bodyRef: bodyRef, headerRef: headerRef, onVisibleRectChange: onVisibleRectChangeProp, isFocusVisible: isFocusVisible, isVirtualDragging: isVirtualDragging, isRootDropTarget: isRootDropTarget, ...otherProps } = props;
|
|
1552
|
+
let { direction: direction } = (0, $gyhAV$useLocale)();
|
|
1553
|
+
let loadingState = collection.body.props.loadingState;
|
|
1554
|
+
let isLoading = loadingState === "loading" || loadingState === "loadingMore";
|
|
1555
|
+
let onLoadMore = collection.body.props.onLoadMore;
|
|
1556
|
+
let transitionDuration = 220;
|
|
1557
|
+
if (isLoading) transitionDuration = 160;
|
|
1558
|
+
if (layout.resizingColumn != null) // while resizing, prop changes should not cause animations
|
|
1559
|
+
transitionDuration = 0;
|
|
1560
|
+
let state = (0, $gyhAV$useVirtualizerState)({
|
|
1561
|
+
layout: layout,
|
|
1562
|
+
collection: collection,
|
|
1563
|
+
renderView: renderView,
|
|
1564
|
+
renderWrapper: renderWrapper,
|
|
1565
|
+
onVisibleRectChange (rect) {
|
|
1566
|
+
bodyRef.current.scrollTop = rect.y;
|
|
1567
|
+
(0, $gyhAV$setScrollLeft)(bodyRef.current, direction, rect.x);
|
|
1568
|
+
},
|
|
1569
|
+
transitionDuration: transitionDuration
|
|
1570
|
+
});
|
|
1571
|
+
let scrollToItem = (0, $gyhAV$useCallback)((key)=>{
|
|
1572
|
+
let item = collection.getItem(key);
|
|
1573
|
+
let column = collection.columns[0];
|
|
1574
|
+
let virtualizer = state.virtualizer;
|
|
1575
|
+
virtualizer.scrollToItem(key, {
|
|
1576
|
+
duration: 0,
|
|
1577
|
+
// Prevent scrolling to the top when clicking on column headers.
|
|
1578
|
+
shouldScrollY: (item === null || item === void 0 ? void 0 : item.type) !== "column",
|
|
1579
|
+
// Offset scroll position by width of selection cell
|
|
1580
|
+
// (which is sticky and will overlap the cell we're scrolling to).
|
|
1581
|
+
offsetX: column.props.isSelectionCell || column.props.isDragButtonCell ? layout.getColumnWidth(column.key) : 0
|
|
1582
|
+
});
|
|
1583
|
+
// Sync the scroll positions of the column headers and the body so scrollIntoViewport can
|
|
1584
|
+
// properly decide if the column is outside the viewport or not
|
|
1585
|
+
headerRef.current.scrollLeft = bodyRef.current.scrollLeft;
|
|
1586
|
+
}, [
|
|
1587
|
+
collection,
|
|
1588
|
+
bodyRef,
|
|
1589
|
+
headerRef,
|
|
1590
|
+
layout,
|
|
1591
|
+
state.virtualizer
|
|
1592
|
+
]);
|
|
1593
|
+
let memoedVirtualizerProps = (0, $gyhAV$useMemo)(()=>({
|
|
1594
|
+
tabIndex: otherProps.tabIndex,
|
|
1595
|
+
focusedKey: focusedKey,
|
|
1596
|
+
scrollToItem: scrollToItem,
|
|
1597
|
+
isLoading: isLoading,
|
|
1598
|
+
onLoadMore: onLoadMore
|
|
1599
|
+
}), [
|
|
1600
|
+
otherProps.tabIndex,
|
|
1601
|
+
focusedKey,
|
|
1602
|
+
scrollToItem,
|
|
1603
|
+
isLoading,
|
|
1604
|
+
onLoadMore
|
|
1605
|
+
]);
|
|
1606
|
+
let { virtualizerProps: virtualizerProps, scrollViewProps: { onVisibleRectChange: onVisibleRectChange } } = (0, $gyhAV$useVirtualizer)(memoedVirtualizerProps, state, domRef);
|
|
1607
|
+
// this effect runs whenever the contentSize changes, it doesn't matter what the content size is
|
|
1608
|
+
// only that it changes in a resize, and when that happens, we want to sync the body to the
|
|
1609
|
+
// header scroll position
|
|
1610
|
+
(0, $gyhAV$useEffect)(()=>{
|
|
1611
|
+
if ((0, $gyhAV$getInteractionModality)() === "keyboard" && headerRef.current.contains(document.activeElement)) {
|
|
1612
|
+
(0, $gyhAV$scrollIntoView)(headerRef.current, document.activeElement);
|
|
1613
|
+
(0, $gyhAV$scrollIntoViewport)(document.activeElement, {
|
|
1614
|
+
containingElement: domRef.current
|
|
1615
|
+
});
|
|
1616
|
+
bodyRef.current.scrollLeft = headerRef.current.scrollLeft;
|
|
1617
|
+
}
|
|
1618
|
+
}, [
|
|
1619
|
+
state.contentSize,
|
|
1620
|
+
headerRef,
|
|
1621
|
+
bodyRef,
|
|
1622
|
+
domRef
|
|
1623
|
+
]);
|
|
1624
|
+
let headerHeight = ((_layout_getLayoutInfo = layout.getLayoutInfo("header")) === null || _layout_getLayoutInfo === void 0 ? void 0 : _layout_getLayoutInfo.rect.height) || 0;
|
|
1625
|
+
// Sync the scroll position from the table body to the header container.
|
|
1626
|
+
let onScroll = (0, $gyhAV$useCallback)(()=>{
|
|
1627
|
+
headerRef.current.scrollLeft = bodyRef.current.scrollLeft;
|
|
1628
|
+
}, [
|
|
1629
|
+
bodyRef,
|
|
1630
|
+
headerRef
|
|
1631
|
+
]);
|
|
1632
|
+
let resizerPosition = layout.getResizerPosition() - 2;
|
|
1633
|
+
let resizerAtEdge = resizerPosition > Math.max(state.virtualizer.contentSize.width, state.virtualizer.visibleRect.width) - 3;
|
|
1634
|
+
// this should be fine, every movement of the resizer causes a rerender
|
|
1635
|
+
// scrolling can cause it to lag for a moment, but it's always updated
|
|
1636
|
+
let resizerInVisibleRegion = resizerPosition < state.virtualizer.visibleRect.maxX;
|
|
1637
|
+
let shouldHardCornerResizeCorner = resizerAtEdge && resizerInVisibleRegion;
|
|
1638
|
+
// minimize re-render caused on Resizers by memoing this
|
|
1639
|
+
let resizingColumnWidth = layout.getColumnWidth(layout.resizingColumn);
|
|
1640
|
+
let resizingColumn = (0, $gyhAV$useMemo)(()=>({
|
|
1641
|
+
width: resizingColumnWidth,
|
|
1642
|
+
key: layout.resizingColumn
|
|
1643
|
+
}), [
|
|
1644
|
+
resizingColumnWidth,
|
|
1645
|
+
layout.resizingColumn
|
|
1646
|
+
]);
|
|
1647
|
+
let mergedProps = (0, $gyhAV$mergeProps)(otherProps, virtualizerProps, isVirtualDragging && {
|
|
1648
|
+
tabIndex: null
|
|
1649
|
+
});
|
|
1650
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$export$d288a7dd40372bc.Provider, {
|
|
1651
|
+
value: resizingColumn
|
|
1652
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusScope), null, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1653
|
+
...mergedProps,
|
|
1654
|
+
ref: domRef
|
|
1655
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1656
|
+
role: "presentation",
|
|
1657
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headWrapper"),
|
|
1658
|
+
style: {
|
|
1659
|
+
height: headerHeight,
|
|
1660
|
+
overflow: "hidden",
|
|
1661
|
+
position: "relative",
|
|
1662
|
+
willChange: state.isScrolling ? "scroll-position" : undefined,
|
|
1663
|
+
transition: state.isAnimating ? `none ${state.virtualizer.transitionDuration}ms` : undefined
|
|
1664
|
+
},
|
|
1665
|
+
ref: headerRef
|
|
1666
|
+
}, state.visibleViews[0]), /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$ScrollView), {
|
|
1667
|
+
role: "presentation",
|
|
1668
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-body", {
|
|
1669
|
+
"focus-ring": isFocusVisible,
|
|
1670
|
+
"spectrum-Table-body--resizerAtTableEdge": shouldHardCornerResizeCorner
|
|
1671
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-body", {
|
|
1672
|
+
"react-spectrum-Table-body--dropTarget": !!isRootDropTarget
|
|
1673
|
+
})),
|
|
1674
|
+
tabIndex: isVirtualDragging ? null : -1,
|
|
1675
|
+
style: {
|
|
1676
|
+
flex: 1
|
|
1677
|
+
},
|
|
1678
|
+
innerStyle: {
|
|
1679
|
+
overflow: "visible",
|
|
1680
|
+
transition: state.isAnimating ? `none ${state.virtualizer.transitionDuration}ms` : undefined
|
|
1681
|
+
},
|
|
1682
|
+
ref: bodyRef,
|
|
1683
|
+
contentSize: state.contentSize,
|
|
1684
|
+
onVisibleRectChange: (0, $gyhAV$chain)(onVisibleRectChange, onVisibleRectChangeProp),
|
|
1685
|
+
onScrollStart: state.startScrolling,
|
|
1686
|
+
onScrollEnd: state.endScrolling,
|
|
1687
|
+
onScroll: onScroll
|
|
1688
|
+
}, state.visibleViews[1], /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1689
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-bodyResizeIndicator"),
|
|
1690
|
+
style: {
|
|
1691
|
+
[direction === "ltr" ? "left" : "right"]: `${resizerPosition}px`,
|
|
1692
|
+
height: `${Math.max(state.virtualizer.contentSize.height, state.virtualizer.visibleRect.height)}px`,
|
|
1693
|
+
display: layout.resizingColumn ? "block" : "none"
|
|
1694
|
+
}
|
|
1695
|
+
})))));
|
|
1696
|
+
}
|
|
1697
|
+
function $bd013581c0a4b065$var$TableHeader({ children: children, ...otherProps }) {
|
|
1698
|
+
let { rowGroupProps: rowGroupProps } = (0, $gyhAV$useTableRowGroup)();
|
|
1699
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1700
|
+
...rowGroupProps,
|
|
1701
|
+
...otherProps,
|
|
1702
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-head")
|
|
1703
|
+
}, children);
|
|
1704
|
+
}
|
|
1705
|
+
function $bd013581c0a4b065$var$TableColumnHeader(props) {
|
|
1706
|
+
var _state_sortDescriptor, _state_sortDescriptor1, _state_sortDescriptor2, _state_sortDescriptor3;
|
|
1707
|
+
let { column: column } = props;
|
|
1708
|
+
let ref = (0, $gyhAV$useRef)(null);
|
|
1709
|
+
let { state: state, isEmpty: isEmpty } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
1710
|
+
let { pressProps: pressProps, isPressed: isPressed } = (0, $gyhAV$usePress)({
|
|
1711
|
+
isDisabled: isEmpty
|
|
1712
|
+
});
|
|
1713
|
+
let columnProps = column.props;
|
|
1714
|
+
(0, $gyhAV$useEffect)(()=>{
|
|
1715
|
+
if (column.hasChildNodes && columnProps.allowsResizing) console.warn(`Column key: ${column.key}. Columns with child columns don't allow resizing.`);
|
|
1716
|
+
}, [
|
|
1717
|
+
column.hasChildNodes,
|
|
1718
|
+
column.key,
|
|
1719
|
+
columnProps.allowsResizing
|
|
1720
|
+
]);
|
|
1721
|
+
let { columnHeaderProps: columnHeaderProps } = (0, $gyhAV$useTableColumnHeader)({
|
|
1722
|
+
node: column,
|
|
1723
|
+
isVirtualized: true
|
|
1724
|
+
}, state, ref);
|
|
1725
|
+
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $gyhAV$useHover)({
|
|
1726
|
+
...props,
|
|
1727
|
+
isDisabled: isEmpty
|
|
1728
|
+
});
|
|
1729
|
+
const allProps = [
|
|
1730
|
+
columnHeaderProps,
|
|
1731
|
+
hoverProps,
|
|
1732
|
+
pressProps
|
|
1733
|
+
];
|
|
1734
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
1735
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
1736
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1737
|
+
...(0, $gyhAV$mergeProps)(...allProps),
|
|
1738
|
+
ref: ref,
|
|
1739
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCell", {
|
|
1740
|
+
"is-active": isPressed,
|
|
1741
|
+
"is-sortable": columnProps.allowsSorting,
|
|
1742
|
+
"is-sorted-desc": ((_state_sortDescriptor = state.sortDescriptor) === null || _state_sortDescriptor === void 0 ? void 0 : _state_sortDescriptor.column) === column.key && ((_state_sortDescriptor1 = state.sortDescriptor) === null || _state_sortDescriptor1 === void 0 ? void 0 : _state_sortDescriptor1.direction) === "descending",
|
|
1743
|
+
"is-sorted-asc": ((_state_sortDescriptor2 = state.sortDescriptor) === null || _state_sortDescriptor2 === void 0 ? void 0 : _state_sortDescriptor2.column) === column.key && ((_state_sortDescriptor3 = state.sortDescriptor) === null || _state_sortDescriptor3 === void 0 ? void 0 : _state_sortDescriptor3.direction) === "ascending",
|
|
1744
|
+
"is-hovered": isHovered,
|
|
1745
|
+
"spectrum-Table-cell--hideHeader": columnProps.hideHeader
|
|
1746
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-cell", {
|
|
1747
|
+
"react-spectrum-Table-cell--alignCenter": columnProps.align === "center" || column.colspan > 1,
|
|
1748
|
+
"react-spectrum-Table-cell--alignEnd": columnProps.align === "end"
|
|
1749
|
+
}))
|
|
1750
|
+
}, columnProps.allowsSorting && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$spectrumiconsuiArrowDownSmall), {
|
|
1751
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-sortedIcon")
|
|
1752
|
+
}), columnProps.hideHeader ? /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$VisuallyHidden), null, column.rendered) : /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1753
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCellContents")
|
|
1754
|
+
}, column.rendered)));
|
|
1755
|
+
}
|
|
1756
|
+
let $bd013581c0a4b065$var$_TableColumnHeaderButton = (props, ref)=>{
|
|
1757
|
+
let { focusProps: focusProps, alignment: alignment, ...otherProps } = props;
|
|
1758
|
+
let { isEmpty: isEmpty } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
1759
|
+
let domRef = (0, $gyhAV$useFocusableRef)(ref);
|
|
1760
|
+
let { buttonProps: buttonProps } = (0, $gyhAV$useButton)({
|
|
1761
|
+
...otherProps,
|
|
1762
|
+
elementType: "div",
|
|
1763
|
+
isDisabled: isEmpty
|
|
1764
|
+
}, domRef);
|
|
1765
|
+
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $gyhAV$useHover)({
|
|
1766
|
+
...otherProps,
|
|
1767
|
+
isDisabled: isEmpty
|
|
1768
|
+
});
|
|
1769
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1770
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCellContents", {
|
|
1771
|
+
"is-hovered": isHovered
|
|
1772
|
+
}),
|
|
1773
|
+
...hoverProps
|
|
1774
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1775
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCellButton", {
|
|
1776
|
+
"spectrum-Table-headCellButton--alignStart": alignment === "start",
|
|
1777
|
+
"spectrum-Table-headCellButton--alignCenter": alignment === "center",
|
|
1778
|
+
"spectrum-Table-headCellButton--alignEnd": alignment === "end"
|
|
1779
|
+
}),
|
|
1780
|
+
...(0, $gyhAV$mergeProps)(buttonProps, focusProps),
|
|
1781
|
+
ref: domRef
|
|
1782
|
+
}, props.children));
|
|
1783
|
+
};
|
|
1784
|
+
let $bd013581c0a4b065$var$TableColumnHeaderButton = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($bd013581c0a4b065$var$_TableColumnHeaderButton);
|
|
1785
|
+
function $bd013581c0a4b065$var$ResizableTableColumnHeader(props) {
|
|
1786
|
+
var _column_props, _state_sortDescriptor, _state_sortDescriptor1, _state_sortDescriptor2, _state_sortDescriptor3;
|
|
1787
|
+
let { column: column } = props;
|
|
1788
|
+
let ref = (0, $gyhAV$useRef)(null);
|
|
1789
|
+
let triggerRef = (0, $gyhAV$useRef)(null);
|
|
1790
|
+
let resizingRef = (0, $gyhAV$useRef)(null);
|
|
1791
|
+
let { state: state, layout: layout, onResizeStart: onResizeStart, onResize: onResize, onResizeEnd: onResizeEnd, headerRowHovered: headerRowHovered, setIsInResizeMode: setIsInResizeMode, isEmpty: isEmpty, isInResizeMode: isInResizeMode, headerMenuOpen: headerMenuOpen, setHeaderMenuOpen: setHeaderMenuOpen } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
1792
|
+
let stringFormatter = (0, $gyhAV$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($cc43b2d4f6011c04$exports))));
|
|
1793
|
+
let { pressProps: pressProps, isPressed: isPressed } = (0, $gyhAV$usePress)({
|
|
1794
|
+
isDisabled: isEmpty
|
|
1795
|
+
});
|
|
1796
|
+
let { columnHeaderProps: columnHeaderProps } = (0, $gyhAV$useTableColumnHeader)({
|
|
1797
|
+
node: column,
|
|
1798
|
+
isVirtualized: true
|
|
1799
|
+
}, state, ref);
|
|
1800
|
+
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $gyhAV$useHover)({
|
|
1801
|
+
...props,
|
|
1802
|
+
isDisabled: isEmpty || headerMenuOpen
|
|
1803
|
+
});
|
|
1804
|
+
const allProps = [
|
|
1805
|
+
columnHeaderProps,
|
|
1806
|
+
pressProps,
|
|
1807
|
+
hoverProps
|
|
1808
|
+
];
|
|
1809
|
+
let columnProps = column.props;
|
|
1810
|
+
let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $gyhAV$useFocusRing)();
|
|
1811
|
+
const onMenuSelect = (key)=>{
|
|
1812
|
+
switch(key){
|
|
1813
|
+
case "sort-asc":
|
|
1814
|
+
state.sort(column.key, "ascending");
|
|
1815
|
+
break;
|
|
1816
|
+
case "sort-desc":
|
|
1817
|
+
state.sort(column.key, "descending");
|
|
1818
|
+
break;
|
|
1819
|
+
case "resize":
|
|
1820
|
+
layout.startResize(column.key);
|
|
1821
|
+
setIsInResizeMode(true);
|
|
1822
|
+
state.setKeyboardNavigationDisabled(true);
|
|
1823
|
+
break;
|
|
1824
|
+
}
|
|
1825
|
+
};
|
|
1826
|
+
let allowsSorting = (_column_props = column.props) === null || _column_props === void 0 ? void 0 : _column_props.allowsSorting;
|
|
1827
|
+
let items = (0, $gyhAV$useMemo)(()=>{
|
|
1828
|
+
let options = [
|
|
1829
|
+
allowsSorting ? {
|
|
1830
|
+
label: stringFormatter.format("sortAscending"),
|
|
1831
|
+
id: "sort-asc"
|
|
1832
|
+
} : undefined,
|
|
1833
|
+
allowsSorting ? {
|
|
1834
|
+
label: stringFormatter.format("sortDescending"),
|
|
1835
|
+
id: "sort-desc"
|
|
1836
|
+
} : undefined,
|
|
1837
|
+
{
|
|
1838
|
+
label: stringFormatter.format("resizeColumn"),
|
|
1839
|
+
id: "resize"
|
|
1840
|
+
}
|
|
1841
|
+
];
|
|
1842
|
+
return options;
|
|
1843
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1844
|
+
}, [
|
|
1845
|
+
allowsSorting
|
|
1846
|
+
]);
|
|
1847
|
+
let resizingColumn = layout.resizingColumn;
|
|
1848
|
+
let showResizer = !isEmpty && (headerRowHovered && (0, $gyhAV$getInteractionModality)() !== "keyboard" || resizingColumn != null);
|
|
1849
|
+
let alignment = "start";
|
|
1850
|
+
let menuAlign = "start";
|
|
1851
|
+
if (columnProps.align === "center" || column.colspan > 1) alignment = "center";
|
|
1852
|
+
else if (columnProps.align === "end") {
|
|
1853
|
+
alignment = "end";
|
|
1854
|
+
menuAlign = "end";
|
|
1855
|
+
}
|
|
1856
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
1857
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
1858
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1859
|
+
...(0, $gyhAV$mergeProps)(...allProps),
|
|
1860
|
+
ref: ref,
|
|
1861
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCell", {
|
|
1862
|
+
"is-active": isPressed,
|
|
1863
|
+
"is-resizable": columnProps.allowsResizing,
|
|
1864
|
+
"is-sortable": columnProps.allowsSorting,
|
|
1865
|
+
"is-sorted-desc": ((_state_sortDescriptor = state.sortDescriptor) === null || _state_sortDescriptor === void 0 ? void 0 : _state_sortDescriptor.column) === column.key && ((_state_sortDescriptor1 = state.sortDescriptor) === null || _state_sortDescriptor1 === void 0 ? void 0 : _state_sortDescriptor1.direction) === "descending",
|
|
1866
|
+
"is-sorted-asc": ((_state_sortDescriptor2 = state.sortDescriptor) === null || _state_sortDescriptor2 === void 0 ? void 0 : _state_sortDescriptor2.column) === column.key && ((_state_sortDescriptor3 = state.sortDescriptor) === null || _state_sortDescriptor3 === void 0 ? void 0 : _state_sortDescriptor3.direction) === "ascending",
|
|
1867
|
+
"is-hovered": isHovered,
|
|
1868
|
+
"focus-ring": isFocusVisible,
|
|
1869
|
+
"spectrum-Table-cell--hideHeader": columnProps.hideHeader
|
|
1870
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-cell", {
|
|
1871
|
+
"react-spectrum-Table-cell--alignCenter": alignment === "center",
|
|
1872
|
+
"react-spectrum-Table-cell--alignEnd": alignment === "end"
|
|
1873
|
+
}))
|
|
1874
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$MenuTrigger), {
|
|
1875
|
+
onOpenChange: setHeaderMenuOpen,
|
|
1876
|
+
align: menuAlign
|
|
1877
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableColumnHeaderButton, {
|
|
1878
|
+
alignment: alignment,
|
|
1879
|
+
ref: triggerRef,
|
|
1880
|
+
focusProps: focusProps
|
|
1881
|
+
}, columnProps.allowsSorting && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$spectrumiconsuiArrowDownSmall), {
|
|
1882
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-sortedIcon")
|
|
1883
|
+
}), columnProps.hideHeader ? /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$VisuallyHidden), null, column.rendered) : /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1884
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headerCellText")
|
|
1885
|
+
}, column.rendered), columnProps.allowsResizing && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$spectrumiconsuiChevronDownMedium), {
|
|
1886
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-menuChevron")
|
|
1887
|
+
})), /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$Menu), {
|
|
1888
|
+
onAction: onMenuSelect,
|
|
1889
|
+
minWidth: "size-2000",
|
|
1890
|
+
items: items
|
|
1891
|
+
}, (item)=>/*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$Item), null, item.label))), /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $fc695d2eafc2b351$export$48a76196cafe3b93), {
|
|
1892
|
+
ref: resizingRef,
|
|
1893
|
+
column: column,
|
|
1894
|
+
showResizer: showResizer,
|
|
1895
|
+
onResizeStart: onResizeStart,
|
|
1896
|
+
onResize: onResize,
|
|
1897
|
+
onResizeEnd: onResizeEnd,
|
|
1898
|
+
triggerRef: (0, $gyhAV$useUnwrapDOMRef)(triggerRef)
|
|
1899
|
+
}), /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1900
|
+
"aria-hidden": true,
|
|
1901
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-colResizeIndicator", {
|
|
1902
|
+
"spectrum-Table-colResizeIndicator--visible": resizingColumn != null,
|
|
1903
|
+
"spectrum-Table-colResizeIndicator--resizing": resizingColumn === column.key
|
|
1904
|
+
})
|
|
1905
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1906
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-colResizeNubbin", {
|
|
1907
|
+
"spectrum-Table-colResizeNubbin--visible": isInResizeMode && resizingColumn === column.key
|
|
1908
|
+
})
|
|
1909
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $cb7d341e8868d81d$export$d9658cdf8c86807), null)))));
|
|
1910
|
+
}
|
|
1911
|
+
function $bd013581c0a4b065$var$TableSelectAllCell({ column: column }) {
|
|
1912
|
+
let ref = (0, $gyhAV$useRef)();
|
|
1913
|
+
let { state: state } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
1914
|
+
let isSingleSelectionMode = state.selectionManager.selectionMode === "single";
|
|
1915
|
+
let { columnHeaderProps: columnHeaderProps } = (0, $gyhAV$useTableColumnHeader)({
|
|
1916
|
+
node: column,
|
|
1917
|
+
isVirtualized: true
|
|
1918
|
+
}, state, ref);
|
|
1919
|
+
let { checkboxProps: checkboxProps } = (0, $gyhAV$useTableSelectAllCheckbox)(state);
|
|
1920
|
+
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $gyhAV$useHover)({});
|
|
1921
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
1922
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
1923
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1924
|
+
...(0, $gyhAV$mergeProps)(columnHeaderProps, hoverProps),
|
|
1925
|
+
ref: ref,
|
|
1926
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCell", "spectrum-Table-checkboxCell", {
|
|
1927
|
+
"is-hovered": isHovered
|
|
1928
|
+
})
|
|
1929
|
+
}, /*
|
|
1930
|
+
In single selection mode, the checkbox will be hidden.
|
|
1931
|
+
So to avoid leaving a column header with no accessible content,
|
|
1932
|
+
we use a VisuallyHidden component to include the aria-label from the checkbox,
|
|
1933
|
+
which for single selection will be "Select."
|
|
1934
|
+
*/ isSingleSelectionMode && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$VisuallyHidden), null, checkboxProps["aria-label"]), /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$Checkbox), {
|
|
1935
|
+
...checkboxProps,
|
|
1936
|
+
isEmphasized: true,
|
|
1937
|
+
UNSAFE_style: isSingleSelectionMode ? {
|
|
1938
|
+
visibility: "hidden"
|
|
1939
|
+
} : undefined,
|
|
1940
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-checkbox")
|
|
1941
|
+
})));
|
|
1942
|
+
}
|
|
1943
|
+
function $bd013581c0a4b065$var$TableDragHeaderCell({ column: column }) {
|
|
1944
|
+
let ref = (0, $gyhAV$useRef)();
|
|
1945
|
+
let { state: state } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
1946
|
+
let { columnHeaderProps: columnHeaderProps } = (0, $gyhAV$useTableColumnHeader)({
|
|
1947
|
+
node: column,
|
|
1948
|
+
isVirtualized: true
|
|
1949
|
+
}, state, ref);
|
|
1950
|
+
let stringFormatter = (0, $gyhAV$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($cc43b2d4f6011c04$exports))));
|
|
1951
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
1952
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
1953
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1954
|
+
...columnHeaderProps,
|
|
1955
|
+
ref: ref,
|
|
1956
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headCell", (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-headCell", "react-spectrum-Table-dragButtonHeadCell"))
|
|
1957
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$VisuallyHidden), null, stringFormatter.format("drag"))));
|
|
1958
|
+
}
|
|
1959
|
+
function $bd013581c0a4b065$var$TableRowGroup({ children: children, ...otherProps }) {
|
|
1960
|
+
let { rowGroupProps: rowGroupProps } = (0, $gyhAV$useTableRowGroup)();
|
|
1961
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1962
|
+
...rowGroupProps,
|
|
1963
|
+
...otherProps
|
|
1964
|
+
}, children);
|
|
1965
|
+
}
|
|
1966
|
+
function $bd013581c0a4b065$var$DragButton() {
|
|
1967
|
+
let { dragButtonProps: dragButtonProps, dragButtonRef: dragButtonRef, isFocusVisibleWithin: isFocusVisibleWithin } = $bd013581c0a4b065$export$cd7c5802f9e21187();
|
|
1968
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $gyhAV$useVisuallyHidden)();
|
|
1969
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
1970
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "focus-ring")
|
|
1971
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
1972
|
+
...dragButtonProps,
|
|
1973
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-dragButton"),
|
|
1974
|
+
style: !isFocusVisibleWithin ? {
|
|
1975
|
+
...visuallyHiddenProps.style
|
|
1976
|
+
} : {},
|
|
1977
|
+
ref: dragButtonRef,
|
|
1978
|
+
draggable: "true"
|
|
1979
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$spectrumiconsuiListGripper), {
|
|
1980
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))))
|
|
1981
|
+
})));
|
|
1982
|
+
}
|
|
1983
|
+
const $bd013581c0a4b065$var$TableRowContext = /*#__PURE__*/ (0, $gyhAV$react).createContext(null);
|
|
1984
|
+
function $bd013581c0a4b065$export$cd7c5802f9e21187() {
|
|
1985
|
+
return (0, $gyhAV$useContext)($bd013581c0a4b065$var$TableRowContext);
|
|
1986
|
+
}
|
|
1987
|
+
function $bd013581c0a4b065$var$TableRow({ item: item, children: children, hasActions: hasActions, isTableDraggable: isTableDraggable, isTableDroppable: isTableDroppable, ...otherProps }) {
|
|
1988
|
+
var _state_collection_rows_find, _layout_getContentSize, _layout_virtualizer;
|
|
1989
|
+
let ref = (0, $gyhAV$useRef)();
|
|
1990
|
+
let { state: state, layout: layout, dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
1991
|
+
let allowsInteraction = state.selectionManager.selectionMode !== "none" || hasActions;
|
|
1992
|
+
let isDisabled = !allowsInteraction || state.disabledKeys.has(item.key);
|
|
1993
|
+
let isDroppable = isTableDroppable && !isDisabled;
|
|
1994
|
+
let isSelected = state.selectionManager.isSelected(item.key);
|
|
1995
|
+
let { rowProps: rowProps } = (0, $gyhAV$useTableRow)({
|
|
1996
|
+
node: item,
|
|
1997
|
+
isVirtualized: true,
|
|
1998
|
+
shouldSelectOnPressUp: isTableDraggable
|
|
1999
|
+
}, state, ref);
|
|
2000
|
+
let { pressProps: pressProps, isPressed: isPressed } = (0, $gyhAV$usePress)({
|
|
2001
|
+
isDisabled: isDisabled
|
|
2002
|
+
});
|
|
2003
|
+
// The row should show the focus background style when any cell inside it is focused.
|
|
2004
|
+
// If the row itself is focused, then it should have a blue focus indicator on the left.
|
|
2005
|
+
let { isFocusVisible: isFocusVisibleWithin, focusProps: focusWithinProps } = (0, $gyhAV$useFocusRing)({
|
|
2006
|
+
within: true
|
|
2007
|
+
});
|
|
2008
|
+
let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $gyhAV$useFocusRing)();
|
|
2009
|
+
let { hoverProps: hoverProps, isHovered: isHovered } = (0, $gyhAV$useHover)({
|
|
2010
|
+
isDisabled: isDisabled
|
|
2011
|
+
});
|
|
2012
|
+
let isFirstRow = ((_state_collection_rows_find = state.collection.rows.find((row)=>row.level === 1)) === null || _state_collection_rows_find === void 0 ? void 0 : _state_collection_rows_find.key) === item.key;
|
|
2013
|
+
let isLastRow = item.nextKey == null;
|
|
2014
|
+
// Figure out if the TableView content is equal or greater in height to the container. If so, we'll need to round the bottom
|
|
2015
|
+
// border corners of the last row when selected.
|
|
2016
|
+
let isFlushWithContainerBottom = false;
|
|
2017
|
+
if (isLastRow) {
|
|
2018
|
+
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;
|
|
2019
|
+
}
|
|
2020
|
+
let draggableItem;
|
|
2021
|
+
if (isTableDraggable) {
|
|
2022
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
2023
|
+
draggableItem = dragAndDropHooks.useDraggableItem({
|
|
2024
|
+
key: item.key,
|
|
2025
|
+
hasDragButton: true
|
|
2026
|
+
}, dragState);
|
|
2027
|
+
if (isDisabled) draggableItem = null;
|
|
2028
|
+
}
|
|
2029
|
+
let droppableItem;
|
|
2030
|
+
let isDropTarget;
|
|
2031
|
+
let dropIndicator;
|
|
2032
|
+
let dropIndicatorRef = (0, $gyhAV$useRef)();
|
|
2033
|
+
if (isTableDroppable) {
|
|
2034
|
+
let target = {
|
|
2035
|
+
type: "item",
|
|
2036
|
+
key: item.key,
|
|
2037
|
+
dropPosition: "on"
|
|
2038
|
+
};
|
|
2039
|
+
isDropTarget = dropState.isDropTarget(target);
|
|
2040
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
2041
|
+
dropIndicator = dragAndDropHooks.useDropIndicator({
|
|
2042
|
+
target: target
|
|
2043
|
+
}, dropState, dropIndicatorRef);
|
|
2044
|
+
}
|
|
2045
|
+
let dragButtonRef = (0, $gyhAV$react).useRef();
|
|
2046
|
+
let { buttonProps: dragButtonProps } = (0, $gyhAV$useButton)({
|
|
2047
|
+
...draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragButtonProps,
|
|
2048
|
+
elementType: "div"
|
|
2049
|
+
}, dragButtonRef);
|
|
2050
|
+
let props = (0, $gyhAV$mergeProps)(rowProps, otherProps, focusWithinProps, focusProps, hoverProps, pressProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, // Remove tab index from list row if performing a screenreader drag. This prevents TalkBack from focusing the row,
|
|
2051
|
+
// allowing for single swipe navigation between row drop indicator
|
|
2052
|
+
(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.isVirtualDragging()) && {
|
|
2053
|
+
tabIndex: null
|
|
2054
|
+
});
|
|
2055
|
+
let dropProps = isDroppable ? droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps : {
|
|
2056
|
+
"aria-hidden": droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps["aria-hidden"]
|
|
2057
|
+
};
|
|
2058
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $gyhAV$useVisuallyHidden)();
|
|
2059
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$TableRowContext.Provider, {
|
|
2060
|
+
value: {
|
|
2061
|
+
dragButtonProps: dragButtonProps,
|
|
2062
|
+
dragButtonRef: dragButtonRef,
|
|
2063
|
+
isFocusVisibleWithin: isFocusVisibleWithin
|
|
2064
|
+
}
|
|
2065
|
+
}, isTableDroppable && isFirstRow && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $7ee9a922ee4e8032$export$2c0bab5914a9d088), {
|
|
2066
|
+
rowProps: props,
|
|
2067
|
+
key: `${item.key}-before`,
|
|
2068
|
+
target: {
|
|
2069
|
+
key: item.key,
|
|
2070
|
+
type: "item",
|
|
2071
|
+
dropPosition: "before"
|
|
2072
|
+
}
|
|
2073
|
+
}), isTableDroppable && !(dropIndicator === null || dropIndicator === void 0 ? void 0 : dropIndicator.isHidden) && /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2074
|
+
role: "row",
|
|
2075
|
+
...visuallyHiddenProps
|
|
2076
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2077
|
+
role: "gridcell"
|
|
2078
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2079
|
+
role: "button",
|
|
2080
|
+
...dropIndicator === null || dropIndicator === void 0 ? void 0 : dropIndicator.dropIndicatorProps,
|
|
2081
|
+
ref: dropIndicatorRef
|
|
2082
|
+
}))), /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2083
|
+
...(0, $gyhAV$mergeProps)(props, dropProps),
|
|
2084
|
+
ref: ref,
|
|
2085
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-row", {
|
|
2086
|
+
"is-active": isPressed,
|
|
2087
|
+
"is-selected": isSelected,
|
|
2088
|
+
"spectrum-Table-row--highlightSelection": state.selectionManager.selectionBehavior === "replace",
|
|
2089
|
+
"is-next-selected": state.selectionManager.isSelected(item.nextKey),
|
|
2090
|
+
"is-focused": isFocusVisibleWithin,
|
|
2091
|
+
"focus-ring": isFocusVisible,
|
|
2092
|
+
"is-hovered": isHovered,
|
|
2093
|
+
"is-disabled": isDisabled,
|
|
2094
|
+
"spectrum-Table-row--firstRow": isFirstRow,
|
|
2095
|
+
"spectrum-Table-row--lastRow": isLastRow,
|
|
2096
|
+
"spectrum-Table-row--isFlushBottom": isFlushWithContainerBottom
|
|
2097
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-row", {
|
|
2098
|
+
"react-spectrum-Table-row--dropTarget": isDropTarget
|
|
2099
|
+
}))
|
|
2100
|
+
}, children), isTableDroppable && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $7ee9a922ee4e8032$export$2c0bab5914a9d088), {
|
|
2101
|
+
rowProps: props,
|
|
2102
|
+
key: `${item.key}-after`,
|
|
2103
|
+
target: {
|
|
2104
|
+
key: item.key,
|
|
2105
|
+
type: "item",
|
|
2106
|
+
dropPosition: "after"
|
|
2107
|
+
}
|
|
2108
|
+
}));
|
|
2109
|
+
}
|
|
2110
|
+
function $bd013581c0a4b065$var$TableHeaderRow({ item: item, children: children, style: style, ...props }) {
|
|
2111
|
+
let { state: state, headerMenuOpen: headerMenuOpen } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
2112
|
+
let ref = (0, $gyhAV$useRef)();
|
|
2113
|
+
let { rowProps: rowProps } = (0, $gyhAV$useTableHeaderRow)({
|
|
2114
|
+
node: item,
|
|
2115
|
+
isVirtualized: true
|
|
2116
|
+
}, state, ref);
|
|
2117
|
+
let { hoverProps: hoverProps } = (0, $gyhAV$useHover)({
|
|
2118
|
+
...props,
|
|
2119
|
+
isDisabled: headerMenuOpen
|
|
2120
|
+
});
|
|
2121
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2122
|
+
...(0, $gyhAV$mergeProps)(rowProps, hoverProps),
|
|
2123
|
+
ref: ref,
|
|
2124
|
+
style: style
|
|
2125
|
+
}, children);
|
|
2126
|
+
}
|
|
2127
|
+
function $bd013581c0a4b065$var$TableDragCell({ cell: cell }) {
|
|
2128
|
+
let ref = (0, $gyhAV$useRef)();
|
|
2129
|
+
let { state: state, isTableDraggable: isTableDraggable } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
2130
|
+
let isDisabled = state.disabledKeys.has(cell.parentKey);
|
|
2131
|
+
let { gridCellProps: gridCellProps } = (0, $gyhAV$useTableCell)({
|
|
2132
|
+
node: cell,
|
|
2133
|
+
isVirtualized: true
|
|
2134
|
+
}, state, ref);
|
|
2135
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
2136
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
2137
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2138
|
+
...gridCellProps,
|
|
2139
|
+
ref: ref,
|
|
2140
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cell", {
|
|
2141
|
+
"is-disabled": isDisabled
|
|
2142
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-cell", "react-spectrum-Table-dragButtonCell"))
|
|
2143
|
+
}, isTableDraggable && !isDisabled && /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$DragButton, null)));
|
|
2144
|
+
}
|
|
2145
|
+
function $bd013581c0a4b065$var$TableCheckboxCell({ cell: cell }) {
|
|
2146
|
+
let ref = (0, $gyhAV$useRef)();
|
|
2147
|
+
let { state: state } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
2148
|
+
let isDisabled = state.disabledKeys.has(cell.parentKey);
|
|
2149
|
+
let { gridCellProps: gridCellProps } = (0, $gyhAV$useTableCell)({
|
|
2150
|
+
node: cell,
|
|
2151
|
+
isVirtualized: true
|
|
2152
|
+
}, state, ref);
|
|
2153
|
+
let { checkboxProps: checkboxProps } = (0, $gyhAV$useTableSelectionCheckbox)({
|
|
2154
|
+
key: cell.parentKey
|
|
2155
|
+
}, state);
|
|
2156
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
2157
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
2158
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2159
|
+
...gridCellProps,
|
|
2160
|
+
ref: ref,
|
|
2161
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cell", "spectrum-Table-checkboxCell", {
|
|
2162
|
+
"is-disabled": isDisabled
|
|
2163
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-cell"))
|
|
2164
|
+
}, state.selectionManager.selectionMode !== "none" && /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$Checkbox), {
|
|
2165
|
+
...checkboxProps,
|
|
2166
|
+
isEmphasized: true,
|
|
2167
|
+
isDisabled: isDisabled,
|
|
2168
|
+
UNSAFE_className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-checkbox")
|
|
2169
|
+
})));
|
|
2170
|
+
}
|
|
2171
|
+
function $bd013581c0a4b065$var$TableCell({ cell: cell }) {
|
|
2172
|
+
let { scale: scale } = (0, $gyhAV$useProvider)();
|
|
2173
|
+
let { state: state } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
2174
|
+
let isExpandableTable = "expandedKeys" in state;
|
|
2175
|
+
let ref = (0, $gyhAV$useRef)();
|
|
2176
|
+
let columnProps = cell.column.props;
|
|
2177
|
+
let isDisabled = state.disabledKeys.has(cell.parentKey);
|
|
2178
|
+
let { gridCellProps: gridCellProps } = (0, $gyhAV$useTableCell)({
|
|
2179
|
+
node: cell,
|
|
2180
|
+
isVirtualized: true
|
|
2181
|
+
}, state, ref);
|
|
2182
|
+
let { id: id, ...otherGridCellProps } = gridCellProps;
|
|
2183
|
+
let isFirstRowHeaderCell = state.collection.rowHeaderColumnKeys.keys().next().value === cell.column.key;
|
|
2184
|
+
let isRowExpandable = false;
|
|
2185
|
+
let showExpandCollapseButton = false;
|
|
2186
|
+
let levelOffset = 0;
|
|
2187
|
+
if ("expandedKeys" in state) {
|
|
2188
|
+
var _state_keyMap_get_props_UNSTABLE_childItems, _state_keyMap_get, _state_keyMap_get_props_children, _state_keyMap_get_props, _state_keyMap_get1;
|
|
2189
|
+
isRowExpandable = ((_state_keyMap_get = state.keyMap.get(cell.parentKey)) === null || _state_keyMap_get === void 0 ? void 0 : (_state_keyMap_get_props_UNSTABLE_childItems = _state_keyMap_get.props.UNSTABLE_childItems) === null || _state_keyMap_get_props_UNSTABLE_childItems === void 0 ? void 0 : _state_keyMap_get_props_UNSTABLE_childItems.length) > 0 || ((_state_keyMap_get1 = state.keyMap.get(cell.parentKey)) === null || _state_keyMap_get1 === void 0 ? void 0 : (_state_keyMap_get_props = _state_keyMap_get1.props) === null || _state_keyMap_get_props === void 0 ? void 0 : (_state_keyMap_get_props_children = _state_keyMap_get_props.children) === null || _state_keyMap_get_props_children === void 0 ? void 0 : _state_keyMap_get_props_children.length) > state.userColumnCount;
|
|
2190
|
+
showExpandCollapseButton = isFirstRowHeaderCell && isRowExpandable;
|
|
2191
|
+
// Offset based on level, and add additional offset if there is no expand/collapse button on a row
|
|
2192
|
+
levelOffset = (cell.level - 2) * $bd013581c0a4b065$var$LEVEL_OFFSET_WIDTH[scale] + (!showExpandCollapseButton ? $bd013581c0a4b065$var$LEVEL_OFFSET_WIDTH[scale] * 2 : 0);
|
|
2193
|
+
}
|
|
2194
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$FocusRing), {
|
|
2195
|
+
focusRingClass: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "focus-ring")
|
|
2196
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2197
|
+
...otherGridCellProps,
|
|
2198
|
+
"aria-labelledby": id,
|
|
2199
|
+
ref: ref,
|
|
2200
|
+
style: isExpandableTable && isFirstRowHeaderCell ? {
|
|
2201
|
+
paddingInlineStart: levelOffset
|
|
2202
|
+
} : {},
|
|
2203
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cell", {
|
|
2204
|
+
"spectrum-Table-cell--divider": columnProps.showDivider && cell.column.nextKey !== null,
|
|
2205
|
+
"spectrum-Table-cell--hideHeader": columnProps.hideHeader,
|
|
2206
|
+
"spectrum-Table-cell--hasExpandCollapseButton": showExpandCollapseButton,
|
|
2207
|
+
"is-disabled": isDisabled
|
|
2208
|
+
}, (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-cell", {
|
|
2209
|
+
"react-spectrum-Table-cell--alignStart": columnProps.align === "start",
|
|
2210
|
+
"react-spectrum-Table-cell--alignCenter": columnProps.align === "center",
|
|
2211
|
+
"react-spectrum-Table-cell--alignEnd": columnProps.align === "end"
|
|
2212
|
+
}))
|
|
2213
|
+
}, showExpandCollapseButton && /*#__PURE__*/ (0, $gyhAV$react).createElement($bd013581c0a4b065$var$ExpandableRowChevron, {
|
|
2214
|
+
cell: cell
|
|
2215
|
+
}), /*#__PURE__*/ (0, $gyhAV$react).createElement("span", {
|
|
2216
|
+
id: id,
|
|
2217
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-cellContents")
|
|
2218
|
+
}, cell.rendered)));
|
|
2219
|
+
}
|
|
2220
|
+
function $bd013581c0a4b065$var$ExpandableRowChevron({ cell: cell }) {
|
|
2221
|
+
// TODO: move some/all of the chevron button setup into a separate hook?
|
|
2222
|
+
let { direction: direction } = (0, $gyhAV$useLocale)();
|
|
2223
|
+
let { state: state } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
2224
|
+
let expandButtonRef = (0, $gyhAV$useRef)();
|
|
2225
|
+
let stringFormatter = (0, $gyhAV$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($cc43b2d4f6011c04$exports))));
|
|
2226
|
+
let isExpanded;
|
|
2227
|
+
if ("expandedKeys" in state) isExpanded = state.expandedKeys === "all" || state.expandedKeys.has(cell.parentKey);
|
|
2228
|
+
// Will need to keep the chevron as a button for iOS VO at all times since VO doesn't focus the cell. Also keep as button if cellAction is defined by the user in the future
|
|
2229
|
+
let { buttonProps: buttonProps } = (0, $gyhAV$useButton)({
|
|
2230
|
+
// Desktop and mobile both toggle expansion of a native expandable row on mouse/touch up
|
|
2231
|
+
onPress: ()=>{
|
|
2232
|
+
state.toggleKey(cell.parentKey);
|
|
2233
|
+
if (!(0, $gyhAV$isFocusVisible)()) {
|
|
2234
|
+
state.selectionManager.setFocused(true);
|
|
2235
|
+
state.selectionManager.setFocusedKey(cell.parentKey);
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
elementType: "span",
|
|
2239
|
+
"aria-label": isExpanded ? stringFormatter.format("collapse") : stringFormatter.format("expand")
|
|
2240
|
+
}, expandButtonRef);
|
|
2241
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("span", {
|
|
2242
|
+
...buttonProps,
|
|
2243
|
+
ref: expandButtonRef,
|
|
2244
|
+
// Override tabindex so that grid keyboard nav skips over it. Needs -1 so android talkback can actually "focus" it
|
|
2245
|
+
tabIndex: (0, $gyhAV$isAndroid)() ? -1 : undefined,
|
|
2246
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-expandButton", {
|
|
2247
|
+
"is-open": isExpanded
|
|
2248
|
+
})
|
|
2249
|
+
}, direction === "ltr" ? /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$spectrumiconsuiChevronRightMedium), null) : /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $gyhAV$spectrumiconsuiChevronLeftMedium), null));
|
|
2250
|
+
}
|
|
2251
|
+
function $bd013581c0a4b065$var$CenteredWrapper({ children: children }) {
|
|
2252
|
+
let { state: state } = $bd013581c0a4b065$export$3cb274deb6c2d854();
|
|
2253
|
+
let rowProps;
|
|
2254
|
+
if ("expandedKeys" in state) {
|
|
2255
|
+
let topLevelRowCount = [
|
|
2256
|
+
...state.keyMap.get(state.collection.body.key).childNodes
|
|
2257
|
+
].length;
|
|
2258
|
+
rowProps = {
|
|
2259
|
+
"aria-level": 1,
|
|
2260
|
+
"aria-posinset": topLevelRowCount + 1,
|
|
2261
|
+
"aria-setsize": topLevelRowCount + 1
|
|
2262
|
+
};
|
|
2263
|
+
} else rowProps = {
|
|
2264
|
+
"aria-rowindex": state.collection.headerRows.length + state.collection.size + 1
|
|
2265
|
+
};
|
|
2266
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2267
|
+
role: "row",
|
|
2268
|
+
...rowProps,
|
|
2269
|
+
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($325bc3d43b25708b$exports))), "react-spectrum-Table-centeredWrapper")
|
|
2270
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
2271
|
+
role: "rowheader",
|
|
2272
|
+
"aria-colspan": state.collection.columns.length
|
|
2273
|
+
}, children));
|
|
2274
|
+
}
|
|
2275
|
+
const $bd013581c0a4b065$export$517e02184d273d69 = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($bd013581c0a4b065$var$TableViewBase);
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
|
|
2279
|
+
function $d14697b14e638114$var$TableView(props, ref) {
|
|
2280
|
+
let { selectionStyle: selectionStyle, dragAndDropHooks: dragAndDropHooks } = props;
|
|
2281
|
+
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $gyhAV$useState)(selectionStyle !== "highlight");
|
|
2282
|
+
let isTableDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
2283
|
+
let state = (0, $gyhAV$useTableState)({
|
|
2284
|
+
...props,
|
|
2285
|
+
showSelectionCheckboxes: showSelectionCheckboxes,
|
|
2286
|
+
showDragButtons: isTableDraggable,
|
|
2287
|
+
selectionBehavior: props.selectionStyle === "highlight" ? "replace" : "toggle"
|
|
2288
|
+
});
|
|
2289
|
+
// If the selection behavior changes in state, we need to update showSelectionCheckboxes here due to the circular dependency...
|
|
2290
|
+
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !== "replace";
|
|
2291
|
+
if (shouldShowCheckboxes !== showSelectionCheckboxes) setShowSelectionCheckboxes(shouldShowCheckboxes);
|
|
2292
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $bd013581c0a4b065$export$517e02184d273d69), {
|
|
2293
|
+
...props,
|
|
2294
|
+
state: state,
|
|
2295
|
+
ref: ref
|
|
2296
|
+
});
|
|
2297
|
+
}
|
|
2298
|
+
const $d14697b14e638114$export$b3c27e869d856b7 = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($d14697b14e638114$var$TableView);
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
/*
|
|
2302
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
2303
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2304
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2305
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2306
|
+
*
|
|
2307
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2308
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2309
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2310
|
+
* governing permissions and limitations under the License.
|
|
2311
|
+
*/
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
function $be90f60881eac8aa$var$TreeGridTableView(props, ref) {
|
|
2315
|
+
let { selectionStyle: selectionStyle, dragAndDropHooks: dragAndDropHooks } = props;
|
|
2316
|
+
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $gyhAV$useState)(selectionStyle !== "highlight");
|
|
2317
|
+
let isTableDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
2318
|
+
let state = (0, $gyhAV$UNSTABLE_useTreeGridState)({
|
|
2319
|
+
...props,
|
|
2320
|
+
showSelectionCheckboxes: showSelectionCheckboxes,
|
|
2321
|
+
showDragButtons: isTableDraggable,
|
|
2322
|
+
selectionBehavior: props.selectionStyle === "highlight" ? "replace" : "toggle"
|
|
2323
|
+
});
|
|
2324
|
+
// If the selection behavior changes in state, we need to update showSelectionCheckboxes here due to the circular dependency...
|
|
2325
|
+
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !== "replace";
|
|
2326
|
+
if (shouldShowCheckboxes !== showSelectionCheckboxes) setShowSelectionCheckboxes(shouldShowCheckboxes);
|
|
2327
|
+
return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $bd013581c0a4b065$export$517e02184d273d69), {
|
|
2328
|
+
...props,
|
|
2329
|
+
state: state,
|
|
2330
|
+
ref: ref
|
|
2331
|
+
});
|
|
2332
|
+
}
|
|
2333
|
+
const $be90f60881eac8aa$export$5669566ac2c90964 = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($be90f60881eac8aa$var$TreeGridTableView);
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
function $9f67189e3f884740$var$TableViewWrapper(props, ref) {
|
|
2337
|
+
let { UNSTABLE_allowsExpandableRows: UNSTABLE_allowsExpandableRows, ...otherProps } = props;
|
|
2338
|
+
if ((0, $gyhAV$tableNestedRows)() && UNSTABLE_allowsExpandableRows) return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $be90f60881eac8aa$export$5669566ac2c90964), {
|
|
2339
|
+
...otherProps,
|
|
2340
|
+
ref: ref
|
|
2341
|
+
});
|
|
2342
|
+
else return /*#__PURE__*/ (0, $gyhAV$react).createElement((0, $d14697b14e638114$export$b3c27e869d856b7), {
|
|
2343
|
+
...otherProps,
|
|
2344
|
+
ref: ref
|
|
2345
|
+
});
|
|
2346
|
+
}
|
|
2347
|
+
/**
|
|
2348
|
+
* Tables are containers for displaying information. They allow users to quickly scan, sort, compare, and take action on large amounts of data.
|
|
2349
|
+
*/ const $9f67189e3f884740$export$b3c27e869d856b7 = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($9f67189e3f884740$var$TableViewWrapper);
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
// Override TS for Column to support spectrum specific props.
|
|
2354
|
+
const $e668f3d0f378a712$export$816b5d811295e6bc = (0, $gyhAV$Column);
|
|
2355
|
+
|
|
2356
|
+
|
|
2357
|
+
export {$e668f3d0f378a712$export$816b5d811295e6bc as Column, $9f67189e3f884740$export$b3c27e869d856b7 as TableView, $e668f3d0f378a712$re_export$TableHeader as TableHeader, $e668f3d0f378a712$re_export$TableBody as TableBody, $e668f3d0f378a712$re_export$Section as Section, $e668f3d0f378a712$re_export$Row as Row, $e668f3d0f378a712$re_export$Cell as Cell};
|
|
2358
|
+
//# sourceMappingURL=module.js.map
|