@prosekit/vue 0.7.0-beta.3 → 0.7.0-beta.5

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 (94) hide show
  1. package/dist/editor-context.js +0 -2
  2. package/dist/editor-context.js.map +1 -1
  3. package/dist/prosekit-vue-autocomplete.d.ts +12 -63
  4. package/dist/prosekit-vue-autocomplete.d.ts.map +1 -1
  5. package/dist/prosekit-vue-autocomplete.js +7 -52
  6. package/dist/prosekit-vue-autocomplete.js.map +1 -1
  7. package/dist/prosekit-vue-block-handle.d.ts +12 -63
  8. package/dist/prosekit-vue-block-handle.d.ts.map +1 -1
  9. package/dist/prosekit-vue-block-handle.js +7 -52
  10. package/dist/prosekit-vue-block-handle.js.map +1 -1
  11. package/dist/prosekit-vue-drop-indicator.d.ts +2 -13
  12. package/dist/prosekit-vue-drop-indicator.d.ts.map +1 -1
  13. package/dist/prosekit-vue-drop-indicator.js +1 -10
  14. package/dist/prosekit-vue-drop-indicator.js.map +1 -1
  15. package/dist/prosekit-vue-inline-popover.d.ts +9 -40
  16. package/dist/prosekit-vue-inline-popover.d.ts.map +1 -1
  17. package/dist/prosekit-vue-inline-popover.js +5 -32
  18. package/dist/prosekit-vue-inline-popover.js.map +1 -1
  19. package/dist/prosekit-vue-menu.d.ts +49 -89
  20. package/dist/prosekit-vue-menu.d.ts.map +1 -1
  21. package/dist/prosekit-vue-menu.js +72 -76
  22. package/dist/prosekit-vue-menu.js.map +1 -1
  23. package/dist/prosekit-vue-popover.d.ts +10 -51
  24. package/dist/prosekit-vue-popover.d.ts.map +1 -1
  25. package/dist/prosekit-vue-popover.js +6 -42
  26. package/dist/prosekit-vue-popover.js.map +1 -1
  27. package/dist/prosekit-vue-resizable.d.ts +6 -27
  28. package/dist/prosekit-vue-resizable.d.ts.map +1 -1
  29. package/dist/prosekit-vue-resizable.js +4 -22
  30. package/dist/prosekit-vue-resizable.js.map +1 -1
  31. package/dist/prosekit-vue-table-handle.d.ts +22 -133
  32. package/dist/prosekit-vue-table-handle.d.ts.map +1 -1
  33. package/dist/prosekit-vue-table-handle.js +11 -110
  34. package/dist/prosekit-vue-table-handle.js.map +1 -1
  35. package/dist/prosekit-vue-tooltip.d.ts +10 -51
  36. package/dist/prosekit-vue-tooltip.d.ts.map +1 -1
  37. package/dist/prosekit-vue-tooltip.js +6 -42
  38. package/dist/prosekit-vue-tooltip.js.map +1 -1
  39. package/dist/prosekit-vue.d.ts +0 -19
  40. package/dist/prosekit-vue.d.ts.map +1 -1
  41. package/dist/prosekit-vue.js +0 -24
  42. package/dist/prosekit-vue.js.map +1 -1
  43. package/package.json +3 -3
  44. package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
  45. package/src/components/autocomplete/autocomplete-item.gen.ts +3 -15
  46. package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -15
  47. package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
  48. package/src/components/autocomplete/autocomplete-root.gen.ts +3 -15
  49. package/src/components/autocomplete/index.gen.ts +4 -8
  50. package/src/components/block-handle/block-handle-add.gen.ts +3 -13
  51. package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
  52. package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
  53. package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
  54. package/src/components/block-handle/block-handle-root.gen.ts +3 -15
  55. package/src/components/block-handle/index.gen.ts +2 -6
  56. package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
  57. package/src/components/drop-indicator/index.gen.ts +1 -3
  58. package/src/components/inline-popover/index.gen.ts +2 -6
  59. package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -13
  60. package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
  61. package/src/components/inline-popover/inline-popover-root.gen.ts +4 -16
  62. package/src/components/menu/index.gen.ts +4 -8
  63. package/src/components/menu/menu-item.gen.ts +3 -15
  64. package/src/components/menu/menu-popup.gen.ts +3 -13
  65. package/src/components/menu/menu-positioner.gen.ts +3 -13
  66. package/src/components/menu/menu-root.gen.ts +3 -15
  67. package/src/components/menu/menu-submenu-root.gen.ts +68 -21
  68. package/src/components/menu/menu-submenu-trigger.gen.ts +41 -21
  69. package/src/components/menu/menu-trigger.gen.ts +3 -15
  70. package/src/components/popover/index.gen.ts +3 -7
  71. package/src/components/popover/popover-popup.gen.ts +3 -13
  72. package/src/components/popover/popover-positioner.gen.ts +3 -13
  73. package/src/components/popover/popover-root.gen.ts +3 -15
  74. package/src/components/popover/popover-trigger.gen.ts +3 -15
  75. package/src/components/resizable/index.gen.ts +2 -6
  76. package/src/components/resizable/resizable-handle.gen.ts +3 -13
  77. package/src/components/resizable/resizable-root.gen.ts +3 -15
  78. package/src/components/table-handle/index.gen.ts +1 -3
  79. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
  80. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
  81. package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
  82. package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
  83. package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
  84. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
  85. package/src/components/table-handle/table-handle-root.gen.ts +3 -13
  86. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
  87. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
  88. package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
  89. package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
  90. package/src/components/tooltip/index.gen.ts +2 -6
  91. package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
  92. package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
  93. package/src/components/tooltip/tooltip-root.gen.ts +3 -15
  94. package/src/components/tooltip/tooltip-trigger.gen.ts +3 -13
@@ -1,14 +1,6 @@
1
1
  import { computed, defineComponent, h, shallowRef, watchEffect } from "vue";
