@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.
Files changed (164) hide show
  1. package/README.md +13 -138
  2. package/dist/PrimeTreeSelect-Dksx7tL-.js +1881 -0
  3. package/dist/components/index.d.ts +2 -24
  4. package/dist/components/index.js +4 -167
  5. package/dist/components-HJnJ39cU.js +255 -0
  6. package/dist/composables/index.d.ts +2 -9
  7. package/dist/composables/index.js +2 -61
  8. package/dist/composables-CZ6f1QYe.js +820 -0
  9. package/dist/definitions/index.d.ts +37 -32
  10. package/dist/definitions/index.js +4 -42
  11. package/dist/definitions-BHwWaom7.js +1196 -0
  12. package/dist/index-Ch3MtT1C.d.ts +266 -0
  13. package/dist/index-EJ8M51RO.d.ts +917 -0
  14. package/dist/index.d.ts +146 -143
  15. package/dist/index.js +5 -62
  16. package/dist/plugins/index.d.ts +7 -3
  17. package/dist/plugins/index.js +45 -57
  18. package/dist/sass/formkit-primevue.scss +99 -101
  19. package/package.json +32 -117
  20. package/LICENSE +0 -21
  21. package/components.d.ts +0 -1
  22. package/dist/components/FormKitDataDebug.d.vue.ts +0 -24
  23. package/dist/components/FormKitDataDebug.vue +0 -23
  24. package/dist/components/FormKitDataDebug.vue.d.ts +0 -24
  25. package/dist/components/FormKitDataEdit.d.vue.ts +0 -180
  26. package/dist/components/FormKitDataEdit.vue +0 -126
  27. package/dist/components/FormKitDataEdit.vue.d.ts +0 -180
  28. package/dist/components/FormKitDataView.d.vue.ts +0 -73
  29. package/dist/components/FormKitDataView.vue +0 -58
  30. package/dist/components/FormKitDataView.vue.d.ts +0 -73
  31. package/dist/components/FormKitIcon.d.vue.ts +0 -39
  32. package/dist/components/FormKitIcon.vue +0 -25
  33. package/dist/components/FormKitIcon.vue.d.ts +0 -39
  34. package/dist/components/FormKitPrefix.d.vue.ts +0 -7
  35. package/dist/components/FormKitPrefix.vue +0 -11
  36. package/dist/components/FormKitPrefix.vue.d.ts +0 -7
  37. package/dist/components/FormKitSuffix.d.vue.ts +0 -7
  38. package/dist/components/FormKitSuffix.vue +0 -11
  39. package/dist/components/FormKitSuffix.vue.d.ts +0 -7
  40. package/dist/components/PrimeAutoComplete.d.vue.ts +0 -31
  41. package/dist/components/PrimeAutoComplete.vue +0 -162
  42. package/dist/components/PrimeAutoComplete.vue.d.ts +0 -31
  43. package/dist/components/PrimeCascadeSelect.d.vue.ts +0 -28
  44. package/dist/components/PrimeCascadeSelect.vue +0 -62
  45. package/dist/components/PrimeCascadeSelect.vue.d.ts +0 -28
  46. package/dist/components/PrimeCheckbox.d.vue.ts +0 -27
  47. package/dist/components/PrimeCheckbox.vue +0 -71
  48. package/dist/components/PrimeCheckbox.vue.d.ts +0 -27
  49. package/dist/components/PrimeColorPicker.d.vue.ts +0 -24
  50. package/dist/components/PrimeColorPicker.vue +0 -48
  51. package/dist/components/PrimeColorPicker.vue.d.ts +0 -24
  52. package/dist/components/PrimeDatePicker.d.vue.ts +0 -63
  53. package/dist/components/PrimeDatePicker.vue +0 -153
  54. package/dist/components/PrimeDatePicker.vue.d.ts +0 -63
  55. package/dist/components/PrimeInputMask.d.vue.ts +0 -28
  56. package/dist/components/PrimeInputMask.vue +0 -88
  57. package/dist/components/PrimeInputMask.vue.d.ts +0 -28
  58. package/dist/components/PrimeInputNumber.d.vue.ts +0 -36
  59. package/dist/components/PrimeInputNumber.vue +0 -110
  60. package/dist/components/PrimeInputNumber.vue.d.ts +0 -36
  61. package/dist/components/PrimeInputOtp.d.vue.ts +0 -26
  62. package/dist/components/PrimeInputOtp.vue +0 -59
  63. package/dist/components/PrimeInputOtp.vue.d.ts +0 -26
  64. package/dist/components/PrimeInputText.d.vue.ts +0 -24
  65. package/dist/components/PrimeInputText.vue +0 -80
  66. package/dist/components/PrimeInputText.vue.d.ts +0 -24
  67. package/dist/components/PrimeKnob.d.vue.ts +0 -31
  68. package/dist/components/PrimeKnob.vue +0 -75
  69. package/dist/components/PrimeKnob.vue.d.ts +0 -31
  70. package/dist/components/PrimeListbox.d.vue.ts +0 -42
  71. package/dist/components/PrimeListbox.vue +0 -86
  72. package/dist/components/PrimeListbox.vue.d.ts +0 -42
  73. package/dist/components/PrimeMultiSelect.d.vue.ts +0 -53
  74. package/dist/components/PrimeMultiSelect.vue +0 -115
  75. package/dist/components/PrimeMultiSelect.vue.d.ts +0 -53
  76. package/dist/components/PrimeOutputBoolean.d.vue.ts +0 -16
  77. package/dist/components/PrimeOutputBoolean.vue +0 -41
  78. package/dist/components/PrimeOutputBoolean.vue.d.ts +0 -16
  79. package/dist/components/PrimeOutputDate.d.vue.ts +0 -16
  80. package/dist/components/PrimeOutputDate.vue +0 -51
  81. package/dist/components/PrimeOutputDate.vue.d.ts +0 -16
  82. package/dist/components/PrimeOutputDuration.d.vue.ts +0 -16
  83. package/dist/components/PrimeOutputDuration.vue +0 -32
  84. package/dist/components/PrimeOutputDuration.vue.d.ts +0 -16
  85. package/dist/components/PrimeOutputLink.d.vue.ts +0 -16
  86. package/dist/components/PrimeOutputLink.vue +0 -50
  87. package/dist/components/PrimeOutputLink.vue.d.ts +0 -16
  88. package/dist/components/PrimeOutputList.d.vue.ts +0 -19
  89. package/dist/components/PrimeOutputList.vue +0 -71
  90. package/dist/components/PrimeOutputList.vue.d.ts +0 -19
  91. package/dist/components/PrimeOutputNumber.d.vue.ts +0 -16
  92. package/dist/components/PrimeOutputNumber.vue +0 -59
  93. package/dist/components/PrimeOutputNumber.vue.d.ts +0 -16
  94. package/dist/components/PrimeOutputReference.d.vue.ts +0 -16
  95. package/dist/components/PrimeOutputReference.vue +0 -62
  96. package/dist/components/PrimeOutputReference.vue.d.ts +0 -16
  97. package/dist/components/PrimeOutputText.d.vue.ts +0 -22
  98. package/dist/components/PrimeOutputText.vue +0 -72
  99. package/dist/components/PrimeOutputText.vue.d.ts +0 -22
  100. package/dist/components/PrimePassword.d.vue.ts +0 -33
  101. package/dist/components/PrimePassword.vue +0 -73
  102. package/dist/components/PrimePassword.vue.d.ts +0 -33
  103. package/dist/components/PrimeRadioButton.d.vue.ts +0 -28
  104. package/dist/components/PrimeRadioButton.vue +0 -53
  105. package/dist/components/PrimeRadioButton.vue.d.ts +0 -28
  106. package/dist/components/PrimeRating.d.vue.ts +0 -24
  107. package/dist/components/PrimeRating.vue +0 -55
  108. package/dist/components/PrimeRating.vue.d.ts +0 -24
  109. package/dist/components/PrimeSelect.d.vue.ts +0 -50
  110. package/dist/components/PrimeSelect.vue +0 -113
  111. package/dist/components/PrimeSelect.vue.d.ts +0 -50
  112. package/dist/components/PrimeSelectButton.d.vue.ts +0 -28
  113. package/dist/components/PrimeSelectButton.vue +0 -64
  114. package/dist/components/PrimeSelectButton.vue.d.ts +0 -28
  115. package/dist/components/PrimeSlider.d.vue.ts +0 -26
  116. package/dist/components/PrimeSlider.vue +0 -60
  117. package/dist/components/PrimeSlider.vue.d.ts +0 -26
  118. package/dist/components/PrimeTextarea.d.vue.ts +0 -25
  119. package/dist/components/PrimeTextarea.vue +0 -53
  120. package/dist/components/PrimeTextarea.vue.d.ts +0 -25
  121. package/dist/components/PrimeToggleButton.d.vue.ts +0 -26
  122. package/dist/components/PrimeToggleButton.vue +0 -60
  123. package/dist/components/PrimeToggleButton.vue.d.ts +0 -26
  124. package/dist/components/PrimeToggleSwitch.d.vue.ts +0 -23
  125. package/dist/components/PrimeToggleSwitch.vue +0 -57
  126. package/dist/components/PrimeToggleSwitch.vue.d.ts +0 -23
  127. package/dist/components/PrimeTreeSelect.d.vue.ts +0 -32
  128. package/dist/components/PrimeTreeSelect.vue +0 -71
  129. package/dist/components/PrimeTreeSelect.vue.d.ts +0 -32
  130. package/dist/components/index.mjs +0 -48
  131. package/dist/composables/index.mjs +0 -18
  132. package/dist/composables/useFormKitInput.d.ts +0 -10
  133. package/dist/composables/useFormKitInput.js +0 -51
  134. package/dist/composables/useFormKitInput.mjs +0 -39
  135. package/dist/composables/useFormKitRepeater.d.ts +0 -15
  136. package/dist/composables/useFormKitRepeater.js +0 -74
  137. package/dist/composables/useFormKitRepeater.mjs +0 -54
  138. package/dist/composables/useFormKitSchema.d.ts +0 -36
  139. package/dist/composables/useFormKitSchema.js +0 -83
  140. package/dist/composables/useFormKitSchema.mjs +0 -58
  141. package/dist/composables/useFormKitSection.d.ts +0 -7
  142. package/dist/composables/useFormKitSection.js +0 -31
  143. package/dist/composables/useFormKitSection.mjs +0 -19
  144. package/dist/composables/useInputEditor.d.ts +0 -8
  145. package/dist/composables/useInputEditor.js +0 -148
  146. package/dist/composables/useInputEditor.mjs +0 -143
  147. package/dist/composables/useInputEditorSchema.d.ts +0 -163
  148. package/dist/composables/useInputEditorSchema.js +0 -313
  149. package/dist/composables/useInputEditorSchema.mjs +0 -315
  150. package/dist/composables/useOutputDuration.d.ts +0 -4
  151. package/dist/composables/useOutputDuration.js +0 -40
  152. package/dist/composables/useOutputDuration.mjs +0 -35
  153. package/dist/composables/usePrimeInputs.d.ts +0 -3
  154. package/dist/composables/usePrimeInputs.js +0 -62
  155. package/dist/composables/usePrimeInputs.mjs +0 -53
  156. package/dist/definitions/index.mjs +0 -68
  157. package/dist/definitions/input.d.ts +0 -47
  158. package/dist/definitions/input.js +0 -142
  159. package/dist/definitions/input.mjs +0 -135
  160. package/dist/definitions/output.d.ts +0 -9
  161. package/dist/definitions/output.js +0 -46
  162. package/dist/definitions/output.mjs +0 -39
  163. package/dist/index.mjs +0 -14
  164. package/dist/plugins/index.mjs +0 -55
