@dialpad/dialtone-vue 3.222.2 → 3.222.3

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.
Files changed (81) hide show
  1. package/dist/component-documentation.json +1 -1
  2. package/dist/components/combobox_with_popover/combobox_with_popover.vue.d.ts +18 -1
  3. package/dist/components/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  4. package/dist/components/dropdown/dropdown.vue.d.ts +18 -1
  5. package/dist/components/dropdown/dropdown.vue.d.ts.map +1 -1
  6. package/dist/components/hovercard/hovercard.vue.d.ts +40 -4
  7. package/dist/components/hovercard/hovercard.vue.d.ts.map +1 -1
  8. package/dist/components/popover/popover.vue.d.ts +18 -1
  9. package/dist/components/popover/popover.vue.d.ts.map +1 -1
  10. package/dist/components/popover/popover_constants.d.ts +2 -0
  11. package/dist/components/popover/popover_constants.d.ts.map +1 -1
  12. package/dist/components/popover/tippy_utils.d.ts +1 -1
  13. package/dist/components/popover/tippy_utils.d.ts.map +1 -1
  14. package/dist/components/rich_text_editor/extensions/variable/VariableComponent.vue.d.ts +18 -1
  15. package/dist/components/rich_text_editor/extensions/variable/VariableComponent.vue.d.ts.map +1 -1
  16. package/dist/components/split_button/split_button.vue.d.ts +18 -1
  17. package/dist/components/split_button/split_button.vue.d.ts.map +1 -1
  18. package/dist/components/tooltip/tooltip.vue.d.ts +2 -2
  19. package/dist/dialtone-vue.cjs +1 -1
  20. package/dist/dialtone-vue.js +2 -2
  21. package/dist/lib/editor/editor.cjs +1 -1
  22. package/dist/lib/editor/editor.js +1 -1
  23. package/dist/lib/message-input/index.cjs +1 -1
  24. package/dist/lib/message-input/index.js +1 -1
  25. package/dist/lib/message-input/message-input.cjs +1 -1
  26. package/dist/lib/message-input/message-input.js +1 -1
  27. package/dist/lib/popover/popover-constants.cjs +1 -1
  28. package/dist/lib/popover/popover-constants.cjs.map +1 -1
  29. package/dist/lib/popover/popover-constants.js +14 -9
  30. package/dist/lib/popover/popover-constants.js.map +1 -1
  31. package/dist/lib/popover/popover.cjs +1 -1
  32. package/dist/lib/popover/popover.cjs.map +1 -1
  33. package/dist/lib/popover/popover.js +55 -46
  34. package/dist/lib/popover/popover.js.map +1 -1
  35. package/dist/lib/popover/tippy-utils.cjs +1 -1
  36. package/dist/lib/popover/tippy-utils.cjs.map +1 -1
  37. package/dist/lib/popover/tippy-utils.js +2 -1
  38. package/dist/lib/popover/tippy-utils.js.map +1 -1
  39. package/dist/lib/rich-text-editor/index.cjs +1 -1
  40. package/dist/lib/rich-text-editor/index.js +1 -1
  41. package/dist/lib/rich-text-editor/markdownRenderer.js +1 -1
  42. package/dist/lib/rich-text-editor/rich-text-editor.cjs +1 -1
  43. package/dist/lib/rich-text-editor/rich-text-editor.js +1 -1
  44. package/dist/markdownRenderer-DCgGQseq.cjs.map +1 -1
  45. package/dist/{markdownRenderer-D_P94RyM.js → markdownRenderer-vnndXQhE.js} +2 -2
  46. package/dist/{markdownRenderer-D_P94RyM.js.map → markdownRenderer-vnndXQhE.js.map} +1 -1
  47. package/dist/{message_input-DmLi63dh.cjs → message_input-B45NFtUx.cjs} +2 -2
  48. package/dist/{message_input-DmLi63dh.cjs.map → message_input-B45NFtUx.cjs.map} +1 -1
  49. package/dist/{message_input-B2fppje7.js → message_input-DQQ3d8vG.js} +2 -2
  50. package/dist/{message_input-B2fppje7.js.map → message_input-DQQ3d8vG.js.map} +1 -1
  51. package/dist/node_modules/@tiptap/vue-3.cjs.map +1 -1
  52. package/dist/node_modules/@tiptap/vue-3.js +1 -1
  53. package/dist/node_modules/@tiptap/vue-3.js.map +1 -1
  54. package/dist/recipes/buttons/callbar_button/callbar_button.vue.d.ts +2 -2
  55. package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +20 -3
  56. package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  57. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +20 -3
  58. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  59. package/dist/recipes/cards/ivr_node/ivr_node.vue.d.ts +18 -1
  60. package/dist/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  61. package/dist/recipes/conversation_view/editor/EditorToolbarDropdownButton.vue.d.ts +18 -1
  62. package/dist/recipes/conversation_view/editor/EditorToolbarDropdownButton.vue.d.ts.map +1 -1
  63. package/dist/recipes/conversation_view/editor/EditorToolbarPopoverButton.vue.d.ts +18 -1
  64. package/dist/recipes/conversation_view/editor/EditorToolbarPopoverButton.vue.d.ts.map +1 -1
  65. package/dist/recipes/conversation_view/editor/editor.vue.d.ts +56 -5
  66. package/dist/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  67. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +2 -2
  68. package/dist/recipes/conversation_view/message_input/message_input.vue.d.ts +42 -8
  69. package/dist/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  70. package/dist/recipes/conversation_view/message_input/message_input_button.vue.d.ts +2 -2
  71. package/dist/recipes/conversation_view/message_input/message_input_link.vue.d.ts +20 -3
  72. package/dist/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  73. package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +2 -2
  74. package/dist/recipes/leftbar/contact_row/contact_row.vue.d.ts +2 -2
  75. package/dist/recipes/leftbar/general_row/general_row.vue.d.ts +2 -2
  76. package/dist/recipes/leftbar/group_row/group_row.vue.d.ts +2 -2
  77. package/dist/{rich_text_editor-BhUKyR0E.js → rich_text_editor-COc4LaIk.js} +4 -3
  78. package/dist/{rich_text_editor-BhUKyR0E.js.map → rich_text_editor-COc4LaIk.js.map} +1 -1
  79. package/dist/{rich_text_editor-wvONcbYd.cjs → rich_text_editor-DWrdKcza.cjs} +2 -2
  80. package/dist/{rich_text_editor-wvONcbYd.cjs.map → rich_text_editor-DWrdKcza.cjs.map} +1 -1
  81. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"vue-3.cjs","names":["CoreEditor","MarkView","NodeView"],"sources":["../../../../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=hlk524tqy4svh2bbayevihx324_@floating-ui+dom@1.7.6_@tiptap+cor_kpexihlfm3sl2tcft5dydpfypm/node_modules/@tiptap/vue-3/dist/index.js"],"sourcesContent":["// src/Editor.ts\nimport { Editor as CoreEditor } from \"@tiptap/core\";\nimport { customRef, markRaw } from \"vue\";\nfunction useDebouncedRef(value) {\n return customRef((track, trigger) => {\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n trigger();\n });\n });\n }\n };\n });\n}\nvar Editor = class extends CoreEditor {\n constructor(options = {}) {\n super(options);\n this.contentComponent = null;\n this.appContext = null;\n this.reactiveState = useDebouncedRef(this.view.state);\n this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);\n this.on(\"beforeTransaction\", ({ nextState }) => {\n this.reactiveState.value = nextState;\n this.reactiveExtensionStorage.value = this.extensionStorage;\n });\n return markRaw(this);\n }\n get state() {\n return this.reactiveState ? this.reactiveState.value : this.view.state;\n }\n get storage() {\n return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage;\n }\n /**\n * Register a ProseMirror plugin.\n */\n registerPlugin(plugin, handlePlugins) {\n const nextState = super.registerPlugin(plugin, handlePlugins);\n if (this.reactiveState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n /**\n * Unregister a ProseMirror plugin.\n */\n unregisterPlugin(nameOrPluginKey) {\n const nextState = super.unregisterPlugin(nameOrPluginKey);\n if (this.reactiveState && nextState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n};\n\n// src/EditorContent.ts\nimport { defineComponent, getCurrentInstance, h, nextTick, onBeforeUnmount, ref, unref, watchEffect } from \"vue\";\nvar EditorContent = defineComponent({\n name: \"EditorContent\",\n props: {\n editor: {\n default: null,\n type: Object\n }\n },\n setup(props) {\n const rootEl = ref();\n const instance = getCurrentInstance();\n watchEffect(() => {\n const editor = props.editor;\n if (editor && editor.options.element && rootEl.value) {\n nextTick(() => {\n var _a;\n if (!rootEl.value || !((_a = editor.view.dom) == null ? void 0 : _a.parentNode)) {\n return;\n }\n const element = unref(rootEl.value);\n rootEl.value.append(...editor.view.dom.parentNode.childNodes);\n editor.contentComponent = instance.ctx._;\n if (instance) {\n editor.appContext = {\n ...instance.appContext,\n // Vue internally uses prototype chain to forward/shadow injects across the entire component chain\n // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext\n // @ts-expect-error forward instance's 'provides' into appContext\n provides: instance.provides\n };\n }\n editor.setOptions({\n element\n });\n editor.createNodeViews();\n });\n }\n });\n onBeforeUnmount(() => {\n const editor = props.editor;\n if (!editor) {\n return;\n }\n editor.contentComponent = null;\n editor.appContext = null;\n });\n return { rootEl };\n },\n render() {\n return h(\"div\", {\n ref: (el) => {\n this.rootEl = el;\n }\n });\n }\n});\n\n// src/NodeViewContent.ts\nimport { defineComponent as defineComponent2, h as h2 } from \"vue\";\nvar NodeViewContent = defineComponent2({\n name: \"NodeViewContent\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n render() {\n return h2(this.as, {\n style: {\n whiteSpace: \"pre-wrap\"\n },\n \"data-node-view-content\": \"\"\n });\n }\n});\n\n// src/NodeViewWrapper.ts\nimport { defineComponent as defineComponent3, h as h3 } from \"vue\";\nvar NodeViewWrapper = defineComponent3({\n name: \"NodeViewWrapper\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n inject: [\"onDragStart\", \"decorationClasses\"],\n render() {\n var _a, _b;\n return h3(\n this.as,\n {\n // @ts-ignore\n class: this.decorationClasses,\n style: {\n whiteSpace: \"normal\"\n },\n \"data-node-view-wrapper\": \"\",\n // @ts-ignore (https://github.com/vuejs/vue-next/issues/3031)\n onDragstart: this.onDragStart\n },\n (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)\n );\n }\n});\n\n// src/useEditor.ts\nimport { onBeforeUnmount as onBeforeUnmount2, onMounted, shallowRef } from \"vue\";\nvar useEditor = (options = {}) => {\n const editor = shallowRef();\n onMounted(() => {\n editor.value = new Editor(options);\n });\n onBeforeUnmount2(() => {\n var _a, _b, _c, _d;\n const nodes = (_b = (_a = editor.value) == null ? void 0 : _a.view.dom) == null ? void 0 : _b.parentNode;\n const newEl = nodes == null ? void 0 : nodes.cloneNode(true);\n (_c = nodes == null ? void 0 : nodes.parentNode) == null ? void 0 : _c.replaceChild(newEl, nodes);\n (_d = editor.value) == null ? void 0 : _d.destroy();\n });\n return editor;\n};\n\n// src/VueMarkViewRenderer.ts\nimport { MarkView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent4, h as h5, toRaw } from \"vue\";\n\n// src/VueRenderer.ts\nimport { h as h4, markRaw as markRaw2, reactive, render } from \"vue\";\nvar VueRenderer = class {\n constructor(component, { props = {}, editor }) {\n /**\n * Flag to track if the renderer has been destroyed, preventing queued or asynchronous renders from executing after teardown.\n */\n this.destroyed = false;\n this.editor = editor;\n this.component = markRaw2(component);\n this.el = document.createElement(\"div\");\n this.props = reactive(props);\n this.renderedComponent = this.renderComponent();\n }\n get element() {\n return this.renderedComponent.el;\n }\n get ref() {\n var _a, _b, _c, _d;\n if ((_b = (_a = this.renderedComponent.vNode) == null ? void 0 : _a.component) == null ? void 0 : _b.exposed) {\n return this.renderedComponent.vNode.component.exposed;\n }\n return (_d = (_c = this.renderedComponent.vNode) == null ? void 0 : _c.component) == null ? void 0 : _d.proxy;\n }\n renderComponent() {\n if (this.destroyed) {\n return this.renderedComponent;\n }\n let vNode = h4(this.component, this.props);\n if (this.editor.appContext) {\n vNode.appContext = this.editor.appContext;\n }\n if (typeof document !== \"undefined\" && this.el) {\n render(vNode, this.el);\n }\n const destroy = () => {\n if (this.el) {\n render(null, this.el);\n }\n this.el = null;\n vNode = null;\n };\n return { vNode, destroy, el: this.el ? this.el.firstElementChild : null };\n }\n updateProps(props = {}) {\n if (this.destroyed) {\n return;\n }\n Object.entries(props).forEach(([key, value]) => {\n this.props[key] = value;\n });\n this.renderComponent();\n }\n destroy() {\n if (this.destroyed) {\n return;\n }\n this.destroyed = true;\n this.renderedComponent.destroy();\n }\n};\n\n// src/VueMarkViewRenderer.ts\nvar markViewProps = {\n editor: {\n type: Object,\n required: true\n },\n mark: {\n type: Object,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n inline: {\n type: Boolean,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar MarkViewContent = defineComponent4({\n name: \"MarkViewContent\",\n props: {\n as: {\n type: String,\n default: \"span\"\n }\n },\n render() {\n return h5(this.as, {\n style: {\n whiteSpace: \"inherit\"\n },\n \"data-mark-view-content\": \"\"\n });\n }\n});\nvar VueMarkView = class extends MarkView {\n constructor(component, props, options) {\n super(component, props, options);\n const componentProps = { ...props, updateAttributes: this.updateAttributes.bind(this) };\n const extendedComponent = defineComponent4({\n extends: { ...component },\n props: Object.keys(componentProps),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a;\n return (_a = component.setup) == null ? void 0 : _a.call(component, reactiveProps, {\n expose: () => void 0\n });\n },\n // Add support for scoped styles\n __scopeId: component.__scopeId,\n __cssModules: component.__cssModules,\n __name: component.__name,\n __file: component.__file\n });\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props: componentProps\n });\n }\n get dom() {\n return this.renderer.element;\n }\n get contentDOM() {\n return this.dom.querySelector(\"[data-mark-view-content]\");\n }\n updateAttributes(attrs) {\n const unproxiedMark = toRaw(this.mark);\n super.updateAttributes(attrs, unproxiedMark);\n }\n destroy() {\n this.renderer.destroy();\n }\n};\nfunction VueMarkViewRenderer(component, options = {}) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n return new VueMarkView(component, props, options);\n };\n}\n\n// src/VueNodeViewRenderer.ts\nimport { NodeView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent5, provide, ref as ref2 } from \"vue\";\nvar nodeViewProps = {\n editor: {\n type: Object,\n required: true\n },\n node: {\n type: Object,\n required: true\n },\n decorations: {\n type: Object,\n required: true\n },\n selected: {\n type: Boolean,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n getPos: {\n type: Function,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n deleteNode: {\n type: Function,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n innerDecorations: {\n type: Object,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar VueNodeView = class extends NodeView {\n constructor() {\n super(...arguments);\n this.cachedExtensionWithSyncedStorage = null;\n }\n /**\n * Returns a proxy of the extension that redirects storage access to the editor's mutable storage.\n * This preserves the original prototype chain (instanceof checks, methods like configure/extend work).\n * Cached to avoid proxy creation on every update.\n */\n get extensionWithSyncedStorage() {\n if (!this.cachedExtensionWithSyncedStorage) {\n const editor = this.editor;\n const extension = this.extension;\n this.cachedExtensionWithSyncedStorage = new Proxy(extension, {\n get(target, prop, receiver) {\n var _a;\n if (prop === \"storage\") {\n return (_a = editor.storage[extension.name]) != null ? _a : {};\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n }\n return this.cachedExtensionWithSyncedStorage;\n }\n mount() {\n const props = {\n editor: this.editor,\n node: this.node,\n decorations: this.decorations,\n innerDecorations: this.innerDecorations,\n view: this.view,\n selected: false,\n extension: this.extensionWithSyncedStorage,\n HTMLAttributes: this.HTMLAttributes,\n getPos: () => this.getPos(),\n updateAttributes: (attributes = {}) => this.updateAttributes(attributes),\n deleteNode: () => this.deleteNode()\n };\n const onDragStart = this.onDragStart.bind(this);\n this.decorationClasses = ref2(this.getDecorationClasses());\n const extendedComponent = defineComponent5({\n extends: { ...this.component },\n props: Object.keys(props),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a, _b;\n provide(\"onDragStart\", onDragStart);\n provide(\"decorationClasses\", this.decorationClasses);\n return (_b = (_a = this.component).setup) == null ? void 0 : _b.call(_a, reactiveProps, {\n expose: () => void 0\n });\n },\n // add support for scoped styles\n // @ts-ignore\n // eslint-disable-next-line\n __scopeId: this.component.__scopeId,\n // add support for CSS Modules\n // @ts-ignore\n // eslint-disable-next-line\n __cssModules: this.component.__cssModules,\n // add support for vue devtools\n // @ts-ignore\n // eslint-disable-next-line\n __name: this.component.__name,\n // @ts-ignore\n // eslint-disable-next-line\n __file: this.component.__file\n });\n this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this);\n this.editor.on(\"selectionUpdate\", this.handleSelectionUpdate);\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props\n });\n }\n /**\n * Return the DOM element.\n * This is the element that will be used to display the node view.\n */\n get dom() {\n if (!this.renderer.element || !this.renderer.element.hasAttribute(\"data-node-view-wrapper\")) {\n throw Error(\"Please use the NodeViewWrapper component for your node view.\");\n }\n return this.renderer.element;\n }\n /**\n * Return the content DOM element.\n * This is the element that will be used to display the rich-text content of the node.\n */\n get contentDOM() {\n if (this.node.isLeaf) {\n return null;\n }\n return this.dom.querySelector(\"[data-node-view-content]\");\n }\n /**\n * On editor selection update, check if the node is selected.\n * If it is, call `selectNode`, otherwise call `deselectNode`.\n */\n handleSelectionUpdate() {\n const { from, to } = this.editor.state.selection;\n const pos = this.getPos();\n if (typeof pos !== \"number\") {\n return;\n }\n if (from <= pos && to >= pos + this.node.nodeSize) {\n if (this.renderer.props.selected) {\n return;\n }\n this.selectNode();\n } else {\n if (!this.renderer.props.selected) {\n return;\n }\n this.deselectNode();\n }\n }\n /**\n * On update, update the React component.\n * To prevent unnecessary updates, the `update` option can be used.\n */\n update(node, decorations, innerDecorations) {\n const rerenderComponent = (props) => {\n this.decorationClasses.value = this.getDecorationClasses();\n this.renderer.updateProps(props);\n };\n if (typeof this.options.update === \"function\") {\n const oldNode = this.node;\n const oldDecorations = this.decorations;\n const oldInnerDecorations = this.innerDecorations;\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n return this.options.update({\n oldNode,\n oldDecorations,\n newNode: node,\n newDecorations: decorations,\n oldInnerDecorations,\n innerDecorations,\n updateProps: () => rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage })\n });\n }\n if (node.type !== this.node.type) {\n return false;\n }\n if (node === this.node && this.decorations === decorations && this.innerDecorations === innerDecorations) {\n return true;\n }\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage });\n return true;\n }\n /**\n * Select the node.\n * Add the `selected` prop and the `ProseMirror-selectednode` class.\n */\n selectNode() {\n this.renderer.updateProps({\n selected: true\n });\n if (this.renderer.element) {\n this.renderer.element.classList.add(\"ProseMirror-selectednode\");\n }\n }\n /**\n * Deselect the node.\n * Remove the `selected` prop and the `ProseMirror-selectednode` class.\n */\n deselectNode() {\n this.renderer.updateProps({\n selected: false\n });\n if (this.renderer.element) {\n this.renderer.element.classList.remove(\"ProseMirror-selectednode\");\n }\n }\n getDecorationClasses() {\n return this.decorations.flatMap((item) => item.type.attrs.class).join(\" \");\n }\n destroy() {\n this.renderer.destroy();\n this.editor.off(\"selectionUpdate\", this.handleSelectionUpdate);\n }\n};\nfunction VueNodeViewRenderer(component, options) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n const normalizedComponent = typeof component === \"function\" && \"__vccOpts\" in component ? component.__vccOpts : component;\n return new VueNodeView(normalizedComponent, props, options);\n };\n}\n\n// src/index.ts\nexport * from \"@tiptap/core\";\nexport {\n Editor,\n EditorContent,\n MarkViewContent,\n NodeViewContent,\n NodeViewWrapper,\n VueMarkView,\n VueMarkViewRenderer,\n VueNodeViewRenderer,\n VueRenderer,\n markViewProps,\n nodeViewProps,\n useEditor\n};\n//# sourceMappingURL=index.js.map"],"x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K,SAAS,SAAS,CACvB,KAAK,OAAO,IAAI,kBAAmB,KAAK,sBAAsB,GAGlE,SAAS,EAAoB,EAAW,EAAS,CAC/C,MAAQ,IACD,EAAM,OAAO,iBAIX,IAAI,EADiB,OAAO,GAAc,YAAc,cAAe,EAAY,EAAU,UAAY,EACpE,EAAO,EAAQ,CAHlD,EAAE"}