2
- import { ResizeEndEvent, ResizeStartEvent, registerResizableHandleElement, registerResizableRootElement } from "@prosekit/web/resizable";
3
- //#region src/components/resizable/resizable-root.gen.ts
4
- /**
5
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
6
- */
7
- /**
8
- * A Vue component that renders an `prosekit-resizable-root` custom element.
9
- *
10
- * @public
11
- */
2
+ import { registerResizableHandleElement, registerResizableRootElement } from "@prosekit/web/resizable";
3
+ /** A Vue component that renders an `prosekit-resizable-root` custom element. */
12
4
  const ResizableRoot = /* @__PURE__ */ defineComponent((props, { slots }) => {
13
5
  registerResizableRootElement();
14
6
  const elementRef = shallowRef(null);
@@ -59,16 +51,7 @@ const ResizableRoot = /* @__PURE__ */ defineComponent((props, { slots }) => {
59
51
  "onResizeEnd",
60
52
  "onResizeStart"
61
53
  ] });
62
- //#endregion
63
- //#region src/components/resizable/resizable-handle.gen.ts
64
- /**
65
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
66
- */
67
- /**
68
- * A Vue component that renders an `prosekit-resizable-handle` custom element.
69
- *
70
- * @public
71
- */
54
+ /** A Vue component that renders an `prosekit-resizable-handle` custom element. */
72
55
  const ResizableHandle = /* @__PURE__ */ defineComponent((props, { slots }) => {
73
56
  registerResizableHandleElement();
74
57
  const elementRef = shallowRef(null);
@@ -90,7 +73,6 @@ const ResizableHandle = /* @__PURE__ */ defineComponent((props, { slots }) => {
90
73
  }, slots.default?.());
91
74
  };
92
75
  }, { props: ["position"] });
93
- //#endregion
94
- export { ResizableHandle, ResizableRoot, ResizeEndEvent, ResizeStartEvent };
76
+ export { ResizableHandle, ResizableRoot };
95
77
 
96
78
  //# sourceMappingURL=prosekit-vue-resizable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prosekit-vue-resizable.js","names":[],"sources":["../src/components/resizable/resizable-root.gen.ts","../src/components/resizable/resizable-handle.gen.ts"],"sourcesContent":["/**\n * This file is auto-generated by the \"@aria-ui/cli\" tool. Do not edit this file directly.\n */\n\nimport { registerResizableRootElement, type ResizableRootEvents, type ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';\nimport { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';\n\n/**\n * Props for the {@link ResizableRoot} Vue component.\n *\n * @public\n */\nexport interface ResizableRootProps {\n /**\n * The width of the resizable element.\n *\n * @default null\n */\n width?: ResizableRootElementProps['width'];\n /**\n * The height of the resizable element.\n *\n * @default null\n */\n height?: ResizableRootElementProps['height'];\n /**\n * The aspect ratio of the resizable element.\n *\n * @default null\n */\n aspectRatio?: ResizableRootElementProps['aspectRatio'];\n /** Emitted when a resize operation starts. */\n onResizeStart?: (event: ResizableRootEvents['resizeStart']) => void;\n /** Emitted when a resize operation ends. */\n onResizeEnd?: (event: ResizableRootEvents['resizeEnd']) => void;\n}\n\n/**\n * A Vue component that renders an `prosekit-resizable-root` custom element.\n *\n * @public\n */\nexport const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<ResizableRootProps & HTMLAttributes>(\n (props, { slots }) => {\n registerResizableRootElement();\n\n const elementRef = shallowRef<HTMLElement | null>(null);\n\n const splittedProps = computed(() => {\n const { aspectRatio: p0, height: p1, width: p2, onResizeEnd: e0, onResizeStart: e1, ...restProps } = props;\n return [[p0, p1, p2, e0, e1], restProps] as const;\n });\n\n const handlers: Array<((event: any) => void) | undefined> = [];\n\n watchEffect(() => {\n const element = elementRef.value;\n if (!element) return;\n\n const [p0, p1, p2, e0, e1] = splittedProps.value[0];\n\n Object.assign(element, { aspectRatio: p0, height: p1, width: p2 });\n\n handlers.length = 0;\n handlers.push(e0);\n handlers.push(e1);\n });\n\n watchEffect(() => {\n const element = elementRef.value;\n if (!element) return;\n\n const ac = new AbortController();\n for (const [index, eventName] of ['resizeEnd', 'resizeStart'].entries()) {\n element.addEventListener(\n eventName,\n (event: Event) => {\n handlers[index]?.(event);\n },\n { signal: ac.signal },\n );\n }\n return () => ac.abort();\n });\n\n return () => {\n const restProps = splittedProps.value[1];\n return h('prosekit-resizable-root', { ...restProps, ref: elementRef }, slots.default?.());\n };\n },\n { props: ['aspectRatio', 'height', 'width', 'onResizeEnd', 'onResizeStart'] },\n);\n\nexport type { ResizableRootEvents };\n","/**\n * This file is auto-generated by the \"@aria-ui/cli\" tool. Do not edit this file directly.\n */\n\nimport { registerResizableHandleElement, type ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';\nimport { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';\n\n/**\n * Props for the {@link ResizableHandle} Vue component.\n *\n * @public\n */\nexport interface ResizableHandleProps {\n /**\n * The position of the handle.\n *\n * @default \"bottom-right\"\n */\n position?: ResizableHandleElementProps['position'];\n}\n\n/**\n * A Vue component that renders an `prosekit-resizable-handle` custom element.\n *\n * @public\n */\nexport const ResizableHandle: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<ResizableHandleProps & HTMLAttributes>(\n (props, { slots }) => {\n registerResizableHandleElement();\n\n const elementRef = shallowRef<HTMLElement | null>(null);\n\n const splittedProps = computed(() => {\n const { position: p0, ...restProps } = props;\n return [[p0], restProps] as const;\n });\n\n watchEffect(() => {\n const element = elementRef.value;\n if (!element) return;\n\n const [p0] = splittedProps.value[0];\n\n Object.assign(element, { position: p0 });\n });\n\n return () => {\n const restProps = splittedProps.value[1];\n return h('prosekit-resizable-handle', { ...restProps, ref: elementRef }, slots.default?.());\n };\n },\n { props: ['position'] },\n);\n"],"mappings":";;;;;;;;;;;AA0CA,MAAa,gBAA6F,iCACvG,OAAO,EAAE,YAAY;AACpB,+BAA8B;CAE9B,MAAM,aAAa,WAA+B,KAAK;CAEvD,MAAM,gBAAgB,eAAe;EACnC,MAAM,EAAE,aAAa,IAAI,QAAQ,IAAI,OAAO,IAAI,aAAa,IAAI,eAAe,IAAI,GAAG,cAAc;AACrG,SAAO,CAAC;G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YAAY,cAAc,MAAM;AACtC,SAAO,EAAE,6BAA6B;GAAE,GAAG;GAAW,KAAK;GAAY,EAAE,MAAM,WAAW,CAAC;;GAG/F,EAAE,OAAO,CAAC,WAAW,EAAE,CACxB"}
