@koumoul/vjsf 3.25.4 → 3.26.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 (106) hide show
  1. package/package.json +4 -4
  2. package/src/components/nodes/color-picker.vue +1 -1
  3. package/src/components/nodes/date-picker.vue +3 -3
  4. package/src/components/nodes/date-time-picker.vue +1 -1
  5. package/src/components/nodes/list.vue +7 -8
  6. package/src/composables/use-dnd.js +2 -1
  7. package/src/composables/use-get-items.js +7 -0
  8. package/src/composables/use-node.js +11 -0
  9. package/src/composables/use-vjsf.js +5 -0
  10. package/types/compat/v2.d.ts +1 -1
  11. package/types/compat/v2.d.ts.map +1 -1
  12. package/types/components/fragments/child-subtitle.vue.d.ts +14 -6
  13. package/types/components/fragments/child-subtitle.vue.d.ts.map +1 -1
  14. package/types/components/fragments/help-message.vue.d.ts +14 -6
  15. package/types/components/fragments/help-message.vue.d.ts.map +1 -1
  16. package/types/components/fragments/list-select-key.vue.d.ts +10 -9
  17. package/types/components/fragments/list-select-key.vue.d.ts.map +1 -1
  18. package/types/components/fragments/node-slot.vue.d.ts +15 -14
  19. package/types/components/fragments/node-slot.vue.d.ts.map +1 -1
  20. package/types/components/fragments/section-header.vue.d.ts +24 -8
  21. package/types/components/fragments/section-header.vue.d.ts.map +1 -1
  22. package/types/components/fragments/select-item-header.vue.d.ts +22 -8
  23. package/types/components/fragments/select-item-header.vue.d.ts.map +1 -1
  24. package/types/components/fragments/select-item-icon.vue.d.ts +6 -5
  25. package/types/components/fragments/select-item-icon.vue.d.ts.map +1 -1
  26. package/types/components/fragments/select-item.vue.d.ts +40 -12
  27. package/types/components/fragments/select-item.vue.d.ts.map +1 -1
  28. package/types/components/fragments/select-selection.vue.d.ts +48 -13
  29. package/types/components/fragments/select-selection.vue.d.ts.map +1 -1
  30. package/types/components/fragments/selection-group.vue.d.ts +10 -9
  31. package/types/components/fragments/selection-group.vue.d.ts.map +1 -1
  32. package/types/components/fragments/text-field-menu.vue.d.ts +88 -21
  33. package/types/components/fragments/text-field-menu.vue.d.ts.map +1 -1
  34. package/types/components/node.vue.d.ts +24 -8
  35. package/types/components/node.vue.d.ts.map +1 -1
  36. package/types/components/nodes/autocomplete.vue.d.ts +10 -9
  37. package/types/components/nodes/autocomplete.vue.d.ts.map +1 -1
  38. package/types/components/nodes/card.vue.d.ts +24 -8
  39. package/types/components/nodes/card.vue.d.ts.map +1 -1
  40. package/types/components/nodes/checkbox-group.vue.d.ts +10 -9
  41. package/types/components/nodes/checkbox-group.vue.d.ts.map +1 -1
  42. package/types/components/nodes/checkbox.vue.d.ts +10 -9
  43. package/types/components/nodes/checkbox.vue.d.ts.map +1 -1
  44. package/types/components/nodes/color-picker.vue.d.ts +24 -8
  45. package/types/components/nodes/color-picker.vue.d.ts.map +1 -1
  46. package/types/components/nodes/combobox.vue.d.ts +10 -9
  47. package/types/components/nodes/combobox.vue.d.ts.map +1 -1
  48. package/types/components/nodes/date-picker.vue.d.ts +24 -8
  49. package/types/components/nodes/date-picker.vue.d.ts.map +1 -1
  50. package/types/components/nodes/date-time-picker.vue.d.ts +24 -8
  51. package/types/components/nodes/date-time-picker.vue.d.ts.map +1 -1
  52. package/types/components/nodes/expansion-panels.vue.d.ts +24 -8
  53. package/types/components/nodes/expansion-panels.vue.d.ts.map +1 -1
  54. package/types/components/nodes/file-input.vue.d.ts +10 -9
  55. package/types/components/nodes/file-input.vue.d.ts.map +1 -1
  56. package/types/components/nodes/list.vue.d.ts +24 -8
  57. package/types/components/nodes/list.vue.d.ts.map +1 -1
  58. package/types/components/nodes/number-combobox.vue.d.ts +10 -9
  59. package/types/components/nodes/number-combobox.vue.d.ts.map +1 -1
  60. package/types/components/nodes/number-field.vue.d.ts +10 -9
  61. package/types/components/nodes/number-field.vue.d.ts.map +1 -1
  62. package/types/components/nodes/one-of-select.vue.d.ts +24 -8
  63. package/types/components/nodes/one-of-select.vue.d.ts.map +1 -1
  64. package/types/components/nodes/radio-group.vue.d.ts +10 -9
  65. package/types/components/nodes/radio-group.vue.d.ts.map +1 -1
  66. package/types/components/nodes/section.vue.d.ts +24 -8
  67. package/types/components/nodes/section.vue.d.ts.map +1 -1
  68. package/types/components/nodes/select.vue.d.ts +10 -9
  69. package/types/components/nodes/select.vue.d.ts.map +1 -1
  70. package/types/components/nodes/slider.vue.d.ts +10 -9
  71. package/types/components/nodes/slider.vue.d.ts.map +1 -1
  72. package/types/components/nodes/stepper.vue.d.ts +24 -8
  73. package/types/components/nodes/stepper.vue.d.ts.map +1 -1
  74. package/types/components/nodes/switch-group.vue.d.ts +10 -9
  75. package/types/components/nodes/switch-group.vue.d.ts.map +1 -1
  76. package/types/components/nodes/switch.vue.d.ts +10 -9
  77. package/types/components/nodes/switch.vue.d.ts.map +1 -1
  78. package/types/components/nodes/tabs.vue.d.ts +24 -8
  79. package/types/components/nodes/tabs.vue.d.ts.map +1 -1
  80. package/types/components/nodes/text-field.vue.d.ts +10 -9
  81. package/types/components/nodes/text-field.vue.d.ts.map +1 -1
  82. package/types/components/nodes/textarea.vue.d.ts +10 -9
  83. package/types/components/nodes/textarea.vue.d.ts.map +1 -1
  84. package/types/components/nodes/time-picker.vue.d.ts +24 -8
  85. package/types/components/nodes/time-picker.vue.d.ts.map +1 -1
  86. package/types/components/nodes/vertical-tabs.vue.d.ts +24 -8
  87. package/types/components/nodes/vertical-tabs.vue.d.ts.map +1 -1
  88. package/types/components/tree.vue.d.ts +24 -8
  89. package/types/components/tree.vue.d.ts.map +1 -1
  90. package/types/components/vjsf.vue.d.ts +50 -13
  91. package/types/components/vjsf.vue.d.ts.map +1 -1
  92. package/types/composables/use-comp-defaults.d.ts +1 -1
  93. package/types/composables/use-comp-defaults.d.ts.map +1 -1
  94. package/types/composables/use-dnd.d.ts +1 -1
  95. package/types/composables/use-dnd.d.ts.map +1 -1
  96. package/types/composables/use-get-items.d.ts +11 -4
  97. package/types/composables/use-get-items.d.ts.map +1 -1
  98. package/types/composables/use-node.d.ts +20 -9
  99. package/types/composables/use-node.d.ts.map +1 -1
  100. package/types/composables/use-select-node.d.ts +4 -4
  101. package/types/composables/use-vjsf.d.ts +5 -5
  102. package/types/composables/use-vjsf.d.ts.map +1 -1
  103. package/types/index.d.ts +2 -2
  104. package/types/options.d.ts +2 -2
  105. package/types/options.d.ts.map +1 -1
  106. package/types/utils/arrays.d.ts.map +1 -1
