@sfxcode/formkit-primevue 2.3.2 → 2.3.3
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 +1 -2
- package/dist/components/FormKitDataEdit.vue +58 -0
- package/dist/components/FormKitDataView.vue +45 -0
- package/dist/components/FormKitDebug.vue +25 -0
- package/dist/components/PrimeInputText.vue +6 -38
- package/dist/components/PrimeOutputBoolean.vue +28 -0
- package/dist/components/PrimeOutputDate.vue +38 -0
- package/dist/components/PrimeOutputDuration.vue +22 -0
- package/dist/components/PrimeOutputLink.vue +28 -0
- package/dist/components/PrimeOutputList.vue +29 -0
- package/dist/components/PrimeOutputNumber.vue +38 -0
- package/dist/components/PrimeOutputText.vue +23 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +21 -0
- package/dist/components/index.mjs +6 -0
- package/dist/composables/index.d.ts +4 -1
- package/dist/composables/index.js +22 -1
- package/dist/composables/index.mjs +7 -1
- package/dist/composables/useFormKitIcon.d.ts +5 -0
- package/dist/composables/useFormKitIcon.js +24 -0
- package/dist/composables/useFormKitIcon.mjs +15 -0
- package/dist/composables/useFormKitOutput.d.ts +3 -0
- package/dist/composables/useFormKitOutput.js +15 -0
- package/dist/composables/useFormKitOutput.mjs +7 -0
- package/dist/composables/useOutputDuration.d.ts +4 -0
- package/dist/composables/useOutputDuration.js +40 -0
- package/dist/composables/useOutputDuration.mjs +37 -0
- package/dist/definitions/index.d.ts +32 -47
- package/dist/definitions/index.js +35 -118
- package/dist/definitions/index.mjs +43 -436
- package/dist/definitions/input.d.ts +49 -0
- package/dist/definitions/input.js +125 -0
- package/dist/definitions/input.mjs +461 -0
- package/dist/definitions/output.d.ts +8 -0
- package/dist/definitions/output.js +36 -0
- package/dist/definitions/output.mjs +29 -0
- package/dist/sass/formkit-primevue.scss +25 -0
- package/dist/style.css +1 -1
- package/package.json +9 -8
|
@@ -1,439 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
});
|
|
36
|
-
export const primeInputTextDefinition = createInput(PrimeInputText, {
|
|
37
|
-
props: [
|
|
38
|
-
"pt",
|
|
39
|
-
"ptOptions",
|
|
40
|
-
"unstyled",
|
|
41
|
-
"placeholder",
|
|
42
|
-
"icon",
|
|
43
|
-
"wrapperClass"
|
|
44
|
-
]
|
|
45
|
-
});
|
|
46
|
-
export const primeInputNumberDefinition = createInput(PrimeInputNumber, {
|
|
47
|
-
props: [
|
|
48
|
-
"useGrouping",
|
|
49
|
-
"min",
|
|
50
|
-
"max",
|
|
51
|
-
"minFractionDigits",
|
|
52
|
-
"maxFractionDigits",
|
|
53
|
-
"locale",
|
|
54
|
-
"mode",
|
|
55
|
-
"currency",
|
|
56
|
-
"prefix",
|
|
57
|
-
"suffix",
|
|
58
|
-
"showButtons",
|
|
59
|
-
"buttonLayout",
|
|
60
|
-
"step",
|
|
61
|
-
"pt",
|
|
62
|
-
"ptOptions",
|
|
63
|
-
"unstyled",
|
|
64
|
-
"placeholder",
|
|
65
|
-
"wrapperClass"
|
|
66
|
-
]
|
|
67
|
-
});
|
|
68
|
-
export const primeInputMaskDefinition = createInput(PrimeInputMask, {
|
|
69
|
-
props: [
|
|
70
|
-
"mask",
|
|
71
|
-
"slotChar",
|
|
72
|
-
"autoClear",
|
|
73
|
-
"unmask",
|
|
74
|
-
"pt",
|
|
75
|
-
"ptOptions",
|
|
76
|
-
"unstyled",
|
|
77
|
-
"invalid",
|
|
78
|
-
"variant",
|
|
79
|
-
"iconLeft",
|
|
80
|
-
"iconRight",
|
|
81
|
-
"wrapperClass"
|
|
82
|
-
]
|
|
83
|
-
});
|
|
84
|
-
export const primePasswordDefinition = createInput(PrimePassword, {
|
|
85
|
-
props: [
|
|
86
|
-
"mediumRegex",
|
|
87
|
-
"strongRegex",
|
|
88
|
-
"promptLabel",
|
|
89
|
-
"weakLabel",
|
|
90
|
-
"mediumLabel",
|
|
91
|
-
"strongLabel",
|
|
92
|
-
"hideIcon",
|
|
93
|
-
"showIcon",
|
|
94
|
-
"pt",
|
|
95
|
-
"ptOptions",
|
|
96
|
-
"unstyled",
|
|
97
|
-
"placeholder",
|
|
98
|
-
"feedback",
|
|
99
|
-
"toggleMask",
|
|
100
|
-
"wrapperClass"
|
|
101
|
-
]
|
|
102
|
-
});
|
|
103
|
-
export const primeTextareaDefinition = createInput(PrimeTextarea, {
|
|
104
|
-
props: [
|
|
105
|
-
"pt",
|
|
106
|
-
"ptOptions",
|
|
107
|
-
"unstyled",
|
|
108
|
-
"autoResize",
|
|
109
|
-
"rows",
|
|
110
|
-
"placeholder",
|
|
111
|
-
"wrapperClass"
|
|
112
|
-
]
|
|
113
|
-
});
|
|
114
|
-
export const primeCheckboxDefinition = createInput(PrimeCheckbox, {
|
|
115
|
-
props: [
|
|
116
|
-
"binary",
|
|
117
|
-
"trueValue",
|
|
118
|
-
"falseValue",
|
|
119
|
-
"pt",
|
|
120
|
-
"ptOptions",
|
|
121
|
-
"unstyled",
|
|
122
|
-
"indeterminate",
|
|
123
|
-
"variant",
|
|
124
|
-
"labelLeft",
|
|
125
|
-
"labelRight",
|
|
126
|
-
"wrapperClass"
|
|
127
|
-
]
|
|
128
|
-
});
|
|
129
|
-
export const primeToggleSwitchDefinition = createInput(PrimeToggleSwitch, {
|
|
130
|
-
props: [
|
|
131
|
-
"trueValue",
|
|
132
|
-
"falseValue",
|
|
133
|
-
"pt",
|
|
134
|
-
"ptOptions",
|
|
135
|
-
"unstyled",
|
|
136
|
-
"labelLeft",
|
|
137
|
-
"labelRight",
|
|
138
|
-
"wrapperClass"
|
|
139
|
-
]
|
|
140
|
-
});
|
|
141
|
-
export const primeInputOtpDefinition = createInput(PrimeInputOtp, {
|
|
142
|
-
props: [
|
|
143
|
-
"length",
|
|
144
|
-
"variant",
|
|
145
|
-
"mask",
|
|
146
|
-
"integerOnly",
|
|
147
|
-
"pt",
|
|
148
|
-
"ptOptions",
|
|
149
|
-
"unstyled",
|
|
150
|
-
"wrapperClass"
|
|
151
|
-
]
|
|
152
|
-
});
|
|
153
|
-
export const primeEditorDefinition = createInput(PrimeEditor, {
|
|
154
|
-
props: [
|
|
155
|
-
"placeholder",
|
|
156
|
-
"formats",
|
|
157
|
-
"modules",
|
|
158
|
-
"pt",
|
|
159
|
-
"ptOptions",
|
|
160
|
-
"unstyled",
|
|
161
|
-
"wrapperClass"
|
|
162
|
-
]
|
|
163
|
-
});
|
|
164
|
-
export const primeSelectDefinition = createInput(PrimeSelect, {
|
|
165
|
-
props: [
|
|
166
|
-
"options",
|
|
167
|
-
"optionLabel",
|
|
168
|
-
"optionValue",
|
|
169
|
-
"optionDisabled",
|
|
170
|
-
"optionGroupLabel",
|
|
171
|
-
"optionGroupChildren",
|
|
172
|
-
"scrollHeight",
|
|
173
|
-
"filter",
|
|
174
|
-
"filterPlaceholder",
|
|
175
|
-
"filterLocale",
|
|
176
|
-
"filterMatchMode",
|
|
177
|
-
"filterFields",
|
|
178
|
-
"filterInputProps",
|
|
179
|
-
"editable",
|
|
180
|
-
"placeholder",
|
|
181
|
-
"dataKey",
|
|
182
|
-
"showClear",
|
|
183
|
-
"panelStyle",
|
|
184
|
-
"panelClass",
|
|
185
|
-
"panelProps",
|
|
186
|
-
"appendTo",
|
|
187
|
-
"resetFilterOnHide",
|
|
188
|
-
"virtualScrollerOptions",
|
|
189
|
-
"autoOptionFocus",
|
|
190
|
-
"selectOnFocus",
|
|
191
|
-
"filterMessage",
|
|
192
|
-
"selectionMessage",
|
|
193
|
-
"emptySelectionMessage",
|
|
194
|
-
"emptyFilterMessage",
|
|
195
|
-
"emptyMessage",
|
|
196
|
-
"pt",
|
|
197
|
-
"ptOptions",
|
|
198
|
-
"unstyled",
|
|
199
|
-
"wrapperClass"
|
|
200
|
-
]
|
|
201
|
-
});
|
|
202
|
-
export const primeMultiSelectDefinition = createInput(PrimeMultiSelect, {
|
|
203
|
-
props: [
|
|
204
|
-
"options",
|
|
205
|
-
"optionLabel",
|
|
206
|
-
"optionValue",
|
|
207
|
-
"optionDisabled",
|
|
208
|
-
"optionGroupLabel",
|
|
209
|
-
"optionGroupChildren",
|
|
210
|
-
"scrollHeight",
|
|
211
|
-
"inputProps",
|
|
212
|
-
"closeButtonProps",
|
|
213
|
-
"dataKey",
|
|
214
|
-
"filter",
|
|
215
|
-
"filterPlaceholder",
|
|
216
|
-
"filterLocale",
|
|
217
|
-
"filterMatchMode",
|
|
218
|
-
"filterFields",
|
|
219
|
-
"appendTo",
|
|
220
|
-
"display",
|
|
221
|
-
"maxSelectedLabels",
|
|
222
|
-
"selectedItemsLabel",
|
|
223
|
-
"selectionLimit",
|
|
224
|
-
"showToggleAll",
|
|
225
|
-
"loading",
|
|
226
|
-
"selectAll",
|
|
227
|
-
"resetFilterOnHide",
|
|
228
|
-
"virtualScrollerOptions",
|
|
229
|
-
"autoOptionFocus",
|
|
230
|
-
"autoFilterFocus",
|
|
231
|
-
"filterMessage",
|
|
232
|
-
"selectionMessage",
|
|
233
|
-
"emptySelectionMessage",
|
|
234
|
-
"emptyFilterMessage",
|
|
235
|
-
"emptyMessage",
|
|
236
|
-
"pt",
|
|
237
|
-
"placeholder",
|
|
238
|
-
"ptOptions",
|
|
239
|
-
"unstyled",
|
|
240
|
-
"wrapperClass"
|
|
241
|
-
]
|
|
242
|
-
});
|
|
243
|
-
export const primeListboxDefinition = createInput(PrimeListbox, {
|
|
244
|
-
props: [
|
|
245
|
-
"pt",
|
|
246
|
-
"ptOptions",
|
|
247
|
-
"unstyled",
|
|
248
|
-
"options",
|
|
249
|
-
"optionLabel",
|
|
250
|
-
"optionValue",
|
|
251
|
-
"multiple",
|
|
252
|
-
"filter",
|
|
253
|
-
"filterIcon",
|
|
254
|
-
"filterPlaceholder",
|
|
255
|
-
"filterLocale",
|
|
256
|
-
"filterMatchMode",
|
|
257
|
-
"autoOptionFocus",
|
|
258
|
-
"selectOnFocus",
|
|
259
|
-
"wrapperClass"
|
|
260
|
-
]
|
|
261
|
-
});
|
|
262
|
-
export const primeDatePickerDefinition = createInput(PrimeDatePicker, {
|
|
263
|
-
props: [
|
|
264
|
-
"dateFormat",
|
|
265
|
-
"placeholder",
|
|
266
|
-
"selectionMode",
|
|
267
|
-
"inline",
|
|
268
|
-
"icon",
|
|
269
|
-
"showOtherMonths",
|
|
270
|
-
"selectOtherMonths",
|
|
271
|
-
"showIcon",
|
|
272
|
-
"previousIcon",
|
|
273
|
-
"nextIcon",
|
|
274
|
-
"incrementIcon",
|
|
275
|
-
"decrementIcon",
|
|
276
|
-
"numberOfMonths",
|
|
277
|
-
"responsiveOptions",
|
|
278
|
-
"view",
|
|
279
|
-
"touchUI",
|
|
280
|
-
"minDate",
|
|
281
|
-
"maxDate",
|
|
282
|
-
"disabledDates",
|
|
283
|
-
"disabledDays",
|
|
284
|
-
"maxDateCount",
|
|
285
|
-
"showOnFocus",
|
|
286
|
-
"autoZIndex",
|
|
287
|
-
"baseZIndex",
|
|
288
|
-
"showButtonBar",
|
|
289
|
-
"showTime",
|
|
290
|
-
"timeOnly",
|
|
291
|
-
"shortYearCutoff",
|
|
292
|
-
"hourFormat",
|
|
293
|
-
"stepHour",
|
|
294
|
-
"stepMinute",
|
|
295
|
-
"stepSecond",
|
|
296
|
-
"showSeconds",
|
|
297
|
-
"hideOnDateTimeSelect",
|
|
298
|
-
"hideOnRangeSelection",
|
|
299
|
-
"timeSeparator",
|
|
300
|
-
"showWeek",
|
|
301
|
-
"manualInput",
|
|
302
|
-
"appendTo",
|
|
303
|
-
"panelStyle",
|
|
304
|
-
"panelClass",
|
|
305
|
-
"pt",
|
|
306
|
-
"ptOptions",
|
|
307
|
-
"unstyled",
|
|
308
|
-
"wrapperClass"
|
|
309
|
-
]
|
|
310
|
-
});
|
|
311
|
-
export const primeSliderDefinition = createInput(PrimeSlider, {
|
|
312
|
-
props: [
|
|
313
|
-
"pt",
|
|
314
|
-
"ptOptions",
|
|
315
|
-
"unstyled",
|
|
316
|
-
"min",
|
|
317
|
-
"max",
|
|
318
|
-
"step",
|
|
319
|
-
"range",
|
|
320
|
-
"orientation",
|
|
321
|
-
"wrapperClass"
|
|
322
|
-
]
|
|
323
|
-
});
|
|
324
|
-
export const primeRatingDefinition = createInput(PrimeRating, {
|
|
325
|
-
props: [
|
|
326
|
-
"unstyled",
|
|
327
|
-
"stars",
|
|
328
|
-
"cancel",
|
|
329
|
-
"onIcon",
|
|
330
|
-
"offIcon",
|
|
331
|
-
"cancelIcon",
|
|
332
|
-
"ptOptions",
|
|
333
|
-
"pt",
|
|
334
|
-
"wrapperClass"
|
|
335
|
-
]
|
|
336
|
-
});
|
|
337
|
-
export const primeRadioButtonDefinition = createInput(PrimeRadioButton, {
|
|
338
|
-
props: [
|
|
339
|
-
"pt",
|
|
340
|
-
"ptOptions",
|
|
341
|
-
"unstyled",
|
|
342
|
-
"options",
|
|
343
|
-
"optionClass",
|
|
344
|
-
"labelClass",
|
|
345
|
-
"wrapperClass"
|
|
346
|
-
]
|
|
347
|
-
});
|
|
348
|
-
export const primeKnobDefinition = createInput(PrimeKnob, {
|
|
349
|
-
props: [
|
|
350
|
-
"pt",
|
|
351
|
-
"ptOptions",
|
|
352
|
-
"unstyled",
|
|
353
|
-
"min",
|
|
354
|
-
"max",
|
|
355
|
-
"step",
|
|
356
|
-
"size",
|
|
357
|
-
"strokeWidth",
|
|
358
|
-
"showValue",
|
|
359
|
-
"valueColor",
|
|
360
|
-
"rangeColor",
|
|
361
|
-
"textColor",
|
|
362
|
-
"valueTemplate",
|
|
363
|
-
"wrapperClass"
|
|
364
|
-
]
|
|
365
|
-
});
|
|
366
|
-
export const primeColorPickerDefinition = createInput(PrimeColorPicker, {
|
|
367
|
-
props: [
|
|
368
|
-
"defaultColor",
|
|
369
|
-
"inline",
|
|
370
|
-
"format",
|
|
371
|
-
"pt",
|
|
372
|
-
"ptOptions",
|
|
373
|
-
"unstyled",
|
|
374
|
-
"wrapperClass"
|
|
375
|
-
]
|
|
376
|
-
});
|
|
377
|
-
export const primeToggleButtonDefinition = createInput(PrimeToggleButton, {
|
|
378
|
-
props: [
|
|
379
|
-
"pt",
|
|
380
|
-
"ptOptions",
|
|
381
|
-
"unstyled",
|
|
382
|
-
"onLabel",
|
|
383
|
-
"offLabel",
|
|
384
|
-
"onIcon",
|
|
385
|
-
"offIcon",
|
|
386
|
-
"iconPos",
|
|
387
|
-
"wrapperClass"
|
|
388
|
-
]
|
|
389
|
-
});
|
|
390
|
-
export const primeSelectButtonDefinition = createInput(PrimeSelectButton, {
|
|
391
|
-
props: [
|
|
392
|
-
"pt",
|
|
393
|
-
"ptOptions",
|
|
394
|
-
"unstyled",
|
|
395
|
-
"optionLabel",
|
|
396
|
-
"optionValue",
|
|
397
|
-
"optionDisabled",
|
|
398
|
-
"multiple",
|
|
399
|
-
"unselectable",
|
|
400
|
-
"dataKey",
|
|
401
|
-
"options",
|
|
402
|
-
"wrapperClass"
|
|
403
|
-
]
|
|
404
|
-
});
|
|
405
|
-
export const primeCascadeSelectDefinition = createInput(PrimeCascadeSelect, {
|
|
406
|
-
props: [
|
|
407
|
-
"options",
|
|
408
|
-
"optionLabel",
|
|
409
|
-
"optionValue",
|
|
410
|
-
"optionGroupLabel",
|
|
411
|
-
"optionGroupChildren",
|
|
412
|
-
"placeholder",
|
|
413
|
-
"pt",
|
|
414
|
-
"ptOptions",
|
|
415
|
-
"unstyled",
|
|
416
|
-
"wrapperClass"
|
|
417
|
-
]
|
|
418
|
-
});
|
|
419
|
-
export const primeTreeSelectDefinition = createInput(PrimeTreeSelect, {
|
|
420
|
-
props: [
|
|
421
|
-
"options",
|
|
422
|
-
"placeholder",
|
|
423
|
-
"selectionMode",
|
|
424
|
-
"pt",
|
|
425
|
-
"ptOptions",
|
|
426
|
-
"unstyled",
|
|
427
|
-
"emptyMessage",
|
|
428
|
-
"display",
|
|
429
|
-
"metaKeySelection",
|
|
430
|
-
"appendTo",
|
|
431
|
-
"scrollHeight",
|
|
432
|
-
"panelClass",
|
|
433
|
-
"variant",
|
|
434
|
-
"wrapperClass"
|
|
435
|
-
]
|
|
436
|
-
});
|
|
1
|
+
import {
|
|
2
|
+
primeAutoCompleteDefinition,
|
|
3
|
+
primeCascadeSelectDefinition,
|
|
4
|
+
primeCheckboxDefinition,
|
|
5
|
+
primeColorPickerDefinition,
|
|
6
|
+
primeDatePickerDefinition,
|
|
7
|
+
primeEditorDefinition,
|
|
8
|
+
primeInputMaskDefinition,
|
|
9
|
+
primeInputNumberDefinition,
|
|
10
|
+
primeInputOtpDefinition,
|
|
11
|
+
primeInputTextDefinition,
|
|
12
|
+
primeKnobDefinition,
|
|
13
|
+
primeListboxDefinition,
|
|
14
|
+
primeMultiSelectDefinition,
|
|
15
|
+
primePasswordDefinition,
|
|
16
|
+
primeRadioButtonDefinition,
|
|
17
|
+
primeRatingDefinition,
|
|
18
|
+
primeSelectButtonDefinition,
|
|
19
|
+
primeSelectDefinition,
|
|
20
|
+
primeSliderDefinition,
|
|
21
|
+
primeTextareaDefinition,
|
|
22
|
+
primeToggleButtonDefinition,
|
|
23
|
+
primeToggleSwitchDefinition,
|
|
24
|
+
primeTreeSelectDefinition
|
|
25
|
+
} from "./input.mjs";
|
|
26
|
+
import {
|
|
27
|
+
primeOutputBooleanDefinition,
|
|
28
|
+
primeOutputDateDefinition,
|
|
29
|
+
primeOutputDurationDefinition,
|
|
30
|
+
primeOutputLinkDefinition,
|
|
31
|
+
primeOutputListDefinition,
|
|
32
|
+
primeOutputNumberDefinition,
|
|
33
|
+
primeOutputTextDefinition
|
|
34
|
+
} from "./output.mjs";
|
|
437
35
|
export const primeInputs = {
|
|
438
36
|
primeAutoComplete: primeAutoCompleteDefinition,
|
|
439
37
|
primeInputText: primeInputTextDefinition,
|
|
@@ -459,3 +57,12 @@ export const primeInputs = {
|
|
|
459
57
|
primeTreeSelect: primeTreeSelectDefinition,
|
|
460
58
|
primeInputOtp: primeInputOtpDefinition
|
|
461
59
|
};
|
|
60
|
+
export const primeOutputs = {
|
|
61
|
+
primeOutputText: primeOutputTextDefinition,
|
|
62
|
+
primeOutputLink: primeOutputLinkDefinition,
|
|
63
|
+
primeOutputNumber: primeOutputNumberDefinition,
|
|
64
|
+
primeOutputDate: primeOutputDateDefinition,
|
|
65
|
+
primeOutputBoolean: primeOutputBooleanDefinition,
|
|
66
|
+
primeOutputDuration: primeOutputDurationDefinition,
|
|
67
|
+
primeOutputList: primeOutputListDefinition
|
|
68
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { FormKitTypeDefinition } from '@formkit/core';
|
|
2
|
+
export declare const primeAutoCompleteDefinition: FormKitTypeDefinition;
|
|
3
|
+
export declare const primeInputTextDefinition: FormKitTypeDefinition;
|
|
4
|
+
export declare const primeInputNumberDefinition: FormKitTypeDefinition;
|
|
5
|
+
export declare const primeInputMaskDefinition: FormKitTypeDefinition;
|
|
6
|
+
export declare const primePasswordDefinition: FormKitTypeDefinition;
|
|
7
|
+
export declare const primeTextareaDefinition: FormKitTypeDefinition;
|
|
8
|
+
export declare const primeCheckboxDefinition: FormKitTypeDefinition;
|
|
9
|
+
export declare const primeToggleSwitchDefinition: FormKitTypeDefinition;
|
|
10
|
+
export declare const primeInputOtpDefinition: FormKitTypeDefinition;
|
|
11
|
+
export declare const primeEditorDefinition: FormKitTypeDefinition;
|
|
12
|
+
export declare const primeSelectDefinition: FormKitTypeDefinition;
|
|
13
|
+
export declare const primeMultiSelectDefinition: FormKitTypeDefinition;
|
|
14
|
+
export declare const primeListboxDefinition: FormKitTypeDefinition;
|
|
15
|
+
export declare const primeDatePickerDefinition: FormKitTypeDefinition;
|
|
16
|
+
export declare const primeSliderDefinition: FormKitTypeDefinition;
|
|
17
|
+
export declare const primeRatingDefinition: FormKitTypeDefinition;
|
|
18
|
+
export declare const primeRadioButtonDefinition: FormKitTypeDefinition;
|
|
19
|
+
export declare const primeKnobDefinition: FormKitTypeDefinition;
|
|
20
|
+
export declare const primeColorPickerDefinition: FormKitTypeDefinition;
|
|
21
|
+
export declare const primeToggleButtonDefinition: FormKitTypeDefinition;
|
|
22
|
+
export declare const primeSelectButtonDefinition: FormKitTypeDefinition;
|
|
23
|
+
export declare const primeCascadeSelectDefinition: FormKitTypeDefinition;
|
|
24
|
+
export declare const primeTreeSelectDefinition: FormKitTypeDefinition;
|
|
25
|
+
export declare const primeInputs: {
|
|
26
|
+
primeAutoComplete: FormKitTypeDefinition;
|
|
27
|
+
primeInputText: FormKitTypeDefinition;
|
|
28
|
+
primeInputNumber: FormKitTypeDefinition;
|
|
29
|
+
primeInputMask: FormKitTypeDefinition;
|
|
30
|
+
primePassword: FormKitTypeDefinition;
|
|
31
|
+
primeCheckbox: FormKitTypeDefinition;
|
|
32
|
+
primeToggleSwitch: FormKitTypeDefinition;
|
|
33
|
+
primeTextarea: FormKitTypeDefinition;
|
|
34
|
+
primeEditor: FormKitTypeDefinition;
|
|
35
|
+
primeSelect: FormKitTypeDefinition;
|
|
36
|
+
primeMultiSelect: FormKitTypeDefinition;
|
|
37
|
+
primeDatePicker: FormKitTypeDefinition;
|
|
38
|
+
primeSlider: FormKitTypeDefinition;
|
|
39
|
+
primeKnob: FormKitTypeDefinition;
|
|
40
|
+
primeRating: FormKitTypeDefinition;
|
|
41
|
+
primeRadioButton: FormKitTypeDefinition;
|
|
42
|
+
primeColorPicker: FormKitTypeDefinition;
|
|
43
|
+
primeToggleButton: FormKitTypeDefinition;
|
|
44
|
+
primeListbox: FormKitTypeDefinition;
|
|
45
|
+
primeSelectButton: FormKitTypeDefinition;
|
|
46
|
+
primeCascadeSelect: FormKitTypeDefinition;
|
|
47
|
+
primeTreeSelect: FormKitTypeDefinition;
|
|
48
|
+
primeInputOtp: FormKitTypeDefinition;
|
|
49
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.primeTreeSelectDefinition = exports.primeToggleSwitchDefinition = exports.primeToggleButtonDefinition = exports.primeTextareaDefinition = exports.primeSliderDefinition = exports.primeSelectDefinition = exports.primeSelectButtonDefinition = exports.primeRatingDefinition = exports.primeRadioButtonDefinition = exports.primePasswordDefinition = exports.primeMultiSelectDefinition = exports.primeListboxDefinition = exports.primeKnobDefinition = exports.primeInputs = exports.primeInputTextDefinition = exports.primeInputOtpDefinition = exports.primeInputNumberDefinition = exports.primeInputMaskDefinition = exports.primeEditorDefinition = exports.primeDatePickerDefinition = exports.primeColorPickerDefinition = exports.primeCheckboxDefinition = exports.primeCascadeSelectDefinition = exports.primeAutoCompleteDefinition = void 0;
|
|
7
|
+
var _vue = require("@formkit/vue");
|
|
8
|
+
var _PrimeAutoComplete = _interopRequireDefault(require("../components/PrimeAutoComplete.vue"));
|
|
9
|
+
var _PrimeDatePicker = _interopRequireDefault(require("../components/PrimeDatePicker.vue"));
|
|
10
|
+
var _PrimeCascadeSelect = _interopRequireDefault(require("../components/PrimeCascadeSelect.vue"));
|
|
11
|
+
var _PrimeCheckbox = _interopRequireDefault(require("../components/PrimeCheckbox.vue"));
|
|
12
|
+
var _PrimeColorPicker = _interopRequireDefault(require("../components/PrimeColorPicker.vue"));
|
|
13
|
+
var _PrimeSelect = _interopRequireDefault(require("../components/PrimeSelect.vue"));
|
|
14
|
+
var _PrimeEditor = _interopRequireDefault(require("../components/PrimeEditor.vue"));
|
|
15
|
+
var _PrimeInputMask = _interopRequireDefault(require("../components/PrimeInputMask.vue"));
|
|
16
|
+
var _PrimeInputNumber = _interopRequireDefault(require("../components/PrimeInputNumber.vue"));
|
|
17
|
+
var _PrimeInputOtp = _interopRequireDefault(require("../components/PrimeInputOtp.vue"));
|
|
18
|
+
var _PrimeToggleSwitch = _interopRequireDefault(require("../components/PrimeToggleSwitch.vue"));
|
|
19
|
+
var _PrimeInputText = _interopRequireDefault(require("../components/PrimeInputText.vue"));
|
|
20
|
+
var _PrimeTextarea = _interopRequireDefault(require("../components/PrimeTextarea.vue"));
|
|
21
|
+
var _PrimeKnob = _interopRequireDefault(require("../components/PrimeKnob.vue"));
|
|
22
|
+
var _PrimeMultiSelect = _interopRequireDefault(require("../components/PrimeMultiSelect.vue"));
|
|
23
|
+
var _PrimeListbox = _interopRequireDefault(require("../components/PrimeListbox.vue"));
|
|
24
|
+
var _PrimePassword = _interopRequireDefault(require("../components/PrimePassword.vue"));
|
|
25
|
+
var _PrimeRadioButton = _interopRequireDefault(require("../components/PrimeRadioButton.vue"));
|
|
26
|
+
var _PrimeRating = _interopRequireDefault(require("../components/PrimeRating.vue"));
|
|
27
|
+
var _PrimeSlider = _interopRequireDefault(require("../components/PrimeSlider.vue"));
|
|
28
|
+
var _PrimeToggleButton = _interopRequireDefault(require("../components/PrimeToggleButton.vue"));
|
|
29
|
+
var _PrimeTreeSelect = _interopRequireDefault(require("../components/PrimeTreeSelect.vue"));
|
|
30
|
+
var _PrimeSelectButton = _interopRequireDefault(require("../components/PrimeSelectButton.vue"));
|
|
31
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
32
|
+
const primeAutoCompleteDefinition = exports.primeAutoCompleteDefinition = (0, _vue.createInput)(_PrimeAutoComplete.default, {
|
|
33
|
+
props: ["pt", "ptOptions", "unstyled", "Select", "multiple", "typeahead", "wrapperClass"]
|
|
34
|
+
});
|
|
35
|
+
const primeInputTextDefinition = exports.primeInputTextDefinition = (0, _vue.createInput)(_PrimeInputText.default, {
|
|
36
|
+
props: ["pt", "ptOptions", "unstyled", "placeholder", "icon", "wrapperClass"]
|
|
37
|
+
});
|
|
38
|
+
const primeInputNumberDefinition = exports.primeInputNumberDefinition = (0, _vue.createInput)(_PrimeInputNumber.default, {
|
|
39
|
+
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder", "wrapperClass"]
|
|
40
|
+
});
|
|
41
|
+
const primeInputMaskDefinition = exports.primeInputMaskDefinition = (0, _vue.createInput)(_PrimeInputMask.default, {
|
|
42
|
+
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconLeft", "iconRight", "wrapperClass"]
|
|
43
|
+
});
|
|
44
|
+
const primePasswordDefinition = exports.primePasswordDefinition = (0, _vue.createInput)(_PrimePassword.default, {
|
|
45
|
+
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask", "wrapperClass"]
|
|
46
|
+
});
|
|
47
|
+
const primeTextareaDefinition = exports.primeTextareaDefinition = (0, _vue.createInput)(_PrimeTextarea.default, {
|
|
48
|
+
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder", "wrapperClass"]
|
|
49
|
+
});
|
|
50
|
+
const primeCheckboxDefinition = exports.primeCheckboxDefinition = (0, _vue.createInput)(_PrimeCheckbox.default, {
|
|
51
|
+
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "indeterminate", "variant", "labelLeft", "labelRight", "wrapperClass"]
|
|
52
|
+
});
|
|
53
|
+
const primeToggleSwitchDefinition = exports.primeToggleSwitchDefinition = (0, _vue.createInput)(_PrimeToggleSwitch.default, {
|
|
54
|
+
props: ["trueValue", "falseValue", "pt", "ptOptions", "unstyled", "labelLeft", "labelRight", "wrapperClass"]
|
|
55
|
+
});
|
|
56
|
+
const primeInputOtpDefinition = exports.primeInputOtpDefinition = (0, _vue.createInput)(_PrimeInputOtp.default, {
|
|
57
|
+
props: ["length", "variant", "mask", "integerOnly", "pt", "ptOptions", "unstyled", "wrapperClass"]
|
|
58
|
+
});
|
|
59
|
+
const primeEditorDefinition = exports.primeEditorDefinition = (0, _vue.createInput)(_PrimeEditor.default, {
|
|
60
|
+
props: ["placeholder", "formats", "modules", "pt", "ptOptions", "unstyled", "wrapperClass"]
|
|
61
|
+
});
|
|
62
|
+
const primeSelectDefinition = exports.primeSelectDefinition = (0, _vue.createInput)(_PrimeSelect.default, {
|
|
63
|
+
props: ["options", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "scrollHeight", "filter", "filterPlaceholder", "filterLocale", "filterMatchMode", "filterFields", "filterInputProps", "editable", "placeholder", "dataKey", "showClear", "panelStyle", "panelClass", "panelProps", "appendTo", "resetFilterOnHide", "virtualScrollerOptions", "autoOptionFocus", "selectOnFocus", "filterMessage", "selectionMessage", "emptySelectionMessage", "emptyFilterMessage", "emptyMessage", "pt", "ptOptions", "unstyled", "wrapperClass"]
|
|
64
|
+
});
|
|
65
|
+
const primeMultiSelectDefinition = exports.primeMultiSelectDefinition = (0, _vue.createInput)(_PrimeMultiSelect.default, {
|
|
66
|
+
props: ["options", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "scrollHeight", "inputProps", "closeButtonProps", "dataKey", "filter", "filterPlaceholder", "filterLocale", "filterMatchMode", "filterFields", "appendTo", "display", "maxSelectedLabels", "selectedItemsLabel", "selectionLimit", "showToggleAll", "loading", "selectAll", "resetFilterOnHide", "virtualScrollerOptions", "autoOptionFocus", "autoFilterFocus", "filterMessage", "selectionMessage", "emptySelectionMessage", "emptyFilterMessage", "emptyMessage", "pt", "placeholder", "ptOptions", "unstyled", "wrapperClass"]
|
|
67
|
+
});
|
|
68
|
+
const primeListboxDefinition = exports.primeListboxDefinition = (0, _vue.createInput)(_PrimeListbox.default, {
|
|
69
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionLabel", "optionValue", "multiple", "filter", "filterIcon", "filterPlaceholder", "filterLocale", "filterMatchMode", "autoOptionFocus", "selectOnFocus", "wrapperClass"]
|
|
70
|
+
});
|
|
71
|
+
const primeDatePickerDefinition = exports.primeDatePickerDefinition = (0, _vue.createInput)(_PrimeDatePicker.default, {
|
|
72
|
+
props: ["dateFormat", "placeholder", "selectionMode", "inline", "icon", "showOtherMonths", "selectOtherMonths", "showIcon", "previousIcon", "nextIcon", "incrementIcon", "decrementIcon", "numberOfMonths", "responsiveOptions", "view", "touchUI", "minDate", "maxDate", "disabledDates", "disabledDays", "maxDateCount", "showOnFocus", "autoZIndex", "baseZIndex", "showButtonBar", "showTime", "timeOnly", "shortYearCutoff", "hourFormat", "stepHour", "stepMinute", "stepSecond", "showSeconds", "hideOnDateTimeSelect", "hideOnRangeSelection", "timeSeparator", "showWeek", "manualInput", "appendTo", "panelStyle", "panelClass", "pt", "ptOptions", "unstyled", "wrapperClass"]
|
|
73
|
+
});
|
|
74
|
+
const primeSliderDefinition = exports.primeSliderDefinition = (0, _vue.createInput)(_PrimeSlider.default, {
|
|
75
|
+
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "range", "orientation", "wrapperClass"]
|
|
76
|
+
});
|
|
77
|
+
const primeRatingDefinition = exports.primeRatingDefinition = (0, _vue.createInput)(_PrimeRating.default, {
|
|
78
|
+
props: ["unstyled", "stars", "cancel", "onIcon", "offIcon", "cancelIcon", "ptOptions", "pt", "wrapperClass"]
|
|
79
|
+
});
|
|
80
|
+
const primeRadioButtonDefinition = exports.primeRadioButtonDefinition = (0, _vue.createInput)(_PrimeRadioButton.default, {
|
|
81
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionClass", "labelClass", "wrapperClass"]
|
|
82
|
+
});
|
|
83
|
+
const primeKnobDefinition = exports.primeKnobDefinition = (0, _vue.createInput)(_PrimeKnob.default, {
|
|
84
|
+
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "size", "strokeWidth", "showValue", "valueColor", "rangeColor", "textColor", "valueTemplate", "wrapperClass"]
|
|
85
|
+
});
|
|
86
|
+
const primeColorPickerDefinition = exports.primeColorPickerDefinition = (0, _vue.createInput)(_PrimeColorPicker.default, {
|
|
87
|
+
props: ["defaultColor", "inline", "format", "pt", "ptOptions", "unstyled", "wrapperClass"]
|
|
88
|
+
});
|
|
89
|
+
const primeToggleButtonDefinition = exports.primeToggleButtonDefinition = (0, _vue.createInput)(_PrimeToggleButton.default, {
|
|
90
|
+
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos", "wrapperClass"]
|
|
91
|
+
});
|
|
92
|
+
const primeSelectButtonDefinition = exports.primeSelectButtonDefinition = (0, _vue.createInput)(_PrimeSelectButton.default, {
|
|
93
|
+
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options", "wrapperClass"]
|
|
94
|
+
});
|
|
95
|
+
const primeCascadeSelectDefinition = exports.primeCascadeSelectDefinition = (0, _vue.createInput)(_PrimeCascadeSelect.default, {
|
|
96
|
+
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled", "wrapperClass"]
|
|
97
|
+
});
|
|
98
|
+
const primeTreeSelectDefinition = exports.primeTreeSelectDefinition = (0, _vue.createInput)(_PrimeTreeSelect.default, {
|
|
99
|
+
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant", "wrapperClass"]
|
|
100
|
+
});
|
|
101
|
+
const primeInputs = exports.primeInputs = {
|
|
102
|
+
primeAutoComplete: primeAutoCompleteDefinition,
|
|
103
|
+
primeInputText: primeInputTextDefinition,
|
|
104
|
+
primeInputNumber: primeInputNumberDefinition,
|
|
105
|
+
primeInputMask: primeInputMaskDefinition,
|
|
106
|
+
primePassword: primePasswordDefinition,
|
|
107
|
+
primeCheckbox: primeCheckboxDefinition,
|
|
108
|
+
primeToggleSwitch: primeToggleSwitchDefinition,
|
|
109
|
+
primeTextarea: primeTextareaDefinition,
|
|
110
|
+
primeEditor: primeEditorDefinition,
|
|
111
|
+
primeSelect: primeSelectDefinition,
|
|
112
|
+
primeMultiSelect: primeMultiSelectDefinition,
|
|
113
|
+
primeDatePicker: primeDatePickerDefinition,
|
|
114
|
+
primeSlider: primeSliderDefinition,
|
|
115
|
+
primeKnob: primeKnobDefinition,
|
|
116
|
+
primeRating: primeRatingDefinition,
|
|
117
|
+
primeRadioButton: primeRadioButtonDefinition,
|
|
118
|
+
primeColorPicker: primeColorPickerDefinition,
|
|
119
|
+
primeToggleButton: primeToggleButtonDefinition,
|
|
120
|
+
primeListbox: primeListboxDefinition,
|
|
121
|
+
primeSelectButton: primeSelectButtonDefinition,
|
|
122
|
+
primeCascadeSelect: primeCascadeSelectDefinition,
|
|
123
|
+
primeTreeSelect: primeTreeSelectDefinition,
|
|
124
|
+
primeInputOtp: primeInputOtpDefinition
|
|
125
|
+
};
|