1
+ {"version":3,"file":"prosekit-vue-resizable.js","names":[],"sources":["../src/components/resizable/resizable-root.gen.ts","../src/components/resizable/resizable-handle.gen.ts"],"sourcesContent":["// This file is auto-generated by \"@aria-ui/cli\". Do not edit this file directly.\n\nimport { registerResizableRootElement, type ResizableRootEvents, type ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';\nimport { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';\n\n/** Props for the {@link ResizableRoot} Vue component. */\nexport interface ResizableRootProps {\n /**\n * The width of the resizable element.\n *\n * @default null\n */\n width?: ResizableRootElementProps['width'];\n /**\n * The height of the resizable element.\n *\n * @default null\n */\n height?: ResizableRootElementProps['height'];\n /**\n * The aspect ratio of the resizable element.\n *\n * @default null\n */\n aspectRatio?: ResizableRootElementProps['aspectRatio'];\n /** Emitted when a resize operation starts. */\n onResizeStart?: (event: ResizableRootEvents['resizeStart']) => void;\n /** Emitted when a resize operation ends. */\n onResizeEnd?: (event: ResizableRootEvents['resizeEnd']) => void;\n}\n\n/** A Vue component that renders an `prosekit-resizable-root` custom element. */\nexport const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<ResizableRootProps & HTMLAttributes>(\n (props, { slots }) => {\n registerResizableRootElement();\n\n const elementRef = shallowRef<HTMLElement | null>(null);\n\n const splittedProps = computed(() => {\n const { aspectRatio: p0, height: p1, width: p2, onResizeEnd: e0, onResizeStart: e1, ...restProps } = props;\n return [[p0, p1, p2, e0, e1], restProps] as const;\n });\n\n const handlers: Array<((event: any) => void) | undefined> = [];\n\n watchEffect(() => {\n const element = elementRef.value;\n if (!element) return;\n\n const [p0, p1, p2, e0, e1] = splittedProps.value[0];\n\n Object.assign(element, { aspectRatio: p0, height: p1, width: p2 });\n\n handlers.length = 0;\n handlers.push(e0);\n handlers.push(e1);\n });\n\n watchEffect(() => {\n const element = elementRef.value;\n if (!element) return;\n\n const ac = new AbortController();\n for (const [index, eventName] of ['resizeEnd', 'resizeStart'].entries()) {\n element.addEventListener(\n eventName,\n (event: Event) => {\n handlers[index]?.(event);\n },\n { signal: ac.signal },\n );\n }\n return () => ac.abort();\n });\n\n return () => {\n const restProps = splittedProps.value[1];\n return h('prosekit-resizable-root', { ...restProps, ref: elementRef }, slots.default?.());\n };\n },\n { props: ['aspectRatio', 'height', 'width', 'onResizeEnd', 'onResizeStart'] },\n);\n","// This file is auto-generated by \"@aria-ui/cli\". Do not edit this file directly.\n\nimport { registerResizableHandleElement, type ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';\nimport { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';\n\n/** Props for the {@link ResizableHandle} Vue component. */\nexport interface ResizableHandleProps {\n /**\n * The position of the handle.\n *\n * @default \"bottom-right\"\n */\n position?: ResizableHandleElementProps['position'];\n}\n\n/** A Vue component that renders an `prosekit-resizable-handle` custom element. */\nexport const ResizableHandle: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<ResizableHandleProps & HTMLAttributes>(\n (props, { slots }) => {\n registerResizableHandleElement();\n\n const elementRef = shallowRef<HTMLElement | null>(null);\n\n const splittedProps = computed(() => {\n const { position: p0, ...restProps } = props;\n return [[p0], restProps] as const;\n });\n\n watchEffect(() => {\n const element = elementRef.value;\n if (!element) return;\n\n const [p0] = splittedProps.value[0];\n\n Object.assign(element, { position: p0 });\n });\n\n return () => {\n const restProps = splittedProps.value[1];\n return h('prosekit-resizable-handle', { ...restProps, ref: elementRef }, slots.default?.());\n };\n },\n { props: ['position'] },\n);\n"],"mappings":";;;AAgCA,MAAa,gBAA6F,iCACvG,OAAO,EAA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ACxB;AAEF,mBAAkB;EAChB,MAAM,UAAU,WAAW;AAC3B,MAAI,CAAC,QAAS;EAEd,MAAM,CAAC,MAAM,cAAc,MAAM;AAEjC,SAAO,OAAO,SAAS,EAAE,UAAU,IAAI,CAAC;GACxC;AAEF,cAAa;EACX,MAAM,YAAY,cAAc,MAAM;AACtC,SAAO,EAAE,6BAA6B;GAAE,GAAG;GAAW,KAAK;GAAY,EAAE,MAAM,WAAW,CAAC;;GAG/F,EAAE,OAAO,CAAC,WAAW,EAAE,CACxB"}
@@ -1,26 +1,10 @@
1
1
  import { DefineSetupFnComponent, HTMLAttributes } from "vue";
