@uva-glass/component-library 3.55.0 → 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.d.ts +24 -0
- package/dist/components/Icon/icons/index.js +2 -652
- 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.d.ts +1 -1
- 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
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
import { C as e, Ft as t, Hn as n, J as r, Kt as i, Ln as a, Mt as o, Ot as s, Q as c, T as l, Tt as u, Vn as d, Vt as f, W as ee, X as p, Y as m, an as te, c as ne, cn as re, g as h, h as g, hn as _, i as ie, jn as v, jt as ae, n as y, qt as oe, ut as b, v as se, yn as x } from "./Lexical.prod-DCGjHGxG.js";
|
|
2
|
+
import { i as S, t as ce } from "./LexicalUtils.prod-BzrjMu6t.js";
|
|
3
|
+
import { n as C, o as w } from "./LexicalExtension.prod-DWt1IjPF.js";
|
|
4
|
+
//#region node_modules/@lexical/link/LexicalLink.prod.mjs
|
|
5
|
+
var T = new Set([
|
|
6
|
+
"http:",
|
|
7
|
+
"https:",
|
|
8
|
+
"mailto:",
|
|
9
|
+
"sms:",
|
|
10
|
+
"tel:"
|
|
11
|
+
]), E = class e extends ie {
|
|
12
|
+
__url;
|
|
13
|
+
__target;
|
|
14
|
+
__rel;
|
|
15
|
+
__title;
|
|
16
|
+
static getType() {
|
|
17
|
+
return "link";
|
|
18
|
+
}
|
|
19
|
+
static clone(t) {
|
|
20
|
+
return new e(t.__url, {
|
|
21
|
+
rel: t.__rel,
|
|
22
|
+
target: t.__target,
|
|
23
|
+
title: t.__title
|
|
24
|
+
}, t.__key);
|
|
25
|
+
}
|
|
26
|
+
constructor(e = "", t = {}, n) {
|
|
27
|
+
super(n);
|
|
28
|
+
let { target: r = null, rel: i = null, title: a = null } = t;
|
|
29
|
+
this.__url = e, this.__target = r, this.__rel = i, this.__title = a;
|
|
30
|
+
}
|
|
31
|
+
createDOM(e) {
|
|
32
|
+
let t = document.createElement("a");
|
|
33
|
+
return this.updateLinkDOM(null, t, e), ae(t, e.theme.link), t;
|
|
34
|
+
}
|
|
35
|
+
updateLinkDOM(e, t, n) {
|
|
36
|
+
if (p(t)) {
|
|
37
|
+
e && e.__url === this.__url || (t.href = this.sanitizeUrl(this.__url));
|
|
38
|
+
for (let n of [
|
|
39
|
+
"target",
|
|
40
|
+
"rel",
|
|
41
|
+
"title"
|
|
42
|
+
]) {
|
|
43
|
+
let r = `__${n}`, i = this[r];
|
|
44
|
+
e && e[r] === i || (i ? t[n] = i : t.removeAttribute(n));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
updateDOM(e, t, n) {
|
|
49
|
+
return this.updateLinkDOM(e, t, n), !1;
|
|
50
|
+
}
|
|
51
|
+
static importDOM() {
|
|
52
|
+
return { a: (e) => ({
|
|
53
|
+
conversion: A,
|
|
54
|
+
priority: 1
|
|
55
|
+
}) };
|
|
56
|
+
}
|
|
57
|
+
static importJSON(e) {
|
|
58
|
+
return j().updateFromJSON(e);
|
|
59
|
+
}
|
|
60
|
+
updateFromJSON(e) {
|
|
61
|
+
return super.updateFromJSON(e).setURL(e.url).setRel(e.rel || null).setTarget(e.target || null).setTitle(e.title || null);
|
|
62
|
+
}
|
|
63
|
+
sanitizeUrl(e) {
|
|
64
|
+
e = z(e);
|
|
65
|
+
try {
|
|
66
|
+
let t = new URL(z(e));
|
|
67
|
+
if (!T.has(t.protocol)) return "about:blank";
|
|
68
|
+
} catch {
|
|
69
|
+
return e;
|
|
70
|
+
}
|
|
71
|
+
return e;
|
|
72
|
+
}
|
|
73
|
+
exportJSON() {
|
|
74
|
+
return {
|
|
75
|
+
...super.exportJSON(),
|
|
76
|
+
rel: this.getRel(),
|
|
77
|
+
target: this.getTarget(),
|
|
78
|
+
title: this.getTitle(),
|
|
79
|
+
url: this.getURL()
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
getURL() {
|
|
83
|
+
return this.getLatest().__url;
|
|
84
|
+
}
|
|
85
|
+
setURL(e) {
|
|
86
|
+
let t = this.getWritable();
|
|
87
|
+
return t.__url = e, t;
|
|
88
|
+
}
|
|
89
|
+
getTarget() {
|
|
90
|
+
return this.getLatest().__target;
|
|
91
|
+
}
|
|
92
|
+
setTarget(e) {
|
|
93
|
+
let t = this.getWritable();
|
|
94
|
+
return t.__target = e, t;
|
|
95
|
+
}
|
|
96
|
+
getRel() {
|
|
97
|
+
return this.getLatest().__rel;
|
|
98
|
+
}
|
|
99
|
+
setRel(e) {
|
|
100
|
+
let t = this.getWritable();
|
|
101
|
+
return t.__rel = e, t;
|
|
102
|
+
}
|
|
103
|
+
getTitle() {
|
|
104
|
+
return this.getLatest().__title;
|
|
105
|
+
}
|
|
106
|
+
setTitle(e) {
|
|
107
|
+
let t = this.getWritable();
|
|
108
|
+
return t.__title = e, t;
|
|
109
|
+
}
|
|
110
|
+
insertNewAfter(e, t = !0) {
|
|
111
|
+
let n = j(this.__url, {
|
|
112
|
+
rel: this.__rel,
|
|
113
|
+
target: this.__target,
|
|
114
|
+
title: this.__title
|
|
115
|
+
});
|
|
116
|
+
return this.insertAfter(n, t), n;
|
|
117
|
+
}
|
|
118
|
+
canInsertTextBefore() {
|
|
119
|
+
return !1;
|
|
120
|
+
}
|
|
121
|
+
canInsertTextAfter() {
|
|
122
|
+
return !1;
|
|
123
|
+
}
|
|
124
|
+
canBeEmpty() {
|
|
125
|
+
return !1;
|
|
126
|
+
}
|
|
127
|
+
isInline() {
|
|
128
|
+
return !0;
|
|
129
|
+
}
|
|
130
|
+
extractWithChild(e, t, n) {
|
|
131
|
+
if (!v(t)) return !1;
|
|
132
|
+
let r = t.anchor.getNode(), i = t.focus.getNode();
|
|
133
|
+
return this.isParentOf(r) && this.isParentOf(i) && t.getTextContent().length > 0;
|
|
134
|
+
}
|
|
135
|
+
isEmailURI() {
|
|
136
|
+
return this.__url.startsWith("mailto:");
|
|
137
|
+
}
|
|
138
|
+
isWebSiteURI() {
|
|
139
|
+
return this.__url.startsWith("https://") || this.__url.startsWith("http://");
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
function D(e) {
|
|
143
|
+
let t = r(e, "next");
|
|
144
|
+
return [t, t.getFlipped()];
|
|
145
|
+
}
|
|
146
|
+
function O(e, t) {
|
|
147
|
+
for (let n of t) if (n.origin.isAttached()) {
|
|
148
|
+
ee(e, d(n));
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
function k(t) {
|
|
153
|
+
let n = y(), r = null, i = null;
|
|
154
|
+
v(n) && (r = D(n.anchor), i = D(n.focus));
|
|
155
|
+
for (let n of oe(t, "next")) {
|
|
156
|
+
let r = n.origin;
|
|
157
|
+
if (c(r) && !r.isInline()) {
|
|
158
|
+
let i = r.getChildren();
|
|
159
|
+
if (i.length > 0) {
|
|
160
|
+
let e = g(t);
|
|
161
|
+
e.append(...i), r.append(e);
|
|
162
|
+
}
|
|
163
|
+
S(r, e(n), { $shouldSplit: () => !1 });
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
if (t.isEmpty()) {
|
|
167
|
+
let e = t.getParent();
|
|
168
|
+
t.remove(), e && e.isEmpty() && e.remove();
|
|
169
|
+
}
|
|
170
|
+
v(n) && (O(n.anchor, r), O(n.focus, i), h(n));
|
|
171
|
+
}
|
|
172
|
+
function A(e) {
|
|
173
|
+
let t = null;
|
|
174
|
+
if (p(e)) {
|
|
175
|
+
let n = e.textContent;
|
|
176
|
+
(n !== null && n !== "" || e.children.length > 0) && (t = j(e.getAttribute("href") || "", {
|
|
177
|
+
rel: e.getAttribute("rel"),
|
|
178
|
+
target: e.getAttribute("target"),
|
|
179
|
+
title: e.getAttribute("title")
|
|
180
|
+
}));
|
|
181
|
+
}
|
|
182
|
+
return { node: t };
|
|
183
|
+
}
|
|
184
|
+
function j(e = "", t) {
|
|
185
|
+
return b(new E(e, t));
|
|
186
|
+
}
|
|
187
|
+
function M(e) {
|
|
188
|
+
return e instanceof E;
|
|
189
|
+
}
|
|
190
|
+
var N = class e extends E {
|
|
191
|
+
__isUnlinked;
|
|
192
|
+
constructor(e = "", t = {}, n) {
|
|
193
|
+
super(e, t, n), this.__isUnlinked = t.isUnlinked !== void 0 && t.isUnlinked !== null && t.isUnlinked;
|
|
194
|
+
}
|
|
195
|
+
static getType() {
|
|
196
|
+
return "autolink";
|
|
197
|
+
}
|
|
198
|
+
static clone(t) {
|
|
199
|
+
return new e(t.__url, {
|
|
200
|
+
isUnlinked: t.__isUnlinked,
|
|
201
|
+
rel: t.__rel,
|
|
202
|
+
target: t.__target,
|
|
203
|
+
title: t.__title
|
|
204
|
+
}, t.__key);
|
|
205
|
+
}
|
|
206
|
+
getIsUnlinked() {
|
|
207
|
+
return this.__isUnlinked;
|
|
208
|
+
}
|
|
209
|
+
setIsUnlinked(e) {
|
|
210
|
+
let t = this.getWritable();
|
|
211
|
+
return t.__isUnlinked = e, t;
|
|
212
|
+
}
|
|
213
|
+
createDOM(e) {
|
|
214
|
+
return this.__isUnlinked ? document.createElement("span") : super.createDOM(e);
|
|
215
|
+
}
|
|
216
|
+
updateDOM(e, t, n) {
|
|
217
|
+
return super.updateDOM(e, t, n) || e.__isUnlinked !== this.__isUnlinked;
|
|
218
|
+
}
|
|
219
|
+
static importJSON(e) {
|
|
220
|
+
return P().updateFromJSON(e);
|
|
221
|
+
}
|
|
222
|
+
updateFromJSON(e) {
|
|
223
|
+
return super.updateFromJSON(e).setIsUnlinked(e.isUnlinked || !1);
|
|
224
|
+
}
|
|
225
|
+
static importDOM() {
|
|
226
|
+
return null;
|
|
227
|
+
}
|
|
228
|
+
exportJSON() {
|
|
229
|
+
return {
|
|
230
|
+
...super.exportJSON(),
|
|
231
|
+
isUnlinked: this.__isUnlinked
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
insertNewAfter(e, t = !0) {
|
|
235
|
+
let n = P(this.__url, {
|
|
236
|
+
isUnlinked: this.__isUnlinked,
|
|
237
|
+
rel: this.__rel,
|
|
238
|
+
target: this.__target,
|
|
239
|
+
title: this.__title
|
|
240
|
+
});
|
|
241
|
+
return this.insertAfter(n, t), n;
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
function P(e = "", t) {
|
|
245
|
+
return b(new N(e, t));
|
|
246
|
+
}
|
|
247
|
+
function F(e) {
|
|
248
|
+
return e instanceof N;
|
|
249
|
+
}
|
|
250
|
+
var I = re("TOGGLE_LINK_COMMAND");
|
|
251
|
+
function L(e, t) {
|
|
252
|
+
if (e.type === "element") {
|
|
253
|
+
let n = e.getNode();
|
|
254
|
+
return c(n) || function(e, ...t) {
|
|
255
|
+
let n = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
|
|
256
|
+
r.append("code", e);
|
|
257
|
+
for (let e of t) r.append("v", e);
|
|
258
|
+
throw n.search = r.toString(), Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
|
|
259
|
+
}(252), n.getChildren()[e.offset + t] || null;
|
|
260
|
+
}
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
function R(e, t = {}) {
|
|
264
|
+
let r;
|
|
265
|
+
if (e && typeof e == "object") {
|
|
266
|
+
let { url: n, ...i } = e;
|
|
267
|
+
r = n, t = {
|
|
268
|
+
...i,
|
|
269
|
+
...t
|
|
270
|
+
};
|
|
271
|
+
} else r = e;
|
|
272
|
+
let { target: i, title: a } = t, o = t.rel === void 0 ? "noreferrer" : t.rel, s = y();
|
|
273
|
+
if (s === null || !v(s) && !m(s)) return;
|
|
274
|
+
if (m(s)) {
|
|
275
|
+
let e = s.getNodes();
|
|
276
|
+
if (e.length === 0) return;
|
|
277
|
+
e.forEach((e) => {
|
|
278
|
+
if (r === null) {
|
|
279
|
+
let t = x(e, (e) => !F(e) && M(e));
|
|
280
|
+
t && (t.insertBefore(e), t.getChildren().length === 0 && t.remove());
|
|
281
|
+
} else {
|
|
282
|
+
let t = x(e, (e) => !F(e) && M(e));
|
|
283
|
+
if (t) t.setURL(r), i !== void 0 && t.setTarget(i), o !== void 0 && t.setRel(o);
|
|
284
|
+
else {
|
|
285
|
+
let t = j(r, {
|
|
286
|
+
rel: o,
|
|
287
|
+
target: i
|
|
288
|
+
});
|
|
289
|
+
e.insertBefore(t), t.append(e);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
if (s.isCollapsed() && r === null) for (let e of s.getNodes()) {
|
|
296
|
+
let t = x(e, (e) => !F(e) && M(e));
|
|
297
|
+
t !== null && (t.getChildren().forEach((e) => {
|
|
298
|
+
t.insertBefore(e);
|
|
299
|
+
}), t.remove());
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
302
|
+
let l = s.extract();
|
|
303
|
+
if (r === null) {
|
|
304
|
+
let e = /* @__PURE__ */ new Set();
|
|
305
|
+
l.forEach((t) => {
|
|
306
|
+
let n = x(t, (e) => !F(e) && M(e));
|
|
307
|
+
if (n !== null) {
|
|
308
|
+
let t = n.getKey();
|
|
309
|
+
if (e.has(t)) return;
|
|
310
|
+
(function(e, t) {
|
|
311
|
+
let n = new Set(t.filter((t) => e.isParentOf(t)).map((e) => e.getKey())), r = e.getChildren(), i = (r) => n.has(r.getKey()) || c(r) && t.some((t) => e.isParentOf(t) && r.isParentOf(t)), a = r.filter(i);
|
|
312
|
+
if (a.length === r.length) return r.forEach((t) => e.insertBefore(t)), void e.remove();
|
|
313
|
+
let o = r.findIndex(i), s = r.findLastIndex(i), l = o === 0, u = s === r.length - 1;
|
|
314
|
+
if (l) a.forEach((t) => e.insertBefore(t));
|
|
315
|
+
else if (u) for (let t = a.length - 1; t >= 0; t--) e.insertAfter(a[t]);
|
|
316
|
+
else {
|
|
317
|
+
for (let t = a.length - 1; t >= 0; t--) e.insertAfter(a[t]);
|
|
318
|
+
let t = r.slice(s + 1);
|
|
319
|
+
if (t.length > 0) {
|
|
320
|
+
let n = j(e.getURL(), {
|
|
321
|
+
rel: e.getRel(),
|
|
322
|
+
target: e.getTarget(),
|
|
323
|
+
title: e.getTitle()
|
|
324
|
+
});
|
|
325
|
+
a[a.length - 1].insertAfter(n), t.forEach((e) => n.append(e));
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
})(n, l), e.add(t);
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
let u = /* @__PURE__ */ new Set(), d = (e) => {
|
|
334
|
+
u.has(e.getKey()) || (u.add(e.getKey()), e.setURL(r), i !== void 0 && e.setTarget(i), o !== void 0 && e.setRel(o), a !== void 0 && e.setTitle(a));
|
|
335
|
+
};
|
|
336
|
+
if (l.length === 1) {
|
|
337
|
+
let e = l[0], t = x(e, M);
|
|
338
|
+
if (t !== null) return d(t);
|
|
339
|
+
}
|
|
340
|
+
(function(e) {
|
|
341
|
+
let t = y();
|
|
342
|
+
if (!v(t)) return e();
|
|
343
|
+
let r = h(t), i = r.isBackward(), a = L(r.anchor, i ? -1 : 0), o = L(r.focus, i ? 0 : -1);
|
|
344
|
+
if (e(), a || o) {
|
|
345
|
+
let e = y();
|
|
346
|
+
if (v(e)) {
|
|
347
|
+
let t = e.clone();
|
|
348
|
+
if (a) {
|
|
349
|
+
let e = a.getParent();
|
|
350
|
+
e && t.anchor.set(e.getKey(), a.getIndexWithinParent() + (i ? 1 : 0), "element");
|
|
351
|
+
}
|
|
352
|
+
if (o) {
|
|
353
|
+
let e = o.getParent();
|
|
354
|
+
e && t.focus.set(e.getKey(), o.getIndexWithinParent() + (i ? 0 : 1), "element");
|
|
355
|
+
}
|
|
356
|
+
n(h(t));
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
})(() => {
|
|
360
|
+
let e = null;
|
|
361
|
+
for (let t of l) {
|
|
362
|
+
if (!t.isAttached()) continue;
|
|
363
|
+
let n = x(t, M);
|
|
364
|
+
if (n) {
|
|
365
|
+
d(n);
|
|
366
|
+
continue;
|
|
367
|
+
}
|
|
368
|
+
if (c(t)) {
|
|
369
|
+
if (!t.isInline()) continue;
|
|
370
|
+
if (M(t)) {
|
|
371
|
+
if (!(F(t) || e !== null && e.getParentOrThrow().isParentOf(t))) {
|
|
372
|
+
d(t), e = t;
|
|
373
|
+
continue;
|
|
374
|
+
}
|
|
375
|
+
for (let e of t.getChildren()) t.insertBefore(e);
|
|
376
|
+
t.remove();
|
|
377
|
+
continue;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
let s = t.getPreviousSibling();
|
|
381
|
+
M(s) && s.is(e) ? s.append(t) : (e = j(r, {
|
|
382
|
+
rel: o,
|
|
383
|
+
target: i,
|
|
384
|
+
title: a
|
|
385
|
+
}), t.insertAfter(e), e.append(t));
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
var le = /^\+?[0-9\s()-]{5,}$/;
|
|
390
|
+
function z(e) {
|
|
391
|
+
return e.match(/^[a-z][a-z0-9+.-]*:/i) || e.match(/^[/#.]/) ? e : e.includes("@") ? `mailto:${e}` : le.test(e) ? `tel:${e}` : `https://${e}`;
|
|
392
|
+
}
|
|
393
|
+
function B(e, t) {
|
|
394
|
+
return f(e.registerNodeTransform(E, k), C(() => e.registerCommand(I, (e) => {
|
|
395
|
+
let n = t.validateUrl.peek(), r = t.attributes.peek();
|
|
396
|
+
if (e === null) return R(null), !0;
|
|
397
|
+
if (typeof e == "string") return !(n !== void 0 && !n(e)) && (R(e, r), !0);
|
|
398
|
+
{
|
|
399
|
+
let { url: t, target: n, rel: i, title: a } = e;
|
|
400
|
+
return R(t, {
|
|
401
|
+
...r,
|
|
402
|
+
rel: i,
|
|
403
|
+
target: n,
|
|
404
|
+
title: a
|
|
405
|
+
}), !0;
|
|
406
|
+
}
|
|
407
|
+
}, 1)), C(() => {
|
|
408
|
+
let n = t.validateUrl.value;
|
|
409
|
+
if (!n) return;
|
|
410
|
+
let r = t.attributes.value;
|
|
411
|
+
return e.registerCommand(i, (t) => {
|
|
412
|
+
let i = y();
|
|
413
|
+
if (!v(i) || i.isCollapsed() || !ce(t, ClipboardEvent) || t.clipboardData === null) return !1;
|
|
414
|
+
let a = t.clipboardData.getData("text");
|
|
415
|
+
return !!n(a) && !i.getNodes().some((e) => c(e)) && (e.dispatchCommand(I, {
|
|
416
|
+
...r,
|
|
417
|
+
url: a
|
|
418
|
+
}), t.preventDefault(), !0);
|
|
419
|
+
}, 1);
|
|
420
|
+
}));
|
|
421
|
+
}
|
|
422
|
+
var V = s({
|
|
423
|
+
build: (e, t, n) => w(t),
|
|
424
|
+
config: {
|
|
425
|
+
attributes: void 0,
|
|
426
|
+
validateUrl: void 0
|
|
427
|
+
},
|
|
428
|
+
mergeConfig(e, t) {
|
|
429
|
+
let n = u(e, t);
|
|
430
|
+
return e.attributes && (n.attributes = u(e.attributes, n.attributes)), n;
|
|
431
|
+
},
|
|
432
|
+
name: "@lexical/link/Link",
|
|
433
|
+
nodes: () => [E],
|
|
434
|
+
register: (e, t, n) => B(e, n.getOutput())
|
|
435
|
+
});
|
|
436
|
+
function H(e, n, r = {}) {
|
|
437
|
+
let i = (r) => {
|
|
438
|
+
let i = r.target;
|
|
439
|
+
if (!ne(i)) return;
|
|
440
|
+
let a = t(i);
|
|
441
|
+
if (a === null) return;
|
|
442
|
+
let o = null, s = null;
|
|
443
|
+
if (a.update(() => {
|
|
444
|
+
let e = se(i);
|
|
445
|
+
if (e !== null) {
|
|
446
|
+
let t = x(e, c);
|
|
447
|
+
if (!n.disabled.peek()) if (M(t)) o = t.sanitizeUrl(t.getURL()), s = t.getTarget();
|
|
448
|
+
else {
|
|
449
|
+
let e = function(e, t) {
|
|
450
|
+
let n = e;
|
|
451
|
+
for (; n != null;) {
|
|
452
|
+
if (t(n)) return n;
|
|
453
|
+
n = n.parentNode;
|
|
454
|
+
}
|
|
455
|
+
return null;
|
|
456
|
+
}(i, p);
|
|
457
|
+
e !== null && (o = e.href, s = e.target);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}), o === null || o === "") return;
|
|
461
|
+
let l = e.getEditorState().read(y);
|
|
462
|
+
if (v(l) && !l.isCollapsed()) return void r.preventDefault();
|
|
463
|
+
let u = r.type === "auxclick" && r.button === 1;
|
|
464
|
+
window.open(o, n.newTab.peek() || u || r.metaKey || r.ctrlKey || s === "_blank" ? "_blank" : "_self"), r.preventDefault();
|
|
465
|
+
}, a = (e) => {
|
|
466
|
+
e.button === 1 && i(e);
|
|
467
|
+
};
|
|
468
|
+
return e.registerRootListener((e, t) => {
|
|
469
|
+
t !== null && (t.removeEventListener("click", i), t.removeEventListener("mouseup", a)), e !== null && (e.addEventListener("click", i, r), e.addEventListener("mouseup", a, r));
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
s({
|
|
473
|
+
build: (e, t, n) => w(t),
|
|
474
|
+
config: l({
|
|
475
|
+
disabled: !1,
|
|
476
|
+
newTab: !1
|
|
477
|
+
}),
|
|
478
|
+
dependencies: [V],
|
|
479
|
+
name: "@lexical/link/ClickableLink",
|
|
480
|
+
register: (e, t, n) => H(e, n.getOutput())
|
|
481
|
+
});
|
|
482
|
+
function U(e, t = (e) => e) {
|
|
483
|
+
return (n) => {
|
|
484
|
+
let r = e.exec(n);
|
|
485
|
+
return r === null ? null : {
|
|
486
|
+
index: r.index,
|
|
487
|
+
length: r[0].length,
|
|
488
|
+
text: r[0],
|
|
489
|
+
url: t(r[0])
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
function W(e, t) {
|
|
494
|
+
for (let n = 0; n < t.length; n++) {
|
|
495
|
+
let r = t[n](e);
|
|
496
|
+
if (r) return r;
|
|
497
|
+
}
|
|
498
|
+
return null;
|
|
499
|
+
}
|
|
500
|
+
var ue = /[.,;\s]/;
|
|
501
|
+
function G(e) {
|
|
502
|
+
return ue.test(e);
|
|
503
|
+
}
|
|
504
|
+
function K(e) {
|
|
505
|
+
return G(e[e.length - 1]);
|
|
506
|
+
}
|
|
507
|
+
function q(e) {
|
|
508
|
+
return G(e[0]);
|
|
509
|
+
}
|
|
510
|
+
function J(e) {
|
|
511
|
+
let t = e.getPreviousSibling();
|
|
512
|
+
return c(t) && (t = t.getLastDescendant()), t === null || o(t) || a(t) && K(t.getTextContent());
|
|
513
|
+
}
|
|
514
|
+
function Y(e) {
|
|
515
|
+
let t = e.getNextSibling();
|
|
516
|
+
return c(t) && (t = t.getFirstDescendant()), t === null || o(t) || a(t) && q(t.getTextContent());
|
|
517
|
+
}
|
|
518
|
+
function de(e, t, n, r) {
|
|
519
|
+
return (e > 0 ? G(n[e - 1]) : J(r[0])) ? t < n.length ? G(n[t]) : Y(r[r.length - 1]) : !1;
|
|
520
|
+
}
|
|
521
|
+
function fe(e, t, n) {
|
|
522
|
+
let r = [], i = [], a = [], o = 0, s = 0, c = [...e];
|
|
523
|
+
for (; c.length > 0;) {
|
|
524
|
+
let e = c[0], l = e.getTextContent().length, u = s;
|
|
525
|
+
s + l <= t ? (r.push(e), o += l) : u >= n ? a.push(e) : i.push(e), s += l, c.shift();
|
|
526
|
+
}
|
|
527
|
+
return [
|
|
528
|
+
o,
|
|
529
|
+
r,
|
|
530
|
+
i,
|
|
531
|
+
a
|
|
532
|
+
];
|
|
533
|
+
}
|
|
534
|
+
function pe(e, t, n, r) {
|
|
535
|
+
let i = P(r.url, r.attributes);
|
|
536
|
+
if (e.length === 1) {
|
|
537
|
+
let a, o = e[0];
|
|
538
|
+
t === 0 ? [a, o] = o.splitText(n) : [, a, o] = o.splitText(t, n);
|
|
539
|
+
let s = _(r.text);
|
|
540
|
+
return s.setFormat(a.getFormat()), s.setDetail(a.getDetail()), s.setStyle(a.getStyle()), i.append(s), a.replace(i), o;
|
|
541
|
+
}
|
|
542
|
+
if (e.length > 1) {
|
|
543
|
+
let r = e[0], o, s = r.getTextContent().length;
|
|
544
|
+
t === 0 ? o = r : [, o] = r.splitText(t);
|
|
545
|
+
let c = [], l;
|
|
546
|
+
for (let t = 1; t < e.length; t++) {
|
|
547
|
+
let r = e[t], i = r.getTextContent().length, a = s;
|
|
548
|
+
if (a < n) if (s + i <= n) c.push(r);
|
|
549
|
+
else {
|
|
550
|
+
let [e, t] = r.splitText(n - a);
|
|
551
|
+
c.push(e), l = t;
|
|
552
|
+
}
|
|
553
|
+
s += i;
|
|
554
|
+
}
|
|
555
|
+
let u = y(), d = u ? u.getNodes().find(a) : void 0, f = _(o.getTextContent());
|
|
556
|
+
return f.setFormat(o.getFormat()), f.setDetail(o.getDetail()), f.setStyle(o.getStyle()), i.append(f, ...c), d && d === o && (v(u) ? f.select(u.anchor.offset, u.focus.offset) : m(u) && f.select(0, f.getTextContent().length)), o.replace(i), l;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
function X(e, t, n) {
|
|
560
|
+
let r = e.getChildren(), i = r.length;
|
|
561
|
+
for (let t = 0; t < i; t++) {
|
|
562
|
+
let i = r[t];
|
|
563
|
+
if (!a(i) || !i.isSimpleText()) return Z(e), void n(null, e.getURL());
|
|
564
|
+
}
|
|
565
|
+
let o = e.getTextContent(), s = W(o, t);
|
|
566
|
+
if (s === null || s.text !== o || !J(e) || !Y(e)) return Z(e), void n(null, e.getURL());
|
|
567
|
+
let c = e.getURL();
|
|
568
|
+
if (c !== s.url && (e.setURL(s.url), n(s.url, c)), s.attributes) {
|
|
569
|
+
let t = e.getRel();
|
|
570
|
+
t !== s.attributes.rel && (e.setRel(s.attributes.rel || null), n(s.attributes.rel || null, t));
|
|
571
|
+
let r = e.getTarget();
|
|
572
|
+
r !== s.attributes.target && (e.setTarget(s.attributes.target || null), n(s.attributes.target || null, r));
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
function Z(e) {
|
|
576
|
+
let t = e.getChildren();
|
|
577
|
+
for (let n = t.length - 1; n >= 0; n--) e.insertAfter(t[n]);
|
|
578
|
+
return e.remove(), t.map((e) => e.getLatest());
|
|
579
|
+
}
|
|
580
|
+
var Q = {
|
|
581
|
+
changeHandlers: [],
|
|
582
|
+
excludeParents: [],
|
|
583
|
+
matchers: []
|
|
584
|
+
};
|
|
585
|
+
function $(e, t = Q) {
|
|
586
|
+
let { matchers: n, changeHandlers: r, excludeParents: i } = t, o = (e, t) => {
|
|
587
|
+
for (let n of r) n(e, t);
|
|
588
|
+
};
|
|
589
|
+
return f(e.registerNodeTransform(te, (e) => {
|
|
590
|
+
let t = e.getParentOrThrow(), r = e.getPreviousSibling();
|
|
591
|
+
F(t) && !t.getIsUnlinked() ? X(t, n, o) : !M(t) && !i.some((e) => e(t)) && (e.isSimpleText() && (q(e.getTextContent()) || !F(r)) && (function(e, t, n) {
|
|
592
|
+
for (let t of e) {
|
|
593
|
+
let e = t.getParent();
|
|
594
|
+
if (F(e) && !e.getIsUnlinked()) return;
|
|
595
|
+
}
|
|
596
|
+
let r = [...e], i = r.map((e) => e.getTextContent()).join(""), a, o = i, s = 0;
|
|
597
|
+
for (; (a = W(o, t)) && a !== null;) {
|
|
598
|
+
let e = a.index, t = e + a.length;
|
|
599
|
+
if (de(s + e, s + t, i, r)) {
|
|
600
|
+
let [i, , c, l] = fe(r, s + e, s + t), u = !1;
|
|
601
|
+
for (let e of c) {
|
|
602
|
+
let t = e.getParent();
|
|
603
|
+
if (F(t) && !t.getIsUnlinked()) {
|
|
604
|
+
u = !0;
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
if (u) {
|
|
609
|
+
s += t, o = o.substring(t);
|
|
610
|
+
continue;
|
|
611
|
+
}
|
|
612
|
+
let d = pe(c, s + e - i, s + t - i, a);
|
|
613
|
+
r = d ? [d, ...l] : l, n(a.url, null), s = 0;
|
|
614
|
+
} else s += t;
|
|
615
|
+
o = o.substring(t);
|
|
616
|
+
}
|
|
617
|
+
})(function(e) {
|
|
618
|
+
let t = [e], n = e.getNextSibling();
|
|
619
|
+
for (; n !== null && a(n) && n.isSimpleText() && (t.push(n), !/[\s]/.test(n.getTextContent()));) n = n.getNextSibling();
|
|
620
|
+
return t;
|
|
621
|
+
}(e), n, o), (function(e, t, n) {
|
|
622
|
+
let r = e.getParent(), i = e.getPreviousSibling(), a = e.getNextSibling(), o = e.getTextContent();
|
|
623
|
+
if (!F(r) || r.getIsUnlinked()) {
|
|
624
|
+
if (F(i) && !i.getIsUnlinked() && i.is(e.getPreviousSibling()) && e.getParent() === i.getParent()) {
|
|
625
|
+
if (!q(o)) return Z(i), void n(null, i.getURL());
|
|
626
|
+
if (s = o, i.isEmailURI() ? /^\.[a-zA-Z]{2,}/.test(s) : /^\.[a-zA-Z0-9]{1,}/.test(s)) {
|
|
627
|
+
let r = i.getTextContent() + o, a = W(r, t);
|
|
628
|
+
a !== null && a.text === r && (i.append(e), X(i, t, n), n(null, i.getURL()));
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
var s;
|
|
632
|
+
!F(a) || a.getIsUnlinked() || K(o) || a.is(e.getNextSibling()) && e.getParent() === a.getParent() && (Z(a), n(null, a.getURL()));
|
|
633
|
+
}
|
|
634
|
+
})(e, n, o));
|
|
635
|
+
}), e.registerCommand(I, (e) => {
|
|
636
|
+
let t = y();
|
|
637
|
+
return e !== null || !v(t) || t.extract().forEach((e) => {
|
|
638
|
+
let t = e.getParent();
|
|
639
|
+
F(t) && (t.setIsUnlinked(!t.getIsUnlinked()), t.markDirty());
|
|
640
|
+
}), !1;
|
|
641
|
+
}, 1));
|
|
642
|
+
}
|
|
643
|
+
s({
|
|
644
|
+
config: Q,
|
|
645
|
+
dependencies: [V],
|
|
646
|
+
mergeConfig(e, t) {
|
|
647
|
+
let n = u(e, t);
|
|
648
|
+
for (let r of [
|
|
649
|
+
"matchers",
|
|
650
|
+
"changeHandlers",
|
|
651
|
+
"excludeParents"
|
|
652
|
+
]) {
|
|
653
|
+
let i = t[r];
|
|
654
|
+
Array.isArray(i) && (n[r] = [...e[r], ...i]);
|
|
655
|
+
}
|
|
656
|
+
return n;
|
|
657
|
+
},
|
|
658
|
+
name: "@lexical/link/AutoLink",
|
|
659
|
+
nodes: [N],
|
|
660
|
+
register: $
|
|
661
|
+
});
|
|
662
|
+
//#endregion
|
|
663
|
+
export { R as a, $ as c, H as i, E as n, U as o, B as r, I as s, N as t };
|
|
664
|
+
|
|
665
|
+
//# sourceMappingURL=LexicalLink.prod-Dy1gE75H.js.map
|