@uva-glass/component-library 3.55.1 → 3.55.2
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/Accordion-BpnBHYIx.js +69 -0
- package/dist/Accordion-BpnBHYIx.js.map +1 -0
- package/dist/AccordionCard-BXy-plB7.js +43 -0
- package/dist/AccordionCard-BXy-plB7.js.map +1 -0
- package/dist/ActionList-O9w1hqNg.js +95 -0
- package/dist/ActionList-O9w1hqNg.js.map +1 -0
- package/dist/AddCatalogueLinkForm-Cy6fPNvN.js +117 -0
- package/dist/AddCatalogueLinkForm-Cy6fPNvN.js.map +1 -0
- package/dist/AppStatusBar-Bca0KFDR.js +20 -0
- package/dist/AppStatusBar-Bca0KFDR.js.map +1 -0
- package/dist/Attention-Bq5UU9I8.js +13 -0
- package/dist/Attention-Bq5UU9I8.js.map +1 -0
- package/dist/Backdrop-D8AHeuBn.js +10 -0
- package/dist/Backdrop-D8AHeuBn.js.map +1 -0
- package/dist/Button.module-DJlNwQUj.js +16 -0
- package/dist/Button.module-DJlNwQUj.js.map +1 -0
- package/dist/ButtonGroup-DR80lTLz.js +21 -0
- package/dist/ButtonGroup-DR80lTLz.js.map +1 -0
- package/dist/Card-DMFyuTmy.js +32 -0
- package/dist/Card-DMFyuTmy.js.map +1 -0
- package/dist/Checkbox-D6-b_4dC.js +12 -0
- package/dist/Checkbox-D6-b_4dC.js.map +1 -0
- package/dist/CheckboxButtonBar-CalU0IYK.js +79 -0
- package/dist/CheckboxButtonBar-CalU0IYK.js.map +1 -0
- package/dist/Chip-DJHvFToV.js +22 -0
- package/dist/Chip-DJHvFToV.js.map +1 -0
- package/dist/ClipboardButton-geHjMl2J.js +43 -0
- package/dist/ClipboardButton-geHjMl2J.js.map +1 -0
- package/dist/Column-BwKEOOuL.js +84 -0
- package/dist/Column-BwKEOOuL.js.map +1 -0
- package/dist/Container-BLjtYDqq.js +31 -0
- package/dist/Container-BLjtYDqq.js.map +1 -0
- package/dist/ControlsButton-zemVxTlg.js +64 -0
- package/dist/ControlsButton-zemVxTlg.js.map +1 -0
- package/dist/CopyableText-DkyhZ6wk.js +57 -0
- package/dist/CopyableText-DkyhZ6wk.js.map +1 -0
- package/dist/Drawer-Ggofac6y.js +77 -0
- package/dist/Drawer-Ggofac6y.js.map +1 -0
- package/dist/EmptyStateDataDisplay-D0QiI8nE.js +46 -0
- package/dist/EmptyStateDataDisplay-D0QiI8nE.js.map +1 -0
- package/dist/ExpandableInfoPanel-CnBVVNlJ.js +58 -0
- package/dist/ExpandableInfoPanel-CnBVVNlJ.js.map +1 -0
- package/dist/FeedbackBar-ByKp32HE.js +43 -0
- package/dist/FeedbackBar-ByKp32HE.js.map +1 -0
- package/dist/FeedbackBox-Bu7uB9DP.js +29 -0
- package/dist/FeedbackBox-Bu7uB9DP.js.map +1 -0
- package/dist/FieldHint-D0HtbTnt.js +16 -0
- package/dist/FieldHint-D0HtbTnt.js.map +1 -0
- package/dist/Fieldset-CoNu_Owa.js +23 -0
- package/dist/Fieldset-CoNu_Owa.js.map +1 -0
- package/dist/Flyout-DEpzfZOC.js +18 -0
- package/dist/Flyout-DEpzfZOC.js.map +1 -0
- package/dist/FormField-BZSoQdp9.js +21 -0
- package/dist/FormField-BZSoQdp9.js.map +1 -0
- package/dist/HorizontalList-C22DaDz-.js +20 -0
- package/dist/HorizontalList-C22DaDz-.js.map +1 -0
- package/dist/IconButton-CWCMH9uf.js +24 -0
- package/dist/IconButton-CWCMH9uf.js.map +1 -0
- package/dist/InfoBanner-DyznQLGr.js +13 -0
- package/dist/InfoBanner-DyznQLGr.js.map +1 -0
- package/dist/InfoMessage-I-VlwxVc.js +19 -0
- package/dist/InfoMessage-I-VlwxVc.js.map +1 -0
- package/dist/Input-Bn-arMaC.js +25 -0
- package/dist/Input-Bn-arMaC.js.map +1 -0
- package/dist/InputField-BWAy19w9.js +51 -0
- package/dist/InputField-BWAy19w9.js.map +1 -0
- package/dist/Label-o0BcWTUS.js +21 -0
- package/dist/Label-o0BcWTUS.js.map +1 -0
- package/dist/Lexical.prod-DCGjHGxG.js +5235 -0
- package/dist/Lexical.prod-DCGjHGxG.js.map +1 -0
- package/dist/LexicalClipboard.prod-CGG14aoP.js +248 -0
- package/dist/LexicalClipboard.prod-CGG14aoP.js.map +1 -0
- package/dist/LexicalComposerContext.prod-Ca-YN_fj.js +22 -0
- package/dist/LexicalComposerContext.prod-Ca-YN_fj.js.map +1 -0
- package/dist/LexicalExtension.prod-DWt1IjPF.js +854 -0
- package/dist/LexicalExtension.prod-DWt1IjPF.js.map +1 -0
- package/dist/LexicalLink.prod-Dy1gE75H.js +665 -0
- package/dist/LexicalLink.prod-Dy1gE75H.js.map +1 -0
- package/dist/LexicalList.prod-D9R0L7cu.js +760 -0
- package/dist/LexicalList.prod-D9R0L7cu.js.map +1 -0
- package/dist/LexicalTable.prod-C2FP47Lm.js +1991 -0
- package/dist/LexicalTable.prod-C2FP47Lm.js.map +1 -0
- package/dist/LexicalUtils.prod-BzrjMu6t.js +242 -0
- package/dist/LexicalUtils.prod-BzrjMu6t.js.map +1 -0
- package/dist/LinkContextMenu-DZlKfbg1.js +101 -0
- package/dist/LinkContextMenu-DZlKfbg1.js.map +1 -0
- package/dist/MenuLink-Cm1yZO_5.js +21 -0
- package/dist/MenuLink-Cm1yZO_5.js.map +1 -0
- package/dist/MetaDataBar-C4QO9oBV.js +23 -0
- package/dist/MetaDataBar-C4QO9oBV.js.map +1 -0
- package/dist/MetaDataList-CAR1HTYs.js +24 -0
- package/dist/MetaDataList-CAR1HTYs.js.map +1 -0
- package/dist/ModalDialog-HUkDdAJ-.js +114 -0
- package/dist/ModalDialog-HUkDdAJ-.js.map +1 -0
- package/dist/MultiSelectBox-Cuh_o-A1.js +189 -0
- package/dist/MultiSelectBox-Cuh_o-A1.js.map +1 -0
- package/dist/MultiSelectItem-BF5xRjz5.js +36 -0
- package/dist/MultiSelectItem-BF5xRjz5.js.map +1 -0
- package/dist/Notification-CIhsHuF0.js +68 -0
- package/dist/Notification-CIhsHuF0.js.map +1 -0
- package/dist/OverlayCloseButton-rttFbAM_.js +22 -0
- package/dist/OverlayCloseButton-rttFbAM_.js.map +1 -0
- package/dist/OverlayStepBar-CjaoYdsh.js +45 -0
- package/dist/OverlayStepBar-CjaoYdsh.js.map +1 -0
- package/dist/PageOverlay-D_wG2oie.js +108 -0
- package/dist/PageOverlay-D_wG2oie.js.map +1 -0
- package/dist/PasteHandlerPlugin-DUdocSHB.js +235 -0
- package/dist/PasteHandlerPlugin-DUdocSHB.js.map +1 -0
- package/dist/Periods-BYETtB6R.js +40 -0
- package/dist/Periods-BYETtB6R.js.map +1 -0
- package/dist/ProgrammeCard-76gG7ksx.js +27 -0
- package/dist/ProgrammeCard-76gG7ksx.js.map +1 -0
- package/dist/RadioButton-Bto2p5B9.js +35 -0
- package/dist/RadioButton-Bto2p5B9.js.map +1 -0
- package/dist/RadioGroup-JeTjVp5B.js +50 -0
- package/dist/RadioGroup-JeTjVp5B.js.map +1 -0
- package/dist/Repeater-BhkTEUai.js +22 -0
- package/dist/Repeater-BhkTEUai.js.map +1 -0
- package/dist/RteEditor.module-Jk80F1FA.js +42 -0
- package/dist/RteEditor.module-Jk80F1FA.js.map +1 -0
- package/dist/SearchField.module-BgxjHaPG.js +19 -0
- package/dist/SearchField.module-BgxjHaPG.js.map +1 -0
- package/dist/SectionNotification-CQqwPTqP.js +14 -0
- package/dist/SectionNotification-CQqwPTqP.js.map +1 -0
- package/dist/SelectListbox.module-HaPs1CLD.js +30 -0
- package/dist/SelectListbox.module-HaPs1CLD.js.map +1 -0
- package/dist/Slider-BlLyrET9.js +102 -0
- package/dist/Slider-BlLyrET9.js.map +1 -0
- package/dist/Sortable.module-BTUOSbOU.js +27 -0
- package/dist/Sortable.module-BTUOSbOU.js.map +1 -0
- package/dist/SortableProvider-Dc7hwkb5.js +147 -0
- package/dist/SortableProvider-Dc7hwkb5.js.map +1 -0
- package/dist/Spinner-D8tWqg9j.js +31 -0
- package/dist/Spinner-D8tWqg9j.js.map +1 -0
- package/dist/StatusBage-DQDOF5-U.js +13 -0
- package/dist/StatusBage-DQDOF5-U.js.map +1 -0
- package/dist/StatusPill-DM7n3I4W.js +30 -0
- package/dist/StatusPill-DM7n3I4W.js.map +1 -0
- package/dist/TableCellContextMenu-D0IMQr3E.js +119 -0
- package/dist/TableCellContextMenu-D0IMQr3E.js.map +1 -0
- package/dist/TableCellResizerPlugin-BGolbi44.js +208 -0
- package/dist/TableCellResizerPlugin-BGolbi44.js.map +1 -0
- package/dist/TextArea-DqKIpOfT.js +68 -0
- package/dist/TextArea-DqKIpOfT.js.map +1 -0
- package/dist/ToggleSwitch-C7z7JVtx.js +51 -0
- package/dist/ToggleSwitch-C7z7JVtx.js.map +1 -0
- package/dist/Tooltip-BzB3jznk.js +80 -0
- package/dist/Tooltip-BzB3jznk.js.map +1 -0
- package/dist/VarIndicator-C-GueOZD.js +50 -0
- package/dist/VarIndicator-C-GueOZD.js.map +1 -0
- package/dist/WeekSelector.module-BLPrVYgn.js +18 -0
- package/dist/WeekSelector.module-BLPrVYgn.js.map +1 -0
- package/dist/__mocks__/svgrMock.js +12 -9
- package/dist/__mocks__/svgrMock.js.map +1 -1
- package/dist/assets/Accordion.css +1 -1
- package/dist/assets/AccordionCard.css +1 -1
- package/dist/assets/ActionList.css +1 -1
- package/dist/assets/AddCatalogueLinkForm.css +1 -1
- package/dist/assets/AppStatusBar.css +1 -1
- package/dist/assets/Attention.css +1 -1
- package/dist/assets/Backdrop.css +1 -1
- package/dist/assets/Backdrop2.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ButtonGroup.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/CheckboxButtonBar.css +1 -1
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/ClipboardButton.css +1 -1
- package/dist/assets/Column.css +1 -1
- package/dist/assets/Container.css +1 -1
- package/dist/assets/ControlsButton.css +1 -1
- package/dist/assets/CopyableText.css +1 -1
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/EmptyStateDataDisplay.css +1 -1
- package/dist/assets/ExpandableInfoPanel.css +1 -1
- package/dist/assets/FeedbackBar.css +1 -1
- package/dist/assets/FeedbackBox.css +1 -1
- package/dist/assets/Fieldset.css +1 -1
- package/dist/assets/Flyout.css +1 -1
- package/dist/assets/FormField.css +1 -1
- package/dist/assets/GridRow.css +1 -1
- package/dist/assets/HorizontalList.css +1 -1
- package/dist/assets/Icon.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/InfoBanner.css +1 -1
- package/dist/assets/InfoMessage.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputField.css +1 -1
- package/dist/assets/Label.css +1 -1
- package/dist/assets/LinkContextMenu.css +1 -1
- package/dist/assets/MenuLink.css +1 -1
- package/dist/assets/MenuLink2.css +1 -1
- package/dist/assets/MetaDataBar.css +1 -1
- package/dist/assets/MetaDataList.css +1 -1
- package/dist/assets/ModalDialog.css +1 -1
- package/dist/assets/MultiSelectBox.css +1 -1
- package/dist/assets/MultiSelectItem.css +1 -1
- package/dist/assets/Notification.css +1 -1
- package/dist/assets/OverlayCloseButton.css +1 -1
- package/dist/assets/OverlayStepBar.css +1 -1
- package/dist/assets/PageOverlay.css +1 -1
- package/dist/assets/Periods.css +1 -1
- package/dist/assets/ProgrammeCard.css +1 -1
- package/dist/assets/RadioButton.css +1 -1
- package/dist/assets/RadioButton2.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/RteEditor.css +1 -1
- package/dist/assets/SearchField.css +1 -1
- package/dist/assets/SectionNotification.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/Sortable.css +1 -1
- package/dist/assets/Spinner.css +1 -1
- package/dist/assets/StatusBage.css +1 -1
- package/dist/assets/StatusPill.css +1 -1
- package/dist/assets/TableCellContextMenu.css +1 -1
- package/dist/assets/TextArea.css +1 -1
- package/dist/assets/ToggleSwitch.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/VarIndicator.css +1 -1
- package/dist/assets/WeekSelector.css +1 -1
- package/dist/assets/components.css +1 -0
- package/dist/chunk-DeC0fbbY.js +23 -0
- package/dist/chunk-OPOZOKLO-CXKdjnjn.js +8448 -0
- package/dist/chunk-OPOZOKLO-CXKdjnjn.js.map +1 -0
- package/dist/client-C0JVBgoR.js +18953 -0
- package/dist/client-C0JVBgoR.js.map +1 -0
- package/dist/clsx-BD2qMUU1.js +18 -0
- package/dist/clsx-BD2qMUU1.js.map +1 -0
- package/dist/components/Accordion/Accordion.js +2 -94
- package/dist/components/Accordion/Accordion.stories.js +30 -32
- package/dist/components/Accordion/Accordion.stories.js.map +1 -1
- package/dist/components/Accordion/Accordion.test.js +49 -27
- package/dist/components/Accordion/Accordion.test.js.map +1 -1
- package/dist/components/Accordion/index.js +2 -5
- package/dist/components/AccordionCard/AccordionCard.js +2 -58
- package/dist/components/AccordionCard/AccordionCard.stories.js +31 -32
- package/dist/components/AccordionCard/AccordionCard.stories.js.map +1 -1
- package/dist/components/AccordionCard/AccordionCard.test.js +54 -31
- package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
- package/dist/components/AccordionCard/index.js +2 -5
- package/dist/components/ActionList/ActionList.js +2 -83
- package/dist/components/ActionList/ActionList.stories.js +49 -38
- package/dist/components/ActionList/ActionList.stories.js.map +1 -1
- package/dist/components/ActionList/ActionList.test.js +97 -57
- package/dist/components/ActionList/ActionList.test.js.map +1 -1
- package/dist/components/ActionList/index.js +2 -5
- package/dist/components/AppStatusBar/AppStatusBar.js +2 -13
- package/dist/components/AppStatusBar/AppStatusBar.stories.js +25 -26
- package/dist/components/AppStatusBar/AppStatusBar.stories.js.map +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +17 -8
- package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
- package/dist/components/AppStatusBar/index.js +2 -5
- package/dist/components/Attention/Attention.js +2 -12
- package/dist/components/Attention/Attention.stories.js +18 -16
- package/dist/components/Attention/Attention.stories.js.map +1 -1
- package/dist/components/Attention/Attention.test.js +14 -8
- package/dist/components/Attention/Attention.test.js.map +1 -1
- package/dist/components/Attention/index.js +2 -5
- package/dist/components/Backdrop/Backdrop.js +2 -8
- package/dist/components/Backdrop/Backdrop.stories.js +32 -28
- package/dist/components/Backdrop/Backdrop.stories.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +13 -7
- package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
- package/dist/components/Backdrop/index.js +2 -5
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -26
- package/dist/components/ButtonGroup/ButtonGroup.stories.js +29 -39
- package/dist/components/ButtonGroup/ButtonGroup.stories.js.map +1 -1
- package/dist/components/ButtonGroup/index.js +2 -5
- package/dist/components/Buttons/Button.js +16 -22
- package/dist/components/Buttons/Button.js.map +1 -1
- package/dist/components/Buttons/Button.stories.js +43 -56
- package/dist/components/Buttons/Button.stories.js.map +1 -1
- package/dist/components/Buttons/Button.test.js +60 -33
- package/dist/components/Buttons/Button.test.js.map +1 -1
- package/dist/components/Buttons/LinkButton.js +14 -11
- package/dist/components/Buttons/LinkButton.js.map +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +41 -57
- package/dist/components/Buttons/LinkButton.stories.js.map +1 -1
- package/dist/components/Buttons/LinkButton.test.js +71 -65
- package/dist/components/Buttons/LinkButton.test.js.map +1 -1
- package/dist/components/Buttons/MenuButton.js +18 -15
- package/dist/components/Buttons/MenuButton.js.map +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +45 -61
- package/dist/components/Buttons/MenuButton.stories.js.map +1 -1
- package/dist/components/Buttons/MenuButton.test.js +70 -64
- package/dist/components/Buttons/MenuButton.test.js.map +1 -1
- package/dist/components/Buttons/index.js +4 -9
- package/dist/components/Card/Card.js +2 -39
- package/dist/components/Card/Card.stories.js +42 -49
- package/dist/components/Card/Card.stories.js.map +1 -1
- package/dist/components/Card/Card.test.js +14 -8
- package/dist/components/Card/Card.test.js.map +1 -1
- package/dist/components/Card/index.js +2 -5
- package/dist/components/Checkbox/Checkbox.js +2 -9
- package/dist/components/Checkbox/Checkbox.stories.js +44 -41
- package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +21 -15
- package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
- package/dist/components/Checkbox/index.js +2 -5
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +2 -114
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +277 -310
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +71 -85
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/index.js +2 -5
- package/dist/components/CheckboxTree/CheckboxTree.js +3 -172
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +89 -139
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/CheckboxTree/index.js +3 -5
- package/dist/components/Chip/Chip.js +2 -14
- package/dist/components/Chip/Chip.stories.js +24 -28
- package/dist/components/Chip/Chip.stories.js.map +1 -1
- package/dist/components/Chip/index.js +2 -5
- package/dist/components/ControlsButton/ControlsButton.js +2 -82
- package/dist/components/ControlsButton/ControlsButton.stories.js +98 -122
- package/dist/components/ControlsButton/ControlsButton.stories.js.map +1 -1
- package/dist/components/ControlsButton/index.js +2 -5
- package/dist/components/CopyableText/CopyableText.js +2 -64
- package/dist/components/CopyableText/CopyableText.stories.js +36 -35
- package/dist/components/CopyableText/CopyableText.stories.js.map +1 -1
- package/dist/components/CopyableText/index.js +2 -5
- package/dist/components/Drawer/Drawer.js +2 -62
- package/dist/components/Drawer/Drawer.stories.js +49 -68
- package/dist/components/Drawer/Drawer.stories.js.map +1 -1
- package/dist/components/Drawer/index.js +2 -5
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +2 -50
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js +17 -18
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js.map +1 -1
- package/dist/components/EmptyStateDataDisplay/index.js +2 -5
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +2 -57
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +57 -50
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js.map +1 -1
- package/dist/components/ExpandableInfoPanel/index.js +2 -5
- package/dist/components/FeedbackBar/FeedbackBar.js +2 -30
- package/dist/components/FeedbackBar/FeedbackBar.stories.js +30 -33
- package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +18 -12
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
- package/dist/components/FeedbackBar/index.js +2 -5
- package/dist/components/FeedbackBox/FeedbackBox.js +2 -31
- package/dist/components/FeedbackBox/FeedbackBox.stories.js +30 -34
- package/dist/components/FeedbackBox/FeedbackBox.stories.js.map +1 -1
- package/dist/components/FeedbackBox/index.js +2 -5
- package/dist/components/FieldHint/FieldHint.js +2 -15
- package/dist/components/FieldHint/FieldHint.stories.js +27 -35
- package/dist/components/FieldHint/FieldHint.stories.js.map +1 -1
- package/dist/components/FieldHint/index.js +2 -5
- package/dist/components/Fieldset/Fieldset.js +2 -32
- package/dist/components/Fieldset/Fieldset.stories.js +40 -46
- package/dist/components/Fieldset/Fieldset.stories.js.map +1 -1
- package/dist/components/Fieldset/index.js +2 -5
- package/dist/components/FormField/FormField.js +2 -23
- package/dist/components/FormField/FormField.stories.js +40 -45
- package/dist/components/FormField/FormField.stories.js.map +1 -1
- package/dist/components/FormField/index.js +2 -5
- package/dist/components/FormInput/FormInput.js +3 -79
- package/dist/components/FormInput/FormInput.stories.js +60 -40
- package/dist/components/FormInput/FormInput.stories.js.map +1 -1
- package/dist/components/FormInput/index.js +3 -5
- package/dist/components/GridRow/Column/Column.js +2 -7
- package/dist/components/GridRow/Column/index.js +2 -5
- package/dist/components/GridRow/GridRow.js +27 -38
- package/dist/components/GridRow/GridRow.js.map +1 -1
- package/dist/components/GridRow/GridRow.stories.js +198 -95
- package/dist/components/GridRow/GridRow.stories.js.map +1 -1
- package/dist/components/GridRow/index.js +2 -5
- package/dist/components/HorizontalList/HorizontalList.js +2 -13
- package/dist/components/HorizontalList/HorizontalList.stories.js +44 -46
- package/dist/components/HorizontalList/HorizontalList.stories.js.map +1 -1
- package/dist/components/HorizontalList/index.js +2 -5
- package/dist/components/Icon/Icon.js +16 -9
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Icon/Icon.stories.js +47 -50
- package/dist/components/Icon/Icon.stories.js.map +1 -1
- package/dist/components/Icon/icons/index.js +2 -672
- package/dist/components/Icon/index.js +2 -5
- package/dist/components/IconButton/IconButton.js +2 -28
- package/dist/components/IconButton/IconButton.stories.js +55 -58
- package/dist/components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/components/IconButton/index.js +2 -5
- package/dist/components/InfoBanner/InfoBanner.js +2 -12
- package/dist/components/InfoBanner/InfoBanner.stories.js +18 -22
- package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -1
- package/dist/components/InfoBanner/index.js +2 -5
- package/dist/components/InfoMessage/InfoMessage.js +2 -23
- package/dist/components/InfoMessage/InfoMessage.stories.js +21 -26
- package/dist/components/InfoMessage/InfoMessage.stories.js.map +1 -1
- package/dist/components/InfoMessage/index.js +2 -5
- package/dist/components/Input/Input.js +2 -28
- package/dist/components/Input/Input.stories.js +31 -50
- package/dist/components/Input/Input.stories.js.map +1 -1
- package/dist/components/Input/index.js +2 -5
- package/dist/components/InputField/InputField.js +2 -70
- package/dist/components/InputField/InputField.stories.js +81 -109
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/InputField/index.js +2 -5
- package/dist/components/Label/Label.js +2 -24
- package/dist/components/Label/Label.stories.js +26 -37
- package/dist/components/Label/Label.stories.js.map +1 -1
- package/dist/components/Label/Label.test.js +35 -20
- package/dist/components/Label/Label.test.js.map +1 -1
- package/dist/components/Label/index.js +2 -5
- package/dist/components/MenuLink/MenuLink.js +2 -25
- package/dist/components/MenuLink/MenuLink.stories.js +64 -27
- package/dist/components/MenuLink/MenuLink.stories.js.map +1 -1
- package/dist/components/MenuLink/index.js +2 -5
- package/dist/components/MetaDataBar/MetaDataBar.js +2 -13
- package/dist/components/MetaDataBar/MetaDataBar.stories.js +20 -20
- package/dist/components/MetaDataBar/MetaDataBar.stories.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +26 -16
- package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
- package/dist/components/MetaDataBar/index.js +2 -5
- package/dist/components/MetaDataList/MetaDataList.js +2 -14
- package/dist/components/MetaDataList/MetaDataList.stories.js +21 -23
- package/dist/components/MetaDataList/MetaDataList.stories.js.map +1 -1
- package/dist/components/MetaDataList/index.js +2 -5
- package/dist/components/ModalDialog/ModalDialog.js +2 -130
- package/dist/components/ModalDialog/ModalDialog.stories.js +80 -93
- package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
- package/dist/components/ModalDialog/index.js +2 -5
- package/dist/components/MultiSelect/MultiSelect.js +3 -8
- package/dist/components/MultiSelect/MultiSelect.stories.js +83 -93
- package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -34
- package/dist/components/MultiSelect/components/MultiSelectItem.js +2 -9
- package/dist/components/MultiSelect/index.js +3 -5
- package/dist/components/MultiSelectBox/MultiSelectBox.js +2 -207
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +101 -70
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +54 -29
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
- package/dist/components/MultiSelectBox/index.js +2 -5
- package/dist/components/Notification/Notification.js +2 -58
- package/dist/components/Notification/Notification.stories.js +43 -40
- package/dist/components/Notification/Notification.stories.js.map +1 -1
- package/dist/components/Notification/Notification.test.js +24 -10
- package/dist/components/Notification/Notification.test.js.map +1 -1
- package/dist/components/Notification/index.js +2 -5
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js +2 -25
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +30 -29
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
- package/dist/components/OverlayCloseButton/index.js +2 -5
- package/dist/components/OverlayStepBar/OverlayStepBar.js +2 -57
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js +44 -49
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js.map +1 -1
- package/dist/components/OverlayStepBar/index.js +2 -5
- package/dist/components/PageOverlay/PageOverlay.js +2 -114
- package/dist/components/PageOverlay/PageOverlay.stories.js +155 -163
- package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
- package/dist/components/PageOverlay/index.js +2 -5
- package/dist/components/PeriodSelector/PeriodSelector.js +3 -96
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +27 -24
- package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
- package/dist/components/PeriodSelector/index.js +3 -5
- package/dist/components/Periods/Periods.js +2 -46
- package/dist/components/Periods/Periods.stories.js +53 -60
- package/dist/components/Periods/Periods.stories.js.map +1 -1
- package/dist/components/Periods/index.js +2 -5
- package/dist/components/ProgrammeCard/ProgrammeCard.js +2 -29
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +71 -80
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
- package/dist/components/ProgrammeCard/index.js +2 -5
- package/dist/components/RadioButton/RadioButton.js +2 -26
- package/dist/components/RadioButton/RadioButton.stories.js +30 -40
- package/dist/components/RadioButton/RadioButton.stories.js.map +1 -1
- package/dist/components/RadioButton/index.js +2 -5
- package/dist/components/RadioGroup/RadioGroup.js +2 -52
- package/dist/components/RadioGroup/RadioGroup.stories.js +39 -46
- package/dist/components/RadioGroup/RadioGroup.stories.js.map +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +46 -22
- package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
- package/dist/components/RadioGroup/index.js +2 -5
- package/dist/components/RadioTabSelector/RadioTabSelector.js +3 -94
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +76 -74
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
- package/dist/components/RadioTabSelector/index.js +3 -5
- package/dist/components/Repeater/Repeater.js +2 -19
- package/dist/components/Repeater/Repeater.stories.js +32 -42
- package/dist/components/Repeater/Repeater.stories.js.map +1 -1
- package/dist/components/Repeater/index.js +2 -5
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +3 -43
- package/dist/components/RteEditor/EditorHeader/index.js +3 -5
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +45 -47
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +2 -108
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +2 -5
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +150 -194
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -81
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +3 -5
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +3 -38
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +2 -95
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -217
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +2 -12
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +3 -5
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +75 -83
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +2 -31
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +2 -14
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +3 -36
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +2 -133
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js +2 -5
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -42
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +69 -92
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +4 -7
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -90
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +3 -5
- package/dist/components/RteEditor/Plugins/index.js +7 -21
- package/dist/components/RteEditor/Providers/LanguageProvider.js +22 -17
- package/dist/components/RteEditor/Providers/LanguageProvider.js.map +1 -1
- package/dist/components/RteEditor/RteEditor.js +3 -871
- package/dist/components/RteEditor/RteEditor.stories.js +160 -207
- package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js +41 -40
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/index.js +2 -5
- package/dist/components/RteEditor/helpers.js +33 -40
- package/dist/components/RteEditor/helpers.js.map +1 -1
- package/dist/components/RteEditor/hooks/components/Flyout.js +2 -11
- package/dist/components/RteEditor/hooks/useFlyout.js +35 -23
- package/dist/components/RteEditor/hooks/useFlyout.js.map +1 -1
- package/dist/components/RteEditor/hooks/useTranslation.js +9 -8
- package/dist/components/RteEditor/hooks/useTranslation.js.map +1 -1
- package/dist/components/RteEditor/index.js +3 -6
- package/dist/components/RteEditor/mockCatalogueSearchData.js +484 -484
- package/dist/components/RteEditor/mockCatalogueSearchData.js.map +1 -1
- package/dist/components/RteEditor/mockRteContent.js +6 -100
- package/dist/components/RteEditor/mockRteContent.js.map +1 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +98 -122
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js.map +1 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/index.js +2 -11
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +58 -72
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js.map +1 -1
- package/dist/components/RteEditor/nodes/TableWrapperNode/index.js +2 -10
- package/dist/components/RteEditor/nodes/index.js +3 -18
- package/dist/components/RteEditor/translations.js +216 -215
- package/dist/components/RteEditor/translations.js.map +1 -1
- package/dist/components/SearchField/SearchField.js +104 -105
- package/dist/components/SearchField/SearchField.js.map +1 -1
- package/dist/components/SearchField/SearcheField.stories.js +89 -118
- package/dist/components/SearchField/SearcheField.stories.js.map +1 -1
- package/dist/components/SearchField/components/ResultOptionBox.js +19 -12
- package/dist/components/SearchField/components/ResultOptionBox.js.map +1 -1
- package/dist/components/SearchField/components/ResultsOption.js +50 -55
- package/dist/components/SearchField/components/ResultsOption.js.map +1 -1
- package/dist/components/SearchField/index.js +2 -5
- package/dist/components/SearchField/mockData.js +136 -135
- package/dist/components/SearchField/mockData.js.map +1 -1
- package/dist/components/SectionNotification/SectionNotification.js +2 -18
- package/dist/components/SectionNotification/SectionNotification.stories.js +21 -24
- package/dist/components/SectionNotification/SectionNotification.stories.js.map +1 -1
- package/dist/components/SectionNotification/index.js +2 -5
- package/dist/components/SelectListbox/SelectListBox.stories.js +3415 -248
- package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectListbox.js +45 -56
- package/dist/components/SelectListbox/SelectListbox.js.map +1 -1
- package/dist/components/SelectListbox/SelectProvider.js +42 -43
- package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +63 -77
- package/dist/components/SelectListbox/components/SelectButton.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectContainer.js +22 -21
- package/dist/components/SelectListbox/components/SelectContainer.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +69 -66
- package/dist/components/SelectListbox/components/SelectOption.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOptionBox.js +28 -30
- package/dist/components/SelectListbox/components/SelectOptionBox.js.map +1 -1
- package/dist/components/SelectListbox/index.js +2 -5
- package/dist/components/Slider/Slider.js +2 -113
- package/dist/components/Slider/Slider.stories.js +59 -38
- package/dist/components/Slider/Slider.stories.js.map +1 -1
- package/dist/components/Slider/index.js +2 -5
- package/dist/components/Sortable/Sortable.js +25 -41
- package/dist/components/Sortable/Sortable.js.map +1 -1
- package/dist/components/Sortable/Sortable.stories.js +79 -59
- package/dist/components/Sortable/Sortable.stories.js.map +1 -1
- package/dist/components/Sortable/SortableProvider.js +2 -10
- package/dist/components/Sortable/actions.js +24 -32
- package/dist/components/Sortable/actions.js.map +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +2 -9
- package/dist/components/Sortable/components/SortableHandle.js +13 -9
- package/dist/components/Sortable/components/SortableHandle.js.map +1 -1
- package/dist/components/Sortable/components/SortableItem.js +103 -113
- package/dist/components/Sortable/components/SortableItem.js.map +1 -1
- package/dist/components/Sortable/constants.js +6 -14
- package/dist/components/Sortable/constants.js.map +1 -1
- package/dist/components/Sortable/index.js +1 -4
- package/dist/components/Sortable/sortableReducer.js +76 -90
- package/dist/components/Sortable/sortableReducer.js.map +1 -1
- package/dist/components/Spinner/Spinner.js +2 -22
- package/dist/components/Spinner/Spinner.stories.js +21 -26
- package/dist/components/Spinner/Spinner.stories.js.map +1 -1
- package/dist/components/Spinner/index.js +2 -5
- package/dist/components/StatusBadge/StatusBadge.stories.js +18 -21
- package/dist/components/StatusBadge/StatusBadge.stories.js.map +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +19 -10
- package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
- package/dist/components/StatusBadge/StatusBage.js +2 -10
- package/dist/components/StatusBadge/index.js +2 -5
- package/dist/components/StatusPill/StatusPill.js +2 -35
- package/dist/components/StatusPill/StatusPill.stories.js +20 -20
- package/dist/components/StatusPill/StatusPill.stories.js.map +1 -1
- package/dist/components/StatusPill/index.js +2 -5
- package/dist/components/TextArea/TextArea.js +2 -65
- package/dist/components/TextArea/TextArea.stories.js +30 -31
- package/dist/components/TextArea/TextArea.stories.js.map +1 -1
- package/dist/components/TextArea/TextArea.test.js +38 -22
- package/dist/components/TextArea/TextArea.test.js.map +1 -1
- package/dist/components/TextArea/index.js +2 -5
- package/dist/components/ToggleSwitch/ToggleSwitch.js +2 -66
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +20 -26
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js.map +1 -1
- package/dist/components/ToggleSwitch/index.js +2 -5
- package/dist/components/Tooltip/Tooltip.js +2 -75
- package/dist/components/Tooltip/Tooltip.stories.js +27 -32
- package/dist/components/Tooltip/Tooltip.stories.js.map +1 -1
- package/dist/components/Tooltip/index.js +2 -5
- package/dist/components/VarIndicator/VarIndicator.js +2 -62
- package/dist/components/VarIndicator/VarIndicator.stories.js +31 -30
- package/dist/components/VarIndicator/VarIndicator.stories.js.map +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +72 -54
- package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
- package/dist/components/VarIndicator/index.js +2 -5
- package/dist/components/WeekSelector/WeekSelector.js +89 -97
- package/dist/components/WeekSelector/WeekSelector.js.map +1 -1
- package/dist/components/WeekSelector/WeekSelector.stories.js +146 -191
- package/dist/components/WeekSelector/WeekSelector.stories.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorButton.js +20 -22
- package/dist/components/WeekSelector/components/WeekSelectorButton.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOption.js +72 -85
- package/dist/components/WeekSelector/components/WeekSelectorOption.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js +30 -17
- package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js.map +1 -1
- package/dist/components/WeekSelector/index.js +2 -5
- package/dist/components/WeekSelector/mockdata.js +470 -469
- package/dist/components/WeekSelector/mockdata.js.map +1 -1
- package/dist/components/hooks/useDebounce.js +17 -16
- package/dist/components/hooks/useDebounce.js.map +1 -1
- package/dist/components/hooks/useOnClickOutside.js +15 -14
- package/dist/components/hooks/useOnClickOutside.js.map +1 -1
- package/dist/components/hooks/usePositionedFloaters.js +66 -71
- package/dist/components/hooks/usePositionedFloaters.js.map +1 -1
- package/dist/components/hooks/useResponsive.js +36 -32
- package/dist/components/hooks/useResponsive.js.map +1 -1
- package/dist/components/index.js +64 -139
- package/dist/components-DVUYdcHS.js +1992 -0
- package/dist/components-DVUYdcHS.js.map +1 -0
- package/dist/dist-D6qYwmKD.js +2005 -0
- package/dist/dist-D6qYwmKD.js.map +1 -0
- package/dist/esm-Cmy7DlsJ.js +2781 -0
- package/dist/esm-Cmy7DlsJ.js.map +1 -0
- package/dist/helpers-DcFTH1J1.js +34 -0
- package/dist/helpers-DcFTH1J1.js.map +1 -0
- package/dist/icons-TRhI-4V6.js +2681 -0
- package/dist/icons-TRhI-4V6.js.map +1 -0
- package/dist/index.js +64 -139
- package/dist/lib-6BbFZdI7.js +5595 -0
- package/dist/lib-6BbFZdI7.js.map +1 -0
- package/dist/react-18-PI4Gvl2f.js +43 -0
- package/dist/react-18-PI4Gvl2f.js.map +1 -0
- package/dist/react.esm-Cev8dB-E.js +3297 -0
- package/dist/react.esm-Cev8dB-E.js.map +1 -0
- package/dist/setupTests.js +1226 -36
- package/dist/setupTests.js.map +1 -1
- package/dist/storyComponents/ClipboardButton/ClipboardButton.js +2 -45
- package/dist/storyComponents/ClipboardButton/index.js +2 -5
- package/dist/storyComponents/Container/Container.js +2 -40
- package/dist/storyComponents/Container/index.js +2 -5
- package/dist/storybook__react.d.js +6939 -7524
- package/dist/storybook__react.d.js.map +1 -1
- package/dist/test-CPFNM-bL.js +21586 -0
- package/dist/test-CPFNM-bL.js.map +1 -0
- package/dist/test-utils-BSs0eZfL.js +21 -0
- package/dist/test-utils-BSs0eZfL.js.map +1 -0
- package/dist/types/UserInterface.js +0 -2
- package/dist/vite-env.d.js +0 -2
- package/package.json +22 -22
- package/dist/Button.module-S1-6tV9o.js +0 -16
- package/dist/Button.module-S1-6tV9o.js.map +0 -1
- package/dist/Column-BL3dsYxn.js +0 -101
- package/dist/Column-BL3dsYxn.js.map +0 -1
- package/dist/Lexical.prod-o6Eq_uLx.js +0 -5202
- package/dist/Lexical.prod-o6Eq_uLx.js.map +0 -1
- package/dist/LexicalClipboard.prod-CnUrf2_p.js +0 -265
- package/dist/LexicalClipboard.prod-CnUrf2_p.js.map +0 -1
- package/dist/LexicalComposerContext.prod-DOyoZx0P.js +0 -22
- package/dist/LexicalComposerContext.prod-DOyoZx0P.js.map +0 -1
- package/dist/LexicalExtension.prod-CanXuzFO.js +0 -551
- package/dist/LexicalExtension.prod-CanXuzFO.js.map +0 -1
- package/dist/LexicalLink.prod-DAVbKER8.js +0 -561
- package/dist/LexicalLink.prod-DAVbKER8.js.map +0 -1
- package/dist/LexicalList.prod-C6cknPBV.js +0 -632
- package/dist/LexicalList.prod-C6cknPBV.js.map +0 -1
- package/dist/LexicalSelection.prod-B8GGrzJ3.js +0 -116
- package/dist/LexicalSelection.prod-B8GGrzJ3.js.map +0 -1
- package/dist/LexicalTable.prod-upbwOtcE.js +0 -1892
- package/dist/LexicalTable.prod-upbwOtcE.js.map +0 -1
- package/dist/LexicalUtils.prod-CF7x-KWm.js +0 -134
- package/dist/LexicalUtils.prod-CF7x-KWm.js.map +0 -1
- package/dist/MultiSelectItem-BzBmsKof.js +0 -24
- package/dist/MultiSelectItem-BzBmsKof.js.map +0 -1
- package/dist/RteEditor.module-CoTOIw5i.js +0 -41
- package/dist/RteEditor.module-CoTOIw5i.js.map +0 -1
- package/dist/SearchField.module-CMUEgX7d.js +0 -17
- package/dist/SearchField.module-CMUEgX7d.js.map +0 -1
- package/dist/SelectListbox.module-CXqMuXRB.js +0 -29
- package/dist/SelectListbox.module-CXqMuXRB.js.map +0 -1
- package/dist/Sortable.module-DCVXxKnw.js +0 -26
- package/dist/Sortable.module-DCVXxKnw.js.map +0 -1
- package/dist/SortableProvider-BbwlEPIr.js +0 -160
- package/dist/SortableProvider-BbwlEPIr.js.map +0 -1
- package/dist/TableCellResizerPlugin-qMtSAoKT.js +0 -248
- package/dist/TableCellResizerPlugin-qMtSAoKT.js.map +0 -1
- package/dist/TablePlugin-BRZcXq73.js +0 -308
- package/dist/TablePlugin-BRZcXq73.js.map +0 -1
- package/dist/WeekSelector.module-Clco7jTs.js +0 -17
- package/dist/WeekSelector.module-Clco7jTs.js.map +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +0 -1
- package/dist/assets/CheckboxTree.css +0 -1
- package/dist/assets/EditorHeader.css +0 -1
- package/dist/assets/FormInput.css +0 -1
- package/dist/assets/PeriodSelector.css +0 -1
- package/dist/assets/RadioTabSelector.css +0 -1
- package/dist/assets/TablePlugin.css +0 -1
- package/dist/chunk-OPOZOKLO-nJkI9rUN.js +0 -4508
- package/dist/chunk-OPOZOKLO-nJkI9rUN.js.map +0 -1
- package/dist/client-D5eE1v54.js +0 -27222
- package/dist/client-D5eE1v54.js.map +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -17
- package/dist/clsx-OuTLNxxd.js.map +0 -1
- package/dist/components/Accordion/Accordion.js.map +0 -1
- package/dist/components/Accordion/index.js.map +0 -1
- package/dist/components/AccordionCard/AccordionCard.js.map +0 -1
- package/dist/components/AccordionCard/index.js.map +0 -1
- package/dist/components/ActionList/ActionList.js.map +0 -1
- package/dist/components/ActionList/index.js.map +0 -1
- package/dist/components/AppStatusBar/AppStatusBar.js.map +0 -1
- package/dist/components/AppStatusBar/index.js.map +0 -1
- package/dist/components/Attention/Attention.js.map +0 -1
- package/dist/components/Attention/index.js.map +0 -1
- package/dist/components/Backdrop/Backdrop.js.map +0 -1
- package/dist/components/Backdrop/index.js.map +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.js.map +0 -1
- package/dist/components/ButtonGroup/index.js.map +0 -1
- package/dist/components/Buttons/index.js.map +0 -1
- package/dist/components/Card/Card.js.map +0 -1
- package/dist/components/Card/index.js.map +0 -1
- package/dist/components/Checkbox/Checkbox.js.map +0 -1
- package/dist/components/Checkbox/index.js.map +0 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js.map +0 -1
- package/dist/components/CheckboxButtonBar/index.js.map +0 -1
- package/dist/components/CheckboxTree/CheckboxTree.js.map +0 -1
- package/dist/components/CheckboxTree/index.js.map +0 -1
- package/dist/components/Chip/Chip.js.map +0 -1
- package/dist/components/Chip/index.js.map +0 -1
- package/dist/components/ControlsButton/ControlsButton.js.map +0 -1
- package/dist/components/ControlsButton/index.js.map +0 -1
- package/dist/components/CopyableText/CopyableText.js.map +0 -1
- package/dist/components/CopyableText/index.js.map +0 -1
- package/dist/components/Drawer/Drawer.js.map +0 -1
- package/dist/components/Drawer/index.js.map +0 -1
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js.map +0 -1
- package/dist/components/EmptyStateDataDisplay/index.js.map +0 -1
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js.map +0 -1
- package/dist/components/ExpandableInfoPanel/index.js.map +0 -1
- package/dist/components/FeedbackBar/FeedbackBar.js.map +0 -1
- package/dist/components/FeedbackBar/index.js.map +0 -1
- package/dist/components/FeedbackBox/FeedbackBox.js.map +0 -1
- package/dist/components/FeedbackBox/index.js.map +0 -1
- package/dist/components/FieldHint/FieldHint.js.map +0 -1
- package/dist/components/FieldHint/index.js.map +0 -1
- package/dist/components/Fieldset/Fieldset.js.map +0 -1
- package/dist/components/Fieldset/index.js.map +0 -1
- package/dist/components/FormField/FormField.js.map +0 -1
- package/dist/components/FormField/index.js.map +0 -1
- package/dist/components/FormInput/FormInput.js.map +0 -1
- package/dist/components/FormInput/index.js.map +0 -1
- package/dist/components/GridRow/Column/Column.js.map +0 -1
- package/dist/components/GridRow/Column/index.js.map +0 -1
- package/dist/components/GridRow/index.js.map +0 -1
- package/dist/components/HorizontalList/HorizontalList.js.map +0 -1
- package/dist/components/HorizontalList/index.js.map +0 -1
- package/dist/components/Icon/icons/index.js.map +0 -1
- package/dist/components/Icon/index.js.map +0 -1
- package/dist/components/IconButton/IconButton.js.map +0 -1
- package/dist/components/IconButton/index.js.map +0 -1
- package/dist/components/InfoBanner/InfoBanner.js.map +0 -1
- package/dist/components/InfoBanner/index.js.map +0 -1
- package/dist/components/InfoMessage/InfoMessage.js.map +0 -1
- package/dist/components/InfoMessage/index.js.map +0 -1
- package/dist/components/Input/Input.js.map +0 -1
- package/dist/components/Input/index.js.map +0 -1
- package/dist/components/InputField/InputField.js.map +0 -1
- package/dist/components/InputField/index.js.map +0 -1
- package/dist/components/Label/Label.js.map +0 -1
- package/dist/components/Label/index.js.map +0 -1
- package/dist/components/MenuLink/MenuLink.js.map +0 -1
- package/dist/components/MenuLink/index.js.map +0 -1
- package/dist/components/MetaDataBar/MetaDataBar.js.map +0 -1
- package/dist/components/MetaDataBar/index.js.map +0 -1
- package/dist/components/MetaDataList/MetaDataList.js.map +0 -1
- package/dist/components/MetaDataList/index.js.map +0 -1
- package/dist/components/ModalDialog/ModalDialog.js.map +0 -1
- package/dist/components/ModalDialog/index.js.map +0 -1
- package/dist/components/MultiSelect/MultiSelect.js.map +0 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js.map +0 -1
- package/dist/components/MultiSelect/components/MultiSelectItem.js.map +0 -1
- package/dist/components/MultiSelect/index.js.map +0 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js.map +0 -1
- package/dist/components/MultiSelectBox/index.js.map +0 -1
- package/dist/components/Notification/Notification.js.map +0 -1
- package/dist/components/Notification/index.js.map +0 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js.map +0 -1
- package/dist/components/OverlayCloseButton/index.js.map +0 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.js.map +0 -1
- package/dist/components/OverlayStepBar/index.js.map +0 -1
- package/dist/components/PageOverlay/PageOverlay.js.map +0 -1
- package/dist/components/PageOverlay/index.js.map +0 -1
- package/dist/components/PeriodSelector/PeriodSelector.js.map +0 -1
- package/dist/components/PeriodSelector/index.js.map +0 -1
- package/dist/components/Periods/Periods.js.map +0 -1
- package/dist/components/Periods/index.js.map +0 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.js.map +0 -1
- package/dist/components/ProgrammeCard/index.js.map +0 -1
- package/dist/components/RadioButton/RadioButton.js.map +0 -1
- package/dist/components/RadioButton/index.js.map +0 -1
- package/dist/components/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/components/RadioGroup/index.js.map +0 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js.map +0 -1
- package/dist/components/RadioTabSelector/index.js.map +0 -1
- package/dist/components/Repeater/Repeater.js.map +0 -1
- package/dist/components/Repeater/index.js.map +0 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js.map +0 -1
- package/dist/components/RteEditor/EditorHeader/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js.map +0 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/index.js.map +0 -1
- package/dist/components/RteEditor/RteEditor.js.map +0 -1
- package/dist/components/RteEditor/UvaTheme/index.js.map +0 -1
- package/dist/components/RteEditor/hooks/components/Flyout.js.map +0 -1
- package/dist/components/RteEditor/index.js.map +0 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/index.js.map +0 -1
- package/dist/components/RteEditor/nodes/TableWrapperNode/index.js.map +0 -1
- package/dist/components/RteEditor/nodes/index.js.map +0 -1
- package/dist/components/SearchField/index.js.map +0 -1
- package/dist/components/SectionNotification/SectionNotification.js.map +0 -1
- package/dist/components/SectionNotification/index.js.map +0 -1
- package/dist/components/SelectListbox/index.js.map +0 -1
- package/dist/components/Slider/Slider.js.map +0 -1
- package/dist/components/Slider/index.js.map +0 -1
- package/dist/components/Sortable/SortableProvider.js.map +0 -1
- package/dist/components/Sortable/components/SortableContainer.js.map +0 -1
- package/dist/components/Sortable/index.js.map +0 -1
- package/dist/components/Spinner/Spinner.js.map +0 -1
- package/dist/components/Spinner/index.js.map +0 -1
- package/dist/components/StatusBadge/StatusBage.js.map +0 -1
- package/dist/components/StatusBadge/index.js.map +0 -1
- package/dist/components/StatusPill/StatusPill.js.map +0 -1
- package/dist/components/StatusPill/index.js.map +0 -1
- package/dist/components/TextArea/TextArea.js.map +0 -1
- package/dist/components/TextArea/index.js.map +0 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.js.map +0 -1
- package/dist/components/ToggleSwitch/index.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/components/Tooltip/index.js.map +0 -1
- package/dist/components/VarIndicator/VarIndicator.js.map +0 -1
- package/dist/components/VarIndicator/index.js.map +0 -1
- package/dist/components/WeekSelector/index.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/index-B_q_4aBT.js +0 -24946
- package/dist/index-B_q_4aBT.js.map +0 -1
- package/dist/index-CULNJwuI.js +0 -2355
- package/dist/index-CULNJwuI.js.map +0 -1
- package/dist/index-D6WVIfcJ.js +0 -6039
- package/dist/index-D6WVIfcJ.js.map +0 -1
- package/dist/index-YdDr6J97.js +0 -3099
- package/dist/index-YdDr6J97.js.map +0 -1
- package/dist/index-yEhaxKq-.js +0 -238
- package/dist/index-yEhaxKq-.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/react-18-CxCoNkIN.js +0 -41
- package/dist/react-18-CxCoNkIN.js.map +0 -1
- package/dist/react.esm-C68fQMAi.js +0 -4237
- package/dist/react.esm-C68fQMAi.js.map +0 -1
- package/dist/storyComponents/ClipboardButton/ClipboardButton.js.map +0 -1
- package/dist/storyComponents/ClipboardButton/index.js.map +0 -1
- package/dist/storyComponents/Container/Container.js.map +0 -1
- package/dist/storyComponents/Container/index.js.map +0 -1
- package/dist/test-utils-BcpWLsLH.js +0 -56
- package/dist/test-utils-BcpWLsLH.js.map +0 -1
- package/dist/types/UserInterface.js.map +0 -1
- package/dist/vite-env.d.js.map +0 -1
|
@@ -1,632 +0,0 @@
|
|
|
1
|
-
import { v as st } from "./LexicalUtils.prod-CF7x-KWm.js";
|
|
2
|
-
import { A as F, L as Y, M as Z, p as it, P as b, Q as L, t as j, Z as G, V as A, Y as ot, w as x, S as X, n as O, e as lt, l as ct, y as E, $ as N, d as at, H as k, a as gt, q as ht, x as P, k as tt, b as R, z as W, g as B } from "./Lexical.prod-o6Eq_uLx.js";
|
|
3
|
-
import { b as J } from "./LexicalSelection.prod-B8GGrzJ3.js";
|
|
4
|
-
function T(n, ...e) {
|
|
5
|
-
const t = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
|
|
6
|
-
r.append("code", n);
|
|
7
|
-
for (const s of e) r.append("v", s);
|
|
8
|
-
throw t.search = r.toString(), Error(`Minified Lexical error #${n}; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
|
|
9
|
-
}
|
|
10
|
-
function w(n) {
|
|
11
|
-
let e = 1, t = n.getParent();
|
|
12
|
-
for (; t != null; ) {
|
|
13
|
-
if (u(t)) {
|
|
14
|
-
const r = t.getParent();
|
|
15
|
-
if (g(r)) {
|
|
16
|
-
e++, t = r.getParent();
|
|
17
|
-
continue;
|
|
18
|
-
}
|
|
19
|
-
T(40);
|
|
20
|
-
}
|
|
21
|
-
return e;
|
|
22
|
-
}
|
|
23
|
-
return e;
|
|
24
|
-
}
|
|
25
|
-
function D(n) {
|
|
26
|
-
let e = n.getParent();
|
|
27
|
-
g(e) || T(40);
|
|
28
|
-
let t = e;
|
|
29
|
-
for (; t !== null; ) t = t.getParent(), g(t) && (e = t);
|
|
30
|
-
return e;
|
|
31
|
-
}
|
|
32
|
-
function et(n) {
|
|
33
|
-
let e = [];
|
|
34
|
-
const t = n.getChildren().filter(u);
|
|
35
|
-
for (let r = 0; r < t.length; r++) {
|
|
36
|
-
const s = t[r], i = s.getFirstChild();
|
|
37
|
-
g(i) ? e = e.concat(et(i)) : e.push(s);
|
|
38
|
-
}
|
|
39
|
-
return e;
|
|
40
|
-
}
|
|
41
|
-
function m(n) {
|
|
42
|
-
return u(n) && g(n.getFirstChild());
|
|
43
|
-
}
|
|
44
|
-
function V(n) {
|
|
45
|
-
return _().append(n);
|
|
46
|
-
}
|
|
47
|
-
function rt(n, e) {
|
|
48
|
-
return u(n) && (e.length === 0 || e.length === 1 && n.is(e[0]) && n.getChildrenSize() === 0);
|
|
49
|
-
}
|
|
50
|
-
function z(n) {
|
|
51
|
-
const e = N();
|
|
52
|
-
if (e !== null) {
|
|
53
|
-
let t = e.getNodes();
|
|
54
|
-
if (x(e)) {
|
|
55
|
-
const s = e.getStartEndPoints();
|
|
56
|
-
s === null && T(143);
|
|
57
|
-
const [i] = s, o = i.getNode(), l = o.getParent();
|
|
58
|
-
if (P(o)) {
|
|
59
|
-
const c = o.getFirstChild();
|
|
60
|
-
if (c) t = c.selectStart().getNodes();
|
|
61
|
-
else {
|
|
62
|
-
const a = A();
|
|
63
|
-
o.append(a), t = a.select().getNodes();
|
|
64
|
-
}
|
|
65
|
-
} else if (rt(o, t)) {
|
|
66
|
-
const c = p(n);
|
|
67
|
-
if (P(l)) {
|
|
68
|
-
o.replace(c);
|
|
69
|
-
const a = _();
|
|
70
|
-
b(o) && (a.setFormat(o.getFormatType()), a.setIndent(o.getIndent())), c.append(a);
|
|
71
|
-
} else if (u(o)) {
|
|
72
|
-
const a = o.getParentOrThrow();
|
|
73
|
-
C(c, a.getChildren()), a.replace(c);
|
|
74
|
-
}
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
const r = /* @__PURE__ */ new Set();
|
|
79
|
-
for (let s = 0; s < t.length; s++) {
|
|
80
|
-
const i = t[s];
|
|
81
|
-
if (b(i) && i.isEmpty() && !u(i) && !r.has(i.getKey())) {
|
|
82
|
-
U(i, n);
|
|
83
|
-
continue;
|
|
84
|
-
}
|
|
85
|
-
let o = tt(i) ? i.getParent() : u(i) && i.isEmpty() ? i : null;
|
|
86
|
-
for (; o != null; ) {
|
|
87
|
-
const l = o.getKey();
|
|
88
|
-
if (g(o)) {
|
|
89
|
-
if (!r.has(l)) {
|
|
90
|
-
const c = p(n);
|
|
91
|
-
C(c, o.getChildren()), o.replace(c), r.add(l);
|
|
92
|
-
}
|
|
93
|
-
break;
|
|
94
|
-
}
|
|
95
|
-
{
|
|
96
|
-
const c = o.getParent();
|
|
97
|
-
if (P(c) && !r.has(l)) {
|
|
98
|
-
r.add(l), U(o, n);
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
o = c;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
function C(n, e) {
|
|
108
|
-
n.splice(n.getChildrenSize(), 0, e);
|
|
109
|
-
}
|
|
110
|
-
function U(n, e) {
|
|
111
|
-
if (g(n)) return n;
|
|
112
|
-
const t = n.getPreviousSibling(), r = n.getNextSibling(), s = _();
|
|
113
|
-
let i;
|
|
114
|
-
if (C(s, n.getChildren()), g(t) && e === t.getListType()) t.append(s), g(r) && e === r.getListType() && (C(t, r.getChildren()), r.remove()), i = t;
|
|
115
|
-
else if (g(r) && e === r.getListType()) r.getFirstChildOrThrow().insertBefore(s), i = r;
|
|
116
|
-
else {
|
|
117
|
-
const l = p(e);
|
|
118
|
-
l.append(s), n.replace(l), i = l;
|
|
119
|
-
}
|
|
120
|
-
s.setFormat(n.getFormatType()), s.setIndent(n.getIndent());
|
|
121
|
-
const o = N();
|
|
122
|
-
return x(o) && (i.getKey() === o.anchor.key && o.anchor.set(s.getKey(), o.anchor.offset, "element"), i.getKey() === o.focus.key && o.focus.set(s.getKey(), o.focus.offset, "element")), n.remove(), i;
|
|
123
|
-
}
|
|
124
|
-
function $(n, e) {
|
|
125
|
-
const t = n.getLastChild(), r = e.getFirstChild();
|
|
126
|
-
t && r && m(t) && m(r) && ($(t.getFirstChild(), r.getFirstChild()), r.remove());
|
|
127
|
-
const s = e.getChildren();
|
|
128
|
-
s.length > 0 && n.append(...s), e.remove();
|
|
129
|
-
}
|
|
130
|
-
function ut() {
|
|
131
|
-
const n = N();
|
|
132
|
-
if (x(n)) {
|
|
133
|
-
const e = /* @__PURE__ */ new Set(), t = n.getNodes(), r = n.anchor.getNode();
|
|
134
|
-
if (rt(r, t)) e.add(D(r));
|
|
135
|
-
else for (let s = 0; s < t.length; s++) {
|
|
136
|
-
const i = t[s];
|
|
137
|
-
if (tt(i)) {
|
|
138
|
-
const o = st(i, M);
|
|
139
|
-
o != null && e.add(D(o));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
for (const s of e) {
|
|
143
|
-
let i = s;
|
|
144
|
-
const o = et(s);
|
|
145
|
-
for (const l of o) {
|
|
146
|
-
const c = A().setTextStyle(n.style).setTextFormat(n.format);
|
|
147
|
-
C(c, l.getChildren()), i.insertAfter(c), i = c, l.__key === n.anchor.key && R(n.anchor, W(B(c, "next"))), l.__key === n.focus.key && R(n.focus, W(B(c, "next"))), l.remove();
|
|
148
|
-
}
|
|
149
|
-
s.remove();
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
function nt(n) {
|
|
154
|
-
const e = n.getListType() !== "check";
|
|
155
|
-
let t = n.getStart();
|
|
156
|
-
for (const r of n.getChildren()) u(r) && (r.getValue() !== t && r.setValue(t), e && r.getLatest().__checked != null && r.setChecked(void 0), g(r.getFirstChild()) || t++);
|
|
157
|
-
}
|
|
158
|
-
function ft(n) {
|
|
159
|
-
const e = /* @__PURE__ */ new Set();
|
|
160
|
-
if (m(n) || e.has(n.getKey())) return;
|
|
161
|
-
const t = n.getParent(), r = n.getNextSibling(), s = n.getPreviousSibling();
|
|
162
|
-
if (m(r) && m(s)) {
|
|
163
|
-
const i = s.getFirstChild();
|
|
164
|
-
if (g(i)) {
|
|
165
|
-
i.append(n);
|
|
166
|
-
const o = r.getFirstChild();
|
|
167
|
-
g(o) && (C(i, o.getChildren()), r.remove(), e.add(r.getKey()));
|
|
168
|
-
}
|
|
169
|
-
} else if (m(r)) {
|
|
170
|
-
const i = r.getFirstChild();
|
|
171
|
-
if (g(i)) {
|
|
172
|
-
const o = i.getFirstChild();
|
|
173
|
-
o !== null && o.insertBefore(n);
|
|
174
|
-
}
|
|
175
|
-
} else if (m(s)) {
|
|
176
|
-
const i = s.getFirstChild();
|
|
177
|
-
g(i) && i.append(n);
|
|
178
|
-
} else if (g(t)) {
|
|
179
|
-
const i = _().setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle()), o = p(t.getListType()).setTextFormat(t.getTextFormat()).setTextStyle(t.getTextStyle());
|
|
180
|
-
i.append(o), o.append(n), s ? s.insertAfter(i) : r ? r.insertBefore(i) : t.append(i);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
function dt(n) {
|
|
184
|
-
if (m(n)) return;
|
|
185
|
-
const e = n.getParent(), t = e ? e.getParent() : void 0;
|
|
186
|
-
if (g(t ? t.getParent() : void 0) && u(t) && g(e)) {
|
|
187
|
-
const r = e ? e.getFirstChild() : void 0, s = e ? e.getLastChild() : void 0;
|
|
188
|
-
if (n.is(r)) t.insertBefore(n), e.isEmpty() && t.remove();
|
|
189
|
-
else if (n.is(s)) t.insertAfter(n), e.isEmpty() && t.remove();
|
|
190
|
-
else {
|
|
191
|
-
const i = e.getListType(), o = _(), l = p(i);
|
|
192
|
-
o.append(l), n.getPreviousSiblings().forEach((h) => l.append(h));
|
|
193
|
-
const c = _(), a = p(i);
|
|
194
|
-
c.append(a), C(a, n.getNextSiblings()), t.insertBefore(o), t.insertAfter(c), t.replace(n);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
function pt(n = !1) {
|
|
199
|
-
const e = N();
|
|
200
|
-
if (!x(e) || !e.isCollapsed()) return !1;
|
|
201
|
-
const t = e.anchor.getNode();
|
|
202
|
-
let r = null;
|
|
203
|
-
if (u(t) && t.getChildrenSize() === 0) r = t;
|
|
204
|
-
else if (E(t)) {
|
|
205
|
-
const a = t.getParent();
|
|
206
|
-
u(a) && a.getChildren().every((h) => E(h) && h.getTextContent().trim() === "") && (r = a);
|
|
207
|
-
}
|
|
208
|
-
if (r === null) return !1;
|
|
209
|
-
const s = D(r), i = r.getParent();
|
|
210
|
-
g(i) || T(40);
|
|
211
|
-
const o = i.getParent();
|
|
212
|
-
let l;
|
|
213
|
-
if (P(o)) l = A(), s.insertAfter(l);
|
|
214
|
-
else {
|
|
215
|
-
if (!u(o)) return !1;
|
|
216
|
-
l = _(), o.insertAfter(l);
|
|
217
|
-
}
|
|
218
|
-
l.setTextStyle(e.style).setTextFormat(e.format).select();
|
|
219
|
-
const c = r.getNextSiblings();
|
|
220
|
-
if (c.length > 0) {
|
|
221
|
-
const a = n ? (function(f, y) {
|
|
222
|
-
return f.getStart() + y.getIndexWithinParent();
|
|
223
|
-
})(i, r) : 1, h = p(i.getListType(), a);
|
|
224
|
-
if (u(l)) {
|
|
225
|
-
const f = _();
|
|
226
|
-
f.append(h), l.insertAfter(f);
|
|
227
|
-
} else l.insertAfter(h);
|
|
228
|
-
h.append(...c);
|
|
229
|
-
}
|
|
230
|
-
return (function(a) {
|
|
231
|
-
let h = a;
|
|
232
|
-
for (; h.getNextSibling() == null && h.getPreviousSibling() == null; ) {
|
|
233
|
-
const f = h.getParent();
|
|
234
|
-
if (f == null || !u(f) && !g(f)) break;
|
|
235
|
-
h = f;
|
|
236
|
-
}
|
|
237
|
-
h.remove();
|
|
238
|
-
})(r), !0;
|
|
239
|
-
}
|
|
240
|
-
class M extends F {
|
|
241
|
-
__value;
|
|
242
|
-
__checked;
|
|
243
|
-
$config() {
|
|
244
|
-
return this.config("listitem", { $transform: (e) => {
|
|
245
|
-
if (e.__checked == null) return;
|
|
246
|
-
const t = e.getParent();
|
|
247
|
-
g(t) && t.getListType() !== "check" && e.getChecked() != null && e.setChecked(void 0);
|
|
248
|
-
}, extends: F, importDOM: Y({ li: () => ({ conversion: _t, priority: 0 }) }) });
|
|
249
|
-
}
|
|
250
|
-
constructor(e = 1, t = void 0, r) {
|
|
251
|
-
super(r), this.__value = e === void 0 ? 1 : e, this.__checked = t;
|
|
252
|
-
}
|
|
253
|
-
afterCloneFrom(e) {
|
|
254
|
-
super.afterCloneFrom(e), this.__value = e.__value, this.__checked = e.__checked;
|
|
255
|
-
}
|
|
256
|
-
createDOM(e) {
|
|
257
|
-
const t = document.createElement("li");
|
|
258
|
-
return this.updateListItemDOM(null, t, e), t;
|
|
259
|
-
}
|
|
260
|
-
updateListItemDOM(e, t, r) {
|
|
261
|
-
(function(o, l, c) {
|
|
262
|
-
const a = l.getParent();
|
|
263
|
-
!g(a) || a.getListType() !== "check" || g(l.getFirstChild()) ? (o.removeAttribute("role"), o.removeAttribute("tabIndex"), o.removeAttribute("aria-checked")) : (o.setAttribute("role", "checkbox"), o.setAttribute("tabIndex", "-1"), c && l.__checked === c.__checked || o.setAttribute("aria-checked", l.getChecked() ? "true" : "false"));
|
|
264
|
-
})(t, this, e), t.value = this.__value, (function(o, l, c) {
|
|
265
|
-
const a = [], h = [], f = l.list, y = f ? f.listitem : void 0;
|
|
266
|
-
let S;
|
|
267
|
-
if (f && f.nested && (S = f.nested.listitem), y !== void 0 && a.push(...L(y)), f) {
|
|
268
|
-
const d = c.getParent(), v = g(d) && d.getListType() === "check", I = c.getChecked();
|
|
269
|
-
v && !I || h.push(f.listitemUnchecked), v && I || h.push(f.listitemChecked), v && a.push(I ? f.listitemChecked : f.listitemUnchecked);
|
|
270
|
-
}
|
|
271
|
-
if (S !== void 0) {
|
|
272
|
-
const d = L(S);
|
|
273
|
-
c.getChildren().some((v) => g(v)) ? a.push(...d) : h.push(...d);
|
|
274
|
-
}
|
|
275
|
-
h.length > 0 && j(o, ...h), a.length > 0 && G(o, ...a);
|
|
276
|
-
})(t, r.theme, this);
|
|
277
|
-
const s = e ? e.__style : "", i = this.__style;
|
|
278
|
-
s !== i && (i === "" ? t.removeAttribute("style") : t.style.cssText = i), (function(o, l, c) {
|
|
279
|
-
const a = J(l.__textStyle);
|
|
280
|
-
for (const h in a) o.style.setProperty(`--listitem-marker-${h}`, a[h]);
|
|
281
|
-
if (c) for (const h in J(c.__textStyle)) h in a || o.style.removeProperty(`--listitem-marker-${h}`);
|
|
282
|
-
})(t, this, e);
|
|
283
|
-
}
|
|
284
|
-
updateDOM(e, t, r) {
|
|
285
|
-
const s = t;
|
|
286
|
-
return this.updateListItemDOM(e, s, r), !1;
|
|
287
|
-
}
|
|
288
|
-
updateFromJSON(e) {
|
|
289
|
-
return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked);
|
|
290
|
-
}
|
|
291
|
-
exportDOM(e) {
|
|
292
|
-
const t = this.createDOM(e._config), r = this.getFormatType();
|
|
293
|
-
r && (t.style.textAlign = r);
|
|
294
|
-
const s = this.getDirection();
|
|
295
|
-
return s && (t.dir = s), { element: t };
|
|
296
|
-
}
|
|
297
|
-
exportJSON() {
|
|
298
|
-
return { ...super.exportJSON(), checked: this.getChecked(), value: this.getValue() };
|
|
299
|
-
}
|
|
300
|
-
append(...e) {
|
|
301
|
-
for (let t = 0; t < e.length; t++) {
|
|
302
|
-
const r = e[t];
|
|
303
|
-
if (b(r) && this.canMergeWith(r)) {
|
|
304
|
-
const s = r.getChildren();
|
|
305
|
-
this.append(...s), r.remove();
|
|
306
|
-
} else super.append(r);
|
|
307
|
-
}
|
|
308
|
-
return this;
|
|
309
|
-
}
|
|
310
|
-
replace(e, t) {
|
|
311
|
-
if (u(e)) return super.replace(e);
|
|
312
|
-
this.setIndent(0);
|
|
313
|
-
const r = this.getParentOrThrow();
|
|
314
|
-
if (!g(r)) return e;
|
|
315
|
-
if (r.__first === this.getKey()) r.insertBefore(e);
|
|
316
|
-
else if (r.__last === this.getKey()) r.insertAfter(e);
|
|
317
|
-
else {
|
|
318
|
-
const s = p(r.getListType());
|
|
319
|
-
let i = this.getNextSibling();
|
|
320
|
-
for (; i; ) {
|
|
321
|
-
const o = i;
|
|
322
|
-
i = i.getNextSibling(), s.append(o);
|
|
323
|
-
}
|
|
324
|
-
r.insertAfter(e), e.insertAfter(s);
|
|
325
|
-
}
|
|
326
|
-
return t && (b(e) || T(139), this.getChildren().forEach((s) => {
|
|
327
|
-
e.append(s);
|
|
328
|
-
})), this.remove(), r.getChildrenSize() === 0 && r.remove(), e;
|
|
329
|
-
}
|
|
330
|
-
insertAfter(e, t = !0) {
|
|
331
|
-
const r = this.getParentOrThrow();
|
|
332
|
-
if (g(r) || T(39), u(e)) return super.insertAfter(e, t);
|
|
333
|
-
const s = this.getNextSiblings();
|
|
334
|
-
if (r.insertAfter(e, t), s.length !== 0) {
|
|
335
|
-
const i = p(r.getListType());
|
|
336
|
-
s.forEach((o) => i.append(o)), e.insertAfter(i, t);
|
|
337
|
-
}
|
|
338
|
-
return e;
|
|
339
|
-
}
|
|
340
|
-
remove(e) {
|
|
341
|
-
const t = this.getPreviousSibling(), r = this.getNextSibling();
|
|
342
|
-
super.remove(e), t && r && m(t) && m(r) && ($(t.getFirstChild(), r.getFirstChild()), r.remove());
|
|
343
|
-
}
|
|
344
|
-
insertNewAfter(e, t = !0) {
|
|
345
|
-
const r = _().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked() && void 0);
|
|
346
|
-
return this.insertAfter(r, t), r;
|
|
347
|
-
}
|
|
348
|
-
collapseAtStart(e) {
|
|
349
|
-
const t = A();
|
|
350
|
-
this.getChildren().forEach((o) => t.append(o));
|
|
351
|
-
const r = this.getParentOrThrow(), s = r.getParentOrThrow(), i = u(s);
|
|
352
|
-
if (r.getChildrenSize() === 1) if (i) r.remove(), s.select();
|
|
353
|
-
else {
|
|
354
|
-
r.insertBefore(t), r.remove();
|
|
355
|
-
const o = e.anchor, l = e.focus, c = t.getKey();
|
|
356
|
-
o.type === "element" && o.getNode().is(this) && o.set(c, o.offset, "element"), l.type === "element" && l.getNode().is(this) && l.set(c, l.offset, "element");
|
|
357
|
-
}
|
|
358
|
-
else r.insertBefore(t), this.remove();
|
|
359
|
-
return !0;
|
|
360
|
-
}
|
|
361
|
-
getValue() {
|
|
362
|
-
return this.getLatest().__value;
|
|
363
|
-
}
|
|
364
|
-
setValue(e) {
|
|
365
|
-
const t = this.getWritable();
|
|
366
|
-
return t.__value = e, t;
|
|
367
|
-
}
|
|
368
|
-
getChecked() {
|
|
369
|
-
const e = this.getLatest();
|
|
370
|
-
let t;
|
|
371
|
-
const r = this.getParent();
|
|
372
|
-
return g(r) && (t = r.getListType()), t === "check" ? !!e.__checked : void 0;
|
|
373
|
-
}
|
|
374
|
-
setChecked(e) {
|
|
375
|
-
const t = this.getWritable();
|
|
376
|
-
return t.__checked = e, t;
|
|
377
|
-
}
|
|
378
|
-
toggleChecked() {
|
|
379
|
-
const e = this.getWritable();
|
|
380
|
-
return e.setChecked(!e.__checked);
|
|
381
|
-
}
|
|
382
|
-
getIndent() {
|
|
383
|
-
const e = this.getParent();
|
|
384
|
-
if (e === null || !this.isAttached()) return this.getLatest().__indent;
|
|
385
|
-
let t = e.getParentOrThrow(), r = 0;
|
|
386
|
-
for (; u(t); ) t = t.getParentOrThrow().getParentOrThrow(), r++;
|
|
387
|
-
return r;
|
|
388
|
-
}
|
|
389
|
-
setIndent(e) {
|
|
390
|
-
typeof e != "number" && T(117), (e = Math.floor(e)) >= 0 || T(199);
|
|
391
|
-
let t = this.getIndent();
|
|
392
|
-
for (; t !== e; ) t < e ? (ft(this), t++) : (dt(this), t--);
|
|
393
|
-
return this;
|
|
394
|
-
}
|
|
395
|
-
canInsertAfter(e) {
|
|
396
|
-
return u(e);
|
|
397
|
-
}
|
|
398
|
-
canReplaceWith(e) {
|
|
399
|
-
return u(e);
|
|
400
|
-
}
|
|
401
|
-
canMergeWith(e) {
|
|
402
|
-
return u(e) || ot(e);
|
|
403
|
-
}
|
|
404
|
-
extractWithChild(e, t) {
|
|
405
|
-
if (!x(t)) return !1;
|
|
406
|
-
const r = t.anchor.getNode(), s = t.focus.getNode();
|
|
407
|
-
return this.isParentOf(r) && this.isParentOf(s) && this.getTextContent().length === t.getTextContent().length;
|
|
408
|
-
}
|
|
409
|
-
isParentRequired() {
|
|
410
|
-
return !0;
|
|
411
|
-
}
|
|
412
|
-
createParentElementNode() {
|
|
413
|
-
return p("bullet");
|
|
414
|
-
}
|
|
415
|
-
canMergeWhenEmpty() {
|
|
416
|
-
return !0;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
function _t(n) {
|
|
420
|
-
if (n.classList.contains("task-list-item")) {
|
|
421
|
-
for (const t of n.children) if (t.tagName === "INPUT") return q(t);
|
|
422
|
-
}
|
|
423
|
-
if (n.classList.contains("joplin-checkbox")) {
|
|
424
|
-
for (const t of n.children) if (t.classList.contains("checkbox-wrapper") && t.children.length > 0 && t.children[0].tagName === "INPUT") return q(t.children[0]);
|
|
425
|
-
}
|
|
426
|
-
const e = n.getAttribute("aria-checked");
|
|
427
|
-
return { node: _(e === "true" || e !== "false" && void 0) };
|
|
428
|
-
}
|
|
429
|
-
function q(n) {
|
|
430
|
-
return n.getAttribute("type") !== "checkbox" ? { node: null } : { node: _(n.hasAttribute("checked")) };
|
|
431
|
-
}
|
|
432
|
-
function _(n) {
|
|
433
|
-
return X(new M(void 0, n));
|
|
434
|
-
}
|
|
435
|
-
function u(n) {
|
|
436
|
-
return n instanceof M;
|
|
437
|
-
}
|
|
438
|
-
class K extends F {
|
|
439
|
-
__tag;
|
|
440
|
-
__start;
|
|
441
|
-
__listType;
|
|
442
|
-
$config() {
|
|
443
|
-
return this.config("list", { $transform: (e) => {
|
|
444
|
-
(function(t) {
|
|
445
|
-
const r = t.getNextSibling();
|
|
446
|
-
g(r) && t.getListType() === r.getListType() && $(t, r);
|
|
447
|
-
})(e), nt(e);
|
|
448
|
-
}, extends: F, importDOM: Y({ ol: () => ({ conversion: Q, priority: 0 }), ul: () => ({ conversion: Q, priority: 0 }) }) });
|
|
449
|
-
}
|
|
450
|
-
constructor(e = "number", t = 1, r) {
|
|
451
|
-
super(r);
|
|
452
|
-
const s = yt[e] || e;
|
|
453
|
-
this.__listType = s, this.__tag = s === "number" ? "ol" : "ul", this.__start = t;
|
|
454
|
-
}
|
|
455
|
-
afterCloneFrom(e) {
|
|
456
|
-
super.afterCloneFrom(e), this.__listType = e.__listType, this.__tag = e.__tag, this.__start = e.__start;
|
|
457
|
-
}
|
|
458
|
-
getTag() {
|
|
459
|
-
return this.getLatest().__tag;
|
|
460
|
-
}
|
|
461
|
-
setListType(e) {
|
|
462
|
-
const t = this.getWritable();
|
|
463
|
-
return t.__listType = e, t.__tag = e === "number" ? "ol" : "ul", t;
|
|
464
|
-
}
|
|
465
|
-
getListType() {
|
|
466
|
-
return this.getLatest().__listType;
|
|
467
|
-
}
|
|
468
|
-
getStart() {
|
|
469
|
-
return this.getLatest().__start;
|
|
470
|
-
}
|
|
471
|
-
setStart(e) {
|
|
472
|
-
const t = this.getWritable();
|
|
473
|
-
return t.__start = e, t;
|
|
474
|
-
}
|
|
475
|
-
createDOM(e, t) {
|
|
476
|
-
const r = this.__tag, s = document.createElement(r);
|
|
477
|
-
return this.__start !== 1 && s.setAttribute("start", String(this.__start)), s.__lexicalListType = this.__listType, H(s, e.theme, this), s;
|
|
478
|
-
}
|
|
479
|
-
updateDOM(e, t, r) {
|
|
480
|
-
return e.__tag !== this.__tag || e.__listType !== this.__listType || (H(t, r.theme, this), e.__start !== this.__start && t.setAttribute("start", String(this.__start)), !1);
|
|
481
|
-
}
|
|
482
|
-
updateFromJSON(e) {
|
|
483
|
-
return super.updateFromJSON(e).setListType(e.listType).setStart(e.start);
|
|
484
|
-
}
|
|
485
|
-
exportDOM(e) {
|
|
486
|
-
const t = this.createDOM(e._config, e);
|
|
487
|
-
return Z(t) && (this.__start !== 1 && t.setAttribute("start", String(this.__start)), this.__listType === "check" && t.setAttribute("__lexicalListType", "check")), { element: t };
|
|
488
|
-
}
|
|
489
|
-
exportJSON() {
|
|
490
|
-
return { ...super.exportJSON(), listType: this.getListType(), start: this.getStart(), tag: this.getTag() };
|
|
491
|
-
}
|
|
492
|
-
canBeEmpty() {
|
|
493
|
-
return !1;
|
|
494
|
-
}
|
|
495
|
-
canIndent() {
|
|
496
|
-
return !1;
|
|
497
|
-
}
|
|
498
|
-
splice(e, t, r) {
|
|
499
|
-
let s = r;
|
|
500
|
-
for (let i = 0; i < r.length; i++) {
|
|
501
|
-
const o = r[i];
|
|
502
|
-
u(o) || (s === r && (s = [...r]), s[i] = _().append(!b(o) || g(o) || o.isInline() ? o : it(o.getTextContent())));
|
|
503
|
-
}
|
|
504
|
-
return super.splice(e, t, s);
|
|
505
|
-
}
|
|
506
|
-
extractWithChild(e) {
|
|
507
|
-
return u(e);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
function H(n, e, t) {
|
|
511
|
-
const r = [], s = [], i = e.list;
|
|
512
|
-
if (i !== void 0) {
|
|
513
|
-
const o = i[`${t.__tag}Depth`] || [], l = w(t) - 1, c = l % o.length, a = o[c], h = i[t.__tag];
|
|
514
|
-
let f;
|
|
515
|
-
const y = i.nested, S = i.checklist;
|
|
516
|
-
if (y !== void 0 && y.list && (f = y.list), h !== void 0 && r.push(h), S !== void 0 && t.__listType === "check" && r.push(S), a !== void 0) {
|
|
517
|
-
r.push(...L(a));
|
|
518
|
-
for (let d = 0; d < o.length; d++) d !== c && s.push(t.__tag + d);
|
|
519
|
-
}
|
|
520
|
-
if (f !== void 0) {
|
|
521
|
-
const d = L(f);
|
|
522
|
-
l > 1 ? r.push(...d) : s.push(...d);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
s.length > 0 && j(n, ...s), r.length > 0 && G(n, ...r);
|
|
526
|
-
}
|
|
527
|
-
function mt(n) {
|
|
528
|
-
const e = [];
|
|
529
|
-
for (let t = 0; t < n.length; t++) {
|
|
530
|
-
const r = n[t];
|
|
531
|
-
if (u(r)) {
|
|
532
|
-
e.push(r);
|
|
533
|
-
const s = r.getChildren();
|
|
534
|
-
s.length > 1 && s.forEach((i) => {
|
|
535
|
-
g(i) && e.push(V(i));
|
|
536
|
-
});
|
|
537
|
-
} else e.push(V(r));
|
|
538
|
-
}
|
|
539
|
-
return e;
|
|
540
|
-
}
|
|
541
|
-
function Q(n) {
|
|
542
|
-
const e = n.nodeName.toLowerCase();
|
|
543
|
-
let t = null;
|
|
544
|
-
return e === "ol" ? t = p("number", n.start) : e === "ul" && (t = (function(r) {
|
|
545
|
-
if (r.getAttribute("__lexicallisttype") === "check" || r.classList.contains("contains-task-list") || r.getAttribute("data-is-checklist") === "1") return !0;
|
|
546
|
-
for (const s of r.childNodes) if (Z(s) && s.hasAttribute("aria-checked")) return !0;
|
|
547
|
-
return !1;
|
|
548
|
-
})(n) ? p("check") : p("bullet")), { after: mt, node: t };
|
|
549
|
-
}
|
|
550
|
-
const yt = { ol: "number", ul: "bullet" };
|
|
551
|
-
function p(n = "number", e = 1) {
|
|
552
|
-
return X(new K(n, e));
|
|
553
|
-
}
|
|
554
|
-
function g(n) {
|
|
555
|
-
return n instanceof K;
|
|
556
|
-
}
|
|
557
|
-
const Tt = O("UPDATE_LIST_START_COMMAND"), Ct = O("INSERT_UNORDERED_LIST_COMMAND"), St = O("INSERT_ORDERED_LIST_COMMAND"), xt = O("REMOVE_LIST_COMMAND");
|
|
558
|
-
function Nt(n, e) {
|
|
559
|
-
return lt(n.registerCommand(St, () => (z("number"), !0), k), n.registerCommand(Tt, (t) => {
|
|
560
|
-
const { listNodeKey: r, newStart: s } = t, i = gt(r);
|
|
561
|
-
return !!g(i) && (i.getListType() === "number" && (i.setStart(s), nt(i)), !0);
|
|
562
|
-
}, k), n.registerCommand(Ct, () => (z("bullet"), !0), k), n.registerCommand(xt, () => (ut(), !0), k), n.registerCommand(at, () => pt(!!(e && e.restoreNumbering)), k), n.registerNodeTransform(M, (t) => {
|
|
563
|
-
const r = t.getFirstChild();
|
|
564
|
-
if (r) {
|
|
565
|
-
if (E(r)) {
|
|
566
|
-
const s = r.getStyle(), i = r.getFormat();
|
|
567
|
-
t.getTextStyle() !== s && t.setTextStyle(s), t.getTextFormat() !== i && t.setTextFormat(i);
|
|
568
|
-
}
|
|
569
|
-
} else {
|
|
570
|
-
const s = N();
|
|
571
|
-
x(s) && (s.style !== t.getTextStyle() || s.format !== t.getTextFormat()) && s.isCollapsed() && t.is(s.anchor.getNode()) && t.setTextStyle(s.style).setTextFormat(s.format);
|
|
572
|
-
}
|
|
573
|
-
}), n.registerNodeTransform(ct, (t) => {
|
|
574
|
-
const r = t.getParent();
|
|
575
|
-
if (u(r) && t.is(r.getFirstChild())) {
|
|
576
|
-
const s = t.getStyle(), i = t.getFormat();
|
|
577
|
-
s === r.getTextStyle() && i === r.getTextFormat() || r.setTextStyle(s).setTextFormat(i);
|
|
578
|
-
}
|
|
579
|
-
}));
|
|
580
|
-
}
|
|
581
|
-
function Pt(n) {
|
|
582
|
-
const e = (t) => {
|
|
583
|
-
const r = t.getParent();
|
|
584
|
-
if (g(t.getFirstChild()) || !g(r)) return;
|
|
585
|
-
const s = ht(t, (i) => u(i) && g(i.getParent()) && u(i.getPreviousSibling()));
|
|
586
|
-
if (s === null && t.getIndent() > 0) t.setIndent(0);
|
|
587
|
-
else if (u(s)) {
|
|
588
|
-
const i = s.getPreviousSibling();
|
|
589
|
-
if (u(i)) {
|
|
590
|
-
const o = (function(c) {
|
|
591
|
-
let a = c, h = a.getFirstChild();
|
|
592
|
-
for (; g(h); ) {
|
|
593
|
-
const f = h.getLastChild();
|
|
594
|
-
if (!u(f)) break;
|
|
595
|
-
a = f, h = a.getFirstChild();
|
|
596
|
-
}
|
|
597
|
-
return a;
|
|
598
|
-
})(i), l = o.getParent();
|
|
599
|
-
if (g(l)) {
|
|
600
|
-
const c = w(l);
|
|
601
|
-
c + 1 < w(r) && t.setIndent(c);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
return n.registerNodeTransform(K, (t) => {
|
|
607
|
-
const r = [t];
|
|
608
|
-
for (; r.length > 0; ) {
|
|
609
|
-
const s = r.shift();
|
|
610
|
-
if (g(s)) {
|
|
611
|
-
for (const i of s.getChildren()) if (u(i)) {
|
|
612
|
-
e(i);
|
|
613
|
-
const o = i.getFirstChild();
|
|
614
|
-
g(o) && r.push(o);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
});
|
|
619
|
-
}
|
|
620
|
-
export {
|
|
621
|
-
Nt as L,
|
|
622
|
-
Pt as N,
|
|
623
|
-
u as a,
|
|
624
|
-
xt as b,
|
|
625
|
-
St as k,
|
|
626
|
-
g as m,
|
|
627
|
-
p,
|
|
628
|
-
M as s,
|
|
629
|
-
K as u,
|
|
630
|
-
Ct as x
|
|
631
|
-
};
|
|
632
|
-
//# sourceMappingURL=LexicalList.prod-C6cknPBV.js.map
|