2
2
  import { TableHandleColumnMenuRootProps as TableHandleColumnMenuRootProps$1, TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerProps$1, TableHandleColumnPositionerProps as TableHandleColumnPositionerProps$1, TableHandleDragPreviewProps as TableHandleDragPreviewProps$1, TableHandleDropIndicatorProps as TableHandleDropIndicatorProps$1, TableHandleRootProps as TableHandleRootProps$1, TableHandleRowMenuRootProps as TableHandleRowMenuRootProps$1, TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerProps$1, TableHandleRowPositionerProps as TableHandleRowPositionerProps$1 } from "@prosekit/web/table-handle";
3
-
4
- //#region src/components/table-handle/table-handle-column-popup.gen.d.ts
5
- /**
6
- * Props for the {@link TableHandleColumnPopup} Vue component.
7
- *
8
- * @public
9
- */
3
+ /** Props for the {@link TableHandleColumnPopup} Vue component. */
10
4
  interface TableHandleColumnPopupProps {}
11
- /**
12
- * A Vue component that renders an `prosekit-table-handle-column-popup` custom element.
13
- *
14
- * @public
15
- */
5
+ /** A Vue component that renders an `prosekit-table-handle-column-popup` custom element. */
16
6
  declare const TableHandleColumnPopup: DefineSetupFnComponent<TableHandleColumnPopupProps & HTMLAttributes>;
17
- //#endregion
18
- //#region src/components/table-handle/table-handle-column-positioner.gen.d.ts
19
- /**
20
- * Props for the {@link TableHandleColumnPositioner} Vue component.
21
- *
22
- * @public
23
- */
7
+ /** Props for the {@link TableHandleColumnPositioner} Vue component. */
24
8
  interface TableHandleColumnPositionerProps {
25
9
  /**
26
10
  * The placement of the popover, relative to the hovered table cell.
@@ -149,19 +133,9 @@ interface TableHandleColumnPositionerProps {
149
133
  */
150
134
  editor?: TableHandleColumnPositionerProps$1['editor'];
151
135
  }
152
- /**
153
- * A Vue component that renders an `prosekit-table-handle-column-positioner` custom element.
154
- *
155
- * @public
156
- */
136
+ /** A Vue component that renders an `prosekit-table-handle-column-positioner` custom element. */
157
137
  declare const TableHandleColumnPositioner: DefineSetupFnComponent<TableHandleColumnPositionerProps & HTMLAttributes>;
158
- //#endregion
159
- //#region src/components/table-handle/table-handle-column-menu-root.gen.d.ts
160
- /**
161
- * Props for the {@link TableHandleColumnMenuRoot} Vue component.
162
- *
163
- * @public
164
- */
138
+ /** Props for the {@link TableHandleColumnMenuRoot} Vue component. */
165
139
  interface TableHandleColumnMenuRootProps {
166
140
  /**
167
141
  * Whether the overlay is initially open.
@@ -179,19 +153,9 @@ interface TableHandleColumnMenuRootProps {
179
153
  */
180
154
  disabled?: TableHandleColumnMenuRootProps$1['disabled'];
181
155
  }
182
- /**
183
- * A Vue component that renders an `prosekit-table-handle-column-menu-root` custom element.
184
- *
185
- * @public
186
- */
156
+ /** A Vue component that renders an `prosekit-table-handle-column-menu-root` custom element. */
187
157
  declare const TableHandleColumnMenuRoot: DefineSetupFnComponent<TableHandleColumnMenuRootProps & HTMLAttributes>;
188
- //#endregion
189
- //#region src/components/table-handle/table-handle-column-menu-trigger.gen.d.ts
190
- /**
191
- * Props for the {@link TableHandleColumnMenuTrigger} Vue component.
192
- *
193
- * @public
194
- */
158
+ /** Props for the {@link TableHandleColumnMenuTrigger} Vue component. */
195
159
  interface TableHandleColumnMenuTriggerProps {
196
160
  /**
197
161
  * @default null
@@ -199,19 +163,9 @@ interface TableHandleColumnMenuTriggerProps {
199
163
  */
200
164
  editor?: TableHandleColumnMenuTriggerProps$1['editor'];
201
165
  }
202
- /**
203
- * A Vue component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
204
- *
205
- * @public
206
- */
166
+ /** A Vue component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
207
167
  declare const TableHandleColumnMenuTrigger: DefineSetupFnComponent<TableHandleColumnMenuTriggerProps & HTMLAttributes>;
208
- //#endregion
209
- //#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
210
- /**
211
- * Props for the {@link TableHandleDragPreview} Vue component.
212
- *
213
- * @public
214
- */
168
+ /** Props for the {@link TableHandleDragPreview} Vue component. */
215
169
  interface TableHandleDragPreviewProps {
216
170
  /**
217
171
  * @default null
@@ -219,19 +173,9 @@ interface TableHandleDragPreviewProps {
219
173
  */
220
174
  editor?: TableHandleDragPreviewProps$1['editor'];
221
175
  }
222
- /**
223
- * A Vue component that renders an `prosekit-table-handle-drag-preview` custom element.
224
- *
225
- * @public
226
- */
176
+ /** A Vue component that renders an `prosekit-table-handle-drag-preview` custom element. */
227
177
  declare const TableHandleDragPreview: DefineSetupFnComponent<TableHandleDragPreviewProps & HTMLAttributes>;
228
- //#endregion
229
- //#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
230
- /**
231
- * Props for the {@link TableHandleDropIndicator} Vue component.
232
- *
233
- * @public
234
- */
178
+ /** Props for the {@link TableHandleDropIndicator} Vue component. */
235
179
  interface TableHandleDropIndicatorProps {
236
180
  /**
237
181
  * @default null
@@ -239,19 +183,9 @@ interface TableHandleDropIndicatorProps {
239
183
  */
240
184
  editor?: TableHandleDropIndicatorProps$1['editor'];
241
185
  }
