@lyads/visual-editor 0.0.0-stage → 1.0.1

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 (258) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +8 -0
  4. package/README.md +135 -2
  5. package/THIRD_PARTY_NOTICES.md +21259 -0
  6. package/dist/application/block-placement.d.ts +30 -0
  7. package/dist/application/block-session.d.ts +135 -0
  8. package/dist/application/content-service.d.ts +73 -0
  9. package/dist/application/document-commands.d.ts +51 -0
  10. package/dist/application/document-metadata.d.ts +30 -0
  11. package/dist/application/document-presentation.d.ts +35 -0
  12. package/dist/application/email-insertion.d.ts +76 -0
  13. package/dist/application/host.d.ts +36 -0
  14. package/dist/application/image-link.d.ts +36 -0
  15. package/dist/application/section-layout.d.ts +25 -0
  16. package/dist/application/session.d.ts +128 -0
  17. package/dist/assets/browser-worker-D56tNvnb.js +1014 -0
  18. package/dist/assets/browser-worker-D56tNvnb.js.map +1 -0
  19. package/dist/block-controller-RjYGvOcn.js +2468 -0
  20. package/dist/block-controller-RjYGvOcn.js.map +1 -0
  21. package/dist/block-factory-C5oHi4Fm.js +5397 -0
  22. package/dist/block-factory-C5oHi4Fm.js.map +1 -0
  23. package/dist/blocks/block-checks.d.ts +34 -0
  24. package/dist/blocks/block-inspector.d.ts +55 -0
  25. package/dist/blocks/block-output.d.ts +28 -0
  26. package/dist/blocks/block-type.d.ts +124 -0
  27. package/dist/blocks/content-guard.d.ts +52 -0
  28. package/dist/blocks/conversion.d.ts +22 -0
  29. package/dist/blocks/definitions.d.ts +43 -0
  30. package/dist/blocks/device-styles.d.ts +31 -0
  31. package/dist/blocks/email-generator.d.ts +22 -0
  32. package/dist/blocks/email-preview.d.ts +23 -0
  33. package/dist/blocks/email-renderer.d.ts +20 -0
  34. package/dist/blocks/fields.d.ts +34 -0
  35. package/dist/blocks/page-generator.d.ts +16 -0
  36. package/dist/blocks/render-context.d.ts +58 -0
  37. package/dist/blocks/styles.d.ts +54 -0
  38. package/dist/blocks/types/embed.d.ts +40 -0
  39. package/dist/blocks/types/layout.d.ts +41 -0
  40. package/dist/blocks/types/media.d.ts +53 -0
  41. package/dist/blocks/types/structure.d.ts +44 -0
  42. package/dist/blocks/types/text.d.ts +88 -0
  43. package/dist/blocks/values.d.ts +64 -0
  44. package/dist/browser.js +69 -0
  45. package/dist/browser.js.map +1 -0
  46. package/dist/canvas-runtime/action-bar.d.ts +19 -0
  47. package/dist/canvas-runtime/auto-scroll.d.ts +10 -0
  48. package/dist/canvas-runtime/block-drag.d.ts +29 -0
  49. package/dist/canvas-runtime/bridge.d.ts +6 -0
  50. package/dist/canvas-runtime/context.d.ts +53 -0
  51. package/dist/canvas-runtime/document-sync.d.ts +21 -0
  52. package/dist/canvas-runtime/drop-targets.d.ts +34 -0
  53. package/dist/canvas-runtime/embed-markers.d.ts +15 -0
  54. package/dist/canvas-runtime/file-guard.d.ts +12 -0
  55. package/dist/canvas-runtime/image-tools.d.ts +31 -0
  56. package/dist/canvas-runtime/keyboard.d.ts +18 -0
  57. package/dist/canvas-runtime/main.d.ts +1 -0
  58. package/dist/canvas-runtime/messages.d.ts +26 -0
  59. package/dist/canvas-runtime/morph.d.ts +21 -0
  60. package/dist/canvas-runtime/navigation.d.ts +29 -0
  61. package/dist/canvas-runtime/overlay.d.ts +15 -0
  62. package/dist/canvas-runtime/pointer-intents.d.ts +14 -0
  63. package/dist/canvas-runtime/selection-layer.d.ts +16 -0
  64. package/dist/canvas-runtime/shared/shortcuts.d.ts +27 -0
  65. package/dist/canvas-runtime/text-editor.d.ts +55 -0
  66. package/dist/canvas-runtime/text-session.d.ts +39 -0
  67. package/dist/canvas-runtime/variable-marks.d.ts +20 -0
  68. package/dist/canvas-runtime/viewport.d.ts +10 -0
  69. package/dist/codecs/css.d.ts +74 -0
  70. package/dist/codecs/html.d.ts +81 -0
  71. package/dist/compilation/browser-compiler.d.ts +14 -0
  72. package/dist/compilation/browser-worker.d.ts +1 -0
  73. package/dist/compilation/compile-lanes.d.ts +18 -0
  74. package/dist/compilation/generated-mjml.d.ts +25 -0
  75. package/dist/compilation/guard.d.ts +40 -0
  76. package/dist/compilation/node-compiler.d.ts +17 -0
  77. package/dist/compilation/node-worker.d.ts +1 -0
  78. package/dist/composition/block-factory.d.ts +84 -0
  79. package/dist/composition/browser.d.ts +48 -0
  80. package/dist/composition/factory.d.ts +48 -0
  81. package/dist/composition/server.d.ts +43 -0
  82. package/dist/core/any-document.d.ts +16 -0
  83. package/dist/core/block-document.d.ts +215 -0
  84. package/dist/core/budget.d.ts +32 -0
  85. package/dist/core/canvas-contract.d.ts +29 -0
  86. package/dist/core/canvas-layout.d.ts +66 -0
  87. package/dist/core/catalog.d.ts +35 -0
  88. package/dist/core/document-presentation.d.ts +21 -0
  89. package/dist/core/document.d.ts +99 -0
  90. package/dist/core/history.d.ts +26 -0
  91. package/dist/core/html-content-model.d.ts +32 -0
  92. package/dist/core/html-escape.d.ts +2 -0
  93. package/dist/core/rich-text-format.d.ts +14 -0
  94. package/dist/core/rich-text-markup.d.ts +28 -0
  95. package/dist/core/section-layout.d.ts +83 -0
  96. package/dist/generated-mjml-CtzE-f3v.js +1235 -0
  97. package/dist/generated-mjml-CtzE-f3v.js.map +1 -0
  98. package/dist/identity-CJHb6l9N.js +13759 -0
  99. package/dist/identity-CJHb6l9N.js.map +1 -0
  100. package/dist/renderers/canvas-bridge.d.ts +75 -0
  101. package/dist/renderers/canvas-icons.d.ts +1 -0
  102. package/dist/renderers/canvas-runtime.generated.d.ts +3 -0
  103. package/dist/renderers/element-source.d.ts +13 -0
  104. package/dist/renderers/email-renderer.d.ts +14 -0
  105. package/dist/renderers/marked-preview.d.ts +34 -0
  106. package/dist/renderers/markup-tree.d.ts +36 -0
  107. package/dist/renderers/page-renderer.d.ts +15 -0
  108. package/dist/renderers/preview-document.d.ts +39 -0
  109. package/dist/renderers/preview-frame.d.ts +102 -0
  110. package/dist/renderers/section-scaffold.d.ts +16 -0
  111. package/dist/renderers/selection-preview.d.ts +47 -0
  112. package/dist/rich-text/command-executor.d.ts +26 -0
  113. package/dist/rich-text/commands.d.ts +36 -0
  114. package/dist/rich-text/document-builder.d.ts +52 -0
  115. package/dist/rich-text/formatting.d.ts +17 -0
  116. package/dist/rich-text/projection-export.d.ts +17 -0
  117. package/dist/rich-text/projection-rules.d.ts +13 -0
  118. package/dist/rich-text/schema.d.ts +50 -0
  119. package/dist/rich-text/whitespace.d.ts +7 -0
  120. package/dist/security/bounded-parser.d.ts +18 -0
  121. package/dist/security/conditional-comment.d.ts +30 -0
  122. package/dist/security/content-inventory.d.ts +78 -0
  123. package/dist/security/email-sanitizer.d.ts +36 -0
  124. package/dist/security/identity.d.ts +6 -0
  125. package/dist/security/markup-rules.d.ts +31 -0
  126. package/dist/security/policy.d.ts +61 -0
  127. package/dist/security/preview-message.d.ts +317 -0
  128. package/dist/security/rich-text-projection.d.ts +19 -0
  129. package/dist/security/sha256.d.ts +6 -0
  130. package/dist/security/source-markup.d.ts +53 -0
  131. package/dist/security/text-presentation.d.ts +19 -0
  132. package/dist/security/url-policy.d.ts +23 -0
  133. package/dist/server-worker.js +17 -0
  134. package/dist/server-worker.js.map +1 -0
  135. package/dist/server.js +79 -0
  136. package/dist/server.js.map +1 -0
  137. package/dist/templates/blank-email.d.ts +6 -0
  138. package/dist/templates/blocks/catalog.d.ts +31 -0
  139. package/dist/templates/catalog.d.ts +31 -0
  140. package/dist/visual-editor.css +2 -0
  141. package/dist/vue/block-controller.d.ts +106 -0
  142. package/dist/vue/block-workbench.d.ts +70 -0
  143. package/dist/vue/canvas/canvas-theme.d.ts +8 -0
  144. package/dist/vue/canvas/file-drop.d.ts +38 -0
  145. package/dist/vue/canvas/frame-window.d.ts +26 -0
  146. package/dist/vue/canvas/inline-text.d.ts +98 -0
  147. package/dist/vue/canvas/palette-drag.d.ts +55 -0
  148. package/dist/vue/canvas/piece-requests.d.ts +48 -0
  149. package/dist/vue/canvas/strip-reserve.d.ts +14 -0
  150. package/dist/vue/canvas-content-label.d.ts +5 -0
  151. package/dist/vue/components/BlockVisualEditor.vue.d.ts +44 -0
  152. package/dist/vue/components/CanvasSurface.vue.d.ts +11 -0
  153. package/dist/vue/components/CodeEditor.vue.d.ts +22 -0
  154. package/dist/vue/components/EditorBlockMenus.vue.d.ts +3 -0
  155. package/dist/vue/components/EditorBlockPalette.vue.d.ts +3 -0
  156. package/dist/vue/components/EditorDiagnostics.vue.d.ts +3 -0
  157. package/dist/vue/components/EditorDialogs.vue.d.ts +16 -0
  158. package/dist/vue/components/EditorDocumentMetadata.vue.d.ts +3 -0
  159. package/dist/vue/components/EditorDocumentStyles.vue.d.ts +15 -0
  160. package/dist/vue/components/EditorImageSizeControls.vue.d.ts +23 -0
  161. package/dist/vue/components/EditorLayoutControls.vue.d.ts +16 -0
  162. package/dist/vue/components/EditorLeftPanel.vue.d.ts +3 -0
  163. package/dist/vue/components/EditorNoticeIndicator.vue.d.ts +3 -0
  164. package/dist/vue/components/EditorPreview.vue.d.ts +8 -0
  165. package/dist/vue/components/EditorProperties.vue.d.ts +14 -0
  166. package/dist/vue/components/EditorRichTextControls.vue.d.ts +25 -0
  167. package/dist/vue/components/EditorSelectionPath.vue.d.ts +11 -0
  168. package/dist/vue/components/EditorShortcutHelp.vue.d.ts +3 -0
  169. package/dist/vue/components/EditorSourcePane.vue.d.ts +3 -0
  170. package/dist/vue/components/EditorStructureTree.vue.d.ts +3 -0
  171. package/dist/vue/components/EditorTemplateGallery.vue.d.ts +15 -0
  172. package/dist/vue/components/EditorTopBar.vue.d.ts +33 -0
  173. package/dist/vue/components/RichTextEditor.vue.d.ts +47 -0
  174. package/dist/vue/components/SelectionPreviewFrame.vue.d.ts +212 -0
  175. package/dist/vue/components/VisualEditor.vue.d.ts +53 -0
  176. package/dist/vue/components/blocks/BlockCanvas.vue.d.ts +15 -0
  177. package/dist/vue/components/blocks/BlockFieldControl.vue.d.ts +39 -0
  178. package/dist/vue/components/blocks/BlockGlobalStyles.vue.d.ts +3 -0
  179. package/dist/vue/components/blocks/BlockPalette.vue.d.ts +6 -0
  180. package/dist/vue/components/blocks/BlockProperties.vue.d.ts +5 -0
  181. package/dist/vue/components/blocks/BlockReview.vue.d.ts +5 -0
  182. package/dist/vue/components/properties/EditorPropertyAdvanced.vue.d.ts +8 -0
  183. package/dist/vue/components/properties/EditorPropertyContent.vue.d.ts +13 -0
  184. package/dist/vue/components/properties/EditorPropertyStyle.vue.d.ts +8 -0
  185. package/dist/vue/components/ui/EditorAnchoredMenu.vue.d.ts +36 -0
  186. package/dist/vue/components/ui/EditorBadge.vue.d.ts +18 -0
  187. package/dist/vue/components/ui/EditorButton.vue.d.ts +28 -0
  188. package/dist/vue/components/ui/EditorCheckbox.vue.d.ts +13 -0
  189. package/dist/vue/components/ui/EditorColorInput.vue.d.ts +27 -0
  190. package/dist/vue/components/ui/EditorConfirmDialog.vue.d.ts +35 -0
  191. package/dist/vue/components/ui/EditorContextMenu.vue.d.ts +27 -0
  192. package/dist/vue/components/ui/EditorContextPopover.vue.d.ts +33 -0
  193. package/dist/vue/components/ui/EditorEmpty.vue.d.ts +8 -0
  194. package/dist/vue/components/ui/EditorField.vue.d.ts +24 -0
  195. package/dist/vue/components/ui/EditorGroup.vue.d.ts +16 -0
  196. package/dist/vue/components/ui/EditorIcon.vue.d.ts +6 -0
  197. package/dist/vue/components/ui/EditorIconButton.vue.d.ts +19 -0
  198. package/dist/vue/components/ui/EditorInput.vue.d.ts +41 -0
  199. package/dist/vue/components/ui/EditorKeys.vue.d.ts +6 -0
  200. package/dist/vue/components/ui/EditorMeasurement.vue.d.ts +34 -0
  201. package/dist/vue/components/ui/EditorMenu.vue.d.ts +56 -0
  202. package/dist/vue/components/ui/EditorNotice.vue.d.ts +30 -0
  203. package/dist/vue/components/ui/EditorPropertyGroup.vue.d.ts +22 -0
  204. package/dist/vue/components/ui/EditorRecoveryDialog.vue.d.ts +23 -0
  205. package/dist/vue/components/ui/EditorScrollArea.vue.d.ts +13 -0
  206. package/dist/vue/components/ui/EditorSelect.vue.d.ts +25 -0
  207. package/dist/vue/components/ui/EditorSeparator.vue.d.ts +8 -0
  208. package/dist/vue/components/ui/EditorSidePanel.vue.d.ts +26 -0
  209. package/dist/vue/components/ui/EditorSwitch.vue.d.ts +12 -0
  210. package/dist/vue/components/ui/EditorTabs.vue.d.ts +28 -0
  211. package/dist/vue/components/ui/EditorTemplatePreview.vue.d.ts +9 -0
  212. package/dist/vue/components/ui/EditorTextToolbar.vue.d.ts +16 -0
  213. package/dist/vue/components/ui/EditorTree.vue.d.ts +37 -0
  214. package/dist/vue/components/ui/EditorUiProvider.vue.d.ts +13 -0
  215. package/dist/vue/components/ui/EditorVariablePicker.vue.d.ts +20 -0
  216. package/dist/vue/components/ui/color-style-value.d.ts +9 -0
  217. package/dist/vue/components/ui/composition-dismissal.d.ts +1 -0
  218. package/dist/vue/components/ui/editor-dialog-focus.d.ts +6 -0
  219. package/dist/vue/components/ui/numeric-style-value.d.ts +15 -0
  220. package/dist/vue/controller.d.ts +115 -0
  221. package/dist/vue/font-options.d.ts +6 -0
  222. package/dist/vue/icon-data.d.ts +233 -0
  223. package/dist/vue/icons.d.ts +5 -0
  224. package/dist/vue/locale.d.ts +7 -0
  225. package/dist/vue/outline.d.ts +26 -0
  226. package/dist/vue/projection-key.d.ts +7 -0
  227. package/dist/vue/properties/selection-properties.d.ts +40 -0
  228. package/dist/vue/properties/style-fields.d.ts +30 -0
  229. package/dist/vue/public.d.ts +14 -0
  230. package/dist/vue/recovery.d.ts +30 -0
  231. package/dist/vue/responsive-panel.d.ts +1 -0
  232. package/dist/vue/rich-text-commands.d.ts +29 -0
  233. package/dist/vue/services/block-command-definitions.d.ts +14 -0
  234. package/dist/vue/services/block-commands.d.ts +114 -0
  235. package/dist/vue/services/block-menu.d.ts +12 -0
  236. package/dist/vue/services/block-palette.d.ts +21 -0
  237. package/dist/vue/services/block-presentation.d.ts +16 -0
  238. package/dist/vue/services/diagnostic-groups.d.ts +25 -0
  239. package/dist/vue/services/image-requests.d.ts +80 -0
  240. package/dist/vue/services/live-change.d.ts +26 -0
  241. package/dist/vue/services/property-commands.d.ts +28 -0
  242. package/dist/vue/services/saved-blocks.d.ts +32 -0
  243. package/dist/vue/services/selection-path.d.ts +20 -0
  244. package/dist/vue/services/shortcuts.d.ts +39 -0
  245. package/dist/vue/services/structure-tree.d.ts +38 -0
  246. package/dist/vue/services/template-application.d.ts +33 -0
  247. package/dist/vue/services/tree-drag.d.ts +28 -0
  248. package/dist/vue/session/blocks.d.ts +44 -0
  249. package/dist/vue/session/guard.d.ts +13 -0
  250. package/dist/vue/session/structure.d.ts +36 -0
  251. package/dist/vue/session/text.d.ts +23 -0
  252. package/dist/vue/session/transfer.d.ts +23 -0
  253. package/dist/vue/theme.d.ts +20 -0
  254. package/dist/vue/variables.d.ts +21 -0
  255. package/dist/vue/workbench.d.ts +100 -0
  256. package/dist/vue.js +71418 -0
  257. package/dist/vue.js.map +1 -0
  258. package/package.json +125 -4
