@sfxcode/formkit-primevue 1.9.12 → 1.11.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 (38) hide show
  1. package/README.md +8 -7
  2. package/dist/components/PrimeCalendar.vue +1 -1
  3. package/dist/components/PrimeCascadeSelect.vue +1 -1
  4. package/dist/components/PrimeCheckbox.vue +1 -1
  5. package/dist/components/PrimeChips.vue +1 -1
  6. package/dist/components/PrimeColorPicker.vue +1 -1
  7. package/dist/components/PrimeDropdown.vue +1 -1
  8. package/dist/components/PrimeEditor.vue +1 -1
  9. package/dist/components/PrimeInputMask.vue +1 -1
  10. package/dist/components/PrimeInputNumber.vue +1 -1
  11. package/dist/components/PrimeInputOtp.vue +1 -1
  12. package/dist/components/PrimeInputSwitch.vue +1 -1
  13. package/dist/components/PrimeInputText.vue +2 -2
  14. package/dist/components/PrimeKnob.vue +1 -1
  15. package/dist/components/PrimeListbox.vue +1 -1
  16. package/dist/components/PrimeMultiSelect.vue +1 -1
  17. package/dist/components/PrimePassword.vue +1 -1
  18. package/dist/components/PrimeRadioButton.vue +1 -1
  19. package/dist/components/PrimeRating.vue +1 -1
  20. package/dist/components/PrimeSelectButton.vue +1 -1
  21. package/dist/components/PrimeSlider.vue +1 -1
  22. package/dist/components/PrimeTextarea.vue +1 -1
  23. package/dist/components/PrimeToggleButton.vue +1 -1
  24. package/dist/components/PrimeTreeSelect.vue +1 -1
  25. package/dist/components/PrimeTriStateCheckbox.vue +1 -1
  26. package/dist/composables/index.d.ts +2 -1
  27. package/dist/composables/index.js +8 -1
  28. package/dist/composables/index.mjs +3 -1
  29. package/dist/composables/useFormKitSchema.d.ts +5 -5
  30. package/dist/composables/useFormKitSchema.js +15 -10
  31. package/dist/composables/useFormKitSchema.mjs +15 -10
  32. package/dist/composables/useInputEditorSchema.d.ts +132 -0
  33. package/dist/composables/useInputEditorSchema.js +345 -0
  34. package/dist/composables/useInputEditorSchema.mjs +300 -0
  35. package/dist/index.d.ts +2 -2
  36. package/dist/index.js +6 -0
  37. package/dist/index.mjs +2 -1
  38. package/package.json +23 -23
