@oneclick.dev/cms-core-modules 0.0.40 → 0.0.42
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/cms-core-modules.css +1 -1
- package/dist/index-C8S5uH3d.js +1 -0
- package/dist/{index-T3jqfug4.mjs → index-DgIB_CNA.mjs} +30 -30
- package/dist/index.cjs.js +323 -12
- package/dist/index.mjs +55407 -19463
- package/dist/src/appointments/components/create/StepNavigation.vue.d.ts +32 -0
- package/dist/src/appointments/components/create/regular/Step4.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +12 -0
- package/dist/src/appointments/components/edit/EditLayout.vue.d.ts +17 -0
- package/dist/src/appointments/components/edit/EventDialog.vue.d.ts +4 -0
- package/dist/src/{custom/components/elements/text/Text.vue.d.ts → appointments/components/edit/EventTimeIndicator.vue.d.ts} +7 -9
- package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +32 -0
- package/dist/src/{custom/components/CustomDashboard.vue.d.ts → appointments/components/edit/EventView.vue.d.ts} +2 -2
- package/dist/src/appointments/components/edit/ExceptionDialog.vue.d.ts +24 -0
- package/dist/src/{custom/components/admin/Transformer.vue.d.ts → appointments/components/edit/RegularSlotEditor.vue.d.ts} +2 -2
- package/dist/src/appointments/config.d.ts +25 -0
- package/dist/src/appointments/index.d.ts +67 -0
- package/dist/src/{custom/components/elements/checkbox/Checkbox.vue.d.ts → appointments/index.vue.d.ts} +10 -16
- package/dist/src/appointments/metadata.d.ts +2 -0
- package/dist/src/appointments/pages/Overview.vue.d.ts +4 -0
- package/dist/src/{custom/components/AdminElementEditor.vue.d.ts → appointments/pages/create/regular.vue.d.ts} +3 -3
- package/dist/src/appointments/pages/edit/availability.vue.d.ts +27 -0
- package/dist/src/appointments/permissions.d.ts +5 -0
- package/dist/src/appointments/routes.d.ts +17 -0
- package/dist/src/appointments/tools.d.ts +25 -0
- package/dist/src/appointments/types.d.ts +42 -0
- package/dist/src/content-manager/components/components/ComponentDialog.vue.d.ts +12 -0
- package/dist/src/{custom/components/AdminToolbar.vue.d.ts → content-manager/components/components/ComponentGridItem.vue.d.ts} +7 -7
- package/dist/src/content-manager/components/content-editor/ContentLayout.vue.d.ts +41 -0
- package/dist/src/content-manager/components/content-editor/ContentSettings.vue.d.ts +24 -0
- package/dist/src/content-manager/components/content-editor/Header.vue.d.ts +64 -0
- package/dist/src/content-manager/components/content-editor/LivePreviewWrapper.vue.d.ts +53 -0
- package/dist/src/content-manager/components/content-editor/Locales.vue.d.ts +42 -0
- package/dist/src/content-manager/components/content-editor/NewSectionDialog.vue.d.ts +17 -0
- package/dist/src/{custom/components/elements/label/Label.vue.d.ts → content-manager/components/content-editor/SEO.vue.d.ts} +4 -4
- package/dist/src/content-manager/components/content-editor/SidebarSectionWrapper.vue.d.ts +29 -0
- package/dist/src/content-manager/components/content-editor/Status.vue.d.ts +2 -0
- package/dist/src/content-manager/components/content-editor/Versions.vue.d.ts +63 -0
- package/dist/src/content-manager/components/content-editor/code-examples.d.ts +4 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Button.d.ts +20 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Button.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Card.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Card.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Column.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Column.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Columns.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Columns.vue.d.ts +115 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/ComponentEditorNode.d.ts +24 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Container.d.ts +47 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Container.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Divider.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Divider.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/DragHandle.d.ts +76 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/EmptySpace.d.ts +18 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +94 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Heading.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Heading.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Image.d.ts +15 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Image.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/LockBlocks.d.ts +8 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Map.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Map.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/NodeDragPointerEventsFix.d.ts +7 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/OnlyContainerDocument.d.ts +2 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Paragraph.d.ts +14 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +3 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Video.d.ts +15 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/Video.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +92 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/content/details-content.d.ts +10 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/content/index.d.ts +3 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/details.d.ts +24 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/helpers/findClosestVisibleNode.d.ts +8 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/helpers/isNodeVisible.d.ts +2 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/helpers/setGapCursor.d.ts +2 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/index.d.ts +5 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/summary/details-summary.d.ts +10 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-details/summary/index.d.ts +3 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/drag-handle-plugin.d.ts +25 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/drag-handle.d.ts +50 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/cloneElement.d.ts +1 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/dragHandler.d.ts +2 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/findNextElementFromCursor.d.ts +17 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/getComputedStyle.d.ts +1 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/getInnerCoords.d.ts +5 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/getOuterNode.d.ts +3 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/minMax.d.ts +1 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/removeNode.d.ts +1 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/index.d.ts +4 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +108 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +20 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +94 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/helpers/useContainerFocus.d.ts +7 -0
- package/dist/src/content-manager/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +8 -0
- package/dist/src/{custom/components/admin/setting-views/new-element-view/DraggableElement.vue.d.ts → content-manager/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts} +9 -9
- package/dist/src/content-manager/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +19 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +8 -0
- package/dist/src/{custom/components/elements/textfield/Textfield.vue.d.ts → content-manager/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts} +16 -14
- package/dist/src/content-manager/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +6 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +17 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/ColumnsMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +13 -0
- package/dist/src/content-manager/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +128 -0
- package/dist/src/content-manager/components/overview/CollectionDialog.vue.d.ts +30 -0
- package/dist/src/content-manager/components/overview/CollectionsGridView.vue.d.ts +18 -0
- package/dist/src/content-manager/components/overview/ContentEntryContextMenu.vue.d.ts +27 -0
- package/dist/src/content-manager/components/overview/FilterPopover.vue.d.ts +2 -0
- package/dist/src/{custom/components/AdminToolbarView.vue.d.ts → content-manager/components/overview/ListView.vue.d.ts} +6 -4
- package/dist/src/content-manager/components/styling/ButtonStyleDialog.vue.d.ts +24 -0
- package/dist/src/content-manager/components/styling/SectionStyleDialog.vue.d.ts +24 -0
- package/dist/src/content-manager/config.d.ts +87 -0
- package/dist/src/content-manager/index.d.ts +250 -0
- package/dist/src/content-manager/index.vue.d.ts +22 -0
- package/dist/src/content-manager/metadata.d.ts +2 -0
- package/dist/src/content-manager/pages/Components.vue.d.ts +27 -0
- package/dist/src/content-manager/pages/ContentEditor.vue.d.ts +14 -0
- package/dist/src/content-manager/pages/Entries.vue.d.ts +16 -0
- package/dist/src/content-manager/pages/GlobalStyling.vue.d.ts +79 -0
- package/dist/src/content-manager/pages/Overview.vue.d.ts +57 -0
- package/dist/src/content-manager/permissions.d.ts +5 -0
- package/dist/src/content-manager/routes.d.ts +138 -0
- package/dist/src/content-manager/stores/useTableStore.d.ts +5 -0
- package/dist/src/content-manager/tools.d.ts +1 -0
- package/dist/src/content-manager/types.d.ts +0 -0
- package/dist/src/custom/config.d.ts +13 -2
- package/dist/src/custom/index.d.ts +14 -31
- package/dist/src/custom/index.vue.d.ts +1 -21
- package/dist/src/custom/metadata.d.ts +1 -1
- package/dist/src/custom/pages/View.vue.d.ts +1 -13
- package/dist/src/custom/routes.d.ts +1 -11
- package/dist/src/index.d.ts +9 -5
- package/dist/src/lib/languages.d.ts +7 -0
- package/dist/src/mail-templates/config.d.ts +25 -0
- package/dist/src/mail-templates/index.d.ts +65 -0
- package/dist/src/mail-templates/index.vue.d.ts +22 -0
- package/dist/src/mail-templates/metadata.d.ts +2 -0
- package/dist/src/mail-templates/pages/Detail.vue.d.ts +14 -0
- package/dist/src/mail-templates/pages/Overview.vue.d.ts +14 -0
- package/dist/src/mail-templates/permissions.d.ts +5 -0
- package/dist/src/mail-templates/routes.d.ts +15 -0
- package/dist/src/mail-templates/stores/useTableStore.d.ts +5 -0
- package/dist/src/mail-templates/tools.d.ts +25 -0
- package/dist/src/mail-templates/types.d.ts +21 -0
- package/dist/src/product-collections/config.d.ts +23 -2
- package/dist/src/product-collections/index.d.ts +23 -1
- package/dist/src/products/components/detail/NewSection.vue.d.ts +2 -0
- package/dist/src/products/components/overview/FilterPopover.vue.d.ts +2 -0
- package/dist/src/products/components/overview/ProductContextMenu.vue.d.ts +27 -0
- package/dist/src/products/config.d.ts +39 -3
- package/dist/src/products/index.d.ts +39 -2
- package/dist/src/promo-codes/config.d.ts +13 -2
- package/dist/src/promo-codes/index.d.ts +13 -1
- package/dist/src/shared/BrandLogo.vue.d.ts +12 -0
- package/dist/src/shared/DrawerToggle.vue.d.ts +60 -0
- package/dist/src/shared/VerticalToggle.vue.d.ts +60 -0
- package/dist/src/shipping-options/components/detail/Condition.vue.d.ts +2 -0
- package/dist/src/shipping-options/components/detail/Countries.vue.d.ts +2 -0
- package/dist/src/shipping-options/components/detail/Example.vue.d.ts +2 -0
- package/dist/src/shipping-options/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/shipping-options/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/shipping-options/config.d.ts +25 -0
- package/dist/src/shipping-options/index.d.ts +65 -0
- package/dist/src/shipping-options/index.vue.d.ts +22 -0
- package/dist/src/shipping-options/metadata.d.ts +2 -0
- package/dist/src/shipping-options/pages/Detail.vue.d.ts +14 -0
- package/dist/src/shipping-options/pages/Overview.vue.d.ts +16 -0
- package/dist/src/shipping-options/permissions.d.ts +5 -0
- package/dist/src/shipping-options/routes.d.ts +15 -0
- package/dist/src/shipping-options/stores/useTableStore.d.ts +5 -0
- package/dist/src/shipping-options/tools.d.ts +1 -0
- package/dist/src/shipping-options/types.d.ts +21 -0
- package/dist/src/table/config.d.ts +42 -2
- package/dist/src/table/index.d.ts +44 -7
- package/dist/src/table/metadata.d.ts +1 -1
- package/dist/src/table/permissions.d.ts +1 -5
- package/dist/src/types/index.d.ts +0 -65
- package/package.json +34 -4
- package/dist/index-DEgppVnR.js +0 -1
- package/dist/src/custom/components/admin/element-setting-views/index.d.ts +0 -11
- package/dist/src/custom/components/admin/setting-views/HistoryView.vue.d.ts +0 -2
- package/dist/src/custom/components/admin/setting-views/variables-view/ApiActionVariables.vue.d.ts +0 -2
- package/dist/src/custom/components/admin/setting-views/variables-view/RouteQueryParams.vue.d.ts +0 -2
- package/dist/src/custom/components/admin/setting-views/variables-view/Transformers.vue.d.ts +0 -2
- package/dist/src/custom/components/admin/setting-views/variables-view/Variables.vue.d.ts +0 -2
- package/dist/src/custom/components/elements/button/Button.vue.d.ts +0 -40
- package/dist/src/custom/components/elements/button/index.d.ts +0 -1
- package/dist/src/custom/components/elements/checkbox/index.d.ts +0 -1
- package/dist/src/custom/components/elements/file/File.vue.d.ts +0 -2
- package/dist/src/custom/components/elements/file/index.d.ts +0 -1
- package/dist/src/custom/components/elements/images/Images.vue.d.ts +0 -2
- package/dist/src/custom/components/elements/images/index.d.ts +0 -1
- package/dist/src/custom/components/elements/items/Items.vue.d.ts +0 -2
- package/dist/src/custom/components/elements/items/index.d.ts +0 -1
- package/dist/src/custom/components/elements/label/index.d.ts +0 -1
- package/dist/src/custom/components/elements/location/Location.vue.d.ts +0 -2
- package/dist/src/custom/components/elements/location/index.d.ts +0 -1
- package/dist/src/custom/components/elements/radios/Radios.vue.d.ts +0 -44
- package/dist/src/custom/components/elements/radios/index.d.ts +0 -1
- package/dist/src/custom/components/elements/richtext/RichText.vue.d.ts +0 -2
- package/dist/src/custom/components/elements/richtext/index.d.ts +0 -1
- package/dist/src/custom/components/elements/select/Select.vue.d.ts +0 -44
- package/dist/src/custom/components/elements/select/index.d.ts +0 -1
- package/dist/src/custom/components/elements/text/index.d.ts +0 -1
- package/dist/src/custom/components/elements/textarea/Textarea.vue.d.ts +0 -31
- package/dist/src/custom/components/elements/textarea/index.d.ts +0 -1
- package/dist/src/custom/components/elements/textfield/index.d.ts +0 -1
- /package/dist/src/{custom/components/admin/setting-views/ApiActionsView.vue.d.ts → appointments/components/create/regular/Step1.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/setting-views/NewElementView.vue.d.ts → appointments/components/create/regular/Step2.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/setting-views/VariablesView.vue.d.ts → appointments/components/create/regular/Step3.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Button.vue.d.ts → appointments/components/edit/Event24hSidebar.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Checkbox.vue.d.ts → appointments/pages/create/index.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Label.vue.d.ts → appointments/pages/edit/agenda.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Radios.vue.d.ts → appointments/pages/edit/index.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Select.vue.d.ts → appointments/pages/edit/payment.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Text.vue.d.ts → appointments/pages/edit/regular-slots.vue.d.ts} +0 -0
- /package/dist/src/{custom → appointments}/stores/useTableStore.d.ts +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Textarea.vue.d.ts → content-manager/components/content-editor/ApiDocs.vue.d.ts} +0 -0
- /package/dist/src/{custom/components/admin/element-setting-views/Textfield.vue.d.ts → mail-templates/components/TemplateList.vue.d.ts} +0 -0
- /package/dist/src/{custom → shipping-options}/composables/useTable.d.ts +0 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
node: {
|
|
7
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
deleteNode: {
|
|
31
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
92
|
+
el: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
as: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
98
|
+
as: string;
|
|
99
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
100
|
+
P: {};
|
|
101
|
+
B: {};
|
|
102
|
+
D: {};
|
|
103
|
+
C: {};
|
|
104
|
+
M: {};
|
|
105
|
+
Defaults: {};
|
|
106
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
107
|
+
as: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
112
|
+
as: string;
|
|
113
|
+
}> | null;
|
|
114
|
+
}, any>;
|
|
115
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
componentNode: {
|
|
5
|
+
insertComponentEditorNode: (attrs: {
|
|
6
|
+
component: string;
|
|
7
|
+
formLayout?: Record<string, any>;
|
|
8
|
+
formValues?: Record<string, any>;
|
|
9
|
+
}) => ReturnType;
|
|
10
|
+
setFormValues: (opts: {
|
|
11
|
+
id: string;
|
|
12
|
+
values: Record<string, any>;
|
|
13
|
+
addToHistory?: boolean;
|
|
14
|
+
}) => ReturnType;
|
|
15
|
+
setOutput: (opts: {
|
|
16
|
+
id: string;
|
|
17
|
+
values: Record<string, any>;
|
|
18
|
+
addToHistory?: boolean;
|
|
19
|
+
}) => ReturnType;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
declare const _default: Node<any, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
container: {
|
|
5
|
+
duplicateNodeById: (id: string, opts?: DuplicateOpts) => ReturnType;
|
|
6
|
+
deleteNodeById: (id: string, opts?: {
|
|
7
|
+
selectNear?: 'before' | 'after' | false;
|
|
8
|
+
addToHistory?: boolean;
|
|
9
|
+
}) => ReturnType;
|
|
10
|
+
addSlashParagraphAtEndOfContainer: (containerId: string, opts?: {
|
|
11
|
+
text?: string;
|
|
12
|
+
addToHistory?: boolean;
|
|
13
|
+
}) => ReturnType;
|
|
14
|
+
setContainer: (attrs?: any) => ReturnType;
|
|
15
|
+
setContainerPadding: (options: {
|
|
16
|
+
id: string;
|
|
17
|
+
side: 'top' | 'bottom';
|
|
18
|
+
size: number;
|
|
19
|
+
addToHistory?: boolean;
|
|
20
|
+
}) => ReturnType;
|
|
21
|
+
setContainerTheme: (options: {
|
|
22
|
+
id: string;
|
|
23
|
+
themeId: string;
|
|
24
|
+
className: string;
|
|
25
|
+
addToHistory?: boolean;
|
|
26
|
+
}) => ReturnType;
|
|
27
|
+
setTopMarginNode: (id: string, size: number) => ReturnType;
|
|
28
|
+
setNodeSettings: (opts: {
|
|
29
|
+
id: string;
|
|
30
|
+
values: Record<string, any>;
|
|
31
|
+
addToHistory?: boolean;
|
|
32
|
+
}) => ReturnType;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
type Options = {
|
|
37
|
+
HTMLAttributes: Record<string, any>;
|
|
38
|
+
className: string;
|
|
39
|
+
};
|
|
40
|
+
type DuplicateOpts = {
|
|
41
|
+
/** Focus/select the new node after inserting */
|
|
42
|
+
selectNew?: boolean;
|
|
43
|
+
/** Merge/override attrs on the copy */
|
|
44
|
+
attrsOverride?: Record<string, any>;
|
|
45
|
+
};
|
|
46
|
+
declare const _default: Node<Options, any>;
|
|
47
|
+
export default _default;
|
package/dist/src/content-manager/components/content-editor/tiptap-extensions/Container.vue.d.ts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
node: {
|
|
7
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
deleteNode: {
|
|
31
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
divider: {
|
|
5
|
+
setDivider: (attrs?: any) => ReturnType;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
type Options = {
|
|
10
|
+
HTMLAttributes: Record<string, any>;
|
|
11
|
+
className: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: Node<Options, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
node: {
|
|
7
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
deleteNode: {
|
|
31
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DragHandlePluginProps } from './extension-drag-handle/drag-handle-plugin';
|
|
2
|
+
import { Editor } from '@tiptap/vue-3';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
5
|
+
export type DragHandleProps = Omit<Optional<DragHandlePluginProps, 'pluginKey'>, 'element'> & {
|
|
6
|
+
class?: string;
|
|
7
|
+
onNodeChange?: (data: {
|
|
8
|
+
node: Node | null;
|
|
9
|
+
editor: Editor;
|
|
10
|
+
pos: number;
|
|
11
|
+
}) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const DragHandle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
pluginKey: {
|
|
15
|
+
type: PropType<DragHandleProps["pluginKey"]>;
|
|
16
|
+
default: import('prosemirror-state').PluginKey<any>;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
type: PropType<DragHandleProps["editor"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
computePositionConfig: {
|
|
23
|
+
type: PropType<DragHandleProps["computePositionConfig"]>;
|
|
24
|
+
default: () => {};
|
|
25
|
+
};
|
|
26
|
+
onNodeChange: {
|
|
27
|
+
type: PropType<DragHandleProps["onNodeChange"]>;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
30
|
+
class: {
|
|
31
|
+
type: PropType<DragHandleProps["class"]>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
pluginKey: {
|
|
38
|
+
type: PropType<DragHandleProps["pluginKey"]>;
|
|
39
|
+
default: import('prosemirror-state').PluginKey<any>;
|
|
40
|
+
};
|
|
41
|
+
editor: {
|
|
42
|
+
type: PropType<DragHandleProps["editor"]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
computePositionConfig: {
|
|
46
|
+
type: PropType<DragHandleProps["computePositionConfig"]>;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
49
|
+
onNodeChange: {
|
|
50
|
+
type: PropType<DragHandleProps["onNodeChange"]>;
|
|
51
|
+
default: null;
|
|
52
|
+
};
|
|
53
|
+
class: {
|
|
54
|
+
type: PropType<DragHandleProps["class"]>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
class: string | undefined;
|
|
59
|
+
pluginKey: string | import('prosemirror-state').PluginKey<any> | undefined;
|
|
60
|
+
computePositionConfig: {
|
|
61
|
+
placement?: import('@floating-ui/dom').Placement | undefined;
|
|
62
|
+
strategy?: import('@floating-ui/dom').Strategy | undefined;
|
|
63
|
+
middleware?: Array<import('@floating-ui/dom').Middleware | null | undefined | false> | undefined;
|
|
64
|
+
platform?: import('@floating-ui/dom').Platform | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
onNodeChange: (((data: {
|
|
67
|
+
editor: import('@tiptap/core').Editor;
|
|
68
|
+
node: import('prosemirror-model').Node | null;
|
|
69
|
+
pos: number;
|
|
70
|
+
}) => void) & ((data: {
|
|
71
|
+
node: Node | null;
|
|
72
|
+
editor: Editor;
|
|
73
|
+
pos: number;
|
|
74
|
+
}) => void)) | undefined;
|
|
75
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
emptySpace: {
|
|
5
|
+
setEmptySpace: (attrs?: Partial<{
|
|
6
|
+
size: number;
|
|
7
|
+
}>) => ReturnType;
|
|
8
|
+
setEmptySpaceHeight: (size: number) => ReturnType;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
type Options = {
|
|
13
|
+
HTMLAttributes: Record<string, any>;
|
|
14
|
+
size: number;
|
|
15
|
+
className: string;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: Node<Options, any>;
|
|
18
|
+
export default _default;
|
package/dist/src/content-manager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
node: {
|
|
7
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
deleteNode: {
|
|
31
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
92
|
+
handle: HTMLButtonElement;
|
|
93
|
+
}, any>;
|
|
94
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
heading: {
|
|
5
|
+
setHeading: (attrs?: any) => ReturnType;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
type Options = {
|
|
10
|
+
HTMLAttributes: Record<string, any>;
|
|
11
|
+
className: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: Node<Options, any>;
|
|
14
|
+
export default _default;
|