@prefabs.tech/vue3-form 0.12.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 (109) hide show
  1. package/LICENSE +21 -0
  2. package/dist/PrefabsTechVue3Form.es.js +13296 -0
  3. package/dist/PrefabsTechVue3Form.umd.js +10 -0
  4. package/dist/src/components/Checkbox.vue.d.ts +60 -0
  5. package/dist/src/components/Checkbox.vue.d.ts.map +1 -0
  6. package/dist/src/components/CheckboxInput.vue.d.ts +101 -0
  7. package/dist/src/components/CheckboxInput.vue.d.ts.map +1 -0
  8. package/dist/src/components/CurrencyPicker.vue.d.ts +116 -0
  9. package/dist/src/components/CurrencyPicker.vue.d.ts.map +1 -0
  10. package/dist/src/components/DatePicker.vue.d.ts +101 -0
  11. package/dist/src/components/DatePicker.vue.d.ts.map +1 -0
  12. package/dist/src/components/DaysInput.vue.d.ts +71 -0
  13. package/dist/src/components/DaysInput.vue.d.ts.map +1 -0
  14. package/dist/src/components/EditableContent.vue.d.ts +64 -0
  15. package/dist/src/components/EditableContent.vue.d.ts.map +1 -0
  16. package/dist/src/components/Email.vue.d.ts +99 -0
  17. package/dist/src/components/Email.vue.d.ts.map +1 -0
  18. package/dist/src/components/File/FileInput.vue.d.ts +142 -0
  19. package/dist/src/components/File/FileInput.vue.d.ts.map +1 -0
  20. package/dist/src/components/File/SelectedFile.vue.d.ts +48 -0
  21. package/dist/src/components/File/SelectedFile.vue.d.ts.map +1 -0
  22. package/dist/src/components/Form.vue.d.ts +16 -0
  23. package/dist/src/components/Form.vue.d.ts.map +1 -0
  24. package/dist/src/components/FormActions.vue.d.ts +80 -0
  25. package/dist/src/components/FormActions.vue.d.ts.map +1 -0
  26. package/dist/src/components/Input.vue.d.ts +79 -0
  27. package/dist/src/components/Input.vue.d.ts.map +1 -0
  28. package/dist/src/components/NumberInput.vue.d.ts +99 -0
  29. package/dist/src/components/NumberInput.vue.d.ts.map +1 -0
  30. package/dist/src/components/Password.vue.d.ts +110 -0
  31. package/dist/src/components/Password.vue.d.ts.map +1 -0
  32. package/dist/src/components/Radio.vue.d.ts +78 -0
  33. package/dist/src/components/Radio.vue.d.ts.map +1 -0
  34. package/dist/src/components/RadioInput.vue.d.ts +90 -0
  35. package/dist/src/components/RadioInput.vue.d.ts.map +1 -0
  36. package/dist/src/components/Select.vue.d.ts +129 -0
  37. package/dist/src/components/Select.vue.d.ts.map +1 -0
  38. package/dist/src/components/SelectInput.vue.d.ts +167 -0
  39. package/dist/src/components/SelectInput.vue.d.ts.map +1 -0
  40. package/dist/src/components/Switch.vue.d.ts +56 -0
  41. package/dist/src/components/Switch.vue.d.ts.map +1 -0
  42. package/dist/src/components/SwitchInput.vue.d.ts +79 -0
  43. package/dist/src/components/SwitchInput.vue.d.ts.map +1 -0
  44. package/dist/src/components/TextInput.vue.d.ts +99 -0
  45. package/dist/src/components/TextInput.vue.d.ts.map +1 -0
  46. package/dist/src/components/TextareaInput.vue.d.ts +121 -0
  47. package/dist/src/components/TextareaInput.vue.d.ts.map +1 -0
  48. package/dist/src/components/Typeahead.vue.d.ts +101 -0
  49. package/dist/src/components/Typeahead.vue.d.ts.map +1 -0
  50. package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts +2 -0
  51. package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts.map +1 -0
  52. package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts +2 -0
  53. package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts.map +1 -0
  54. package/dist/src/components/__test__/snapshot/Email.test.d.ts +2 -0
  55. package/dist/src/components/__test__/snapshot/Email.test.d.ts.map +1 -0
  56. package/dist/src/components/__test__/snapshot/FormActions.test.d.ts +2 -0
  57. package/dist/src/components/__test__/snapshot/FormActions.test.d.ts.map +1 -0
  58. package/dist/src/components/__test__/snapshot/Input.test.d.ts +2 -0
  59. package/dist/src/components/__test__/snapshot/Input.test.d.ts.map +1 -0
  60. package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts +2 -0
  61. package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts.map +1 -0
  62. package/dist/src/components/__test__/snapshot/Password.test.d.ts +2 -0
  63. package/dist/src/components/__test__/snapshot/Password.test.d.ts.map +1 -0
  64. package/dist/src/components/__test__/snapshot/Select.test.d.ts +2 -0
  65. package/dist/src/components/__test__/snapshot/Select.test.d.ts.map +1 -0
  66. package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts +2 -0
  67. package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts.map +1 -0
  68. package/dist/src/components/__test__/snapshot/Switch.test.d.ts +2 -0
  69. package/dist/src/components/__test__/snapshot/Switch.test.d.ts.map +1 -0
  70. package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts +2 -0
  71. package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts.map +1 -0
  72. package/dist/src/components/__test__/snapshot/TextInput.test.d.ts +2 -0
  73. package/dist/src/components/__test__/snapshot/TextInput.test.d.ts.map +1 -0
  74. package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts +2 -0
  75. package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts.map +1 -0
  76. package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts +2 -0
  77. package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts.map +1 -0
  78. package/dist/src/components/index.d.ts +23 -0
  79. package/dist/src/components/index.d.ts.map +1 -0
  80. package/dist/src/index.d.ts +5 -0
  81. package/dist/src/index.d.ts.map +1 -0
  82. package/dist/src/schemas/Email.d.ts +6 -0
  83. package/dist/src/schemas/Email.d.ts.map +1 -0
  84. package/dist/src/schemas/Number.d.ts +6 -0
  85. package/dist/src/schemas/Number.d.ts.map +1 -0
  86. package/dist/src/schemas/Password.d.ts +5 -0
  87. package/dist/src/schemas/Password.d.ts.map +1 -0
  88. package/dist/src/schemas/Text.d.ts +6 -0
  89. package/dist/src/schemas/Text.d.ts.map +1 -0
  90. package/dist/src/schemas/index.d.ts +6 -0
  91. package/dist/src/schemas/index.d.ts.map +1 -0
  92. package/dist/src/types/index.d.ts +44 -0
  93. package/dist/src/types/index.d.ts.map +1 -0
  94. package/dist/src/types/validator/index.d.ts +5 -0
  95. package/dist/src/types/validator/index.d.ts.map +1 -0
  96. package/dist/src/types/validator/is-email-options.d.ts +51 -0
  97. package/dist/src/types/validator/is-email-options.d.ts.map +1 -0
  98. package/dist/src/types/validator/is-int-options.d.ts +25 -0
  99. package/dist/src/types/validator/is-int-options.d.ts.map +1 -0
  100. package/dist/src/types/validator/is-text-options.d.ts +9 -0
  101. package/dist/src/types/validator/is-text-options.d.ts.map +1 -0
  102. package/dist/src/types/validator/strong-password-options.d.ts +77 -0
  103. package/dist/src/types/validator/strong-password-options.d.ts.map +1 -0
  104. package/dist/src/utils/index.d.ts +2 -0
  105. package/dist/src/utils/index.d.ts.map +1 -0
  106. package/dist/src/utils/select.d.ts +8 -0
  107. package/dist/src/utils/select.d.ts.map +1 -0
  108. package/dist/vue3-form.css +1 -0
  109. package/package.json +82 -0