@@ -0,0 +1,212 @@
1
+ import type { FramePreviewSource } from '../../renderers/selection-preview';
2
+ import type { CanvasBridgeLabels, CanvasBridgeTheme } from '../../renderers/canvas-bridge';
3
+ import type { CanvasRegion } from '../../core/canvas-layout';
4
+ import type { CanvasBlockAction } from '../../core/canvas-contract';
5
+ import type { CanvasBounds, CanvasViewport, CanvasTextState } from '../../security/preview-message';
6
+ import type { RichTextCommandName } from '../../rich-text/commands';
7
+ import type { CanvasTextStyle } from '../../security/text-presentation';
8
+ type __VLS_Props = {
9
+ /** The document shown, bound to its renderer: an HTML document or a block piece. */
10
+ source: FramePreviewSource;
11
+ selectedNodeId?: string;
12
+ title: string;
13
+ selectionLabel: string;
14
+ readOnly?: boolean;
15
+ labels?: CanvasBridgeLabels;
16
+ isCurrent?: (identity: {
17
+ id: string;
18
+ revision: number;
19
+ }) => boolean;
20
+ /** Test mode: the frame reports whether entering a text changed its appearance. */
21
+ diagnostics?: boolean;
22
+ getMovementTargets?: (id: string) => readonly {
23
+ targetId: string;
24
+ placements: readonly ('before' | 'after' | 'inside')[];
25
+ }[];
26
+ /** Friendly name of a selectable block, drawn next to it in the piece. */
27
+ describe?: (region: CanvasRegion) => string | undefined;
28
+ /** Colors of the shell for the controls drawn over the piece. */
29
+ theme?: CanvasBridgeTheme | undefined;
30
+ /** The host opens no block menu (a block piece): the frame never asks for one. */
31
+ withoutMenu?: boolean;
32
+ /**
33
+ * A presentation of the same revision (the dark preview of a block piece): a new value
34
+ * renders the window again although the revision did not change.
35
+ */
36
+ variant?: string;
37
+ /** Friendly names of the variables of the host by key, shown over each `{{key}}`. */
38
+ variables?: Readonly<Record<string, string>>;
39
+ };
40
+ /** Drafts are coalesced: validating a text costs far more than receiving it. */
41
+ declare function flushDraft(): void;
42
+ declare function render(): void;
43
+ declare function highlight(): void;
44
+ declare function measure(): void;
45
+ declare function restoreViewport(value: CanvasViewport): void;
46
+ declare function textCommand(command: RichTextCommandName, value: string | null): void;
47
+ declare function rejectText(nodeId: string, reason: 'begin' | 'draft' | 'commit'): void;
48
+ /** Returns the keyboard to the text being edited inside the frame. */
49
+ declare function focusText(): void;
50
+ declare function openText(nodeId: string): void;
51
+ declare function focusNode(id: string, origin?: Element | null): void;
52
+ /** `file`: an image file is dragged, which replaces an image it is dropped on. */
53
+ declare function trackInsertion(point: {
54
+ x: number;
55
+ y: number;
56
+ }, file?: boolean): void;
57
+ declare function commitInsertion(point: {
58
+ x: number;
59
+ y: number;
60
+ }, file?: boolean): void;
61
+ /**
62
+ * Gives the keyboard back to the selected block after a menu of the shell closes, unless the
63
+ * person already took it elsewhere: only from the page itself, the frame, a menu still closing
64
+ * or the trigger of the menu, which the primitive focuses as it closes.
65
+ */
66
+ declare function returnFocus(origin?: Element | null): void;
67
+ declare function cancelInsertion(): void;
68
+ /** Destinations a new block accepts, sent when a drag from the palette begins. */
69
+ declare function insertionTargets(targets: readonly {
70
+ targetId: string;
71
+ placements: readonly ('before' | 'after' | 'inside')[];
72
+ }[]): void;
73
+ /** Shows in the piece the block the pointer rests on elsewhere in the shell, as in the tree. */
74
+ declare function hover(nodeId: string | undefined): void;
75
+ declare function getFrameElement(): HTMLIFrameElement | undefined;
76
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
77
+ highlight: typeof highlight;
78
+ measure: typeof measure;
79
+ restoreViewport: typeof restoreViewport;
80
+ focusNode: typeof focusNode;
81
+ returnFocus: typeof returnFocus;
82
+ textCommand: typeof textCommand;
83
+ rejectText: typeof rejectText;
84
+ openText: typeof openText;
85
+ focusText: typeof focusText;
86
+ flushDraft: typeof flushDraft;
87
+ refresh: typeof render;
88
+ insertionTargets: typeof insertionTargets;
89
+ hover: typeof hover;
90
+ trackInsertion: typeof trackInsertion;
91
+ commitInsertion: typeof commitInsertion;
92
+ cancelInsertion: typeof cancelInsertion;
93
+ getFrameElement: typeof getFrameElement;
94
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
95
+ select: (id: string) => any;
96
+ action: (event: {
97
+ nodeId: string;
98
+ action: CanvasBlockAction;
99
+ }) => any;
100
+ move: (event: {
101
+ sourceId: string;
102
+ targetId: string;
103
+ placement: "before" | "after" | "inside";
104
+ }) => any;
105
+ "text-draft": (event: {
106
+ nodeId: string;
107
+ html: string;
108
+ }) => any;
109
+ reset: () => any;
110
+ history: (direction: "undo" | "redo") => any;
111
+ "text-state": (event: {
112
+ nodeId: string;
113
+ state: CanvasTextState;
114
+ }) => any;
115
+ "text-cancel": (id: string) => any;
116
+ "text-commit": (event: {
117
+ nodeId: string;
118
+ html: string;
119
+ }) => any;
120
+ "text-toolbar": (id: string) => any;
121
+ "text-unsupported": (id: string) => any;
122
+ "text-fidelity": (changed: number) => any;
123
+ "text-begin": (id: string) => any;
124
+ "image-drop": (nodeId: string) => any;
125
+ insertion: (event: "end" | {
126
+ targetId: string;
127
+ placement: "before" | "after" | "inside";
128
+ }) => any;
129
+ "image-resize": (event: {
130
+ nodeId: string;
131
+ width: number;
132
+ height: number;
133
+ }) => any;
134
+ "insert-request": (event: {
135
+ nodeId: string;
136
+ bounds: CanvasBounds;
137
+ keyboard: boolean;
138
+ }) => any;
139
+ appearance: (event: {
140
+ nodeId: string;
141
+ style: CanvasTextStyle;
142
+ }) => any;
143
+ "context-menu": (event: {
144
+ nodeId: string;
145
+ x: number;
146
+ y: number;
147
+ keyboard: boolean;
148
+ }) => any;
149
+ "file-drag": () => any;
150
+ shortcut: (command: "save") => any;
151
+ failure: (reason: "frameset" | "render" | "window" | undefined) => any;
152
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
153
+ onSelect?: (id: string) => any;
154
+ onAction?: (event: {
155
+ nodeId: string;
156
+ action: CanvasBlockAction;
157
+ }) => any;
158
+ onMove?: (event: {
159
+ sourceId: string;
160
+ targetId: string;
161
+ placement: "before" | "after" | "inside";
162
+ }) => any;
163
+ "onText-draft"?: (event: {
164
+ nodeId: string;
165
+ html: string;
166
+ }) => any;
167
+ onReset?: () => any;
168
+ onHistory?: (direction: "undo" | "redo") => any;
169
+ "onText-state"?: (event: {
170
+ nodeId: string;
171
+ state: CanvasTextState;
172
+ }) => any;
173
+ "onText-cancel"?: (id: string) => any;
174
+ "onText-commit"?: (event: {
175
+ nodeId: string;
176
+ html: string;
177
+ }) => any;
178
+ "onText-toolbar"?: (id: string) => any;
179
+ "onText-unsupported"?: (id: string) => any;
180
+ "onText-fidelity"?: (changed: number) => any;
181
+ "onText-begin"?: (id: string) => any;
182
+ "onImage-drop"?: (nodeId: string) => any;
183
+ onInsertion?: (event: "end" | {
184
+ targetId: string;
185
+ placement: "before" | "after" | "inside";
186
+ }) => any;
187
+ "onImage-resize"?: (event: {
188
+ nodeId: string;
189
+ width: number;
190
+ height: number;
191
+ }) => any;
192
+ "onInsert-request"?: (event: {
193
+ nodeId: string;
194
+ bounds: CanvasBounds;
195
+ keyboard: boolean;
196
+ }) => any;
197
+ onAppearance?: (event: {
198
+ nodeId: string;
199
+ style: CanvasTextStyle;
200
+ }) => any;
201
+ "onContext-menu"?: (event: {
202
+ nodeId: string;
203
+ x: number;
204
+ y: number;
205
+ keyboard: boolean;
206
+ }) => any;
207
+ "onFile-drag"?: () => any;
208
+ onShortcut?: (command: "save") => any;
209
+ onFailure?: (reason: "frameset" | "render" | "window" | undefined) => any;
210
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
211
+ declare const _default: typeof __VLS_export;
212
+ export default _default;
@@ -0,0 +1,53 @@
1
+ import type { EditorDocumentData, SourceInput } from '../../core/document';
2
+ import type { SelectionPreviewRenderer } from '../../renderers/selection-preview';
3
+ import type { EditorController } from '../controller';
4
+ import type { EditorMessages } from '../locale';
5
+ import type { EditorThemeOptions } from '../theme';
6
+ import type { EditorImagePicker } from '../services/image-requests';
7
+ import type { EditorVariable } from '../variables';
8
+ type __VLS_Props = {
9
+ controller: EditorController;
10
+ selectionRenderer?: SelectionPreviewRenderer;
11
+ messages?: EditorMessages;
12
+ /** Overrides for a host without a Nuxt UI theme; by default the editor inherits the host's. */
13
+ theme?: EditorThemeOptions;
14
+ /** Older image contract: the editor emits `request-image` and the host attaches the asset. */
15
+ assetPicker?: boolean;
16
+ formPicker?: boolean;
17
+ variables?: readonly EditorVariable[];
18
+ /** The image library of the host; takes precedence over `assetPicker`. */
19
+ imagePicker?: EditorImagePicker;
20
+ /** Test mode: the preview reports whether entering a text changed its appearance. */
21
+ diagnostics?: boolean;
22
+ };
23
+ declare var __VLS_20: {};
24
+ type __VLS_Slots = {} & {
25
+ brand?: (props: typeof __VLS_20) => any;
26
+ };
27
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
28
+ insertVariable: (key: string) => boolean;
29
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ error: (code: string) => any;
31
+ save: (payload: {
32
+ document: EditorDocumentData;
33
+ source: SourceInput;
34
+ }) => any;
35
+ "request-form": (nodeId: string | undefined) => any;
36
+ "request-image": (nodeId: string | undefined) => any;
37
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
38
+ onError?: (code: string) => any;
39
+ onSave?: (payload: {
40
+ document: EditorDocumentData;
41
+ source: SourceInput;
42
+ }) => any;
43
+ "onRequest-form"?: (nodeId: string | undefined) => any;
44
+ "onRequest-image"?: (nodeId: string | undefined) => any;
45
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
47
+ declare const _default: typeof __VLS_export;
48
+ export default _default;
49
+ type __VLS_WithSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
@@ -0,0 +1,15 @@
1
+ import type { SelectionPreviewRenderer } from '../../../renderers/selection-preview';
2
+ import type { EditorVariable } from '../../variables';
3
+ type __VLS_Props = {
4
+ renderer: SelectionPreviewRenderer;
5
+ variables?: readonly EditorVariable[];
6
+ /** Test mode of the frame runtime. */
7
+ diagnostics?: boolean;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "insert-request": () => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onInsert-request"?: () => any;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import type { BlockPropValue } from '../../../core/block-document';
2
+ import type { FieldControl, FieldOption } from '../../../blocks/block-type';
3
+ import type { EditorLocale } from '../../locale';
4
+ /**
5
+ * One control of a generated panel: a property of a block or a global style. The control comes
6
+ * from the definition (`text`, `code`, `color`, `length`, `select`...); the value shown is the
7
+ * one the output uses, marked as inherited while the block (or the piece) does not set its own.
8
+ */
9
+ type __VLS_Props = {
10
+ id: string;
11
+ control: FieldControl;
12
+ labelKey: string;
13
+ options: readonly FieldOption[];
14
+ own: BlockPropValue | undefined;
15
+ effective: BlockPropValue | undefined;
16
+ locale: EditorLocale;
17
+ disabled: boolean;
18
+ /** The host has an image library. */
19
+ imagePicker?: boolean;
20
+ /** The last value typed here was refused: said next to the control. */
21
+ error?: string | undefined;
22
+ /** A short mark under the control, e.g. that the field has its own value on small screens. */
23
+ marker?: string | undefined;
24
+ /** What an inherited value is called; by default the default of the piece. */
25
+ inheritedKey?: string | undefined;
26
+ /** What the button that drops the value says; by default "restore default". */
27
+ restoreKey?: string | undefined;
28
+ };
29
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ change: (value: BlockPropValue) => any;
31
+ restore: () => any;
32
+ "choose-image": () => any;
33
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ onChange?: (value: BlockPropValue) => any;
35
+ onRestore?: () => any;
36
+ "onChoose-image"?: () => any;
37
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ declare const _default: typeof __VLS_export;
39
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
+ /** The "+" of a block in the piece puts the keyboard here, on the first block. */
3
+ focus: () => void | undefined;
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
+ focusReview: () => Promise<void>;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
+ focus: () => Promise<void>;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { SelectionProperties } from '../../properties/selection-properties';
2
+ /** What few people need: descriptions for assistive technology and the HTML of the block. */
3
+ type __VLS_Props = {
4
+ model: SelectionProperties;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { SelectionProperties } from '../../properties/selection-properties';
2
+ /** What the block says and where it leads: its text, its link, its image, its form. */
3
+ type __VLS_Props = {
4
+ model: SelectionProperties;
5
+ formPicker: boolean;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "request-form": (nodeId: string) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ "onRequest-form"?: (nodeId: string) => any;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { SelectionProperties } from '../../properties/selection-properties';
2
+ /** How the block looks: columns, size, typography, colors, spacing and borders. */
3
+ type __VLS_Props = {
4
+ model: SelectionProperties;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import type { EditorMenuItem } from './EditorMenu.vue';
2
+ export interface MenuAnchor {
3
+ readonly x: number;
4
+ readonly y: number;
5
+ readonly width?: number;
6
+ readonly height?: number;
7
+ }
8
+ type __VLS_Props = {
9
+ /** Where the menu opens, in viewport coordinates; undefined keeps it closed. */
10
+ anchor: MenuAnchor | undefined;
11
+ items: readonly EditorMenuItem[];
12
+ label: string;
13
+ filter?: boolean;
14
+ filterPlaceholder?: string;
15
+ emptyText?: string;
16
+ /**
17
+ * The keyboard moves into the menu as it opens: to its search field, or to its first item.
18
+ * A menu opened from inside the frame of the piece cannot rely on the primitive for it,
19
+ * which only sees the keys pressed in this document.
20
+ */
21
+ autofocus?: boolean;
22
+ };
23
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ select: (id: string) => any;
25
+ close: () => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ onSelect?: (id: string) => any;
28
+ onClose?: () => any;
29
+ }>, {
30
+ filter: boolean;
31
+ autofocus: boolean;
32
+ filterPlaceholder: string;
33
+ emptyText: string;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ tone?: 'neutral' | 'primary' | 'warning' | 'error' | 'success';
3
+ };
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ tone: "neutral" | "primary" | "warning" | "error" | "success";
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ intent?: 'primary' | 'secondary' | 'neutral' | 'destructive';
3
+ disabled?: boolean;
4
+ active?: boolean | undefined;
5
+ loading?: boolean;
6
+ type?: 'button' | 'submit';
7
+ size?: 'xs' | 'sm' | 'md';
8
+ };
9
+ declare var __VLS_8: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_8) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ type: "button" | "submit";
15
+ size: "xs" | "sm" | "md";
16
+ loading: boolean;
17
+ intent: "primary" | "secondary" | "neutral" | "destructive";
18
+ disabled: boolean;
19
+ active: boolean | undefined;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ id: string;
3
+ modelValue: boolean;
4
+ label: string;
5
+ disabled: boolean;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ change: (value: boolean) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onChange?: (value: boolean) => any;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import type { EditorLocale } from '../../locale';
2
+ type __VLS_Props = {
3
+ modelValue: string;
4
+ id: string;
5
+ locale: EditorLocale;
6
+ disabled?: boolean;
7
+ inherited?: boolean;
8
+ inheritedLabel?: string;
9
+ resetLabel?: string;
10
+ /** Accessible name of the reset button, naming the field it resets. */
11
+ resetAccessibleLabel?: string;
12
+ mixed?: boolean;
13
+ };
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ change: (value: string) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onChange?: (value: string) => any;
18
+ }>, {
19
+ mixed: boolean;
20
+ disabled: boolean;
21
+ inherited: boolean;
22
+ inheritedLabel: string;
23
+ resetLabel: string;
24
+ resetAccessibleLabel: string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ title: string;
4
+ description: string;
5
+ confirmLabel: string;
6
+ cancelLabel: string;
7
+ disabled?: boolean;
8
+ confirmIntent?: 'primary' | 'destructive';
9
+ returnFocus?: HTMLElement | undefined;
10
+ /** Room for code or a preview instead of a short question. */
11
+ wide?: boolean;
12
+ /** Where the focus goes when the dialog opens; the cancel button by default. */
13
+ initialFocus?: string;
14
+ };
15
+ declare var __VLS_11: {}, __VLS_14: {};
16
+ type __VLS_Slots = {} & {
17
+ default?: (props: typeof __VLS_11) => any;
18
+ } & {
19
+ actions?: (props: typeof __VLS_14) => any;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:open": (open: boolean) => any;
23
+ confirm: () => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ "onUpdate:open"?: (open: boolean) => any;
26
+ onConfirm?: () => any;
27
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,27 @@
1
+ import type { EditorMenuItem } from './EditorMenu.vue';
2
+ type __VLS_Props = {
3
+ items: readonly EditorMenuItem[];
4
+ label: string;
5
+ disabled?: boolean;
6
+ };
7
+ declare var __VLS_10: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_10) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ select: (id: string) => any;
13
+ "update:open": (open: boolean) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSelect?: (id: string) => any;
16
+ "onUpdate:open"?: (open: boolean) => any;
17
+ }>, {
18
+ disabled: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,33 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ label: string;
4
+ disabled: boolean;
5
+ icon?: string;
6
+ /** The trigger shows only its icon; the label stays as its accessible name. */
7
+ iconOnly?: boolean;
8
+ };
9
+ declare var __VLS_9: {
10
+ triggerAttrs: {
11
+ 'aria-controls'?: never;
12
+ } | {
13
+ 'aria-controls': undefined;
14
+ };
15
+ }, __VLS_20: {};
16
+ type __VLS_Slots = {} & {
17
+ trigger?: (props: typeof __VLS_9) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_20) => any;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:open": (open: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ "onUpdate:open"?: (open: boolean) => any;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ icon: string;
3
+ title: string;
4
+ description?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ label: string;
3
+ id: string;
4
+ help?: string | undefined;
5
+ error?: string | undefined;
6
+ description?: string;
7
+ group?: boolean;
8
+ labelHidden?: boolean;
9
+ };
10
+ declare var __VLS_1: {}, __VLS_10: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_10) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };