@qualtrics/ui-react 2.28.0 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist/__shared/cjs/{index-2ad33b44.js → index-30cc916b.js} +601 -391
- package/dist/__shared/cjs/{index-0c005184.js → index-e0e97b93.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox.js +54 -10
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +59 -7
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio.js +25 -5
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/Radio/RadioGroup.js +16 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay.js +1 -0
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +54 -78
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox.js +5 -2
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer.js +3 -2
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/FormFieldWrapper.js +36 -0
- package/dist/next/Form/FormFields/InputField.js +8 -0
- package/dist/next/Form/index.js +2 -0
- package/dist/next/Form/useForm.js +298 -0
- package/dist/next/Form/useFormField.js +25 -0
- package/dist/next/Form/utils/createFormInstance.js +32 -0
- package/dist/next/Form/utils/useFormContext.js +9 -0
- package/dist/next/Input/Input.js +47 -7
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuPane.js +2 -2
- package/dist/next/Pagination/Pagination.css.js +9 -0
- package/dist/next/Pagination/Pagination.css.ts.vanilla.js +8 -0
- package/dist/next/Pagination/Pagination.js +166 -0
- package/dist/next/Pagination/RowDisplayCount.js +46 -0
- package/dist/next/Pagination/index.js +2 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/ToggleButton.js +2 -2
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +171 -3
- package/dist/next/index.es.js +29 -23
- package/dist/next/index.js +1968 -1476
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +2 -2
|
@@ -37,7 +37,7 @@ import useLatest from '../../hooks/useLatest/useLatest.js';
|
|
|
37
37
|
import wrapAround from '../../utils/wrapAround/wrapAround.js';
|
|
38
38
|
|
|
39
39
|
const AdvancedTable = _ref => {
|
|
40
|
-
var
|
|
40
|
+
var _ref7;
|
|
41
41
|
let {
|
|
42
42
|
columnConfigs: externalColumnConfigs,
|
|
43
43
|
rows: rowsPropExternal,
|
|
@@ -108,7 +108,6 @@ const AdvancedTable = _ref => {
|
|
|
108
108
|
const endingRowIndex = startingRowIndex + rowsPerPage;
|
|
109
109
|
return rows.slice(startingRowIndex, endingRowIndex);
|
|
110
110
|
}, [rows, rowsPerPage, currentPage]);
|
|
111
|
-
const paginatedRowIds = useMemo(() => paginatedRows === null || paginatedRows === void 0 ? void 0 : paginatedRows.map(row => row.id), [paginatedRows]);
|
|
112
111
|
useEffect(() => {
|
|
113
112
|
if (rows && rowsPerPage) {
|
|
114
113
|
const pageCount = Math.ceil(rows.length / rowsPerPage);
|
|
@@ -241,16 +240,13 @@ const AdvancedTable = _ref => {
|
|
|
241
240
|
const [lastToggledRowId, setLastToggledRowId] = useState('');
|
|
242
241
|
|
|
243
242
|
// Enables using Set.prototype.has() vs Array.prototype.includes() for better performance at scale
|
|
244
|
-
const
|
|
243
|
+
const checkedRowIdsSet = useMemo(() => new Set(checkedRowIds), [checkedRowIds]);
|
|
245
244
|
useSortedRows({
|
|
246
245
|
columnConfigs,
|
|
247
246
|
onRowsChange,
|
|
248
247
|
selectedSortOption,
|
|
249
248
|
setCurrentPage
|
|
250
249
|
});
|
|
251
|
-
useEffect(() => {
|
|
252
|
-
setCheckedRowIdsSet(new Set(checkedRowIds));
|
|
253
|
-
}, [checkedRowIds]);
|
|
254
250
|
const {
|
|
255
251
|
focusedRowIndex,
|
|
256
252
|
focusedColumnIndex,
|
|
@@ -281,7 +277,6 @@ const AdvancedTable = _ref => {
|
|
|
281
277
|
});
|
|
282
278
|
return ids;
|
|
283
279
|
}, [rowsProp]);
|
|
284
|
-
const totalRowsCountWithExpansion = useMemo(() => getAllRowIds().length, [getAllRowIds]);
|
|
285
280
|
const hasExpandableRows = useMemo(() => rows === null || rows === void 0 ? void 0 : rows.some(_ref3 => {
|
|
286
281
|
let {
|
|
287
282
|
hasChildRows
|
|
@@ -312,104 +307,85 @@ const AdvancedTable = _ref => {
|
|
|
312
307
|
});
|
|
313
308
|
return index === -1 ? 0 : index;
|
|
314
309
|
};
|
|
310
|
+
const getAllLeafIds = row => {
|
|
311
|
+
if (!row.childRows) return [row.id];
|
|
312
|
+
return row.childRows.reduce((arr, child) => {
|
|
313
|
+
arr.push(...getAllLeafIds(child));
|
|
314
|
+
return arr;
|
|
315
|
+
}, []);
|
|
316
|
+
};
|
|
315
317
|
const getCheckboxStateForRow = row => {
|
|
316
|
-
|
|
318
|
+
const ids = getAllLeafIds(row.rowPropReference);
|
|
319
|
+
const checkedIds = ids.filter(id => checkedRowIdsSet.has(id));
|
|
320
|
+
if (checkedIds.length === ids.length) {
|
|
317
321
|
return 'true';
|
|
318
322
|
}
|
|
319
|
-
if (
|
|
323
|
+
if (checkedIds.length) {
|
|
320
324
|
return 'mixed';
|
|
321
325
|
}
|
|
322
326
|
return 'false';
|
|
323
327
|
};
|
|
324
328
|
const columnHeaderCheckboxState = useMemo(() => {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
return 'true';
|
|
329
|
-
}
|
|
330
|
-
if (checkedPaginatedRowIds.length) {
|
|
331
|
-
return 'mixed';
|
|
332
|
-
}
|
|
333
|
-
return 'false';
|
|
334
|
-
}
|
|
335
|
-
if (checkedRowIds.length === totalRowsCountWithExpansion) {
|
|
329
|
+
const visibleRows = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows;
|
|
330
|
+
const checkedRows = visibleRows.filter(row => getCheckboxStateForRow(row) === 'true');
|
|
331
|
+
if (checkedRows.length === visibleRows.length) {
|
|
336
332
|
return 'true';
|
|
337
333
|
}
|
|
338
|
-
if (
|
|
334
|
+
if (checkedRows.length) {
|
|
339
335
|
return 'mixed';
|
|
340
336
|
}
|
|
341
337
|
return 'false';
|
|
342
|
-
}, [
|
|
338
|
+
}, [checkedRowIdsSet, paginatedRows, rows]);
|
|
343
339
|
const handleColumnHeaderCheckboxToggle = () => {
|
|
344
340
|
setLastToggledRowId('');
|
|
345
|
-
if (
|
|
346
|
-
if (paginatedRowIds !== null && paginatedRowIds !== void 0 && paginatedRowIds.every(rowId => checkedRowIds.includes(rowId))) {
|
|
347
|
-
setCheckedRowIds(checkedRowIds.filter(checkedRowId => !paginatedRowIds.includes(checkedRowId)));
|
|
348
|
-
} else {
|
|
349
|
-
setCheckedRowIds([...checkedRowIds, ...paginatedRowIds]);
|
|
350
|
-
}
|
|
351
|
-
} else if (checkedRowIds.length === totalRowsCountWithExpansion) {
|
|
341
|
+
if (columnHeaderCheckboxState === 'true') {
|
|
352
342
|
setCheckedRowIds([]);
|
|
353
343
|
} else {
|
|
354
|
-
|
|
344
|
+
const visibleLeafIds = Array.from((paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows).reduce((set, _ref5) => {
|
|
345
|
+
let {
|
|
346
|
+
rowPropReference
|
|
347
|
+
} = _ref5;
|
|
348
|
+
getAllLeafIds(rowPropReference).forEach(id => set.add(id));
|
|
349
|
+
return set;
|
|
350
|
+
}, new Set()));
|
|
351
|
+
setCheckedRowIds(visibleLeafIds);
|
|
355
352
|
}
|
|
356
353
|
};
|
|
357
354
|
const multiUpdateCheckedRowIds = (startIndex, endIndex) => {
|
|
358
|
-
var _rows$endIndex;
|
|
359
355
|
if (!rows || startIndex === headerRowIndex || endIndex === headerRowIndex) {
|
|
360
356
|
return;
|
|
361
357
|
}
|
|
362
|
-
const
|
|
363
|
-
const isEndIndexChecked =
|
|
364
|
-
|
|
365
|
-
const
|
|
366
|
-
|
|
367
|
-
const {
|
|
368
|
-
id: rowId,
|
|
369
|
-
hasChildRows,
|
|
358
|
+
const endRow = rows[endIndex];
|
|
359
|
+
const isEndIndexChecked = getCheckboxStateForRow(endRow) === 'true';
|
|
360
|
+
setLastToggledRowId(endRow.id);
|
|
361
|
+
const newIds = rows.slice(Math.min(startIndex, endIndex), Math.max(startIndex, endIndex) + 1).reduce((set, _ref6) => {
|
|
362
|
+
let {
|
|
370
363
|
rowPropReference
|
|
371
|
-
} =
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
newCheckedRowIds = newCheckedRowIds.filter(id => !idsToUncheck.includes(id));
|
|
381
|
-
} else if (!checkedRowIdsSet.has(rowId)) {
|
|
382
|
-
let idsToCheck = [rowId];
|
|
383
|
-
if (hasChildRows) {
|
|
384
|
-
idsToCheck = idsToCheck.concat(getAllRowIds(rowPropReference.childRows));
|
|
385
|
-
}
|
|
386
|
-
newCheckedRowIds = newCheckedRowIds.concat(idsToCheck);
|
|
387
|
-
}
|
|
364
|
+
} = _ref6;
|
|
365
|
+
getAllLeafIds(rowPropReference).forEach(id => set.add(id));
|
|
366
|
+
return set;
|
|
367
|
+
}, new Set());
|
|
368
|
+
if (isEndIndexChecked) {
|
|
369
|
+
setCheckedRowIds(checkedRowIds.filter(id => !newIds.has(id)));
|
|
370
|
+
} else {
|
|
371
|
+
setCheckedRowIds([...checkedRowIds, ...Array.from(newIds).filter(id => !checkedRowIdsSet.has(id))]);
|
|
388
372
|
}
|
|
389
|
-
setLastToggledRowId(endRowId);
|
|
390
|
-
setCheckedRowIds(newCheckedRowIds);
|
|
391
373
|
};
|
|
392
374
|
const singleUpdateCheckedRowIds = index => {
|
|
393
375
|
if (!rows) {
|
|
394
376
|
return;
|
|
395
377
|
}
|
|
378
|
+
const row = rows[index];
|
|
396
379
|
const {
|
|
397
380
|
id: rowId,
|
|
398
|
-
rowPropReference
|
|
399
|
-
|
|
400
|
-
} = rows[index];
|
|
381
|
+
rowPropReference
|
|
382
|
+
} = row;
|
|
401
383
|
setLastToggledRowId(rowId);
|
|
402
|
-
if (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
idsToUncheck = idsToUncheck.concat(getAllRowIds(rowPropReference.childRows));
|
|
406
|
-
}
|
|
407
|
-
setCheckedRowIds(checkedRowIds.filter(id => !idsToUncheck.includes(id)));
|
|
384
|
+
if (getCheckboxStateForRow(row) === 'true') {
|
|
385
|
+
const idsToUncheck = new Set(getAllLeafIds(rowPropReference));
|
|
386
|
+
setCheckedRowIds(checkedRowIds.filter(id => !idsToUncheck.has(id)));
|
|
408
387
|
} else {
|
|
409
|
-
|
|
410
|
-
if (hasChildRows) {
|
|
411
|
-
idsToCheck = idsToCheck.concat(getAllRowIds(rowPropReference.childRows).filter(r => !checkedRowIdsSet.has(r)));
|
|
412
|
-
}
|
|
388
|
+
const idsToCheck = getAllLeafIds(rowPropReference).filter(id => !checkedRowIdsSet.has(id));
|
|
413
389
|
setCheckedRowIds([...checkedRowIds, ...idsToCheck]);
|
|
414
390
|
}
|
|
415
391
|
};
|
|
@@ -678,7 +654,7 @@ const AdvancedTable = _ref => {
|
|
|
678
654
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
679
655
|
role: "rowgroup",
|
|
680
656
|
className: styles.advancedTableRowGroup
|
|
681
|
-
}, ((
|
|
657
|
+
}, ((_ref7 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref7 !== void 0 ? _ref7 : []).map((row, rowIndex) => {
|
|
682
658
|
const {
|
|
683
659
|
id: rowId,
|
|
684
660
|
data,
|
|
@@ -768,13 +744,13 @@ const AdvancedTable = _ref => {
|
|
|
768
744
|
};
|
|
769
745
|
|
|
770
746
|
// TODO: move hook to separate file
|
|
771
|
-
function useSortedRows(
|
|
747
|
+
function useSortedRows(_ref8) {
|
|
772
748
|
let {
|
|
773
749
|
columnConfigs,
|
|
774
750
|
onRowsChange,
|
|
775
751
|
selectedSortOption,
|
|
776
752
|
setCurrentPage
|
|
777
|
-
} =
|
|
753
|
+
} = _ref8;
|
|
778
754
|
const columnConfigsRef = useLatest(columnConfigs);
|
|
779
755
|
const onRowsChangeRef = useLatest(onRowsChange);
|
|
780
756
|
useDidUpdate(() => {
|
|
@@ -783,10 +759,10 @@ function useSortedRows(_ref6) {
|
|
|
783
759
|
columnId,
|
|
784
760
|
index
|
|
785
761
|
} = selectedSortOption;
|
|
786
|
-
const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(
|
|
762
|
+
const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(_ref9 => {
|
|
787
763
|
let {
|
|
788
764
|
id
|
|
789
|
-
} =
|
|
765
|
+
} = _ref9;
|
|
790
766
|
return id === columnId;
|
|
791
767
|
})) === null || _columnConfigsRef$cur === void 0 || (_columnConfigsRef$cur = _columnConfigsRef$cur.sortOptions) === null || _columnConfigsRef$cur === void 0 || (_columnConfigsRef$cur = _columnConfigsRef$cur[index]) === null || _columnConfigsRef$cur === void 0 ? void 0 : _columnConfigsRef$cur.sort;
|
|
792
768
|
if (typeof sort === 'function' && onRowsChangeRef.current) {
|
|
@@ -797,7 +773,7 @@ function useSortedRows(_ref6) {
|
|
|
797
773
|
}
|
|
798
774
|
|
|
799
775
|
// TODO: move hook to separate file
|
|
800
|
-
function useFocusState(
|
|
776
|
+
function useFocusState(_ref10) {
|
|
801
777
|
let {
|
|
802
778
|
headerRowIndex,
|
|
803
779
|
maxRowIndex,
|
|
@@ -807,7 +783,7 @@ function useFocusState(_ref8) {
|
|
|
807
783
|
pinnedUnpinnedColumnOrder,
|
|
808
784
|
tableRef,
|
|
809
785
|
currentPage
|
|
810
|
-
} =
|
|
786
|
+
} = _ref10;
|
|
811
787
|
const cellRefs = useRef({});
|
|
812
788
|
const pinnedContainersRef = useRef({});
|
|
813
789
|
const [focusedRowIndex, setFocusedRowIndex] = useState(headerRowIndex);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"advancedTable":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._z3Ye0{overflow:auto;position:relative;max-width:100%;max-height:100%}._ljYb8,._z3Ye0{background-color:#fff}._ljYb8{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._DagMI{margin-bottom:4px}._aeY8-{position:-webkit-sticky;position:sticky;top:0;z-index:100}._4BXWr{display:flex}._4BXWr:focus{outline:none}._4BXWr.focus-visible ._EG-G4:after,._4BXWr:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._4BXWr.focus-visible ._EG-G4:last-of-type:after,._4BXWr:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._4BXWr.focus-visible ._EG-G4:first-of-type:after,._4BXWr:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._4BXWr.focus-visible ._EG-G4._b0ppg:after,._4BXWr:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:1px}._lfcAx{padding-right:3px}._FnQtw{display:flex}._FnQtw._CHSF0 ._EG-G4,._FnQtw._CHSF0 ._jPr2x{cursor:pointer}._FnQtw._F0o7y ._EG-G4,._FnQtw._F0o7y ._jPr2x{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._FnQtw._F0o7y ._EG-G4._b0ppg,._FnQtw._F0o7y ._jPr2x._b0ppg{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._FnQtw._F0o7y ._EG-G4._b0ppg ._DQvjk,._FnQtw._F0o7y ._EG-G4._b0ppg ._jPr2x,._FnQtw._F0o7y ._EG-G4._b0ppg ._Pe-cd,._FnQtw._F0o7y ._jPr2x._b0ppg ._DQvjk,._FnQtw._F0o7y ._jPr2x._b0ppg ._jPr2x,._FnQtw._F0o7y ._jPr2x._b0ppg ._Pe-cd{background-color:rgba(11,110,208,.08)}._FnQtw._CHSF0:hover:not(._F0o7y) ._EG-G4,._FnQtw._CHSF0:hover:not(._F0o7y) ._jPr2x{background-color:#f9f9f9}._FnQtw._CHSF0:active:not(._F0o7y):not(._FnQtw._CHSF0:active:not(._F0o7y):has(._Pe-cd:active)) ._EG-G4,._FnQtw._CHSF0:active:not(._F0o7y):not(._FnQtw._CHSF0:active:not(._F0o7y):has(._Pe-cd:active)) ._jPr2x{background-color:#f3f3f3}._FnQtw:focus{outline:none}._FnQtw.focus-visible ._EG-G4:after,._FnQtw:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._FnQtw.focus-visible ._EG-G4:last-of-type:after,._FnQtw:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._FnQtw.focus-visible ._EG-G4:first-of-type:after,._FnQtw:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._FnQtw.focus-visible ._EG-G4._b0ppg:after,._FnQtw:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:0}._FnQtw:last-of-type:focus{outline:none}._FnQtw:last-of-type.focus-visible ._EG-G4:after,._FnQtw:last-of-type:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._FnQtw:last-of-type.focus-visible ._EG-G4:last-of-type:after,._FnQtw:last-of-type:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._FnQtw:last-of-type.focus-visible ._EG-G4:first-of-type:after,._FnQtw:last-of-type:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._FnQtw:last-of-type.focus-visible ._EG-G4._b0ppg:after,._FnQtw:last-of-type:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:1px}._FnQtw:last-of-type ._DQvjk:focus{outline:none}._FnQtw:last-of-type ._DQvjk._ldtOD.focus-visible:after,._FnQtw:last-of-type ._DQvjk._ldtOD:focus-visible:after,._FnQtw:last-of-type ._DQvjk.focus-visible:after,._FnQtw:last-of-type ._DQvjk:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._FnQtw:first-of-type:focus{outline:none}._FnQtw:first-of-type.focus-visible ._EG-G4:after,._FnQtw:first-of-type:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._FnQtw:first-of-type.focus-visible ._EG-G4:last-of-type:after,._FnQtw:first-of-type:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._FnQtw:first-of-type.focus-visible ._EG-G4:first-of-type:after,._FnQtw:first-of-type:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._FnQtw:first-of-type.focus-visible ._EG-G4._b0ppg:after,._FnQtw:first-of-type:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:0}._FnQtw:first-of-type ._DQvjk:focus{outline:none}._FnQtw:first-of-type ._DQvjk._ldtOD.focus-visible:after,._FnQtw:first-of-type ._DQvjk._ldtOD:focus-visible:after,._FnQtw:first-of-type ._DQvjk.focus-visible:after,._FnQtw:first-of-type ._DQvjk:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._uKCXE{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._uKCXE._8i3oQ{flex-grow:1}._uKCXE._p-gDZ{cursor:pointer}._uKCXE._p-gDZ:hover:not(._atGQR){background-color:#f9f9f9;border-bottom-color:#6a6d70}._uKCXE._p-gDZ:active:not(._atGQR){background-color:#f3f3f3}._uKCXE._KRtFL:not(._atGQR){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._uKCXE._atGQR{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._uKCXE ._9szvz{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._uKCXE ._9szvz._lzRda{left:-1px}._uKCXE ._9szvz._pMY9l{right:0}._uKCXE ._hPx-z{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._uKCXE ._hPx-z._lzRda{left:-2px}._uKCXE ._hPx-z._pMY9l{right:-1px}._uKCXE:first-of-type ._lzRda._9szvz{left:0;width:2px;border-left:1px solid #fff}._uKCXE:first-of-type ._lzRda._hPx-z{left:0}._uKCXE:last-of-type ._pMY9l._9szvz{right:0;width:2px;border-right:1px solid #fff}._uKCXE:last-of-type ._pMY9l._hPx-z{right:0}._uKCXE ._mqmJe{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._uKCXE ._mqmJe ._2M7nz{position:absolute;width:2px;right:2px;top:0;bottom:0}._uKCXE ._mqmJe ._2M7nz._ycZAp{background-color:#0a6ed1}._uKCXE ._mqmJe:hover ._2M7nz:not(._ycZAp){background-color:#d9d9d9}._uKCXE ._z9XFv{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._uKCXE ._z9XFv._lyl5e{flex-direction:row-reverse;justify-content:flex-start}._uKCXE ._z9XFv._lyl5e ._5en04{margin:1px 7px 1px 1px}._uKCXE ._z9XFv ._0heED{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._uKCXE ._z9XFv ._5en04{margin:1px 1px 1px 7px;flex-shrink:0}._uKCXE ._SCrPU{margin-left:6px;margin-right:4px;flex-shrink:0}._uKCXE ._lkILN{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._uKCXE:focus{outline:none}._uKCXE._ldtOD.focus-visible:after,._uKCXE._ldtOD:focus-visible:after,._uKCXE.focus-visible:after,._uKCXE:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._2bz7e{margin-right:6px}._b0ppg{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._b0ppg[focus-within]{z-index:30}._b0ppg:focus-within{z-index:30}._DQvjk{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._DQvjk ._n66MY{width:100%;padding:12px 12px 11px;overflow:hidden}._DQvjk._atGQR{background-color:#efefef;border-bottom-color:#dfdfe1}._DQvjk._8i3oQ{flex-grow:1}._DQvjk:focus{outline:none}._DQvjk._ldtOD.focus-visible:after,._DQvjk._ldtOD:focus-visible:after,._DQvjk.focus-visible:after,._DQvjk:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._jPr2x{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._jPr2x._v6WyX{border-bottom-color:#d9d9d9;background-color:#fff}._Pe-cd{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._Pe-cd._v6WyX{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._Pe-cd:focus input~span,._Pe-cd:hover input~span{border-color:#0b6ed0}._Pe-cd ._XPhYN{position:relative;display:inline-flex}._Pe-cd ._XPhYN ._VNPCq{margin:0!important}._Pe-cd ._XPhYN ._r2IhR{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._5dSQb{justify-content:flex-start}._Y4n9x{justify-content:center;text-align:center}._lyl5e{justify-content:flex-end;text-align:right}._yQpfl{display:none}._c-QdE{opacity:0;height:0;width:0;overflow:hidden}._6bLj8,._c-QdE{position:absolute}._6bLj8{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._BJqT0{max-width:250px;min-width:150px!important}";
|
|
4
|
+
var styles = {"advancedTable":"_z3Ye0","advancedTablePaginationContainer":"_ljYb8","advancedTablePagination":"_DagMI","advancedTableColumnHeadersRowGroup":"_aeY8-","advancedTableColumnHeaders":"_4BXWr","advancedTableRowChild":"_EG-G4","pinnedContainer":"_b0ppg","advancedTableRowGroup":"_lfcAx","advancedTableRow":"_FnQtw","hasRowAction":"_CHSF0","advancedTableExpandRowSpacer":"_jPr2x","isSelected":"_F0o7y","advancedTableCheckbox":"_Pe-cd","advancedTableCell":"_DQvjk","showFocusRing":"_ldtOD","advancedTableColumnHeader":"_uKCXE","fillRemainingSpace":"_8i3oQ","isSortable":"_p-gDZ","isDragging":"_atGQR","isSorted":"_KRtFL","dropTargetLine":"_9szvz","dropTargetLeft":"_lzRda","dropTargetRight":"_pMY9l","dropTargetMarker":"_hPx-z","resizeHandle":"_mqmJe","resizeLine":"_2M7nz","isResizing":"_ycZAp","advancedTableColumnHeaderLabel":"_z9XFv","rightAligned":"_lyl5e","sortIcon":"_5en04","advancedTableColumnHeaderLabelText":"_0heED","advancedTableColumnHeaderMenu":"_SCrPU","advancedTableColumnHeaderMenuHiddenAnchor":"_lkILN","advancedTableColumnHeaderMenuItemIcon":"_2bz7e","advancedTableCellContainer":"_n66MY","header":"_v6WyX","checkboxContainer":"_XPhYN","checkbox":"_VNPCq","mixed":"_r2IhR","leftAligned":"_5dSQb","centerAligned":"_Y4n9x","hiddenDescription":"_yQpfl","hiddenLiveRegion":"_c-QdE","dragPreview":"_6bLj8","rowActionMenuPane":"_BJqT0"};
|
|
5
|
+
var stylesheet="._z3Ye0{overflow:auto;position:relative;max-width:100%;max-height:100%}._ljYb8,._z3Ye0{background-color:#fff}._ljYb8{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._DagMI{margin-bottom:4px}._aeY8-{position:-webkit-sticky;position:sticky;top:0;z-index:100}._4BXWr{display:flex}._4BXWr:focus{outline:none}._4BXWr.focus-visible ._EG-G4:after,._4BXWr:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._4BXWr.focus-visible ._EG-G4:last-of-type:after,._4BXWr:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._4BXWr.focus-visible ._EG-G4:first-of-type:after,._4BXWr:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._4BXWr.focus-visible ._EG-G4._b0ppg:after,._4BXWr:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:1px}._lfcAx{padding-right:3px}._FnQtw{display:flex}._FnQtw._CHSF0 ._EG-G4,._FnQtw._CHSF0 ._jPr2x{cursor:pointer}._FnQtw._F0o7y ._EG-G4,._FnQtw._F0o7y ._jPr2x{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._FnQtw._F0o7y ._EG-G4._b0ppg,._FnQtw._F0o7y ._jPr2x._b0ppg{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._FnQtw._F0o7y ._EG-G4._b0ppg ._DQvjk,._FnQtw._F0o7y ._EG-G4._b0ppg ._jPr2x,._FnQtw._F0o7y ._EG-G4._b0ppg ._Pe-cd,._FnQtw._F0o7y ._jPr2x._b0ppg ._DQvjk,._FnQtw._F0o7y ._jPr2x._b0ppg ._jPr2x,._FnQtw._F0o7y ._jPr2x._b0ppg ._Pe-cd{background-color:rgba(11,110,208,.08)}._FnQtw._CHSF0:hover:not(._F0o7y) ._EG-G4,._FnQtw._CHSF0:hover:not(._F0o7y) ._jPr2x{background-color:#f9f9f9}._FnQtw._CHSF0:active:not(._F0o7y):not(._FnQtw._CHSF0:active:not(._F0o7y):has(._Pe-cd:active)) ._EG-G4,._FnQtw._CHSF0:active:not(._F0o7y):not(._FnQtw._CHSF0:active:not(._F0o7y):has(._Pe-cd:active)) ._jPr2x{background-color:#f3f3f3}._FnQtw:focus{outline:none}._FnQtw.focus-visible ._EG-G4:after,._FnQtw:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._FnQtw.focus-visible ._EG-G4:last-of-type:after,._FnQtw:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._FnQtw.focus-visible ._EG-G4:first-of-type:after,._FnQtw:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._FnQtw.focus-visible ._EG-G4._b0ppg:after,._FnQtw:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:0}._FnQtw:last-of-type:focus{outline:none}._FnQtw:last-of-type.focus-visible ._EG-G4:after,._FnQtw:last-of-type:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._FnQtw:last-of-type.focus-visible ._EG-G4:last-of-type:after,._FnQtw:last-of-type:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._FnQtw:last-of-type.focus-visible ._EG-G4:first-of-type:after,._FnQtw:last-of-type:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._FnQtw:last-of-type.focus-visible ._EG-G4._b0ppg:after,._FnQtw:last-of-type:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:1px}._FnQtw:last-of-type ._DQvjk:focus{outline:none}._FnQtw:last-of-type ._DQvjk._ldtOD.focus-visible:after,._FnQtw:last-of-type ._DQvjk._ldtOD:focus-visible:after,._FnQtw:last-of-type ._DQvjk.focus-visible:after,._FnQtw:last-of-type ._DQvjk:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._FnQtw:first-of-type:focus{outline:none}._FnQtw:first-of-type.focus-visible ._EG-G4:after,._FnQtw:first-of-type:focus-visible ._EG-G4:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._FnQtw:first-of-type.focus-visible ._EG-G4:last-of-type:after,._FnQtw:first-of-type:focus-visible ._EG-G4:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._FnQtw:first-of-type.focus-visible ._EG-G4:first-of-type:after,._FnQtw:first-of-type:focus-visible ._EG-G4:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._FnQtw:first-of-type.focus-visible ._EG-G4._b0ppg:after,._FnQtw:first-of-type:focus-visible ._EG-G4._b0ppg:after{right:-3px;bottom:0}._FnQtw:first-of-type ._DQvjk:focus{outline:none}._FnQtw:first-of-type ._DQvjk._ldtOD.focus-visible:after,._FnQtw:first-of-type ._DQvjk._ldtOD:focus-visible:after,._FnQtw:first-of-type ._DQvjk.focus-visible:after,._FnQtw:first-of-type ._DQvjk:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._uKCXE{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._uKCXE._8i3oQ{flex-grow:1}._uKCXE._p-gDZ{cursor:pointer}._uKCXE._p-gDZ:hover:not(._atGQR){background-color:#f9f9f9;border-bottom-color:#6a6d70}._uKCXE._p-gDZ:active:not(._atGQR){background-color:#f3f3f3}._uKCXE._KRtFL:not(._atGQR){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._uKCXE._atGQR{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._uKCXE ._9szvz{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._uKCXE ._9szvz._lzRda{left:-1px}._uKCXE ._9szvz._pMY9l{right:0}._uKCXE ._hPx-z{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._uKCXE ._hPx-z._lzRda{left:-2px}._uKCXE ._hPx-z._pMY9l{right:-1px}._uKCXE:first-of-type ._lzRda._9szvz{left:0;width:2px;border-left:1px solid #fff}._uKCXE:first-of-type ._lzRda._hPx-z{left:0}._uKCXE:last-of-type ._pMY9l._9szvz{right:0;width:2px;border-right:1px solid #fff}._uKCXE:last-of-type ._pMY9l._hPx-z{right:0}._uKCXE ._mqmJe{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._uKCXE ._mqmJe ._2M7nz{position:absolute;width:2px;right:2px;top:0;bottom:0}._uKCXE ._mqmJe ._2M7nz._ycZAp{background-color:#0a6ed1}._uKCXE ._mqmJe:hover ._2M7nz:not(._ycZAp){background-color:#d9d9d9}._uKCXE ._z9XFv{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._uKCXE ._z9XFv._lyl5e{flex-direction:row-reverse;justify-content:flex-start}._uKCXE ._z9XFv._lyl5e ._5en04{margin:1px 7px 1px 1px}._uKCXE ._z9XFv ._0heED{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._uKCXE ._z9XFv ._5en04{margin:1px 1px 1px 7px;flex-shrink:0}._uKCXE ._SCrPU{margin-left:6px;margin-right:4px;flex-shrink:0}._uKCXE ._lkILN{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._uKCXE:focus{outline:none}._uKCXE._ldtOD.focus-visible:after,._uKCXE._ldtOD:focus-visible:after,._uKCXE.focus-visible:after,._uKCXE:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._2bz7e{margin-right:6px}._b0ppg{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._b0ppg[focus-within]{z-index:30}._b0ppg:focus-within{z-index:30}._DQvjk{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._DQvjk ._n66MY{width:100%;padding:12px 12px 11px;overflow:hidden}._DQvjk._atGQR{background-color:#efefef;border-bottom-color:#dfdfe1}._DQvjk._8i3oQ{flex-grow:1}._DQvjk:focus{outline:none}._DQvjk._ldtOD.focus-visible:after,._DQvjk._ldtOD:focus-visible:after,._DQvjk.focus-visible:after,._DQvjk:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._jPr2x{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._jPr2x._v6WyX{border-bottom-color:#d9d9d9;background-color:#fff}._Pe-cd{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._Pe-cd._v6WyX{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._Pe-cd:focus input~span,._Pe-cd:hover input~span{border-color:#0b6ed0}._Pe-cd ._XPhYN{position:relative;display:inline-flex}._Pe-cd ._XPhYN ._VNPCq{margin:0!important}._Pe-cd ._XPhYN ._r2IhR{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._5dSQb{justify-content:flex-start}._Y4n9x{justify-content:center;text-align:center}._lyl5e{justify-content:flex-end;text-align:right}._yQpfl{display:none}._c-QdE{opacity:0;height:0;width:0;overflow:hidden}._6bLj8,._c-QdE{position:absolute}._6bLj8{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._BJqT0{max-width:250px;min-width:150px!important}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"collapsibleSearchInput":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._6yqzu{display:inline-block;width:36px;transition:width .25s ease-out}._TimlY{width:100%}._TqoIH>input{padding-right:0!important}._AHHOB>svg{fill:#515559}";
|
|
4
|
+
var styles = {"collapsibleSearchInput":"_6yqzu","searchInput":"_TimlY","searchInputCollapsed":"_TqoIH","iconButton":"_AHHOB"};
|
|
5
|
+
var stylesheet="._6yqzu{display:inline-block;width:36px;transition:width .25s ease-out}._TimlY{width:100%}._TqoIH>input{padding-right:0!important}._AHHOB>svg{fill:#515559}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -4,6 +4,7 @@ import './hooks/index.js';
|
|
|
4
4
|
import '../../hooks/index.js';
|
|
5
5
|
import '../../hooks/useIsFocused/index.js';
|
|
6
6
|
import useId from '../../hooks/useId/useId.js';
|
|
7
|
+
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
7
8
|
import useIsFocused from '../../hooks/useIsFocused/useIsFocused.js';
|
|
8
9
|
import useComboboxValue from './hooks/useComboboxValue/useComboboxValue.js';
|
|
9
10
|
import useComboboxFocusSequence from './hooks/useComboboxFocusSequence/useComboboxFocusSequence.js';
|
|
@@ -20,6 +21,8 @@ function Combobox(_ref) {
|
|
|
20
21
|
isInvalid,
|
|
21
22
|
isRequired,
|
|
22
23
|
isLoading = false,
|
|
24
|
+
isOpen: externalIsOpen,
|
|
25
|
+
onIsOpenChange: externalOnIsOpenChange,
|
|
23
26
|
'aria-label': ariaLabel,
|
|
24
27
|
'aria-labelledby': ariaLabelledBy,
|
|
25
28
|
'data-testid': dataTestId,
|
|
@@ -28,7 +31,7 @@ function Combobox(_ref) {
|
|
|
28
31
|
const inputRef = useRef(null);
|
|
29
32
|
const flyoutRef = useRef(null);
|
|
30
33
|
const flyoutId = useId();
|
|
31
|
-
const [isOpen, setIsOpen] =
|
|
34
|
+
const [isOpen, setIsOpen] = useControllableState(externalIsOpen !== null && externalIsOpen !== void 0 ? externalIsOpen : false, externalOnIsOpenChange, externalIsOpen);
|
|
32
35
|
const [hoveredOption, setHoveredOption] = useState(null);
|
|
33
36
|
const [inputFocusRef, isComponentFocused] = useIsFocused();
|
|
34
37
|
const {
|
|
@@ -59,7 +62,7 @@ function Combobox(_ref) {
|
|
|
59
62
|
flyoutRef,
|
|
60
63
|
flyoutId,
|
|
61
64
|
isOpen,
|
|
62
|
-
setIsOpen,
|
|
65
|
+
setIsOpen: setIsOpen,
|
|
63
66
|
inputRef,
|
|
64
67
|
inputFocusRef,
|
|
65
68
|
isDisabled,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"loadingSpinner":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._DO9D6 :after{background-color:#515559!important}._V66-w>input:focus{box-shadow:none!important;border:1px solid #898989!important}._B4AEv{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._B4AEv ._1u84a ._EHYRX{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._B4AEv ._1u84a:first-child ._7bgS-{display:none}._B4AEv ._kVK9H{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._B4AEv ._kVK9H:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._B4AEv ._kVK9H:hover._G7Qcw{background-color:#e4effa}._B4AEv ._kVK9H._G7Qcw{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._B4AEv ._kVK9H:active:not(._G7Qcw){background-color:#e8e9e9}";
|
|
4
|
+
var styles = {"loadingSpinner":"_DO9D6","ignoreFocusStyle":"_V66-w","flyout":"_B4AEv","group":"_1u84a","header":"_EHYRX","divider":"_7bgS-","option":"_kVK9H","selected":"_G7Qcw"};
|
|
5
|
+
var stylesheet="._DO9D6 :after{background-color:#515559!important}._V66-w>input:focus{box-shadow:none!important;border:1px solid #898989!important}._B4AEv{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._B4AEv ._1u84a ._EHYRX{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._B4AEv ._1u84a:first-child ._7bgS-{display:none}._B4AEv ._kVK9H{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._B4AEv ._kVK9H:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._B4AEv ._kVK9H:hover._G7Qcw{background-color:#e4effa}._B4AEv ._kVK9H._G7Qcw{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._B4AEv ._kVK9H:active:not(._G7Qcw){background-color:#e8e9e9}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -93,13 +93,14 @@ const Drawer = _ref => {
|
|
|
93
93
|
setIsHidden(true);
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
|
+
const containerNode = (_containerRef$current = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current !== void 0 ? _containerRef$current : document.body;
|
|
96
97
|
|
|
97
98
|
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
98
99
|
return domReady ? /*#__PURE__*/createPortal( /*#__PURE__*/React__default.createElement("aside", {
|
|
99
100
|
id: drawerId,
|
|
100
101
|
className: classNames(styles.drawer, {
|
|
101
102
|
[styles.hidden]: isHidden,
|
|
102
|
-
[styles.
|
|
103
|
+
[styles.anchoredToBody]: containerNode === document.body
|
|
103
104
|
}),
|
|
104
105
|
style: {
|
|
105
106
|
width,
|
|
@@ -128,7 +129,7 @@ const Drawer = _ref => {
|
|
|
128
129
|
"aria-label": closeButtonAriaLabel
|
|
129
130
|
}, /*#__PURE__*/React__default.createElement(CloseIcon, null))), /*#__PURE__*/React__default.createElement("div", {
|
|
130
131
|
"data-testid": getSubDataTestId(dataTestId, 'body')
|
|
131
|
-
}, children))),
|
|
132
|
+
}, children))), containerNode) : null;
|
|
132
133
|
};
|
|
133
134
|
|
|
134
135
|
export { Drawer as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"drawer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._XTTH2{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._z1gTE{visibility:hidden}._eCC0-{position:fixed}._Zpdua{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._1Cs5g{padding-top:8px}._-dj7u{margin-left:12px}";
|
|
4
|
+
var styles = {"drawer":"_XTTH2","hidden":"_z1gTE","anchoredToBody":"_eCC0-","header":"_Zpdua","title":"_1Cs5g","closeButton":"_-dj7u"};
|
|
5
|
+
var stylesheet="._XTTH2{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._z1gTE{visibility:hidden}._eCC0-{position:fixed}._Zpdua{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._1Cs5g{padding-top:8px}._-dj7u{margin-left:12px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._9wdiV{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._9wdiV:hover:not(._I3YCP){background-color:rgba(50,54,58,.08)}._9wdiV:hover:not(._I3YCP)._DVhZQ{border-color:#085caf;background-color:rgba(11,110,208,.04)}._9wdiV:hover:not(._I3YCP)._DVhZQ ._m57PN{color:#32363a}._9wdiV:hover:not(._I3YCP)._DVhZQ ._we8t-{fill:#32363a}._9wdiV:hover:not(._I3YCP)._DVhZQ ._cRGYq{fill:#085caf}._9wdiV:hover:not(._I3YCP)._DVhZQ ._zFfY7{background-color:rgba(11,110,208,.11)}._9wdiV:hover:not(._I3YCP)._DVhZQ ._zFfY7 ._9Sd76{color:#085caf}._9wdiV:active:not(._I3YCP){background-color:#e8e9e9}._9wdiV:active:not(._I3YCP)._DVhZQ{background-color:rgba(11,110,208,.11);border-color:#0854a1}._9wdiV:active:not(._I3YCP)._DVhZQ ._cRGYq{fill:#0854a1}._9wdiV:active:not(._I3YCP)._DVhZQ ._zFfY7{background-color:rgba(11,110,208,.11)}._9wdiV:active:not(._I3YCP)._DVhZQ ._zFfY7 ._9Sd76{color:#0854a1}._9wdiV._I3YCP{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._9wdiV._DVhZQ{border-color:#0b6ed0}._we8t-{fill:#515559;margin-right:4px}._m57PN{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._m57PN+._zFfY7{margin-left:6px}._m57PN._I3YCP{color:#74777a}._zFfY7{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._9Sd76{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._cRGYq{fill:#515559}._cRGYq._I3YCP,._cRGYq._I3YCP._DVhZQ{fill:rgba(116,119,122,.4)}._cRGYq._DVhZQ{fill:#0b6ed0}._cRGYq._pXPSh{transform:rotate(-180deg)}._9wdiV.focus-visible,._9wdiV:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_9wdiV","disabled":"_I3YCP","selected":"_DVhZQ","label":"_m57PN","lockIcon":"_we8t-","chevronIcon":"_cRGYq","selectedFiltersContainer":"_zFfY7","selectedFilters":"_9Sd76","open":"_pXPSh"};
|
|
5
|
+
var stylesheet="._9wdiV{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._9wdiV:hover:not(._I3YCP){background-color:rgba(50,54,58,.08)}._9wdiV:hover:not(._I3YCP)._DVhZQ{border-color:#085caf;background-color:rgba(11,110,208,.04)}._9wdiV:hover:not(._I3YCP)._DVhZQ ._m57PN{color:#32363a}._9wdiV:hover:not(._I3YCP)._DVhZQ ._we8t-{fill:#32363a}._9wdiV:hover:not(._I3YCP)._DVhZQ ._cRGYq{fill:#085caf}._9wdiV:hover:not(._I3YCP)._DVhZQ ._zFfY7{background-color:rgba(11,110,208,.11)}._9wdiV:hover:not(._I3YCP)._DVhZQ ._zFfY7 ._9Sd76{color:#085caf}._9wdiV:active:not(._I3YCP){background-color:#e8e9e9}._9wdiV:active:not(._I3YCP)._DVhZQ{background-color:rgba(11,110,208,.11);border-color:#0854a1}._9wdiV:active:not(._I3YCP)._DVhZQ ._cRGYq{fill:#0854a1}._9wdiV:active:not(._I3YCP)._DVhZQ ._zFfY7{background-color:rgba(11,110,208,.11)}._9wdiV:active:not(._I3YCP)._DVhZQ ._zFfY7 ._9Sd76{color:#0854a1}._9wdiV._I3YCP{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._9wdiV._DVhZQ{border-color:#0b6ed0}._we8t-{fill:#515559;margin-right:4px}._m57PN{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._m57PN+._zFfY7{margin-left:6px}._m57PN._I3YCP{color:#74777a}._zFfY7{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._9Sd76{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._cRGYq{fill:#515559}._cRGYq._I3YCP,._cRGYq._I3YCP._DVhZQ{fill:rgba(116,119,122,.4)}._cRGYq._DVhZQ{fill:#0b6ed0}._cRGYq._pXPSh{transform:rotate(-180deg)}._9wdiV.focus-visible,._9wdiV:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default, { forwardRef } from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import Label from '../../../components/Label/Label.js';
|
|
5
|
+
import ErrorText from '../../../components/FormField/ErrorText.js';
|
|
6
|
+
import HelperText from '../../../components/FormField/HelperText.js';
|
|
7
|
+
import '../../../utils/getSubDataTestId/index.js';
|
|
8
|
+
import styles from './InputField.js';
|
|
9
|
+
import getSubDataTestId from '../../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
10
|
+
|
|
11
|
+
const FormFieldWrapper = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
12
|
+
let {
|
|
13
|
+
className,
|
|
14
|
+
inputId,
|
|
15
|
+
'data-testid': dataTestId,
|
|
16
|
+
label,
|
|
17
|
+
helperText,
|
|
18
|
+
errorText,
|
|
19
|
+
children,
|
|
20
|
+
...rest
|
|
21
|
+
} = _ref;
|
|
22
|
+
return /*#__PURE__*/React__default.createElement("span", _extends({
|
|
23
|
+
className: classNames(styles.formFieldWrapper, className),
|
|
24
|
+
ref: ref
|
|
25
|
+
}, rest), label && /*#__PURE__*/React__default.createElement(Label, {
|
|
26
|
+
className: styles.label,
|
|
27
|
+
htmlFor: inputId,
|
|
28
|
+
"data-testid": getSubDataTestId(dataTestId, 'label')
|
|
29
|
+
}, label), children, helperText && /*#__PURE__*/React__default.createElement(HelperText, {
|
|
30
|
+
"data-testid": getSubDataTestId(dataTestId, 'helper-text')
|
|
31
|
+
}, helperText), errorText && /*#__PURE__*/React__default.createElement(ErrorText, {
|
|
32
|
+
"data-testid": getSubDataTestId(dataTestId, 'error-text')
|
|
33
|
+
}, errorText));
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { FormFieldWrapper as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._yTCc2{margin:6px 0}._pHVdy{line-height:20px;color:#6a6d70;display:flex}._UygKL:has([aria-expanded=true]) ._pHVdy,._UygKL[focus-within] ._pHVdy{color:#0b6ed0}._UygKL:focus-within ._pHVdy,._UygKL:has([aria-expanded=true]) ._pHVdy{color:#0b6ed0}._UygKL:has(input:disabled) ._pHVdy{color:rgba(50,54,58,.4)}._UygKL:not(:has(input:disabled)) ._pHVdy{cursor:pointer}";
|
|
4
|
+
var styles = {"input":"_yTCc2","label":"_pHVdy","formFieldWrapper":"_UygKL"};
|
|
5
|
+
var stylesheet="._yTCc2{margin:6px 0}._pHVdy{line-height:20px;color:#6a6d70;display:flex}._UygKL:has([aria-expanded=true]) ._pHVdy,._UygKL[focus-within] ._pHVdy{color:#0b6ed0}._UygKL:focus-within ._pHVdy,._UygKL:has([aria-expanded=true]) ._pHVdy{color:#0b6ed0}._UygKL:has(input:disabled) ._pHVdy{color:rgba(50,54,58,.4)}._UygKL:not(:has(input:disabled)) ._pHVdy{cursor:pointer}";
|
|
6
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|