@sfxcode/formkit-primevue 2.4.0 → 2.4.2
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/FormKitDataEdit.vue +1 -0
- package/dist/components/FormKitDataView.vue +1 -0
- package/dist/components/PrimeOutputBoolean.vue +2 -2
- package/dist/components/PrimeOutputList.vue +3 -10
- package/dist/definitions/input.mjs +23 -344
- package/dist/definitions/output.js +2 -2
- package/dist/definitions/output.mjs +2 -2
- package/package.json +19 -19
|
@@ -17,9 +17,9 @@ const { t } = useI18n()
|
|
|
17
17
|
|
|
18
18
|
const translated = computed(() => {
|
|
19
19
|
if (props.context?._value)
|
|
20
|
-
return t('formkit.prime.true', 'true')
|
|
20
|
+
return props.context?.trueValue ?? t('formkit.prime.true', 'true')
|
|
21
21
|
else
|
|
22
|
-
return t('formkit.prime.false', 'false')
|
|
22
|
+
return props.context?.falseValue ?? t('formkit.prime.false', 'false')
|
|
23
23
|
})
|
|
24
24
|
</script>
|
|
25
25
|
|
|
@@ -11,14 +11,6 @@ const props = defineProps({
|
|
|
11
11
|
})
|
|
12
12
|
|
|
13
13
|
const { hasPrefix, hasPrefixIcon, hasSuffix, hasSuffixIcon } = useFormKitSection(props.context)
|
|
14
|
-
|
|
15
|
-
function listValue(index: number, value: string): string {
|
|
16
|
-
const divider = props.context?.attrs?.divider || ', '
|
|
17
|
-
if (index === 0)
|
|
18
|
-
return value
|
|
19
|
-
else
|
|
20
|
-
return `${divider}${value}`
|
|
21
|
-
}
|
|
22
14
|
</script>
|
|
23
15
|
|
|
24
16
|
<template>
|
|
@@ -27,9 +19,10 @@ function listValue(index: number, value: string): string {
|
|
|
27
19
|
<span v-if="hasPrefix" class="formkit-prefix">
|
|
28
20
|
{{ context?.attrs?.prefix }}
|
|
29
21
|
</span>
|
|
30
|
-
<span :id="context?.id" :style="context?.attrs?.style" :class="context?.attrs?.class">
|
|
22
|
+
<span :id="context?.id" :style="context?.attrs?.style" class="p-output-list-items" :class="context?.attrs?.class">
|
|
31
23
|
<template v-for="(value, index) of context?._value" :key="index">
|
|
32
|
-
<span class="p-output-list-
|
|
24
|
+
<span v-if="index !== 0" class="p-output-list-divider" :class="context?.dividerClass">{{ context?.divider ?? ', ' }}</span>
|
|
25
|
+
<span class="p-output-list-item" :class="context?.itemClass">{{ value }}</span>
|
|
33
26
|
</template>
|
|
34
27
|
</span>
|
|
35
28
|
<span v-if="hasSuffix" class="formkit-suffix">
|
|
@@ -23,394 +23,73 @@ import PrimeToggleButton from "../components/PrimeToggleButton.vue";
|
|
|
23
23
|
import PrimeTreeSelect from "../components/PrimeTreeSelect.vue";
|
|
24
24
|
import PrimeSelectButton from "../components/PrimeSelectButton.vue";
|
|
25
25
|
export const primeAutoCompleteDefinition = createInput(PrimeAutoComplete, {
|
|
26
|
-
props: [
|
|
27
|
-
"pt",
|
|
28
|
-
"ptOptions",
|
|
29
|
-
"unstyled",
|
|
30
|
-
"Select",
|
|
31
|
-
"multiple",
|
|
32
|
-
"typeahead"
|
|
33
|
-
]
|
|
26
|
+
props: ["pt", "ptOptions", "unstyled", "Select", "multiple", "typeahead"]
|
|
34
27
|
});
|
|
35
28
|
export const primeInputTextDefinition = createInput(PrimeInputText, {
|
|
36
|
-
props: [
|
|
37
|
-
"pt",
|
|
38
|
-
"ptOptions",
|
|
39
|
-
"unstyled",
|
|
40
|
-
"placeholder",
|
|
41
|
-
"iconPrefix",
|
|
42
|
-
"iconSuffix"
|
|
43
|
-
]
|
|
29
|
+
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix"]
|
|
44
30
|
});
|
|
45
31
|
export const primeInputNumberDefinition = createInput(PrimeInputNumber, {
|
|
46
|
-
props: [
|
|
47
|
-
"useGrouping",
|
|
48
|
-
"min",
|
|
49
|
-
"max",
|
|
50
|
-
"minFractionDigits",
|
|
51
|
-
"maxFractionDigits",
|
|
52
|
-
"locale",
|
|
53
|
-
"mode",
|
|
54
|
-
"currency",
|
|
55
|
-
"prefix",
|
|
56
|
-
"suffix",
|
|
57
|
-
"showButtons",
|
|
58
|
-
"buttonLayout",
|
|
59
|
-
"step",
|
|
60
|
-
"pt",
|
|
61
|
-
"ptOptions",
|
|
62
|
-
"unstyled",
|
|
63
|
-
"placeholder"
|
|
64
|
-
]
|
|
32
|
+
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder"]
|
|
65
33
|
});
|
|
66
34
|
export const primeInputMaskDefinition = createInput(PrimeInputMask, {
|
|
67
|
-
props: [
|
|
68
|
-
"mask",
|
|
69
|
-
"slotChar",
|
|
70
|
-
"autoClear",
|
|
71
|
-
"unmask",
|
|
72
|
-
"pt",
|
|
73
|
-
"ptOptions",
|
|
74
|
-
"unstyled",
|
|
75
|
-
"invalid",
|
|
76
|
-
"variant",
|
|
77
|
-
"iconPrefix",
|
|
78
|
-
"iconSuffix"
|
|
79
|
-
]
|
|
35
|
+
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconPrefix", "iconSuffix"]
|
|
80
36
|
});
|
|
81
37
|
export const primePasswordDefinition = createInput(PrimePassword, {
|
|
82
|
-
props: [
|
|
83
|
-
"mediumRegex",
|
|
84
|
-
"strongRegex",
|
|
85
|
-
"promptLabel",
|
|
86
|
-
"weakLabel",
|
|
87
|
-
"mediumLabel",
|
|
88
|
-
"strongLabel",
|
|
89
|
-
"hideIcon",
|
|
90
|
-
"showIcon",
|
|
91
|
-
"pt",
|
|
92
|
-
"ptOptions",
|
|
93
|
-
"unstyled",
|
|
94
|
-
"placeholder",
|
|
95
|
-
"feedback",
|
|
96
|
-
"toggleMask"
|
|
97
|
-
]
|
|
38
|
+
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask"]
|
|
98
39
|
});
|
|
99
40
|
export const primeTextareaDefinition = createInput(PrimeTextarea, {
|
|
100
|
-
props: [
|
|
101
|
-
"pt",
|
|
102
|
-
"ptOptions",
|
|
103
|
-
"unstyled",
|
|
104
|
-
"autoResize",
|
|
105
|
-
"rows",
|
|
106
|
-
"placeholder"
|
|
107
|
-
]
|
|
41
|
+
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder"]
|
|
108
42
|
});
|
|
109
43
|
export const primeCheckboxDefinition = createInput(PrimeCheckbox, {
|
|
110
|
-
props: [
|
|
111
|
-
"binary",
|
|
112
|
-
"trueValue",
|
|
113
|
-
"falseValue",
|
|
114
|
-
"pt",
|
|
115
|
-
"ptOptions",
|
|
116
|
-
"unstyled",
|
|
117
|
-
"indeterminate",
|
|
118
|
-
"variant",
|
|
119
|
-
"prefix",
|
|
120
|
-
"suffix"
|
|
121
|
-
]
|
|
44
|
+
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "indeterminate", "variant", "prefix", "suffix"]
|
|
122
45
|
});
|
|
123
46
|
export const primeToggleSwitchDefinition = createInput(PrimeToggleSwitch, {
|
|
124
|
-
props: [
|
|
125
|
-
"trueValue",
|
|
126
|
-
"falseValue",
|
|
127
|
-
"pt",
|
|
128
|
-
"ptOptions",
|
|
129
|
-
"unstyled",
|
|
130
|
-
"prefix",
|
|
131
|
-
"suffix"
|
|
132
|
-
]
|
|
47
|
+
props: ["trueValue", "falseValue", "pt", "ptOptions", "unstyled", "prefix", "suffix"]
|
|
133
48
|
});
|
|
134
49
|
export const primeInputOtpDefinition = createInput(PrimeInputOtp, {
|
|
135
|
-
props: [
|
|
136
|
-
"length",
|
|
137
|
-
"variant",
|
|
138
|
-
"mask",
|
|
139
|
-
"integerOnly",
|
|
140
|
-
"pt",
|
|
141
|
-
"ptOptions",
|
|
142
|
-
"unstyled"
|
|
143
|
-
]
|
|
50
|
+
props: ["length", "variant", "mask", "integerOnly", "pt", "ptOptions", "unstyled"]
|
|
144
51
|
});
|
|
145
52
|
export const primeEditorDefinition = createInput(PrimeEditor, {
|
|
146
|
-
props: [
|
|
147
|
-
"placeholder",
|
|
148
|
-
"formats",
|
|
149
|
-
"modules",
|
|
150
|
-
"pt",
|
|
151
|
-
"ptOptions",
|
|
152
|
-
"unstyled"
|
|
153
|
-
]
|
|
53
|
+
props: ["placeholder", "formats", "modules", "pt", "ptOptions", "unstyled"]
|
|
154
54
|
});
|
|
155
55
|
export const primeSelectDefinition = createInput(PrimeSelect, {
|
|
156
|
-
props: [
|
|
157
|
-
"options",
|
|
158
|
-
"optionLabel",
|
|
159
|
-
"optionValue",
|
|
160
|
-
"optionDisabled",
|
|
161
|
-
"optionGroupLabel",
|
|
162
|
-
"optionGroupChildren",
|
|
163
|
-
"scrollHeight",
|
|
164
|
-
"filter",
|
|
165
|
-
"filterPlaceholder",
|
|
166
|
-
"filterLocale",
|
|
167
|
-
"filterMatchMode",
|
|
168
|
-
"filterFields",
|
|
169
|
-
"filterInputProps",
|
|
170
|
-
"editable",
|
|
171
|
-
"placeholder",
|
|
172
|
-
"dataKey",
|
|
173
|
-
"showClear",
|
|
174
|
-
"panelStyle",
|
|
175
|
-
"panelClass",
|
|
176
|
-
"panelProps",
|
|
177
|
-
"appendTo",
|
|
178
|
-
"resetFilterOnHide",
|
|
179
|
-
"virtualScrollerOptions",
|
|
180
|
-
"autoOptionFocus",
|
|
181
|
-
"selectOnFocus",
|
|
182
|
-
"filterMessage",
|
|
183
|
-
"selectionMessage",
|
|
184
|
-
"emptySelectionMessage",
|
|
185
|
-
"emptyFilterMessage",
|
|
186
|
-
"emptyMessage",
|
|
187
|
-
"pt",
|
|
188
|
-
"ptOptions",
|
|
189
|
-
"unstyled"
|
|
190
|
-
]
|
|
56
|
+
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"]
|
|
191
57
|
});
|
|
192
58
|
export const primeMultiSelectDefinition = createInput(PrimeMultiSelect, {
|
|
193
|
-
props: [
|
|
194
|
-
"options",
|
|
195
|
-
"optionLabel",
|
|
196
|
-
"optionValue",
|
|
197
|
-
"optionDisabled",
|
|
198
|
-
"optionGroupLabel",
|
|
199
|
-
"optionGroupChildren",
|
|
200
|
-
"scrollHeight",
|
|
201
|
-
"inputProps",
|
|
202
|
-
"closeButtonProps",
|
|
203
|
-
"dataKey",
|
|
204
|
-
"filter",
|
|
205
|
-
"filterPlaceholder",
|
|
206
|
-
"filterLocale",
|
|
207
|
-
"filterMatchMode",
|
|
208
|
-
"filterFields",
|
|
209
|
-
"appendTo",
|
|
210
|
-
"display",
|
|
211
|
-
"maxSelectedLabels",
|
|
212
|
-
"selectedItemsLabel",
|
|
213
|
-
"selectionLimit",
|
|
214
|
-
"showToggleAll",
|
|
215
|
-
"loading",
|
|
216
|
-
"selectAll",
|
|
217
|
-
"resetFilterOnHide",
|
|
218
|
-
"virtualScrollerOptions",
|
|
219
|
-
"autoOptionFocus",
|
|
220
|
-
"autoFilterFocus",
|
|
221
|
-
"filterMessage",
|
|
222
|
-
"selectionMessage",
|
|
223
|
-
"emptySelectionMessage",
|
|
224
|
-
"emptyFilterMessage",
|
|
225
|
-
"emptyMessage",
|
|
226
|
-
"pt",
|
|
227
|
-
"placeholder",
|
|
228
|
-
"ptOptions",
|
|
229
|
-
"unstyled"
|
|
230
|
-
]
|
|
59
|
+
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"]
|
|
231
60
|
});
|
|
232
61
|
export const primeListboxDefinition = createInput(PrimeListbox, {
|
|
233
|
-
props: [
|
|
234
|
-
"pt",
|
|
235
|
-
"ptOptions",
|
|
236
|
-
"unstyled",
|
|
237
|
-
"options",
|
|
238
|
-
"optionLabel",
|
|
239
|
-
"optionValue",
|
|
240
|
-
"multiple",
|
|
241
|
-
"filter",
|
|
242
|
-
"filterIcon",
|
|
243
|
-
"filterPlaceholder",
|
|
244
|
-
"filterLocale",
|
|
245
|
-
"filterMatchMode",
|
|
246
|
-
"autoOptionFocus",
|
|
247
|
-
"selectOnFocus"
|
|
248
|
-
]
|
|
62
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionLabel", "optionValue", "multiple", "filter", "filterIcon", "filterPlaceholder", "filterLocale", "filterMatchMode", "autoOptionFocus", "selectOnFocus"]
|
|
249
63
|
});
|
|
250
64
|
export const primeDatePickerDefinition = createInput(PrimeDatePicker, {
|
|
251
|
-
props: [
|
|
252
|
-
"dateFormat",
|
|
253
|
-
"placeholder",
|
|
254
|
-
"selectionMode",
|
|
255
|
-
"inline",
|
|
256
|
-
"icon",
|
|
257
|
-
"showOtherMonths",
|
|
258
|
-
"selectOtherMonths",
|
|
259
|
-
"showIcon",
|
|
260
|
-
"previousIcon",
|
|
261
|
-
"nextIcon",
|
|
262
|
-
"incrementIcon",
|
|
263
|
-
"decrementIcon",
|
|
264
|
-
"numberOfMonths",
|
|
265
|
-
"responsiveOptions",
|
|
266
|
-
"view",
|
|
267
|
-
"touchUI",
|
|
268
|
-
"minDate",
|
|
269
|
-
"maxDate",
|
|
270
|
-
"disabledDates",
|
|
271
|
-
"disabledDays",
|
|
272
|
-
"maxDateCount",
|
|
273
|
-
"showOnFocus",
|
|
274
|
-
"autoZIndex",
|
|
275
|
-
"baseZIndex",
|
|
276
|
-
"showButtonBar",
|
|
277
|
-
"showTime",
|
|
278
|
-
"timeOnly",
|
|
279
|
-
"shortYearCutoff",
|
|
280
|
-
"hourFormat",
|
|
281
|
-
"stepHour",
|
|
282
|
-
"stepMinute",
|
|
283
|
-
"stepSecond",
|
|
284
|
-
"showSeconds",
|
|
285
|
-
"hideOnDateTimeSelect",
|
|
286
|
-
"hideOnRangeSelection",
|
|
287
|
-
"timeSeparator",
|
|
288
|
-
"showWeek",
|
|
289
|
-
"manualInput",
|
|
290
|
-
"appendTo",
|
|
291
|
-
"panelStyle",
|
|
292
|
-
"panelClass",
|
|
293
|
-
"pt",
|
|
294
|
-
"ptOptions",
|
|
295
|
-
"unstyled"
|
|
296
|
-
]
|
|
65
|
+
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"]
|
|
297
66
|
});
|
|
298
67
|
export const primeSliderDefinition = createInput(PrimeSlider, {
|
|
299
|
-
props: [
|
|
300
|
-
"pt",
|
|
301
|
-
"ptOptions",
|
|
302
|
-
"unstyled",
|
|
303
|
-
"min",
|
|
304
|
-
"max",
|
|
305
|
-
"step",
|
|
306
|
-
"range",
|
|
307
|
-
"orientation"
|
|
308
|
-
]
|
|
68
|
+
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "range", "orientation"]
|
|
309
69
|
});
|
|
310
70
|
export const primeRatingDefinition = createInput(PrimeRating, {
|
|
311
|
-
props: [
|
|
312
|
-
"unstyled",
|
|
313
|
-
"stars",
|
|
314
|
-
"cancel",
|
|
315
|
-
"onIcon",
|
|
316
|
-
"offIcon",
|
|
317
|
-
"cancelIcon",
|
|
318
|
-
"ptOptions",
|
|
319
|
-
"pt"
|
|
320
|
-
]
|
|
71
|
+
props: ["unstyled", "stars", "cancel", "onIcon", "offIcon", "cancelIcon", "ptOptions", "pt"]
|
|
321
72
|
});
|
|
322
73
|
export const primeRadioButtonDefinition = createInput(PrimeRadioButton, {
|
|
323
|
-
props: [
|
|
324
|
-
"pt",
|
|
325
|
-
"ptOptions",
|
|
326
|
-
"unstyled",
|
|
327
|
-
"options",
|
|
328
|
-
"optionsClass",
|
|
329
|
-
"optionClass"
|
|
330
|
-
]
|
|
74
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionsClass", "optionClass"]
|
|
331
75
|
});
|
|
332
76
|
export const primeKnobDefinition = createInput(PrimeKnob, {
|
|
333
|
-
props: [
|
|
334
|
-
"pt",
|
|
335
|
-
"ptOptions",
|
|
336
|
-
"unstyled",
|
|
337
|
-
"min",
|
|
338
|
-
"max",
|
|
339
|
-
"step",
|
|
340
|
-
"size",
|
|
341
|
-
"strokeWidth",
|
|
342
|
-
"showValue",
|
|
343
|
-
"valueColor",
|
|
344
|
-
"rangeColor",
|
|
345
|
-
"textColor",
|
|
346
|
-
"valueTemplate"
|
|
347
|
-
]
|
|
77
|
+
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "size", "strokeWidth", "showValue", "valueColor", "rangeColor", "textColor", "valueTemplate"]
|
|
348
78
|
});
|
|
349
79
|
export const primeColorPickerDefinition = createInput(PrimeColorPicker, {
|
|
350
|
-
props: [
|
|
351
|
-
"defaultColor",
|
|
352
|
-
"inline",
|
|
353
|
-
"format",
|
|
354
|
-
"pt",
|
|
355
|
-
"ptOptions",
|
|
356
|
-
"unstyled"
|
|
357
|
-
]
|
|
80
|
+
props: ["defaultColor", "inline", "format", "pt", "ptOptions", "unstyled"]
|
|
358
81
|
});
|
|
359
82
|
export const primeToggleButtonDefinition = createInput(PrimeToggleButton, {
|
|
360
|
-
props: [
|
|
361
|
-
"pt",
|
|
362
|
-
"ptOptions",
|
|
363
|
-
"unstyled",
|
|
364
|
-
"onLabel",
|
|
365
|
-
"offLabel",
|
|
366
|
-
"onIcon",
|
|
367
|
-
"offIcon",
|
|
368
|
-
"iconPos"
|
|
369
|
-
]
|
|
83
|
+
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos"]
|
|
370
84
|
});
|
|
371
85
|
export const primeSelectButtonDefinition = createInput(PrimeSelectButton, {
|
|
372
|
-
props: [
|
|
373
|
-
"pt",
|
|
374
|
-
"ptOptions",
|
|
375
|
-
"unstyled",
|
|
376
|
-
"optionLabel",
|
|
377
|
-
"optionValue",
|
|
378
|
-
"optionDisabled",
|
|
379
|
-
"multiple",
|
|
380
|
-
"unselectable",
|
|
381
|
-
"dataKey",
|
|
382
|
-
"options"
|
|
383
|
-
]
|
|
86
|
+
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options"]
|
|
384
87
|
});
|
|
385
88
|
export const primeCascadeSelectDefinition = createInput(PrimeCascadeSelect, {
|
|
386
|
-
props: [
|
|
387
|
-
"options",
|
|
388
|
-
"optionLabel",
|
|
389
|
-
"optionValue",
|
|
390
|
-
"optionGroupLabel",
|
|
391
|
-
"optionGroupChildren",
|
|
392
|
-
"placeholder",
|
|
393
|
-
"pt",
|
|
394
|
-
"ptOptions",
|
|
395
|
-
"unstyled"
|
|
396
|
-
]
|
|
89
|
+
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled"]
|
|
397
90
|
});
|
|
398
91
|
export const primeTreeSelectDefinition = createInput(PrimeTreeSelect, {
|
|
399
|
-
props: [
|
|
400
|
-
"options",
|
|
401
|
-
"placeholder",
|
|
402
|
-
"selectionMode",
|
|
403
|
-
"pt",
|
|
404
|
-
"ptOptions",
|
|
405
|
-
"unstyled",
|
|
406
|
-
"emptyMessage",
|
|
407
|
-
"display",
|
|
408
|
-
"metaKeySelection",
|
|
409
|
-
"appendTo",
|
|
410
|
-
"scrollHeight",
|
|
411
|
-
"panelClass",
|
|
412
|
-
"variant"
|
|
413
|
-
]
|
|
92
|
+
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant"]
|
|
414
93
|
});
|
|
415
94
|
export const primeInputs = {
|
|
416
95
|
primeAutoComplete: primeAutoCompleteDefinition,
|
|
@@ -26,11 +26,11 @@ const primeOutputLinkDefinition = exports.primeOutputLinkDefinition = (0, _vue.c
|
|
|
26
26
|
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
27
27
|
});
|
|
28
28
|
const primeOutputBooleanDefinition = exports.primeOutputBooleanDefinition = (0, _vue.createInput)(_PrimeOutputBoolean.default, {
|
|
29
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
29
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "trueValue", "falseValue"]
|
|
30
30
|
});
|
|
31
31
|
const primeOutputDurationDefinition = exports.primeOutputDurationDefinition = (0, _vue.createInput)(_PrimeOutputDuration.default, {
|
|
32
32
|
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
33
33
|
});
|
|
34
34
|
const primeOutputListDefinition = exports.primeOutputListDefinition = (0, _vue.createInput)(_PrimeOutputList.default, {
|
|
35
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
35
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "divider", "itemClass", "dividerClass"]
|
|
36
36
|
});
|
|
@@ -19,11 +19,11 @@ export const primeOutputLinkDefinition = createInput(PrimeOutputLink, {
|
|
|
19
19
|
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
20
20
|
});
|
|
21
21
|
export const primeOutputBooleanDefinition = createInput(PrimeOutputBoolean, {
|
|
22
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
22
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "trueValue", "falseValue"]
|
|
23
23
|
});
|
|
24
24
|
export const primeOutputDurationDefinition = createInput(PrimeOutputDuration, {
|
|
25
25
|
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
26
26
|
});
|
|
27
27
|
export const primeOutputListDefinition = createInput(PrimeOutputList, {
|
|
28
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix"]
|
|
28
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "divider", "itemClass", "dividerClass"]
|
|
29
29
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/formkit-primevue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.2",
|
|
5
5
|
"packageManager": "pnpm@9.4.0+sha256.b6fd0bfda555e7e584ad7e56b30c68b01d5a04f9ee93989f4b93ca8473c49c74",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"dev": "vite serve dev",
|
|
73
73
|
"dev:build": "vite build dev",
|
|
74
74
|
"dev:preview": "vite preview dev",
|
|
75
|
-
"release": "npm run lint && npm run build && changelogen --
|
|
75
|
+
"release": "npm run lint && npm run build && changelogen --patch --release && npm publish --access public && git push --follow-tags",
|
|
76
76
|
"lint": "eslint ./src",
|
|
77
77
|
"lint:fix": "eslint . --fix",
|
|
78
78
|
"prepublishOnly": "pnpm build",
|
|
@@ -92,22 +92,22 @@
|
|
|
92
92
|
"@formkit/i18n": "^1.6.5",
|
|
93
93
|
"@formkit/vue": "^1.6.5",
|
|
94
94
|
"primeicons": "^7.0.0",
|
|
95
|
-
"primevue": "4.0.
|
|
95
|
+
"primevue": "4.0.4",
|
|
96
96
|
"uuid": "^10.0.0",
|
|
97
97
|
"vue-i18n": "9.13.1"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@antfu/eslint-config": "2.
|
|
100
|
+
"@antfu/eslint-config": "2.24.1",
|
|
101
101
|
"@formkit/core": "^1.6.5",
|
|
102
|
-
"@primevue/themes": "4.0.
|
|
103
|
-
"@types/node": "^
|
|
104
|
-
"@unocss/preset-icons": "0.61.
|
|
105
|
-
"@unocss/preset-uno": "0.61.
|
|
106
|
-
"@vitejs/plugin-vue": "^5.1.
|
|
107
|
-
"@vitest/coverage-v8": "^2.0.
|
|
108
|
-
"@vitest/ui": "^2.0.
|
|
109
|
-
"@vue/compiler-sfc": "^3.4.
|
|
110
|
-
"@vue/server-renderer": "^3.4.
|
|
102
|
+
"@primevue/themes": "4.0.4",
|
|
103
|
+
"@types/node": "^22.1.0",
|
|
104
|
+
"@unocss/preset-icons": "0.61.9",
|
|
105
|
+
"@unocss/preset-uno": "0.61.9",
|
|
106
|
+
"@vitejs/plugin-vue": "^5.1.2",
|
|
107
|
+
"@vitest/coverage-v8": "^2.0.5",
|
|
108
|
+
"@vitest/ui": "^2.0.5",
|
|
109
|
+
"@vue/compiler-sfc": "^3.4.35",
|
|
110
|
+
"@vue/server-renderer": "^3.4.35",
|
|
111
111
|
"@vue/test-utils": "^2.4.6",
|
|
112
112
|
"@vue/tsconfig": "^0.5.1",
|
|
113
113
|
"@vuedx/typecheck": "~0.7.6",
|
|
@@ -125,21 +125,21 @@
|
|
|
125
125
|
"sass": "^1.77.8",
|
|
126
126
|
"tslib": "^2.6.3",
|
|
127
127
|
"typescript": "^5.5.4",
|
|
128
|
-
"unbuild": "
|
|
129
|
-
"unocss": "0.61.
|
|
128
|
+
"unbuild": "3.0.0-rc.7",
|
|
129
|
+
"unocss": "0.61.9",
|
|
130
130
|
"unplugin-auto-import": "^0.18.2",
|
|
131
131
|
"unplugin-vue-components": "^0.27.3",
|
|
132
132
|
"vanilla-jsoneditor": "^0.23.8",
|
|
133
133
|
"vite": "^5.3.5",
|
|
134
|
-
"vite-plugin-dts": "4.0.0-beta.
|
|
134
|
+
"vite-plugin-dts": "4.0.0-beta.2",
|
|
135
135
|
"vite-plugin-eslint": "^1.8.1",
|
|
136
136
|
"vite-plugin-pages": "^0.32.3",
|
|
137
137
|
"vite-ssg": "^0.23.8",
|
|
138
138
|
"vitepress": "1.3.1",
|
|
139
|
-
"vitest": "^2.0.
|
|
140
|
-
"vue": "^3.4.
|
|
139
|
+
"vitest": "^2.0.5",
|
|
140
|
+
"vue": "^3.4.35",
|
|
141
141
|
"vue-demi": "^0.14.10",
|
|
142
|
-
"vue-router": "^4.4.
|
|
142
|
+
"vue-router": "^4.4.2",
|
|
143
143
|
"vue-tsc": "^2.0.29"
|
|
144
144
|
}
|
|
145
145
|
}
|