@koumoul/vjsf 3.0.0-beta.4 → 3.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/package.json +2 -2
  2. package/src/composables/use-vjsf.js +14 -6
  3. package/types/compat/v2.d.ts +10 -0
  4. package/types/compat/v2.d.ts.map +1 -0
  5. package/types/compile/index.d.ts +8 -0
  6. package/types/compile/index.d.ts.map +1 -0
  7. package/types/compile/options.d.ts +4 -0
  8. package/types/compile/options.d.ts.map +1 -0
  9. package/types/components/fragments/help-message.vue.d.ts +8 -0
  10. package/types/components/fragments/help-message.vue.d.ts.map +1 -0
  11. package/types/components/fragments/node-slot.vue.d.ts +47 -0
  12. package/types/components/fragments/node-slot.vue.d.ts.map +1 -0
  13. package/types/components/fragments/section-header.vue.d.ts +8 -0
  14. package/types/components/fragments/section-header.vue.d.ts.map +1 -0
  15. package/types/components/fragments/select-item-icon.vue.d.ts +15 -0
  16. package/types/components/fragments/select-item-icon.vue.d.ts.map +1 -0
  17. package/types/components/fragments/select-item.vue.d.ts +12 -0
  18. package/types/components/fragments/select-item.vue.d.ts.map +1 -0
  19. package/types/components/fragments/select-selection.vue.d.ts +12 -0
  20. package/types/components/fragments/select-selection.vue.d.ts.map +1 -0
  21. package/types/components/fragments/text-field-menu.vue.d.ts +20 -0
  22. package/types/components/fragments/text-field-menu.vue.d.ts.map +1 -0
  23. package/types/components/node.vue.d.ts +10 -0
  24. package/types/components/node.vue.d.ts.map +1 -0
  25. package/types/components/nodes/autocomplete.vue.d.ts +27 -0
  26. package/types/components/nodes/autocomplete.vue.d.ts.map +1 -0
  27. package/types/components/nodes/checkbox.vue.d.ts +10 -0
  28. package/types/components/nodes/checkbox.vue.d.ts.map +1 -0
  29. package/types/components/nodes/color-picker.vue.d.ts +10 -0
  30. package/types/components/nodes/color-picker.vue.d.ts.map +1 -0
  31. package/types/components/nodes/combobox.vue.d.ts +27 -0
  32. package/types/components/nodes/combobox.vue.d.ts.map +1 -0
  33. package/types/components/nodes/date-picker.vue.d.ts +10 -0
  34. package/types/components/nodes/date-picker.vue.d.ts.map +1 -0
  35. package/types/components/nodes/date-time-picker.vue.d.ts +10 -0
  36. package/types/components/nodes/date-time-picker.vue.d.ts.map +1 -0
  37. package/types/components/nodes/expansion-panels.vue.d.ts +10 -0
  38. package/types/components/nodes/expansion-panels.vue.d.ts.map +1 -0
  39. package/types/components/nodes/file-input.vue.d.ts +27 -0
  40. package/types/components/nodes/file-input.vue.d.ts.map +1 -0
  41. package/types/components/nodes/list.vue.d.ts +10 -0
  42. package/types/components/nodes/list.vue.d.ts.map +1 -0
  43. package/types/components/nodes/number-combobox.vue.d.ts +27 -0
  44. package/types/components/nodes/number-combobox.vue.d.ts.map +1 -0
  45. package/types/components/nodes/number-field.vue.d.ts +27 -0
  46. package/types/components/nodes/number-field.vue.d.ts.map +1 -0
  47. package/types/components/nodes/one-of-select.vue.d.ts +10 -0
  48. package/types/components/nodes/one-of-select.vue.d.ts.map +1 -0
  49. package/types/components/nodes/section.vue.d.ts +10 -0
  50. package/types/components/nodes/section.vue.d.ts.map +1 -0
  51. package/types/components/nodes/select.vue.d.ts +27 -0
  52. package/types/components/nodes/select.vue.d.ts.map +1 -0
  53. package/types/components/nodes/slider.vue.d.ts +10 -0
  54. package/types/components/nodes/slider.vue.d.ts.map +1 -0
  55. package/types/components/nodes/stepper.vue.d.ts +10 -0
  56. package/types/components/nodes/stepper.vue.d.ts.map +1 -0
  57. package/types/components/nodes/switch.vue.d.ts +10 -0
  58. package/types/components/nodes/switch.vue.d.ts.map +1 -0
  59. package/types/components/nodes/tabs.vue.d.ts +10 -0
  60. package/types/components/nodes/tabs.vue.d.ts.map +1 -0
  61. package/types/components/nodes/text-field.vue.d.ts +27 -0
  62. package/types/components/nodes/text-field.vue.d.ts.map +1 -0
  63. package/types/components/nodes/textarea.vue.d.ts +27 -0
  64. package/types/components/nodes/textarea.vue.d.ts.map +1 -0
  65. package/types/components/nodes/time-picker.vue.d.ts +3 -0
  66. package/types/components/nodes/time-picker.vue.d.ts.map +1 -0
  67. package/types/components/nodes/vertical-tabs.vue.d.ts +10 -0
  68. package/types/components/nodes/vertical-tabs.vue.d.ts.map +1 -0
  69. package/types/components/options.d.ts +4 -0
  70. package/types/components/options.d.ts.map +1 -0
  71. package/types/components/tree.vue.d.ts +10 -0
  72. package/types/components/tree.vue.d.ts.map +1 -0
  73. package/types/components/vjsf.vue.d.ts +15 -0
  74. package/types/components/vjsf.vue.d.ts.map +1 -0
  75. package/types/composables/use-dnd.d.ts +25 -0
  76. package/types/composables/use-dnd.d.ts.map +1 -0
  77. package/types/composables/use-vjsf.d.ts +16 -0
  78. package/types/composables/use-vjsf.d.ts.map +1 -0
  79. package/types/index.d.ts +5 -0
  80. package/types/index.d.ts.map +1 -0
  81. package/types/types.d.ts +81 -0
  82. package/types/types.d.ts.map +1 -0
  83. package/types/utils/arrays.d.ts +9 -0
  84. package/types/utils/arrays.d.ts.map +1 -0
  85. package/types/utils/build.d.ts +2 -0
  86. package/types/utils/build.d.ts.map +1 -0
  87. package/types/utils/dates.d.ts +7 -0
  88. package/types/utils/dates.d.ts.map +1 -0
  89. package/types/utils/global-register.d.ts +8 -0
  90. package/types/utils/global-register.d.ts.map +1 -0
  91. package/types/utils/index.d.ts +6 -0
  92. package/types/utils/index.d.ts.map +1 -0
  93. package/types/utils/props.d.ts +23 -0
  94. package/types/utils/props.d.ts.map +1 -0
  95. package/types/utils/slots.d.ts +7 -0
  96. package/types/utils/slots.d.ts.map +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koumoul/vjsf",
