@sfxcode/formkit-primevue 3.3.1 → 3.3.4
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.
- package/dist/components/FormKitDataDebug.vue +19 -0
- package/dist/components/FormKitDataEdit.vue +133 -0
- package/dist/components/FormKitDataView.vue +51 -0
- package/dist/components/FormKitIcon.vue +18 -0
- package/dist/components/FormKitPrefix.vue +11 -0
- package/dist/components/FormKitSuffix.vue +11 -0
- package/dist/components/PrimeAutoComplete.vue +95 -0
- package/dist/components/PrimeCascadeSelect.vue +43 -0
- package/dist/components/PrimeCheckbox.vue +51 -0
- package/dist/components/PrimeColorPicker.vue +33 -0
- package/dist/components/PrimeDatePicker.vue +97 -0
- package/dist/components/PrimeInputMask.vue +69 -0
- package/dist/components/PrimeInputNumber.vue +75 -0
- package/dist/components/PrimeInputOtp.vue +42 -0
- package/dist/components/PrimeInputText.vue +65 -0
- package/dist/components/PrimeKnob.vue +50 -0
- package/dist/components/PrimeListbox.vue +54 -0
- package/dist/components/PrimeMultiSelect.vue +70 -0
- package/dist/components/PrimeOutputBoolean.vue +42 -0
- package/dist/components/PrimeOutputDate.vue +51 -0
- package/dist/components/PrimeOutputDuration.vue +36 -0
- package/dist/components/PrimeOutputLink.vue +52 -0
- package/dist/components/PrimeOutputList.vue +106 -0
- package/dist/components/PrimeOutputNumber.vue +56 -0
- package/dist/components/PrimeOutputReference.vue +64 -0
- package/dist/components/PrimeOutputText.vue +72 -0
- package/dist/components/PrimePassword.vue +52 -0
- package/dist/components/PrimeRadioButton.vue +48 -0
- package/dist/components/PrimeRating.vue +40 -0
- package/dist/components/PrimeSelect.vue +71 -0
- package/dist/components/PrimeSelectButton.vue +44 -0
- package/dist/components/PrimeSlider.vue +42 -0
- package/dist/components/PrimeTextarea.vue +37 -0
- package/dist/components/PrimeToggleButton.vue +42 -0
- package/dist/components/PrimeToggleSwitch.vue +42 -0
- package/dist/components/PrimeTreeSelect.vue +48 -0
- package/dist/components/index.d.ts +24 -2
- package/dist/components/index.js +167 -4
- package/dist/components/index.mjs +48 -0
- package/dist/composables/index.d.ts +9 -2
- package/dist/composables/index.js +61 -2
- package/dist/composables/index.mjs +18 -0
- package/dist/composables/useFormKitInput.d.ts +11 -0
- package/dist/composables/useFormKitInput.js +62 -0
- package/dist/composables/useFormKitInput.mjs +57 -0
- package/dist/composables/useFormKitRepeater.d.ts +15 -0
- package/dist/composables/useFormKitRepeater.js +74 -0
- package/dist/composables/useFormKitRepeater.mjs +82 -0
- package/dist/composables/useFormKitSchema.d.ts +36 -0
- package/dist/composables/useFormKitSchema.js +83 -0
- package/dist/composables/useFormKitSchema.mjs +66 -0
- package/dist/composables/useFormKitSection.d.ts +7 -0
- package/dist/composables/useFormKitSection.js +31 -0
- package/dist/composables/useFormKitSection.mjs +19 -0
- package/dist/composables/useInputEditor.d.ts +8 -0
- package/dist/composables/useInputEditor.js +148 -0
- package/dist/composables/useInputEditor.mjs +171 -0
- package/dist/composables/useInputEditorSchema.d.ts +163 -0
- package/dist/composables/useInputEditorSchema.js +313 -0
- package/dist/composables/useInputEditorSchema.mjs +323 -0
- package/dist/composables/useOutputDuration.d.ts +4 -0
- package/dist/composables/useOutputDuration.js +40 -0
- package/dist/composables/useOutputDuration.mjs +32 -0
- package/dist/composables/usePrimeInputs.d.ts +3 -0
- package/dist/composables/usePrimeInputs.js +62 -0
- package/dist/composables/usePrimeInputs.mjs +53 -0
- package/dist/definitions/index.d.ts +32 -37
- package/dist/definitions/index.js +42 -4
- package/dist/definitions/index.mjs +68 -0
- package/dist/definitions/input.d.ts +47 -0
- package/dist/definitions/input.js +142 -0
- package/dist/definitions/input.mjs +421 -0
- package/dist/definitions/output.d.ts +9 -0
- package/dist/definitions/output.js +46 -0
- package/dist/definitions/output.mjs +120 -0
- package/dist/index.d.ts +142 -145
- package/dist/index.js +62 -5
- package/dist/index.mjs +20 -0
- package/dist/plugins/index.d.ts +3 -7
- package/dist/plugins/index.js +57 -45
- package/dist/plugins/index.mjs +59 -0
- package/dist/vue.d.ts +5 -0
- package/package.json +88 -40
- package/dist/PrimeTreeSelect-Dksx7tL-.js +0 -1881
- package/dist/components-HJnJ39cU.js +0 -255
- package/dist/composables-CZ6f1QYe.js +0 -820
- package/dist/definitions-BHwWaom7.js +0 -1196
- package/dist/index-Ch3MtT1C.d.ts +0 -266
- package/dist/index-EJ8M51RO.d.ts +0 -917
package/dist/index-Ch3MtT1C.d.ts
DELETED
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import * as vue from "vue";
|
|
2
|
-
|
|
3
|
-
//#region src/composables/useFormKitInput.d.ts
|
|
4
|
-
declare function useFormKitInput(context: any): {
|
|
5
|
-
isInvalid: vue.ComputedRef<any>;
|
|
6
|
-
validSlotNames: vue.ComputedRef<string[]>;
|
|
7
|
-
styleClass: vue.ComputedRef<any>;
|
|
8
|
-
unstyled: vue.ComputedRef<any>;
|
|
9
|
-
handleBlur: (event: Event) => void;
|
|
10
|
-
handleChange: (_: any) => void;
|
|
11
|
-
handleInput: (_: any) => void;
|
|
12
|
-
handleSelect: (e: any) => void;
|
|
13
|
-
modelValue: vue.WritableComputedRef<any, any>;
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/composables/useFormKitRepeater.d.ts
|
|
17
|
-
declare function useFormKitRepeater(): {
|
|
18
|
-
addInsertButton: (label?: string, innerClass?: string, outerClass?: string, buttonClass?: string, iconClass?: string) => {
|
|
19
|
-
$el: string;
|
|
20
|
-
if: string;
|
|
21
|
-
attrs: object;
|
|
22
|
-
children: string | any[];
|
|
23
|
-
};
|
|
24
|
-
addGroupButtons: (innerClass?: string, outerClass?: string, label?: string, help?: string, render?: string) => {
|
|
25
|
-
$el: string;
|
|
26
|
-
if: string;
|
|
27
|
-
attrs: object;
|
|
28
|
-
children: string | any[];
|
|
29
|
-
};
|
|
30
|
-
addListGroupFunctions: (data: any, addNodeDefaultObject?: object) => void;
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region src/composables/useFormKitSchema.d.ts
|
|
34
|
-
declare function useFormKitSchema(): {
|
|
35
|
-
addComponent: (component?: string, props?: object, render?: string | boolean, formKitAttrs?: object) => object;
|
|
36
|
-
addElement: (element?: string, children?: any[] | string, attrs?: object, render?: string | boolean, formKitAttrs?: object) => {
|
|
37
|
-
$el: string;
|
|
38
|
-
if: string;
|
|
39
|
-
attrs: object;
|
|
40
|
-
children: string | any[];
|
|
41
|
-
};
|
|
42
|
-
addGroup: (name: string, children?: object[], render?: string | boolean, formKitAttrs?: object) => {
|
|
43
|
-
$formkit: string;
|
|
44
|
-
if: string;
|
|
45
|
-
name: string;
|
|
46
|
-
children: object[];
|
|
47
|
-
};
|
|
48
|
-
addList: (name: string, children?: object[], dynamic?: boolean, render?: string | boolean, formKitAttrs?: object) => {
|
|
49
|
-
$formkit: string;
|
|
50
|
-
if: string;
|
|
51
|
-
name: string;
|
|
52
|
-
dynamic: boolean;
|
|
53
|
-
children: object[];
|
|
54
|
-
};
|
|
55
|
-
addListGroup: (children?: object[], render?: string | boolean, formKitAttrs?: object) => {
|
|
56
|
-
$formkit: string;
|
|
57
|
-
if: string;
|
|
58
|
-
for: string[];
|
|
59
|
-
key: string;
|
|
60
|
-
index: string;
|
|
61
|
-
children: object[];
|
|
62
|
-
};
|
|
63
|
-
addElementsInOuterDiv: (children?: object[], innerClass?: string, outerClass?: string, label?: string, help?: string, render?: string | boolean) => {
|
|
64
|
-
$el: string;
|
|
65
|
-
if: string;
|
|
66
|
-
attrs: object;
|
|
67
|
-
children: string | any[];
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
//#endregion
|
|
71
|
-
//#region src/composables/useFormKitSection.d.ts
|
|
72
|
-
declare function useFormKitSection(context: any): {
|
|
73
|
-
generateId: () => string;
|
|
74
|
-
hasPrefix: vue.ComputedRef<boolean>;
|
|
75
|
-
hasPrefixIcon: vue.ComputedRef<boolean>;
|
|
76
|
-
hasSuffix: vue.ComputedRef<boolean>;
|
|
77
|
-
hasSuffixIcon: vue.ComputedRef<boolean>;
|
|
78
|
-
};
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region src/composables/useInputEditor.d.ts
|
|
81
|
-
declare function useInputEditor(): {
|
|
82
|
-
primeInputNames: string[];
|
|
83
|
-
primeOutputNames: string[];
|
|
84
|
-
editorDataToSchema: (data: any) => any;
|
|
85
|
-
editorDataToJson: (data: any) => string;
|
|
86
|
-
editorDataToCode: (data: any) => string;
|
|
87
|
-
schemaToEditorData: (schema: any) => any;
|
|
88
|
-
};
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region src/composables/useInputEditorSchema.d.ts
|
|
91
|
-
declare function useInputEditorSchema(): {
|
|
92
|
-
editorSchema: (inputOptions?: any[]) => ({
|
|
93
|
-
$formkit: string;
|
|
94
|
-
if: string;
|
|
95
|
-
name: string;
|
|
96
|
-
dynamic: boolean;
|
|
97
|
-
children: object[];
|
|
98
|
-
} | {
|
|
99
|
-
$formkit: string;
|
|
100
|
-
id: string;
|
|
101
|
-
name: string;
|
|
102
|
-
label: string;
|
|
103
|
-
value: string;
|
|
104
|
-
optionLabel: string;
|
|
105
|
-
optionValue: string;
|
|
106
|
-
options: any[];
|
|
107
|
-
filter: boolean;
|
|
108
|
-
key: string;
|
|
109
|
-
outerClass: string;
|
|
110
|
-
preserve: boolean;
|
|
111
|
-
validation?: undefined;
|
|
112
|
-
validationVisibility?: undefined;
|
|
113
|
-
allowEmpty?: undefined;
|
|
114
|
-
if?: undefined;
|
|
115
|
-
suffix?: undefined;
|
|
116
|
-
} | {
|
|
117
|
-
$formkit: string;
|
|
118
|
-
name: string;
|
|
119
|
-
label: string;
|
|
120
|
-
validation: string;
|
|
121
|
-
validationVisibility: string;
|
|
122
|
-
key: string;
|
|
123
|
-
outerClass: string;
|
|
124
|
-
preserve: boolean;
|
|
125
|
-
id?: undefined;
|
|
126
|
-
value?: undefined;
|
|
127
|
-
optionLabel?: undefined;
|
|
128
|
-
optionValue?: undefined;
|
|
129
|
-
options?: undefined;
|
|
130
|
-
filter?: undefined;
|
|
131
|
-
allowEmpty?: undefined;
|
|
132
|
-
if?: undefined;
|
|
133
|
-
suffix?: undefined;
|
|
134
|
-
} | {
|
|
135
|
-
$formkit: string;
|
|
136
|
-
id: string;
|
|
137
|
-
name: string;
|
|
138
|
-
options: {
|
|
139
|
-
label: string;
|
|
140
|
-
value: string;
|
|
141
|
-
}[];
|
|
142
|
-
optionLabel: string;
|
|
143
|
-
optionValue: string;
|
|
144
|
-
value: string;
|
|
145
|
-
allowEmpty: boolean;
|
|
146
|
-
key: string;
|
|
147
|
-
preserve: boolean;
|
|
148
|
-
label?: undefined;
|
|
149
|
-
filter?: undefined;
|
|
150
|
-
outerClass?: undefined;
|
|
151
|
-
validation?: undefined;
|
|
152
|
-
validationVisibility?: undefined;
|
|
153
|
-
if?: undefined;
|
|
154
|
-
suffix?: undefined;
|
|
155
|
-
} | {
|
|
156
|
-
$formkit: string;
|
|
157
|
-
if: string;
|
|
158
|
-
name: string;
|
|
159
|
-
label: string;
|
|
160
|
-
key: string;
|
|
161
|
-
preserve: boolean;
|
|
162
|
-
id?: undefined;
|
|
163
|
-
value?: undefined;
|
|
164
|
-
optionLabel?: undefined;
|
|
165
|
-
optionValue?: undefined;
|
|
166
|
-
options?: undefined;
|
|
167
|
-
filter?: undefined;
|
|
168
|
-
outerClass?: undefined;
|
|
169
|
-
validation?: undefined;
|
|
170
|
-
validationVisibility?: undefined;
|
|
171
|
-
allowEmpty?: undefined;
|
|
172
|
-
suffix?: undefined;
|
|
173
|
-
} | {
|
|
174
|
-
$formkit: string;
|
|
175
|
-
if: string;
|
|
176
|
-
name: string;
|
|
177
|
-
label: string;
|
|
178
|
-
key: string;
|
|
179
|
-
outerClass: string;
|
|
180
|
-
preserve: boolean;
|
|
181
|
-
id?: undefined;
|
|
182
|
-
value?: undefined;
|
|
183
|
-
optionLabel?: undefined;
|
|
184
|
-
optionValue?: undefined;
|
|
185
|
-
options?: undefined;
|
|
186
|
-
filter?: undefined;
|
|
187
|
-
validation?: undefined;
|
|
188
|
-
validationVisibility?: undefined;
|
|
189
|
-
allowEmpty?: undefined;
|
|
190
|
-
suffix?: undefined;
|
|
191
|
-
} | {
|
|
192
|
-
$formkit: string;
|
|
193
|
-
if: string;
|
|
194
|
-
name: string;
|
|
195
|
-
label: string;
|
|
196
|
-
key: string;
|
|
197
|
-
value: boolean;
|
|
198
|
-
suffix: string;
|
|
199
|
-
outerClass: string;
|
|
200
|
-
preserve: boolean;
|
|
201
|
-
id?: undefined;
|
|
202
|
-
optionLabel?: undefined;
|
|
203
|
-
optionValue?: undefined;
|
|
204
|
-
options?: undefined;
|
|
205
|
-
filter?: undefined;
|
|
206
|
-
validation?: undefined;
|
|
207
|
-
validationVisibility?: undefined;
|
|
208
|
-
allowEmpty?: undefined;
|
|
209
|
-
} | {
|
|
210
|
-
$formkit: string;
|
|
211
|
-
if: string;
|
|
212
|
-
name: string;
|
|
213
|
-
label: string;
|
|
214
|
-
key: string;
|
|
215
|
-
value: boolean;
|
|
216
|
-
outerClass: string;
|
|
217
|
-
preserve: boolean;
|
|
218
|
-
id?: undefined;
|
|
219
|
-
optionLabel?: undefined;
|
|
220
|
-
optionValue?: undefined;
|
|
221
|
-
options?: undefined;
|
|
222
|
-
filter?: undefined;
|
|
223
|
-
validation?: undefined;
|
|
224
|
-
validationVisibility?: undefined;
|
|
225
|
-
allowEmpty?: undefined;
|
|
226
|
-
suffix?: undefined;
|
|
227
|
-
} | {
|
|
228
|
-
$formkit: string;
|
|
229
|
-
if: string;
|
|
230
|
-
name: string;
|
|
231
|
-
label: string;
|
|
232
|
-
optionLabel: string;
|
|
233
|
-
optionValue: string;
|
|
234
|
-
options: {
|
|
235
|
-
label: string;
|
|
236
|
-
value: string;
|
|
237
|
-
}[];
|
|
238
|
-
key: string;
|
|
239
|
-
outerClass: string;
|
|
240
|
-
preserve: boolean;
|
|
241
|
-
id?: undefined;
|
|
242
|
-
value?: undefined;
|
|
243
|
-
filter?: undefined;
|
|
244
|
-
validation?: undefined;
|
|
245
|
-
validationVisibility?: undefined;
|
|
246
|
-
allowEmpty?: undefined;
|
|
247
|
-
suffix?: undefined;
|
|
248
|
-
})[];
|
|
249
|
-
primeInputOptions: (list: string[]) => {
|
|
250
|
-
label: string;
|
|
251
|
-
value: string;
|
|
252
|
-
}[];
|
|
253
|
-
};
|
|
254
|
-
//#endregion
|
|
255
|
-
//#region src/composables/useOutputDuration.d.ts
|
|
256
|
-
declare function useOutputDuration(): {
|
|
257
|
-
durationToMinutes: (duration: string) => number;
|
|
258
|
-
formattedDuration: (duration: string) => string;
|
|
259
|
-
};
|
|
260
|
-
//#endregion
|
|
261
|
-
//#region src/composables/usePrimeInputs.d.ts
|
|
262
|
-
declare function usePrimeInputs(): {
|
|
263
|
-
registerInputs: (app: any) => void;
|
|
264
|
-
};
|
|
265
|
-
//#endregion
|
|
266
|
-
export { useFormKitSection as a, useFormKitInput as c, useInputEditor as i, useOutputDuration as n, useFormKitSchema as o, useInputEditorSchema as r, useFormKitRepeater as s, usePrimeInputs as t };
|