1
+ {"version":3,"file":"vue-3.cjs","names":["CoreEditor","MarkView","NodeView"],"sources":["../../../../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=65d98f737afae097542c692b176a81069e1b7b8d577d1d7e222a944_23bfa7b5fde667bfc96216774c3ce084/node_modules/@tiptap/vue-3/dist/index.js"],"sourcesContent":["// src/Editor.ts\nimport { Editor as CoreEditor } from \"@tiptap/core\";\nimport { customRef, markRaw } from \"vue\";\nfunction useDebouncedRef(value) {\n return customRef((track, trigger) => {\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n trigger();\n });\n });\n }\n };\n });\n}\nvar Editor = class extends CoreEditor {\n constructor(options = {}) {\n super(options);\n this.contentComponent = null;\n this.appContext = null;\n this.reactiveState = useDebouncedRef(this.view.state);\n this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);\n this.on(\"beforeTransaction\", ({ nextState }) => {\n this.reactiveState.value = nextState;\n this.reactiveExtensionStorage.value = this.extensionStorage;\n });\n return markRaw(this);\n }\n get state() {\n return this.reactiveState ? this.reactiveState.value : this.view.state;\n }\n get storage() {\n return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage;\n }\n /**\n * Register a ProseMirror plugin.\n */\n registerPlugin(plugin, handlePlugins) {\n const nextState = super.registerPlugin(plugin, handlePlugins);\n if (this.reactiveState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n /**\n * Unregister a ProseMirror plugin.\n */\n unregisterPlugin(nameOrPluginKey) {\n const nextState = super.unregisterPlugin(nameOrPluginKey);\n if (this.reactiveState && nextState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n};\n\n// src/EditorContent.ts\nimport { defineComponent, getCurrentInstance, h, nextTick, onBeforeUnmount, ref, unref, watchEffect } from \"vue\";\nvar EditorContent = defineComponent({\n name: \"EditorContent\",\n props: {\n editor: {\n default: null,\n type: Object\n }\n },\n setup(props) {\n const rootEl = ref();\n const instance = getCurrentInstance();\n watchEffect(() => {\n const editor = props.editor;\n if (editor && editor.options.element && rootEl.value) {\n nextTick(() => {\n var _a;\n if (!rootEl.value || !((_a = editor.view.dom) == null ? void 0 : _a.parentNode)) {\n return;\n }\n const element = unref(rootEl.value);\n rootEl.value.append(...editor.view.dom.parentNode.childNodes);\n editor.contentComponent = instance.ctx._;\n if (instance) {\n editor.appContext = {\n ...instance.appContext,\n // Vue internally uses prototype chain to forward/shadow injects across the entire component chain\n // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext\n // @ts-expect-error forward instance's 'provides' into appContext\n provides: instance.provides\n };\n }\n editor.setOptions({\n element\n });\n editor.createNodeViews();\n });\n }\n });\n onBeforeUnmount(() => {\n const editor = props.editor;\n if (!editor) {\n return;\n }\n editor.contentComponent = null;\n editor.appContext = null;\n });\n return { rootEl };\n },\n render() {\n return h(\"div\", {\n ref: (el) => {\n this.rootEl = el;\n }\n });\n }\n});\n\n// src/NodeViewContent.ts\nimport { defineComponent as defineComponent2, h as h2 } from \"vue\";\nvar NodeViewContent = defineComponent2({\n name: \"NodeViewContent\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n render() {\n return h2(this.as, {\n style: {\n whiteSpace: \"pre-wrap\"\n },\n \"data-node-view-content\": \"\"\n });\n }\n});\n\n// src/NodeViewWrapper.ts\nimport { defineComponent as defineComponent3, h as h3 } from \"vue\";\nvar NodeViewWrapper = defineComponent3({\n name: \"NodeViewWrapper\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n inject: [\"onDragStart\", \"decorationClasses\"],\n render() {\n var _a, _b;\n return h3(\n this.as,\n {\n // @ts-ignore\n class: this.decorationClasses,\n style: {\n whiteSpace: \"normal\"\n },\n \"data-node-view-wrapper\": \"\",\n // @ts-ignore (https://github.com/vuejs/vue-next/issues/3031)\n onDragstart: this.onDragStart\n },\n (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)\n );\n }\n});\n\n// src/useEditor.ts\nimport { onBeforeUnmount as onBeforeUnmount2, onMounted, shallowRef } from \"vue\";\nvar useEditor = (options = {}) => {\n const editor = shallowRef();\n onMounted(() => {\n editor.value = new Editor(options);\n });\n onBeforeUnmount2(() => {\n var _a, _b, _c, _d;\n const nodes = (_b = (_a = editor.value) == null ? void 0 : _a.view.dom) == null ? void 0 : _b.parentNode;\n const newEl = nodes == null ? void 0 : nodes.cloneNode(true);\n (_c = nodes == null ? void 0 : nodes.parentNode) == null ? void 0 : _c.replaceChild(newEl, nodes);\n (_d = editor.value) == null ? void 0 : _d.destroy();\n });\n return editor;\n};\n\n// src/VueMarkViewRenderer.ts\nimport { MarkView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent4, h as h5, toRaw } from \"vue\";\n\n// src/VueRenderer.ts\nimport { h as h4, markRaw as markRaw2, reactive, render } from \"vue\";\nvar VueRenderer = class {\n constructor(component, { props = {}, editor }) {\n /**\n * Flag to track if the renderer has been destroyed, preventing queued or asynchronous renders from executing after teardown.\n */\n this.destroyed = false;\n this.editor = editor;\n this.component = markRaw2(component);\n this.el = document.createElement(\"div\");\n this.props = reactive(props);\n this.renderedComponent = this.renderComponent();\n }\n get element() {\n return this.renderedComponent.el;\n }\n get ref() {\n var _a, _b, _c, _d;\n if ((_b = (_a = this.renderedComponent.vNode) == null ? void 0 : _a.component) == null ? void 0 : _b.exposed) {\n return this.renderedComponent.vNode.component.exposed;\n }\n return (_d = (_c = this.renderedComponent.vNode) == null ? void 0 : _c.component) == null ? void 0 : _d.proxy;\n }\n renderComponent() {\n if (this.destroyed) {\n return this.renderedComponent;\n }\n let vNode = h4(this.component, this.props);\n if (this.editor.appContext) {\n vNode.appContext = this.editor.appContext;\n }\n if (typeof document !== \"undefined\" && this.el) {\n render(vNode, this.el);\n }\n const destroy = () => {\n if (this.el) {\n render(null, this.el);\n }\n this.el = null;\n vNode = null;\n };\n return { vNode, destroy, el: this.el ? this.el.firstElementChild : null };\n }\n updateProps(props = {}) {\n if (this.destroyed) {\n return;\n }\n Object.entries(props).forEach(([key, value]) => {\n this.props[key] = value;\n });\n this.renderComponent();\n }\n destroy() {\n if (this.destroyed) {\n return;\n }\n this.destroyed = true;\n this.renderedComponent.destroy();\n }\n};\n\n// src/VueMarkViewRenderer.ts\nvar markViewProps = {\n editor: {\n type: Object,\n required: true\n },\n mark: {\n type: Object,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n inline: {\n type: Boolean,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar MarkViewContent = defineComponent4({\n name: \"MarkViewContent\",\n props: {\n as: {\n type: String,\n default: \"span\"\n }\n },\n render() {\n return h5(this.as, {\n style: {\n whiteSpace: \"inherit\"\n },\n \"data-mark-view-content\": \"\"\n });\n }\n});\nvar VueMarkView = class extends MarkView {\n constructor(component, props, options) {\n super(component, props, options);\n const componentProps = { ...props, updateAttributes: this.updateAttributes.bind(this) };\n const extendedComponent = defineComponent4({\n extends: { ...component },\n props: Object.keys(componentProps),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a;\n return (_a = component.setup) == null ? void 0 : _a.call(component, reactiveProps, {\n expose: () => void 0\n });\n },\n // Add support for scoped styles\n __scopeId: component.__scopeId,\n __cssModules: component.__cssModules,\n __name: component.__name,\n __file: component.__file\n });\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props: componentProps\n });\n }\n get dom() {\n return this.renderer.element;\n }\n get contentDOM() {\n return this.dom.querySelector(\"[data-mark-view-content]\");\n }\n updateAttributes(attrs) {\n const unproxiedMark = toRaw(this.mark);\n super.updateAttributes(attrs, unproxiedMark);\n }\n destroy() {\n this.renderer.destroy();\n }\n};\nfunction VueMarkViewRenderer(component, options = {}) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n return new VueMarkView(component, props, options);\n };\n}\n\n// src/VueNodeViewRenderer.ts\nimport { NodeView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent5, provide, ref as ref2 } from \"vue\";\nvar nodeViewProps = {\n editor: {\n type: Object,\n required: true\n },\n node: {\n type: Object,\n required: true\n },\n decorations: {\n type: Object,\n required: true\n },\n selected: {\n type: Boolean,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n getPos: {\n type: Function,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n deleteNode: {\n type: Function,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n innerDecorations: {\n type: Object,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar VueNodeView = class extends NodeView {\n constructor() {\n super(...arguments);\n this.cachedExtensionWithSyncedStorage = null;\n }\n /**\n * Returns a proxy of the extension that redirects storage access to the editor's mutable storage.\n * This preserves the original prototype chain (instanceof checks, methods like configure/extend work).\n * Cached to avoid proxy creation on every update.\n */\n get extensionWithSyncedStorage() {\n if (!this.cachedExtensionWithSyncedStorage) {\n const editor = this.editor;\n const extension = this.extension;\n this.cachedExtensionWithSyncedStorage = new Proxy(extension, {\n get(target, prop, receiver) {\n var _a;\n if (prop === \"storage\") {\n return (_a = editor.storage[extension.name]) != null ? _a : {};\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n }\n return this.cachedExtensionWithSyncedStorage;\n }\n mount() {\n const props = {\n editor: this.editor,\n node: this.node,\n decorations: this.decorations,\n innerDecorations: this.innerDecorations,\n view: this.view,\n selected: false,\n extension: this.extensionWithSyncedStorage,\n HTMLAttributes: this.HTMLAttributes,\n getPos: () => this.getPos(),\n updateAttributes: (attributes = {}) => this.updateAttributes(attributes),\n deleteNode: () => this.deleteNode()\n };\n const onDragStart = this.onDragStart.bind(this);\n this.decorationClasses = ref2(this.getDecorationClasses());\n const extendedComponent = defineComponent5({\n extends: { ...this.component },\n props: Object.keys(props),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a, _b;\n provide(\"onDragStart\", onDragStart);\n provide(\"decorationClasses\", this.decorationClasses);\n return (_b = (_a = this.component).setup) == null ? void 0 : _b.call(_a, reactiveProps, {\n expose: () => void 0\n });\n },\n // add support for scoped styles\n // @ts-ignore\n // eslint-disable-next-line\n __scopeId: this.component.__scopeId,\n // add support for CSS Modules\n // @ts-ignore\n // eslint-disable-next-line\n __cssModules: this.component.__cssModules,\n // add support for vue devtools\n // @ts-ignore\n // eslint-disable-next-line\n __name: this.component.__name,\n // @ts-ignore\n // eslint-disable-next-line\n __file: this.component.__file\n });\n this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this);\n this.editor.on(\"selectionUpdate\", this.handleSelectionUpdate);\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props\n });\n }\n /**\n * Return the DOM element.\n * This is the element that will be used to display the node view.\n */\n get dom() {\n if (!this.renderer.element || !this.renderer.element.hasAttribute(\"data-node-view-wrapper\")) {\n throw Error(\"Please use the NodeViewWrapper component for your node view.\");\n }\n return this.renderer.element;\n }\n /**\n * Return the content DOM element.\n * This is the element that will be used to display the rich-text content of the node.\n */\n get contentDOM() {\n if (this.node.isLeaf) {\n return null;\n }\n return this.dom.querySelector(\"[data-node-view-content]\");\n }\n /**\n * On editor selection update, check if the node is selected.\n * If it is, call `selectNode`, otherwise call `deselectNode`.\n */\n handleSelectionUpdate() {\n const { from, to } = this.editor.state.selection;\n const pos = this.getPos();\n if (typeof pos !== \"number\") {\n return;\n }\n if (from <= pos && to >= pos + this.node.nodeSize) {\n if (this.renderer.props.selected) {\n return;\n }\n this.selectNode();\n } else {\n if (!this.renderer.props.selected) {\n return;\n }\n this.deselectNode();\n }\n }\n /**\n * On update, update the React component.\n * To prevent unnecessary updates, the `update` option can be used.\n */\n update(node, decorations, innerDecorations) {\n const rerenderComponent = (props) => {\n this.decorationClasses.value = this.getDecorationClasses();\n this.renderer.updateProps(props);\n };\n if (typeof this.options.update === \"function\") {\n const oldNode = this.node;\n const oldDecorations = this.decorations;\n const oldInnerDecorations = this.innerDecorations;\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n return this.options.update({\n oldNode,\n oldDecorations,\n newNode: node,\n newDecorations: decorations,\n oldInnerDecorations,\n innerDecorations,\n updateProps: () => rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage })\n });\n }\n if (node.type !== this.node.type) {\n return false;\n }\n if (node === this.node && this.decorations === decorations && this.innerDecorations === innerDecorations) {\n return true;\n }\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage });\n return true;\n }\n /**\n * Select the node.\n * Add the `selected` prop and the `ProseMirror-selectednode` class.\n */\n selectNode() {\n this.renderer.updateProps({\n selected: true\n });\n if (this.renderer.element) {\n this.renderer.element.classList.add(\"ProseMirror-selectednode\");\n }\n }\n /**\n * Deselect the node.\n * Remove the `selected` prop and the `ProseMirror-selectednode` class.\n */\n deselectNode() {\n this.renderer.updateProps({\n selected: false\n });\n if (this.renderer.element) {\n this.renderer.element.classList.remove(\"ProseMirror-selectednode\");\n }\n }\n getDecorationClasses() {\n return this.decorations.flatMap((item) => item.type.attrs.class).join(\" \");\n }\n destroy() {\n this.renderer.destroy();\n this.editor.off(\"selectionUpdate\", this.handleSelectionUpdate);\n }\n};\nfunction VueNodeViewRenderer(component, options) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n const normalizedComponent = typeof component === \"function\" && \"__vccOpts\" in component ? component.__vccOpts : component;\n return new VueNodeView(normalizedComponent, props, options);\n };\n}\n\n// src/index.ts\nexport * from \"@tiptap/core\";\nexport {\n Editor,\n EditorContent,\n MarkViewContent,\n NodeViewContent,\n NodeViewWrapper,\n VueMarkView,\n VueMarkViewRenderer,\n VueNodeViewRenderer,\n VueRenderer,\n markViewProps,\n nodeViewProps,\n useEditor\n};\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":"sJAGA,SAAS,EAAgB,EAAO,CAC9B,OAAA,EAAA,EAAA,YAAkB,EAAO,KAChB,CACL,KAAM,CAEJ,OADA,GAAO,CACA,GAET,IAAI,EAAU,CACZ,EAAQ,EACR,0BAA4B,CAC1B,0BAA4B,CAC1B,GAAS,EACT,EACF,EAEL,EACD,CAEJ,IAAI,EAAS,cAAcA,EAAAA,MAAW,CACpC,YAAY,EAAU,EAAE,CAAE,CAUxB,OATA,MAAM,EAAQ,CACd,KAAK,iBAAmB,KACxB,KAAK,WAAa,KAClB,KAAK,cAAgB,EAAgB,KAAK,KAAK,MAAM,CACrD,KAAK,yBAA2B,EAAgB,KAAK,iBAAiB,CACtE,KAAK,GAAG,qBAAsB,CAAE,eAAgB,CAC9C,KAAK,cAAc,MAAQ,EAC3B,KAAK,yBAAyB,MAAQ,KAAK,kBAC3C,EACF,EAAA,EAAA,SAAe,KAAK,CAEtB,IAAI,OAAQ,CACV,OAAO,KAAK,cAAgB,KAAK,cAAc,MAAQ,KAAK,KAAK,MAEnE,IAAI,SAAU,CACZ,OAAO,KAAK,yBAA2B,KAAK,yBAAyB,MAAQ,MAAM,QAKrF,eAAe,EAAQ,EAAe,CACpC,IAAM,EAAY,MAAM,eAAe,EAAQ,EAAc,CAI7D,OAHI,KAAK,gBACP,KAAK,cAAc,MAAQ,GAEtB,EAKT,iBAAiB,EAAiB,CAChC,IAAM,EAAY,MAAM,iBAAiB,EAAgB,CAIzD,OAHI,KAAK,eAAiB,IACxB,KAAK,cAAc,MAAQ,GAEtB,IAMP,GAAA,EAAA,EAAA,iBAAgC,CAClC,KAAM,gBACN,MAAO,CACL,OAAQ,CACN,QAAS,KACT,KAAM,OACP,CACF,CACD,MAAM,EA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K,SAAS,QAAQ,UAAU,OAAO,2BAA2B,CAGtE,sBAAuB,CACrB,OAAO,KAAK,YAAY,QAAS,GAAS,EAAK,KAAK,MAAM,MAAM,CAAC,KAAK,IAAI,CAE5E,SAAU,CACR,KAAK,SAAS,SAAS,CACvB,KAAK,OAAO,IAAI,kBAAmB,KAAK,sBAAsB,GAGlE,SAAS,EAAoB,EAAW,EAAS,CAC/C,MAAQ,IACD,EAAM,OAAO,iBAIX,IAAI,EADiB,OAAO,GAAc,YAAc,cAAe,EAAY,EAAU,UAAY,EACpE,EAAO,EAAQ,CAHlD,EAAE"}
@@ -1,7 +1,7 @@
1
1
  import { customRef as e, defineComponent as t, getCurrentInstance as n, h as r, markRaw as i, nextTick as a, onBeforeUnmount as o, onMounted as s, provide as c, reactive as l, ref as u, render as d, shallowRef as f, toRaw as p, unref as m, watchEffect as h } from "vue";
2
2
  import { Editor as g, MarkView as _, NodeView as v } from "@tiptap/core";
3
3
  export * from "@tiptap/core";
4
- //#region ../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=hlk524tqy4svh2bbayevihx324_@floating-ui+dom@1.7.6_@tiptap+cor_kpexihlfm3sl2tcft5dydpfypm/node_modules/@tiptap/vue-3/dist/index.js
4
+ //#region ../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=65d98f737afae097542c692b176a81069e1b7b8d577d1d7e222a944_23bfa7b5fde667bfc96216774c3ce084/node_modules/@tiptap/vue-3/dist/index.js
5
5
  function y(t) {
6
6
  return e((e, n) => ({
7
7
  get() {
@@ -1 +1 @@
1
- {"version":3,"file":"vue-3.js","names":["CoreEditor","defineComponent2","h2","defineComponent3","h3","markRaw2","h4","defineComponent4","h5","ref2","defineComponent5"],"sources":["../../../../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=hlk524tqy4svh2bbayevihx324_@floating-ui+dom@1.7.6_@tiptap+cor_kpexihlfm3sl2tcft5dydpfypm/node_modules/@tiptap/vue-3/dist/index.js"],"sourcesContent":["// src/Editor.ts\nimport { Editor as CoreEditor } from \"@tiptap/core\";\nimport { customRef, markRaw } from \"vue\";\nfunction useDebouncedRef(value) {\n return customRef((track, trigger) => {\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n trigger();\n });\n });\n }\n };\n });\n}\nvar Editor = class extends CoreEditor {\n constructor(options = {}) {\n super(options);\n this.contentComponent = null;\n this.appContext = null;\n this.reactiveState = useDebouncedRef(this.view.state);\n this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);\n this.on(\"beforeTransaction\", ({ nextState }) => {\n this.reactiveState.value = nextState;\n this.reactiveExtensionStorage.value = this.extensionStorage;\n });\n return markRaw(this);\n }\n get state() {\n return this.reactiveState ? this.reactiveState.value : this.view.state;\n }\n get storage() {\n return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage;\n }\n /**\n * Register a ProseMirror plugin.\n */\n registerPlugin(plugin, handlePlugins) {\n const nextState = super.registerPlugin(plugin, handlePlugins);\n if (this.reactiveState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n /**\n * Unregister a ProseMirror plugin.\n */\n unregisterPlugin(nameOrPluginKey) {\n const nextState = super.unregisterPlugin(nameOrPluginKey);\n if (this.reactiveState && nextState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n};\n\n// src/EditorContent.ts\nimport { defineComponent, getCurrentInstance, h, nextTick, onBeforeUnmount, ref, unref, watchEffect } from \"vue\";\nvar EditorContent = defineComponent({\n name: \"EditorContent\",\n props: {\n editor: {\n default: null,\n type: Object\n }\n },\n setup(props) {\n const rootEl = ref();\n const instance = getCurrentInstance();\n watchEffect(() => {\n const editor = props.editor;\n if (editor && editor.options.element && rootEl.value) {\n nextTick(() => {\n var _a;\n if (!rootEl.value || !((_a = editor.view.dom) == null ? void 0 : _a.parentNode)) {\n return;\n }\n const element = unref(rootEl.value);\n rootEl.value.append(...editor.view.dom.parentNode.childNodes);\n editor.contentComponent = instance.ctx._;\n if (instance) {\n editor.appContext = {\n ...instance.appContext,\n // Vue internally uses prototype chain to forward/shadow injects across the entire component chain\n // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext\n // @ts-expect-error forward instance's 'provides' into appContext\n provides: instance.provides\n };\n }\n editor.setOptions({\n element\n });\n editor.createNodeViews();\n });\n }\n });\n onBeforeUnmount(() => {\n const editor = props.editor;\n if (!editor) {\n return;\n }\n editor.contentComponent = null;\n editor.appContext = null;\n });\n return { rootEl };\n },\n render() {\n return h(\"div\", {\n ref: (el) => {\n this.rootEl = el;\n }\n });\n }\n});\n\n// src/NodeViewContent.ts\nimport { defineComponent as defineComponent2, h as h2 } from \"vue\";\nvar NodeViewContent = defineComponent2({\n name: \"NodeViewContent\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n render() {\n return h2(this.as, {\n style: {\n whiteSpace: \"pre-wrap\"\n },\n \"data-node-view-content\": \"\"\n });\n }\n});\n\n// src/NodeViewWrapper.ts\nimport { defineComponent as defineComponent3, h as h3 } from \"vue\";\nvar NodeViewWrapper = defineComponent3({\n name: \"NodeViewWrapper\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n inject: [\"onDragStart\", \"decorationClasses\"],\n render() {\n var _a, _b;\n return h3(\n this.as,\n {\n // @ts-ignore\n class: this.decorationClasses,\n style: {\n whiteSpace: \"normal\"\n },\n \"data-node-view-wrapper\": \"\",\n // @ts-ignore (https://github.com/vuejs/vue-next/issues/3031)\n onDragstart: this.onDragStart\n },\n (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)\n );\n }\n});\n\n// src/useEditor.ts\nimport { onBeforeUnmount as onBeforeUnmount2, onMounted, shallowRef } from \"vue\";\nvar useEditor = (options = {}) => {\n const editor = shallowRef();\n onMounted(() => {\n editor.value = new Editor(options);\n });\n onBeforeUnmount2(() => {\n var _a, _b, _c, _d;\n const nodes = (_b = (_a = editor.value) == null ? void 0 : _a.view.dom) == null ? void 0 : _b.parentNode;\n const newEl = nodes == null ? void 0 : nodes.cloneNode(true);\n (_c = nodes == null ? void 0 : nodes.parentNode) == null ? void 0 : _c.replaceChild(newEl, nodes);\n (_d = editor.value) == null ? void 0 : _d.destroy();\n });\n return editor;\n};\n\n// src/VueMarkViewRenderer.ts\nimport { MarkView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent4, h as h5, toRaw } from \"vue\";\n\n// src/VueRenderer.ts\nimport { h as h4, markRaw as markRaw2, reactive, render } from \"vue\";\nvar VueRenderer = class {\n constructor(component, { props = {}, editor }) {\n /**\n * Flag to track if the renderer has been destroyed, preventing queued or asynchronous renders from executing after teardown.\n */\n this.destroyed = false;\n this.editor = editor;\n this.component = markRaw2(component);\n this.el = document.createElement(\"div\");\n this.props = reactive(props);\n this.renderedComponent = this.renderComponent();\n }\n get element() {\n return this.renderedComponent.el;\n }\n get ref() {\n var _a, _b, _c, _d;\n if ((_b = (_a = this.renderedComponent.vNode) == null ? void 0 : _a.component) == null ? void 0 : _b.exposed) {\n return this.renderedComponent.vNode.component.exposed;\n }\n return (_d = (_c = this.renderedComponent.vNode) == null ? void 0 : _c.component) == null ? void 0 : _d.proxy;\n }\n renderComponent() {\n if (this.destroyed) {\n return this.renderedComponent;\n }\n let vNode = h4(this.component, this.props);\n if (this.editor.appContext) {\n vNode.appContext = this.editor.appContext;\n }\n if (typeof document !== \"undefined\" && this.el) {\n render(vNode, this.el);\n }\n const destroy = () => {\n if (this.el) {\n render(null, this.el);\n }\n this.el = null;\n vNode = null;\n };\n return { vNode, destroy, el: this.el ? this.el.firstElementChild : null };\n }\n updateProps(props = {}) {\n if (this.destroyed) {\n return;\n }\n Object.entries(props).forEach(([key, value]) => {\n this.props[key] = value;\n });\n this.renderComponent();\n }\n destroy() {\n if (this.destroyed) {\n return;\n }\n this.destroyed = true;\n this.renderedComponent.destroy();\n }\n};\n\n// src/VueMarkViewRenderer.ts\nvar markViewProps = {\n editor: {\n type: Object,\n required: true\n },\n mark: {\n type: Object,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n inline: {\n type: Boolean,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar MarkViewContent = defineComponent4({\n name: \"MarkViewContent\",\n props: {\n as: {\n type: String,\n default: \"span\"\n }\n },\n render() {\n return h5(this.as, {\n style: {\n whiteSpace: \"inherit\"\n },\n \"data-mark-view-content\": \"\"\n });\n }\n});\nvar VueMarkView = class extends MarkView {\n constructor(component, props, options) {\n super(component, props, options);\n const componentProps = { ...props, updateAttributes: this.updateAttributes.bind(this) };\n const extendedComponent = defineComponent4({\n extends: { ...component },\n props: Object.keys(componentProps),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a;\n return (_a = component.setup) == null ? void 0 : _a.call(component, reactiveProps, {\n expose: () => void 0\n });\n },\n // Add support for scoped styles\n __scopeId: component.__scopeId,\n __cssModules: component.__cssModules,\n __name: component.__name,\n __file: component.__file\n });\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props: componentProps\n });\n }\n get dom() {\n return this.renderer.element;\n }\n get contentDOM() {\n return this.dom.querySelector(\"[data-mark-view-content]\");\n }\n updateAttributes(attrs) {\n const unproxiedMark = toRaw(this.mark);\n super.updateAttributes(attrs, unproxiedMark);\n }\n destroy() {\n this.renderer.destroy();\n }\n};\nfunction VueMarkViewRenderer(component, options = {}) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n return new VueMarkView(component, props, options);\n };\n}\n\n// src/VueNodeViewRenderer.ts\nimport { NodeView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent5, provide, ref as ref2 } from \"vue\";\nvar nodeViewProps = {\n editor: {\n type: Object,\n required: true\n },\n node: {\n type: Object,\n required: true\n },\n decorations: {\n type: Object,\n required: true\n },\n selected: {\n type: Boolean,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n getPos: {\n type: Function,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n deleteNode: {\n type: Function,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n innerDecorations: {\n type: Object,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar VueNodeView = class extends NodeView {\n constructor() {\n super(...arguments);\n this.cachedExtensionWithSyncedStorage = null;\n }\n /**\n * Returns a proxy of the extension that redirects storage access to the editor's mutable storage.\n * This preserves the original prototype chain (instanceof checks, methods like configure/extend work).\n * Cached to avoid proxy creation on every update.\n */\n get extensionWithSyncedStorage() {\n if (!this.cachedExtensionWithSyncedStorage) {\n const editor = this.editor;\n const extension = this.extension;\n this.cachedExtensionWithSyncedStorage = new Proxy(extension, {\n get(target, prop, receiver) {\n var _a;\n if (prop === \"storage\") {\n return (_a = editor.storage[extension.name]) != null ? _a : {};\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n }\n return this.cachedExtensionWithSyncedStorage;\n }\n mount() {\n const props = {\n editor: this.editor,\n node: this.node,\n decorations: this.decorations,\n innerDecorations: this.innerDecorations,\n view: this.view,\n selected: false,\n extension: this.extensionWithSyncedStorage,\n HTMLAttributes: this.HTMLAttributes,\n getPos: () => this.getPos(),\n updateAttributes: (attributes = {}) => this.updateAttributes(attributes),\n deleteNode: () => this.deleteNode()\n };\n const onDragStart = this.onDragStart.bind(this);\n this.decorationClasses = ref2(this.getDecorationClasses());\n const extendedComponent = defineComponent5({\n extends: { ...this.component },\n props: Object.keys(props),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a, _b;\n provide(\"onDragStart\", onDragStart);\n provide(\"decorationClasses\", this.decorationClasses);\n return (_b = (_a = this.component).setup) == null ? void 0 : _b.call(_a, reactiveProps, {\n expose: () => void 0\n });\n },\n // add support for scoped styles\n // @ts-ignore\n // eslint-disable-next-line\n __scopeId: this.component.__scopeId,\n // add support for CSS Modules\n // @ts-ignore\n // eslint-disable-next-line\n __cssModules: this.component.__cssModules,\n // add support for vue devtools\n // @ts-ignore\n // eslint-disable-next-line\n __name: this.component.__name,\n // @ts-ignore\n // eslint-disable-next-line\n __file: this.component.__file\n });\n this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this);\n this.editor.on(\"selectionUpdate\", this.handleSelectionUpdate);\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props\n });\n }\n /**\n * Return the DOM element.\n * This is the element that will be used to display the node view.\n */\n get dom() {\n if (!this.renderer.element || !this.renderer.element.hasAttribute(\"data-node-view-wrapper\")) {\n throw Error(\"Please use the NodeViewWrapper component for your node view.\");\n }\n return this.renderer.element;\n }\n /**\n * Return the content DOM element.\n * This is the element that will be used to display the rich-text content of the node.\n */\n get contentDOM() {\n if (this.node.isLeaf) {\n return null;\n }\n return this.dom.querySelector(\"[data-node-view-content]\");\n }\n /**\n * On editor selection update, check if the node is selected.\n * If it is, call `selectNode`, otherwise call `deselectNode`.\n */\n handleSelectionUpdate() {\n const { from, to } = this.editor.state.selection;\n const pos = this.getPos();\n if (typeof pos !== \"number\") {\n return;\n }\n if (from <= pos && to >= pos + this.node.nodeSize) {\n if (this.renderer.props.selected) {\n return;\n }\n this.selectNode();\n } else {\n if (!this.renderer.props.selected) {\n return;\n }\n this.deselectNode();\n }\n }\n /**\n * On update, update the React component.\n * To prevent unnecessary updates, the `update` option can be used.\n */\n update(node, decorations, innerDecorations) {\n const rerenderComponent = (props) => {\n this.decorationClasses.value = this.getDecorationClasses();\n this.renderer.updateProps(props);\n };\n if (typeof this.options.update === \"function\") {\n const oldNode = this.node;\n const oldDecorations = this.decorations;\n const oldInnerDecorations = this.innerDecorations;\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n return this.options.update({\n oldNode,\n oldDecorations,\n newNode: node,\n newDecorations: decorations,\n oldInnerDecorations,\n innerDecorations,\n updateProps: () => rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage })\n });\n }\n if (node.type !== this.node.type) {\n return false;\n }\n if (node === this.node && this.decorations === decorations && this.innerDecorations === innerDecorations) {\n return true;\n }\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage });\n return true;\n }\n /**\n * Select the node.\n * Add the `selected` prop and the `ProseMirror-selectednode` class.\n */\n selectNode() {\n this.renderer.updateProps({\n selected: true\n });\n if (this.renderer.element) {\n this.renderer.element.classList.add(\"ProseMirror-selectednode\");\n }\n }\n /**\n * Deselect the node.\n * Remove the `selected` prop and the `ProseMirror-selectednode` class.\n */\n deselectNode() {\n this.renderer.updateProps({\n selected: false\n });\n if (this.renderer.element) {\n this.renderer.element.classList.remove(\"ProseMirror-selectednode\");\n }\n }\n getDecorationClasses() {\n return this.decorations.flatMap((item) => item.type.attrs.class).join(\" \");\n }\n destroy() {\n this.renderer.destroy();\n this.editor.off(\"selectionUpdate\", this.handleSelectionUpdate);\n }\n};\nfunction VueNodeViewRenderer(component, options) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n const normalizedComponent = typeof component === \"function\" && \"__vccOpts\" in component ? component.__vccOpts : component;\n return new VueNodeView(normalizedComponent, props, options);\n };\n}\n\n// src/index.ts\nexport * from \"@tiptap/core\";\nexport {\n Editor,\n EditorContent,\n MarkViewContent,\n NodeViewContent,\n NodeViewWrapper,\n VueMarkView,\n VueMarkViewRenderer,\n VueNodeViewRenderer,\n VueRenderer,\n markViewProps,\n nodeViewProps,\n useEditor\n};\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAGA,SAAS,EAAgB,GAAO;AAC9B,QAAO,GAAW,GAAO,OAChB;EACL,MAAM;AAEJ,UADA,GAAO,EACA;;EAET,IAAI,GAAU;AAEZ,GADA,IAAQ,GACR,4BAA4B;AAC1B,gCAA4B;AAC1B,QAAS;MACT;KACF;;EAEL,EACD;;AAEJ,IAAI,IAAS,cAAcA,EAAW;CACpC,YAAY,IAAU,EAA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,mBAAmB,EAAkB;KAAE;KAAM;KAAa;KAAkB,WAAW,KAAK;KAA4B,CAAC;IAC1H,CAAC;;AAYJ,SAVI,EAAK,SAAS,KAAK,KAAK,OAGxB,MAAS,KAAK,QAAQ,KAAK,gBAAgB,KAAe,KAAK,qBAAqB,IAC/E,MAET,KAAK,OAAO,GACZ,KAAK,cAAc,GACnB,KAAK,mBAAmB,GACxB,EAAkB;GAAE;GAAM;GAAa;GAAkB,WAAW,KAAK;GAA4B,CAAC,EAC/F,MATE;;CAeX,aAAa;AAIX,EAHA,KAAK,SAAS,YAAY,EACxB,UAAU,IACX,CAAC,EACE,KAAK,SAAS,WAChB,KAAK,SAAS,QAAQ,UAAU,IAAI,2BAA2B;;CAOnE,eAAe;AAIb,EAHA,KAAK,SAAS,YAAY,EACxB,UAAU,IACX,CAAC,EACE,KAAK,SAAS,WAChB,KAAK,SAAS,QAAQ,UAAU,OAAO,2BAA2B;;CAGtE,uBAAuB;AACrB,SAAO,KAAK,YAAY,SAAS,MAAS,EAAK,KAAK,MAAM,MAAM,CAAC,KAAK,IAAI;;CAE5E,UAAU;AAER,EADA,KAAK,SAAS,SAAS,EACvB,KAAK,OAAO,IAAI,mBAAmB,KAAK,sBAAsB;;;AAGlE,SAAS,EAAoB,GAAW,GAAS;AAC/C,SAAQ,MACD,EAAM,OAAO,mBAIX,IAAI,EADiB,OAAO,KAAc,cAAc,eAAe,IAAY,EAAU,YAAY,GACpE,GAAO,EAAQ,GAHlD,EAAE"}
1
+ {"version":3,"file":"vue-3.js","names":["CoreEditor","defineComponent2","h2","defineComponent3","h3","markRaw2","h4","defineComponent4","h5","ref2","defineComponent5"],"sources":["../../../../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=65d98f737afae097542c692b176a81069e1b7b8d577d1d7e222a944_23bfa7b5fde667bfc96216774c3ce084/node_modules/@tiptap/vue-3/dist/index.js"],"sourcesContent":["// src/Editor.ts\nimport { Editor as CoreEditor } from \"@tiptap/core\";\nimport { customRef, markRaw } from \"vue\";\nfunction useDebouncedRef(value) {\n return customRef((track, trigger) => {\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n trigger();\n });\n });\n }\n };\n });\n}\nvar Editor = class extends CoreEditor {\n constructor(options = {}) {\n super(options);\n this.contentComponent = null;\n this.appContext = null;\n this.reactiveState = useDebouncedRef(this.view.state);\n this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);\n this.on(\"beforeTransaction\", ({ nextState }) => {\n this.reactiveState.value = nextState;\n this.reactiveExtensionStorage.value = this.extensionStorage;\n });\n return markRaw(this);\n }\n get state() {\n return this.reactiveState ? this.reactiveState.value : this.view.state;\n }\n get storage() {\n return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage;\n }\n /**\n * Register a ProseMirror plugin.\n */\n registerPlugin(plugin, handlePlugins) {\n const nextState = super.registerPlugin(plugin, handlePlugins);\n if (this.reactiveState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n /**\n * Unregister a ProseMirror plugin.\n */\n unregisterPlugin(nameOrPluginKey) {\n const nextState = super.unregisterPlugin(nameOrPluginKey);\n if (this.reactiveState && nextState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n};\n\n// src/EditorContent.ts\nimport { defineComponent, getCurrentInstance, h, nextTick, onBeforeUnmount, ref, unref, watchEffect } from \"vue\";\nvar EditorContent = defineComponent({\n name: \"EditorContent\",\n props: {\n editor: {\n default: null,\n type: Object\n }\n },\n setup(props) {\n const rootEl = ref();\n const instance = getCurrentInstance();\n watchEffect(() => {\n const editor = props.editor;\n if (editor && editor.options.element && rootEl.value) {\n nextTick(() => {\n var _a;\n if (!rootEl.value || !((_a = editor.view.dom) == null ? void 0 : _a.parentNode)) {\n return;\n }\n const element = unref(rootEl.value);\n rootEl.value.append(...editor.view.dom.parentNode.childNodes);\n editor.contentComponent = instance.ctx._;\n if (instance) {\n editor.appContext = {\n ...instance.appContext,\n // Vue internally uses prototype chain to forward/shadow injects across the entire component chain\n // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext\n // @ts-expect-error forward instance's 'provides' into appContext\n provides: instance.provides\n };\n }\n editor.setOptions({\n element\n });\n editor.createNodeViews();\n });\n }\n });\n onBeforeUnmount(() => {\n const editor = props.editor;\n if (!editor) {\n return;\n }\n editor.contentComponent = null;\n editor.appContext = null;\n });\n return { rootEl };\n },\n render() {\n return h(\"div\", {\n ref: (el) => {\n this.rootEl = el;\n }\n });\n }\n});\n\n// src/NodeViewContent.ts\nimport { defineComponent as defineComponent2, h as h2 } from \"vue\";\nvar NodeViewContent = defineComponent2({\n name: \"NodeViewContent\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n render() {\n return h2(this.as, {\n style: {\n whiteSpace: \"pre-wrap\"\n },\n \"data-node-view-content\": \"\"\n });\n }\n});\n\n// src/NodeViewWrapper.ts\nimport { defineComponent as defineComponent3, h as h3 } from \"vue\";\nvar NodeViewWrapper = defineComponent3({\n name: \"NodeViewWrapper\",\n props: {\n as: {\n type: String,\n default: \"div\"\n }\n },\n inject: [\"onDragStart\", \"decorationClasses\"],\n render() {\n var _a, _b;\n return h3(\n this.as,\n {\n // @ts-ignore\n class: this.decorationClasses,\n style: {\n whiteSpace: \"normal\"\n },\n \"data-node-view-wrapper\": \"\",\n // @ts-ignore (https://github.com/vuejs/vue-next/issues/3031)\n onDragstart: this.onDragStart\n },\n (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)\n );\n }\n});\n\n// src/useEditor.ts\nimport { onBeforeUnmount as onBeforeUnmount2, onMounted, shallowRef } from \"vue\";\nvar useEditor = (options = {}) => {\n const editor = shallowRef();\n onMounted(() => {\n editor.value = new Editor(options);\n });\n onBeforeUnmount2(() => {\n var _a, _b, _c, _d;\n const nodes = (_b = (_a = editor.value) == null ? void 0 : _a.view.dom) == null ? void 0 : _b.parentNode;\n const newEl = nodes == null ? void 0 : nodes.cloneNode(true);\n (_c = nodes == null ? void 0 : nodes.parentNode) == null ? void 0 : _c.replaceChild(newEl, nodes);\n (_d = editor.value) == null ? void 0 : _d.destroy();\n });\n return editor;\n};\n\n// src/VueMarkViewRenderer.ts\nimport { MarkView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent4, h as h5, toRaw } from \"vue\";\n\n// src/VueRenderer.ts\nimport { h as h4, markRaw as markRaw2, reactive, render } from \"vue\";\nvar VueRenderer = class {\n constructor(component, { props = {}, editor }) {\n /**\n * Flag to track if the renderer has been destroyed, preventing queued or asynchronous renders from executing after teardown.\n */\n this.destroyed = false;\n this.editor = editor;\n this.component = markRaw2(component);\n this.el = document.createElement(\"div\");\n this.props = reactive(props);\n this.renderedComponent = this.renderComponent();\n }\n get element() {\n return this.renderedComponent.el;\n }\n get ref() {\n var _a, _b, _c, _d;\n if ((_b = (_a = this.renderedComponent.vNode) == null ? void 0 : _a.component) == null ? void 0 : _b.exposed) {\n return this.renderedComponent.vNode.component.exposed;\n }\n return (_d = (_c = this.renderedComponent.vNode) == null ? void 0 : _c.component) == null ? void 0 : _d.proxy;\n }\n renderComponent() {\n if (this.destroyed) {\n return this.renderedComponent;\n }\n let vNode = h4(this.component, this.props);\n if (this.editor.appContext) {\n vNode.appContext = this.editor.appContext;\n }\n if (typeof document !== \"undefined\" && this.el) {\n render(vNode, this.el);\n }\n const destroy = () => {\n if (this.el) {\n render(null, this.el);\n }\n this.el = null;\n vNode = null;\n };\n return { vNode, destroy, el: this.el ? this.el.firstElementChild : null };\n }\n updateProps(props = {}) {\n if (this.destroyed) {\n return;\n }\n Object.entries(props).forEach(([key, value]) => {\n this.props[key] = value;\n });\n this.renderComponent();\n }\n destroy() {\n if (this.destroyed) {\n return;\n }\n this.destroyed = true;\n this.renderedComponent.destroy();\n }\n};\n\n// src/VueMarkViewRenderer.ts\nvar markViewProps = {\n editor: {\n type: Object,\n required: true\n },\n mark: {\n type: Object,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n inline: {\n type: Boolean,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar MarkViewContent = defineComponent4({\n name: \"MarkViewContent\",\n props: {\n as: {\n type: String,\n default: \"span\"\n }\n },\n render() {\n return h5(this.as, {\n style: {\n whiteSpace: \"inherit\"\n },\n \"data-mark-view-content\": \"\"\n });\n }\n});\nvar VueMarkView = class extends MarkView {\n constructor(component, props, options) {\n super(component, props, options);\n const componentProps = { ...props, updateAttributes: this.updateAttributes.bind(this) };\n const extendedComponent = defineComponent4({\n extends: { ...component },\n props: Object.keys(componentProps),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a;\n return (_a = component.setup) == null ? void 0 : _a.call(component, reactiveProps, {\n expose: () => void 0\n });\n },\n // Add support for scoped styles\n __scopeId: component.__scopeId,\n __cssModules: component.__cssModules,\n __name: component.__name,\n __file: component.__file\n });\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props: componentProps\n });\n }\n get dom() {\n return this.renderer.element;\n }\n get contentDOM() {\n return this.dom.querySelector(\"[data-mark-view-content]\");\n }\n updateAttributes(attrs) {\n const unproxiedMark = toRaw(this.mark);\n super.updateAttributes(attrs, unproxiedMark);\n }\n destroy() {\n this.renderer.destroy();\n }\n};\nfunction VueMarkViewRenderer(component, options = {}) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n return new VueMarkView(component, props, options);\n };\n}\n\n// src/VueNodeViewRenderer.ts\nimport { NodeView } from \"@tiptap/core\";\nimport { defineComponent as defineComponent5, provide, ref as ref2 } from \"vue\";\nvar nodeViewProps = {\n editor: {\n type: Object,\n required: true\n },\n node: {\n type: Object,\n required: true\n },\n decorations: {\n type: Object,\n required: true\n },\n selected: {\n type: Boolean,\n required: true\n },\n extension: {\n type: Object,\n required: true\n },\n getPos: {\n type: Function,\n required: true\n },\n updateAttributes: {\n type: Function,\n required: true\n },\n deleteNode: {\n type: Function,\n required: true\n },\n view: {\n type: Object,\n required: true\n },\n innerDecorations: {\n type: Object,\n required: true\n },\n HTMLAttributes: {\n type: Object,\n required: true\n }\n};\nvar VueNodeView = class extends NodeView {\n constructor() {\n super(...arguments);\n this.cachedExtensionWithSyncedStorage = null;\n }\n /**\n * Returns a proxy of the extension that redirects storage access to the editor's mutable storage.\n * This preserves the original prototype chain (instanceof checks, methods like configure/extend work).\n * Cached to avoid proxy creation on every update.\n */\n get extensionWithSyncedStorage() {\n if (!this.cachedExtensionWithSyncedStorage) {\n const editor = this.editor;\n const extension = this.extension;\n this.cachedExtensionWithSyncedStorage = new Proxy(extension, {\n get(target, prop, receiver) {\n var _a;\n if (prop === \"storage\") {\n return (_a = editor.storage[extension.name]) != null ? _a : {};\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n }\n return this.cachedExtensionWithSyncedStorage;\n }\n mount() {\n const props = {\n editor: this.editor,\n node: this.node,\n decorations: this.decorations,\n innerDecorations: this.innerDecorations,\n view: this.view,\n selected: false,\n extension: this.extensionWithSyncedStorage,\n HTMLAttributes: this.HTMLAttributes,\n getPos: () => this.getPos(),\n updateAttributes: (attributes = {}) => this.updateAttributes(attributes),\n deleteNode: () => this.deleteNode()\n };\n const onDragStart = this.onDragStart.bind(this);\n this.decorationClasses = ref2(this.getDecorationClasses());\n const extendedComponent = defineComponent5({\n extends: { ...this.component },\n props: Object.keys(props),\n template: this.component.template,\n setup: (reactiveProps) => {\n var _a, _b;\n provide(\"onDragStart\", onDragStart);\n provide(\"decorationClasses\", this.decorationClasses);\n return (_b = (_a = this.component).setup) == null ? void 0 : _b.call(_a, reactiveProps, {\n expose: () => void 0\n });\n },\n // add support for scoped styles\n // @ts-ignore\n // eslint-disable-next-line\n __scopeId: this.component.__scopeId,\n // add support for CSS Modules\n // @ts-ignore\n // eslint-disable-next-line\n __cssModules: this.component.__cssModules,\n // add support for vue devtools\n // @ts-ignore\n // eslint-disable-next-line\n __name: this.component.__name,\n // @ts-ignore\n // eslint-disable-next-line\n __file: this.component.__file\n });\n this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this);\n this.editor.on(\"selectionUpdate\", this.handleSelectionUpdate);\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props\n });\n }\n /**\n * Return the DOM element.\n * This is the element that will be used to display the node view.\n */\n get dom() {\n if (!this.renderer.element || !this.renderer.element.hasAttribute(\"data-node-view-wrapper\")) {\n throw Error(\"Please use the NodeViewWrapper component for your node view.\");\n }\n return this.renderer.element;\n }\n /**\n * Return the content DOM element.\n * This is the element that will be used to display the rich-text content of the node.\n */\n get contentDOM() {\n if (this.node.isLeaf) {\n return null;\n }\n return this.dom.querySelector(\"[data-node-view-content]\");\n }\n /**\n * On editor selection update, check if the node is selected.\n * If it is, call `selectNode`, otherwise call `deselectNode`.\n */\n handleSelectionUpdate() {\n const { from, to } = this.editor.state.selection;\n const pos = this.getPos();\n if (typeof pos !== \"number\") {\n return;\n }\n if (from <= pos && to >= pos + this.node.nodeSize) {\n if (this.renderer.props.selected) {\n return;\n }\n this.selectNode();\n } else {\n if (!this.renderer.props.selected) {\n return;\n }\n this.deselectNode();\n }\n }\n /**\n * On update, update the React component.\n * To prevent unnecessary updates, the `update` option can be used.\n */\n update(node, decorations, innerDecorations) {\n const rerenderComponent = (props) => {\n this.decorationClasses.value = this.getDecorationClasses();\n this.renderer.updateProps(props);\n };\n if (typeof this.options.update === \"function\") {\n const oldNode = this.node;\n const oldDecorations = this.decorations;\n const oldInnerDecorations = this.innerDecorations;\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n return this.options.update({\n oldNode,\n oldDecorations,\n newNode: node,\n newDecorations: decorations,\n oldInnerDecorations,\n innerDecorations,\n updateProps: () => rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage })\n });\n }\n if (node.type !== this.node.type) {\n return false;\n }\n if (node === this.node && this.decorations === decorations && this.innerDecorations === innerDecorations) {\n return true;\n }\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n rerenderComponent({ node, decorations, innerDecorations, extension: this.extensionWithSyncedStorage });\n return true;\n }\n /**\n * Select the node.\n * Add the `selected` prop and the `ProseMirror-selectednode` class.\n */\n selectNode() {\n this.renderer.updateProps({\n selected: true\n });\n if (this.renderer.element) {\n this.renderer.element.classList.add(\"ProseMirror-selectednode\");\n }\n }\n /**\n * Deselect the node.\n * Remove the `selected` prop and the `ProseMirror-selectednode` class.\n */\n deselectNode() {\n this.renderer.updateProps({\n selected: false\n });\n if (this.renderer.element) {\n this.renderer.element.classList.remove(\"ProseMirror-selectednode\");\n }\n }\n getDecorationClasses() {\n return this.decorations.flatMap((item) => item.type.attrs.class).join(\" \");\n }\n destroy() {\n this.renderer.destroy();\n this.editor.off(\"selectionUpdate\", this.handleSelectionUpdate);\n }\n};\nfunction VueNodeViewRenderer(component, options) {\n return (props) => {\n if (!props.editor.contentComponent) {\n return {};\n }\n const normalizedComponent = typeof component === \"function\" && \"__vccOpts\" in component ? component.__vccOpts : component;\n return new VueNodeView(normalizedComponent, props, options);\n };\n}\n\n// src/index.ts\nexport * from \"@tiptap/core\";\nexport {\n Editor,\n EditorContent,\n MarkViewContent,\n NodeViewContent,\n NodeViewWrapper,\n VueMarkView,\n VueMarkViewRenderer,\n VueNodeViewRenderer,\n VueRenderer,\n markViewProps,\n nodeViewProps,\n useEditor\n};\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAGA,SAAS,EAAgB,GAAO;AAC9B,QAAO,GAAW,GAAO,OAChB;EACL,MAAM;AAEJ,UADA,GAAO,EACA;;EAET,IAAI,GAAU;AAEZ,GADA,IAAQ,GACR,4BAA4B;AAC1B,gCAA4B;AAC1B,QAAS;MACT;KACF;;EAEL,EACD;;AAEJ,IAAI,IAAS,cAAcA,EAAW;CACpC,YAAY,IAAU,EAAE,EAAE;AAUxB,SATA,MAAM,EAAQ,EACd,KAAK,mBAAmB,MACxB,K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,CAAC;IAC1H,CAAC;;AAYJ,SAVI,EAAK,SAAS,KAAK,KAAK,OAGxB,MAAS,KAAK,QAAQ,KAAK,gBAAgB,KAAe,KAAK,qBAAqB,IAC/E,MAET,KAAK,OAAO,GACZ,KAAK,cAAc,GACnB,KAAK,mBAAmB,GACxB,EAAkB;GAAE;GAAM;GAAa;GAAkB,WAAW,KAAK;GAA4B,CAAC,EAC/F,MATE;;CAeX,aAAa;AAIX,EAHA,KAAK,SAAS,YAAY,EACxB,UAAU,IACX,CAAC,EACE,KAAK,SAAS,WAChB,KAAK,SAAS,QAAQ,UAAU,IAAI,2BAA2B;;CAOnE,eAAe;AAIb,EAHA,KAAK,SAAS,YAAY,EACxB,UAAU,IACX,CAAC,EACE,KAAK,SAAS,WAChB,KAAK,SAAS,QAAQ,UAAU,OAAO,2BAA2B;;CAGtE,uBAAuB;AACrB,SAAO,KAAK,YAAY,SAAS,MAAS,EAAK,KAAK,MAAM,MAAM,CAAC,KAAK,IAAI;;CAE5E,UAAU;AAER,EADA,KAAK,SAAS,SAAS,EACvB,KAAK,OAAO,IAAI,mBAAmB,KAAK,sBAAsB;;;AAGlE,SAAS,EAAoB,GAAW,GAAS;AAC/C,SAAQ,MACD,EAAM,OAAO,mBAIX,IAAI,EADiB,OAAO,KAAc,cAAc,eAAe,IAAY,EAAU,YAAY,GACpE,GAAO,EAAQ,GAHlD,EAAE"}
@@ -539,8 +539,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
539
539
  options: {
540
540
  altAxis: boolean;
541
541
  tether: boolean;
542
+ boundary: string;
542
543
  fallbackPlacements?: undefined;
543
- boundary?: undefined;
544
544
  };
545
545
  enabled?: undefined;
546
546
  })[];
@@ -589,8 +589,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
589
589
  options: {
590
590
  altAxis: boolean;
591
591
  tether: boolean;
592
+ boundary: string;
592
593
  fallbackPlacements?: undefined;
593
- boundary?: undefined;
594
594
  };
595
595
  enabled?: undefined;
596
596
  })[];
@@ -710,8 +710,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
710
710
  options: {
711
711
  altAxis: boolean;
712
712
  tether: boolean;
713
+ boundary: string;
713
714
  fallbackPlacements?: undefined;
714
- boundary?: undefined;
715
715
  };
716
716
  enabled?: undefined;
717
717
  })[];
@@ -760,8 +760,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
760
760
  options: {
761
761
  altAxis: boolean;
762
762
  tether: boolean;
763
+ boundary: string;
763
764
  fallbackPlacements?: undefined;
764
- boundary?: undefined;
765
765
  };
766
766
  enabled?: undefined;
767
767
  })[];