package/README.md CHANGED
@@ -11,22 +11,23 @@ Helper classes for using [Formkit](https://formkit.com/) with the [PrimeVue UI F
11
11
  ## Usage
12
12
 
13
13
  ```typescript
14
-
15
14
  import { defaultConfig, plugin } from '@formkit/vue'
16
15
  import { primeInputs } from '@sfxcode/formkit-primevue'
17
16
 
18
- app.use(plugin, defaultConfig({
19
- locales: { de, en },
20
- // Define the active locale
21
- locale: 'en',
22
- inputs: primeInputs,
23
- }))
17
+ app.use(plugin, defaultConfig({
18
+ locales: { de, en },
19
+ // Define the active locale
20
+ locale: 'en',
21
+ inputs: primeInputs,
22
+ }))
24
23
  ```
25
24
 
26
25
  ### Schema Helper Functions
27
26
 
28
27
  [useFormKitSchema](https://github.com/sfxcode/formkit-primevue/blob/main/src/composables/useFormKitSchema.ts) provide functions to simplify the usage of elements, components, lists, ...
29
28
 
29
+ [useInputEditorSchema](https://github.com/sfxcode/formkit-primevue/blob/main/src/composables/useInputEditorSchema.ts) provide functions for a component schema generation builder
30
+
30
31
  ### Basic Styling
31
32
 
32
33
  Basic styling is provided with the [formkit-primevue.scss](https://github.com/sfxcode/formkit-primevue/blob/main/src/sass/formkit-primevue.scss) file.
@@ -83,7 +83,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
83
83
  v-bind="context?.attrs"
84
84
  :input-id="context.id"
85
85
  :disabled="!!context?.disabled"
86
- :readonly="context?.attrs._readonly ?? false"
86
+ :readonly="context?.attrs.readonly ?? false"
87
87
  :input-style="context?.attrs.style"
88
88
  :input-class="styleClass"
89
89
  :tabindex="context?.attrs.tabindex"
@@ -40,7 +40,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
40
40
  v-model="context._value"
41
41
  v-bind="context?.attrs"
42
42
  :disabled="!!context?.disabled"
43
- :readonly="context?.attrs._readonly ?? false"
43
+ :readonly="context?.attrs.readonly ?? false"
44
44
  :class="styleClass"
45
45
  :tabindex="context?.attrs.tabindex"
46
46
  :aria-label="context?.attrs.ariaLabel"
@@ -40,7 +40,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
40
40
  v-bind="context?.attrs"
41
41
  :input-id="context.id"
42
42
  :disabled="!!context?.disabled"
43
- :readonly="context?.attrs._readonly ?? false"
43
+ :readonly="context?.attrs.readonly ?? false"
44
44
  :input-style="context?.attrs.style"
45
45
  :input-class="styleClass"
46
46
  :tabindex="context?.attrs.tabindex"
@@ -34,7 +34,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
34
34
  v-bind="context?.attrs"
35
35
  :input-id="context.id"
36
36
  :disabled="!!context?.disabled"
37
- :readonly="context?.attrs._readonly ?? false"
37
+ :readonly="context?.attrs.readonly ?? false"
38
38
  :input-style="context?.attrs.style"
39
39
  :input-class="styleClass"
40
40
  :tabindex="context?.attrs.tabindex"
@@ -30,7 +30,7 @@ function handleChange(_: any) {
30
30
  v-model="context._value"
31
31
  v-bind="context?.attrs"
32
32
  :disabled="!!context?.disabled"
33
- :readonly="context?.attrs._readonly ?? false"
33
+ :readonly="context?.attrs.readonly ?? false"
34
34
  :style="context?.attrs.style"
35
35
  :panel-class="context?.attrs.class"
36
36
  :tabindex="context?.attrs.tabindex"
@@ -62,7 +62,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
62
62
  v-bind="context?.attrs"
63
63
  :input-id="context.id"
64
64
  :disabled="!!context?.disabled"
65
- :readonly="context?.attrs._readonly ?? false"
65
+ :readonly="context?.attrs.readonly ?? false"
66
66
  :style="context?.attrs.style"
67
67
  :class="styleClass"
68
68
  :input-style="context?.attrs.style"
@@ -38,7 +38,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
38
38
  v-model="context._value"
39
39
  v-bind="context?.attrs"
40
40
  :disabled="!!context?.disabled"
41
- :readonly="context?.attrs._readonly ?? false"
41
+ :readonly="context?.attrs.readonly ?? false"
42
42
  :editor-style="context?.attrs.style"
43
43
  :class="styleClass"
44
44
  :tabindex="context?.attrs.tabindex"
@@ -59,7 +59,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
59
59
  v-model="context._value"
60
60
  v-bind="context?.attrs"
61
61
  :disabled="!!context?.disabled"
62
- :readonly="context?.attrs._readonly ?? false"
62
+ :readonly="context?.attrs.readonly ?? false"
63
63
  :class="styleClass"
64
64
  :tabindex="context?.attrs.tabindex"
65
65
  :aria-label="context?.attrs.ariaLabel"
@@ -47,7 +47,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
47
47
  v-bind="context?.attrs"
48
48
  :input-id="context.id"
49
49
  :disabled="!!context?.disabled"
50
- :readonly="context?.attrs._readonly ?? false"
50
+ :readonly="context?.attrs.readonly ?? false"
51
51
  :input-style="context?.attrs.style"
52
52
  :input-class="styleClass"
53
53
  :tabindex="context?.attrs.tabindex"
@@ -38,7 +38,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
38
38
  v-model="context._value"
39
39
  v-bind="context?.attrs"
40
40
  :disabled="!!context?.disabled"
41
- :readonly="context?.attrs._readonly ?? false"
41
+ :readonly="context?.attrs.readonly ?? false"
42
42
  :style="context?.attrs.style"
43
43
  :class="styleClass"
44
44
  :tabindex="context?.attrs.tabindex"
@@ -39,7 +39,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
39
39
  v-bind="context?.attrs"
40
40
  :input-id="context.id"
41
41
  :disabled="!!context?.disabled"
42
- :readonly="context?.attrs._readonly ?? false"
42
+ :readonly="context?.attrs.readonly ?? false"
43
43
  :input-style="context?.attrs.style"
44
44
  :input-class="styleClass"
45
45
  :tabindex="context?.attrs.tabindex"
@@ -55,7 +55,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
55
55
  v-model="context._value"
56
56
  v-bind="context?.attrs"
57
57
  :disabled="!!context?.disabled"
58
- :readonly="context?.attrs._readonly ?? false"
58
+ :readonly="context?.attrs.readonly ?? false"
59
59
  :style="context?.attrs.style"
60
60
  :class="styleClass"
61
61
  :tabindex="context?.attrs.tabindex"
@@ -75,7 +75,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
75
75
  v-model="context._value"
76
76
  v-bind="context?.attrs"
77
77
  :disabled="!!context?.disabled"
78
- :readonly="context?.attrs._readonly ?? false"
78
+ :readonly="context?.attrs.readonly ?? false"
79
79
  :style="context?.attrs.style"
80
80
  :class="styleClass"
81
81
  :tabindex="context?.attrs.tabindex"
@@ -45,7 +45,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
45
45
  v-model="context._value"
46
46
  v-bind="context?.attrs"
47
47
  :disabled="!!context?.disabled"
48
- :readonly="context?.attrs._readonly ?? false"
48
+ :readonly="context?.attrs.readonly ?? false"
49
49
  :style="context?.attrs.style"
50
50
  :class="styleClass"
51
51
  :tabindex="context?.attrs.tabindex"
@@ -45,7 +45,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
45
45
  v-model="context._value"
46
46
  v-bind="context?.attrs"
47
47
  :disabled="!!context?.disabled"
48
- :readonly="context?.attrs._readonly ?? false"
48
+ :readonly="context?.attrs.readonly ?? false"
49
49
  :list-style="context?.attrs.style"
50
50
  :class="styleClass"
51
51
  :tabindex="context?.attrs.tabindex"
@@ -67,7 +67,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
67
67
  v-bind="context?.attrs"
68
68
  :input-id="context.id"
69
69
  :disabled="!!context?.disabled"
70
- :readonly="context?.attrs._readonly ?? false"
70
+ :readonly="context?.attrs.readonly ?? false"
71
71
  :list-style="context?.attrs.style"
72
72
  :class="styleClass"
73
73
  :tabindex="context?.attrs.tabindex"
@@ -45,7 +45,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
45
45
  v-bind="context?.attrs"
46
46
  :input-id="context.id"
47
47
  :disabled="!!context?.disabled"
48
- :readonly="context?.attrs._readonly ?? false"
48
+ :readonly="context?.attrs.readonly ?? false"
49
49
  :input-style="context?.attrs.style"
50
50
  :input-class="styleClass"
51
51
  :tabindex="context?.attrs.tabindex"
@@ -37,7 +37,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
37
37
  v-model="context._value"
38
38
  v-bind="context?.attrs"
39
39
  :disabled="!!context?.disabled"
40
- :readonly="context?.attrs._readonly ?? false"
40
+ :readonly="context?.attrs.readonly ?? false"
41
41
  :name="context?.attrs.name"
42
42
  :value="option.value"
43
43
  :input-style="context?.attrs.style"
@@ -39,7 +39,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
39
39
  v-model="context._value"
40
40
  v-bind="context?.attrs"
41
41
  :disabled="!!context?.disabled"
42
- :readonly="context?.attrs._readonly ?? false"
42
+ :readonly="context?.attrs.readonly ?? false"
43
43
  :style="context?.attrs.style"
44
44
  :class="styleClass"
45
45
  :tabindex="context?.attrs.tabindex"
@@ -41,7 +41,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
41
41
  v-model="context._value"
42
42
  v-bind="context?.attrs"
43
43
  :disabled="!!context?.disabled"
44
- :readonly="context?.attrs._readonly ?? false"
44
+ :readonly="context?.attrs.readonly ?? false"
45
45
  :style="context?.attrs.style"
46
46
  :class="styleClass"
47
47
  :tabindex="context?.attrs.tabindex"
@@ -40,7 +40,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
40
40
  v-model="context._value"
41
41
  v-bind="context?.attrs"
42
42
  :disabled="!!context?.disabled"
43
- :readonly="context?.attrs._readonly ?? false"
43
+ :readonly="context?.attrs.readonly ?? false"
44
44
  :style="context?.attrs.style"
45
45
  :class="styleClass"
46
46
  :tabindex="context?.attrs.tabindex"
@@ -36,7 +36,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
36
36
  v-model="context._value"
37
37
  v-bind="context?.attrs"
38
38
  :disabled="!!context?.disabled"
39
- :readonly="context?.attrs._readonly ?? false"
39
+ :readonly="context?.attrs.readonly ?? false"
40
40
  :style="context?.attrs.style"
41
41
  :class="styleClass"
42
42
  :tabindex="context?.attrs.tabindex"
@@ -39,7 +39,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
39
39
  v-bind="context?.attrs"
40
40
  :input-id="context.id"
41
41
  :disabled="!!context?.disabled"
42
- :readonly="context?.attrs._readonly ?? false"
42
+ :readonly="context?.attrs.readonly ?? false"
43
43
  :input-style="context?.attrs.style"
44
44
  :input-class="styleClass"
45
45
  :tabindex="context?.attrs.tabindex"
@@ -44,7 +44,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
44
44
  v-bind="context?.attrs"
45
45
  :input-id="context.id"
46
46
  :disabled="!!context?.disabled"
47
- :readonly="context?.attrs._readonly ?? false"
47
+ :readonly="context?.attrs.readonly ?? false"
48
48
  :input-style="context?.attrs.style"
49
49
  :input-class="styleClass"
50
50
  :tabindex="context?.attrs.tabindex"
@@ -38,7 +38,7 @@ const styleClass = computed(() => (props.context?.state.validationVisible && !pr
38
38
  v-bind="context?.attrs"
39
39
  :input-id="context.id"
40
40
  :disabled="!!context?.disabled"
41
- :readonly="context?.attrs._readonly ?? false"
41
+ :readonly="context?.attrs.readonly ?? false"
42
42
  :input-style="context?.attrs.style"
43
43
  :input-class="styleClass"
44
44
  :tabindex="context?.attrs.tabindex"
@@ -1,2 +1,3 @@
1
1
  import { useFormKitSchema } from './useFormKitSchema';
2
- export { useFormKitSchema, };
2
+ import { useInputEditorSchema } from './useInputEditorSchema';
3
+ export { useFormKitSchema, useInputEditorSchema, };
@@ -9,4 +9,11 @@ Object.defineProperty(exports, "useFormKitSchema", {
9
9
  return _useFormKitSchema.useFormKitSchema;
10
10
  }
11
11
  });
12
- var _useFormKitSchema = require("./useFormKitSchema");
12
+ Object.defineProperty(exports, "useInputEditorSchema", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _useInputEditorSchema.useInputEditorSchema;
16
+ }
17
+ });
18
+ var _useFormKitSchema = require("./useFormKitSchema");
19
+ var _useInputEditorSchema = require("./useInputEditorSchema");
@@ -1,4 +1,6 @@
1
1
  import { useFormKitSchema } from "./useFormKitSchema.mjs";
2
+ import { useInputEditorSchema } from "./useInputEditorSchema.mjs";
2
3
  export {
3
- useFormKitSchema
4
+ useFormKitSchema,
5
+ useInputEditorSchema
4
6
  };
@@ -1,25 +1,25 @@
1
1
  export declare function useFormKitSchema(): {
2
- addComponent: (component?: string, props?: object, render?: string) => object;
3
- addElement: (element?: string, children?: any[] | string, attrs?: object, render?: string) => {
2
+ addComponent: (component?: string, props?: object, render?: string, formKitAttrs?: object) => object;
3
+ addElement: (element?: string, children?: any[] | string, attrs?: object, render?: string, formKitAttrs?: object) => {
4
4
  $el: string;
5
5
  if: string;
6
6
  attrs: object;
7
7
  children: string | any[];
8
8
  };
9
- addGroup: (name: string, children?: object[], render?: string) => {
9
+ addGroup: (name: string, children?: object[], render?: string, formKitAttrs?: object) => {
10
10
  $formkit: string;
11
11
  if: string;
12
12
  name: string;
13
13
  children: object[];
14
14
  };
15
- addList: (name: string, children: object[], dynamic?: boolean, render?: string) => {
15
+ addList: (name: string, children: object[], dynamic?: boolean, render?: string, formKitAttrs?: object) => {
16
16
  $formkit: string;
17
17
  if: string;
18
18
  name: string;
19
19
  dynamic: boolean;
20
20
  children: object[];
21
21
  };
22
- addListGroup: (children?: object[], render?: string) => {
22
+ addListGroup: (children?: object[], render?: string, formKitAttrs?: object) => {
23
23
  $formkit: string;
24
24
  if: string;
25
25
  for: string[];
@@ -5,39 +5,43 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.useFormKitSchema = useFormKitSchema;
7
7
  function useFormKitSchema() {
8
- const addComponent = (component = "Button", props = {}, render = "true") => {
8
+ const addComponent = (component = "Button", props = {}, render = "true", formKitAttrs = {}) => {
9
9
  return {
10
10
  $cmp: component,
11
11
  if: render,
12
- props
12
+ props,
13
+ ...formKitAttrs
13
14
  };
14
15
  };
15
- const addElement = (element = "div", children = [], attrs = {}, render = "true") => {
16
+ const addElement = (element = "div", children = [], attrs = {}, render = "true", formKitAttrs = {}) => {
16
17
  return {
17
18
  $el: element,
18
19
  if: render,
19
20
  attrs,
20
- children
21
+ children,
22
+ ...formKitAttrs
21
23
  };
22
24
  };
23
- const addGroup = (name, children = [], render = "true") => {
25
+ const addGroup = (name, children = [], render = "true", formKitAttrs = {}) => {
24
26
  return {
25
27
  $formkit: "group",
26
28
  if: render,
27
29
  name,
28
- children
30
+ children,
31
+ ...formKitAttrs
29
32
  };
30
33
  };
31
- const addList = (name, children, dynamic = true, render = "true") => {
34
+ const addList = (name, children, dynamic = true, render = "true", formKitAttrs = {}) => {
32
35
  return {
33
36
  $formkit: "list",
34
37
  if: render,
35
38
  name,
36
39
  dynamic,
37
- children
40
+ children,
41
+ ...formKitAttrs
38
42
  };
39
43
  };
40
- const addListGroup = (children = [], render = "true") => {
44
+ const addListGroup = (children = [], render = "true", formKitAttrs = {}) => {
41
45
  return {
42
46
  $formkit: "group",
43
47
  if: render,
@@ -45,7 +49,8 @@ function useFormKitSchema() {
45
49
  // 👈 $items is in the slot’s scope
46
50
  key: "$item",
47
51
  index: "$index",
48
- children
52
+ children,
53
+ ...formKitAttrs
49
54
  };
50
55
  };
51
56
  function addListGroupFunctions(data, addNodeDefaultObject = {}) {
@@ -1,37 +1,41 @@
1
1
  export function useFormKitSchema() {
2
- const addComponent = (component = "Button", props = {}, render = "true") => {
2
+ const addComponent = (component = "Button", props = {}, render = "true", formKitAttrs = {}) => {
3
3
  return {
4
4
  $cmp: component,
5
5
  if: render,
6
- props
6
+ props,
7
+ ...formKitAttrs
7
8
  };
8
9
  };
9
- const addElement = (element = "div", children = [], attrs = {}, render = "true") => {
10
+ const addElement = (element = "div", children = [], attrs = {}, render = "true", formKitAttrs = {}) => {
10
11
  return {
11
12
  $el: element,
12
13
  if: render,
13
14
  attrs,
14
- children
15
+ children,
16
+ ...formKitAttrs
15
17
  };
16
18
  };
17
- const addGroup = (name, children = [], render = "true") => {
19
+ const addGroup = (name, children = [], render = "true", formKitAttrs = {}) => {
18
20
  return {
19
21
  $formkit: "group",
20
22
  if: render,
21
23
  name,
22
- children
24
+ children,
25
+ ...formKitAttrs
23
26
  };
24
27
  };
25
- const addList = (name, children, dynamic = true, render = "true") => {
28
+ const addList = (name, children, dynamic = true, render = "true", formKitAttrs = {}) => {
26
29
  return {
27
30
  $formkit: "list",
28
31
  if: render,
29
32
  name,
30
33
  dynamic,
31
- children
34
+ children,
35
+ ...formKitAttrs
32
36
  };
33
37
  };
34
- const addListGroup = (children = [], render = "true") => {
38
+ const addListGroup = (children = [], render = "true", formKitAttrs = {}) => {
35
39
  return {
36
40
  $formkit: "group",
37
41
  if: render,
@@ -39,7 +43,8 @@ export function useFormKitSchema() {
39
43
  // 👈 $items is in the slot’s scope
40
44
  key: "$item",
41
45
  index: "$index",
42
- children
46
+ children,
47
+ ...formKitAttrs
43
48
  };
44
49
  };
45
50
  function addListGroupFunctions(data, addNodeDefaultObject = {}) {
@@ -0,0 +1,132 @@
1
+ export declare function useInputEditorSchema(): {
2
+ editorSchema: (inputOptions?: any[]) => ({
3
+ $formkit: string;
4
+ if: string;
5
+ name: string;
6
+ dynamic: boolean;
7
+ children: object[];
8
+ } | {
9
+ $formkit: string;
10
+ id: string;
11
+ name: string;
12
+ label: string;
13
+ value: string;
14
+ optionLabel: string;
15
+ optionValue: string;
16
+ options: any[];
17
+ key: string;
18
+ preserve: boolean;
19
+ validation?: undefined;
20
+ validationVisibility?: undefined;
21
+ allowEmpty?: undefined;
22
+ if?: undefined;
23
+ } | {
24
+ $formkit: string;
25
+ name: string;
26
+ label: string;
27
+ validation: string;
28
+ validationVisibility: string;
29
+ key: string;
30
+ preserve: boolean;
31
+ id?: undefined;
32
+ value?: undefined;
33
+ optionLabel?: undefined;
34
+ optionValue?: undefined;
35
+ options?: undefined;
36
+ allowEmpty?: undefined;
37
+ if?: undefined;
38
+ } | {
39
+ $formkit: string;
40
+ id: string;
41
+ name: string;
42
+ options: {
43
+ label: string;
44
+ value: string;
45
+ }[];
46
+ optionLabel: string;
47
+ optionValue: string;
48
+ value: string;
49
+ allowEmpty: boolean;
50
+ key: string;
51
+ preserve: boolean;
52
+ label?: undefined;
53
+ validation?: undefined;
54
+ validationVisibility?: undefined;
55
+ if?: undefined;
56
+ } | {
57
+ $formkit: string;
58
+ if: string;
59
+ name: string;
60
+ label: string;
61
+ key: string;
62
+ preserve: boolean;
63
+ id?: undefined;
64
+ value?: undefined;
65
+ optionLabel?: undefined;
66
+ optionValue?: undefined;
67
+ options?: undefined;
68
+ validation?: undefined;
69
+ validationVisibility?: undefined;
70
+ allowEmpty?: undefined;
71
+ } | {
72
+ $formkit: string;
73
+ if: string;
74
+ name: string;
75
+ label: string;
76
+ key: string;
77
+ value: boolean;
78
+ preserve: boolean;
79
+ id?: undefined;
80
+ optionLabel?: undefined;
81
+ optionValue?: undefined;
82
+ options?: undefined;
83
+ validation?: undefined;
84
+ validationVisibility?: undefined;
85
+ allowEmpty?: undefined;
86
+ } | {
87
+ $formkit: string;
88
+ if: string;
89
+ name: string;
90
+ label: string;
91
+ value: string;
92
+ optionLabel: string;
93
+ optionValue: string;
94
+ options: {
95
+ label: string;
96
+ value: string;
97
+ }[];
98
+ key: string;
99
+ preserve: boolean;
100
+ id?: undefined;
101
+ validation?: undefined;
102
+ validationVisibility?: undefined;
103
+ allowEmpty?: undefined;
104
+ } | {
105
+ $formkit: string;
106
+ if: string;
107
+ name: string;
108
+ label: string;
109
+ optionLabel: string;
110
+ optionValue: string;
111
+ options: {
112
+ label: string;
113
+ value: string;
114
+ }[];
115
+ key: string;
116
+ preserve: boolean;
117
+ id?: undefined;
118
+ value?: undefined;
119
+ validation?: undefined;
120
+ validationVisibility?: undefined;
121
+ allowEmpty?: undefined;
122
+ })[];
123
+ primeInputNames: string[];
124
+ primeInputOptions: (list: string[]) => {
125
+ label: string;
126
+ value: string;
127
+ }[];
128
+ editorDataToSchema: (data: any) => any;
129
+ editorDataToJson: (data: any) => string;
130
+ editorDataToCode: (data: any) => string;
131
+ schemaToEditorData: (schema: any) => any;
132
+ };