3
- "version": "3.0.0-beta.4",
3
+ "version": "3.0.0-beta.5",
4
4
  "description": "Generate forms for the vuetify UI library (vuejs) based on annotated JSON schemas.",
5
5
  "scripts": {
6
6
  "test": "vitest",
@@ -75,7 +75,7 @@
75
75
  "vuetify": "^3.4.9"
76
76
  },
77
77
  "dependencies": {
78
- "@json-layout/core": "0.10.0",
78
+ "@json-layout/core": "0.11.0",
79
79
  "@vueuse/core": "^10.5.0",
80
80
  "debug": "^4.3.4",
81
81
  "ejs": "^3.1.9"
@@ -1,4 +1,4 @@
1
- import { StatefulLayout } from '@json-layout/core'
1
+ import { StatefulLayout, produceCompileOptions } from '@json-layout/core'
2
2
  import { inject, toRaw, shallowRef, computed, ref, watch, useSlots } from 'vue'
3
3
  import { useElementSize } from '@vueuse/core'
4
4
  import { getFullOptions } from '../components/options.js'
@@ -51,10 +51,19 @@ export const useVjsf = (schema, modelValue, options, nodeComponents, emit, compi
51
51
 
52
52
  const fullOptions = computed(() => getFullOptions(options.value, form, width.value, slots, { ...nodeComponents, ...toRaw(registeredNodeComponents.value) }))
53
53
 
54
+ // do not use a simple computed here as we want to prevent recompiling the layout when the options are the same
55
+ /** @type {import('vue').Ref<import('@json-layout/core').PartialCompileOptions>} */
56
+ const compileOptions = ref({})
57
+ watch(fullOptions, (newOptions) => {
58
+ if (precompiledLayout?.value) return
59
+ const newCompileOptions = produceCompileOptions(compileOptions.value, newOptions)
60
+ if (newCompileOptions !== compileOptions.value) compileOptions.value = newCompileOptions
61
+ }, { immediate: true })
62
+
54
63
  const compiledLayout = computed(() => {
55
64
  if (precompiledLayout?.value) return precompiledLayout?.value
56
65
  if (!compile) throw new Error('compile function is not available')
57
- const compiledLayout = compile(schema.value, fullOptions.value)
66
+ const compiledLayout = compile(schema.value, compileOptions.value)
58
67
  return compiledLayout
59
68
  })
60
69
 
@@ -73,6 +82,7 @@ export const useVjsf = (schema, modelValue, options, nodeComponents, emit, compi
73
82
 
74
83
  const initStatefulLayout = () => {
75
84
  if (!width.value) return
85
+
76
86
  // @ts-ignore
77
87
  const _statefulLayout = /** @type {import('../types.js').VjsfStatefulLayout} */(new StatefulLayout(
78
88
  toRaw(compiledLayout.value),
@@ -97,10 +107,8 @@ export const useVjsf = (schema, modelValue, options, nodeComponents, emit, compi
97
107
  })
98
108
  }
99
109
 
110
+ // case where options are updated from outside
100
111
  watch(fullOptions, (newOptions) => {
101
- // in case of runtime compilation the watch on compiledLayout will be triggered
102
- if (!precompiledLayout?.value) return
103
-
104
112
  if (statefulLayout.value) {
105
113
  statefulLayout.value.options = newOptions
106
114
  } else {
@@ -113,7 +121,7 @@ export const useVjsf = (schema, modelValue, options, nodeComponents, emit, compi
113
121
  if (statefulLayout.value && statefulLayout.value.data !== newData) statefulLayout.value.data = toRaw(newData)
114
122
  })
115
123
 
116
- // case where schema is updated from outside
124
+ // case where schema or compile options are updated from outside
117
125
  watch(compiledLayout, (newCompiledLayout) => {
118
126
  initStatefulLayout()
119
127
  })
@@ -0,0 +1,10 @@
1
+ /**
2
+ *
3
+ * @param {object} _schema
4
+ * @param {import("ajv").default} [_ajv]
5
+ * @param {string} lang
6
+ * @returns
7
+ */
8
+ export function v2compat(_schema: object, _ajv?: ajvModule.default | undefined, lang?: string): ajvModule.SchemaObject;
9
+ import ajvModule from 'ajv';
10
+ //# sourceMappingURL=v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/compat/v2.js"],"names":[],"mappings":"AA8FA;;;;;;GAMG;AACH,kCALW,MAAM,+CAEN,MAAM,0BAkBhB;sBApHqB,KAAK"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @param {object} schema
3
+ * @param {import('../types.js').PartialVjsfCompileOptions} [options]
4
+ * @param {string} [baseImport]
5
+ * @returns {string}
6
+ */
7
+ export function compile(schema: object, options?: Partial<Omit<import("../types.js").VjsfCompileOptions, "width">> | undefined, baseImport?: string | undefined): string;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compile/index.js"],"names":[],"mappings":"AAmCA;;;;;GAKG;AACH,gCALW,MAAM,4HAGJ,MAAM,CAyBlB"}
@@ -0,0 +1,4 @@
1
+ /** @type import("../types.js").PartialVjsfCompileOptions */
2
+ export const defaultOptions: import("../types.js").PartialVjsfCompileOptions;
3
+ export function getFullOptions(options: import("../types.js").PartialVjsfCompileOptions): import("../types.js").VjsfCompileOptions;
4
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/compile/options.js"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,6BADU,OAAO,aAAa,EAAE,yBAAyB,CAKxD;AAOM,wCAHI,OAAO,aAAa,EAAE,yBAAyB,4CASzD"}
@@ -0,0 +1,8 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ node: import("../../types.js").VjsfNode;
3
+ $props: {
4
+ readonly node?: import("../../types.js").VjsfNode | undefined;
5
+ };
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
7
+ export default _default;
8
+ //# sourceMappingURL=help-message.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help-message.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/help-message.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,47 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ layoutSlot: {
3
+ /** @type import('vue').PropType<import('@json-layout/vocabulary').Slot> */
4
+ type: import('vue').PropType<import('@json-layout/vocabulary').Slot>;
5
+ required: true;
6
+ };
7
+ node: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfNode> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfNode>;
10
+ required: true;
11
+ };
12
+ statefulLayout: {
13
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
14
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
15
+ required: true;
16
+ };
17
+ tag: {
18
+ /** @type import('vue').PropType<string> */
19
+ type: import('vue').PropType<string>;
20
+ default: null;
21
+ };
22
+ }, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ layoutSlot: {
24
+ /** @type import('vue').PropType<import('@json-layout/vocabulary').Slot> */
25
+ type: import('vue').PropType<import('@json-layout/vocabulary').Slot>;
26
+ required: true;
27
+ };
28
+ node: {
29
+ /** @type import('vue').PropType<import('../../types.js').VjsfNode> */
30
+ type: import('vue').PropType<import('../../types.js').VjsfNode>;
31
+ required: true;
32
+ };
33
+ statefulLayout: {
34
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
35
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
36
+ required: true;
37
+ };
38
+ tag: {
39
+ /** @type import('vue').PropType<string> */
40
+ type: import('vue').PropType<string>;
41
+ default: null;
42
+ };
43
+ }>>, {
44
+ tag: string;
45
+ }, {}>;
46
+ export default _default;
47
+ //# sourceMappingURL=node-slot.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-slot.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/node-slot.vue.js"],"names":[],"mappings":";;QAUM,2EAA2E;cAAjE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,yBAAyB,EAAE,IAAI,CAAC;;;;QAKxE,sEAAsE;cAA5D,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,QAAQ,CAAC;;;;QAKnE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;QAK7E,2CAA2C;cAAjC,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC;;;;;QAfxC,2EAA2E;cAAjE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,yBAAyB,EAAE,IAAI,CAAC;;;;QAKxE,sEAAsE;cAA5D,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,QAAQ,CAAC;;;;QAKnE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;QAK7E,2CAA2C;cAAjC,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC"}
@@ -0,0 +1,8 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ node: import("../../types.js").VjsfNode;
3
+ $props: {
4
+ readonly node?: import("../../types.js").VjsfNode | undefined;
5
+ };
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
7
+ export default _default;
8
+ //# sourceMappingURL=section-header.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section-header.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/section-header.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ icon: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
+ [key: string]: any;
8
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ icon: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ export default _default;
15
+ //# sourceMappingURL=select-item-icon.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-item-icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/select-item-icon.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ multiple: boolean;
3
+ item: import("../../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItem;
4
+ itemProps: Record<string, any>;
5
+ $props: {
6
+ readonly multiple?: boolean | undefined;
7
+ readonly item?: import("../../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItem | undefined;
8
+ readonly itemProps?: Record<string, any> | undefined;
9
+ };
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
11
+ export default _default;
12
+ //# sourceMappingURL=select-item.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/select-item.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ multiple: boolean;
3
+ item: import("../../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItem;
4
+ last: boolean;
5
+ $props: {
6
+ readonly multiple?: boolean | undefined;
7
+ readonly item?: import("../../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItem | undefined;
8
+ readonly last?: boolean | undefined;
9
+ };
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
11
+ export default _default;
12
+ //# sourceMappingURL=select-selection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-selection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/select-selection.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ formattedValue: string | null;
5
+ $props: {
6
+ readonly modelValue?: import("../../types.js").VjsfNode | undefined;
7
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
8
+ readonly formattedValue?: string | null | undefined;
9
+ };
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
11
+ "prepend-inner"?(_: {}): any;
12
+ default?(_: {
13
+ close: () => boolean;
14
+ }): any;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
18
+ $slots: S;
19
+ });
20
+ //# sourceMappingURL=text-field-menu.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-field-menu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/fragments/text-field-menu.vue.js"],"names":[],"mappings":";;;;;;;;;;6BAkIsC,GAAG;;;QACX,GAAG"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../types.js").VjsfNode;
3
+ statefulLayout: import("../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../types.js").VjsfNode | undefined;
6
+ readonly statefulLayout?: import("../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=node.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.vue.d.ts","sourceRoot":"","sources":["../../src/components/node.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfSelectNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfSelectNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfSelectNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfSelectNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=autocomplete.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autocomplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/autocomplete.vue.js"],"names":[],"mappings":";;QAWI,4EAA4E;cAAlE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,cAAc,CAAC;;;;QAKzE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,4EAA4E;cAAlE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,cAAc,CAAC;;;;QAKzE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfCheckboxNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfCheckboxNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=checkbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/checkbox.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfColorPickerNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfColorPickerNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=color-picker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-picker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/color-picker.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfComboboxNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfComboboxNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfComboboxNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfComboboxNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=combobox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/combobox.vue.js"],"names":[],"mappings":";;QASM,8EAA8E;cAApE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,gBAAgB,CAAC;;;;QAK3E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,8EAA8E;cAApE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,gBAAgB,CAAC;;;;QAK3E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfDatePickerNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfDatePickerNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=date-picker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-picker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/date-picker.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfDateTimePickerNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfDateTimePickerNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=date-time-picker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-time-picker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/date-time-picker.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfExpansionPanelsNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfExpansionPanelsNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=expansion-panels.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expansion-panels.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/expansion-panels.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfFileInputNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfFileInputNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfFileInputNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfFileInputNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=file-input.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/file-input.vue.js"],"names":[],"mappings":";;QASM,+EAA+E;cAArE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,iBAAiB,CAAC;;;;QAK5E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,+EAA+E;cAArE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,iBAAiB,CAAC;;;;QAK5E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfListNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfListNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=list.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/list.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfComboboxNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfComboboxNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfComboboxNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfComboboxNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=number-combobox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"number-combobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/number-combobox.vue.js"],"names":[],"mappings":";;QASM,8EAA8E;cAApE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,gBAAgB,CAAC;;;;QAK3E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,8EAA8E;cAApE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,gBAAgB,CAAC;;;;QAK3E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfNumberFieldNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfNumberFieldNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfNumberFieldNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfNumberFieldNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=number-field.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"number-field.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/number-field.vue.js"],"names":[],"mappings":";;QASM,iFAAiF;cAAvE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,mBAAmB,CAAC;;;;QAK9E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,iFAAiF;cAAvE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,mBAAmB,CAAC;;;;QAK9E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfOneOfSelectNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfOneOfSelectNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=one-of-select.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"one-of-select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/one-of-select.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfSectionNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfSectionNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=section.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/section.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfSelectNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfSelectNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfSelectNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfSelectNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=select.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/select.vue.js"],"names":[],"mappings":";;QAWI,4EAA4E;cAAlE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,cAAc,CAAC;;;;QAKzE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,4EAA4E;cAAlE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,cAAc,CAAC;;;;QAKzE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfSliderNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfSliderNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=slider.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/slider.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfStepperNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfStepperNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=stepper.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/stepper.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfSwitchNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfSwitchNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=switch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/switch.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfTabsNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfTabsNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=tabs.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/tabs.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfTextFieldNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfTextFieldNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfTextFieldNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfTextFieldNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=text-field.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-field.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/text-field.vue.js"],"names":[],"mappings":";;QASM,+EAA+E;cAArE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,iBAAiB,CAAC;;;;QAK5E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,+EAA+E;cAArE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,iBAAiB,CAAC;;;;QAK5E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ /** @type import('vue').PropType<import('../../types.js').VjsfTextareaNode> */
4
+ type: import('vue').PropType<import('../../types.js').VjsfTextareaNode>;
5
+ required: true;
6
+ };
7
+ statefulLayout: {
8
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
10
+ required: true;
11
+ };
12
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfTextareaNode> */
17
+ type: import('vue').PropType<import('../../types.js').VjsfTextareaNode>;
18
+ required: true;
19
+ };
20
+ statefulLayout: {
21
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
+ type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
23
+ required: true;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=textarea.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/textarea.vue.js"],"names":[],"mappings":";;QASM,8EAA8E;cAApE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,gBAAgB,CAAC;;;;QAK3E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;;;QAL7E,8EAA8E;cAApE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,gBAAgB,CAAC;;;;QAK3E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
3
+ //# sourceMappingURL=time-picker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-picker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/time-picker.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../types.js").VjsfVerticalTabsNode;
3
+ statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../types.js").VjsfVerticalTabsNode | undefined;
6
+ readonly statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=vertical-tabs.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vertical-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/vertical-tabs.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ /** @type {import("../types.js").PartialVjsfOptions} */
2
+ export const defaultOptions: import("../types.js").PartialVjsfOptions;
3
+ export function getFullOptions(options: Partial<import("../types.js").VjsfOptions> | null, form: any, width: number, slots: import("vue").Slots, nodeComponents: Record<string, import('vue').Component>): import("../types.js").VjsfOptions;
4
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/components/options.js"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,6BADW,OAAO,aAAa,EAAE,kBAAkB,CAIlD;AAWM,wCAPI,QAAQ,OAAO,aAAa,EAAE,WAAW,CAAC,GAAG,IAAI,QACjD,GAAG,SACH,MAAM,SACN,OAAO,KAAK,EAAE,KAAK,kBACnB,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,qCAcjD"}
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ modelValue: import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree;
3
+ statefulLayout: import("../types.js").VjsfStatefulLayout;
4
+ $props: {
5
+ readonly modelValue?: import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree | undefined;
6
+ readonly statefulLayout?: import("../types.js").VjsfStatefulLayout | undefined;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ export default _default;
10
+ //# sourceMappingURL=tree.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree.vue.d.ts","sourceRoot":"","sources":["../../src/components/tree.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $emit: ((event: "update:modelValue", data: any) => void) & ((event: "update:state", state: import("../types.js").VjsfStatefulLayout) => void);
3
+ options: Partial<Omit<import("../types.js").VjsfOptions, "width">> | null;
4
+ modelValue: any;
5
+ schema: Record<string, any>;
6
+ precompiledLayout: import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout;
7
+ $props: {
8
+ readonly options?: Partial<Omit<import("../types.js").VjsfOptions, "width">> | null | undefined;
9
+ readonly modelValue?: any;
10
+ readonly schema?: Record<string, any> | undefined;
11
+ readonly precompiledLayout?: import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout | undefined;
12
+ };
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
14
+ export default _default;
15
+ //# sourceMappingURL=vjsf.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vjsf.vue.d.ts","sourceRoot":"","sources":["../../src/components/vjsf.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @template T
3
+ * @param {T[]} array
4
+ * @param {() => void} callback
5
+ * @returns
6
+ */
7
+ export default function useDnd<T>(array: T[], callback: () => void): {
8
+ activeDnd: import("vue").ComputedRef<boolean>;
9
+ sortableArray: import("vue").ShallowRef<T[]>;
10
+ hovered: import("vue").Ref<number>;
11
+ draggable: import("vue").Ref<number>;
12
+ dragging: import("vue").Ref<number>;
13
+ itemBind: (itemIndex: number) => {
14
+ onMouseenter: () => void;
15
+ onMouseleave: () => void;
16
+ onDragstart: () => void;
17
+ onDragover: () => void;
18
+ onDragend: () => void;
19
+ };
20
+ handleBind: (itemIndex: number) => {
21
+ onMouseover(): void;
22
+ onMouseout(): void;
23
+ };
24
+ };
25
+ //# sourceMappingURL=use-dnd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-dnd.d.ts","sourceRoot":"","sources":["../../src/composables/use-dnd.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wDAHW,MAAM,IAAI;;;;;;0BAoBU,MAAM;;;;;;;4BAuBJ,MAAM;;;;EAmBtC"}
@@ -0,0 +1,16 @@
1
+ export const emits: {
2
+ /**
3
+ * @arg {any} data
4
+ */
5
+ 'update:modelValue': (data: any) => boolean;
6
+ /**
7
+ * @arg {import('../types.js').VjsfStatefulLayout} state
8
+ */
9
+ 'update:state': (state: import('../types.js').VjsfStatefulLayout) => boolean;
10
+ };
11
+ export function useVjsf(schema: import('vue').Ref<Object>, modelValue: import('vue').Ref<any>, options: import('vue').Ref<import("../types.js").PartialVjsfOptions | null>, nodeComponents: Record<string, import('vue').Component>, emit: any, compile?: typeof import("@json-layout/core").compile | undefined, precompiledLayout?: import("vue").Ref<import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout> | undefined): {
12
+ el: import("vue").Ref<null>;
13
+ statefulLayout: import("vue").ShallowRef<import("../types.js").VjsfStatefulLayout | null>;
14
+ stateTree: import("vue").ShallowRef<import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree | null>;
15
+ };
16
+ //# sourceMappingURL=use-vjsf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-vjsf.d.ts","sourceRoot":"","sources":["../../src/composables/use-vjsf.js"],"names":[],"mappings":"AAMA;IACE;;MAEE;gCADO,GAAG;IAGZ;;MAEE;4BADO,OAAO,aAAa,EAAE,kBAAkB;EAGlD;AAWM,gCARI,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,cACzB,OAAO,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,WACtB,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,aAAa,EAAE,kBAAkB,GAAG,IAAI,CAAC,kBAClE,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,QACvC,GAAG;;;;EA2Gb"}
@@ -0,0 +1,5 @@
1
+ export default Vjsf;
2
+ import Vjsf from './components/vjsf.vue';
3
+ import { defaultOptions } from './components/options.js';
4
+ export { Vjsf, defaultOptions };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";iBAAiB,uBAAuB;+BACT,yBAAyB"}
@@ -0,0 +1,81 @@
1
+ import { Component } from 'vue';
2
+ import { StatefulLayout, StatefulLayoutOptions, StateNode, CheckboxNode, ColorPickerNode, DatePickerNode, DateTimePickerNode, TabsNode, ExpansionPanelsNode, ListNode, NumberFieldNode, OneOfSelectNode, SectionNode, SelectNode, SliderNode, SwitchNode, TextFieldNode, TextareaNode, VerticalTabsNode, StepperNode, ComboboxNode, MarkdownNode, FileInputNode, CompileOptions } from '@json-layout/core';
3
+ export type Density = 'default' | 'comfortable' | 'compact';
4
+ export type VjsfStatefulLayoutOptions = StatefulLayoutOptions & {
5
+ vjsfSlots: Record<string, () => unknown>;
6
+ nodeComponents: Record<string, Component>;
7
+ plugins: Record<string, unknown>;
8
+ };
9
+ export type VjsfCompileOptions = CompileOptions & {
10
+ nodeComponentImports: Record<string, string>;
11
+ };
12
+ export type VjsfOptions = VjsfCompileOptions & VjsfStatefulLayoutOptions;
13
+ export type VjsfStatefulLayout = Omit<StatefulLayout, 'options'> & {
14
+ options: VjsfStatefulLayoutOptions;
15
+ };
16
+ export type PartialVjsfCompileOptions = Partial<Omit<VjsfCompileOptions, 'width'>>;
17
+ export type PartialVjsfOptions = Partial<Omit<VjsfOptions, 'width'>>;
18
+ export type VjsfNode = Omit<StateNode, 'options'> & {
19
+ options: VjsfOptions;
20
+ };
21
+ export type VjsfTabsNode = Omit<TabsNode, 'options'> & {
22
+ options: VjsfOptions;
23
+ };
24
+ export type VjsfCheckboxNode = Omit<CheckboxNode, 'options'> & {
25
+ options: VjsfOptions;
26
+ };
27
+ export type VjsfColorPickerNode = Omit<ColorPickerNode, 'options'> & {
28
+ options: VjsfOptions;
29
+ };
30
+ export type VjsfDatePickerNode = Omit<DatePickerNode, 'options'> & {
31
+ options: VjsfOptions;
32
+ };
33
+ export type VjsfDateTimePickerNode = Omit<DateTimePickerNode, 'options'> & {
34
+ options: VjsfOptions;
35
+ };
36
+ export type VjsfExpansionPanelsNode = Omit<ExpansionPanelsNode, 'options'> & {
37
+ options: VjsfOptions;
38
+ };
39
+ export type VjsfListNode = Omit<ListNode, 'options'> & {
40
+ options: VjsfOptions;
41
+ };
42
+ export type VjsfNumberFieldNode = Omit<NumberFieldNode, 'options'> & {
43
+ options: VjsfOptions;
44
+ };
45
+ export type VjsfOneOfSelectNode = Omit<OneOfSelectNode, 'options'> & {
46
+ options: VjsfOptions;
47
+ };
48
+ export type VjsfSectionNode = Omit<SectionNode, 'options'> & {
49
+ options: VjsfOptions;
50
+ };
51
+ export type VjsfSelectNode = Omit<SelectNode, 'options'> & {
52
+ options: VjsfOptions;
53
+ };
54
+ export type VjsfSliderNode = Omit<SliderNode, 'options'> & {
55
+ options: VjsfOptions;
56
+ };
57
+ export type VjsfSwitchNode = Omit<SwitchNode, 'options'> & {
58
+ options: VjsfOptions;
59
+ };
60
+ export type VjsfTextFieldNode = Omit<TextFieldNode, 'options'> & {
61
+ options: VjsfOptions;
62
+ };
63
+ export type VjsfTextareaNode = Omit<TextareaNode, 'options'> & {
64
+ options: VjsfOptions;
65
+ };
66
+ export type VjsfMarkdownNode = Omit<MarkdownNode, 'options'> & {
67
+ options: VjsfOptions;
68
+ };
69
+ export type VjsfVerticalTabsNode = Omit<VerticalTabsNode, 'options'> & {
70
+ options: VjsfOptions;
71
+ };
72
+ export type VjsfStepperNode = Omit<StepperNode, 'options'> & {
73
+ options: VjsfOptions;
74
+ };
75
+ export type VjsfComboboxNode = Omit<ComboboxNode, 'options'> & {
76
+ options: VjsfOptions;
77
+ };
78
+ export type VjsfFileInputNode = Omit<FileInputNode, 'options'> & {
79
+ options: VjsfOptions;
80
+ };
81
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @template T
3
+ * @param {T[]} array
4
+ * @param {number} fromIndex
5
+ * @param {number} toIndex
6
+ * @return {T[]}
7
+ */
8
+ export function moveArrayItem<T>(array: T[], fromIndex: number, toIndex: number): T[];
9
+ //# sourceMappingURL=arrays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../src/utils/arrays.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wDAJW,MAAM,WACN,MAAM,OAUhB"}
@@ -0,0 +1,2 @@
1
+ export { commonjsDeps } from "@json-layout/core/utils/build";
2
+ //# sourceMappingURL=build.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/utils/build.js"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export function padTimeComponent(val: number): string;
2
+ export function getDateTimeWithOffset(date: Date): string;
3
+ export function getDateTimeParts(date: Date): string[];
4
+ export function getDateTime(parts: [string, string]): string;
5
+ export function getShortTime(time: string | undefined): string;
6
+ export function getLongTime(time: string): string;
7
+ //# sourceMappingURL=dates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dates.d.ts","sourceRoot":"","sources":["../../src/utils/dates.js"],"names":[],"mappings":"AAGO,sCAAoC,MAAM,UAGhD;AAMM,4CAAyC,IAAI,UAQnD;AAIM,uCAAoC,IAAI,YAE9C;AAIM,mCAA+B,CAAC,MAAM,EAAE,MAAM,CAAC,UAWrD;AAGM,mCAAgC,MAAM,GAAG,SAAS,UAGxD;AAEM,kCAA+B,MAAM,UAE3C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @param {string} name
3
+ * @param {import('vue').Component} component
4
+ */
5
+ export function registerNodeComponent(name: string, component: import('vue').Component): void;
6
+ /** @type {import('vue').Ref<Record<string, import('vue').Component>>} */
7
+ export const registeredNodeComponents: import('vue').Ref<Record<string, import('vue').Component>>;
8
+ //# sourceMappingURL=global-register.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-register.d.ts","sourceRoot":"","sources":["../../src/utils/global-register.js"],"names":[],"mappings":"AAKA;;;GAGG;AACH,4CAHW,MAAM,aACN,OAAO,KAAK,EAAE,SAAS,QAKjC;AAVD,yEAAyE;AACzE,uCADW,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,CAAC,CACtB"}
@@ -0,0 +1,6 @@
1
+ export * from "./arrays.js";
2
+ export * from "./dates.js";
3
+ export * from "./props.js";
4
+ export * from "./slots.js";
5
+ export * from "./global-register.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @param {(Record<string, any> | undefined)[]} propsLevels
3
+ * @returns {Record<string, any> & {class: string[]}}
4
+ */
5
+ export function mergePropsLevels(propsLevels: (Record<string, any> | undefined)[]): Record<string, any> & {
6
+ class: string[];
7
+ };
8
+ /**
9
+ * @param {import('../types.js').VjsfNode} node
10
+ * @param {import('../types.js').VjsfStatefulLayout} statefulLayout
11
+ * @param {(string | [string, string])[]} [layoutPropsMap]
12
+ * @param {boolean} [isMainComp]
13
+ * @returns {Record<string, any>}
14
+ */
15
+ export function getInputProps(node: import('../types.js').VjsfNode, statefulLayout: import('../types.js').VjsfStatefulLayout, layoutPropsMap?: (string | [string, string])[] | undefined, isMainComp?: boolean | undefined): Record<string, any>;
16
+ /**
17
+ * @param {import('@json-layout/core').StateNode} node
18
+ * @param {string} comp
19
+ * @param {boolean} isMainComp
20
+ * @returns {Record<string, any>}
21
+ */
22
+ export function getCompProps(node: import('@json-layout/core').StateNode, comp: string, isMainComp?: boolean): Record<string, any>;
23
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/utils/props.js"],"names":[],"mappings":"AAkBA;;;GAGG;AACH,8CAHW,CAAC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,EAAE,GACjC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAC,CAqBnD;AAID;;;;;;GAMG;AACH,oCANW,OAAO,aAAa,EAAE,QAAQ,kBAC9B,OAAO,aAAa,EAAE,kBAAkB,iGAGtC,OAAO,MAAM,EAAE,GAAG,CAAC,CAuC/B;AAGD;;;;;GAKG;AACH,mCALW,OAAO,mBAAmB,EAAE,SAAS,QACrC,MAAM,eACN,OAAO,GACL,OAAO,MAAM,EAAE,GAAG,CAAC,CAY/B"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @param {import('../types.js').VjsfNode} node
3
+ * @param {import('../types.js').VjsfStatefulLayout} statefulLayout
4
+ * @returns {Record<string, any>}
5
+ */
6
+ export function getCompSlots(node: import('../types.js').VjsfNode, statefulLayout: import('../types.js').VjsfStatefulLayout): Record<string, any>;
7
+ //# sourceMappingURL=slots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/utils/slots.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,mCAJW,OAAO,aAAa,EAAE,QAAQ,kBAC9B,OAAO,aAAa,EAAE,kBAAkB,GACtC,OAAO,MAAM,EAAE,GAAG,CAAC,CAU/B"}