@@ -1221,6 +1221,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1221
1221
  type: ArrayConstructor;
1222
1222
  default: () => string[];
1223
1223
  };
1224
+ boundary: {
1225
+ type: ({
1226
+ new (): HTMLElement;
1227
+ prototype: HTMLElement;
1228
+ } | ObjectConstructor | StringConstructor)[];
1229
+ default: string;
1230
+ validator: (boundary: unknown) => boolean;
1231
+ };
1224
1232
  placement: {
1225
1233
  type: StringConstructor;
1226
1234
  default: string;
@@ -1329,8 +1337,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1329
1337
  options: {
1330
1338
  altAxis: boolean;
1331
1339
  tether: boolean;
1340
+ boundary: string;
1332
1341
  fallbackPlacements?: undefined;
1333
- boundary?: undefined;
1334
1342
  };
1335
1343
  enabled?: undefined;
1336
1344
  })[];
@@ -1455,6 +1463,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1455
1463
  type: ArrayConstructor;
1456
1464
  default: () => string[];
1457
1465
  };
1466
+ boundary: {
1467
+ type: ({
1468
+ new (): HTMLElement;
1469
+ prototype: HTMLElement;
1470
+ } | ObjectConstructor | StringConstructor)[];
1471
+ default: string;
1472
+ validator: (boundary: unknown) => boolean;
1473
+ };
1458
1474
  placement: {
1459
1475
  type: StringConstructor;
1460
1476
  default: string;
@@ -1538,6 +1554,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1538
1554
  hideOnClick: boolean;
1539
1555
  placement: string;
1540
1556
  sticky: string | boolean;
1557
+ boundary: string | HTMLElement | Record<string, any>;
1541
1558
  fallbackPlacements: unknown[];
1542
1559
  tether: boolean;
1543
1560
  externalAnchor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_dropdown.vue.d.ts","sourceRoot":"","sources":["../../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"names":[],"mappings":"AAsEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0S9C,GA1S8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0S9C,GA1S8C;;;;;;;sCA8SmD,gBAAgB;mCAAhB,gBAAgB"}
