@omnia/fx 8.0.12-vnext → 8.0.15-vnext
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/internal-do-not-import-from-here/core/index.d.ts +1 -0
- package/internal-do-not-import-from-here/core/use/UseEventHook.d.ts +14 -0
- package/internal-do-not-import-from-here/core/use/index.d.ts +1 -0
- package/internal-do-not-import-from-here/index.d.ts +2 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.richtexteditor.manifest.json +1 -1
- package/internal-do-not-import-from-here/shared/models/Future.js +7 -1
- package/internal-do-not-import-from-here/stores/DefineStore.d.ts +28 -15
- package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +52 -7
- package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +5 -11
- package/internal-do-not-import-from-here/ux/app/management/AppManagement.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/tabs/instance/InstanceTab.d.ts +5 -25
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/LayoutTab.d.ts +5 -25
- package/internal-do-not-import-from-here/ux/app/management/tabs/namingpolicies/NamingPolicyTab.d.ts +5 -25
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/Template.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/TemplateTab.d.ts +5 -25
- package/internal-do-not-import-from-here/ux/compositiontests/OptionsBlockCurrent.d.ts +24 -5
- package/internal-do-not-import-from-here/ux/compositiontests/stores/useNewStoreTest.d.ts +14 -6
- package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/SelectionsArea.d.ts +5 -25
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +423 -72
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/developertools/DeveloperTools copy.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/developertools/DeveloperTools.d.ts +93 -23
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/developertools/DeveloperToolsStyles.css.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelection.d.ts +123 -24
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelector.d.ts +222 -42
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/BlockSettingsPanel.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/LayoutStructure.d.ts +46 -33
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/LayoutStructure_old.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/SettingsPanel.css.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/TemplatePreview.d.ts +70 -20
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/backgroundsettings/BackgroundSettings.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/{BackgroundSettings.d.ts → backgroundsettings/BackgroundSettings.d.ts} +3 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/{IBackgroundSettings.d.ts → backgroundsettings/IBackgroundSettings.d.ts} +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Spacing.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitleSettings.d.ts +261 -48
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointSectionSettingsComponent.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/{IImageBackgroundSettings.d.ts → imagebackgroundsettings/IImageBackgroundSettings.d.ts} +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/{ImageBackgroundSettings.d.ts → imagebackgroundsettings/ImageBackgroundSettings.d.ts} +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/{LayoutClipboard.css.d.ts → layoutclipboard/LayoutClipboard.css.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layoutclipboard/LayoutClipboard.d.ts +46 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Spacing.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/index.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/models/AdminChromeStyles.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.css.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +207 -68
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +281 -106
- package/internal-do-not-import-from-here/ux/oxide/btntoggle/ButtonToggle.d.ts +87 -78
- package/internal-do-not-import-from-here/ux/oxide/card/Card.css.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +100 -35
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.css.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +355 -56
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.css.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +114 -47
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +34 -51
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.css.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +119 -56
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +167 -0
- package/internal-do-not-import-from-here/ux/oxide/layout/Layout.css.d.ts +2 -5
- package/internal-do-not-import-from-here/ux/oxide/layout/Layout.d.ts +25 -39
- package/internal-do-not-import-from-here/ux/oxide/list/List.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +151 -43
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.css.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +123 -43
- package/internal-do-not-import-from-here/ux/oxide/main/Main.d.ts +236 -0
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +75 -58
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +124 -43
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +7 -1
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +368 -70
- package/internal-do-not-import-from-here/ux/oxide/radio/Radio.d.ts +81 -64
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +34 -55
- package/internal-do-not-import-from-here/ux/oxide/select/Select.css.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +273 -0
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +157 -83
- package/internal-do-not-import-from-here/ux/oxide/snackbar/Snackbar.d.ts +135 -0
- package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +88 -0
- package/internal-do-not-import-from-here/ux/oxide/stepper/StepperStep.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/oxide/stepper/StepperStep.d.ts +88 -0
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +61 -59
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.css.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +127 -68
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +100 -50
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +113 -68
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.css.d.ts +11 -1
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +129 -73
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +16 -15
- package/internal-do-not-import-from-here/ux/playground_test/PlayComponent.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/presetupwizard/PreSetupWizard.d.ts +5 -25
- package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditor.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/NodeExtension.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/AlignmentNode.d.ts +21 -9
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkNode.d.ts +11 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Blockquote/BlockquoteNode.d.ts +24 -17
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Bold/BoldNode.d.ts +27 -19
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/BulletList/BulletListNode.d.ts +19 -17
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Code/CodeNode.d.ts +25 -18
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/CodeBlock/CodeBlockNode.d.ts +43 -16
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Doc/DocNode.d.ts +2 -7
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EmoticonPicker/EmoticonPickerNode.d.ts +3 -9
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/nodes/EnterpriseGlossarySuggestionNode.d.ts +3 -14
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/nodes/EnterpriseSuggestionIgnore.d.ts +3 -6
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/plugins/EnterpriseGlossarySuggestion.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Division/DivisionNode.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/ExtendedElements.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/HardBreak/HardBreakNode.d.ts +3 -14
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Iframe/IframeNode.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Img/ImgNode.d.ts +3 -8
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Link/LinkNode.d.ts +3 -12
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Style/StyleNode.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/TrailingParagraph/TrailingNode.d.ts +6 -11
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagNode.d.ts +3 -20
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/plugins/TagSuggestions.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts +25 -13
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HorizontalRule/HorizontalRuleNode.d.ts +15 -10
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Italic/ItalicNode.d.ts +27 -19
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ListItem/ListItemNode.d.ts +5 -11
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ListItem/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaImageNode.d.ts +3 -8
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNode.d.ts +3 -14
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphics.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsColorMatrix.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsComponentTransfer.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsDefinition.d.ts +3 -6
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFilter.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFuncB.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFuncG.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFuncR.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsImage.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Mention/MentionNode.d.ts +15 -36
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Mention/plugins/Suggestions.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/OrderedList/OrderedListNode.d.ts +19 -17
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Paragraph/ParagraphNode.d.ts +15 -7
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Paragraph/index.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Placeholder/PlaceHolderNode.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Placeholder/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/RemoveFormatting/RemoveFormatingNode.d.ts +3 -6
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Strike/StrikeNode.d.ts +25 -19
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/TableNode.d.ts +55 -42
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableCell.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableHeader.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableRow.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/Ulti.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/plugins/TableResizePlugin.d.ts +1 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Text/TextNode.d.ts +3 -7
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Text/index.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextColor/TextColorNode.d.ts +5 -14
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextStyle/TextStyleNode.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextStyle/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TodoList/TodoListNode.d.ts +3 -12
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TodoList/nodes/TodoItem.d.ts +5 -17
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Underline/UnderlineNode.d.ts +23 -13
- package/internal-do-not-import-from-here/ux/richtexteditor/index.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/spacingpicker/{SpacingPicker.css.d.ts → SpacingPicker2.css.d.ts} +7 -9
- package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker2.d.ts +208 -104
- package/internal-do-not-import-from-here/ux/statusmessageoverlay/StatusMessageOverlay.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/theming/InternalTheming.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/theming-v2/ColorManager.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming-v2/ColorSchemaStore.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming-v2/colorschemapicker/ColorSchemaPicker.css.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/theming-v2/colorschemapicker/ColorSchemaPicker.d.ts +138 -0
- package/internal-do-not-import-from-here/ux/theming-v2/styling/UseComponentStyling.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.d.ts +56 -32
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/ThemeEditor.css.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/ThemeEditor.d.ts +57 -17
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/components/ColorSelector.css.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/components/ComponentsViewer.d.ts +46 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/components/FxViewer.d.ts +46 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/components/ThemeViewerStyles.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/store/ThemeEditorStore.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/theming-v2/themes/Colors.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themes/Themes.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/use/UseComponentSetup.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +9 -1
- package/internal-do-not-import-from-here/ux/usertypelayout/UserTypeLayoutRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/components/ContainerRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/VersionedLayoutRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +26 -0
- package/package.json +7 -19
- package/internal-do-not-import-from-here/ux/admin/chrome/AdminChromeOld.d.ts +0 -61
- package/internal-do-not-import-from-here/ux/confirmdialog/VueConfirmDialog.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/ILayoutEditorCanvas.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/developertools/IDeveloperTools.d.ts +0 -18
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/BackgroundSettings.css.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/ILayoutClipboard.d.ts +0 -19
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/LayoutClipboard.d.ts +0 -41
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitleSettings.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/richtexteditor/EditorExtension.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/richtexteditor/MarkExtension.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/spacingpicker/ISpacingPicker.d.ts +0 -28
- package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker.d.ts +0 -44
- package/internal-do-not-import-from-here/ux/spacingpicker/index.d.ts +0 -1
@@ -2,13 +2,7 @@ declare const _default: {
|
|
2
2
|
new (...args: any[]): {
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
|
-
$props: Partial<{
|
6
|
-
[x: number]: string;
|
7
|
-
} | {}> & Omit<(readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
8
|
-
[x: string]: unknown;
|
9
|
-
}>>>>) & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
10
|
-
[x: string]: unknown;
|
11
|
-
}>>>>), never>;
|
5
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
12
6
|
$attrs: {
|
13
7
|
[x: string]: unknown;
|
14
8
|
};
|
@@ -22,11 +16,7 @@ declare const _default: {
|
|
22
16
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
23
17
|
$emit: (event: string, ...args: any[]) => void;
|
24
18
|
$el: any;
|
25
|
-
$options: import("vue").ComponentOptionsBase<
|
26
|
-
[x: string]: unknown;
|
27
|
-
}>>>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
28
|
-
[x: number]: string;
|
29
|
-
} | {}, {}, string> & {
|
19
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
30
20
|
beforeCreate?: (() => void) | (() => void)[];
|
31
21
|
created?: (() => void) | (() => void)[];
|
32
22
|
beforeMount?: (() => void) | (() => void)[];
|
@@ -46,21 +36,11 @@ declare const _default: {
|
|
46
36
|
$forceUpdate: () => void;
|
47
37
|
$nextTick: typeof import("vue").nextTick;
|
48
38
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
49
|
-
} &
|
50
|
-
[x: string]: unknown;
|
51
|
-
}>>>>) & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {} & Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
52
|
-
[x: string]: unknown;
|
53
|
-
}>>>>;
|
39
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
54
40
|
__isFragment?: never;
|
55
41
|
__isTeleport?: never;
|
56
42
|
__isSuspense?: never;
|
57
|
-
} & import("vue").ComponentOptionsBase<
|
58
|
-
|
59
|
-
}>>>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
60
|
-
[x: number]: string;
|
61
|
-
} | {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
62
|
-
propsDefinition: readonly string[] | Readonly<{} & {
|
63
|
-
[x: string]: unknown;
|
64
|
-
}>;
|
43
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
44
|
+
propsDefinition: Readonly<{} & {}>;
|
65
45
|
};
|
66
46
|
export default _default;
|
@@ -1,11 +1,9 @@
|
|
1
1
|
import { TsxAllowUnknowProperties, RichTextEditorStyles } from "../../ux";
|
2
|
-
import { NodeExtension } from "./NodeExtension";
|
3
2
|
import { ToolbarExtension, BubbleMenuToolbarExtension } from "./ToolbarExtension";
|
4
|
-
import { MarkExtension } from "./MarkExtension";
|
5
|
-
import { EditorExtension } from "./EditorExtension";
|
6
3
|
import { GuidValue, RichTextEditorExtensionRegistration, RichTextModes, TipTapEditor } from "../../models";
|
7
4
|
import { RichTextContentExtensionData, RichTextContentHelper } from "./RichTextContentHelper";
|
8
5
|
import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
|
6
|
+
import { Node, Mark, Extension } from "@tiptap/core";
|
9
7
|
export interface IRichTextEditorInstance {
|
10
8
|
/**
|
11
9
|
* @param content to update
|
@@ -32,8 +30,11 @@ export interface BubbleMenuConfiguration {
|
|
32
30
|
configuration: MenuConfiguration;
|
33
31
|
showOnPasted?: boolean;
|
34
32
|
}
|
33
|
+
export type RichTextEditorNodeRegistration = (Node | Mark | Extension) & {
|
34
|
+
priority?: number;
|
35
|
+
};
|
35
36
|
export interface RichTextEditorExtensionDefinition {
|
36
|
-
nodes?: Array<
|
37
|
+
nodes?: Array<RichTextEditorNodeRegistration>;
|
37
38
|
toolbarItems?: Array<ToolbarConfiguration>;
|
38
39
|
bubbleMenuItems?: Array<BubbleMenuConfiguration>;
|
39
40
|
id?: GuidValue;
|
@@ -1,15 +1,3 @@
|
|
1
|
-
import { Node } from "tiptap";
|
2
|
-
import { NodeSpec } from "prosemirror-model";
|
3
|
-
import { INodeExtension } from "../../models";
|
4
|
-
import { Vue } from "../decorators";
|
5
|
-
export declare abstract class NodeExtension extends Node implements INodeExtension {
|
6
|
-
abstract readonly name: string;
|
7
|
-
priority: number;
|
8
|
-
abstract readonly schema: NodeSpec;
|
9
|
-
}
|
10
|
-
export interface NodeExtension {
|
11
|
-
readonly view: Vue;
|
12
|
-
}
|
13
1
|
export interface NodePosition {
|
14
2
|
pos: number;
|
15
3
|
}
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/AlignmentNode.d.ts
CHANGED
@@ -1,10 +1,22 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
commands({ type, schema }: {
|
7
|
-
type: any;
|
8
|
-
schema: any;
|
9
|
-
}): (attrs: any) => (state: any, dispatch: any) => any;
|
1
|
+
import { Extension } from "@tiptap/core";
|
2
|
+
export interface TextAlignOptions {
|
3
|
+
types: string[];
|
4
|
+
alignments: string[];
|
5
|
+
defaultAlignment: string;
|
10
6
|
}
|
7
|
+
declare module "@tiptap/core" {
|
8
|
+
interface Commands<ReturnType> {
|
9
|
+
textAlign: {
|
10
|
+
/**
|
11
|
+
* Set the text align attribute
|
12
|
+
*/
|
13
|
+
setTextAlign: (alignment: string) => ReturnType;
|
14
|
+
/**
|
15
|
+
* Unset the text align attribute
|
16
|
+
*/
|
17
|
+
unsetTextAlign: () => ReturnType;
|
18
|
+
};
|
19
|
+
}
|
20
|
+
}
|
21
|
+
declare const _default: Extension<TextAlignOptions, any>;
|
22
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkNode.d.ts
CHANGED
@@ -1,5 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
get schema(): any;
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
export interface AnchorLinkOptions {
|
3
|
+
HTMLAttributes: Record<string, any>;
|
5
4
|
}
|
5
|
+
declare module "@tiptap/core" {
|
6
|
+
interface Commands<ReturnType> {
|
7
|
+
anchorLink: {};
|
8
|
+
}
|
9
|
+
}
|
10
|
+
export declare const inputRegex: RegExp;
|
11
|
+
declare const _default: Node<AnchorLinkOptions, any>;
|
12
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Blockquote/BlockquoteNode.d.ts
CHANGED
@@ -1,18 +1,25 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
commands({ type, schema }: {
|
6
|
-
type: any;
|
7
|
-
schema: any;
|
8
|
-
}): () => any;
|
9
|
-
keys({ type }: {
|
10
|
-
type: any;
|
11
|
-
}): {
|
12
|
-
"Ctrl->": any;
|
13
|
-
};
|
14
|
-
inputRules({ type }: {
|
15
|
-
type: any;
|
16
|
-
}): any[];
|
17
|
-
compareNumber(a: number, b: number): number;
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
export interface BlockquoteOptions {
|
3
|
+
HTMLAttributes: Record<string, any>;
|
18
4
|
}
|
5
|
+
declare module "@tiptap/core" {
|
6
|
+
interface Commands<ReturnType> {
|
7
|
+
blockQuote: {
|
8
|
+
/**
|
9
|
+
* Set a blockquote node
|
10
|
+
*/
|
11
|
+
setBlockquote: () => ReturnType;
|
12
|
+
/**
|
13
|
+
* Toggle a blockquote node
|
14
|
+
*/
|
15
|
+
toggleBlockquote: () => ReturnType;
|
16
|
+
/**
|
17
|
+
* Unset a blockquote node
|
18
|
+
*/
|
19
|
+
unsetBlockquote: () => ReturnType;
|
20
|
+
};
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export declare const inputRegex: RegExp;
|
24
|
+
declare const _default: Node<BlockquoteOptions, any>;
|
25
|
+
export default _default;
|
@@ -1,20 +1,28 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
get name(): string;
|
5
|
-
get schema(): any;
|
6
|
-
keys({ type }: {
|
7
|
-
type: any;
|
8
|
-
}): {
|
9
|
-
"Mod-b": any;
|
10
|
-
};
|
11
|
-
commands({ type }: {
|
12
|
-
type: any;
|
13
|
-
}): () => any;
|
14
|
-
inputRules({ type }: {
|
15
|
-
type: any;
|
16
|
-
}): any[];
|
17
|
-
pasteRules({ type }: {
|
18
|
-
type: any;
|
19
|
-
}): any[];
|
1
|
+
import { Mark } from "@tiptap/core";
|
2
|
+
export interface BoldOptions {
|
3
|
+
HTMLAttributes: Record<string, any>;
|
20
4
|
}
|
5
|
+
declare module "@tiptap/core" {
|
6
|
+
interface Commands<ReturnType> {
|
7
|
+
bold: {
|
8
|
+
/**
|
9
|
+
* Set a bold mark
|
10
|
+
*/
|
11
|
+
setBold: () => ReturnType;
|
12
|
+
/**
|
13
|
+
* Toggle a bold mark
|
14
|
+
*/
|
15
|
+
toggleBold: () => ReturnType;
|
16
|
+
/**
|
17
|
+
* Unset a bold mark
|
18
|
+
*/
|
19
|
+
unsetBold: () => ReturnType;
|
20
|
+
};
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export declare const starInputRegex: RegExp;
|
24
|
+
export declare const starPasteRegex: RegExp;
|
25
|
+
export declare const underscoreInputRegex: RegExp;
|
26
|
+
export declare const underscorePasteRegex: RegExp;
|
27
|
+
declare const _default: Mark<BoldOptions, any>;
|
28
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/BulletList/BulletListNode.d.ts
CHANGED
@@ -1,18 +1,20 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
schema: any;
|
8
|
-
}): () => any;
|
9
|
-
keys({ type, schema }: {
|
10
|
-
type: any;
|
11
|
-
schema: any;
|
12
|
-
}): {
|
13
|
-
"Shift-Ctrl-8": any;
|
14
|
-
};
|
15
|
-
inputRules({ type }: {
|
16
|
-
type: any;
|
17
|
-
}): any[];
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
export interface BulletListOptions {
|
3
|
+
itemTypeName: string;
|
4
|
+
HTMLAttributes: Record<string, any>;
|
5
|
+
keepMarks: boolean;
|
6
|
+
keepAttributes: boolean;
|
18
7
|
}
|
8
|
+
declare module "@tiptap/core" {
|
9
|
+
interface Commands<ReturnType> {
|
10
|
+
bulletList: {
|
11
|
+
/**
|
12
|
+
* Toggle a bullet list
|
13
|
+
*/
|
14
|
+
toggleBulletList: () => ReturnType;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
}
|
18
|
+
export declare const inputRegex: RegExp;
|
19
|
+
declare const _default: Node<BulletListOptions, any>;
|
20
|
+
export default _default;
|
@@ -1,19 +1,26 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
keys({ type }: {
|
6
|
-
type: any;
|
7
|
-
}): {
|
8
|
-
"Mod-`": any;
|
9
|
-
};
|
10
|
-
commands({ type }: {
|
11
|
-
type: any;
|
12
|
-
}): () => any;
|
13
|
-
inputRules({ type }: {
|
14
|
-
type: any;
|
15
|
-
}): any[];
|
16
|
-
pasteRules({ type }: {
|
17
|
-
type: any;
|
18
|
-
}): any[];
|
1
|
+
import { Mark } from "@tiptap/core";
|
2
|
+
export interface CodeOptions {
|
3
|
+
HTMLAttributes: Record<string, any>;
|
19
4
|
}
|
5
|
+
declare module "@tiptap/core" {
|
6
|
+
interface Commands<ReturnType> {
|
7
|
+
code: {
|
8
|
+
/**
|
9
|
+
* Set a code mark
|
10
|
+
*/
|
11
|
+
setCode: () => ReturnType;
|
12
|
+
/**
|
13
|
+
* Toggle inline code
|
14
|
+
*/
|
15
|
+
toggleCode: () => ReturnType;
|
16
|
+
/**
|
17
|
+
* Unset a code mark
|
18
|
+
*/
|
19
|
+
unsetCode: () => ReturnType;
|
20
|
+
};
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export declare const inputRegex: RegExp;
|
24
|
+
export declare const pasteRegex: RegExp;
|
25
|
+
declare const _default: Mark<CodeOptions, any>;
|
26
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/CodeBlock/CodeBlockNode.d.ts
CHANGED
@@ -1,17 +1,44 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
export interface CodeBlockOptions {
|
3
|
+
/**
|
4
|
+
* Adds a prefix to language classes that are applied to code tags.
|
5
|
+
* Defaults to `"language-"`.
|
6
|
+
*/
|
7
|
+
languageClassPrefix: string;
|
8
|
+
/**
|
9
|
+
* Define whether the node should be exited on triple enter.
|
10
|
+
* Defaults to `true`.
|
11
|
+
*/
|
12
|
+
exitOnTripleEnter: boolean;
|
13
|
+
/**
|
14
|
+
* Define whether the node should be exited on arrow down if there is no node after it.
|
15
|
+
* Defaults to `true`.
|
16
|
+
*/
|
17
|
+
exitOnArrowDown: boolean;
|
18
|
+
/**
|
19
|
+
* Custom HTML attributes that should be added to the rendered HTML tag.
|
20
|
+
*/
|
21
|
+
HTMLAttributes: Record<string, any>;
|
17
22
|
}
|
23
|
+
declare module "@tiptap/core" {
|
24
|
+
interface Commands<ReturnType> {
|
25
|
+
codeBlock: {
|
26
|
+
/**
|
27
|
+
* Set a code block
|
28
|
+
*/
|
29
|
+
setCodeBlock: (attributes?: {
|
30
|
+
language: string;
|
31
|
+
}) => ReturnType;
|
32
|
+
/**
|
33
|
+
* Toggle a code block
|
34
|
+
*/
|
35
|
+
toggleCodeBlock: (attributes?: {
|
36
|
+
language: string;
|
37
|
+
}) => ReturnType;
|
38
|
+
};
|
39
|
+
}
|
40
|
+
}
|
41
|
+
export declare const backtickInputRegex: RegExp;
|
42
|
+
export declare const tildeInputRegex: RegExp;
|
43
|
+
declare const _default: Node<CodeBlockOptions, any>;
|
44
|
+
export default _default;
|
@@ -1,9 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
get view(): any;
|
6
|
-
commands({ type }: {
|
7
|
-
type: any;
|
8
|
-
}): (attrs: any) => (state: any, dispatch: any) => void;
|
9
|
-
}
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
declare const _default: Node<any, any>;
|
3
|
+
export default _default;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
}
|
5
|
-
export default class EnterpriseGlossarySuggestion extends NodeExtension {
|
6
|
-
static options: Partial<EnterpriseGlossarySuggestionOptions>;
|
7
|
-
constructor(options?: Partial<EnterpriseGlossarySuggestionConfigurationOption>);
|
8
|
-
get name(): string;
|
9
|
-
get defaultOptions(): {};
|
10
|
-
get schema(): any;
|
11
|
-
get view(): any;
|
12
|
-
get plugins(): any[];
|
13
|
-
}
|
14
|
-
export {};
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
declare const _default: Node<any, any>;
|
3
|
+
export default _default;
|
@@ -1,6 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
get name(): string;
|
5
|
-
get schema(): any;
|
6
|
-
}
|
1
|
+
import { Mark } from "@tiptap/core";
|
2
|
+
declare const _default: Mark<any, any>;
|
3
|
+
export default _default;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import { Plugin } from "prosemirror-state";
|
2
|
+
import { DecorationSet } from "prosemirror-view";
|
1
3
|
import "./EnterpriseGlossarySuggestion.css";
|
2
4
|
import { EnterpriseGlossarySuggestionConfigurationOption } from "../models";
|
3
|
-
export default function EnterpriseGlossarySuggestionPlugin(configOptions: EnterpriseGlossarySuggestionConfigurationOption):
|
5
|
+
export default function EnterpriseGlossarySuggestionPlugin(configOptions: EnterpriseGlossarySuggestionConfigurationOption): Plugin<DecorationSet>;
|
@@ -1,5 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
}
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
declare const _default: Node<any, any>;
|
3
|
+
export default _default;
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import { RichTextEditorExtension, RichTextEditorExtensionDefinition } from "../../IRichTextEditor";
|
2
2
|
import { Guid, ExtendedElementsEditorExtensionConfiguration } from "../../../../models";
|
3
|
-
import {
|
4
|
-
import { EditorExtension } from "../../EditorExtension";
|
3
|
+
import { Node, Extension } from "@tiptap/core";
|
5
4
|
export declare class ExtendedElementsEditorExtension implements RichTextEditorExtension {
|
6
5
|
static get id(): Guid;
|
7
|
-
nodes: Array<
|
6
|
+
nodes: Array<Node | Extension>;
|
8
7
|
constructor(config?: ExtendedElementsEditorExtensionConfiguration);
|
9
8
|
getDefition(): Promise<RichTextEditorExtensionDefinition>;
|
10
9
|
static getNodes(): Array<any>;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
keys({ type }: {
|
6
|
-
type: any;
|
7
|
-
}): {
|
8
|
-
"Mod-Enter": any;
|
9
|
-
"Shift-Enter": any;
|
10
|
-
};
|
11
|
-
commands({ type }: {
|
12
|
-
type: any;
|
13
|
-
}): () => (state: any, dispatch: any) => any;
|
14
|
-
}
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
declare const _default: Node<any, any>;
|
3
|
+
export default _default;
|
@@ -1,8 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
commands({ type }: {
|
6
|
-
type: any;
|
7
|
-
}): () => any;
|
8
|
-
}
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
declare const _default: Node<any, any>;
|
3
|
+
export default _default;
|
@@ -1,12 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
get schema(): any;
|
5
|
-
commands({ type }: {
|
6
|
-
type: any;
|
7
|
-
}): (attrs: any) => any;
|
8
|
-
pasteRules({ type }: {
|
9
|
-
type: any;
|
10
|
-
}): any[];
|
11
|
-
get plugins(): any[];
|
12
|
-
}
|
1
|
+
import { Mark } from "@tiptap/core";
|
2
|
+
declare const _default: Mark<any, any>;
|
3
|
+
export default _default;
|
@@ -1,11 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
node: string;
|
8
|
-
notAfter: string[];
|
9
|
-
};
|
10
|
-
get plugins(): any[];
|
11
|
-
}
|
1
|
+
import { Extension } from "@tiptap/core";
|
2
|
+
declare const _default: Extension<{
|
3
|
+
node: string;
|
4
|
+
notAfter: string[];
|
5
|
+
}, any>;
|
6
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagNode.d.ts
CHANGED
@@ -1,25 +1,8 @@
|
|
1
|
-
import { NodeExtension } from "../../NodeExtension";
|
2
1
|
import { HashTagEditorExtensionConfiguration } from "@omnia/fx-models";
|
3
|
-
interface HashTagHtml {
|
4
|
-
tag: any;
|
5
|
-
html: string;
|
6
|
-
}
|
7
2
|
interface HashTagOptions extends HashTagEditorExtensionConfiguration {
|
8
3
|
matcher: any;
|
9
4
|
suggestionClass: string;
|
10
5
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
};
|
15
|
-
static options: Partial<HashTagOptions>;
|
16
|
-
constructor(options?: Partial<HashTagEditorExtensionConfiguration>);
|
17
|
-
get name(): string;
|
18
|
-
get defaultOptions(): {};
|
19
|
-
get schema(): any;
|
20
|
-
get plugins(): any[];
|
21
|
-
myReplaceText(range: any, attrs: {
|
22
|
-
tagName: string;
|
23
|
-
}, schema: any, fragment?: any): (state: any, dispatch: any) => boolean;
|
24
|
-
}
|
25
|
-
export {};
|
6
|
+
import { Node } from "@tiptap/core";
|
7
|
+
declare const _default: Node<HashTagOptions, any>;
|
8
|
+
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Plugin } from "prosemirror-state";
|
1
2
|
export default function TagSuggestionsPlugin({ matcher, appendText, suggestionClass, command, items, onEnter, onChange, onExit, onKeyDown, onFilter, }: {
|
2
3
|
matcher?: {
|
3
4
|
char: string;
|
@@ -13,4 +14,4 @@ export default function TagSuggestionsPlugin({ matcher, appendText, suggestionCl
|
|
13
14
|
onExit?: (props?: any) => boolean;
|
14
15
|
onKeyDown?: (props?: any) => boolean;
|
15
16
|
onFilter?: (searchItems: any, query: any) => any;
|
16
|
-
}): any
|
17
|
+
}): Plugin<any>;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts
CHANGED
@@ -1,14 +1,26 @@
|
|
1
|
-
import {
|
2
|
-
export
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
get defaultOptions(): {
|
7
|
-
headings: any[];
|
8
|
-
};
|
9
|
-
get schema(): any;
|
10
|
-
commands({ type, schema }: {
|
11
|
-
type: any;
|
12
|
-
schema: any;
|
13
|
-
}): (attrs: any) => (state: any, dispatch: any, view: any) => any;
|
1
|
+
import { Node } from "@tiptap/core";
|
2
|
+
export type Level = 1 | 2 | 3 | 4 | 5 | 6;
|
3
|
+
export interface HeadingOptions {
|
4
|
+
levels: Level[];
|
5
|
+
HTMLAttributes: Record<string, any>;
|
14
6
|
}
|
7
|
+
declare module "@tiptap/core" {
|
8
|
+
interface Commands<ReturnType> {
|
9
|
+
heading: {
|
10
|
+
/**
|
11
|
+
* Set a heading node
|
12
|
+
*/
|
13
|
+
setHeading: (attributes: {
|
14
|
+
level: Level;
|
15
|
+
}) => ReturnType;
|
16
|
+
/**
|
17
|
+
* Toggle a heading node
|
18
|
+
*/
|
19
|
+
toggleHeading: (attributes: {
|
20
|
+
level: Level;
|
21
|
+
}) => ReturnType;
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}
|
25
|
+
declare const _default: Node<HeadingOptions, any>;
|
26
|
+
export default _default;
|