@uva-glass/component-library 3.57.2 → 3.57.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/ActionList-D2GC2qPX.js.map +1 -1
- package/dist/{AddCatalogueLinkForm-Di0xm7Ep.js → AddCatalogueLinkForm-CvJoaUFz.js} +2 -2
- package/dist/{AddCatalogueLinkForm-Di0xm7Ep.js.map → AddCatalogueLinkForm-CvJoaUFz.js.map} +1 -1
- package/dist/ClipboardButton-Cg6LGUiD.js.map +1 -1
- package/dist/ControlsButton-Byx4XQtB.js.map +1 -1
- package/dist/CopyableText-BKsM-TuS.js.map +1 -1
- package/dist/{DataTable-Cgn_RKTA.js → DataTable-Guuh0GZc.js} +53 -49
- package/dist/DataTable-Guuh0GZc.js.map +1 -0
- package/dist/{FeedbackBar-DEDpoNy7.js → FeedbackBar-DsOWAAGt.js} +2 -2
- package/dist/{FeedbackBar-DEDpoNy7.js.map → FeedbackBar-DsOWAAGt.js.map} +1 -1
- package/dist/{Lexical.prod-nAj5fF96.js → Lexical.prod-Dy5aDppc.js} +2449 -1794
- package/dist/Lexical.prod-Dy5aDppc.js.map +1 -0
- package/dist/LexicalClipboard.prod-CS8a49uL.js +398 -0
- package/dist/LexicalClipboard.prod-CS8a49uL.js.map +1 -0
- package/dist/{LexicalComposerContext.prod-DumMmRBt.js → LexicalComposerContext.prod-D4HOlWII.js} +3 -3
- package/dist/LexicalComposerContext.prod-D4HOlWII.js.map +1 -0
- package/dist/LexicalHtml.prod-BtzosUOH.js +1611 -0
- package/dist/LexicalHtml.prod-BtzosUOH.js.map +1 -0
- package/dist/LexicalLink.prod-DzgwWhQM.js +646 -0
- package/dist/LexicalLink.prod-DzgwWhQM.js.map +1 -0
- package/dist/LexicalList.prod-icY8mpm6.js +710 -0
- package/dist/LexicalList.prod-icY8mpm6.js.map +1 -0
- package/dist/{LexicalTable.prod-BpHQYpBM.js → LexicalTable.prod-Bf0is-op.js} +674 -750
- package/dist/LexicalTable.prod-Bf0is-op.js.map +1 -0
- package/dist/LexicalUtils.prod-CjGUKarD.js +259 -0
- package/dist/LexicalUtils.prod-CjGUKarD.js.map +1 -0
- package/dist/{LinkContextMenu-Byu3AEqp.js → LinkContextMenu-C8ehPbP8.js} +2 -2
- package/dist/{LinkContextMenu-Byu3AEqp.js.map → LinkContextMenu-C8ehPbP8.js.map} +1 -1
- package/dist/MenuLink-sK2_W2zs.js.map +1 -1
- package/dist/MetaDataList-Co9WCexh.js.map +1 -1
- package/dist/MultiSelectBox-D34qAgzc.js.map +1 -1
- package/dist/OverlayStepBar-BiC06Itd.js.map +1 -1
- package/dist/{PasteHandlerPlugin-DyTXcFsj.js → PasteHandlerPlugin-CSo_lOE8.js} +6 -6
- package/dist/{PasteHandlerPlugin-DyTXcFsj.js.map → PasteHandlerPlugin-CSo_lOE8.js.map} +1 -1
- package/dist/Periods-B4ms3N24.js.map +1 -1
- package/dist/Repeater-DUo13Mq6.js +23 -0
- package/dist/Repeater-DUo13Mq6.js.map +1 -0
- package/dist/SortableProvider-D-6Ttz0h.js.map +1 -1
- package/dist/{TableCellContextMenu--4IdoKAU.js → TableCellContextMenu-Cu5iXYSJ.js} +2 -2
- package/dist/{TableCellContextMenu--4IdoKAU.js.map → TableCellContextMenu-Cu5iXYSJ.js.map} +1 -1
- package/dist/{TableCellResizerPlugin-Dn8Ks2Lm.js → TableCellResizerPlugin-Bb2blXnq.js} +43 -43
- package/dist/TableCellResizerPlugin-Bb2blXnq.js.map +1 -0
- package/dist/VarIndicator-D0cnlcIf.js.map +1 -1
- package/dist/assets/DataTable.css +1 -1
- package/dist/assets/Repeater.css +1 -1
- package/dist/{chunk-5WKL7XVT-3IraU-Ja.js → chunk-5WKL7XVT-CvOIS3NE.js} +15 -15
- package/dist/{chunk-5WKL7XVT-3IraU-Ja.js.map → chunk-5WKL7XVT-CvOIS3NE.js.map} +1 -1
- package/dist/{client-BcEWjSJP.js → client-CXlG3hNo.js} +956 -957
- package/dist/{client-BcEWjSJP.js.map → client-CXlG3hNo.js.map} +1 -1
- package/dist/components/Accordion/Accordion.test.js +3 -3
- package/dist/components/Accordion/Accordion.test.js.map +1 -1
- package/dist/components/AccordionCard/AccordionCard.stories.js.map +1 -1
- package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
- package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
- package/dist/components/ActionList/ActionList.test.js +3 -3
- package/dist/components/ActionList/ActionList.test.js.map +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
- package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
- package/dist/components/Attention/Attention.stories.js.map +1 -1
- package/dist/components/Attention/Attention.test.js +2 -2
- package/dist/components/Attention/Attention.test.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.stories.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +2 -2
- package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/Button.test.js +2 -2
- package/dist/components/Buttons/Button.test.js.map +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +2 -2
- package/dist/components/Buttons/LinkButton.test.js.map +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.test.js +2 -2
- package/dist/components/Buttons/MenuButton.test.js.map +1 -1
- package/dist/components/Card/Card.test.js +2 -2
- package/dist/components/Card/Card.test.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +3 -3
- package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -3
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/CheckboxTree/index.js +1 -1
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
- package/dist/components/CopyableText/CopyableText.stories.js.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +3 -1
- package/dist/components/DataTable/DataTable.js +1 -1
- package/dist/components/DataTable/DataTable.stories.js +49 -58
- package/dist/components/DataTable/DataTable.stories.js.map +1 -1
- package/dist/components/DataTable/index.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js.map +1 -1
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js.map +1 -1
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.stories.js +2 -2
- package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +3 -3
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
- package/dist/components/FeedbackBar/index.js +1 -1
- package/dist/components/FeedbackBox/FeedbackBox.stories.js +1 -1
- package/dist/components/FormInput/FormInput.js +1 -1
- package/dist/components/FormInput/FormInput.stories.js +2 -2
- package/dist/components/FormInput/index.js +1 -1
- package/dist/components/GridRow/GridRow.stories.js.map +1 -1
- package/dist/components/Icon/Icon.stories.js.map +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -1
- package/dist/components/InfoMessage/InfoMessage.stories.js.map +1 -1
- package/dist/components/InputField/InputField.stories.js +1 -1
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/Label/Label.test.js +2 -2
- package/dist/components/Label/Label.test.js.map +1 -1
- package/dist/components/MenuLink/MenuLink.stories.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.stories.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
- package/dist/components/MetaDataList/MetaDataList.stories.js.map +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
- package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -2
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
- package/dist/components/Notification/Notification.stories.js +1 -1
- package/dist/components/Notification/Notification.test.js +2 -2
- package/dist/components/Notification/Notification.test.js.map +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -2
- package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
- package/dist/components/PeriodSelector/index.js +1 -1
- package/dist/components/Periods/Periods.stories.js.map +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
- package/dist/components/RadioButton/RadioButton.stories.js.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js.map +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
- package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -2
- package/dist/components/RadioTabSelector/index.js +1 -1
- package/dist/components/Repeater/Repeater.d.ts +1 -1
- package/dist/components/Repeater/Repeater.js +1 -1
- package/dist/components/Repeater/Repeater.stories.js +1 -1
- package/dist/components/Repeater/Repeater.stories.js.map +1 -1
- package/dist/components/Repeater/index.js +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/EditorHeader/index.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +36 -36
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +15 -15
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +33 -33
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +2 -2
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/index.js +4 -4
- package/dist/components/RteEditor/RteEditor.js +1 -1
- package/dist/components/RteEditor/RteEditor.stories.js +1 -1
- package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +7 -7
- package/dist/components/RteEditor/helpers.js.map +1 -1
- package/dist/components/RteEditor/index.js +1 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +18 -18
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js.map +1 -1
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +22 -22
- package/dist/components/SearchField/SearcheField.stories.js.map +1 -1
- package/dist/components/SectionNotification/SectionNotification.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js.map +1 -1
- package/dist/components/Slider/Slider.stories.js.map +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js.map +1 -1
- package/dist/components/Spinner/Spinner.stories.js.map +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
- package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
- package/dist/components/StatusPill/StatusPill.stories.js.map +1 -1
- package/dist/components/TextArea/TextArea.stories.js +1 -1
- package/dist/components/TextArea/TextArea.test.js +3 -3
- package/dist/components/TextArea/TextArea.test.js.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.js.map +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
- package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
- package/dist/components/WeekSelector/WeekSelector.js.map +1 -1
- package/dist/components/WeekSelector/WeekSelector.stories.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOption.js.map +1 -1
- package/dist/components/hooks/useOnClickOutside.js.map +1 -1
- package/dist/components/hooks/usePositionedFloaters.js.map +1 -1
- package/dist/components/hooks/useResponsive.js.map +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components-CgBF6db6.js +2013 -0
- package/dist/components-CgBF6db6.js.map +1 -0
- package/dist/{dist-C6Ar8a59.js → dist-oLwM--0y.js} +14 -14
- package/dist/{dist-C6Ar8a59.js.map → dist-oLwM--0y.js.map} +1 -1
- package/dist/{esm-B6Pg-v2v.js → esm-BXzGXYWZ.js} +3 -3
- package/dist/{esm-B6Pg-v2v.js.map → esm-BXzGXYWZ.js.map} +1 -1
- package/dist/{helpers-BzYayeT-.js → helpers-MMNO9vlK.js} +9 -9
- package/dist/helpers-MMNO9vlK.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/{react-18-DbbN8Pdb.js → react-18-BwdnKC48.js} +3 -3
- package/dist/react-18-BwdnKC48.js.map +1 -0
- package/dist/{react.esm-56DGmlLk.js → react.esm-DwWzhs9e.js} +17 -17
- package/dist/react.esm-DwWzhs9e.js.map +1 -0
- package/dist/setupTests.js +2 -2
- package/dist/setupTests.js.map +1 -1
- package/dist/storybook__react.d.js +266 -266
- package/dist/storybook__react.d.js.map +1 -1
- package/dist/{test-WxLxsxwA.js → test-Gtly6H2f.js} +7 -5
- package/dist/{test-WxLxsxwA.js.map → test-Gtly6H2f.js.map} +1 -1
- package/dist/{test-utils-CMrZ33U0.js → test-utils-BVa31HVj.js} +2 -2
- package/dist/{test-utils-CMrZ33U0.js.map → test-utils-BVa31HVj.js.map} +1 -1
- package/package.json +24 -25
- package/dist/DataTable-Cgn_RKTA.js.map +0 -1
- package/dist/Lexical.prod-nAj5fF96.js.map +0 -1
- package/dist/LexicalClipboard.prod-B9sWgdS2.js +0 -348
- package/dist/LexicalClipboard.prod-B9sWgdS2.js.map +0 -1
- package/dist/LexicalComposerContext.prod-DumMmRBt.js.map +0 -1
- package/dist/LexicalHtml.prod-RCMsF0qt.js +0 -2139
- package/dist/LexicalHtml.prod-RCMsF0qt.js.map +0 -1
- package/dist/LexicalLink.prod-BcBNTFEb.js +0 -707
- package/dist/LexicalLink.prod-BcBNTFEb.js.map +0 -1
- package/dist/LexicalList.prod-THQt9B32.js +0 -890
- package/dist/LexicalList.prod-THQt9B32.js.map +0 -1
- package/dist/LexicalTable.prod-BpHQYpBM.js.map +0 -1
- package/dist/LexicalUtils.prod-7S6iuu9A.js +0 -347
- package/dist/LexicalUtils.prod-7S6iuu9A.js.map +0 -1
- package/dist/Repeater-BAEfOMZI.js +0 -22
- package/dist/Repeater-BAEfOMZI.js.map +0 -1
- package/dist/TableCellResizerPlugin-Dn8Ks2Lm.js.map +0 -1
- package/dist/components-KU0q76JR.js +0 -2150
- package/dist/components-KU0q76JR.js.map +0 -1
- package/dist/helpers-BzYayeT-.js.map +0 -1
- package/dist/react-18-DbbN8Pdb.js.map +0 -1
- package/dist/react.esm-56DGmlLk.js.map +0 -1
- /package/dist/{chunk-CWhphoD1.js → rolldown-runtime-CWhphoD1.js} +0 -0
|
@@ -30,10 +30,12 @@ export type DataTableProps<TRow extends {
|
|
|
30
30
|
activeKeys?: (string | number)[];
|
|
31
31
|
/** Message to display when there is no data */
|
|
32
32
|
noDataMessage?: string;
|
|
33
|
+
/** Disable hover styling on rows */
|
|
34
|
+
noHover?: boolean;
|
|
33
35
|
};
|
|
34
36
|
export declare const DataTable: <TRow extends {
|
|
35
37
|
id: string | number;
|
|
36
38
|
} = DataTableRow & {
|
|
37
39
|
id: string | number;
|
|
38
|
-
}>({ data, columns, stickyHeader, virtualize, activeKeys, noDataMessage, }: DataTableProps<TRow>) => import("react").JSX.Element;
|
|
40
|
+
}>({ data, columns, stickyHeader, virtualize, activeKeys, noDataMessage, noHover, }: DataTableProps<TRow>) => import("react").JSX.Element;
|
|
39
41
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../DataTable-
|
|
1
|
+
import { t as e } from "../../DataTable-Guuh0GZc.js";
|
|
2
2
|
export { e as DataTable };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../../Checkbox-sAt4To2B.js";
|
|
2
|
-
import { t } from "../../DataTable-
|
|
2
|
+
import { t } from "../../DataTable-Guuh0GZc.js";
|
|
3
3
|
import { useEffect as n, useMemo as r, useRef as i, useState as a } from "react";
|
|
4
4
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/DataTable/mockDataTableData.js
|
|
@@ -40019,42 +40019,42 @@ var c = [
|
|
|
40019
40019
|
columns: { control: !1 },
|
|
40020
40020
|
stickyHeader: { control: !1 },
|
|
40021
40021
|
virtualize: { control: !1 },
|
|
40022
|
-
|
|
40022
|
+
activeKeys: { control: !1 }
|
|
40023
40023
|
},
|
|
40024
40024
|
parameters: {
|
|
40025
40025
|
inspectComponent: t,
|
|
40026
40026
|
codeString: "<DataTable<DataProps> \n data={Array of data objects} \n columns={columns} \n stickyHeader={boolean}\n virtualize={\n { \n rowHeight: {number}\n buffer: {number}\n }\n }\n />"
|
|
40027
40027
|
}
|
|
40028
|
-
}, p = (() => {
|
|
40029
|
-
let [
|
|
40030
|
-
let e =
|
|
40028
|
+
}, p = ((f) => {
|
|
40029
|
+
let [p, m] = a(c), h = i(null), [g, _] = a([]), v = i(null), y = (() => {
|
|
40030
|
+
let e = p?.every((e) => g.includes(e.id)), t = p?.some((e) => g.includes(e.id));
|
|
40031
40031
|
return e ? !0 : !e && t ? "indeterminate" : !1;
|
|
40032
|
-
})(),
|
|
40033
|
-
if (e.nativeEvent.shiftKey &&
|
|
40034
|
-
let [e, n] = [
|
|
40035
|
-
|
|
40036
|
-
let t = new Set([...e, ...r]);
|
|
40032
|
+
})(), b = (e, t) => {
|
|
40033
|
+
if (e.nativeEvent.shiftKey && v.current) {
|
|
40034
|
+
let [e, n] = [p?.findIndex((e) => e.id === v.current) ?? -1, p?.findIndex((e) => e.id === t) ?? -1].sort((e, t) => e - t), r = p?.slice(e, n + 1).map((e) => e.id) ?? [];
|
|
40035
|
+
_((e) => {
|
|
40036
|
+
let t = /* @__PURE__ */ new Set([...e, ...r]);
|
|
40037
40037
|
return Array.from(t);
|
|
40038
|
-
}),
|
|
40039
|
-
} else
|
|
40038
|
+
}), v.current = t;
|
|
40039
|
+
} else _((e) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t]), v.current = t;
|
|
40040
40040
|
};
|
|
40041
40041
|
n(() => {
|
|
40042
|
-
|
|
40043
|
-
}, [
|
|
40044
|
-
let
|
|
40042
|
+
h.current && (h.current.indeterminate = y === "indeterminate");
|
|
40043
|
+
}, [y]);
|
|
40044
|
+
let x = r(() => [
|
|
40045
40045
|
{
|
|
40046
40046
|
key: "id",
|
|
40047
40047
|
label: () => /* @__PURE__ */ o(e, {
|
|
40048
|
-
ref:
|
|
40049
|
-
checked:
|
|
40048
|
+
ref: h,
|
|
40049
|
+
checked: y === !0,
|
|
40050
40050
|
onChange: () => {
|
|
40051
|
-
|
|
40051
|
+
_(y === !0 ? [] : p?.map((e) => e.id) ?? []);
|
|
40052
40052
|
}
|
|
40053
40053
|
}),
|
|
40054
40054
|
cell: (t) => /* @__PURE__ */ o(e, {
|
|
40055
|
-
checked: t ? !!
|
|
40055
|
+
checked: t ? !!g.includes(t.id) : !1,
|
|
40056
40056
|
onChange: (e) => {
|
|
40057
|
-
t &&
|
|
40057
|
+
t && b(e, t.id);
|
|
40058
40058
|
}
|
|
40059
40059
|
}),
|
|
40060
40060
|
fixedWidth: "2rem"
|
|
@@ -40124,9 +40124,9 @@ var c = [
|
|
|
40124
40124
|
}
|
|
40125
40125
|
}
|
|
40126
40126
|
], [
|
|
40127
|
-
|
|
40128
|
-
|
|
40129
|
-
|
|
40127
|
+
y,
|
|
40128
|
+
p,
|
|
40129
|
+
g
|
|
40130
40130
|
]);
|
|
40131
40131
|
return /* @__PURE__ */ s("div", {
|
|
40132
40132
|
style: {
|
|
@@ -40144,9 +40144,9 @@ var c = [
|
|
|
40144
40144
|
},
|
|
40145
40145
|
onChange: (e) => {
|
|
40146
40146
|
let t = e.target.value;
|
|
40147
|
-
|
|
40147
|
+
m(c.slice(0, d).filter((e) => e.university.includes(t) || e.first_name.includes(t) || e.last_name.includes(t)));
|
|
40148
40148
|
},
|
|
40149
|
-
disabled:
|
|
40149
|
+
disabled: g.length !== 0
|
|
40150
40150
|
}),
|
|
40151
40151
|
/* @__PURE__ */ s("span", {
|
|
40152
40152
|
style: {
|
|
@@ -40157,34 +40157,32 @@ var c = [
|
|
|
40157
40157
|
"This is a preview of ",
|
|
40158
40158
|
d,
|
|
40159
40159
|
" rows. Filtered ",
|
|
40160
|
-
|
|
40160
|
+
p?.length ?? 0,
|
|
40161
40161
|
" rows. Selected ",
|
|
40162
|
-
|
|
40162
|
+
g.length,
|
|
40163
40163
|
" ",
|
|
40164
40164
|
"rows."
|
|
40165
40165
|
]
|
|
40166
40166
|
}),
|
|
40167
|
-
/* @__PURE__ */ o(
|
|
40168
|
-
|
|
40169
|
-
|
|
40170
|
-
|
|
40171
|
-
|
|
40172
|
-
},
|
|
40173
|
-
children: /* @__PURE__ */ o(t, {
|
|
40174
|
-
data: f ?? [],
|
|
40175
|
-
columns: b,
|
|
40176
|
-
stickyHeader: !0,
|
|
40177
|
-
virtualize: {
|
|
40178
|
-
rowHeight: 90,
|
|
40179
|
-
buffer: 6
|
|
40180
|
-
},
|
|
40181
|
-
activeKeys: h,
|
|
40182
|
-
noDataMessage: "No records found"
|
|
40183
|
-
})
|
|
40167
|
+
/* @__PURE__ */ o(t, {
|
|
40168
|
+
...f,
|
|
40169
|
+
data: p ?? [],
|
|
40170
|
+
columns: x,
|
|
40171
|
+
activeKeys: g
|
|
40184
40172
|
})
|
|
40185
40173
|
]
|
|
40186
40174
|
});
|
|
40187
|
-
}).bind({})
|
|
40175
|
+
}).bind({});
|
|
40176
|
+
p.args = {
|
|
40177
|
+
stickyHeader: !0,
|
|
40178
|
+
virtualize: {
|
|
40179
|
+
rowHeight: 90,
|
|
40180
|
+
buffer: 6
|
|
40181
|
+
},
|
|
40182
|
+
noHover: !1,
|
|
40183
|
+
noDataMessage: "No records found"
|
|
40184
|
+
};
|
|
40185
|
+
var m = (() => {
|
|
40188
40186
|
let [f, p] = a(c), m = i(null), [h, g] = a([]), _ = i(null), v = (() => {
|
|
40189
40187
|
let e = f?.every((e) => h.includes(e.id)), t = f?.some((e) => h.includes(e.id));
|
|
40190
40188
|
return e ? !0 : !e && t ? "indeterminate" : !1;
|
|
@@ -40192,7 +40190,7 @@ var c = [
|
|
|
40192
40190
|
if (e.nativeEvent.shiftKey && _.current) {
|
|
40193
40191
|
let [e, n] = [f?.findIndex((e) => e.id === _.current) ?? -1, f?.findIndex((e) => e.id === t) ?? -1].sort((e, t) => e - t), r = f?.slice(e, n + 1).map((e) => e.id) ?? [];
|
|
40194
40192
|
g((e) => {
|
|
40195
|
-
let t = new Set([...e, ...r]);
|
|
40193
|
+
let t = /* @__PURE__ */ new Set([...e, ...r]);
|
|
40196
40194
|
return Array.from(t);
|
|
40197
40195
|
}), _.current = t;
|
|
40198
40196
|
} else g((e) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t]), _.current = t;
|
|
@@ -40327,18 +40325,11 @@ var c = [
|
|
|
40327
40325
|
"rows."
|
|
40328
40326
|
]
|
|
40329
40327
|
}),
|
|
40330
|
-
/* @__PURE__ */ o(
|
|
40331
|
-
|
|
40332
|
-
|
|
40333
|
-
|
|
40334
|
-
|
|
40335
|
-
},
|
|
40336
|
-
children: /* @__PURE__ */ o(t, {
|
|
40337
|
-
data: f ?? [],
|
|
40338
|
-
columns: b,
|
|
40339
|
-
stickyHeader: !1,
|
|
40340
|
-
noDataMessage: "No records found"
|
|
40341
|
-
})
|
|
40328
|
+
/* @__PURE__ */ o(t, {
|
|
40329
|
+
data: f ?? [],
|
|
40330
|
+
columns: b,
|
|
40331
|
+
stickyHeader: !1,
|
|
40332
|
+
noDataMessage: "No records found"
|
|
40342
40333
|
})
|
|
40343
40334
|
]
|
|
40344
40335
|
});
|