1
+ {"version":3,"file":"callbar_button_with_dropdown.vue.d.ts","sourceRoot":"","sources":["../../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"names":[],"mappings":"AAsEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0S9C,GA1S8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0S9C,GA1S8C;;;;;;;sCA8SmD,gBAAgB;mCAAhB,gBAAgB"}
@@ -747,8 +747,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
747
747
  options: {
748
748
  altAxis: boolean;
749
749
  tether: boolean;
750
+ boundary: string;
750
751
  fallbackPlacements?: undefined;
751
- boundary?: undefined;
752
752
  };
753
753
  enabled?: undefined;
754
754
  })[];
@@ -797,8 +797,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
797
797
  options: {
798
798
  altAxis: boolean;
799
799
  tether: boolean;
800
+ boundary: string;
800
801
  fallbackPlacements?: undefined;
801
- boundary?: undefined;
802
802
  };
803
803
  enabled?: undefined;
804
804
  })[];
@@ -985,6 +985,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
985
985
  type: ArrayConstructor;
986
986
  default: () => string[];
987
987
  };
988
+ boundary: {
989
+ type: ({
990
+ new (): HTMLElement;
991
+ prototype: HTMLElement;
992
+ } | ObjectConstructor | StringConstructor)[];
993
+ default: string;
994
+ validator: (boundary: unknown) => boolean;
995
+ };
988
996
  placement: {
989
997
  type: StringConstructor;
990
998
  default: string;
@@ -1093,8 +1101,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1093
1101
  options: {
1094
1102
  altAxis: boolean;
1095
1103
  tether: boolean;
1104
+ boundary: string;
1096
1105
  fallbackPlacements?: undefined;
1097
- boundary?: undefined;
1098
1106
  };
1099
1107
  enabled?: undefined;
1100
1108
  })[];
