@sfxcode/formkit-primevue 3.2.10 → 3.3.1
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/README.md +13 -138
- package/dist/PrimeTreeSelect-Dksx7tL-.js +1881 -0
- package/dist/components/index.d.ts +2 -24
- package/dist/components/index.js +4 -167
- package/dist/components-HJnJ39cU.js +255 -0
- package/dist/composables/index.d.ts +2 -9
- package/dist/composables/index.js +2 -61
- package/dist/composables-CZ6f1QYe.js +820 -0
- package/dist/definitions/index.d.ts +37 -32
- package/dist/definitions/index.js +4 -42
- package/dist/definitions-BHwWaom7.js +1196 -0
- package/dist/index-Ch3MtT1C.d.ts +266 -0
- package/dist/index-EJ8M51RO.d.ts +917 -0
- package/dist/index.d.ts +146 -143
- package/dist/index.js +5 -62
- package/dist/plugins/index.d.ts +7 -3
- package/dist/plugins/index.js +45 -57
- package/dist/sass/formkit-primevue.scss +99 -101
- package/package.json +32 -117
- package/LICENSE +0 -21
- package/components.d.ts +0 -1
- package/dist/components/FormKitDataDebug.d.vue.ts +0 -24
- package/dist/components/FormKitDataDebug.vue +0 -23
- package/dist/components/FormKitDataDebug.vue.d.ts +0 -24
- package/dist/components/FormKitDataEdit.d.vue.ts +0 -180
- package/dist/components/FormKitDataEdit.vue +0 -126
- package/dist/components/FormKitDataEdit.vue.d.ts +0 -180
- package/dist/components/FormKitDataView.d.vue.ts +0 -73
- package/dist/components/FormKitDataView.vue +0 -58
- package/dist/components/FormKitDataView.vue.d.ts +0 -73
- package/dist/components/FormKitIcon.d.vue.ts +0 -39
- package/dist/components/FormKitIcon.vue +0 -25
- package/dist/components/FormKitIcon.vue.d.ts +0 -39
- package/dist/components/FormKitPrefix.d.vue.ts +0 -7
- package/dist/components/FormKitPrefix.vue +0 -11
- package/dist/components/FormKitPrefix.vue.d.ts +0 -7
- package/dist/components/FormKitSuffix.d.vue.ts +0 -7
- package/dist/components/FormKitSuffix.vue +0 -11
- package/dist/components/FormKitSuffix.vue.d.ts +0 -7
- package/dist/components/PrimeAutoComplete.d.vue.ts +0 -31
- package/dist/components/PrimeAutoComplete.vue +0 -162
- package/dist/components/PrimeAutoComplete.vue.d.ts +0 -31
- package/dist/components/PrimeCascadeSelect.d.vue.ts +0 -28
- package/dist/components/PrimeCascadeSelect.vue +0 -62
- package/dist/components/PrimeCascadeSelect.vue.d.ts +0 -28
- package/dist/components/PrimeCheckbox.d.vue.ts +0 -27
- package/dist/components/PrimeCheckbox.vue +0 -71
- package/dist/components/PrimeCheckbox.vue.d.ts +0 -27
- package/dist/components/PrimeColorPicker.d.vue.ts +0 -24
- package/dist/components/PrimeColorPicker.vue +0 -48
- package/dist/components/PrimeColorPicker.vue.d.ts +0 -24
- package/dist/components/PrimeDatePicker.d.vue.ts +0 -63
- package/dist/components/PrimeDatePicker.vue +0 -153
- package/dist/components/PrimeDatePicker.vue.d.ts +0 -63
- package/dist/components/PrimeInputMask.d.vue.ts +0 -28
- package/dist/components/PrimeInputMask.vue +0 -88
- package/dist/components/PrimeInputMask.vue.d.ts +0 -28
- package/dist/components/PrimeInputNumber.d.vue.ts +0 -36
- package/dist/components/PrimeInputNumber.vue +0 -110
- package/dist/components/PrimeInputNumber.vue.d.ts +0 -36
- package/dist/components/PrimeInputOtp.d.vue.ts +0 -26
- package/dist/components/PrimeInputOtp.vue +0 -59
- package/dist/components/PrimeInputOtp.vue.d.ts +0 -26
- package/dist/components/PrimeInputText.d.vue.ts +0 -24
- package/dist/components/PrimeInputText.vue +0 -80
- package/dist/components/PrimeInputText.vue.d.ts +0 -24
- package/dist/components/PrimeKnob.d.vue.ts +0 -31
- package/dist/components/PrimeKnob.vue +0 -75
- package/dist/components/PrimeKnob.vue.d.ts +0 -31
- package/dist/components/PrimeListbox.d.vue.ts +0 -42
- package/dist/components/PrimeListbox.vue +0 -86
- package/dist/components/PrimeListbox.vue.d.ts +0 -42
- package/dist/components/PrimeMultiSelect.d.vue.ts +0 -53
- package/dist/components/PrimeMultiSelect.vue +0 -115
- package/dist/components/PrimeMultiSelect.vue.d.ts +0 -53
- package/dist/components/PrimeOutputBoolean.d.vue.ts +0 -16
- package/dist/components/PrimeOutputBoolean.vue +0 -41
- package/dist/components/PrimeOutputBoolean.vue.d.ts +0 -16
- package/dist/components/PrimeOutputDate.d.vue.ts +0 -16
- package/dist/components/PrimeOutputDate.vue +0 -51
- package/dist/components/PrimeOutputDate.vue.d.ts +0 -16
- package/dist/components/PrimeOutputDuration.d.vue.ts +0 -16
- package/dist/components/PrimeOutputDuration.vue +0 -32
- package/dist/components/PrimeOutputDuration.vue.d.ts +0 -16
- package/dist/components/PrimeOutputLink.d.vue.ts +0 -16
- package/dist/components/PrimeOutputLink.vue +0 -50
- package/dist/components/PrimeOutputLink.vue.d.ts +0 -16
- package/dist/components/PrimeOutputList.d.vue.ts +0 -19
- package/dist/components/PrimeOutputList.vue +0 -71
- package/dist/components/PrimeOutputList.vue.d.ts +0 -19
- package/dist/components/PrimeOutputNumber.d.vue.ts +0 -16
- package/dist/components/PrimeOutputNumber.vue +0 -59
- package/dist/components/PrimeOutputNumber.vue.d.ts +0 -16
- package/dist/components/PrimeOutputReference.d.vue.ts +0 -16
- package/dist/components/PrimeOutputReference.vue +0 -62
- package/dist/components/PrimeOutputReference.vue.d.ts +0 -16
- package/dist/components/PrimeOutputText.d.vue.ts +0 -22
- package/dist/components/PrimeOutputText.vue +0 -72
- package/dist/components/PrimeOutputText.vue.d.ts +0 -22
- package/dist/components/PrimePassword.d.vue.ts +0 -33
- package/dist/components/PrimePassword.vue +0 -73
- package/dist/components/PrimePassword.vue.d.ts +0 -33
- package/dist/components/PrimeRadioButton.d.vue.ts +0 -28
- package/dist/components/PrimeRadioButton.vue +0 -53
- package/dist/components/PrimeRadioButton.vue.d.ts +0 -28
- package/dist/components/PrimeRating.d.vue.ts +0 -24
- package/dist/components/PrimeRating.vue +0 -55
- package/dist/components/PrimeRating.vue.d.ts +0 -24
- package/dist/components/PrimeSelect.d.vue.ts +0 -50
- package/dist/components/PrimeSelect.vue +0 -113
- package/dist/components/PrimeSelect.vue.d.ts +0 -50
- package/dist/components/PrimeSelectButton.d.vue.ts +0 -28
- package/dist/components/PrimeSelectButton.vue +0 -64
- package/dist/components/PrimeSelectButton.vue.d.ts +0 -28
- package/dist/components/PrimeSlider.d.vue.ts +0 -26
- package/dist/components/PrimeSlider.vue +0 -60
- package/dist/components/PrimeSlider.vue.d.ts +0 -26
- package/dist/components/PrimeTextarea.d.vue.ts +0 -25
- package/dist/components/PrimeTextarea.vue +0 -53
- package/dist/components/PrimeTextarea.vue.d.ts +0 -25
- package/dist/components/PrimeToggleButton.d.vue.ts +0 -26
- package/dist/components/PrimeToggleButton.vue +0 -60
- package/dist/components/PrimeToggleButton.vue.d.ts +0 -26
- package/dist/components/PrimeToggleSwitch.d.vue.ts +0 -23
- package/dist/components/PrimeToggleSwitch.vue +0 -57
- package/dist/components/PrimeToggleSwitch.vue.d.ts +0 -23
- package/dist/components/PrimeTreeSelect.d.vue.ts +0 -32
- package/dist/components/PrimeTreeSelect.vue +0 -71
- package/dist/components/PrimeTreeSelect.vue.d.ts +0 -32
- package/dist/components/index.mjs +0 -48
- package/dist/composables/index.mjs +0 -18
- package/dist/composables/useFormKitInput.d.ts +0 -10
- package/dist/composables/useFormKitInput.js +0 -51
- package/dist/composables/useFormKitInput.mjs +0 -39
- package/dist/composables/useFormKitRepeater.d.ts +0 -15
- package/dist/composables/useFormKitRepeater.js +0 -74
- package/dist/composables/useFormKitRepeater.mjs +0 -54
- package/dist/composables/useFormKitSchema.d.ts +0 -36
- package/dist/composables/useFormKitSchema.js +0 -83
- package/dist/composables/useFormKitSchema.mjs +0 -58
- package/dist/composables/useFormKitSection.d.ts +0 -7
- package/dist/composables/useFormKitSection.js +0 -31
- package/dist/composables/useFormKitSection.mjs +0 -19
- package/dist/composables/useInputEditor.d.ts +0 -8
- package/dist/composables/useInputEditor.js +0 -148
- package/dist/composables/useInputEditor.mjs +0 -143
- package/dist/composables/useInputEditorSchema.d.ts +0 -163
- package/dist/composables/useInputEditorSchema.js +0 -313
- package/dist/composables/useInputEditorSchema.mjs +0 -315
- package/dist/composables/useOutputDuration.d.ts +0 -4
- package/dist/composables/useOutputDuration.js +0 -40
- package/dist/composables/useOutputDuration.mjs +0 -35
- package/dist/composables/usePrimeInputs.d.ts +0 -3
- package/dist/composables/usePrimeInputs.js +0 -62
- package/dist/composables/usePrimeInputs.mjs +0 -53
- package/dist/definitions/index.mjs +0 -68
- package/dist/definitions/input.d.ts +0 -47
- package/dist/definitions/input.js +0 -142
- package/dist/definitions/input.mjs +0 -135
- package/dist/definitions/output.d.ts +0 -9
- package/dist/definitions/output.js +0 -46
- package/dist/definitions/output.mjs +0 -39
- package/dist/index.mjs +0 -14
- package/dist/plugins/index.mjs +0 -55
|
@@ -0,0 +1,266 @@
|
|
|
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 };
|