@uva-glass/component-library 3.55.4 → 3.55.6
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 → Accordion-DvblEUVu.js} +16 -17
- package/dist/{Accordion-BpnBHYIx.js.map → Accordion-DvblEUVu.js.map} +1 -1
- package/dist/ActionList-O9w1hqNg.js.map +1 -1
- package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js → AddCatalogueLinkForm-rph4K9P0.js} +24 -25
- package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js.map → AddCatalogueLinkForm-rph4K9P0.js.map} +1 -1
- package/dist/{CheckboxButtonBar-CalU0IYK.js → CheckboxButtonBar-5UMIFMKH.js} +2 -2
- package/dist/{CheckboxButtonBar-CalU0IYK.js.map → CheckboxButtonBar-5UMIFMKH.js.map} +1 -1
- package/dist/{ControlsButton-zemVxTlg.js → ControlsButton-B1XRpMUM.js} +15 -16
- package/dist/{ControlsButton-zemVxTlg.js.map → ControlsButton-B1XRpMUM.js.map} +1 -1
- package/dist/{Drawer-Ggofac6y.js → Drawer-e7UFHVg9.js} +29 -30
- package/dist/{Drawer-Ggofac6y.js.map → Drawer-e7UFHVg9.js.map} +1 -1
- package/dist/{FieldHint-D0HtbTnt.js → FieldHint-fxnEOsVZ.js} +2 -2
- package/dist/{FieldHint-D0HtbTnt.js.map → FieldHint-fxnEOsVZ.js.map} +1 -1
- package/dist/Fieldset-0LFsZ3Mz.js +22 -0
- package/dist/{Fieldset-CoNu_Owa.js.map → Fieldset-0LFsZ3Mz.js.map} +1 -1
- package/dist/{Lexical.prod-DIglXatJ.js → Lexical.prod-CqPLSi0R.js} +1225 -1120
- package/dist/Lexical.prod-CqPLSi0R.js.map +1 -0
- package/dist/LexicalClipboard.prod-BVw_sFpo.js +651 -0
- package/dist/LexicalClipboard.prod-BVw_sFpo.js.map +1 -0
- package/dist/{LexicalExtension.prod-COPHoPpX.js → LexicalExtension.prod-CUQTgbur.js} +318 -291
- package/dist/LexicalExtension.prod-CUQTgbur.js.map +1 -0
- package/dist/{LexicalLink.prod-Bf9JUdMv.js → LexicalLink.prod-DMhcqD9x.js} +212 -205
- package/dist/LexicalLink.prod-DMhcqD9x.js.map +1 -0
- package/dist/{LexicalList.prod-DRz8vsM9.js → LexicalList.prod-eYlcb5Ao.js} +295 -255
- package/dist/LexicalList.prod-eYlcb5Ao.js.map +1 -0
- package/dist/{LexicalTable.prod-D16GW-aZ.js → LexicalTable.prod-DlOxUQou.js} +717 -703
- package/dist/LexicalTable.prod-DlOxUQou.js.map +1 -0
- package/dist/LexicalUtils.prod-BqcriFWV.js +343 -0
- package/dist/LexicalUtils.prod-BqcriFWV.js.map +1 -0
- package/dist/{LinkContextMenu-m_CGQEiX.js → LinkContextMenu-ePn1iZ_z.js} +2 -2
- package/dist/{LinkContextMenu-m_CGQEiX.js.map → LinkContextMenu-ePn1iZ_z.js.map} +1 -1
- package/dist/{ModalDialog-HUkDdAJ-.js → ModalDialog-N50NGnd4.js} +2 -2
- package/dist/{ModalDialog-HUkDdAJ-.js.map → ModalDialog-N50NGnd4.js.map} +1 -1
- package/dist/MultiSelectBox-Cuh_o-A1.js.map +1 -1
- package/dist/{PageOverlay-D_wG2oie.js → PageOverlay-S4xsqJha.js} +2 -2
- package/dist/{PageOverlay-D_wG2oie.js.map → PageOverlay-S4xsqJha.js.map} +1 -1
- package/dist/{PasteHandlerPlugin-DjD1wryY.js → PasteHandlerPlugin-BNp8ST0q.js} +5 -5
- package/dist/{PasteHandlerPlugin-DjD1wryY.js.map → PasteHandlerPlugin-BNp8ST0q.js.map} +1 -1
- package/dist/Periods-BYETtB6R.js.map +1 -1
- package/dist/{RteEditor.module-Jk80F1FA.js → RteEditor.module-BJLUYSpf.js} +9 -10
- package/dist/{RteEditor.module-Jk80F1FA.js.map → RteEditor.module-BJLUYSpf.js.map} +1 -1
- package/dist/Slider-BlLyrET9.js.map +1 -1
- package/dist/{Sortable.module-BTUOSbOU.js → Sortable.module-8SoaHfuE.js} +6 -7
- package/dist/{Sortable.module-BTUOSbOU.js.map → Sortable.module-8SoaHfuE.js.map} +1 -1
- package/dist/{SortableProvider-Dc7hwkb5.js → SortableProvider-8HYiBXJS.js} +2 -2
- package/dist/{SortableProvider-Dc7hwkb5.js.map → SortableProvider-8HYiBXJS.js.map} +1 -1
- package/dist/Spinner-BpElTDIu.js +30 -0
- package/dist/{Spinner-D8tWqg9j.js.map → Spinner-BpElTDIu.js.map} +1 -1
- package/dist/{TableCellResizerPlugin-CgYsYsuY.js → TableCellResizerPlugin-Bc5y-Qbx.js} +36 -36
- package/dist/{TableCellResizerPlugin-CgYsYsuY.js.map → TableCellResizerPlugin-Bc5y-Qbx.js.map} +1 -1
- package/dist/{TextArea-DqKIpOfT.js → TextArea-CuASC9bX.js} +16 -17
- package/dist/{TextArea-DqKIpOfT.js.map → TextArea-CuASC9bX.js.map} +1 -1
- package/dist/{Tooltip-BzB3jznk.js → Tooltip-D27p9kh4.js} +13 -14
- package/dist/{Tooltip-BzB3jznk.js.map → Tooltip-D27p9kh4.js.map} +1 -1
- package/dist/{chunk-DeC0fbbY.js → chunk-3e0lkp8x.js} +1 -1
- package/dist/{chunk-SZQXB3JV-D0XG4Tlp.js → chunk-SZQXB3JV-D6GR5B4F.js} +5 -5
- package/dist/chunk-SZQXB3JV-D6GR5B4F.js.map +1 -0
- package/dist/{client-UU-mS47K.js → client-8jeXrH7N.js} +10 -10
- package/dist/{client-UU-mS47K.js.map → client-8jeXrH7N.js.map} +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.stories.js +1 -1
- package/dist/components/Accordion/Accordion.stories.js.map +1 -1
- package/dist/components/Accordion/Accordion.test.js +4 -7
- package/dist/components/Accordion/Accordion.test.js.map +1 -1
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AccordionCard/AccordionCard.stories.js.map +1 -1
- package/dist/components/AccordionCard/AccordionCard.test.js +3 -6
- package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
- package/dist/components/ActionList/ActionList.stories.js.map +1 -1
- package/dist/components/ActionList/ActionList.test.js +3 -6
- package/dist/components/ActionList/ActionList.test.js.map +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.stories.js.map +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -5
- package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
- package/dist/components/Attention/Attention.stories.js.map +1 -1
- package/dist/components/Attention/Attention.test.js +2 -5
- package/dist/components/Attention/Attention.test.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.stories.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +2 -5
- package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.stories.js.map +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/Button.stories.js.map +1 -1
- package/dist/components/Buttons/Button.test.js +2 -5
- package/dist/components/Buttons/Button.test.js.map +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js.map +1 -1
- package/dist/components/Buttons/LinkButton.test.js +2 -5
- package/dist/components/Buttons/LinkButton.test.js.map +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.stories.js.map +1 -1
- package/dist/components/Buttons/MenuButton.test.js +2 -5
- package/dist/components/Buttons/MenuButton.test.js.map +1 -1
- package/dist/components/Card/Card.stories.js.map +1 -1
- package/dist/components/Card/Card.test.js +2 -5
- package/dist/components/Card/Card.test.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +3 -6
- package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +2 -2
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +3 -6
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/index.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -2
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -4
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/CheckboxTree/index.js +1 -2
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/Chip/Chip.stories.js.map +1 -1
- package/dist/components/ControlsButton/ControlsButton.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.stories.js +2 -2
- package/dist/components/ControlsButton/ControlsButton.stories.js.map +1 -1
- package/dist/components/ControlsButton/index.js +1 -1
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +2 -2
- package/dist/components/Drawer/Drawer.stories.js.map +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js.map +1 -1
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js.map +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -5
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
- package/dist/components/FeedbackBox/FeedbackBox.stories.js.map +1 -1
- package/dist/components/FieldHint/FieldHint.js +1 -1
- package/dist/components/FieldHint/FieldHint.stories.js +1 -1
- package/dist/components/FieldHint/FieldHint.stories.js.map +1 -1
- package/dist/components/FieldHint/index.js +1 -1
- package/dist/components/Fieldset/Fieldset.js +1 -1
- package/dist/components/Fieldset/Fieldset.stories.js +1 -1
- package/dist/components/Fieldset/Fieldset.stories.js.map +1 -1
- package/dist/components/Fieldset/index.js +1 -1
- package/dist/components/FormField/FormField.stories.js.map +1 -1
- package/dist/components/FormInput/FormInput.js +1 -2
- package/dist/components/FormInput/FormInput.stories.js +2 -3
- package/dist/components/FormInput/FormInput.stories.js.map +1 -1
- package/dist/components/FormInput/index.js +1 -2
- package/dist/components/GridRow/GridRow.stories.js.map +1 -1
- package/dist/components/HorizontalList/HorizontalList.stories.js.map +1 -1
- package/dist/components/Icon/Icon.stories.js.map +1 -1
- package/dist/components/IconButton/IconButton.stories.js +6 -7
- package/dist/components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -1
- package/dist/components/InfoMessage/InfoMessage.stories.js.map +1 -1
- package/dist/components/Input/Input.stories.js.map +1 -1
- package/dist/components/InputField/InputField.stories.js +1 -3
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/Label/Label.stories.js.map +1 -1
- package/dist/components/Label/Label.test.js +2 -5
- package/dist/components/Label/Label.test.js.map +1 -1
- package/dist/components/MenuLink/MenuLink.stories.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.stories.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -4
- package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
- package/dist/components/MetaDataList/MetaDataList.stories.js.map +1 -1
- package/dist/components/ModalDialog/ModalDialog.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +2 -2
- package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
- package/dist/components/ModalDialog/index.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -2
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -3
- package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -2
- package/dist/components/MultiSelect/index.js +1 -2
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -5
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
- package/dist/components/Notification/Notification.stories.js +1 -1
- package/dist/components/Notification/Notification.stories.js.map +1 -1
- package/dist/components/Notification/Notification.test.js +2 -5
- package/dist/components/Notification/Notification.test.js.map +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +6 -7
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js.map +1 -1
- package/dist/components/PageOverlay/PageOverlay.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
- package/dist/components/PageOverlay/index.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -2
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -3
- package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
- package/dist/components/PeriodSelector/index.js +1 -2
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +0 -2
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
- package/dist/components/RadioButton/RadioButton.stories.js.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js.map +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +2 -5
- package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -2
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -3
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
- package/dist/components/RadioTabSelector/index.js +1 -2
- package/dist/components/Repeater/Repeater.stories.js.map +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -2
- package/dist/components/RteEditor/EditorHeader/index.js +1 -2
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +5 -5
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +36 -36
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +16 -16
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +29 -29
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/index.js +3 -3
- package/dist/components/RteEditor/RteEditor.js +1 -2
- package/dist/components/RteEditor/RteEditor.stories.js +1 -2
- package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
- package/dist/components/RteEditor/helpers.js +5 -5
- package/dist/components/RteEditor/helpers.js.map +1 -1
- package/dist/components/RteEditor/hooks/useFlyout.js.map +1 -1
- package/dist/components/RteEditor/index.js +1 -2
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +17 -17
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js.map +1 -1
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +19 -19
- package/dist/components/SearchField/SearcheField.stories.js.map +1 -1
- package/dist/components/SectionNotification/SectionNotification.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
- package/dist/components/Slider/Slider.stories.js.map +1 -1
- package/dist/components/Sortable/Sortable.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js.map +1 -1
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +1 -1
- package/dist/components/Sortable/components/SortableHandle.js +1 -1
- package/dist/components/Sortable/components/SortableItem.js +2 -2
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/Spinner.stories.js +1 -1
- package/dist/components/Spinner/Spinner.stories.js.map +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/StatusBadge/StatusBadge.stories.js.map +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +2 -5
- package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
- package/dist/components/StatusPill/StatusPill.stories.js.map +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextArea/TextArea.stories.js +2 -2
- package/dist/components/TextArea/TextArea.stories.js.map +1 -1
- package/dist/components/TextArea/TextArea.test.js +4 -7
- package/dist/components/TextArea/TextArea.test.js.map +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.js.map +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js.map +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +3 -6
- package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
- package/dist/components/WeekSelector/WeekSelector.stories.js.map +1 -1
- package/dist/components/index.js +12 -13
- package/dist/{components-MNvdQLv1.js → components-BzxAULjf.js} +495 -495
- package/dist/components-BzxAULjf.js.map +1 -0
- package/dist/{dist-2TKCXdYZ.js → dist-V_v3kC0L.js} +183 -183
- package/dist/dist-V_v3kC0L.js.map +1 -0
- package/dist/{esm-UNe_gmRA.js → esm-BwHoYxVb.js} +5 -5
- package/dist/{esm-UNe_gmRA.js.map → esm-BwHoYxVb.js.map} +1 -1
- package/dist/{helpers-BBSxTGRl.js → helpers-B1VK8xTF.js} +7 -7
- package/dist/{helpers-BBSxTGRl.js.map → helpers-B1VK8xTF.js.map} +1 -1
- package/dist/index.js +12 -13
- package/dist/{lib-6BbFZdI7.js → lib-BvOQt8El.js} +2 -2
- package/dist/{lib-6BbFZdI7.js.map → lib-BvOQt8El.js.map} +1 -1
- package/dist/{react-18-CRbkdI-3.js → react-18-B7MZmX_Z.js} +3 -3
- package/dist/{react-18-CRbkdI-3.js.map → react-18-B7MZmX_Z.js.map} +1 -1
- package/dist/{react.esm-CzIhAqlo.js → react.esm-D_F72rY1.js} +590 -590
- package/dist/react.esm-D_F72rY1.js.map +1 -0
- package/dist/setupTests.js +2 -3
- package/dist/setupTests.js.map +1 -1
- package/dist/storybook__react.d.js +99 -99
- package/dist/storybook__react.d.js.map +1 -1
- package/dist/{test-DQruvi8i.js → test-Pa9Lwbsq.js} +13 -11
- package/dist/test-Pa9Lwbsq.js.map +1 -0
- package/dist/{test-utils-BSs0eZfL.js → test-utils-Cmn06m_x.js} +2 -2
- package/dist/{test-utils-BSs0eZfL.js.map → test-utils-Cmn06m_x.js.map} +1 -1
- package/package.json +30 -30
- package/dist/Fieldset-CoNu_Owa.js +0 -23
- package/dist/Lexical.prod-DIglXatJ.js.map +0 -1
- package/dist/LexicalClipboard.prod-Bnzu0sh_.js +0 -248
- package/dist/LexicalClipboard.prod-Bnzu0sh_.js.map +0 -1
- package/dist/LexicalExtension.prod-COPHoPpX.js.map +0 -1
- package/dist/LexicalLink.prod-Bf9JUdMv.js.map +0 -1
- package/dist/LexicalList.prod-DRz8vsM9.js.map +0 -1
- package/dist/LexicalTable.prod-D16GW-aZ.js.map +0 -1
- package/dist/LexicalUtils.prod-BBTLliac.js +0 -360
- package/dist/LexicalUtils.prod-BBTLliac.js.map +0 -1
- package/dist/Spinner-D8tWqg9j.js +0 -31
- package/dist/chunk-SZQXB3JV-D0XG4Tlp.js.map +0 -1
- package/dist/components-MNvdQLv1.js.map +0 -1
- package/dist/dist-2TKCXdYZ.js.map +0 -1
- package/dist/react.esm-CzIhAqlo.js.map +0 -1
- package/dist/test-DQruvi8i.js.map +0 -1
- /package/dist/assets/favicon/{android-chrome-192x192.png → src/assets/favicon/android-chrome-192x192.png} +0 -0
- /package/dist/assets/favicon/{android-chrome-512x512.png → src/assets/favicon/android-chrome-512x512.png} +0 -0
- /package/dist/assets/favicon/{apple-touch-icon.png → src/assets/favicon/apple-touch-icon.png} +0 -0
- /package/dist/assets/favicon/{favicon-16x16.png → src/assets/favicon/favicon-16x16.png} +0 -0
- /package/dist/assets/favicon/{favicon-32x32.png → src/assets/favicon/favicon-32x32.png} +0 -0
- /package/dist/assets/favicon/{favicon.ico → src/assets/favicon/favicon.ico} +0 -0
- /package/dist/assets/favicon/{favicon.svg → src/assets/favicon/favicon.svg} +0 -0
- /package/dist/assets/favicon/{site.webmanifest → src/assets/favicon/site.webmanifest} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff → src/assets/fonts/SourceSans3-Regular.otf.woff} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff2 → src/assets/fonts/SourceSans3-Regular.otf.woff2} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff → src/assets/fonts/SourceSans3-Semibold.otf.woff} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff2 → src/assets/fonts/SourceSans3-Semibold.otf.woff2} +0 -0
- /package/dist/assets/{fonts.css → src/css/fonts.css} +0 -0
- /package/dist/assets/{globals.css → src/css/globals.css} +0 -0
- /package/dist/assets/{variables.css → src/css/variables.css} +0 -0
|
@@ -0,0 +1,651 @@
|
|
|
1
|
+
import { At as e, Bn as t, Ct as n, Dt as r, E as i, Gt as a, Ht as o, I as s, It as c, J as l, L as u, Ln as d, Lt as f, Mn as p, Pt as m, Qn as h, Rn as g, S as _, Sn as ee, St as v, Un as te, V as ne, at as re, bn as y, gn as ie, gt as ae, h as oe, it as b, j as x, mt as S, o as se, ot as C, q as ce, qt as le, rt as ue, s as w, sn as T, v as E, vn as D, w as de, wn as fe, yn as pe, yt as O, z as me } from "./Lexical.prod-CqPLSi0R.js";
|
|
2
|
+
import { _ as he, m as ge, r as _e } from "./LexicalUtils.prod-BqcriFWV.js";
|
|
3
|
+
import { a as k, c as A, t as ve } from "./LexicalExtension.prod-CUQTgbur.js";
|
|
4
|
+
//#region node_modules/@lexical/html/LexicalHtml.prod.mjs
|
|
5
|
+
function j(e, ...t) {
|
|
6
|
+
let n = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
|
|
7
|
+
r.append("code", e);
|
|
8
|
+
for (let e of t) r.append("v", e);
|
|
9
|
+
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.`);
|
|
10
|
+
}
|
|
11
|
+
var M;
|
|
12
|
+
function N(e, t) {
|
|
13
|
+
let { key: n } = t;
|
|
14
|
+
return e && n in e ? e[n] : t.defaultValue;
|
|
15
|
+
}
|
|
16
|
+
function P(e) {
|
|
17
|
+
return M && M.editor === e ? M : void 0;
|
|
18
|
+
}
|
|
19
|
+
function ye(e, t) {
|
|
20
|
+
if ("cfg" in t) {
|
|
21
|
+
let { cfg: n, updater: r } = t;
|
|
22
|
+
return [n, r(N(e, n))];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
}
|
|
26
|
+
function F(e, t) {
|
|
27
|
+
let n = t;
|
|
28
|
+
for (let r of e) {
|
|
29
|
+
let [e, i] = ye(n, r), a = e.key;
|
|
30
|
+
if (n === t && N(n, e) === i) continue;
|
|
31
|
+
let o = n || be(t);
|
|
32
|
+
o[a] = i, n = o;
|
|
33
|
+
}
|
|
34
|
+
return n;
|
|
35
|
+
}
|
|
36
|
+
function be(e) {
|
|
37
|
+
return Object.create(e || null);
|
|
38
|
+
}
|
|
39
|
+
function xe(e, t) {
|
|
40
|
+
return [e, t];
|
|
41
|
+
}
|
|
42
|
+
var I = "@lexical/html/DOM", L = Symbol.for("@lexical/html/DOMExportContext"), Se = () => !0;
|
|
43
|
+
function Ce(e) {
|
|
44
|
+
return (t) => t instanceof e;
|
|
45
|
+
}
|
|
46
|
+
function we(e, { nodes: t }) {
|
|
47
|
+
if (t === "*") return Se;
|
|
48
|
+
let n = {}, r = [];
|
|
49
|
+
for (let i of t) if ("getType" in i) {
|
|
50
|
+
let t = i.getType();
|
|
51
|
+
if (n) {
|
|
52
|
+
let r = e[t];
|
|
53
|
+
r === void 0 && j(339, i.name, t), n = Object.assign(n, r.types);
|
|
54
|
+
}
|
|
55
|
+
r.push(Ce(i));
|
|
56
|
+
} else n = void 0, r.push(i);
|
|
57
|
+
return n || (r.length === 1 ? r[0] : (e) => {
|
|
58
|
+
for (let t of r) if (t(e)) return !0;
|
|
59
|
+
return !1;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function R(e) {
|
|
63
|
+
return (t, n, r) => e(t, r);
|
|
64
|
+
}
|
|
65
|
+
function z(e) {
|
|
66
|
+
return (t, n, r, i) => e(t, n, i);
|
|
67
|
+
}
|
|
68
|
+
function Te(e) {
|
|
69
|
+
return (t, n, r, i, a) => e(t, n, r, a);
|
|
70
|
+
}
|
|
71
|
+
function Ee(e) {
|
|
72
|
+
return (t, n, r, i, a, o) => e(t, n, r, i, o);
|
|
73
|
+
}
|
|
74
|
+
function B(e, t) {
|
|
75
|
+
return (n, r) => {
|
|
76
|
+
let i = () => e(n, r), a = t(n);
|
|
77
|
+
return a ? a(n, i, r) : i();
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function V(e, t) {
|
|
81
|
+
return (n, r, i) => {
|
|
82
|
+
let a = () => e(n, r, i), o = t(n);
|
|
83
|
+
return o ? o(n, r, a, i) : a();
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function De(e, t) {
|
|
87
|
+
return (n, r, i, a) => {
|
|
88
|
+
let o = () => e(n, r, i, a), s = t(n);
|
|
89
|
+
return s ? s(n, r, i, o, a) : o();
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function Oe(e, t) {
|
|
93
|
+
return (n, r, i, a, o) => {
|
|
94
|
+
let s = () => e(n, r, i, a, o), c = t(n);
|
|
95
|
+
return c ? c(n, r, i, a, s, o) : s();
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function ke(e, t) {
|
|
99
|
+
return (n, r, i, a) => {
|
|
100
|
+
e(n, r, i, a);
|
|
101
|
+
let o = t(n);
|
|
102
|
+
o && o(n, r, i, a);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function H(e, t, n, r, i) {
|
|
106
|
+
let a = n[t];
|
|
107
|
+
for (let n of e[t]) if (typeof n[0] == "function") {
|
|
108
|
+
let [e, t] = n;
|
|
109
|
+
a = r(a, (n) => e(n) && t || void 0);
|
|
110
|
+
} else {
|
|
111
|
+
let e = n[1], t = {};
|
|
112
|
+
for (let n in e) {
|
|
113
|
+
let i = e[n];
|
|
114
|
+
i && (t[n] = i.reduce((e, t) => r(e, () => t), a));
|
|
115
|
+
}
|
|
116
|
+
a = r(a, (e) => {
|
|
117
|
+
let n = t[e.getType()];
|
|
118
|
+
return n && i(n);
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
n[t] = a;
|
|
122
|
+
}
|
|
123
|
+
function Ae(e, t, n, r) {
|
|
124
|
+
if (!r) return;
|
|
125
|
+
let i = e[t];
|
|
126
|
+
if (typeof n == "function") i.push([n, r]);
|
|
127
|
+
else {
|
|
128
|
+
let e = i[i.length - 1], t;
|
|
129
|
+
e && e[0] === "types" ? t = e[1] : (t = {}, i.push(["types", t]));
|
|
130
|
+
for (let e in n) {
|
|
131
|
+
let n = t[e] || [];
|
|
132
|
+
t[e] = n, n.push(r);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
function je(e) {
|
|
137
|
+
return e.nodes === "*";
|
|
138
|
+
}
|
|
139
|
+
function Me(e, t) {
|
|
140
|
+
let n = function(e) {
|
|
141
|
+
let t = {}, { nodes: n } = ve(e);
|
|
142
|
+
for (let e of n) t[e.getType()] = {
|
|
143
|
+
klass: e,
|
|
144
|
+
types: {}
|
|
145
|
+
};
|
|
146
|
+
for (let e of Object.values(t)) if (e) {
|
|
147
|
+
let n = e.klass.getType();
|
|
148
|
+
for (let { klass: r } = e; w(r.prototype); r = Object.getPrototypeOf(r)) {
|
|
149
|
+
let { ownNodeType: e } = g(r), i = e && t[e];
|
|
150
|
+
i && (i.types[n] = !0);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return t;
|
|
154
|
+
}(e), r = {
|
|
155
|
+
$createDOM: [],
|
|
156
|
+
$decorateDOM: [],
|
|
157
|
+
$exportDOM: [],
|
|
158
|
+
$extractWithChild: [],
|
|
159
|
+
$getDOMSlot: [],
|
|
160
|
+
$shouldExclude: [],
|
|
161
|
+
$shouldInclude: [],
|
|
162
|
+
$updateDOM: []
|
|
163
|
+
};
|
|
164
|
+
for (let e of function(e) {
|
|
165
|
+
let t = [], n = [], r = [];
|
|
166
|
+
for (let i of e) if (je(i)) t.push(i);
|
|
167
|
+
else if (Array.isArray(i.nodes)) for (let e of i.nodes) w(e.prototype) ? r.push(i.nodes.length === 1 ? i : {
|
|
168
|
+
...i,
|
|
169
|
+
nodes: [e]
|
|
170
|
+
}) : n.push(i.nodes.length === 1 ? i : {
|
|
171
|
+
...i,
|
|
172
|
+
nodes: [e]
|
|
173
|
+
});
|
|
174
|
+
let i = /* @__PURE__ */ new Map(), a = (e) => {
|
|
175
|
+
let t = i.get(e);
|
|
176
|
+
if (t === void 0) {
|
|
177
|
+
t = 0;
|
|
178
|
+
for (let n = e; w(n.prototype); n = Object.getPrototypeOf(n)) t++;
|
|
179
|
+
i.set(e, t);
|
|
180
|
+
}
|
|
181
|
+
return t;
|
|
182
|
+
};
|
|
183
|
+
return r.sort((e, t) => a(e.nodes[0]) - a(t.nodes[0])), [
|
|
184
|
+
...r,
|
|
185
|
+
...n,
|
|
186
|
+
...t
|
|
187
|
+
];
|
|
188
|
+
}(t)) {
|
|
189
|
+
let t = we(n, e);
|
|
190
|
+
for (let n in r) Ae(r, n, t, e[n]);
|
|
191
|
+
}
|
|
192
|
+
return r;
|
|
193
|
+
}
|
|
194
|
+
function Ne(e) {
|
|
195
|
+
return e;
|
|
196
|
+
}
|
|
197
|
+
var Pe = o({
|
|
198
|
+
build: (e, t, n) => ({ defaults: F(t.contextDefaults, void 0) }),
|
|
199
|
+
config: {
|
|
200
|
+
contextDefaults: [],
|
|
201
|
+
overrides: []
|
|
202
|
+
},
|
|
203
|
+
html: { export: new Map([[ae, () => {
|
|
204
|
+
let e = document.createElement("div");
|
|
205
|
+
return e.role = "textbox", { element: e };
|
|
206
|
+
}]]) },
|
|
207
|
+
init(e, t) {
|
|
208
|
+
e.dom = function(e, { overrides: t }) {
|
|
209
|
+
let n = Me(e, t), r = {
|
|
210
|
+
...ee,
|
|
211
|
+
...e.dom
|
|
212
|
+
};
|
|
213
|
+
return H(n, "$createDOM", r, B, R), H(n, "$exportDOM", r, B, R), H(n, "$extractWithChild", r, Oe, Ee), H(n, "$getDOMSlot", r, V, z), H(n, "$shouldExclude", r, V, z), H(n, "$shouldInclude", r, V, z), H(n, "$updateDOM", r, De, Te), H(n, "$decorateDOM", r, ke, Ne), r;
|
|
214
|
+
}(e, t);
|
|
215
|
+
},
|
|
216
|
+
mergeConfig(e, t) {
|
|
217
|
+
let n = y(e, t);
|
|
218
|
+
for (let r of ["overrides", "contextDefaults"]) t[r] && (n[r] = [...e[r], ...t[r]]);
|
|
219
|
+
return n;
|
|
220
|
+
},
|
|
221
|
+
name: I
|
|
222
|
+
});
|
|
223
|
+
function U(e, t, n) {
|
|
224
|
+
return function(e, t, n, r) {
|
|
225
|
+
return Object.assign(pe(Symbol(t), {
|
|
226
|
+
isEqual: r,
|
|
227
|
+
parse: n
|
|
228
|
+
}), { [e]: !0 });
|
|
229
|
+
}(L, e, t, n);
|
|
230
|
+
}
|
|
231
|
+
U("root", Boolean);
|
|
232
|
+
var Fe = U("isExport", Boolean);
|
|
233
|
+
function Ie(e) {
|
|
234
|
+
let t = k.maybeFromEditor(e);
|
|
235
|
+
return t && t.hasExtensionByName(I) ? A(e, Pe).output.defaults : void 0;
|
|
236
|
+
}
|
|
237
|
+
var Le = function(e, t = () => {}) {
|
|
238
|
+
return (n, r = c()) => (i) => {
|
|
239
|
+
let a = P(r), o = a && a[e], s = F(n, o || t(r));
|
|
240
|
+
return s && s !== o ? function(e, t, n, r = c()) {
|
|
241
|
+
let i = M, a = P(r);
|
|
242
|
+
try {
|
|
243
|
+
return M = {
|
|
244
|
+
...a,
|
|
245
|
+
editor: r,
|
|
246
|
+
[e]: t
|
|
247
|
+
}, n();
|
|
248
|
+
} finally {
|
|
249
|
+
M = i;
|
|
250
|
+
}
|
|
251
|
+
}(e, s, i, r) : i();
|
|
252
|
+
};
|
|
253
|
+
}(L, Ie);
|
|
254
|
+
function Re(e) {
|
|
255
|
+
return e.constructor.name === CSSStyleRule.name;
|
|
256
|
+
}
|
|
257
|
+
var W = new Set(["STYLE", "SCRIPT"]);
|
|
258
|
+
function ze(t, n) {
|
|
259
|
+
h(n) && function(t) {
|
|
260
|
+
if (t.querySelector("style") === null) return;
|
|
261
|
+
let n = /* @__PURE__ */ new Map();
|
|
262
|
+
function r(e) {
|
|
263
|
+
let t = n.get(e);
|
|
264
|
+
if (t === void 0) {
|
|
265
|
+
t = /* @__PURE__ */ new Set();
|
|
266
|
+
for (let n = 0; n < e.style.length; n++) t.add(e.style[n]);
|
|
267
|
+
n.set(e, t);
|
|
268
|
+
}
|
|
269
|
+
return t;
|
|
270
|
+
}
|
|
271
|
+
try {
|
|
272
|
+
for (let n of Array.from(t.styleSheets)) {
|
|
273
|
+
let i;
|
|
274
|
+
try {
|
|
275
|
+
i = n.cssRules;
|
|
276
|
+
} catch {
|
|
277
|
+
continue;
|
|
278
|
+
}
|
|
279
|
+
for (let n of Array.from(i)) {
|
|
280
|
+
if (!Re(n)) continue;
|
|
281
|
+
let i;
|
|
282
|
+
try {
|
|
283
|
+
i = t.querySelectorAll(n.selectorText);
|
|
284
|
+
} catch {
|
|
285
|
+
continue;
|
|
286
|
+
}
|
|
287
|
+
for (let t of Array.from(i)) {
|
|
288
|
+
if (!e(t)) continue;
|
|
289
|
+
let i = r(t);
|
|
290
|
+
for (let e = 0; e < n.style.length; e++) {
|
|
291
|
+
let r = n.style[e];
|
|
292
|
+
i.has(r) || t.style.setProperty(r, n.style.getPropertyValue(r), n.style.getPropertyPriority(r));
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
} catch {}
|
|
298
|
+
}(n);
|
|
299
|
+
let r = h(n) ? n.body.childNodes : n.childNodes, i = [], a = [];
|
|
300
|
+
for (let e of r) if (!W.has(e.nodeName)) {
|
|
301
|
+
let n = q(e, t, a, !1);
|
|
302
|
+
if (n !== null) for (let e of n) i.push(e);
|
|
303
|
+
}
|
|
304
|
+
return function(e) {
|
|
305
|
+
for (let t of e) t.getParent() && t.getNextSibling() instanceof b && t.insertAfter(D());
|
|
306
|
+
for (let t of e) {
|
|
307
|
+
let e = t.getParent();
|
|
308
|
+
e && e.splice(t.getIndexWithinParent(), 1, t.getChildren());
|
|
309
|
+
}
|
|
310
|
+
}(a), i;
|
|
311
|
+
}
|
|
312
|
+
function Be(e, t = null, n = c()) {
|
|
313
|
+
return Le([xe(Fe, !0)], n)(() => {
|
|
314
|
+
let r = m(), i = d(n), a = e.append.bind(e);
|
|
315
|
+
for (let e of r.getChildren()) K(n, e, a, t, i);
|
|
316
|
+
return e;
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
function G(e, t = null) {
|
|
320
|
+
return (typeof document > "u" || typeof window > "u" && global.window === void 0) && j(338), Be(document.createElement("div"), t, e).innerHTML;
|
|
321
|
+
}
|
|
322
|
+
function K(t, n, r, i = null, a = d(t)) {
|
|
323
|
+
let o = a.$shouldInclude(n, i, t), s = a.$shouldExclude(n, i, t), c = n;
|
|
324
|
+
i !== null && S(n) && (c = he(i, n, "clone"));
|
|
325
|
+
let { element: l, after: u, append: f, $getChildNodes: p } = a.$exportDOM(c, t);
|
|
326
|
+
if (!l) return !1;
|
|
327
|
+
let m = document.createDocumentFragment(), h = p ? p() : v(c) ? c.getChildren() : [], g = m.append.bind(m);
|
|
328
|
+
for (let e of h) {
|
|
329
|
+
let r = K(t, e, g, i, a);
|
|
330
|
+
!o && r && a.$extractWithChild(n, e, i, "html", t) && (o = !0);
|
|
331
|
+
}
|
|
332
|
+
if (o && !s) {
|
|
333
|
+
if ((e(l) || x(l)) && (f ? f(m) : l.append(m)), r(l), u) {
|
|
334
|
+
let e = u.call(c, l);
|
|
335
|
+
e && (x(l) ? l.replaceChildren(e) : l.replaceWith(e));
|
|
336
|
+
}
|
|
337
|
+
} else r(m);
|
|
338
|
+
return o;
|
|
339
|
+
}
|
|
340
|
+
function q(e, t, n, o, c = /* @__PURE__ */ new Map(), l) {
|
|
341
|
+
let u = [];
|
|
342
|
+
if (W.has(e.nodeName)) return u;
|
|
343
|
+
let d = null, f = function(e, t) {
|
|
344
|
+
let { nodeName: n } = e, r = t._htmlConversions.get(n.toLowerCase()), i = null;
|
|
345
|
+
if (r !== void 0) for (let t of r) {
|
|
346
|
+
let n = t(e);
|
|
347
|
+
n !== null && (i === null || (i.priority || 0) <= (n.priority || 0)) && (i = n);
|
|
348
|
+
}
|
|
349
|
+
return i === null ? null : i.conversion;
|
|
350
|
+
}(e, t), p = f ? f(e) : null, m = null;
|
|
351
|
+
if (p !== null) {
|
|
352
|
+
m = p.after;
|
|
353
|
+
let t = p.node;
|
|
354
|
+
if (d = Array.isArray(t) ? t[t.length - 1] : t, d !== null) {
|
|
355
|
+
for (let [, e] of c) if (d = e(d, l), !d) break;
|
|
356
|
+
d && u.push(...Array.isArray(t) ? t : [d]);
|
|
357
|
+
}
|
|
358
|
+
p.forChild != null && c.set(e.nodeName, p.forChild);
|
|
359
|
+
}
|
|
360
|
+
let h = e.childNodes, g = [], _ = (d == null || !s(d)) && (d != null && O(d) || o);
|
|
361
|
+
for (let e = 0; e < h.length; e++) g.push(...q(h[e], t, n, _, new Map(c), d));
|
|
362
|
+
if (m != null && (g = m(g)), r(e) && (g = Ve(e, g, _ ? () => {
|
|
363
|
+
let e = new b();
|
|
364
|
+
return n.push(e), e;
|
|
365
|
+
} : a)), d == null) if (g.length > 0) for (let e of g) u.push(e);
|
|
366
|
+
else r(e) && function(e) {
|
|
367
|
+
return e.nextSibling == null || e.previousSibling == null ? !1 : i(e.nextSibling) && i(e.previousSibling);
|
|
368
|
+
}(e) && u.push(D());
|
|
369
|
+
else v(d) && d.append(...g);
|
|
370
|
+
return u;
|
|
371
|
+
}
|
|
372
|
+
function Ve(e, t, n) {
|
|
373
|
+
let r = e.style.textAlign, i = [], a = [];
|
|
374
|
+
for (let e = 0; e < t.length; e++) {
|
|
375
|
+
let o = t[e];
|
|
376
|
+
if (O(o)) r && !o.getFormat() && o.setFormat(r), i.push(o);
|
|
377
|
+
else if (a.push(o), e === t.length - 1 || e < t.length - 1 && O(t[e + 1])) {
|
|
378
|
+
let e = n();
|
|
379
|
+
e.setFormat(r), e.append(...a), i.push(e), a = [];
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
return i;
|
|
383
|
+
}
|
|
384
|
+
//#endregion
|
|
385
|
+
//#region node_modules/@lexical/clipboard/LexicalClipboard.prod.mjs
|
|
386
|
+
function J(e, ...t) {
|
|
387
|
+
let n = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
|
|
388
|
+
r.append("code", e);
|
|
389
|
+
for (let e of t) r.append("v", e);
|
|
390
|
+
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.`);
|
|
391
|
+
}
|
|
392
|
+
function Y(e, t = C()) {
|
|
393
|
+
return t ?? J(166), E(t) && t.isCollapsed() || t.getNodes().length === 0 ? "" : G(e, t);
|
|
394
|
+
}
|
|
395
|
+
function X(e, t = C()) {
|
|
396
|
+
return t ?? J(166), E(t) && t.isCollapsed() || t.getNodes().length === 0 ? null : JSON.stringify(Ye(e, t));
|
|
397
|
+
}
|
|
398
|
+
function Z(e, t, n) {
|
|
399
|
+
let r = e.getData("application/x-lexical-editor");
|
|
400
|
+
if (r) try {
|
|
401
|
+
let e = JSON.parse(r);
|
|
402
|
+
if (e.namespace === n._config.namespace && Array.isArray(e.nodes)) return qe(n, Xe(e.nodes), t);
|
|
403
|
+
} catch (e) {
|
|
404
|
+
console.error(e);
|
|
405
|
+
}
|
|
406
|
+
let i = e.getData("text/html"), a = e.getData("text/plain");
|
|
407
|
+
if (i && a !== i) try {
|
|
408
|
+
return qe(n, ze(n, new DOMParser().parseFromString(function(e) {
|
|
409
|
+
return window.trustedTypes && window.trustedTypes.createPolicy ? window.trustedTypes.createPolicy("lexical", { createHTML: (e) => e }).createHTML(e) : e;
|
|
410
|
+
}(i), "text/html")), t);
|
|
411
|
+
} catch (e) {
|
|
412
|
+
console.error(e);
|
|
413
|
+
}
|
|
414
|
+
let o = a || e.getData("text/uri-list");
|
|
415
|
+
if (o != null) if (E(t)) {
|
|
416
|
+
let e = o.split(/(\r?\n|\t)/);
|
|
417
|
+
e[e.length - 1] === "" && e.pop();
|
|
418
|
+
for (let t = 0; t < e.length; t++) {
|
|
419
|
+
let n = C();
|
|
420
|
+
if (E(n)) {
|
|
421
|
+
let r = e[t];
|
|
422
|
+
r === "\n" || r === "\r\n" ? n.insertParagraph() : r === " " ? n.insertNodes([te()]) : n.insertText(r);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
} else t.insertRawText(o);
|
|
426
|
+
}
|
|
427
|
+
var He = "application/x-lexical-drag";
|
|
428
|
+
function Ue(e, t) {
|
|
429
|
+
let n = { editorKey: t.getKey() };
|
|
430
|
+
e.setData(He, JSON.stringify(n));
|
|
431
|
+
}
|
|
432
|
+
function We(e) {
|
|
433
|
+
let t = function(e, t) {
|
|
434
|
+
if (document.caretRangeFromPoint !== void 0) {
|
|
435
|
+
let n = document.caretRangeFromPoint(e, t);
|
|
436
|
+
return n === null ? null : {
|
|
437
|
+
node: n.startContainer,
|
|
438
|
+
offset: n.startOffset
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
if (document.caretPositionFromPoint !== "undefined") {
|
|
442
|
+
let n = document.caretPositionFromPoint(e, t);
|
|
443
|
+
return n === null ? null : {
|
|
444
|
+
node: n.offsetNode,
|
|
445
|
+
offset: n.offset
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
return null;
|
|
449
|
+
}(e.clientX, e.clientY);
|
|
450
|
+
if (t === null) return null;
|
|
451
|
+
let n = de(t.node);
|
|
452
|
+
if (n === null) return null;
|
|
453
|
+
if (S(n)) return ce(n, "next", t.offset);
|
|
454
|
+
if (v(n)) return T(n, t.offset, "next");
|
|
455
|
+
let r = n.getParent();
|
|
456
|
+
return r === null ? null : T(r, n.getIndexWithinParent() + 1, "next");
|
|
457
|
+
}
|
|
458
|
+
function Ge(e, t, n) {
|
|
459
|
+
let r = e.dataTransfer;
|
|
460
|
+
if (r === null) return !1;
|
|
461
|
+
let i = function(e) {
|
|
462
|
+
let t = e.getData(He);
|
|
463
|
+
if (!t) return null;
|
|
464
|
+
let n;
|
|
465
|
+
try {
|
|
466
|
+
n = JSON.parse(t);
|
|
467
|
+
} catch {
|
|
468
|
+
return null;
|
|
469
|
+
}
|
|
470
|
+
return (r = n) !== null && typeof r == "object" && "editorKey" in r && typeof r.editorKey == "string" ? n : null;
|
|
471
|
+
var r;
|
|
472
|
+
}(r);
|
|
473
|
+
if (i === null) return !1;
|
|
474
|
+
let a = We(e);
|
|
475
|
+
if (a === null) return !1;
|
|
476
|
+
let o = le(a);
|
|
477
|
+
if (o === null) return !1;
|
|
478
|
+
let s = i.editorKey === t.getKey(), c = C();
|
|
479
|
+
if (s) {
|
|
480
|
+
if (!E(c) || c.isCollapsed()) return !1;
|
|
481
|
+
if (function(e, t) {
|
|
482
|
+
let { anchor: n, focus: r } = p(re(t), "next");
|
|
483
|
+
return me(n, e) < 0 && me(e, r) < 0;
|
|
484
|
+
}(a, c)) return e.preventDefault(), !0;
|
|
485
|
+
c.removeText();
|
|
486
|
+
}
|
|
487
|
+
if (!o.origin.isAttached()) return e.preventDefault(), !0;
|
|
488
|
+
if (n(r, _(se(o)), t), !s) {
|
|
489
|
+
let e = t.getRootElement(), n = e ? e.ownerDocument : null, r = n ? function(e, t) {
|
|
490
|
+
let n = t.querySelectorAll("[data-lexical-editor=\"true\"]");
|
|
491
|
+
for (let t of Array.from(n)) {
|
|
492
|
+
let n = t.__lexicalEditor;
|
|
493
|
+
if (n && n.getKey() === e) return t;
|
|
494
|
+
}
|
|
495
|
+
return null;
|
|
496
|
+
}(i.editorKey, n) : null;
|
|
497
|
+
r !== null && r.dispatchEvent(new InputEvent("beforeinput", {
|
|
498
|
+
bubbles: !0,
|
|
499
|
+
cancelable: !0,
|
|
500
|
+
inputType: "deleteByDrag"
|
|
501
|
+
}));
|
|
502
|
+
}
|
|
503
|
+
return e.preventDefault(), !0;
|
|
504
|
+
}
|
|
505
|
+
function Ke(e, t) {
|
|
506
|
+
return Ge(e, t, Z);
|
|
507
|
+
}
|
|
508
|
+
function qe(e, r, i) {
|
|
509
|
+
e.dispatchCommand(ie, {
|
|
510
|
+
nodes: r,
|
|
511
|
+
selection: i
|
|
512
|
+
}) || (i.insertNodes(r), function(e) {
|
|
513
|
+
if (E(e) && e.isCollapsed()) {
|
|
514
|
+
let r = e.anchor, i = null, a = fe(r, "previous");
|
|
515
|
+
if (a) if (t(a)) i = a.origin;
|
|
516
|
+
else {
|
|
517
|
+
let e = n(a, ue(m(), "next").getFlipped());
|
|
518
|
+
for (let t of e) {
|
|
519
|
+
if (S(t.origin)) {
|
|
520
|
+
i = t.origin;
|
|
521
|
+
break;
|
|
522
|
+
}
|
|
523
|
+
if (v(t.origin) && !t.origin.isInline()) break;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
if (i && S(i)) {
|
|
527
|
+
let t = i.getFormat(), n = i.getStyle();
|
|
528
|
+
e.format === t && e.style === n || (e.format = t, e.style = n, e.dirty = !0);
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}(i));
|
|
532
|
+
}
|
|
533
|
+
function Je(e, t, n, r = []) {
|
|
534
|
+
let i = t === null || n.isSelected(t), a = v(n) && n.excludeFromCopy("html"), o = n;
|
|
535
|
+
t !== null && S(o) && (o = he(t, o, "clone"));
|
|
536
|
+
let s = v(o) ? o.getChildren() : [], c = function(e) {
|
|
537
|
+
let t = e.exportJSON(), n = e.constructor;
|
|
538
|
+
if (t.type !== n.getType() && J(58, n.name), v(e)) {
|
|
539
|
+
let e = t.children;
|
|
540
|
+
Array.isArray(e) || J(59, n.name);
|
|
541
|
+
}
|
|
542
|
+
return t;
|
|
543
|
+
}(o);
|
|
544
|
+
S(o) && o.getTextContentSize() === 0 && (i = !1);
|
|
545
|
+
for (let r = 0; r < s.length; r++) {
|
|
546
|
+
let a = s[r], o = Je(e, t, a, c.children);
|
|
547
|
+
!i && v(n) && o && n.extractWithChild(a, t, "clone") && (i = !0);
|
|
548
|
+
}
|
|
549
|
+
if (i && !a) r.push(c);
|
|
550
|
+
else if (Array.isArray(c.children)) for (let e = 0; e < c.children.length; e++) {
|
|
551
|
+
let t = c.children[e];
|
|
552
|
+
r.push(t);
|
|
553
|
+
}
|
|
554
|
+
return i;
|
|
555
|
+
}
|
|
556
|
+
function Ye(e, t) {
|
|
557
|
+
let n = [], r = m().getChildren();
|
|
558
|
+
for (let i = 0; i < r.length; i++) Je(e, t, r[i], n);
|
|
559
|
+
return {
|
|
560
|
+
namespace: e._config.namespace,
|
|
561
|
+
nodes: n
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
function Xe(e) {
|
|
565
|
+
let t = [];
|
|
566
|
+
for (let n = 0; n < e.length; n++) {
|
|
567
|
+
let r = e[n], i = oe(r);
|
|
568
|
+
S(i) && ge(i), t.push(i);
|
|
569
|
+
}
|
|
570
|
+
return t;
|
|
571
|
+
}
|
|
572
|
+
var Q = null;
|
|
573
|
+
async function Ze(e, t, n) {
|
|
574
|
+
if (Q !== null) return !1;
|
|
575
|
+
if (t !== null) return new Promise((r, i) => {
|
|
576
|
+
e.update(() => {
|
|
577
|
+
r($(e, t, n));
|
|
578
|
+
});
|
|
579
|
+
});
|
|
580
|
+
let r = e.getRootElement(), i = e._window || window, a = i.document, o = ne(i);
|
|
581
|
+
if (r === null || o === null) return !1;
|
|
582
|
+
let s = a.createElement("span");
|
|
583
|
+
s.style.position = "fixed", s.style.top = "-1000px", s.append(a.createTextNode("#")), r.append(s);
|
|
584
|
+
let c = new Range();
|
|
585
|
+
return c.setStart(s, 0), c.setEnd(s, 1), o.removeAllRanges(), o.addRange(c), new Promise((t, r) => {
|
|
586
|
+
let o = e.registerCommand(u, (r) => (_e(r, ClipboardEvent) && (o(), Q !== null && (i.clearTimeout(Q), Q = null), t($(e, r, n))), !0), 4);
|
|
587
|
+
Q = i.setTimeout(() => {
|
|
588
|
+
o(), Q = null, t(!1);
|
|
589
|
+
}, 50), a.execCommand("copy"), s.remove();
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
function $(e, t, n) {
|
|
593
|
+
if (n === void 0) {
|
|
594
|
+
let t = ne(e._window), r = C();
|
|
595
|
+
if (!r || r.isCollapsed() || !t) return !1;
|
|
596
|
+
let i = t.anchorNode, a = t.focusNode;
|
|
597
|
+
if (i !== null && a !== null && !l(e, i, a)) return !1;
|
|
598
|
+
n = $e(r);
|
|
599
|
+
}
|
|
600
|
+
t.preventDefault();
|
|
601
|
+
let r = t.clipboardData;
|
|
602
|
+
return r !== null && (et(r, n), !0);
|
|
603
|
+
}
|
|
604
|
+
var Qe = [["text/html", Y], ["application/x-lexical-editor", X]];
|
|
605
|
+
function $e(e = C()) {
|
|
606
|
+
return function(e, t) {
|
|
607
|
+
let n = { "text/plain": "" };
|
|
608
|
+
for (let [r, i] of Object.entries(e)) {
|
|
609
|
+
let e = nt(i, t);
|
|
610
|
+
e !== null && (n[r] = e);
|
|
611
|
+
}
|
|
612
|
+
return n;
|
|
613
|
+
}(function() {
|
|
614
|
+
let e = c(), t = k.maybeFromEditor(e);
|
|
615
|
+
return t && t.hasExtensionByName(rt.name) ? A(e, rt).output : tt;
|
|
616
|
+
}(), e);
|
|
617
|
+
}
|
|
618
|
+
function et(e, t) {
|
|
619
|
+
for (let [n] of Qe) t[n] === void 0 && e.setData(n, "");
|
|
620
|
+
for (let n in t) {
|
|
621
|
+
let r = t[n];
|
|
622
|
+
r !== void 0 && e.setData(n, r);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
var tt = {
|
|
626
|
+
"application/x-lexical-editor": [(e, t) => e ? X(c(), e) : t()],
|
|
627
|
+
"text/html": [(e, t) => e ? Y(c(), e) : t()],
|
|
628
|
+
"text/plain": [(e, t) => e ? e.getTextContent() : t()]
|
|
629
|
+
};
|
|
630
|
+
function nt(e, t) {
|
|
631
|
+
let n = (r) => e[r] ? e[r](t, n.bind(null, r - 1)) : null;
|
|
632
|
+
return n(e.length - 1);
|
|
633
|
+
}
|
|
634
|
+
var rt = o({
|
|
635
|
+
build: (e, t, n) => t.$exportMimeType,
|
|
636
|
+
config: f({ $exportMimeType: tt }),
|
|
637
|
+
mergeConfig(e, t) {
|
|
638
|
+
let n = y(e, t);
|
|
639
|
+
if (t.$exportMimeType) {
|
|
640
|
+
let r = { ...e.$exportMimeType };
|
|
641
|
+
for (let [e, n] of Object.entries(t.$exportMimeType)) r[e] = [...r[e], ...n];
|
|
642
|
+
n.$exportMimeType = r;
|
|
643
|
+
}
|
|
644
|
+
return n;
|
|
645
|
+
},
|
|
646
|
+
name: "@lexical/clipboard/GetClipboardData"
|
|
647
|
+
});
|
|
648
|
+
//#endregion
|
|
649
|
+
export { $e as a, G as c, Ke as i, Z as n, et as o, Ze as r, ze as s, Ue as t };
|
|
650
|
+
|
|
651
|
+
//# sourceMappingURL=LexicalClipboard.prod-BVw_sFpo.js.map
|