@@ -1219,6 +1227,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1219
1227
  type: ArrayConstructor;
1220
1228
  default: () => string[];
1221
1229
  };
1230
+ boundary: {
1231
+ type: ({
1232
+ new (): HTMLElement;
1233
+ prototype: HTMLElement;
1234
+ } | ObjectConstructor | StringConstructor)[];
1235
+ default: string;
1236
+ validator: (boundary: unknown) => boolean;
1237
+ };
1222
1238
  placement: {
1223
1239
  type: StringConstructor;
1224
1240
  default: string;
@@ -1302,6 +1318,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1302
1318
  hideOnClick: boolean;
1303
1319
  placement: string;
1304
1320
  sticky: string | boolean;
1321
+ boundary: string | HTMLElement | Record<string, any>;
1305
1322
  fallbackPlacements: unknown[];
1306
1323
  tether: boolean;
1307
1324
  externalAnchor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"names":[],"mappings":"AA6EA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgWT,GAhWS;;;;;;;sCAoWwF,gBAAgB;mCAAhB,gBAAgB"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"names":[],"mappings":"AA6EA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAgWT,GAhWS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgWT,GAhWS;;;;;;;sCAoWwF,gBAAgB;mCAAhB,gBAAgB"}
@@ -758,6 +758,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
758
758
  type: ArrayConstructor;