@@ -0,0 +1,90 @@
1
+ import { z } from "zod";
2
+ import type { InputOption } from "../types";
3
+ import type { PropType } from "vue";
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ direction: {
6
+ default: undefined;
7
+ type: StringConstructor;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ disabled: {
11
+ default: boolean;
12
+ type: BooleanConstructor;
13
+ };
14
+ helperText: {
15
+ default: undefined;
16
+ type: PropType<string | null | undefined>;
17
+ };
18
+ label: {
19
+ default: string;
20
+ required: false;
21
+ type: StringConstructor;
22
+ };
23
+ modelValue: {
24
+ default: string;
25
+ type: PropType<string | number | null | undefined>;
26
+ };
27
+ name: {
28
+ default: string;
29
+ required: false;
30
+ type: PropType<string>;
31
+ };
32
+ options: {
33
+ required: true;
34
+ type: PropType<InputOption[]>;
35
+ };
36
+ schema: {
37
+ default: () => {};
38
+ required: false;
39
+ type: PropType<z.ZodType<string | number | boolean>>;
40
+ };
41
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
42
+ direction: {
43
+ default: undefined;
44
+ type: StringConstructor;
45
+ validator: (value: string) => boolean;
46
+ };
47
+ disabled: {
48
+ default: boolean;
49
+ type: BooleanConstructor;
50
+ };
51
+ helperText: {
52
+ default: undefined;
53
+ type: PropType<string | null | undefined>;
54
+ };
55
+ label: {
56
+ default: string;
57
+ required: false;
58
+ type: StringConstructor;
59
+ };
60
+ modelValue: {
61
+ default: string;
62
+ type: PropType<string | number | null | undefined>;
63
+ };
64
+ name: {
65
+ default: string;
66
+ required: false;
67
+ type: PropType<string>;
68
+ };
69
+ options: {
70
+ required: true;
71
+ type: PropType<InputOption[]>;
72
+ };
73
+ schema: {
74
+ default: () => {};
75
+ required: false;
76
+ type: PropType<z.ZodType<string | number | boolean>>;
77
+ };
78
+ }>> & Readonly<{
79
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
+ }>, {
81
+ disabled: boolean;
82
+ label: string;
83
+ modelValue: string | number | null | undefined;
84
+ name: string;
85
+ direction: string;
86
+ schema: z.ZodType<string | number | boolean, z.ZodTypeDef, string | number | boolean>;
87
+ helperText: string | null | undefined;
88
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
+ export default _default;
90
+ //# sourceMappingURL=RadioInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RadioInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;2BAgEb,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASzB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;2BAjC3C,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASzB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;;;;AA9FlE,wBAgMc"}
@@ -0,0 +1,129 @@
1
+ import type { GroupedOption, SelectOption } from "../types";
2
+ import type { PropType } from "vue";
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ disabled: {
5
+ default: boolean;
6
+ type: BooleanConstructor;
7
+ };
8
+ disableGroupSelect: BooleanConstructor;
9
+ enableCustomSearch: BooleanConstructor;
10
+ enableTooltip: BooleanConstructor;
11
+ hasSortedOptions: {
12
+ default: boolean;
13
+ type: BooleanConstructor;
14
+ };
15
+ label: {
16
+ default: string;
17
+ required: false;
18
+ type: PropType<string>;
19
+ };
20
+ labelKey: {
21
+ default: undefined;
22
+ type: StringConstructor;
23
+ };
24
+ modelValue: {
25
+ default: () => never[];
26
+ required: false;
27
+ type: PropType<boolean | number | string | (number | string)[]>;
28
+ };
29
+ multiple: {
30
+ default: boolean;
31
+ type: BooleanConstructor;
32
+ };
33
+ options: {
34
+ required: true;
35
+ type: PropType<SelectOption[] | GroupedOption[]>;
36
+ };
37
+ placeholder: {
38
+ default: undefined;
39
+ type: StringConstructor;
40
+ };
41
+ showRemoveSelection: {
42
+ default: boolean;
43
+ type: BooleanConstructor;
44
+ };
45
+ tooltipOptions: {
46
+ default: () => {};
47
+ type: PropType<Record<string, unknown>>;
48
+ };
49
+ valueKey: {
50
+ default: undefined;
51
+ type: StringConstructor;
52
+ };
53
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchInput")[], "update:modelValue" | "update:searchInput", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
+ disabled: {
55
+ default: boolean;
56
+ type: BooleanConstructor;
57
+ };
58
+ disableGroupSelect: BooleanConstructor;
59
+ enableCustomSearch: BooleanConstructor;
60
+ enableTooltip: BooleanConstructor;
61
+ hasSortedOptions: {
62
+ default: boolean;
63
+ type: BooleanConstructor;
64
+ };
65
+ label: {
66
+ default: string;
67
+ required: false;
68
+ type: PropType<string>;
69
+ };
70
+ labelKey: {
71
+ default: undefined;
72
+ type: StringConstructor;
73
+ };
74
+ modelValue: {
75
+ default: () => never[];
76
+ required: false;
77
+ type: PropType<boolean | number | string | (number | string)[]>;
78
+ };
79
+ multiple: {
80
+ default: boolean;
81
+ type: BooleanConstructor;
82
+ };
83
+ options: {
84
+ required: true;
85
+ type: PropType<SelectOption[] | GroupedOption[]>;
86
+ };
87
+ placeholder: {
88
+ default: undefined;
89
+ type: StringConstructor;
90
+ };
91
+ showRemoveSelection: {
92
+ default: boolean;
93
+ type: BooleanConstructor;
94
+ };
95
+ tooltipOptions: {
96
+ default: () => {};
97
+ type: PropType<Record<string, unknown>>;
98
+ };
99
+ valueKey: {
100
+ default: undefined;
101
+ type: StringConstructor;
102
+ };
103
+ }>> & Readonly<{
104
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
105
+ "onUpdate:searchInput"?: ((...args: any[]) => any) | undefined;
106
+ }>, {
107
+ disabled: boolean;
108
+ label: string;
109
+ modelValue: string | number | boolean | (string | number)[];
110
+ disableGroupSelect: boolean;
111
+ enableCustomSearch: boolean;
112
+ enableTooltip: boolean;
113
+ hasSortedOptions: boolean;
114
+ labelKey: string;
115
+ multiple: boolean;
116
+ placeholder: string;
117
+ showRemoveSelection: boolean;
118
+ tooltipOptions: Record<string, unknown>;
119
+ valueKey: string;
120
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Record<string, (_: {}) => any> & Record<string, (_: {}) => any> & {
121
+ selection: (_: {}) => any;
122
+ }>;
123
+ export default _default;
124
+ type __VLS_WithTemplateSlots<T, S> = T & {
125
+ new (): {
126
+ $slots: S;
127
+ };
128
+ };
129
+ //# sourceMappingURL=Select.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAA2B,QAAQ,EAAO,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;cAie9C,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cASU,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;cAQc,QAAQ,CAAC,YAAY,EAAE,GAAG,aAAa,EAAE,CAAC;;;;;;;;;;;;cAYzC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;cA/BjC,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cASU,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;cAQc,QAAQ,CAAC,YAAY,EAAE,GAAG,aAAa,EAAE,CAAC;;;;;;;;;;;;cAYzC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;wGAyaQ,GAAG,8BACH,GAAG;eAErD,CAAC,CAAC,IAAiB,KAAK,GAAG;;AAz6BtC,wBAq9Bc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
@@ -0,0 +1,167 @@
1
+ import { z } from "zod";
2
+ import type { GroupedOption, SelectOption } from "../types";
3
+ import type { PropType } from "vue";
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ disabled: {
6
+ default: boolean;
7
+ type: BooleanConstructor;
8
+ };
9
+ enableCustomSearch: BooleanConstructor;
10
+ enableTooltip: BooleanConstructor;
11
+ hasSortedOptions: {
12
+ default: boolean;
13
+ type: BooleanConstructor;
14
+ };
15
+ label: {
16
+ default: string;
17
+ required: false;
18
+ type: PropType<string>;
19
+ };
20
+ labelKey: {
21
+ default: undefined;
22
+ type: StringConstructor;
23
+ };
24
+ maxSelection: {
25
+ default: undefined;
26
+ type: PropType<number | undefined>;
27
+ };
28
+ minSelection: {
29
+ default: undefined;
30
+ type: PropType<number | undefined>;
31
+ };
32
+ modelValue: {
33
+ default: () => null;
34
+ required: false;
35
+ type: PropType<boolean | number | string | (number | string)[]>;
36
+ };
37
+ multiple: {
38
+ default: boolean;
39
+ type: BooleanConstructor;
40
+ };
41
+ name: {
42
+ default: string;
43
+ required: false;
44
+ type: PropType<string>;
45
+ };
46
+ options: {
47
+ required: true;
48
+ type: PropType<GroupedOption[] | SelectOption[]>;
49
+ };
50
+ placeholder: {
51
+ default: undefined;
52
+ type: StringConstructor;
53
+ };
54
+ schema: {
55
+ default: () => {};
56
+ required: false;
57
+ type: PropType<z.ZodType<string | number | string[] | number[]>>;
58
+ };
59
+ showRemoveSelection: {
60
+ default: boolean;
61
+ type: BooleanConstructor;
62
+ };
63
+ tooltipOptions: {
64
+ default: () => {};
65
+ type: PropType<Record<string, unknown>>;
66
+ };
67
+ valueKey: {
68
+ default: undefined;
69
+ type: StringConstructor;
70
+ };
71
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchInput")[], "update:modelValue" | "update:searchInput", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
72
+ disabled: {
73
+ default: boolean;
74
+ type: BooleanConstructor;
75
+ };
76
+ enableCustomSearch: BooleanConstructor;
77
+ enableTooltip: BooleanConstructor;
78
+ hasSortedOptions: {
79
+ default: boolean;
80
+ type: BooleanConstructor;
81
+ };
82
+ label: {
83
+ default: string;
84
+ required: false;
85
+ type: PropType<string>;
86
+ };
87
+ labelKey: {
88
+ default: undefined;
89
+ type: StringConstructor;
90
+ };
91
+ maxSelection: {
92
+ default: undefined;
93
+ type: PropType<number | undefined>;
94
+ };
95
+ minSelection: {
96
+ default: undefined;
97
+ type: PropType<number | undefined>;
98
+ };
99
+ modelValue: {
100
+ default: () => null;
101
+ required: false;
102
+ type: PropType<boolean | number | string | (number | string)[]>;
103
+ };
104
+ multiple: {
105
+ default: boolean;
106
+ type: BooleanConstructor;
107
+ };
108
+ name: {
109
+ default: string;
110
+ required: false;
111
+ type: PropType<string>;
112
+ };
113
+ options: {
114
+ required: true;
115
+ type: PropType<GroupedOption[] | SelectOption[]>;
116
+ };
117
+ placeholder: {
118
+ default: undefined;
119
+ type: StringConstructor;
120
+ };
121
+ schema: {
122
+ default: () => {};
123
+ required: false;
124
+ type: PropType<z.ZodType<string | number | string[] | number[]>>;
125
+ };
126
+ showRemoveSelection: {
127
+ default: boolean;
128
+ type: BooleanConstructor;
129
+ };
130
+ tooltipOptions: {
131
+ default: () => {};
132
+ type: PropType<Record<string, unknown>>;
133
+ };
134
+ valueKey: {
135
+ default: undefined;
136
+ type: StringConstructor;
137
+ };
138
+ }>> & Readonly<{
139
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
140
+ "onUpdate:searchInput"?: ((...args: any[]) => any) | undefined;
141
+ }>, {
142
+ disabled: boolean;
143
+ label: string;
144
+ modelValue: string | number | boolean | (string | number)[];
145
+ name: string;
146
+ schema: z.ZodType<string | number | string[] | number[], z.ZodTypeDef, string | number | string[] | number[]>;
147
+ enableCustomSearch: boolean;
148
+ enableTooltip: boolean;
149
+ hasSortedOptions: boolean;
150
+ labelKey: string;
151
+ multiple: boolean;
152
+ placeholder: string;
153
+ showRemoveSelection: boolean;
154
+ tooltipOptions: Record<string, unknown>;
155
+ valueKey: string;
156
+ maxSelection: number | undefined;
157
+ minSelection: number | undefined;
158
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Record<string, (_: {}) => any> & Record<string, (_: {}) => any> & {
159
+ selection: (_: {}) => any;
160
+ }>;
161
+ export default _default;
162
+ type __VLS_WithTemplateSlots<T, S> = T & {
163
+ new (): {
164
+ $slots: S;
165
+ };
166
+ };
167
+ //# sourceMappingURL=SelectInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;cAiJhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;cAQhB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAKF,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;;cASe,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,aAAa,EAAE,GAAG,YAAY,EAAE,CAAC;;;;;;;;;cAWzC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;;;;;;;;cAQ1D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;cAnDjC,QAAQ,CAAC,MAAM,CAAC;;;;;;;;cAQhB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAKF,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;;cASe,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,aAAa,EAAE,GAAG,YAAY,EAAE,CAAC;;;;;;;;;cAWzC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;;;;;;;;cAQ1D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;wGAsLQ,GAAG,8BACH,GAAG;eAErD,CAAC,CAAC,IAAiB,KAAK,GAAG;;AA1XtC,wBA6Yc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { PropType } from "vue";
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ disabled: {
4
+ default: boolean;
5
+ type: BooleanConstructor;
6
+ };
7
+ label: {
8
+ default: string;
9
+ required: false;
10
+ type: PropType<string>;
11
+ };
12
+ modelValue: {
13
+ default: boolean;
14
+ type: BooleanConstructor;
15
+ };
16
+ offLabel: {
17
+ default: undefined;
18
+ type: StringConstructor;
19
+ };
20
+ onLabel: {
21
+ default: undefined;
22
+ type: StringConstructor;
23
+ };
24
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
+ disabled: {
26
+ default: boolean;
27
+ type: BooleanConstructor;
28
+ };
29
+ label: {
30
+ default: string;
31
+ required: false;
32
+ type: PropType<string>;
33
+ };
34
+ modelValue: {
35
+ default: boolean;
36
+ type: BooleanConstructor;
37
+ };
38
+ offLabel: {
39
+ default: undefined;
40
+ type: StringConstructor;
41
+ };
42
+ onLabel: {
43
+ default: undefined;
44
+ type: StringConstructor;
45
+ };
46
+ }>> & Readonly<{
47
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
+ }>, {
49
+ disabled: boolean;
50
+ label: string;
51
+ modelValue: boolean;
52
+ offLabel: string;
53
+ onLabel: string;
54
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
+ export default _default;
56
+ //# sourceMappingURL=Switch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch.vue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;cA6ChB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;cAAhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;AA1CpC,wBA+Hc"}
@@ -0,0 +1,79 @@
1
+ import { z } from "zod";
2
+ import type { PropType } from "vue";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ disabled: {
5
+ default: boolean;
6
+ type: BooleanConstructor;
7
+ };
8
+ label: {
9
+ default: string;
10
+ required: false;
11
+ type: PropType<string>;
12
+ };
13
+ modelValue: {
14
+ default: boolean;
15
+ type: BooleanConstructor;
16
+ };
17
+ name: {
18
+ default: string;
19
+ required: false;
20
+ type: PropType<string>;
21
+ };
22
+ offLabel: {
23
+ default: undefined;
24
+ type: StringConstructor;
25
+ };
26
+ onLabel: {
27
+ default: undefined;
28
+ type: StringConstructor;
29
+ };
30
+ schema: {
31
+ default: () => {};
32
+ required: false;
33
+ type: PropType<z.ZodType<string | number | boolean>>;
34
+ };
35
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ disabled: {
37
+ default: boolean;
38
+ type: BooleanConstructor;
39
+ };
40
+ label: {
41
+ default: string;
42
+ required: false;
43
+ type: PropType<string>;
44
+ };
45
+ modelValue: {
46
+ default: boolean;
47
+ type: BooleanConstructor;
48
+ };
49
+ name: {
50
+ default: string;
51
+ required: false;
52
+ type: PropType<string>;
53
+ };
54
+ offLabel: {
55
+ default: undefined;
56
+ type: StringConstructor;
57
+ };
58
+ onLabel: {
59
+ default: undefined;
60
+ type: StringConstructor;
61
+ };
62
+ schema: {
63
+ default: () => {};
64
+ required: false;
65
+ type: PropType<z.ZodType<string | number | boolean>>;
66
+ };
67
+ }>> & Readonly<{
68
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
+ }>, {
70
+ disabled: boolean;
71
+ label: string;
72
+ modelValue: boolean;
73
+ name: string;
74
+ schema: z.ZodType<string | number | boolean, z.ZodTypeDef, string | number | boolean>;
75
+ offLabel: string;
76
+ onLabel: string;
77
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
78
+ export default _default;
79
+ //# sourceMappingURL=SwitchInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;cA6DhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAShB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;cAehB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;cAxB9C,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAShB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;cAehB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;;;;AAlFlE,wBAsMc"}
@@ -0,0 +1,99 @@
1
+ import { z } from "zod";
2
+ import type { TextErrorMessages, IsTextOptions } from "../types";
3
+ import type { PropType } from "vue";
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ disabled: {
6
+ default: boolean;
7
+ type: BooleanConstructor;
8
+ };
9
+ errorMessages: {
10
+ default: () => {
11
+ invalid: string;
12
+ required: string;
13
+ };
14
+ required: false;
15
+ type: PropType<TextErrorMessages>;
16
+ };
17
+ label: {
18
+ default: string;
19
+ required: false;
20
+ type: PropType<string>;
21
+ };
22
+ modelValue: {
23
+ default: string;
24
+ type: PropType<string | null | undefined>;
25
+ };
26
+ name: {
27
+ default: string;
28
+ required: false;
29
+ type: PropType<string>;
30
+ };
31
+ options: {
32
+ default: () => {};
33
+ required: false;
34
+ type: PropType<IsTextOptions>;
35
+ };
36
+ placeholder: {
37
+ default: string;
38
+ type: StringConstructor;
39
+ };
40
+ schema: {
41
+ default: () => {};
42
+ required: false;
43
+ type: PropType<z.ZodType<string | number>>;
44
+ };
45
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ disabled: {
47
+ default: boolean;
48
+ type: BooleanConstructor;
49
+ };
50
+ errorMessages: {
51
+ default: () => {
52
+ invalid: string;
53
+ required: string;
54
+ };
55
+ required: false;
56
+ type: PropType<TextErrorMessages>;
57
+ };
58
+ label: {
59
+ default: string;
60
+ required: false;
61
+ type: PropType<string>;
62
+ };
63
+ modelValue: {
64
+ default: string;
65
+ type: PropType<string | null | undefined>;
66
+ };
67
+ name: {
68
+ default: string;
69
+ required: false;
70
+ type: PropType<string>;
71
+ };
72
+ options: {
73
+ default: () => {};
74
+ required: false;
75
+ type: PropType<IsTextOptions>;
76
+ };
77
+ placeholder: {
78
+ default: string;
79
+ type: StringConstructor;
80
+ };
81
+ schema: {
82
+ default: () => {};
83
+ required: false;
84
+ type: PropType<z.ZodType<string | number>>;
85
+ };
86
+ }>> & Readonly<{
87
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
+ }>, {
89
+ disabled: boolean;
90
+ label: string;
91
+ modelValue: string | null | undefined;
92
+ name: string;
93
+ options: IsTextOptions;
94
+ schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
95
+ placeholder: string;
96
+ errorMessages: TextErrorMessages;
97
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
+ export default _default;
99
+ //# sourceMappingURL=TextInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;cAiFhB,QAAQ,CAAC,iBAAiB,CAAC;;;;;cAK3B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;cAWvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;cAhCpC,QAAQ,CAAC,iBAAiB,CAAC;;;;;cAK3B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;cAWvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;AA9GxD,wBA+Nc"}