@@ -1,15 +1,15 @@
1
- @use 'sass:math';
2
- @use 'sass:map';
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
- sm: 640px,
9
- md: 768px,
10
- lg: 1024px,
11
- xl: 1280px,
12
- xxl: 1536px
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,7 +69,12 @@ $grid-breakpoints: (
69
69
  width: 100%;
70
70
  }
71
71
 
72
- .p-inputtext, .p-textarea, .p-password, .p-multiselect, .p-select, .p-editor {
72
+ .p-inputtext,
73
+ .p-textarea,
74
+ .p-password,
75
+ .p-multiselect,
76
+ .p-select,
77
+ .p-editor {
73
78
  box-sizing: border-box;
74
79
  width: 100%;
75
80
 
@@ -77,7 +82,6 @@ $grid-breakpoints: (
77
82
  width: 2rem;
78
83
  }
79
84
  }
80
-
81
85
  }
82
86
  }
83
87
 
@@ -86,7 +90,6 @@ $grid-breakpoints: (
86
90
  font-size: 0.8rem;
87
91
  color: var(--text-color-secondary);
88
92
  }
89
-
90
93
  }
91
94
 
92
95
  // Label for single form element
@@ -103,7 +106,8 @@ $grid-breakpoints: (
103
106
  > * {
104
107
  margin-right: 0.5rem;
105
108
 
106
- &:last-child, &:only-child {
109
+ &:last-child,
110
+ &:only-child {
107
111
  margin-right: 0;
108
112
  }
109
113
  }
@@ -115,7 +119,7 @@ $grid-breakpoints: (
115
119
  flex-wrap: wrap;
116
120
  gap: 0.5rem;
117
121
 
118
- .p-formkit-option {
122
+ .p-formkit-option {
119
123
  display: flex;
120
124
  align-items: center;
121
125
  label {
@@ -155,10 +159,9 @@ $grid-breakpoints: (
155
159
  button {
156
160
  margin-right: 0.5rem;
157
161
  }
158
-
159
162
  }
160
163
 
161
- .p-action-buttons {
164
+ .p-action-buttons {
162
165
  margin-top: 0.25rem;
163
166
  .p-button {
164
167
  margin-right: 0.5rem;
@@ -181,117 +184,117 @@ $grid-breakpoints: (
181
184
 
182
185
  // data view only
183
186
  .p-formkit-data-view {
184
- .formkit-outer {
185
- padding-bottom: 0.5rem;
186
- }
187
+ .formkit-outer {
188
+ padding-bottom: 0.5rem;
189
+ }
187
190
 
188
- &.form-horizontal {
189
- padding-bottom: 0.8rem;
190
- }
191
+ &.form-horizontal {
192
+ padding-bottom: 0.8rem;
193
+ }
191
194
 
192
- .formkit-help {
193
- padding-top: 0.25rem;
194
- margin: 0;
195
- }
195
+ .formkit-help {
196
+ padding-top: 0.25rem;
197
+ margin: 0;
198
+ }
196
199
 
197
- ul, ol {
198
- padding-inline-start: 1rem;
199
- margin-block-start: 0;
200
- margin-block-end: 0;
201
- }
200
+ ul,
201
+ ol {
202
+ padding-inline-start: 1rem;
203
+ margin-block-start: 0;
204
+ margin-block-end: 0;
205
+ }
202
206
  }
203
207
 
204
208
  // data edit only
205
209
  .p-formkit-data-edit {
206
- .formkit-label {
207
- //font-weight: normal;
208
- }
209
-
210
- // specific checkbox stylings
211
- .formkit-outer[data-type="primeCheckbox"] {
212
- //padding-left: 0;
213
-
214
- .formkit-wrapper {
215
- display: flex;
216
- flex-wrap: wrap;
210
+ .formkit-label {
211
+ //font-weight: normal;
212
+ }
217
213
 
218
- .formkit-inner {
219
- width: auto !important;
220
- }
214
+ // specific checkbox stylings
215
+ .formkit-outer[data-type="primeCheckbox"] {
216
+ //padding-left: 0;
221
217
 
222
- label {
223
- width: auto;
224
- order: 2;
225
- padding: 0.125rem 0;
218
+ .formkit-wrapper {
219
+ display: flex;
220
+ flex-wrap: wrap;
226
221
 
227
- &:after {
228
- content: "";
229
- }
222
+ .formkit-inner {
223
+ width: auto !important;
224
+ }
230
225
 
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
- }
244
- }
245
- }
226
+ label {
227
+ width: auto;
228
+ order: 2;
229
+ padding: 0.125rem 0;
246
230
 
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;
231
+ &:after {
232
+ content: "";
250
233
  }
251
234
 
252
- label:first-child:nth-last-child(3) {
235
+ // styling of output when label is used in schema
236
+ + .formkit-inner {
237
+ margin-left: 0 !important;
253
238
  order: 1;
254
-
255
- + div.p-checkbox {
256
- order: 2;
257
- width: auto;
239
+ flex-basis: 2rem;
240
+ flex-grow: 0;
241
+ flex-shrink: 0;
242
+ overflow: hidden;
243
+ // styling of suffix when suffix is used in addition to label
244
+ &:has(label) {
245
+ flex-grow: 1;
246
+ flex-basis: 100%;
258
247
  }
259
248
  }
249
+ }
260
250
 
261
- label:first-child:nth-last-child(3) ~ label {
262
- order: 3
263
- }
251
+ // styling when both prefix and suffix are used in schema
252
+ label:first-child:nth-last-child(3),
253
+ label:first-child:nth-last-child(3) ~ label {
254
+ width: auto;
255
+ }
264
256
 
265
- // end styling when both prefix and suffix are used in schema
257
+ label:first-child:nth-last-child(3) {
258
+ order: 1;
266
259
 
260
+ + div.p-checkbox {
261
+ order: 2;
262
+ width: auto;
263
+ }
264
+ }
267
265
 
268
- // styling of output when only suffix is used in schema
269
- .formkit-inner:first-child {
270
- margin-left: 0 !important;
266
+ label:first-child:nth-last-child(3) ~ label {
267
+ order: 3;
268
+ }
271
269
 
272
- .p-formkit {
273
- display: flex;
274
- }
275
- }
270
+ // end styling when both prefix and suffix are used in schema
276
271
 
277
- .p-checkbox:not(:only-child) {
278
- width: 2rem;
279
- overflow: hidden;
272
+ // styling of output when only suffix is used in schema
273
+ .formkit-inner:first-child {
274
+ margin-left: 0 !important;
275
+
276
+ .p-formkit {
277
+ display: flex;
280
278
  }
281
279
  }
282
280
 
283
- .formkit-help {
284
- width: auto !important;
285
- //padding-left: 2rem;
281
+ .p-checkbox:not(:only-child) {
282
+ width: 2rem;
283
+ overflow: hidden;
286
284
  }
287
285
  }
288
- }
289
-
290
286
 
287
+ .formkit-help {
288
+ width: auto !important;
289
+ //padding-left: 2rem;
290
+ }
291
+ }
292
+ }
291
293
 
292
294
  // Debug
293
295
  .p-formkit-data-debug {
294
- pre, span {
296
+ pre,
297
+ span {
295
298
  font-size: 0.75rem;
296
299
  line-height: 1rem;
297
300
  }
@@ -322,9 +325,7 @@ $grid-breakpoints: (
322
325
 
323
326
  @include media-breakpoint-up(md) {
324
327
  .formkit-form {
325
-
326
328
  &.form-horizontal {
327
-
328
329
  .formkit-wrapper {
329
330
  display: flex;
330
331
 
@@ -346,7 +347,6 @@ $grid-breakpoints: (
346
347
  }
347
348
  }
348
349
  }
349
-
350
350
  }
351
351
 
352
352
  .p-formkit-data-view & {
@@ -358,9 +358,7 @@ $grid-breakpoints: (
358
358
  }
359
359
 
360
360
  .p-formkit-data-edit & {
361
-
362
361
  &.form-horizontal {
363
-
364
362
  .formkit-outer {
365
363
  width: 100%;
366
364
 
@@ -380,7 +378,7 @@ $grid-breakpoints: (
380
378
  margin-left: auto;
381
379
 
382
380
  .p-formkit {
383
- display: flex
381
+ display: flex;
384
382
  }
385
383
 
386
384
  label {
@@ -390,7 +388,8 @@ $grid-breakpoints: (
390
388
  }
391
389
  }
392
390
 
393
- .formkit-help, .formkit-messages {
391
+ .formkit-help,
392
+ .formkit-messages {
394
393
  width: calc((8 / 12) * 100%);
395
394
  margin-left: auto;
396
395
  }
@@ -398,4 +397,3 @@ $grid-breakpoints: (
398
397
  }
399
398
  }
400
399
  }
401
-
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
3
  "type": "module",
4
- "version": "3.2.10",
5
- "packageManager": "pnpm@10.29.2+sha512.bef43fa759d91fd2da4b319a5a0d13ef7a45bb985a3d7342058470f9d2051a3ba8674e629672654686ef9443ad13a82da2beb9eeb3e0221c87b8154fff9d74b8",
4
+ "version": "3.3.1",
6
5
  "author": {
7
6
  "name": "Tom",
8
7
  "email": "tom@sfxcode.com"
@@ -16,133 +15,49 @@
16
15
  "type": "git",
17
16
  "url": "git+https://github.com/sfxcode/formkit-primevue.git"
18
17
  },
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
- },
67
18
  "files": [
68
- "*.css",
69
- "*.scss",
70
- "components.d.ts",
71
19
  "dist"
72
20
  ],
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"
21
+ "types": "./dist/index.d.cts",
22
+ "exports": {
23
+ ".": "./dist/index.js",
24
+ "./components": "./dist/components/index.js",
25
+ "./composables": "./dist/composables/index.js",
26
+ "./definitions": "./dist/definitions/index.js",
27
+ "./plugins": "./dist/plugins/index.js",
28
+ "./package.json": "./package.json"
91
29
  },
92
30
  "dependencies": {
93
31
  "@formkit/addons": "^1.7.2",
94
32
  "@formkit/core": "^1.7.2",
95
- "@formkit/i18n": "^1.7.2",
96
33
  "@formkit/inputs": "^1.7.2",
97
34
  "@formkit/vue": "^1.7.2",
98
- "@intlify/core": "^11.2.8",
35
+ "consola": "^3.4.2",
99
36
  "primeicons": "^7.0.0",
100
37
  "primevue": "^4.5.4",
101
- "vue-i18n": "^11.2.8"
38
+ "vue": "^3.5.30",
39
+ "vue-i18n": "^11.3.0",
40
+ "vue-tsc": "^3.2.5"
102
41
  },
103
42
  "devDependencies": {
104
- "@antfu/eslint-config": "^7.3.0",
105
- "@formkit/core": "^1.6.9",
106
- "@formkit/drag-and-drop": "^0.5.3",
107
- "@primeuix/themes": "^2.0.3",
108
- "@types/node": "^25.2.2",
109
- "@unocss/preset-icons": "66.6.0",
110
- "@unocss/preset-uno": "66.6.0",
111
- "@vitejs/plugin-vue": "^6.0.4",
112
- "@vitest/coverage-v8": "^4.0.18",
113
- "@vitest/ui": "^4.0.18",
114
- "@vue/compiler-sfc": "^3.5.28",
115
- "@vue/server-renderer": "^3.5.28",
116
- "@vue/test-utils": "^2.4.6",
117
- "@vue/tsconfig": "^0.8.1",
118
- "@vueuse/core": "^14.2.0",
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.3",
125
- "eslint": "^10.0.0",
126
- "happy-dom": "^20.5.3",
127
- "json-editor-vue": "^0.18.1",
128
- "mkdist": "^2.4.1",
129
- "sass": "^1.97.3",
130
- "tslib": "^2.8.1",
43
+ "@formkit/inputs": "^1.7.2",
44
+ "@types/fs-extra": "^11.0.4",
45
+ "@types/node": "^25.3.5",
46
+ "@vitejs/plugin-vue": "^6.0.5",
47
+ "bumpp": "^10.4.1",
48
+ "fs-extra": "^11.3.4",
49
+ "sass": "^1.98.0",
50
+ "tsdown": "^0.21.2",
131
51
  "typescript": "^5.9.3",
132
- "unbuild": "^3.6.1",
133
- "unocss": "66.6.0",
134
- "unplugin-auto-import": "^21.0.0",
135
- "unplugin-vue-components": "^31.0.0",
136
- "vite": "^7.3.1",
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.12",
142
- "vitest": "^4.0.18",
143
- "vue": "^3.5.28",
144
- "vue-demi": "^0.14.10",
145
- "vue-router": "^5.0.2",
146
- "vue-tsc": "^3.2.4"
52
+ "unplugin-vue": "^7.1.1",
53
+ "vite-plus": "^0.1.11",
54
+ "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
55
+ },
56
+ "scripts": {
57
+ "build": "vp pack",
58
+ "dev": "vp pack --watch",
59
+ "test": "vp test",
60
+ "typecheck": "tsc --noEmit",
61
+ "release": "npm run build && npm publish --access public"
147
62
  }
148
- }
63
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 sfxcode
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/components.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './dist/components'
@@ -1,24 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- data: {
3
- type: ObjectConstructor;
4
- default: null;
5
- };
6
- header: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- data: {
12
- type: ObjectConstructor;
13
- default: null;
14
- };
15
- header: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- }>> & Readonly<{}>, {
20
- data: Record<string, any>;
21
- header: string;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
- declare const _default: typeof __VLS_export;
24
- export default _default;
@@ -1,23 +0,0 @@
1
- <script setup lang='ts'>
2
- defineProps({
3
- data: {
4
- type: Object,
5
- default: null,
6
- },
7
- header: {
8
- type: String,
9
- default: 'Debug',
10
- },
11
- })
12
- </script>
13
-
14
- <template>
15
- <Fieldset class="p-formkit-data-debug" :legend="header" :toggleable="true" :collapsed="true">
16
- <pre v-if="data">{{ data }}</pre>
17
- <span v-else>No Data available</span>
18
- </Fieldset>
19
- </template>
20
-
21
- <style scoped>
22
-
23
- </style>
@@ -1,24 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- data: {
3
- type: ObjectConstructor;
4
- default: null;
5
- };
6
- header: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- data: {
12
- type: ObjectConstructor;
13
- default: null;
14
- };
15
- header: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- }>> & Readonly<{}>, {
20
- data: Record<string, any>;
21
- header: string;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
- declare const _default: typeof __VLS_export;
24
- export default _default;