@@ -1,27 +1,28 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
2
4
  modelValue: {
3
5
  /** @type import('vue').PropType<import('../../types.js').VjsfSwitchNode> */
4
- type: import('vue').PropType<import('../../types.js').VjsfSwitchNode>;
6
+ type: import("vue").PropType<import("../../types.js").VjsfSwitchNode>;
5
7
  required: true;
6
8
  };
7
9
  statefulLayout: {
8
10
  /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
- type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
11
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
10
12
  required: true;
11
13
  };
12
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
+ }>, () => import("vue", { with: { "resolution-mode": "import" } }).VNode<import("vue", { with: { "resolution-mode": "import" } }).RendererNode, import("vue", { with: { "resolution-mode": "import" } }).RendererElement, {
13
15
  [key: string]: any;
14
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }>, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
17
  modelValue: {
16
18
  /** @type import('vue').PropType<import('../../types.js').VjsfSwitchNode> */
17
- type: import('vue').PropType<import('../../types.js').VjsfSwitchNode>;
19
+ type: import("vue").PropType<import("../../types.js").VjsfSwitchNode>;
18
20
  required: true;
19
21
  };
20
22
  statefulLayout: {
21
23
  /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
- type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
24
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
23
25
  required: true;
24
26
  };
25
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
- export default _default;
27
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
27
28
  //# sourceMappingURL=switch.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/switch.vue.js"],"names":[],"mappings":";;QAUM,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"}
1
+ {"version":3,"file":"switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/switch.vue"],"names":[],"mappings":"wBA6CqB,OAAO,YAAY;;AAQxC;;QAGM,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;;;6IAoBhF"}
@@ -1,10 +1,26 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- modelValue: import("../../types.js").VjsfTabsNode;
3
- statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
- $props: {
5
- modelValue?: import("../../types.js").VjsfTabsNode | undefined;
6
- statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
- };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
9
2
  export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
4
+ modelValue: {
5
+ /** @type import('vue').PropType<import('../../types.js').VjsfTabsNode> */
6
+ type: import("vue").PropType<import("../../types.js").VjsfTabsNode>;
7
+ required: true;
8
+ };
9
+ statefulLayout: {
10
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
11
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
12
+ required: true;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfTabsNode> */
17
+ type: import("vue").PropType<import("../../types.js").VjsfTabsNode>;
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
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
10
26
  //# sourceMappingURL=tabs.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/tabs.vue.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/tabs.vue"],"names":[],"mappings":"wBAwUqB,OAAO,YAAY;;AAdxC;;QAGI,0EAA0E;cAAhE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,YAAY,CAAC;;;;QAKvE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;QAL7E,0EAA0E;cAAhE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,YAAY,CAAC;;;;QAKvE,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;6IAK9E"}
@@ -1,27 +1,28 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
2
4
  modelValue: {
3
5
  /** @type import('vue').PropType<import('../../types.js').VjsfTextFieldNode> */
4
- type: import('vue').PropType<import('../../types.js').VjsfTextFieldNode>;
6
+ type: import("vue").PropType<import("../../types.js").VjsfTextFieldNode>;
5
7
  required: true;
6
8
  };
7
9
  statefulLayout: {
8
10
  /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
- type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
11
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
10
12
  required: true;
11
13
  };
12
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
+ }>, () => import("vue", { with: { "resolution-mode": "import" } }).VNode<import("vue", { with: { "resolution-mode": "import" } }).RendererNode, import("vue", { with: { "resolution-mode": "import" } }).RendererElement, {
13
15
  [key: string]: any;
14
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }>, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
17
  modelValue: {
16
18
  /** @type import('vue').PropType<import('../../types.js').VjsfTextFieldNode> */
17
- type: import('vue').PropType<import('../../types.js').VjsfTextFieldNode>;
19
+ type: import("vue").PropType<import("../../types.js").VjsfTextFieldNode>;
18
20
  required: true;
19
21
  };
20
22
  statefulLayout: {
21
23
  /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
- type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
24
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
23
25
  required: true;
24
26
  };
25
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
- export default _default;
27
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
27
28
  //# sourceMappingURL=text-field.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-field.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/text-field.vue.js"],"names":[],"mappings":";;QAUM,+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"}
1
+ {"version":3,"file":"text-field.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/text-field.vue"],"names":[],"mappings":"wBA6CqB,OAAO,YAAY;;AAQxC;;QAGM,+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;;;6IAchF"}
@@ -1,27 +1,28 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
2
4
  modelValue: {
3
5
  /** @type import('vue').PropType<import('../../types.js').VjsfTextareaNode> */
4
- type: import('vue').PropType<import('../../types.js').VjsfTextareaNode>;
6
+ type: import("vue").PropType<import("../../types.js").VjsfTextareaNode>;
5
7
  required: true;
6
8
  };
7
9
  statefulLayout: {
8
10
  /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
9
- type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
11
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
10
12
  required: true;
11
13
  };
12
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
+ }>, () => import("vue", { with: { "resolution-mode": "import" } }).VNode<import("vue", { with: { "resolution-mode": "import" } }).RendererNode, import("vue", { with: { "resolution-mode": "import" } }).RendererElement, {
13
15
  [key: string]: any;
14
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }>, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
17
  modelValue: {
16
18
  /** @type import('vue').PropType<import('../../types.js').VjsfTextareaNode> */
17
- type: import('vue').PropType<import('../../types.js').VjsfTextareaNode>;
19
+ type: import("vue").PropType<import("../../types.js").VjsfTextareaNode>;
18
20
  required: true;
19
21
  };
20
22
  statefulLayout: {
21
23
  /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
22
- type: import('vue').PropType<import('../../types.js').VjsfStatefulLayout>;
24
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
23
25
  required: true;
24
26
  };
25
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
- export default _default;
27
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
27
28
  //# sourceMappingURL=textarea.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/textarea.vue.js"],"names":[],"mappings":";;QAUM,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"}
1
+ {"version":3,"file":"textarea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/textarea.vue"],"names":[],"mappings":"wBAqEqB,OAAO,YAAY;;AAQxC;;QAGM,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;;;6IAiChF"}
@@ -1,10 +1,26 @@
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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
9
2
  export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
