@cocoar/vue-page-builder 2.15.0 → 2.17.0

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 (257) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +169 -0
  3. package/dist/CoarPageBuilder.vue.d.ts.map +1 -1
  4. package/dist/CoarPageRenderer.vue.d.ts +44 -2
  5. package/dist/CoarPageRenderer.vue.d.ts.map +1 -1
  6. package/dist/PageNode.vue.d.ts.map +1 -1
  7. package/dist/builder/BuilderCanvas.vue.d.ts.map +1 -1
  8. package/dist/builder/BuilderCanvasNode.vue.d.ts +11 -0
  9. package/dist/builder/BuilderCanvasNode.vue.d.ts.map +1 -0
  10. package/dist/builder/BuilderOutline.vue.d.ts +3 -1
  11. package/dist/builder/BuilderOutline.vue.d.ts.map +1 -1
  12. package/dist/builder/BuilderOutlineNode.vue.d.ts.map +1 -1
  13. package/dist/builder/BuilderPropsPanel.vue.d.ts.map +1 -1
  14. package/dist/builder/nodeDefaults.d.ts +17 -11
  15. package/dist/builder/nodeDefaults.d.ts.map +1 -1
  16. package/dist/builder/operations.d.ts +9 -0
  17. package/dist/builder/operations.d.ts.map +1 -1
  18. package/dist/builder/pointerDnd.d.ts +40 -0
  19. package/dist/builder/pointerDnd.d.ts.map +1 -0
  20. package/dist/builder/props/OptionsEditor.vue.d.ts +14 -0
  21. package/dist/builder/props/OptionsEditor.vue.d.ts.map +1 -0
  22. package/dist/builder/props/StyleProps.vue.d.ts +2 -0
  23. package/dist/builder/props/StyleProps.vue.d.ts.map +1 -1
  24. package/dist/builder/schemaMigrateV1.d.ts +18 -0
  25. package/dist/builder/schemaMigrateV1.d.ts.map +1 -0
  26. package/dist/builder/schemaNormalize.d.ts +38 -0
  27. package/dist/builder/schemaNormalize.d.ts.map +1 -0
  28. package/dist/builder/useBuilderDnd.d.ts +11 -3
  29. package/dist/builder/useBuilderDnd.d.ts.map +1 -1
  30. package/dist/builder/usePageBuilder.d.ts +27 -7
  31. package/dist/builder/usePageBuilder.d.ts.map +1 -1
  32. package/dist/builder/useSchemaValidation.d.ts.map +1 -1
  33. package/dist/context.d.ts +46 -4
  34. package/dist/context.d.ts.map +1 -1
  35. package/dist/elements/builtins.d.ts +3 -0
  36. package/dist/elements/builtins.d.ts.map +1 -0
  37. package/dist/elements/button/ButtonInspector.vue.d.ts +10 -0
  38. package/dist/elements/button/ButtonInspector.vue.d.ts.map +1 -0
  39. package/dist/{builder/props/ButtonProps.vue.d.ts → elements/button/ButtonPreview.vue.d.ts} +2 -2
  40. package/dist/elements/button/ButtonPreview.vue.d.ts.map +1 -0
  41. package/dist/elements/button/ButtonRenderer.vue.d.ts +7 -0
  42. package/dist/elements/button/ButtonRenderer.vue.d.ts.map +1 -0
  43. package/dist/elements/button/index.d.ts +10 -0
  44. package/dist/elements/button/index.d.ts.map +1 -0
  45. package/dist/{builder/props/CardProps.vue.d.ts → elements/card/CardInspector.vue.d.ts} +1 -1
  46. package/dist/elements/card/CardInspector.vue.d.ts.map +1 -0
  47. package/dist/elements/card/CardRenderer.vue.d.ts +22 -0
  48. package/dist/elements/card/CardRenderer.vue.d.ts.map +1 -0
  49. package/dist/elements/card/index.d.ts +4 -0
  50. package/dist/elements/card/index.d.ts.map +1 -0
  51. package/dist/elements/checkbox/CheckboxDefaultInput.vue.d.ts +12 -0
  52. package/dist/elements/checkbox/CheckboxDefaultInput.vue.d.ts.map +1 -0
  53. package/dist/elements/checkbox/CheckboxInspector.vue.d.ts +10 -0
  54. package/dist/elements/checkbox/CheckboxInspector.vue.d.ts.map +1 -0
  55. package/dist/elements/checkbox/CheckboxPreview.vue.d.ts +8 -0
  56. package/dist/elements/checkbox/CheckboxPreview.vue.d.ts.map +1 -0
  57. package/dist/{builder/props/CheckboxProps.vue.d.ts → elements/checkbox/CheckboxRenderer.vue.d.ts} +1 -2
  58. package/dist/elements/checkbox/CheckboxRenderer.vue.d.ts.map +1 -0
  59. package/dist/elements/checkbox/index.d.ts +5 -0
  60. package/dist/elements/checkbox/index.d.ts.map +1 -0
  61. package/dist/elements/date-input/DateInputDefaultInput.vue.d.ts +12 -0
  62. package/dist/elements/date-input/DateInputDefaultInput.vue.d.ts.map +1 -0
  63. package/dist/elements/date-input/DateInputInspector.vue.d.ts +8 -0
  64. package/dist/elements/date-input/DateInputInspector.vue.d.ts.map +1 -0
  65. package/dist/elements/date-input/DateInputPreview.vue.d.ts +8 -0
  66. package/dist/elements/date-input/DateInputPreview.vue.d.ts.map +1 -0
  67. package/dist/elements/date-input/DateInputRenderer.vue.d.ts +7 -0
  68. package/dist/elements/date-input/DateInputRenderer.vue.d.ts.map +1 -0
  69. package/dist/elements/date-input/index.d.ts +6 -0
  70. package/dist/elements/date-input/index.d.ts.map +1 -0
  71. package/dist/elements/datetime-input/DateTimeInputDefaultInput.vue.d.ts +12 -0
  72. package/dist/elements/datetime-input/DateTimeInputDefaultInput.vue.d.ts.map +1 -0
  73. package/dist/elements/datetime-input/DateTimeInputInspector.vue.d.ts +8 -0
  74. package/dist/elements/datetime-input/DateTimeInputInspector.vue.d.ts.map +1 -0
  75. package/dist/elements/datetime-input/DateTimeInputPreview.vue.d.ts +8 -0
  76. package/dist/elements/datetime-input/DateTimeInputPreview.vue.d.ts.map +1 -0
  77. package/dist/elements/datetime-input/DateTimeInputRenderer.vue.d.ts +7 -0
  78. package/dist/elements/datetime-input/DateTimeInputRenderer.vue.d.ts.map +1 -0
  79. package/dist/elements/datetime-input/index.d.ts +6 -0
  80. package/dist/elements/datetime-input/index.d.ts.map +1 -0
  81. package/dist/elements/divider/DividerPreview.vue.d.ts +8 -0
  82. package/dist/elements/divider/DividerPreview.vue.d.ts.map +1 -0
  83. package/dist/elements/divider/DividerRenderer.vue.d.ts +7 -0
  84. package/dist/elements/divider/DividerRenderer.vue.d.ts.map +1 -0
  85. package/dist/elements/divider/index.d.ts +2 -0
  86. package/dist/elements/divider/index.d.ts.map +1 -0
  87. package/dist/elements/fieldContract.d.ts +42 -0
  88. package/dist/elements/fieldContract.d.ts.map +1 -0
  89. package/dist/elements/heading/HeadingInspector.vue.d.ts +10 -0
  90. package/dist/elements/heading/HeadingInspector.vue.d.ts.map +1 -0
  91. package/dist/{builder/props/HeadingProps.vue.d.ts → elements/heading/HeadingPreview.vue.d.ts} +2 -2
  92. package/dist/elements/heading/HeadingPreview.vue.d.ts.map +1 -0
  93. package/dist/elements/heading/HeadingRenderer.vue.d.ts +7 -0
  94. package/dist/elements/heading/HeadingRenderer.vue.d.ts.map +1 -0
  95. package/dist/elements/heading/index.d.ts +5 -0
  96. package/dist/elements/heading/index.d.ts.map +1 -0
  97. package/dist/elements/image/ImageInspector.vue.d.ts +10 -0
  98. package/dist/elements/image/ImageInspector.vue.d.ts.map +1 -0
  99. package/dist/{builder/props/ImageProps.vue.d.ts → elements/image/ImagePreview.vue.d.ts} +2 -2
  100. package/dist/elements/image/ImagePreview.vue.d.ts.map +1 -0
  101. package/dist/elements/image/ImageRenderer.vue.d.ts +7 -0
  102. package/dist/elements/image/ImageRenderer.vue.d.ts.map +1 -0
  103. package/dist/elements/image/index.d.ts +5 -0
  104. package/dist/elements/image/index.d.ts.map +1 -0
  105. package/dist/{builder/props/LinkProps.vue.d.ts → elements/link/LinkInspector.vue.d.ts} +4 -2
  106. package/dist/elements/link/LinkInspector.vue.d.ts.map +1 -0
  107. package/dist/elements/link/LinkPreview.vue.d.ts +8 -0
  108. package/dist/elements/link/LinkPreview.vue.d.ts.map +1 -0
  109. package/dist/elements/link/LinkRenderer.vue.d.ts +7 -0
  110. package/dist/elements/link/LinkRenderer.vue.d.ts.map +1 -0
  111. package/dist/elements/link/index.d.ts +5 -0
  112. package/dist/elements/link/index.d.ts.map +1 -0
  113. package/dist/elements/multi-select/MultiSelectDefaultInput.vue.d.ts +12 -0
  114. package/dist/elements/multi-select/MultiSelectDefaultInput.vue.d.ts.map +1 -0
  115. package/dist/elements/multi-select/MultiSelectInspector.vue.d.ts +8 -0
  116. package/dist/elements/multi-select/MultiSelectInspector.vue.d.ts.map +1 -0
  117. package/dist/elements/multi-select/MultiSelectPreview.vue.d.ts +8 -0
  118. package/dist/elements/multi-select/MultiSelectPreview.vue.d.ts.map +1 -0
  119. package/dist/elements/multi-select/MultiSelectRenderer.vue.d.ts +7 -0
  120. package/dist/elements/multi-select/MultiSelectRenderer.vue.d.ts.map +1 -0
  121. package/dist/elements/multi-select/index.d.ts +8 -0
  122. package/dist/elements/multi-select/index.d.ts.map +1 -0
  123. package/dist/elements/note/NoteInspector.vue.d.ts +10 -0
  124. package/dist/elements/note/NoteInspector.vue.d.ts.map +1 -0
  125. package/dist/elements/note/NotePreview.vue.d.ts +8 -0
  126. package/dist/elements/note/NotePreview.vue.d.ts.map +1 -0
  127. package/dist/elements/note/NoteRenderer.vue.d.ts +7 -0
  128. package/dist/elements/note/NoteRenderer.vue.d.ts.map +1 -0
  129. package/dist/elements/note/index.d.ts +5 -0
  130. package/dist/elements/note/index.d.ts.map +1 -0
  131. package/dist/elements/number-input/NumberInputDefaultInput.vue.d.ts +12 -0
  132. package/dist/elements/number-input/NumberInputDefaultInput.vue.d.ts.map +1 -0
  133. package/dist/elements/number-input/NumberInputInspector.vue.d.ts +8 -0
  134. package/dist/elements/number-input/NumberInputInspector.vue.d.ts.map +1 -0
  135. package/dist/elements/number-input/NumberInputPreview.vue.d.ts +8 -0
  136. package/dist/elements/number-input/NumberInputPreview.vue.d.ts.map +1 -0
  137. package/dist/elements/number-input/NumberInputRenderer.vue.d.ts +7 -0
  138. package/dist/elements/number-input/NumberInputRenderer.vue.d.ts.map +1 -0
  139. package/dist/elements/number-input/index.d.ts +10 -0
  140. package/dist/elements/number-input/index.d.ts.map +1 -0
  141. package/dist/elements/optionUtils.d.ts +4 -0
  142. package/dist/elements/optionUtils.d.ts.map +1 -0
  143. package/dist/elements/otp-input/OtpInputInspector.vue.d.ts +8 -0
  144. package/dist/elements/otp-input/OtpInputInspector.vue.d.ts.map +1 -0
  145. package/dist/elements/otp-input/OtpInputPreview.vue.d.ts +8 -0
  146. package/dist/elements/otp-input/OtpInputPreview.vue.d.ts.map +1 -0
  147. package/dist/elements/otp-input/OtpInputRenderer.vue.d.ts +7 -0
  148. package/dist/elements/otp-input/OtpInputRenderer.vue.d.ts.map +1 -0
  149. package/dist/elements/otp-input/index.d.ts +8 -0
  150. package/dist/elements/otp-input/index.d.ts.map +1 -0
  151. package/dist/{builder/props/ParagraphProps.vue.d.ts → elements/paragraph/ParagraphInspector.vue.d.ts} +1 -1
  152. package/dist/elements/paragraph/ParagraphInspector.vue.d.ts.map +1 -0
  153. package/dist/elements/paragraph/ParagraphPreview.vue.d.ts +8 -0
  154. package/dist/elements/paragraph/ParagraphPreview.vue.d.ts.map +1 -0
  155. package/dist/elements/paragraph/ParagraphRenderer.vue.d.ts +7 -0
  156. package/dist/elements/paragraph/ParagraphRenderer.vue.d.ts.map +1 -0
  157. package/dist/elements/paragraph/index.d.ts +4 -0
  158. package/dist/elements/paragraph/index.d.ts.map +1 -0
  159. package/dist/elements/password-input/PasswordInputInspector.vue.d.ts +8 -0
  160. package/dist/elements/password-input/PasswordInputInspector.vue.d.ts.map +1 -0
  161. package/dist/elements/password-input/PasswordInputPreview.vue.d.ts +8 -0
  162. package/dist/elements/password-input/PasswordInputPreview.vue.d.ts.map +1 -0
  163. package/dist/elements/password-input/PasswordInputRenderer.vue.d.ts +7 -0
  164. package/dist/elements/password-input/PasswordInputRenderer.vue.d.ts.map +1 -0
  165. package/dist/elements/password-input/index.d.ts +6 -0
  166. package/dist/elements/password-input/index.d.ts.map +1 -0
  167. package/dist/elements/previewUtils.d.ts +11 -0
  168. package/dist/elements/previewUtils.d.ts.map +1 -0
  169. package/dist/elements/radio-group/RadioGroupDefaultInput.vue.d.ts +12 -0
  170. package/dist/elements/radio-group/RadioGroupDefaultInput.vue.d.ts.map +1 -0
  171. package/dist/elements/radio-group/RadioGroupInspector.vue.d.ts +8 -0
  172. package/dist/elements/radio-group/RadioGroupInspector.vue.d.ts.map +1 -0
  173. package/dist/elements/radio-group/RadioGroupPreview.vue.d.ts +8 -0
  174. package/dist/elements/radio-group/RadioGroupPreview.vue.d.ts.map +1 -0
  175. package/dist/elements/radio-group/RadioGroupRenderer.vue.d.ts +7 -0
  176. package/dist/elements/radio-group/RadioGroupRenderer.vue.d.ts.map +1 -0
  177. package/dist/elements/radio-group/index.d.ts +8 -0
  178. package/dist/elements/radio-group/index.d.ts.map +1 -0
  179. package/dist/elements/registry.d.ts +136 -0
  180. package/dist/elements/registry.d.ts.map +1 -0
  181. package/dist/{builder/props/SectionProps.vue.d.ts → elements/section/SectionInspector.vue.d.ts} +1 -1
  182. package/dist/elements/section/SectionInspector.vue.d.ts.map +1 -0
  183. package/dist/elements/section/SectionRenderer.vue.d.ts +22 -0
  184. package/dist/elements/section/SectionRenderer.vue.d.ts.map +1 -0
  185. package/dist/elements/section/index.d.ts +4 -0
  186. package/dist/elements/section/index.d.ts.map +1 -0
  187. package/dist/elements/select/SelectDefaultInput.vue.d.ts +12 -0
  188. package/dist/elements/select/SelectDefaultInput.vue.d.ts.map +1 -0
  189. package/dist/{builder/props/SelectProps.vue.d.ts → elements/select/SelectInspector.vue.d.ts} +1 -1
  190. package/dist/elements/select/SelectInspector.vue.d.ts.map +1 -0
  191. package/dist/elements/select/SelectPreview.vue.d.ts +8 -0
  192. package/dist/elements/select/SelectPreview.vue.d.ts.map +1 -0
  193. package/dist/elements/select/SelectRenderer.vue.d.ts +7 -0
  194. package/dist/elements/select/SelectRenderer.vue.d.ts.map +1 -0
  195. package/dist/elements/select/index.d.ts +8 -0
  196. package/dist/elements/select/index.d.ts.map +1 -0
  197. package/dist/{builder/props/SpacerProps.vue.d.ts → elements/spacer/SpacerInspector.vue.d.ts} +1 -1
  198. package/dist/elements/spacer/SpacerInspector.vue.d.ts.map +1 -0
  199. package/dist/elements/spacer/SpacerPreview.vue.d.ts +8 -0
  200. package/dist/elements/spacer/SpacerPreview.vue.d.ts.map +1 -0
  201. package/dist/elements/spacer/SpacerRenderer.vue.d.ts +7 -0
  202. package/dist/elements/spacer/SpacerRenderer.vue.d.ts.map +1 -0
  203. package/dist/elements/spacer/index.d.ts +4 -0
  204. package/dist/elements/spacer/index.d.ts.map +1 -0
  205. package/dist/{builder/props/StackProps.vue.d.ts → elements/stack/StackInspector.vue.d.ts} +1 -1
  206. package/dist/elements/stack/StackInspector.vue.d.ts.map +1 -0
  207. package/dist/elements/stack/StackRenderer.vue.d.ts +22 -0
  208. package/dist/elements/stack/StackRenderer.vue.d.ts.map +1 -0
  209. package/dist/elements/stack/index.d.ts +5 -0
  210. package/dist/elements/stack/index.d.ts.map +1 -0
  211. package/dist/elements/switch/SwitchDefaultInput.vue.d.ts +12 -0
  212. package/dist/elements/switch/SwitchDefaultInput.vue.d.ts.map +1 -0
  213. package/dist/elements/switch/SwitchInspector.vue.d.ts +10 -0
  214. package/dist/elements/switch/SwitchInspector.vue.d.ts.map +1 -0
  215. package/dist/elements/switch/SwitchPreview.vue.d.ts +8 -0
  216. package/dist/elements/switch/SwitchPreview.vue.d.ts.map +1 -0
  217. package/dist/elements/switch/SwitchRenderer.vue.d.ts +7 -0
  218. package/dist/elements/switch/SwitchRenderer.vue.d.ts.map +1 -0
  219. package/dist/elements/switch/index.d.ts +5 -0
  220. package/dist/elements/switch/index.d.ts.map +1 -0
  221. package/dist/{builder/props/TextInputProps.vue.d.ts → elements/text-input/TextInputInspector.vue.d.ts} +1 -1
  222. package/dist/elements/text-input/TextInputInspector.vue.d.ts.map +1 -0
  223. package/dist/elements/text-input/TextInputPreview.vue.d.ts +8 -0
  224. package/dist/elements/text-input/TextInputPreview.vue.d.ts.map +1 -0
  225. package/dist/elements/text-input/TextInputRenderer.vue.d.ts +7 -0
  226. package/dist/elements/text-input/TextInputRenderer.vue.d.ts.map +1 -0
  227. package/dist/elements/text-input/index.d.ts +8 -0
  228. package/dist/elements/text-input/index.d.ts.map +1 -0
  229. package/dist/elements/useMergedElements.d.ts +7 -0
  230. package/dist/elements/useMergedElements.d.ts.map +1 -0
  231. package/dist/elements/usePageElement.d.ts +34 -0
  232. package/dist/elements/usePageElement.d.ts.map +1 -0
  233. package/dist/elements/useResolvedOptions.d.ts +10 -0
  234. package/dist/elements/useResolvedOptions.d.ts.map +1 -0
  235. package/dist/index.css +1 -1
  236. package/dist/index.d.ts +11 -1
  237. package/dist/index.d.ts.map +1 -1
  238. package/dist/index.js +4979 -2120
  239. package/dist/renderSafety.d.ts +21 -0
  240. package/dist/renderSafety.d.ts.map +1 -0
  241. package/dist/schema.d.ts +276 -69
  242. package/dist/schema.d.ts.map +1 -1
  243. package/package.json +15 -5
  244. package/dist/builder/props/ButtonProps.vue.d.ts.map +0 -1
  245. package/dist/builder/props/CardProps.vue.d.ts.map +0 -1
  246. package/dist/builder/props/CheckboxProps.vue.d.ts.map +0 -1
  247. package/dist/builder/props/HeadingProps.vue.d.ts.map +0 -1
  248. package/dist/builder/props/ImageProps.vue.d.ts.map +0 -1
  249. package/dist/builder/props/LinkProps.vue.d.ts.map +0 -1
  250. package/dist/builder/props/ParagraphProps.vue.d.ts.map +0 -1
  251. package/dist/builder/props/SectionProps.vue.d.ts.map +0 -1
  252. package/dist/builder/props/SelectProps.vue.d.ts.map +0 -1
  253. package/dist/builder/props/SpacerProps.vue.d.ts.map +0 -1
  254. package/dist/builder/props/StackProps.vue.d.ts.map +0 -1
  255. package/dist/builder/props/TextInputProps.vue.d.ts.map +0 -1
  256. package/dist/builder/props/registry.d.ts +0 -15
  257. package/dist/builder/props/registry.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+ import { PasswordInputNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: PasswordInputNode;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=PasswordInputRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordInputRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/password-input/PasswordInputRenderer.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,CAAC;;AAwF/C,wBAOG"}
@@ -0,0 +1,6 @@
1
+ export declare const passwordInputElement: import('../registry').PageElementDefinition<{
2
+ label?: string;
3
+ placeholder?: string;
4
+ disabled?: boolean;
5
+ }>;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/password-input/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB;;;;EAa/B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { NodeStyle } from '../schema';
3
+ /**
4
+ * Inline-natured leaf previews (button / link / image) are content-width by
5
+ * default. When the node is sized (fill / fixed / explicit width) the rendered
6
+ * element fills its box, so the preview should too — `width: 100%` fills the
7
+ * chrome wrapper's content area (no overflow from the wrapper's own padding).
8
+ * Block leaves (text, headings, form fields) already fill their wrapper.
9
+ */
10
+ export declare function leafSizeStyle(style?: NodeStyle): CSSProperties;
11
+ //# sourceMappingURL=previewUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewUtils.d.ts","sourceRoot":"","sources":["../../src/elements/previewUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,aAAa,CAG9D"}
@@ -0,0 +1,12 @@
1
+ import { RadioGroupNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ modelValue: unknown;
4
+ props: RadioGroupNode['props'];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: unknown) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
12
+ //# sourceMappingURL=RadioGroupDefaultInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroupDefaultInput.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/radio-group/RadioGroupDefaultInput.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CAChC,CAAC;;;;;;AA0EF,wBAQG"}
@@ -0,0 +1,8 @@
1
+ import { RadioGroupNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: RadioGroupNode;
4
+ patch: (update: Partial<RadioGroupNode>) => void;
5
+ };
6
+ declare const _default: 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
+ export default _default;
8
+ //# sourceMappingURL=RadioGroupInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroupInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/radio-group/RadioGroupInspector.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAClD,CAAC;;AA8LF,wBAMG"}
@@ -0,0 +1,8 @@
1
+ import { RadioGroupNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: RadioGroupNode;
4
+ resolveAsset?: (id: string) => string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
8
+ //# sourceMappingURL=RadioGroupPreview.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroupPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/radio-group/RadioGroupPreview.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,cAAc,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,CAAC;;AA+FF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import { RadioGroupNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: RadioGroupNode;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=RadioGroupRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroupRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/radio-group/RadioGroupRenderer.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;;AAwH5C,wBAOG"}
@@ -0,0 +1,8 @@
1
+ export declare const radioGroupElement: import('../registry').PageElementDefinition<{
2
+ label?: string;
3
+ options?: import('../..').OptionItem[];
4
+ optionsSourceId?: string;
5
+ orientation?: "vertical" | "horizontal";
6
+ disabled?: boolean;
7
+ }>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/radio-group/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;EAoB5B,CAAC"}
@@ -0,0 +1,136 @@
1
+ import { Component, InjectionKey } from 'vue';
2
+ import { CoreIconName } from '@cocoar/vue-ui';
3
+ import { ActionValues } from '../context';
4
+ import { ElementNode, ElementProps, PageConfig, PageValueType } from '../schema';
5
+ /**
6
+ * i18n (key, fallback) pair, translated at render time via
7
+ * `t(key, undefined, fallback)` — consumer labels work without registering
8
+ * translations, and localize when the consumer adds the key.
9
+ */
10
+ export interface I18nText {
11
+ key: string;
12
+ fallback: string;
13
+ }
14
+ /**
15
+ * Value-model participation. Presence of this spec (plus a `name` on the
16
+ * node) makes the element a managed field: it seeds defaults, joins
17
+ * required/matchField gating, and its value is passed to actions.
18
+ */
19
+ export interface ElementValueSpec<P extends ElementProps = ElementProps> {
20
+ /**
21
+ * Value types this element can edit — matched against
22
+ * `PageFieldSpec.valueType` when a field contract is configured. Omitted =
23
+ * unconstrained (compatible with every field). Built-ins declare theirs;
24
+ * consumer elements should too, so they show up for the right DTO fields.
25
+ */
26
+ types?: PageValueType[];
27
+ /**
28
+ * Opt into the host-enforced string rules (`minLength`/`maxLength`/
29
+ * `pattern` from `validation`) — they need the localized message pipeline
30
+ * and the cached, crash-safe pattern compiler, so the host runs them. Only
31
+ * meaningful for elements whose value is a string.
32
+ */
33
+ textRules?: boolean;
34
+ /**
35
+ * Whether a plain Enter inside this element may submit the page (fire the
36
+ * page's default button) — only effective when the page root opts in via
37
+ * `enterSubmits`. Single-line inputs declare true; multi-line/multi-value
38
+ * elements (textarea, multi-select, OTP) stay false — as does everything
39
+ * that leaves this undeclared. The function form decides per props bag
40
+ * (text-input: only while `rows <= 1`).
41
+ */
42
+ submitOnEnter?: boolean | ((props: P) => boolean);
43
+ /** Fallback default when the node carries no `defaultValue`. */
44
+ defaultValue?: (props: P) => unknown;
45
+ /**
46
+ * Emptiness test for `validation.required`.
47
+ * Default: `undefined | null | '' | false | []` count as empty.
48
+ */
49
+ isEmpty?: (value: unknown, props: P) => boolean;
50
+ /**
51
+ * Element-owned validation, run after `required`/`matchField`. Returns an
52
+ * error message or null. Messages are the element author's responsibility
53
+ * (including their localization).
54
+ */
55
+ validate?: (value: unknown, node: ElementNode<string, P>, values: ActionValues) => string | null;
56
+ }
57
+ /** A builder-lint finding for one node; `error` blocks nothing but renders prominently. */
58
+ export interface ElementLintIssue {
59
+ severity: 'error' | 'warning';
60
+ message: I18nText;
61
+ }
62
+ /** Editor-only half: how the element appears in palette, canvas and inspector. */
63
+ export interface PageElementBuilderDefinition<P extends ElementProps = ElementProps> {
64
+ label: I18nText;
65
+ icon?: CoreIconName;
66
+ /** Palette/add-menu grouping. Defaults to 'element'. */
67
+ group?: 'container' | 'element';
68
+ /** Props bag for a freshly dropped node. The host mints `id`, `name` and `children`. */
69
+ defaults: () => P;
70
+ /**
71
+ * Canvas preview component (receives `{ node }`, mounted inert). Absent →
72
+ * the canvas shows a neutral icon+label chip. Previews never receive the
73
+ * runtime renderer context — they render from the node alone.
74
+ */
75
+ preview?: Component;
76
+ /**
77
+ * Element section of the props panel. Receives `{ node, patch }` where
78
+ * `patch(update)` merges into the props bag with delete-on-empty semantics.
79
+ * Absent → only the host-owned sections (Field/Style) are shown.
80
+ */
81
+ inspector?: Component;
82
+ inspectorTitle?: I18nText;
83
+ /** Suppress the universal Style section (spacer-style minimal elements). */
84
+ hideStyleSection?: boolean;
85
+ /**
86
+ * Editor for the node-level `defaultValue` in the host-owned Field section
87
+ * (receives `{ modelValue, props }`, emits `update:modelValue`). Absent →
88
+ * the host offers a plain text input.
89
+ */
90
+ defaultValueInput?: Component;
91
+ /** Authoring diagnostics, merged into the builder's validation panel. */
92
+ lint?: (node: ElementNode<string, P>, config?: PageConfig) => ElementLintIssue[];
93
+ }
94
+ export interface PageElementDefinition<P extends ElementProps = ElementProps> {
95
+ /** Runtime renderer. Receives `{ node }`; containers get children via the default slot. */
96
+ renderer: Component;
97
+ /** Presence = value-model participation (with `node.name`). */
98
+ value?: ElementValueSpec<P>;
99
+ /** Children + dropzones + container style fields. Defaults to false. */
100
+ container?: boolean;
101
+ /** Inline-natured leaf — host applies the width:fit-content treatment. Defaults to false. */
102
+ inline?: boolean;
103
+ /** Ingest healing for the props bag (untrusted JSON), run by `normalizePageSchema`. */
104
+ normalizeProps?: (raw: unknown) => P;
105
+ /** Editor half — omit in renderer-only bundles. */
106
+ builder?: PageElementBuilderDefinition<P>;
107
+ }
108
+ /**
109
+ * Keyed by element type (= the wire `type` string). The slot type is
110
+ * intentionally `PageElementDefinition<any>` so definitions created with a
111
+ * concrete `P` assign without erasing their own generic (composition sites
112
+ * keep `keyof P` checking through `definePageElement`).
113
+ */
114
+ export type PageElementRegistry = Record<string, PageElementDefinition<any>>;
115
+ /** Consumer element keys: lowercase kebab, colon-free (survives the markdown embed grammar). */
116
+ export declare const ELEMENT_KEY_PATTERN: RegExp;
117
+ /**
118
+ * Identity helper that preserves `P` inference for the definition's hooks and
119
+ * marks the component fields raw (definitions travel through reactive config
120
+ * objects; proxying a component definition is pure overhead).
121
+ */
122
+ export declare function definePageElement<P extends ElementProps>(def: PageElementDefinition<P>): PageElementDefinition<P>;
123
+ /**
124
+ * App-wide default registry channel (`app.provide`). `PageConfig.elements`
125
+ * wins over it per instance. `Symbol.for` per the cross-package house
126
+ * convention so duplicated module instances still share the channel.
127
+ */
128
+ export declare const PAGE_ELEMENTS_KEY: InjectionKey<PageElementRegistry>;
129
+ /**
130
+ * Additive merge: consumer entries extend the base (built-in) set. Shadowing
131
+ * a base key is legal but almost always a mistake (a future built-in landing
132
+ * on a consumer's key), so it warns in DEV. Returns a new object; inputs are
133
+ * not mutated.
134
+ */
135
+ export declare function mergeElementRegistries(base: PageElementRegistry, overlay?: PageElementRegistry): PageElementRegistry;
136
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/elements/registry.ts"],"names":[],"mappings":"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"}
@@ -5,4 +5,4 @@ type __VLS_Props = {
5
5
  };
6
6
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
7
  export default _default;
8
- //# sourceMappingURL=SectionProps.vue.d.ts.map
8
+ //# sourceMappingURL=SectionInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/section/SectionInspector.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAC/C,CAAC;;AAsEF,wBAOG"}
@@ -0,0 +1,22 @@
1
+ import { SectionNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SectionNode;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=SectionRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/section/SectionRenderer.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC;AAOzC,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const sectionElement: import('../registry').PageElementDefinition<{
2
+ title?: string;
3
+ }>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/section/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;EAWzB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { SelectNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ modelValue: unknown;
4
+ props: SelectNode['props'];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: unknown) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
12
+ //# sourceMappingURL=SelectDefaultInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectDefaultInput.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/select/SelectDefaultInput.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC5B,CAAC;;;;;;AA0EF,wBAQG"}
@@ -5,4 +5,4 @@ type __VLS_Props = {
5
5
  };
6
6
  declare const _default: 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
7
  export default _default;
8
- //# sourceMappingURL=SelectProps.vue.d.ts.map
8
+ //# sourceMappingURL=SelectInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/select/SelectInspector.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CAC9C,CAAC;;AAqLF,wBAMG"}
@@ -0,0 +1,8 @@
1
+ import { SelectNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SelectNode;
4
+ resolveAsset?: (id: string) => string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
8
+ //# sourceMappingURL=SelectPreview.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/select/SelectPreview.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,CAAC;;AAoEF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import { SelectNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SelectNode;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=SelectRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/select/SelectRenderer.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK/C,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;;AAiGxC,wBAOG"}
@@ -0,0 +1,8 @@
1
+ export declare const selectElement: import('../registry').PageElementDefinition<{
2
+ label?: string;
3
+ placeholder?: string;
4
+ options?: import('../..').OptionItem[];
5
+ optionsSourceId?: string;
6
+ disabled?: boolean;
7
+ }>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/select/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;EAqBxB,CAAC"}
@@ -5,4 +5,4 @@ type __VLS_Props = {
5
5
  };
6
6
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
7
  export default _default;
8
- //# sourceMappingURL=SpacerProps.vue.d.ts.map
8
+ //# sourceMappingURL=SpacerInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacerInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/spacer/SpacerInspector.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CAC9C,CAAC;;AA0EF,wBAOG"}
@@ -0,0 +1,8 @@
1
+ import { SpacerNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SpacerNode;
4
+ resolveAsset?: (id: string) => string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
8
+ //# sourceMappingURL=SpacerPreview.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacerPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/spacer/SpacerPreview.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,CAAC;;AA2CF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import { SpacerNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SpacerNode;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=SpacerRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacerRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/spacer/SpacerRenderer.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;;AAmDxC,wBAOG"}
@@ -0,0 +1,4 @@
1
+ export declare const spacerElement: import('../registry').PageElementDefinition<{
2
+ size?: string;
3
+ }>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/spacer/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa;;EAYxB,CAAC"}
@@ -5,4 +5,4 @@ type __VLS_Props = {
5
5
  };
6
6
  declare const _default: 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
7
  export default _default;
8
- //# sourceMappingURL=StackProps.vue.d.ts.map
8
+ //# sourceMappingURL=StackInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StackInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/stack/StackInspector.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;CAC7C,CAAC;;AAwGF,wBAMG"}
@@ -0,0 +1,22 @@
1
+ import { StackNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: StackNode;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=StackRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StackRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/stack/StackRenderer.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAOvC,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const stackElement: import('../registry').PageElementDefinition<{
2
+ direction?: "column" | "row";
3
+ wrap?: boolean;
4
+ }>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/stack/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;EAWvB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { SwitchNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ modelValue: unknown;
4
+ props: SwitchNode['props'];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: unknown) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
12
+ //# sourceMappingURL=SwitchDefaultInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchDefaultInput.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/switch/SwitchDefaultInput.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC5B,CAAC;;;;;;AAmEF,wBAQG"}
@@ -0,0 +1,10 @@
1
+ import { SwitchNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SwitchNode;
4
+ patch: (update: Partial<Omit<SwitchNode, 'props'>> & {
5
+ props?: Partial<SwitchNode['props']>;
6
+ }) => void;
7
+ };
8
+ declare const _default: 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>;
9
+ export default _default;
10
+ //# sourceMappingURL=SwitchInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/switch/SwitchInspector.vue"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,GAAG;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;CACxG,CAAC;;AAyFF,wBAMG"}
@@ -0,0 +1,8 @@
1
+ import { SwitchNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SwitchNode;
4
+ resolveAsset?: (id: string) => string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
8
+ //# sourceMappingURL=SwitchPreview.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/switch/SwitchPreview.vue"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,CAAC;;AAoDF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import { SwitchNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: SwitchNode;
4
+ };
5
+ declare const _default: 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>;
6
+ export default _default;
7
+ //# sourceMappingURL=SwitchRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/switch/SwitchRenderer.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;;AAsFxC,wBAMG"}
@@ -0,0 +1,5 @@
1
+ export declare const switchElement: import('../registry').PageElementDefinition<{
2
+ label: string;
3
+ disabled?: boolean;
4
+ }>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/switch/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;EAexB,CAAC"}
@@ -5,4 +5,4 @@ type __VLS_Props = {
5
5
  };
6
6
  declare const _default: 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
7
  export default _default;
8
- //# sourceMappingURL=TextInputProps.vue.d.ts.map
8
+ //# sourceMappingURL=TextInputInspector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInputInspector.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/text-input/TextInputInspector.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CACjD,CAAC;;AAkMF,wBAMG"}
@@ -0,0 +1,8 @@
1
+ import { TextInputNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: TextInputNode;
4
+ resolveAsset?: (id: string) => string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
8
+ //# sourceMappingURL=TextInputPreview.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInputPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/text-input/TextInputPreview.vue"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,aAAa,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,CAAC;;AAmEF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import { TextInputNode } from '../../schema';
2
+ type __VLS_Props = {
3
+ node: TextInputNode;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=TextInputRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInputRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/elements/text-input/TextInputRenderer.vue"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC;;AAwG3C,wBAOG"}
@@ -0,0 +1,8 @@
1
+ export declare const textInputElement: import('../registry').PageElementDefinition<{
2
+ label?: string;
3
+ placeholder?: string;
4
+ inputType?: "text" | "email" | "url";
5
+ rows?: number;
6
+ disabled?: boolean;
7
+ }>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/text-input/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;EAqB3B,CAAC"}