242
- /**
243
- * A Vue component that renders an `prosekit-table-handle-drop-indicator` custom element.
244
- *
245
- * @public
246
- */
186
+ /** A Vue component that renders an `prosekit-table-handle-drop-indicator` custom element. */
247
187
  declare const TableHandleDropIndicator: DefineSetupFnComponent<TableHandleDropIndicatorProps & HTMLAttributes>;
248
- //#endregion
249
- //#region src/components/table-handle/table-handle-root.gen.d.ts
250
- /**
251
- * Props for the {@link TableHandleRoot} Vue component.
252
- *
253
- * @public
254
- */
188
+ /** Props for the {@link TableHandleRoot} Vue component. */
255
189
  interface TableHandleRootProps {
256
190
  /**
257
191
  * The ProseKit editor instance.
@@ -261,33 +195,13 @@ interface TableHandleRootProps {
261
195
  */
262
196
  editor?: TableHandleRootProps$1['editor'];
263
197
  }
264
- /**
265
- * A Vue component that renders an `prosekit-table-handle-root` custom element.
266
- *
267
- * @public
268
- */
198
+ /** A Vue component that renders an `prosekit-table-handle-root` custom element. */
269
199
  declare const TableHandleRoot: DefineSetupFnComponent<TableHandleRootProps & HTMLAttributes>;
270
- //#endregion
271
- //#region src/components/table-handle/table-handle-row-popup.gen.d.ts
272
- /**
273
- * Props for the {@link TableHandleRowPopup} Vue component.
274
- *
275
- * @public
276
- */
200
+ /** Props for the {@link TableHandleRowPopup} Vue component. */
277
201
  interface TableHandleRowPopupProps {}
278
- /**
279
- * A Vue component that renders an `prosekit-table-handle-row-popup` custom element.
280
- *
281
- * @public
282
- */
202
+ /** A Vue component that renders an `prosekit-table-handle-row-popup` custom element. */
283
203
  declare const TableHandleRowPopup: DefineSetupFnComponent<TableHandleRowPopupProps & HTMLAttributes>;
284
- //#endregion
285
- //#region src/components/table-handle/table-handle-row-positioner.gen.d.ts
286
- /**
287
- * Props for the {@link TableHandleRowPositioner} Vue component.
288
- *
289
- * @public
290
- */
204
+ /** Props for the {@link TableHandleRowPositioner} Vue component. */
291
205
  interface TableHandleRowPositionerProps {
292
206
  /**
293
207
  * The placement of the popover, relative to the hovered table cell.
@@ -416,19 +330,9 @@ interface TableHandleRowPositionerProps {
416
330
  */
417
331
  editor?: TableHandleRowPositionerProps$1['editor'];
418
332
  }
419
- /**
420
- * A Vue component that renders an `prosekit-table-handle-row-positioner` custom element.
421
- *
422
- * @public
423
- */
333
+ /** A Vue component that renders an `prosekit-table-handle-row-positioner` custom element. */
424
334
  declare const TableHandleRowPositioner: DefineSetupFnComponent<TableHandleRowPositionerProps & HTMLAttributes>;
425
- //#endregion
426
- //#region src/components/table-handle/table-handle-row-menu-root.gen.d.ts
427
- /**
428
- * Props for the {@link TableHandleRowMenuRoot} Vue component.
429
- *
430
- * @public
431
- */
335
+ /** Props for the {@link TableHandleRowMenuRoot} Vue component. */
432
336
  interface TableHandleRowMenuRootProps {
433
337
  /**
434
338
  * Whether the overlay is initially open.
@@ -446,19 +350,9 @@ interface TableHandleRowMenuRootProps {
446
350
  */
447
351
  disabled?: TableHandleRowMenuRootProps$1['disabled'];
448
352
  }
449
- /**
450
- * A Vue component that renders an `prosekit-table-handle-row-menu-root` custom element.
451
- *
452
- * @public
453
- */
353
+ /** A Vue component that renders an `prosekit-table-handle-row-menu-root` custom element. */
454
354
  declare const TableHandleRowMenuRoot: DefineSetupFnComponent<TableHandleRowMenuRootProps & HTMLAttributes>;
455
- //#endregion
456
- //#region src/components/table-handle/table-handle-row-menu-trigger.gen.d.ts
457
- /**
458
- * Props for the {@link TableHandleRowMenuTrigger} Vue component.
459
- *
460
- * @public
461
- */
355
+ /** Props for the {@link TableHandleRowMenuTrigger} Vue component. */
462
356
  interface TableHandleRowMenuTriggerProps {
463
357
  /**
464
358
  * @default null
@@ -466,12 +360,7 @@ interface TableHandleRowMenuTriggerProps {
466
360
  */
467
361
  editor?: TableHandleRowMenuTriggerProps$1['editor'];
468
362
  }
469
- /**
470
- * A Vue component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
471
- *
472
- * @public
473
- */
363
+ /** A Vue component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
474
364
  declare const TableHandleRowMenuTrigger: DefineSetupFnComponent<TableHandleRowMenuTriggerProps & HTMLAttributes>;
475
- //#endregion
476
365
  export { TableHandleColumnMenuRoot, type TableHandleColumnMenuRootProps, TableHandleColumnMenuTrigger, type TableHandleColumnMenuTriggerProps, TableHandleColumnPopup, type TableHandleColumnPopupProps, TableHandleColumnPositioner, type TableHandleColumnPositionerProps, TableHandleDragPreview, type TableHandleDragPreviewProps, TableHandleDropIndicator, type TableHandleDropIndicatorProps, TableHandleRoot, type TableHandleRootProps, TableHandleRowMenuRoot, type TableHandleRowMenuRootProps, TableHandleRowMenuTrigger, type TableHandleRowMenuTriggerProps, TableHandleRowPopup, type TableHandleRowPopupProps, TableHandleRowPositioner, type TableHandleRowPositionerProps };
477
366
  //# sourceMappingURL=prosekit-vue-table-handle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prosekit-vue-table-handle.d.ts","names":[],"sources":["../src/components/table-handle/table-handle-column-popup.gen.ts","../src/components/table-handle/table-handle-column-positioner.gen.ts","../src/components/table-handle/table-handle-column-menu-root.gen.ts","../src/components/table-handle/table-handle-column-menu-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-popup.gen.ts","../src/components/table-handle/table-handle-row-positioner.gen.ts","../src/components/table-handle/table-handle-row-menu-root.gen.ts","../src/components/table-handle/table-handle-row-menu-trigger.gen.ts"],"mappings":";;;;AAYA;;;;;AAAA,UAAiB,2BAAA;;;;;;cAOJ,sBAAA,EAAwB,sBAAA,CAAuB,2BAAA,GAA8B,cAAA;;;;;;;AAA1F;UCLiB,gCAAA;;;;;;EAMf,SAAA,GAAY,kCAAA;EDDuB;;;;;ECOnC,QAAA,GAAW,kCAAA;;;AAZb;;;;;EAoBE,UAAA,GAAa,kCAAA;EAOL;;;;;;EAAR,KAAA,GAAQ,kCAAA;EA2CK;;;;EAtCb,MAAA,GAAS,kCAAA;EAuES;;;;EAlElB,IAAA,GAAO,kCAAA;EAyFyC;;;;EApFhD,KAAA,GAAQ,kCAAA;EAtBR;;;;;;EA6BA,OAAA,GAAU,kCAAA;EAZH;;;;;;EAmBP,WAAA,GAAc,kCAAA;EAOd;;;;;;EAAA,SAAA,GAAY,kCAAA;EAmBL;;;;;;EAZP,UAAA,GAAa,kCAAA;EAyCb;;;;;;EAlCA,MAAA,GAAS,kCAAA;EAiDu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;;;;;EQOnC,QAAA,GAAW,+BAAA;;;APZb;;;;;EOoBE,UAAA,GAAa,+BAAA;EPOL;;;;;;EOAR,KAAA,GAAQ,+BAAA;EP2CK;;;;EOtCb,MAAA,GAAS,+BAAA;EPuES;;;;EOlElB,IAAA,GAAO,+BAAA;EPyFyC;;;;EOpFhD,KAAA,GAAQ,+BAAA;EPtBR;;;;;;EO6BA,OAAA,GAAU,+BAAA;EPZH;;;;;;EOmBP,WAAA,GAAc,+BAAA;EPOd;;;;;;EOAA,SAAA,GAAY,+BAAA;EPmBL;;;;;;EOZP,UAAA,GAAa,+BAAA;EPyCb;;;;;;EOlCA,MAAA,GAAS,+BAAA;EPiDuC;AAQlD;;;EOpDE,IAAA,GAAO,+BAAA;EPoD2F;;;;;;EO7ClG,QAAA,GAAW,+BAAA;EP6CqG;;;;;ACxIlH;EMkGE,YAAA,GAAe,+BAAA;;;;;;;EAOf,eAAA,GAAkB,+BAAA;ENpGJ;;;;;;;EM4Gd,cAAA,GAAiB,+BAAA;ENhElB;;;;;;;EMwEC,WAAA,GAAc,+BAAA;ENlG+C;;;;;;EMyG7D,MAAA,GAAS,+BAAA;AAAA;;;;;ALjHX;cKyHa,wBAAA,EAA0B,sBAAA,CAAuB,6BAAA,GAAgC,cAAA;;;;;;;ARjI9F;USPiB,2BAAA;;;;;EAKf,WAAA,GAAc,6BAAA;ETE2C;;;;ESGzD,IAAA,GAAO,6BAAA;ETH+F;;;;ESQtG,QAAA,GAAW,6BAAA;AAAA;;;;;;cAQA,sBAAA,EAAwB,sBAAA,CAAuB,2BAAA,GAA8B,cAAA;;;;;;;AThB1F;UULiB,8BAAA;;;;;EAKf,MAAA,GAAS,gCAAA;AAAA;;;;;;cAQE,yBAAA,EAA2B,sBAAA,CAAuB,8BAAA,GAAiC,cAAA"}
1
+ {"version":3,"file":"prosekit-vue-table-handle.d.ts","names":[],"sources":["../src/components/table-handle/table-handle-column-popup.gen.ts","../src/components/table-handle/table-handle-column-positioner.gen.ts","../src/components/table-handle/table-handle-column-menu-root.gen.ts","../src/components/table-handle/table-handle-column-menu-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-popup.gen.ts","../src/components/table-handle/table-handle-row-positioner.gen.ts","../src/components/table-handle/table-handle-row-menu-root.gen.ts","../src/components/table-handle/table-handle-row-menu-trigger.gen.ts"],"mappings":";;;UAMiB,2BAAA;;cAGJ,sBAAA,EAAwB,sBAAA,CAAuB,2BAAA,GAA8B,cAAA;;UCDzE,gCAAA;EDF2B;;;;AAG5C;ECKE,SAAA,GAAY,kCAAA;;;;;;EAMZ,QAAA,GAAW,kCAAA;EDXwB;;;;;;ACDrC;EAoBE,UAAA,GAAa,kCAAA;;;;;;;EAOb,KAAA,GAAQ,kCAAA;EAeA;;;;EAVR,MAAA,GAAS,kCAAA;EA6CA;;;;EAxCT,IAAA,GAAO,kCAAA;EA0EU;;;;EArEjB,KAAA,GAAQ,kCAAA;EApCR;;;;;;EA2CA,OAAA,GAAU,kCAAA;EAtBF;;;;;;EA6BR,WAAA,GAAc,kCAAA;EAPd;;;;;;EAcA,SAAA,GAAY,kCAAA;EAOC;;;;;;EAAb,UAAA,GAAa,kCAAA;EA0Bb;;;;;;EAnBA,MAAA,GAAS,kCAAA;EA0CK;;;;EArCd,IAAA,GAAO,kCAAA;EAgDI;;;;;;EAzCX,QAAA,GAAW,kCAAA;EAyCmD;;;;;;EAlC9D,YAAA,GAAe,kCAAA;EClGA;;;;;;EDyGf,eAAA,GAAkB,kCAAA;EC1F8B;;;;;;;EDkGhD,cAAA,GAAiB,kCAAA;EClG+B;AAIlD;;;;;;EDsGE,WAAA,GAAc,kCAAA;ECtG8C;;;;;;ED6G5D,MAAA,GAAS,kCAAA;AAAA;;cAIE,2BAAA,EAA6B,sBAAA,CAAuB,gCAAA,GAAmC,cAAA;;UCpInF,8BAAA;EFA2B;;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;;EOzCX,QAAA,GAAW,+BAAA;EPyCmD;;;;;;EOlC9D,YAAA,GAAe,+BAAA;ENlGA;;;;;;EMyGf,eAAA,GAAkB,+BAAA;EN1F8B;;;;;;;EMkGhD,cAAA,GAAiB,+BAAA;ENlG+B;AAIlD;;;;;;EMsGE,WAAA,GAAc,+BAAA;ENtG8C;;;;;;EM6G5D,MAAA,GAAS,+BAAA;AAAA;;cAIE,wBAAA,EAA0B,sBAAA,CAAuB,6BAAA,GAAgC,cAAA;;UCpI7E,2BAAA;ETA2B;;;;ESK1C,WAAA,GAAc,6BAAA;ETOf;;;;ESFC,IAAA,GAAO,6BAAA;ETPkD;;;;ESYzD,QAAA,GAAW,6BAAA;AAAA;;cAIA,sBAAA,EAAwB,sBAAA,CAAuB,2BAAA,GAA8B,cAAA;;UCjBzE,8BAAA;EVF2B;;;;EUO1C,MAAA,GAAS,gCAAA;AAAA;;cAIE,yBAAA,EAA2B,sBAAA,CAAuB,8BAAA,GAAiC,cAAA"}
@@ -1,31 +1,14 @@
1
1
  import { n as useEditorContext } from "./editor-context.js";
2
2
  import { computed, defineComponent, h, shallowRef, watchEffect } from "vue";
3
3
  import { registerTableHandleColumnMenuRootElement, registerTableHandleColumnMenuTriggerElement, registerTableHandleColumnPopupElement, registerTableHandleColumnPositionerElement, registerTableHandleDragPreviewElement, registerTableHandleDropIndicatorElement, registerTableHandleRootElement, registerTableHandleRowMenuRootElement, registerTableHandleRowMenuTriggerElement, registerTableHandleRowPopupElement, registerTableHandleRowPositionerElement } from "@prosekit/web/table-handle";
4
- //#region src/components/table-handle/table-handle-column-popup.gen.ts
5
- /**
6
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
7
- */
8
- /**
9
- * A Vue component that renders an `prosekit-table-handle-column-popup` custom element.
10
- *
11
- * @public
12
- */
4
+ /** A Vue component that renders an `prosekit-table-handle-column-popup` custom element. */
13
5
  const TableHandleColumnPopup = /* @__PURE__ */ defineComponent((props, { slots }) => {
14
6
  registerTableHandleColumnPopupElement();
15
7
  return () => {
16
8
  return h("prosekit-table-handle-column-popup", props, slots.default?.());
17
9
  };
18
10
  }, { props: [] });