759
759
  default: () => string[];
760
760
  };
761
+ boundary: {
762
+ type: ({
763
+ new (): HTMLElement;
764
+ prototype: HTMLElement;
765
+ } | ObjectConstructor | StringConstructor)[];
766
+ default: string;
767
+ validator: (boundary: unknown) => boolean;
768
+ };
761
769
  placement: {
762
770
  type: StringConstructor;
763
771
  default: string;
@@ -866,8 +874,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
866
874
  options: {
867
875
  altAxis: boolean;
868
876
  tether: boolean;
877
+ boundary: string;
869
878
  fallbackPlacements?: undefined;
870
- boundary?: undefined;
871
879
  };
872
880
  enabled?: undefined;
873
881
  })[];
@@ -992,6 +1000,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
992
1000
  type: ArrayConstructor;
993
1001
  default: () => string[];
994
1002
  };
1003
+ boundary: {
1004
+ type: ({
1005
+ new (): HTMLElement;
1006
+ prototype: HTMLElement;
1007
+ } | ObjectConstructor | StringConstructor)[];
1008
+ default: string;
1009
+ validator: (boundary: unknown) => boolean;
1010
+ };
995
1011
  placement: {
996
1012
  type: StringConstructor;
997
1013
  default: string;
@@ -1075,6 +1091,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1075
1091
  hideOnClick: boolean;
1076
1092
  placement: string;
1077
1093
  sticky: string | boolean;
1094
+ boundary: string | HTMLElement | Record<string, any>;
1078
1095
  fallbackPlacements: unknown[];
1079
1096
  tether: boolean;
1080
1097
  externalAnchor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ivr_node.vue.d.ts","sourceRoot":"","sources":["../../../../recipes/cards/ivr_node/ivr_node.vue"],"names":[],"mappings":"AAsFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqPA,GAzMqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAyMrB,GAzMqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAyMrB,GAzMqB"}
@@ -687,6 +687,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
687
687
  type: ArrayConstructor;
688
688
  default: () => string[];
689
689
  };
690
+ boundary: {
691
+ type: ({
692
+ new (): HTMLElement;
693
+ prototype: HTMLElement;
694
+ } | ObjectConstructor | StringConstructor)[];
695
+ default: string;
696
+ validator: (boundary: unknown) => boolean;
697
+ };
690
698
  placement: {
691
699
  type: StringConstructor;
692
700
  default: string;
@@ -795,8 +803,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
795
803
  options: {
796
804
  altAxis: boolean;
797
805
  tether: boolean;
806
+ boundary: string;
798
807
  fallbackPlacements?: undefined;
799
- boundary?: undefined;
800
808
  };
801
809
  enabled?: undefined;
802
810
  })[];
@@ -921,6 +929,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
921
929
  type: ArrayConstructor;
922
930
  default: () => string[];
923
931
  };
932
+ boundary: {
933
+ type: ({
934
+ new (): HTMLElement;
935
+ prototype: HTMLElement;
936
+ } | ObjectConstructor | StringConstructor)[];
937
+ default: string;
938
+ validator: (boundary: unknown) => boolean;
939
+ };
924
940
  placement: {
925
941
  type: StringConstructor;
926
942
  default: string;
@@ -1004,6 +1020,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1004
1020
  hideOnClick: boolean;
1005
1021
  placement: string;
1006
1022
  sticky: string | boolean;
1023
+ boundary: string | HTMLElement | Record<string, any>;
1007
1024
  fallbackPlacements: unknown[];
1008
1025
  tether: boolean;
1009
1026
  externalAnchor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"EditorToolbarDropdownButton.vue.d.ts","sourceRoot":"","sources":["../../../../recipes/conversation_view/editor/EditorToolbarDropdownButton.vue"],"names":[],"mappings":"AAuCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAsFD,GAtFC"}