4
+ modelValue: {
5
+ /** @type import('vue').PropType<import('../../types.js').VjsfDatePickerNode> */
6
+ type: import("vue").PropType<import("../../types.js").VjsfDatePickerNode>;
7
+ required: true;
8
+ };
9
+ statefulLayout: {
10
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
11
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
12
+ required: true;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfDatePickerNode> */
17
+ type: import("vue").PropType<import("../../types.js").VjsfDatePickerNode>;
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
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
10
26
  //# sourceMappingURL=time-picker.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"time-picker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/time-picker.vue.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"time-picker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/time-picker.vue"],"names":[],"mappings":"wBAwNqB,OAAO,YAAY;;AAdxC;;QAGI,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;QAK7E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;QAL7E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;QAK7E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;6IAK9E"}
@@ -1,10 +1,26 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- modelValue: import("../../types.js").VjsfVerticalTabsNode;
3
- statefulLayout: import("../../types.js").VjsfStatefulLayout;
4
- $props: {
5
- modelValue?: import("../../types.js").VjsfVerticalTabsNode | undefined;
6
- statefulLayout?: import("../../types.js").VjsfStatefulLayout | undefined;
7
- };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
9
2
  export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
4
+ modelValue: {
5
+ /** @type import('vue').PropType<import('../../types.js').VjsfVerticalTabsNode> */
6
+ type: import("vue").PropType<import("../../types.js").VjsfVerticalTabsNode>;
7
+ required: true;
8
+ };
9
+ statefulLayout: {
10
+ /** @type import('vue').PropType<import('../../types.js').VjsfStatefulLayout> */
11
+ type: import("vue").PropType<import("../../types.js").VjsfStatefulLayout>;
12
+ required: true;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('../../types.js').VjsfVerticalTabsNode> */
17
+ type: import("vue").PropType<import("../../types.js").VjsfVerticalTabsNode>;
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
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
10
26
  //# sourceMappingURL=vertical-tabs.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vertical-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/vertical-tabs.vue.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"vertical-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/nodes/vertical-tabs.vue"],"names":[],"mappings":"wBAqVqB,OAAO,YAAY;;AAdxC;;QAGI,kFAAkF;cAAxE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,oBAAoB,CAAC;;;;QAK/E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;;;QAL7E,kFAAkF;cAAxE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,oBAAoB,CAAC;;;;QAK/E,gFAAgF;cAAtE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,EAAE,kBAAkB,CAAC;;;6IAK9E"}
@@ -1,10 +1,26 @@
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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
9
2
  export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
4
+ modelValue: {
5
+ /** @type import('vue').PropType<import('@json-layout/core').StateTree> */
6
+ type: import("vue").PropType<import("@json-layout/core").StateTree>;
7
+ required: true;
8
+ };
9
+ statefulLayout: {
10
+ /** @type import('vue').PropType<import('../types.js').VjsfStatefulLayout> */
11
+ type: import("vue").PropType<import("../types.js").VjsfStatefulLayout>;
12
+ required: true;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
15
+ modelValue: {
16
+ /** @type import('vue').PropType<import('@json-layout/core').StateTree> */
17
+ type: import("vue").PropType<import("@json-layout/core").StateTree>;
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
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
10
26
  //# sourceMappingURL=tree.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tree.vue.d.ts","sourceRoot":"","sources":["../../src/components/tree.vue.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"tree.vue.d.ts","sourceRoot":"","sources":["../../src/components/tree.vue"],"names":[],"mappings":"wBAyGqB,OAAO,YAAY;;AAdxC;;QAGI,0EAA0E;cAAhE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,mBAAmB,EAAE,SAAS,CAAC;;;;QAKvE,6EAA6E;cAAnE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,aAAa,EAAE,kBAAkB,CAAC;;;;;QAL1E,0EAA0E;cAAhE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,mBAAmB,EAAE,SAAS,CAAC;;;;QAKvE,6EAA6E;cAAnE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,aAAa,EAAE,kBAAkB,CAAC;;;6IAK3E"}
@@ -1,15 +1,52 @@
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: import("../types.js").PartialVjsfOptions | 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?: import("../types.js").PartialVjsfOptions | 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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
14
2
  export default _default;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
4
+ schema: {
5
+ type: ObjectConstructor;
6
+ required: true;
7
+ };
8
+ precompiledLayout: {
9
+ /** @type import('vue').PropType<import('@json-layout/core').CompiledLayout> */
10
+ type: import("vue").PropType<import("@json-layout/core").CompiledLayout>;
11
+ default: null;
12
+ };
13
+ modelValue: {
14
+ type: null;
15
+ default: null;
16
+ };
17
+ options: {
18
+ /** @type import('vue').PropType<import('../types.js').PartialVjsfOptions | null> */
19
+ type: import("vue").PropType<import("../types.js").PartialVjsfOptions | null>;
20
+ default: null;
21
+ };
22
+ }>, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
23
+ "update:state": (state: import("../types.js", { with: { "resolution-mode": "import" } }).VjsfStatefulLayout) => void;
24
+ "update:modelValue": (data: any) => void;
25
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import("vue", { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
26
+ schema: {
27
+ type: ObjectConstructor;
28
+ required: true;
29
+ };
30
+ precompiledLayout: {
31
+ /** @type import('vue').PropType<import('@json-layout/core').CompiledLayout> */
32
+ type: import("vue").PropType<import("@json-layout/core").CompiledLayout>;
33
+ default: null;
34
+ };
35
+ modelValue: {
36
+ type: null;
37
+ default: null;
38
+ };
39
+ options: {
40
+ /** @type import('vue').PropType<import('../types.js').PartialVjsfOptions | null> */
41
+ type: import("vue").PropType<import("../types.js").PartialVjsfOptions | null>;
42
+ default: null;
43
+ };
44
+ }>> & Readonly<{
45
+ "onUpdate:state"?: ((state: import("../types.js", { with: { "resolution-mode": "import" } }).VjsfStatefulLayout) => any) | undefined;
46
+ "onUpdate:modelValue"?: ((data: any) => any) | undefined;
47
+ }>, {
48
+ options: import("../types.js", { with: { "resolution-mode": "import" } }).PartialVjsfOptions | null;
49
+ modelValue: any;
50
+ precompiledLayout: import("../../../node_modules/@json-layout/core/types/compile/types.js", { with: { "resolution-mode": "import" } }).CompiledLayout;
51
+ }, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
15
52
  //# sourceMappingURL=vjsf.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vjsf.vue.d.ts","sourceRoot":"","sources":["../../src/components/vjsf.vue.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"vjsf.vue.d.ts","sourceRoot":"","sources":["../../src/components/vjsf.vue"],"names":[],"mappings":"wBA4RqB,OAAO,YAAY;;AAvBxC;;;;;;QAQI,+EAA+E;cAArE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,mBAAmB,EAAE,cAAc,CAAC;;;;;;;;QAS5E,oFAAoF;cAA1E,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,aAAa,EAAE,kBAAkB,GAAG,IAAI,CAAC;;;;;;;;;;;;QATjF,+EAA+E;cAArE,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,mBAAmB,EAAE,cAAc,CAAC;;;;;;;;QAS5E,oFAAoF;cAA1E,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,aAAa,EAAE,kBAAkB,GAAG,IAAI,CAAC;;;;;;;;;;wHAKlF"}
@@ -4,5 +4,5 @@
4
4
  * @param {Record<string, any> | null} [localDefaults]
5
5
  * @returns {import('vue').ComputedRef<Record<string, any>>}
6
6
  */
7
- export default function useCompDefaultProps(name: string, localDefaults?: Record<string, any> | null | undefined): import('vue').ComputedRef<Record<string, any>>;
7
+ export default function useCompDefaultProps(name: string, localDefaults?: Record<string, any> | null): import("vue").ComputedRef<Record<string, any>>;
8
8
  //# sourceMappingURL=use-comp-defaults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-comp-defaults.d.ts","sourceRoot":"","sources":["../../src/composables/use-comp-defaults.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,kDAJW,MAAM,2DAEJ,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC,CAW1D"}
1
+ {"version":3,"file":"use-comp-defaults.d.ts","sourceRoot":"","sources":["../../src/composables/use-comp-defaults.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,kDAJW,MAAM,kBACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GACxB,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAW1D"}
@@ -10,7 +10,7 @@ export default function useDnd<T>(array: T[], callback: () => void): {
10
10
  hovered: import("vue").Ref<number, number>;
11
11
  draggable: import("vue").Ref<number, number>;
12
12
  dragging: import("vue").Ref<number, number>;
13
- itemBind: (itemIndex: number) => {
13
+ itemBind: (itemIndex: number, defaultItemProps: Record<string, any>) => {
14
14
  onMouseenter: () => void;
15
15
  onMouseleave: () => void;
16
16
  onDragstart: () => void;
@@ -1 +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;;;;;;;4BAwBJ,MAAM;;;;EAmBtC"}
1
+ {"version":3,"file":"use-dnd.d.ts","sourceRoot":"","sources":["../../src/composables/use-dnd.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,+BALa,CAAC,SACH,CAAC,EAAE,YACH,MAAM,IAAI;;;;;;0BAoBU,MAAM,oBAA0B,MAAM,SAAS,GAAG,CAAC;;;;;;;4BAyBjD,MAAM;;;;EAmBtC"}
@@ -1,12 +1,19 @@
1
1
  /**
2
2
  * @param {import('vue').Ref<import('../types.js').VjsfNode>} nodeRef
3
3
  * @param {import('../types.js').VjsfStatefulLayout} statefulLayout
4
+ * @returns {{
5
+ * hasItems: import('vue').ComputedRef<boolean>,
6
+ * items: import('vue').Ref<import('@json-layout/vocabulary').SelectItems>,
7
+ * loading: import('vue').Ref<boolean>,
8
+ * search: import('vue').Ref<string>,
9
+ * prepareSelectedItem: (selectedItem: any, itemValue: any) => any
10
+ * }}
4
11
  */
5
- export default function _default(nodeRef: import('vue').Ref<import('../types.js').VjsfNode>, statefulLayout: import('../types.js').VjsfStatefulLayout): {
12
+ export default function _default(nodeRef: import("vue").Ref<import("../types.js").VjsfNode>, statefulLayout: import("../types.js").VjsfStatefulLayout): {
6
13
  hasItems: import("vue").ComputedRef<boolean>;
7
- items: import("vue").Ref<import("../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItems, import("../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItems>;
8
- loading: import("vue").Ref<boolean, boolean>;
9
- search: import("vue").Ref<string, string>;
14
+ items: import("vue").Ref<import("@json-layout/vocabulary").SelectItems>;
15
+ loading: import("vue").Ref<boolean>;
16
+ search: import("vue").Ref<string>;
10
17
  prepareSelectedItem: (selectedItem: any, itemValue: any) => any;
11
18
  };
12
19
  //# sourceMappingURL=use-get-items.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-get-items.d.ts","sourceRoot":"","sources":["../../src/composables/use-get-items.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,0CAHW,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,aAAa,EAAE,QAAQ,CAAC,kBACjD,OAAO,aAAa,EAAE,kBAAkB;;;;;wCAiCtC,GAAG,aACH,GAAG;EAiBf"}
1
+ {"version":3,"file":"use-get-items.d.ts","sourceRoot":"","sources":["../../src/composables/use-get-items.js"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,0CAVW,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,aAAa,EAAE,QAAQ,CAAC,kBACjD,OAAO,aAAa,EAAE,kBAAkB,GACtC;IACV,QAAQ,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7C,KAAK,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,yBAAyB,EAAE,WAAW,CAAC,CAAC;IACxE,OAAO,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACpC,MAAM,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAClC,mBAAmB,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG,CAAA;CAC9D,CAmDH"}
@@ -9,13 +9,24 @@ export function mergePropsLevels(propsLevels: (Record<string, any> | undefined)[
9
9
  * @param {import('vue').Ref<import('../types.js').VjsfNode>} nodeRef
10
10
  * @param {import('../types.js').VjsfStatefulLayout} statefulLayout
11
11
  * @param {{isMainComp?: boolean, bindData?: boolean, layoutPropsMap?: (string | [string, string])[]}} [opts]
12
+ * @returns {{
13
+ * localData: import('vue').Ref<any>,
14
+ * inputProps: import('vue').ComputedRef<Record<string, any> & { class: string[]; }>,
15
+ * compProps: import('vue').ComputedRef<Record<string, any> & { class: string[]; }>,
16
+ * compSlots: import('vue').ComputedRef<Record<string, any>>,
17
+ * options: import('vue').ComputedRef<Required<import('../types.js').VjsfOptions>>,
18
+ * skeleton: import('vue').ComputedRef<import('@json-layout/core').SkeletonNode>,
19
+ * layout: import('vue').ComputedRef<import('@json-layout/vocabulary').BaseCompObject>,
20
+ * data: import('vue').ComputedRef<unknown>,
21
+ * children: import('vue').ComputedRef<import('@json-layout/core').StateNode[] | undefined>
22
+ * }}
12
23
  */
13
- export default function _default(nodeRef: import('vue').Ref<import('../types.js').VjsfNode>, statefulLayout: import('../types.js').VjsfStatefulLayout, opts?: {
14
- isMainComp?: boolean | undefined;
15
- bindData?: boolean | undefined;
16
- layoutPropsMap?: (string | [string, string])[] | undefined;
17
- } | undefined): {
18
- localData: import("vue").Ref<any, any>;
24
+ export default function _default(nodeRef: import("vue").Ref<import("../types.js").VjsfNode>, statefulLayout: import("../types.js").VjsfStatefulLayout, opts?: {
25
+ isMainComp?: boolean;
26
+ bindData?: boolean;
27
+ layoutPropsMap?: (string | [string, string])[];
28
+ }): {
29
+ localData: import("vue").Ref<any>;
19
30
  inputProps: import("vue").ComputedRef<Record<string, any> & {
20
31
  class: string[];
21
32
  }>;
@@ -24,9 +35,9 @@ export default function _default(nodeRef: import('vue').Ref<import('../types.js'
24
35
  }>;
25
36
  compSlots: import("vue").ComputedRef<Record<string, any>>;
26
37
  options: import("vue").ComputedRef<Required<import("../types.js").VjsfOptions>>;
27
- skeleton: import("vue").ComputedRef<import("../../../node_modules/@json-layout/core/types/compile/types.js").SkeletonNode>;
28
- layout: import("vue").ComputedRef<import("../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").BaseCompObject>;
38
+ skeleton: import("vue").ComputedRef<import("@json-layout/core").SkeletonNode>;
39
+ layout: import("vue").ComputedRef<import("@json-layout/vocabulary").BaseCompObject>;
29
40
  data: import("vue").ComputedRef<unknown>;
30
- children: import("vue").ComputedRef<import("../../../node_modules/@json-layout/core/types/state/types.js").StateNode[] | undefined>;
41
+ children: import("vue").ComputedRef<import("@json-layout/core").StateNode[] | undefined>;
31
42
  };
32
43
  //# sourceMappingURL=use-node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-node.d.ts","sourceRoot":"","sources":["../../src/composables/use-node.js"],"names":[],"mappings":"AAcA;;;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;AAED;;;;GAIG;AACH,0CAJW,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,aAAa,EAAE,QAAQ,CAAC,kBACjD,OAAO,aAAa,EAAE,kBAAkB;;;;;;;eAzBR,MAAM,EAAE;;;eAAR,MAAM,EAAE;;;;;;;;EAwHlD"}
1
+ {"version":3,"file":"use-node.d.ts","sourceRoot":"","sources":["../../src/composables/use-node.js"],"names":[],"mappings":"AAcA;;;GAGG;AACH,8CAHW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,EAAE,GACjC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAC,CAqBnD;AAED;;;;;;;;;;;;;;;GAeG;AACH,0CAfW,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,aAAa,EAAE,QAAQ,CAAC,kBACjD,OAAO,aAAa,EAAE,kBAAkB,SACxC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,cAAc,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAA;CAAC,GACxF;IACV,SAAS,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAClC,UAAU,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,EAAE,CAAC;KAAE,CAAC,CAAC;IAClF,SAAS,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,EAAE,CAAC;KAAE,CAAC,CAAC;IACjF,SAAS,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC1D,OAAO,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,OAAO,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC;IAChF,QAAQ,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,mBAAmB,EAAE,YAAY,CAAC,CAAC;IAC9E,MAAM,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,yBAAyB,EAAE,cAAc,CAAC,CAAC;IACpF,IAAI,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACzC,QAAQ,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,mBAAmB,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,CAAA;CACvF,CA8FH"}
@@ -5,7 +5,7 @@
5
5
  * @param {any} avatarProps
6
6
  * @param {'v-autocomplete' | 'v-select'} cssPrefix
7
7
  */
8
- export default function _default(nodeRef: import('vue').Ref<import('../types.js').VjsfSelectNode>, statefulLayout: import('../types.js').VjsfStatefulLayout, avatarProps: any, cssPrefix: 'v-autocomplete' | 'v-select'): {
8
+ export default function _default(nodeRef: import("vue").Ref<import("../types.js").VjsfSelectNode>, statefulLayout: import("../types.js").VjsfStatefulLayout, avatarProps: any, cssPrefix: "v-autocomplete" | "v-select"): {
9
9
  localData: import("vue").Ref<any, any>;
10
10
  inputProps: import("vue").ComputedRef<Record<string, any> & {
11
11
  class: string[];
@@ -20,9 +20,9 @@ export default function _default(nodeRef: import('vue').Ref<import('../types.js'
20
20
  }>;
21
21
  getItems: {
22
22
  hasItems: import("vue").ComputedRef<boolean>;
23
- items: import("vue").Ref<import("../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItems, import("../../../node_modules/@json-layout/vocabulary/types/normalized-layout/types.js").SelectItems>;
24
- loading: import("vue").Ref<boolean, boolean>;
25
- search: import("vue").Ref<string, string>;
23
+ items: import("vue").Ref<import("@json-layout/vocabulary").SelectItems>;
24
+ loading: import("vue").Ref<boolean>;
25
+ search: import("vue").Ref<string>;
26
26
  prepareSelectedItem: (selectedItem: any, itemValue: any) => any;
27
27
  };
28
28
  };
@@ -6,11 +6,11 @@ export const emits: {
6
6
  /**
7
7
  * @arg {import('../types.js').VjsfStatefulLayout} state
8
8
  */
9
- 'update:state': (state: import('../types.js').VjsfStatefulLayout) => boolean;
9
+ 'update:state': (state: import("../types.js").VjsfStatefulLayout) => boolean;
10
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, produceCompileOptions?: ((draft: import("../../../node_modules/@json-layout/core/types/compile/types.js").PartialCompileOptions, newOptions: import("../../../node_modules/@json-layout/core/types/compile/types.js").PartialCompileOptions) => import("../../../node_modules/@json-layout/core/types/compile/types.js").PartialCompileOptions) | undefined, precompiledLayout?: import("vue").Ref<import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout, import("../../../node_modules/@json-layout/core/types/compile/types.js").CompiledLayout> | undefined): {
12
- el: import("vue").Ref<null, null>;
13
- statefulLayout: import("vue").ShallowRef<import("../types.js").VjsfStatefulLayout | null, import("../types.js").VjsfStatefulLayout | null>;
14
- stateTree: import("vue").ShallowRef<import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree | null, import("../../../node_modules/@json-layout/core/types/state/types.js").StateTree | null>;
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").compile, produceCompileOptions?: typeof import("@json-layout/core/compile").produceCompileOptions, precompiledLayout?: import("vue").Ref<import("@json-layout/core").CompiledLayout>): {
12
+ el: import("vue").Ref<null>;
13
+ statefulLayout: import("vue").ShallowRef<import("../types.js").VjsfStatefulLayout | null>;
14
+ stateTree: import("vue").ShallowRef<import("@json-layout/core").StateTree | null>;
15
15
  };
16
16
  //# sourceMappingURL=use-vjsf.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-vjsf.d.ts","sourceRoot":"","sources":["../../src/composables/use-vjsf.js"],"names":[],"mappings":"AAcA;IACE;;MAEE;gCADO,GAAG;IAGZ;;MAEE;4BADO,OAAO,aAAa,EAAE,kBAAkB;EAGlD;AAYM,gCATI,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;;;;EAyJb"}
1
+ {"version":3,"file":"use-vjsf.d.ts","sourceRoot":"","sources":["../../src/composables/use-vjsf.js"],"names":[],"mappings":"AAcA;IACE;;MAEE;gCADO,GAAG;IAGZ;;MAEE;4BADO,OAAO,aAAa,EAAE,kBAAkB;EAGlD;AAiBM,gCAdI,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,MAAM,CAAC,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,QACvC,GAAG,YACH,cAAc,2BAA2B,EAAE,OAAO,0BAClD,cAAc,2BAA2B,EAAE,qBAAqB,sBAChE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,mBAAmB,EAAE,cAAc,CAAC,GAC3D;IACV,EAAE,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,OAAO,KAAK,EAAE,UAAU,CAAC,OAAO,aAAa,EAAE,kBAAkB,GAAG,IAAI,CAAC,CAAC;IAC1F,SAAS,EAAE,OAAO,KAAK,EAAE,UAAU,CAAC,OAAO,mBAAmB,EAAE,SAAS,GAAG,IAAI,CAAC,CAAA;CAChF,CAsJH"}
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export default Vjsf;
2
- export type Options = import('./types.js').PartialVjsfOptions;
3
- export type CompileOptions = import('./types.js').PartialVjsfCompileOptions;
2
+ export type Options = import("./types.js").PartialVjsfOptions;
3
+ export type CompileOptions = import("./types.js").PartialVjsfCompileOptions;
4
4
  import Vjsf from './components/vjsf.vue';
5
5
  import { defaultOptions } from './options.js';
6
6
  import { defaultIcons } from './options.js';
@@ -1,10 +1,10 @@
1
1
  /** @type {import('./types.js').VjsfIcons} */
2
- export const defaultIcons: import('./types.js').VjsfIcons;
2
+ export const defaultIcons: import("./types.js").VjsfIcons;
3
3
  export namespace defaultOptions {
4
4
  let nodeComponents: {};
5
5
  let plugins: never[];
6
6
  let pluginsOptions: {};
7
7
  let confirmDeleteItem: boolean;
8
8
  }
9
- export function getFullOptions(options: Partial<import("./types.js").VjsfOptions> | null, form: any, width: number, locale: string, globalDefaults: Record<string, unknown> | undefined, slots: import("vue").Slots, defaultNodeComponents: Record<string, import('vue').Component>, onData: (data: any) => void, onUpdate: (statefulLayout: import('@json-layout/core').StatefulLayout) => void, onAutofocus: (key: string) => void): import("./types.js").VjsfOptions;
9
+ export function getFullOptions(options: Partial<import("./types.js").VjsfOptions> | null, form: any, width: number, locale: string, globalDefaults: Record<string, unknown> | undefined, slots: import("vue").Slots, defaultNodeComponents: Record<string, import("vue").Component>, onData: (data: any) => void, onUpdate: (statefulLayout: import("@json-layout/core").StatefulLayout) => void, onAutofocus: (key: string) => void): import("./types.js").VjsfOptions;
10
10
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.js"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,2BADW,OAAO,YAAY,EAAE,SAAS,CAmBxC;;;;;;;AAuBM,wCAZI,QAAQ,OAAO,YAAY,EAAE,WAAW,CAAC,GAAG,IAAI,QAChD,GAAG,SACH,MAAM,UACN,MAAM,kBACN,OAAO,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,SACnC,OAAO,KAAK,EAAE,KAAK,yBACnB,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,iBAChC,GAAG,KAAK,IAAI,6BACF,OAAO,mBAAmB,EAAE,cAAc,KAAK,IAAI,qBAC9D,MAAM,KAAK,IAAI,oCAgC/B"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.js"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,2BADW,OAAO,YAAY,EAAE,SAAS,CAmBxC;;;;;;;AAuBM,wCAZI,OAAO,CAAC,OAAO,YAAY,EAAE,WAAW,CAAC,GAAG,IAAI,QAChD,GAAG,SACH,MAAM,UACN,MAAM,kBACN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,SACnC,OAAO,KAAK,EAAE,KAAK,yBACnB,MAAM,CAAC,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,UACvC,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,YACnB,CAAC,cAAc,EAAE,OAAO,mBAAmB,EAAE,cAAc,KAAK,IAAI,eACpE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,oCAgC/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../src/utils/arrays.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,mCALW,GAAG,EAAE,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC,aAC3B,MAAM,WACN,MAAM,GACL,GAAG,EAAE,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC,CAMtC;AAED;;;;;GAKG;AACH,oCALW,GAAG,EAAE,aACL,MAAM,WACN,MAAM,GACL,GAAG,EAAE,CAWhB;AAED;;;;;GAKG;AACH,qCALW,OAAO,MAAM,EAAE,GAAG,CAAC,aACnB,MAAM,WACN,MAAM,GACL,OAAO,MAAM,EAAE,GAAG,CAAC,CAW9B"}
1
+ {"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../src/utils/arrays.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,mCALW,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,aAC3B,MAAM,WACN,MAAM,GACL,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAMtC;AAED;;;;;GAKG;AACH,oCALW,GAAG,EAAE,aACL,MAAM,WACN,MAAM,GACL,GAAG,EAAE,CAWhB;AAED;;;;;GAKG;AACH,qCALW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,aACnB,MAAM,WACN,MAAM,GACL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAW9B"}