19
- //#endregion
20
- //#region src/components/table-handle/table-handle-column-positioner.gen.ts
21
- /**
22
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
23
- */
24
- /**
25
- * A Vue component that renders an `prosekit-table-handle-column-positioner` custom element.
26
- *
27
- * @public
28
- */
11
+ /** A Vue component that renders an `prosekit-table-handle-column-positioner` custom element. */
29
12
  const TableHandleColumnPositioner = /* @__PURE__ */ defineComponent((props, { slots }) => {
30
13
  registerTableHandleColumnPositionerElement();
31
14
  const elementRef = shallowRef(null);
@@ -108,16 +91,7 @@ const TableHandleColumnPositioner = /* @__PURE__ */ defineComponent((props, { sl
108
91
  "shift",
109
92
  "strategy"
110
93
  ] });
111
- //#endregion
112
- //#region src/components/table-handle/table-handle-column-menu-root.gen.ts
113
- /**
114
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
115
- */
116
- /**
117
- * A Vue component that renders an `prosekit-table-handle-column-menu-root` custom element.
118
- *
119
- * @public
120
- */
94
+ /** A Vue component that renders an `prosekit-table-handle-column-menu-root` custom element. */
121
95
  const TableHandleColumnMenuRoot = /* @__PURE__ */ defineComponent((props, { slots }) => {
122
96
  registerTableHandleColumnMenuRootElement();
123
97
  const elementRef = shallowRef(null);
@@ -151,16 +125,7 @@ const TableHandleColumnMenuRoot = /* @__PURE__ */ defineComponent((props, { slot
151
125
  "disabled",
152
126
  "open"
153
127
  ] });
154
- //#endregion
155
- //#region src/components/table-handle/table-handle-column-menu-trigger.gen.ts
156
- /**
157
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
158
- */
159
- /**
160
- * A Vue component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
161
- *
162
- * @public
163
- */
128
+ /** A Vue component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
164
129
  const TableHandleColumnMenuTrigger = /* @__PURE__ */ defineComponent((props, { slots }) => {
165
130
  registerTableHandleColumnMenuTriggerElement();
166
131
  const elementRef = shallowRef(null);
@@ -183,16 +148,7 @@ const TableHandleColumnMenuTrigger = /* @__PURE__ */ defineComponent((props, { s
183
148
  }, slots.default?.());
184
149
  };
185
150
  }, { props: ["editor"] });
186
- //#endregion
187
- //#region src/components/table-handle/table-handle-drag-preview.gen.ts
188
- /**
189
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
190
- */
191
- /**
192
- * A Vue component that renders an `prosekit-table-handle-drag-preview` custom element.
193
- *
194
- * @public
195
- */
151
+ /** A Vue component that renders an `prosekit-table-handle-drag-preview` custom element. */
196
152
  const TableHandleDragPreview = /* @__PURE__ */ defineComponent((props, { slots }) => {
197
153
  registerTableHandleDragPreviewElement();
198
154
  const elementRef = shallowRef(null);
@@ -215,16 +171,7 @@ const TableHandleDragPreview = /* @__PURE__ */ defineComponent((props, { slots }
215
171
  }, slots.default?.());
216
172
  };
217
173
  }, { props: ["editor"] });
218
- //#endregion
219
- //#region src/components/table-handle/table-handle-drop-indicator.gen.ts
220
- /**
221
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
222
- */
223
- /**
224
- * A Vue component that renders an `prosekit-table-handle-drop-indicator` custom element.
225
- *
226
- * @public
227
- */
174
+ /** A Vue component that renders an `prosekit-table-handle-drop-indicator` custom element. */
228
175
  const TableHandleDropIndicator = /* @__PURE__ */ defineComponent((props, { slots }) => {
229
176
  registerTableHandleDropIndicatorElement();
230
177
  const elementRef = shallowRef(null);
@@ -247,16 +194,7 @@ const TableHandleDropIndicator = /* @__PURE__ */ defineComponent((props, { slots
247
194
  }, slots.default?.());
248
195
  };
249
196
  }, { props: ["editor"] });
250
- //#endregion
251
- //#region src/components/table-handle/table-handle-root.gen.ts
252
- /**
253
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
254
- */
255
- /**
256
- * A Vue component that renders an `prosekit-table-handle-root` custom element.
257
- *
258
- * @public
259
- */
197
+ /** A Vue component that renders an `prosekit-table-handle-root` custom element. */
260
198
  const TableHandleRoot = /* @__PURE__ */ defineComponent((props, { slots }) => {
261
199
  registerTableHandleRootElement();
262
200
  const elementRef = shallowRef(null);
@@ -279,32 +217,14 @@ const TableHandleRoot = /* @__PURE__ */ defineComponent((props, { slots }) => {
279
217
  }, slots.default?.());
280
218
  };
281
219
  }, { props: ["editor"] });
282
- //#endregion
283
- //#region src/components/table-handle/table-handle-row-popup.gen.ts
284
- /**
285
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
286
- */
287
- /**
288
- * A Vue component that renders an `prosekit-table-handle-row-popup` custom element.
289
- *
290
- * @public
291
- */
220
+ /** A Vue component that renders an `prosekit-table-handle-row-popup` custom element. */
292
221
  const TableHandleRowPopup = /* @__PURE__ */ defineComponent((props, { slots }) => {
293
222
  registerTableHandleRowPopupElement();
294
223
  return () => {
295
224
  return h("prosekit-table-handle-row-popup", props, slots.default?.());
296
225
  };
297
226
  }, { props: [] });
298
- //#endregion
299
- //#region src/components/table-handle/table-handle-row-positioner.gen.ts
300
- /**
301
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
302
- */
303
- /**
304
- * A Vue component that renders an `prosekit-table-handle-row-positioner` custom element.
305
- *
306
- * @public
307
- */
227
+ /** A Vue component that renders an `prosekit-table-handle-row-positioner` custom element. */
308
228
  const TableHandleRowPositioner = /* @__PURE__ */ defineComponent((props, { slots }) => {
309
229
  registerTableHandleRowPositionerElement();
310
230
  const elementRef = shallowRef(null);
@@ -387,16 +307,7 @@ const TableHandleRowPositioner = /* @__PURE__ */ defineComponent((props, { slots
387
307
  "shift",
388
308
  "strategy"
389
309
  ] });
390
- //#endregion
391
- //#region src/components/table-handle/table-handle-row-menu-root.gen.ts
392
- /**
393
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
394
- */
395
- /**
396
- * A Vue component that renders an `prosekit-table-handle-row-menu-root` custom element.
397
- *
398
- * @public
399
- */
310
+ /** A Vue component that renders an `prosekit-table-handle-row-menu-root` custom element. */
400
311
  const TableHandleRowMenuRoot = /* @__PURE__ */ defineComponent((props, { slots }) => {
401
312
  registerTableHandleRowMenuRootElement();
402
313
  const elementRef = shallowRef(null);
@@ -430,16 +341,7 @@ const TableHandleRowMenuRoot = /* @__PURE__ */ defineComponent((props, { slots }
430
341
  "disabled",
431
342
  "open"
432
343
  ] });
433
- //#endregion
434
- //#region src/components/table-handle/table-handle-row-menu-trigger.gen.ts
435
- /**
436
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
437
- */
438
- /**
439
- * A Vue component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
440
- *
441
- * @public
442
- */
344
+ /** A Vue component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
443
345
  const TableHandleRowMenuTrigger = /* @__PURE__ */ defineComponent((props, { slots }) => {
444
346
  registerTableHandleRowMenuTriggerElement();
445
347
  const elementRef = shallowRef(null);
@@ -462,7 +364,6 @@ const TableHandleRowMenuTrigger = /* @__PURE__ */ defineComponent((props, { slot
462
364
  }, slots.default?.());
463
365
  };
464
366
  }, { props: ["editor"] });
465
- //#endregion
466
367
  export { TableHandleColumnMenuRoot, TableHandleColumnMenuTrigger, TableHandleColumnPopup, TableHandleColumnPositioner, TableHandleDragPreview, TableHandleDropIndicator, TableHandleRoot, TableHandleRowMenuRoot, TableHandleRowMenuTrigger, TableHandleRowPopup, TableHandleRowPositioner };
467
368
 
468
369
  //# sourceMappingURL=prosekit-vue-table-handle.js.map