@@ -414,6 +414,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
414
414
  type: ArrayConstructor;
415
415
  default: () => string[];
416
416
  };
417
+ boundary: {
418
+ type: ({
419
+ new (): HTMLElement;
420
+ prototype: HTMLElement;
421
+ } | ObjectConstructor | StringConstructor)[];
422
+ default: string;
423
+ validator: (boundary: unknown) => boolean;
424
+ };
417
425
  placement: {
418
426
  type: StringConstructor;
419
427
  default: string;
@@ -522,8 +530,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
522
530
  options: {
523
531
  altAxis: boolean;
524
532
  tether: boolean;
533
+ boundary: string;
525
534
  fallbackPlacements?: undefined;
526
- boundary?: undefined;
527
535
  };
528
536
  enabled?: undefined;
529
537
  })[];
@@ -648,6 +656,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
648
656
  type: ArrayConstructor;
649
657
  default: () => string[];
650
658
  };
659
+ boundary: {
660
+ type: ({
661
+ new (): HTMLElement;
662
+ prototype: HTMLElement;
663
+ } | ObjectConstructor | StringConstructor)[];
664
+ default: string;
665
+ validator: (boundary: unknown) => boolean;
666
+ };
651
667
  placement: {
652
668
  type: StringConstructor;
653
669
  default: string;
@@ -731,6 +747,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
731
747
  hideOnClick: boolean;
732
748
  placement: string;
733
749
  sticky: string | boolean;
750
+ boundary: string | HTMLElement | Record<string, any>;
734
751
  fallbackPlacements: unknown[];
735
752
  tether: boolean;
736
753
  externalAnchor: string;