@sfxcode/formkit-primevue 3.3.1 → 3.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/LICENSE +21 -0
- package/README.md +138 -13
- package/components.d.ts +1 -0
- package/dist/components/FormKitDataDebug.d.vue.ts +24 -0
- package/dist/components/FormKitDataDebug.vue +23 -0
- package/dist/components/FormKitDataDebug.vue.d.ts +24 -0
- package/dist/components/FormKitDataEdit.d.vue.ts +180 -0
- package/dist/components/FormKitDataEdit.vue +126 -0
- package/dist/components/FormKitDataEdit.vue.d.ts +180 -0
- package/dist/components/FormKitDataView.d.vue.ts +73 -0
- package/dist/components/FormKitDataView.vue +58 -0
- package/dist/components/FormKitDataView.vue.d.ts +73 -0
- package/dist/components/FormKitIcon.d.vue.ts +39 -0
- package/dist/components/FormKitIcon.vue +25 -0
- package/dist/components/FormKitIcon.vue.d.ts +39 -0
- package/dist/components/FormKitPrefix.d.vue.ts +7 -0
- package/dist/components/FormKitPrefix.vue +11 -0
- package/dist/components/FormKitPrefix.vue.d.ts +7 -0
- package/dist/components/FormKitSuffix.d.vue.ts +7 -0
- package/dist/components/FormKitSuffix.vue +11 -0
- package/dist/components/FormKitSuffix.vue.d.ts +7 -0
- package/dist/components/PrimeAutoComplete.d.vue.ts +31 -0
- package/dist/components/PrimeAutoComplete.vue +140 -0
- package/dist/components/PrimeAutoComplete.vue.d.ts +31 -0
- package/dist/components/PrimeCascadeSelect.d.vue.ts +28 -0
- package/dist/components/PrimeCascadeSelect.vue +62 -0
- package/dist/components/PrimeCascadeSelect.vue.d.ts +28 -0
- package/dist/components/PrimeCheckbox.d.vue.ts +27 -0
- package/dist/components/PrimeCheckbox.vue +71 -0
- package/dist/components/PrimeCheckbox.vue.d.ts +27 -0
- package/dist/components/PrimeColorPicker.d.vue.ts +24 -0
- package/dist/components/PrimeColorPicker.vue +48 -0
- package/dist/components/PrimeColorPicker.vue.d.ts +24 -0
- package/dist/components/PrimeDatePicker.d.vue.ts +63 -0
- package/dist/components/PrimeDatePicker.vue +153 -0
- package/dist/components/PrimeDatePicker.vue.d.ts +63 -0
- package/dist/components/PrimeInputMask.d.vue.ts +28 -0
- package/dist/components/PrimeInputMask.vue +88 -0
- package/dist/components/PrimeInputMask.vue.d.ts +28 -0
- package/dist/components/PrimeInputNumber.d.vue.ts +36 -0
- package/dist/components/PrimeInputNumber.vue +110 -0
- package/dist/components/PrimeInputNumber.vue.d.ts +36 -0
- package/dist/components/PrimeInputOtp.d.vue.ts +26 -0
- package/dist/components/PrimeInputOtp.vue +59 -0
- package/dist/components/PrimeInputOtp.vue.d.ts +26 -0
- package/dist/components/PrimeInputText.d.vue.ts +24 -0
- package/dist/components/PrimeInputText.vue +80 -0
- package/dist/components/PrimeInputText.vue.d.ts +24 -0
- package/dist/components/PrimeKnob.d.vue.ts +31 -0
- package/dist/components/PrimeKnob.vue +75 -0
- package/dist/components/PrimeKnob.vue.d.ts +31 -0
- package/dist/components/PrimeListbox.d.vue.ts +42 -0
- package/dist/components/PrimeListbox.vue +86 -0
- package/dist/components/PrimeListbox.vue.d.ts +42 -0
- package/dist/components/PrimeMultiSelect.d.vue.ts +53 -0
- package/dist/components/PrimeMultiSelect.vue +115 -0
- package/dist/components/PrimeMultiSelect.vue.d.ts +53 -0
- package/dist/components/PrimeOutputBoolean.d.vue.ts +16 -0
- package/dist/components/PrimeOutputBoolean.vue +41 -0
- package/dist/components/PrimeOutputBoolean.vue.d.ts +16 -0
- package/dist/components/PrimeOutputDate.d.vue.ts +16 -0
- package/dist/components/PrimeOutputDate.vue +51 -0
- package/dist/components/PrimeOutputDate.vue.d.ts +16 -0
- package/dist/components/PrimeOutputDuration.d.vue.ts +16 -0
- package/dist/components/PrimeOutputDuration.vue +32 -0
- package/dist/components/PrimeOutputDuration.vue.d.ts +16 -0
- package/dist/components/PrimeOutputLink.d.vue.ts +16 -0
- package/dist/components/PrimeOutputLink.vue +50 -0
- package/dist/components/PrimeOutputLink.vue.d.ts +16 -0
- package/dist/components/PrimeOutputList.d.vue.ts +19 -0
- package/dist/components/PrimeOutputList.vue +75 -0
- package/dist/components/PrimeOutputList.vue.d.ts +19 -0
- package/dist/components/PrimeOutputNumber.d.vue.ts +16 -0
- package/dist/components/PrimeOutputNumber.vue +59 -0
- package/dist/components/PrimeOutputNumber.vue.d.ts +16 -0
- package/dist/components/PrimeOutputReference.d.vue.ts +16 -0
- package/dist/components/PrimeOutputReference.vue +62 -0
- package/dist/components/PrimeOutputReference.vue.d.ts +16 -0
- package/dist/components/PrimeOutputText.d.vue.ts +22 -0
- package/dist/components/PrimeOutputText.vue +72 -0
- package/dist/components/PrimeOutputText.vue.d.ts +22 -0
- package/dist/components/PrimePassword.d.vue.ts +33 -0
- package/dist/components/PrimePassword.vue +73 -0
- package/dist/components/PrimePassword.vue.d.ts +33 -0
- package/dist/components/PrimeRadioButton.d.vue.ts +28 -0
- package/dist/components/PrimeRadioButton.vue +58 -0
- package/dist/components/PrimeRadioButton.vue.d.ts +28 -0
- package/dist/components/PrimeRating.d.vue.ts +24 -0
- package/dist/components/PrimeRating.vue +55 -0
- package/dist/components/PrimeRating.vue.d.ts +24 -0
- package/dist/components/PrimeSelect.d.vue.ts +50 -0
- package/dist/components/PrimeSelect.vue +113 -0
- package/dist/components/PrimeSelect.vue.d.ts +50 -0
- package/dist/components/PrimeSelectButton.d.vue.ts +28 -0
- package/dist/components/PrimeSelectButton.vue +64 -0
- package/dist/components/PrimeSelectButton.vue.d.ts +28 -0
- package/dist/components/PrimeSlider.d.vue.ts +26 -0
- package/dist/components/PrimeSlider.vue +60 -0
- package/dist/components/PrimeSlider.vue.d.ts +26 -0
- package/dist/components/PrimeTextarea.d.vue.ts +25 -0
- package/dist/components/PrimeTextarea.vue +53 -0
- package/dist/components/PrimeTextarea.vue.d.ts +25 -0
- package/dist/components/PrimeToggleButton.d.vue.ts +26 -0
- package/dist/components/PrimeToggleButton.vue +60 -0
- package/dist/components/PrimeToggleButton.vue.d.ts +26 -0
- package/dist/components/PrimeToggleSwitch.d.vue.ts +23 -0
- package/dist/components/PrimeToggleSwitch.vue +57 -0
- package/dist/components/PrimeToggleSwitch.vue.d.ts +23 -0
- package/dist/components/PrimeTreeSelect.d.vue.ts +32 -0
- package/dist/components/PrimeTreeSelect.vue +71 -0
- package/dist/components/PrimeTreeSelect.vue.d.ts +32 -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 +58 -0
- package/dist/composables/useFormKitInput.mjs +45 -0
- package/dist/composables/useFormKitRepeater.d.ts +15 -0
- package/dist/composables/useFormKitRepeater.js +74 -0
- package/dist/composables/useFormKitRepeater.mjs +54 -0
- package/dist/composables/useFormKitSchema.d.ts +36 -0
- package/dist/composables/useFormKitSchema.js +83 -0
- package/dist/composables/useFormKitSchema.mjs +58 -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 +143 -0
- package/dist/composables/useInputEditorSchema.d.ts +163 -0
- package/dist/composables/useInputEditorSchema.js +313 -0
- package/dist/composables/useInputEditorSchema.mjs +315 -0
- package/dist/composables/useOutputDuration.d.ts +4 -0
- package/dist/composables/useOutputDuration.js +40 -0
- package/dist/composables/useOutputDuration.mjs +35 -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 +135 -0
- package/dist/definitions/output.d.ts +9 -0
- package/dist/definitions/output.js +46 -0
- package/dist/definitions/output.mjs +39 -0
- package/dist/index.d.ts +143 -146
- package/dist/index.js +62 -5
- package/dist/index.mjs +14 -0
- package/dist/plugins/index.d.ts +3 -7
- package/dist/plugins/index.js +57 -45
- package/dist/plugins/index.mjs +55 -0
- package/dist/sass/formkit-primevue.scss +101 -99
- package/package.json +115 -30
- 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
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
$gutter-width: 0.5rem;
|
|
5
5
|
|
|
6
6
|
// Breakpoints e.g. https://tailwindcss.com/docs/responsive-design
|
|
7
7
|
$grid-breakpoints: (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
sm: 640px,
|
|
9
|
+
md: 768px,
|
|
10
|
+
lg: 1024px,
|
|
11
|
+
xl: 1280px,
|
|
12
|
+
xxl: 1536px
|
|
13
13
|
) !default;
|
|
14
14
|
|
|
15
15
|
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
|
|
@@ -69,12 +69,7 @@ $grid-breakpoints: (
|
|
|
69
69
|
width: 100%;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.p-inputtext,
|
|
73
|
-
.p-textarea,
|
|
74
|
-
.p-password,
|
|
75
|
-
.p-multiselect,
|
|
76
|
-
.p-select,
|
|
77
|
-
.p-editor {
|
|
72
|
+
.p-inputtext, .p-textarea, .p-password, .p-multiselect, .p-select, .p-editor {
|
|
78
73
|
box-sizing: border-box;
|
|
79
74
|
width: 100%;
|
|
80
75
|
|
|
@@ -82,6 +77,7 @@ $grid-breakpoints: (
|
|
|
82
77
|
width: 2rem;
|
|
83
78
|
}
|
|
84
79
|
}
|
|
80
|
+
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
|
|
@@ -90,6 +86,7 @@ $grid-breakpoints: (
|
|
|
90
86
|
font-size: 0.8rem;
|
|
91
87
|
color: var(--text-color-secondary);
|
|
92
88
|
}
|
|
89
|
+
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
// Label for single form element
|
|
@@ -106,8 +103,7 @@ $grid-breakpoints: (
|
|
|
106
103
|
> * {
|
|
107
104
|
margin-right: 0.5rem;
|
|
108
105
|
|
|
109
|
-
&:last-child,
|
|
110
|
-
&:only-child {
|
|
106
|
+
&:last-child, &:only-child {
|
|
111
107
|
margin-right: 0;
|
|
112
108
|
}
|
|
113
109
|
}
|
|
@@ -119,7 +115,7 @@ $grid-breakpoints: (
|
|
|
119
115
|
flex-wrap: wrap;
|
|
120
116
|
gap: 0.5rem;
|
|
121
117
|
|
|
122
|
-
.p-formkit-option
|
|
118
|
+
.p-formkit-option {
|
|
123
119
|
display: flex;
|
|
124
120
|
align-items: center;
|
|
125
121
|
label {
|
|
@@ -159,9 +155,10 @@ $grid-breakpoints: (
|
|
|
159
155
|
button {
|
|
160
156
|
margin-right: 0.5rem;
|
|
161
157
|
}
|
|
158
|
+
|
|
162
159
|
}
|
|
163
160
|
|
|
164
|
-
.p-action-buttons
|
|
161
|
+
.p-action-buttons {
|
|
165
162
|
margin-top: 0.25rem;
|
|
166
163
|
.p-button {
|
|
167
164
|
margin-right: 0.5rem;
|
|
@@ -184,117 +181,117 @@ $grid-breakpoints: (
|
|
|
184
181
|
|
|
185
182
|
// data view only
|
|
186
183
|
.p-formkit-data-view {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
.formkit-outer {
|
|
185
|
+
padding-bottom: 0.5rem;
|
|
186
|
+
}
|
|
190
187
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
188
|
+
&.form-horizontal {
|
|
189
|
+
padding-bottom: 0.8rem;
|
|
190
|
+
}
|
|
194
191
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
192
|
+
.formkit-help {
|
|
193
|
+
padding-top: 0.25rem;
|
|
194
|
+
margin: 0;
|
|
195
|
+
}
|
|
199
196
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
197
|
+
ul, ol {
|
|
198
|
+
padding-inline-start: 1rem;
|
|
199
|
+
margin-block-start: 0;
|
|
200
|
+
margin-block-end: 0;
|
|
201
|
+
}
|
|
206
202
|
}
|
|
207
203
|
|
|
208
204
|
// data edit only
|
|
209
205
|
.p-formkit-data-edit {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
206
|
+
.formkit-label {
|
|
207
|
+
//font-weight: normal;
|
|
208
|
+
}
|
|
213
209
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
210
|
+
// specific checkbox stylings
|
|
211
|
+
.formkit-outer[data-type="primeCheckbox"] {
|
|
212
|
+
//padding-left: 0;
|
|
217
213
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
214
|
+
.formkit-wrapper {
|
|
215
|
+
display: flex;
|
|
216
|
+
flex-wrap: wrap;
|
|
221
217
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
218
|
+
.formkit-inner {
|
|
219
|
+
width: auto !important;
|
|
220
|
+
}
|
|
225
221
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
222
|
+
label {
|
|
223
|
+
width: auto;
|
|
224
|
+
order: 2;
|
|
225
|
+
padding: 0.125rem 0;
|
|
230
226
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
227
|
+
&:after {
|
|
228
|
+
content: "";
|
|
229
|
+
}
|
|
234
230
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
231
|
+
// styling of output when label is used in schema
|
|
232
|
+
+ .formkit-inner {
|
|
233
|
+
margin-left: 0 !important;
|
|
234
|
+
order: 1;
|
|
235
|
+
flex-basis: 2rem;
|
|
236
|
+
flex-grow: 0;
|
|
237
|
+
flex-shrink: 0;
|
|
238
|
+
overflow: hidden;
|
|
239
|
+
// styling of suffix when suffix is used in addition to label
|
|
240
|
+
&:has( label) {
|
|
241
|
+
flex-grow: 1;
|
|
242
|
+
flex-basis: 100%;
|
|
243
|
+
}
|
|
247
244
|
}
|
|
248
245
|
}
|
|
249
|
-
}
|
|
250
246
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
247
|
+
// styling when both prefix and suffix are used in schema
|
|
248
|
+
label:first-child:nth-last-child(3), label:first-child:nth-last-child(3) ~ label {
|
|
249
|
+
width: auto;
|
|
250
|
+
}
|
|
256
251
|
|
|
257
|
-
|
|
258
|
-
|
|
252
|
+
label:first-child:nth-last-child(3) {
|
|
253
|
+
order: 1;
|
|
259
254
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
255
|
+
+ div.p-checkbox {
|
|
256
|
+
order: 2;
|
|
257
|
+
width: auto;
|
|
258
|
+
}
|
|
263
259
|
}
|
|
264
|
-
}
|
|
265
260
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
261
|
+
label:first-child:nth-last-child(3) ~ label {
|
|
262
|
+
order: 3
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// end styling when both prefix and suffix are used in schema
|
|
269
266
|
|
|
270
|
-
// end styling when both prefix and suffix are used in schema
|
|
271
267
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
// styling of output when only suffix is used in schema
|
|
269
|
+
.formkit-inner:first-child {
|
|
270
|
+
margin-left: 0 !important;
|
|
275
271
|
|
|
276
|
-
|
|
277
|
-
|
|
272
|
+
.p-formkit {
|
|
273
|
+
display: flex;
|
|
274
|
+
}
|
|
278
275
|
}
|
|
279
|
-
}
|
|
280
276
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
277
|
+
.p-checkbox:not(:only-child) {
|
|
278
|
+
width: 2rem;
|
|
279
|
+
overflow: hidden;
|
|
280
|
+
}
|
|
284
281
|
}
|
|
285
|
-
}
|
|
286
282
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
283
|
+
.formkit-help {
|
|
284
|
+
width: auto !important;
|
|
285
|
+
//padding-left: 2rem;
|
|
286
|
+
}
|
|
290
287
|
}
|
|
291
|
-
}
|
|
292
288
|
}
|
|
293
289
|
|
|
290
|
+
|
|
291
|
+
|
|
294
292
|
// Debug
|
|
295
293
|
.p-formkit-data-debug {
|
|
296
|
-
pre,
|
|
297
|
-
span {
|
|
294
|
+
pre, span {
|
|
298
295
|
font-size: 0.75rem;
|
|
299
296
|
line-height: 1rem;
|
|
300
297
|
}
|
|
@@ -325,7 +322,9 @@ $grid-breakpoints: (
|
|
|
325
322
|
|
|
326
323
|
@include media-breakpoint-up(md) {
|
|
327
324
|
.formkit-form {
|
|
325
|
+
|
|
328
326
|
&.form-horizontal {
|
|
327
|
+
|
|
329
328
|
.formkit-wrapper {
|
|
330
329
|
display: flex;
|
|
331
330
|
|
|
@@ -347,6 +346,7 @@ $grid-breakpoints: (
|
|
|
347
346
|
}
|
|
348
347
|
}
|
|
349
348
|
}
|
|
349
|
+
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
.p-formkit-data-view & {
|
|
@@ -358,7 +358,9 @@ $grid-breakpoints: (
|
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
.p-formkit-data-edit & {
|
|
361
|
+
|
|
361
362
|
&.form-horizontal {
|
|
363
|
+
|
|
362
364
|
.formkit-outer {
|
|
363
365
|
width: 100%;
|
|
364
366
|
|
|
@@ -378,7 +380,7 @@ $grid-breakpoints: (
|
|
|
378
380
|
margin-left: auto;
|
|
379
381
|
|
|
380
382
|
.p-formkit {
|
|
381
|
-
display: flex
|
|
383
|
+
display: flex
|
|
382
384
|
}
|
|
383
385
|
|
|
384
386
|
label {
|
|
@@ -388,8 +390,7 @@ $grid-breakpoints: (
|
|
|
388
390
|
}
|
|
389
391
|
}
|
|
390
392
|
|
|
391
|
-
.formkit-help,
|
|
392
|
-
.formkit-messages {
|
|
393
|
+
.formkit-help, .formkit-messages {
|
|
393
394
|
width: calc((8 / 12) * 100%);
|
|
394
395
|
margin-left: auto;
|
|
395
396
|
}
|
|
@@ -397,3 +398,4 @@ $grid-breakpoints: (
|
|
|
397
398
|
}
|
|
398
399
|
}
|
|
399
400
|
}
|
|
401
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/formkit-primevue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.3",
|
|
5
|
+
"packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017",
|
|
5
6
|
"author": {
|
|
6
7
|
"name": "Tom",
|
|
7
8
|
"email": "tom@sfxcode.com"
|
|
@@ -15,49 +16,133 @@
|
|
|
15
16
|
"type": "git",
|
|
16
17
|
"url": "git+https://github.com/sfxcode/formkit-primevue.git"
|
|
17
18
|
},
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.mjs",
|
|
23
|
+
"require": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./components": {
|
|
26
|
+
"types": "./dist/components/index.d.ts",
|
|
27
|
+
"import": "./dist/components/index.mjs",
|
|
28
|
+
"require": "./dist/components/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./composables": {
|
|
31
|
+
"types": "./dist/composables/index.d.ts",
|
|
32
|
+
"import": "./dist/composables/index.mjs",
|
|
33
|
+
"require": "./dist/composables/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./definitions": {
|
|
36
|
+
"types": "./dist/definitions/index.d.ts",
|
|
37
|
+
"import": "./dist/definitions/index.mjs",
|
|
38
|
+
"require": "./dist/definitions/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./plugins": {
|
|
41
|
+
"types": "./dist/plugins/index.d.ts",
|
|
42
|
+
"import": "./dist/plugins/index.mjs",
|
|
43
|
+
"require": "./dist/plugins/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./dist/sass/formkit-primevue.scss": {
|
|
46
|
+
"import": "./dist/sass/formkit-primevue.scss",
|
|
47
|
+
"require": "./dist/sass/formkit-primevue.scss"
|
|
48
|
+
},
|
|
49
|
+
"./dist/style.css": {
|
|
50
|
+
"import": "./dist/style.css",
|
|
51
|
+
"require": "./dist/style.css"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"main": "./dist/index.js",
|
|
55
|
+
"module": "./dist/index.mjs",
|
|
56
|
+
"types": "./dist/index.d.ts",
|
|
57
|
+
"typesVersions": {
|
|
58
|
+
"*": {
|
|
59
|
+
"*": [
|
|
60
|
+
"*",
|
|
61
|
+
"dist/*",
|
|
62
|
+
"dist/*.d.ts",
|
|
63
|
+
"dist/*/index.d.ts"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
18
67
|
"files": [
|
|
68
|
+
"*.css",
|
|
69
|
+
"*.scss",
|
|
70
|
+
"components.d.ts",
|
|
19
71
|
"dist"
|
|
20
72
|
],
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "vue-tsc --build --force && unbuild",
|
|
75
|
+
"dev": "vite serve dev",
|
|
76
|
+
"dev:build": "vite build dev",
|
|
77
|
+
"dev:preview": "vite preview dev",
|
|
78
|
+
"release": "npm run lint && npm run build && changelogen --patch --release && npm publish --access public && git push --follow-tags",
|
|
79
|
+
"lint": "eslint .",
|
|
80
|
+
"lint:fix": "eslint . --fix",
|
|
81
|
+
"prepublishOnly": "pnpm build",
|
|
82
|
+
"docs:dev": "vitepress dev docs",
|
|
83
|
+
"docs:build": "vitepress build docs",
|
|
84
|
+
"docs:serve": "vitepress serve docs",
|
|
85
|
+
"test": "vitest",
|
|
86
|
+
"test:ui": "vitest --ui",
|
|
87
|
+
"coverage": "vitest run --coverage"
|
|
88
|
+
},
|
|
89
|
+
"peerDependencies": {
|
|
90
|
+
"vue": "^3.4.0"
|
|
29
91
|
},
|
|
30
92
|
"dependencies": {
|
|
31
93
|
"@formkit/addons": "^1.7.2",
|
|
32
94
|
"@formkit/core": "^1.7.2",
|
|
95
|
+
"@formkit/i18n": "^1.7.2",
|
|
33
96
|
"@formkit/inputs": "^1.7.2",
|
|
34
97
|
"@formkit/vue": "^1.7.2",
|
|
35
|
-
"
|
|
98
|
+
"@intlify/core": "^11.3.0",
|
|
36
99
|
"primeicons": "^7.0.0",
|
|
37
100
|
"primevue": "^4.5.4",
|
|
38
|
-
"vue": "^3.
|
|
39
|
-
"vue-i18n": "^11.3.0",
|
|
40
|
-
"vue-tsc": "^3.2.5"
|
|
101
|
+
"vue-i18n": "^11.3.0"
|
|
41
102
|
},
|
|
42
103
|
"devDependencies": {
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
104
|
+
"@antfu/eslint-config": "^7.7.2",
|
|
105
|
+
"@formkit/core": "^1.6.9",
|
|
106
|
+
"@formkit/drag-and-drop": "^0.5.3",
|
|
107
|
+
"@primeuix/themes": "^2.0.3",
|
|
108
|
+
"@types/node": "^25.5.0",
|
|
109
|
+
"@unocss/preset-icons": "66.6.6",
|
|
110
|
+
"@unocss/preset-uno": "66.6.6",
|
|
46
111
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
112
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
113
|
+
"@vitest/ui": "^4.1.0",
|
|
114
|
+
"@vue/compiler-sfc": "^3.5.30",
|
|
115
|
+
"@vue/server-renderer": "^3.5.30",
|
|
116
|
+
"@vue/test-utils": "^2.4.6",
|
|
117
|
+
"@vue/tsconfig": "^0.9.0",
|
|
118
|
+
"@vueuse/core": "^14.2.1",
|
|
119
|
+
"@vueuse/head": "^2.0.0",
|
|
120
|
+
"changelogen": "^0.6.2",
|
|
121
|
+
"chart.js": "^4.5.1",
|
|
122
|
+
"consola": "^3.4.2",
|
|
123
|
+
"cookie": "^1.1.1",
|
|
124
|
+
"esbuild": "^0.27.4",
|
|
125
|
+
"eslint": "^10.0.3",
|
|
126
|
+
"happy-dom": "^20.8.4",
|
|
127
|
+
"json-editor-vue": "^0.18.1",
|
|
128
|
+
"mkdist": "^2.4.1",
|
|
49
129
|
"sass": "^1.98.0",
|
|
50
|
-
"
|
|
130
|
+
"tslib": "^2.8.1",
|
|
51
131
|
"typescript": "^5.9.3",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
132
|
+
"unbuild": "^3.6.1",
|
|
133
|
+
"unocss": "66.6.6",
|
|
134
|
+
"unplugin-auto-import": "^21.0.0",
|
|
135
|
+
"unplugin-vue-components": "^31.0.0",
|
|
136
|
+
"vite": "^8.0.0",
|
|
137
|
+
"vite-plugin-dts": "^4.5.4",
|
|
138
|
+
"vite-plugin-eslint": "^1.8.1",
|
|
139
|
+
"vite-plugin-pages": "^0.33.3",
|
|
140
|
+
"vite-ssg": "^28.3.0",
|
|
141
|
+
"vitepress": "2.0.0-alpha.16",
|
|
142
|
+
"vitest": "^4.1.0",
|
|
143
|
+
"vue": "^3.5.30",
|
|
144
|
+
"vue-demi": "^0.14.10",
|
|
145
|
+
"vue-router": "^5.0.3",
|
|
146
|
+
"vue-tsc": "^3.2.5"
|
|
62
147
|
}
|
|
63
|
-
}
|
|
148
|
+
}
|