@sfxcode/formkit-primevue 2.3.9 → 2.3.11
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/FormKitDebug.vue +2 -2
- package/dist/components/PrimeCheckbox.vue +8 -6
- package/dist/composables/useFormKitRepeater.js +5 -5
- package/dist/composables/useFormKitRepeater.mjs +5 -5
- package/dist/composables/useFormKitSection.d.ts +1 -0
- package/dist/composables/useFormKitSection.js +5 -0
- package/dist/composables/useFormKitSection.mjs +5 -1
- package/dist/composables/useInputEditor.d.ts +0 -1
- package/dist/composables/useInputEditor.js +2 -6
- package/dist/composables/useInputEditor.mjs +3 -6
- package/dist/composables/useInputEditorSchema.js +1 -1
- package/dist/composables/useInputEditorSchema.mjs +1 -1
- package/dist/sass/formkit-primevue.scss +15 -5
- package/dist/style.css +1 -1
- package/package.json +18 -17
|
@@ -15,8 +15,8 @@ defineProps({
|
|
|
15
15
|
<div class="p-formkit-data-debug">
|
|
16
16
|
<h3>{{ header }}</h3>
|
|
17
17
|
<slot />
|
|
18
|
-
<pre v-if="data"
|
|
19
|
-
<span v-else
|
|
18
|
+
<pre v-if="data">{{ data }}</pre>
|
|
19
|
+
<span v-else>No Data available</span>
|
|
20
20
|
</div>
|
|
21
21
|
</template>
|
|
22
22
|
|
|
@@ -23,20 +23,22 @@ const props = defineProps({
|
|
|
23
23
|
},
|
|
24
24
|
})
|
|
25
25
|
|
|
26
|
-
const { hasPrefix, hasSuffix } = useFormKitSection(props.context)
|
|
26
|
+
const { hasPrefix, hasSuffix, generateId } = useFormKitSection(props.context)
|
|
27
27
|
|
|
28
28
|
const { styleClass, handleInput, handleBlur } = useFormKitInput(props.context)
|
|
29
|
+
|
|
30
|
+
const generatedId = generateId()
|
|
29
31
|
</script>
|
|
30
32
|
|
|
31
33
|
<template>
|
|
32
34
|
<div class="p-formkit">
|
|
33
|
-
<
|
|
35
|
+
<label v-if="hasPrefix" :for="generatedId" class="formkit-prefix">
|
|
34
36
|
{{ context?.prefix }}
|
|
35
|
-
</
|
|
37
|
+
</label>
|
|
36
38
|
<Checkbox
|
|
37
39
|
v-model="context._value"
|
|
38
40
|
v-bind="context?.attrs"
|
|
39
|
-
:input-id="
|
|
41
|
+
:input-id="generatedId"
|
|
40
42
|
:disabled="!!context?.disabled"
|
|
41
43
|
:readonly="context?.attrs.readonly ?? false"
|
|
42
44
|
:input-style="context?.attrs.style"
|
|
@@ -55,8 +57,8 @@ const { styleClass, handleInput, handleBlur } = useFormKitInput(props.context)
|
|
|
55
57
|
@change="handleInput"
|
|
56
58
|
@blur="handleBlur"
|
|
57
59
|
/>
|
|
58
|
-
<
|
|
60
|
+
<label v-if="hasSuffix" :for="generatedId" class="formkit-suffix">
|
|
59
61
|
{{ context?.suffix }}
|
|
60
|
-
</
|
|
62
|
+
</label>
|
|
61
63
|
</div>
|
|
62
64
|
</template>
|
|
@@ -47,8 +47,8 @@ function useFormKitRepeater() {
|
|
|
47
47
|
parentNode.input(newArray, false);
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function addGroupButtons(innerClass = "
|
|
51
|
-
const addButtonComponent = (onClick = "", label2 = "", icon = "", severity = "", render2 = "true", styleClass = "p-button-sm
|
|
50
|
+
function addGroupButtons(innerClass = "", outerClass = "col-4", label = "Actions", help = "", render = "true") {
|
|
51
|
+
const addButtonComponent = (onClick = "", label2 = "", icon = "", severity = "", render2 = "true", styleClass = "p-button-sm") => {
|
|
52
52
|
return addComponent("Button", {
|
|
53
53
|
onClick,
|
|
54
54
|
label: label2,
|
|
@@ -58,10 +58,10 @@ function useFormKitRepeater() {
|
|
|
58
58
|
}, render2);
|
|
59
59
|
};
|
|
60
60
|
return addElementsInOuterDiv([addButtonComponent("$removeNode($node, $index)", "", "pi pi-times", "danger"), addButtonComponent("$copyNode($node, $index)", "", "pi pi-plus"), addButtonComponent("$moveNodeUp($node, $index)", "", "pi pi-arrow-up", "secondary", "$index != 0"), addElement("span", [], {
|
|
61
|
-
class: "
|
|
61
|
+
class: "p-space"
|
|
62
62
|
}, "$index == 0"), addButtonComponent("$moveNodeDown($node, $index)", "", "pi pi-arrow-down", "secondary", "$index < $node.value.length -1"), addElement("span", [], {
|
|
63
|
-
class: "
|
|
64
|
-
}, "$index == $node.value.length -1")], innerClass
|
|
63
|
+
class: "p-space"
|
|
64
|
+
}, "$index == $node.value.length -1")], `p-action-buttons ${innerClass}`, outerClass, label, help, render);
|
|
65
65
|
}
|
|
66
66
|
return {
|
|
67
67
|
addInsertButton,
|
|
@@ -34,18 +34,18 @@ export function useFormKitRepeater() {
|
|
|
34
34
|
parentNode.input(newArray, false);
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function addGroupButtons(innerClass = "
|
|
38
|
-
const addButtonComponent = (onClick = "", label2 = "", icon = "", severity = "", render2 = "true", styleClass = "p-button-sm
|
|
37
|
+
function addGroupButtons(innerClass = "", outerClass = "col-4", label = "Actions", help = "", render = "true") {
|
|
38
|
+
const addButtonComponent = (onClick = "", label2 = "", icon = "", severity = "", render2 = "true", styleClass = "p-button-sm") => {
|
|
39
39
|
return addComponent("Button", { onClick, label: label2, icon, class: styleClass, severity }, render2);
|
|
40
40
|
};
|
|
41
41
|
return addElementsInOuterDiv([
|
|
42
42
|
addButtonComponent("$removeNode($node, $index)", "", "pi pi-times", "danger"),
|
|
43
43
|
addButtonComponent("$copyNode($node, $index)", "", "pi pi-plus"),
|
|
44
44
|
addButtonComponent("$moveNodeUp($node, $index)", "", "pi pi-arrow-up", "secondary", "$index != 0"),
|
|
45
|
-
addElement("span", [], { class: "
|
|
45
|
+
addElement("span", [], { class: "p-space" }, "$index == 0"),
|
|
46
46
|
addButtonComponent("$moveNodeDown($node, $index)", "", "pi pi-arrow-down", "secondary", "$index < $node.value.length -1"),
|
|
47
|
-
addElement("span", [], { class: "
|
|
48
|
-
], innerClass
|
|
47
|
+
addElement("span", [], { class: "p-space" }, "$index == $node.value.length -1")
|
|
48
|
+
], `p-action-buttons ${innerClass}`, outerClass, label, help, render);
|
|
49
49
|
}
|
|
50
50
|
return { addInsertButton, addGroupButtons, addListGroupFunctions };
|
|
51
51
|
}
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useFormKitSection = useFormKitSection;
|
|
7
7
|
var _vue = require("vue");
|
|
8
|
+
var _uuid = require("uuid");
|
|
8
9
|
function useFormKitSection(context) {
|
|
9
10
|
const hasPrefix = (0, _vue.computed)(() => {
|
|
10
11
|
return context?.prefix && context?.prefix.length > 0;
|
|
@@ -18,7 +19,11 @@ function useFormKitSection(context) {
|
|
|
18
19
|
const hasSuffix = (0, _vue.computed)(() => {
|
|
19
20
|
return context?.suffix && context?.suffix.length > 0;
|
|
20
21
|
});
|
|
22
|
+
function generateId() {
|
|
23
|
+
return (0, _uuid.v4)();
|
|
24
|
+
}
|
|
21
25
|
return {
|
|
26
|
+
generateId,
|
|
22
27
|
hasPrefix,
|
|
23
28
|
hasPrefixIcon,
|
|
24
29
|
hasSuffix,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
+
import { v4 as uuidv4 } from "uuid";
|
|
2
3
|
export function useFormKitSection(context) {
|
|
3
4
|
const hasPrefix = computed(() => {
|
|
4
5
|
return context?.prefix && context?.prefix.length > 0;
|
|
@@ -12,5 +13,8 @@ export function useFormKitSection(context) {
|
|
|
12
13
|
const hasSuffix = computed(() => {
|
|
13
14
|
return context?.suffix && context?.suffix.length > 0;
|
|
14
15
|
});
|
|
15
|
-
|
|
16
|
+
function generateId() {
|
|
17
|
+
return uuidv4();
|
|
18
|
+
}
|
|
19
|
+
return { generateId, hasPrefix, hasPrefixIcon, hasSuffix, hasSuffixIcon };
|
|
16
20
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare function useInputEditor(): {
|
|
2
2
|
primeInputNames: string[];
|
|
3
3
|
primeOutputNames: string[];
|
|
4
|
-
generateSchemaItemId: () => string;
|
|
5
4
|
editorDataToSchema: (data: any) => any;
|
|
6
5
|
editorDataToJson: (data: any) => string;
|
|
7
6
|
editorDataToCode: (data: any) => string;
|
|
@@ -8,9 +8,6 @@ function useInputEditor() {
|
|
|
8
8
|
const primeInputWithOptionNames = ["CascadeSelect", "Listbox", "MultiSelect", "RadioButton", "Select", "SelectButton", "TreeSelect"];
|
|
9
9
|
const primeInputNames = [...primeInputWithOptionNames, "AutoComplete", "Checkbox", "ColorPicker", "DatePicker", "Editor", "InputMask", "InputNumber", "InputOtp", "InputText", "Knob", "Password", "Rating", "Slider", "Textarea", "ToggleButton", "ToggleSwitch"].sort();
|
|
10
10
|
const primeOutputNames = ["OutputBoolean", "OutputDate", "OutputDuration", "OutputLink", "OutputList", "OutputNumber", "OutputText"];
|
|
11
|
-
function generateSchemaItemId() {
|
|
12
|
-
return `id-${Math.random().toString(36).substring(2, 15)}`;
|
|
13
|
-
}
|
|
14
11
|
function editorDataToSchema(data) {
|
|
15
12
|
if (!data) return {};
|
|
16
13
|
const formkitInput = data?._dollar_formkit;
|
|
@@ -35,8 +32,8 @@ function useInputEditor() {
|
|
|
35
32
|
preserve: preserveValue
|
|
36
33
|
};
|
|
37
34
|
let outerClass = "";
|
|
38
|
-
if (data.outerClassGrid && data.outerClassGrid !== "col-12") outerClass =
|
|
39
|
-
if (data.outerClass) outerClass = outerClass
|
|
35
|
+
if (data.outerClassGrid && data.outerClassGrid !== "col-12") outerClass = data.outerClassGrid;
|
|
36
|
+
if (data.outerClass) outerClass = `${outerClass} ${data.outerClass}`;
|
|
40
37
|
if (outerClass.trim().length === 0) outerClass = void 0;
|
|
41
38
|
const undefinedObject = {
|
|
42
39
|
prime: void 0,
|
|
@@ -109,7 +106,6 @@ function useInputEditor() {
|
|
|
109
106
|
return {
|
|
110
107
|
primeInputNames,
|
|
111
108
|
primeOutputNames,
|
|
112
|
-
generateSchemaItemId,
|
|
113
109
|
editorDataToSchema,
|
|
114
110
|
editorDataToJson,
|
|
115
111
|
editorDataToCode: editorDataToObject,
|
|
@@ -2,9 +2,6 @@ export function useInputEditor() {
|
|
|
2
2
|
const primeInputWithOptionNames = ["CascadeSelect", "Listbox", "MultiSelect", "RadioButton", "Select", "SelectButton", "TreeSelect"];
|
|
3
3
|
const primeInputNames = [...primeInputWithOptionNames, "AutoComplete", "Checkbox", "ColorPicker", "DatePicker", "Editor", "InputMask", "InputNumber", "InputOtp", "InputText", "Knob", "Password", "Rating", "Slider", "Textarea", "ToggleButton", "ToggleSwitch"].sort();
|
|
4
4
|
const primeOutputNames = ["OutputBoolean", "OutputDate", "OutputDuration", "OutputLink", "OutputList", "OutputNumber", "OutputText"];
|
|
5
|
-
function generateSchemaItemId() {
|
|
6
|
-
return `id-${Math.random().toString(36).substring(2, 15)}`;
|
|
7
|
-
}
|
|
8
5
|
function editorDataToSchema(data) {
|
|
9
6
|
if (!data)
|
|
10
7
|
return {};
|
|
@@ -26,9 +23,9 @@ export function useInputEditor() {
|
|
|
26
23
|
const defaultObject = { readonly: readonlyValue, disabled: disabledValue, preserve: preserveValue };
|
|
27
24
|
let outerClass = "";
|
|
28
25
|
if (data.outerClassGrid && data.outerClassGrid !== "col-12")
|
|
29
|
-
outerClass =
|
|
26
|
+
outerClass = data.outerClassGrid;
|
|
30
27
|
if (data.outerClass)
|
|
31
|
-
outerClass = outerClass
|
|
28
|
+
outerClass = `${outerClass} ${data.outerClass}`;
|
|
32
29
|
if (outerClass.trim().length === 0)
|
|
33
30
|
outerClass = void 0;
|
|
34
31
|
const undefinedObject = { prime: void 0, schemaResultFormKey: void 0, _dollar_formkit: void 0, slots: void 0, selectButton: void 0, outerClassGrid: void 0 };
|
|
@@ -72,5 +69,5 @@ export function useInputEditor() {
|
|
|
72
69
|
const formkitInput = schema?.$formkit;
|
|
73
70
|
return { ...schema, _dollar_formkit: formkitInput };
|
|
74
71
|
}
|
|
75
|
-
return { primeInputNames, primeOutputNames,
|
|
72
|
+
return { primeInputNames, primeOutputNames, editorDataToSchema, editorDataToJson, editorDataToCode: editorDataToObject, schemaToEditorData };
|
|
76
73
|
}
|
|
@@ -330,7 +330,7 @@ function useInputEditorSchema() {
|
|
|
330
330
|
preserve: true
|
|
331
331
|
}), addList("prime", [addInsertButton("Add PrimeVue Attribute"), addListGroup([{
|
|
332
332
|
$formkit: "primeInputText",
|
|
333
|
-
label: "PrimeVue
|
|
333
|
+
label: "PrimeVue Key",
|
|
334
334
|
name: "prime_key",
|
|
335
335
|
outerClass: "col-3"
|
|
336
336
|
}, {
|
|
@@ -142,15 +142,25 @@ $grid-breakpoints: (
|
|
|
142
142
|
padding-top: 0.5rem;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
.p-action-buttons {
|
|
146
|
+
margin-top: 0.25rem;
|
|
147
|
+
.p-button {
|
|
148
|
+
margin-right: 0.5rem;
|
|
149
|
+
}
|
|
150
|
+
span.p-space {
|
|
151
|
+
margin-right: 3rem;
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
|
|
156
|
+
// Debug
|
|
157
|
+
.p-formkit-data-debug {
|
|
158
|
+
pre, span {
|
|
159
|
+
font-size: 0.75rem;
|
|
160
|
+
line-height: 1rem;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
154
164
|
// Change column behaviour in larger views
|
|
155
165
|
@include media-breakpoint-up(lg) {
|
|
156
166
|
.formkit-form {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--formkit-error-color: #ef9a9a}.formkit-form .formkit-messages{margin:.125rem 0;padding-top:.25rem;padding-left:0}.formkit-form .formkit-message{list-style:none;padding:0;margin:0;color:var(--formkit-error-color);font-size:.8rem}.formkit-form .formkit-outer{padding-bottom:.8rem}.formkit-form .formkit-outer .formkit-inner .p-formkit .p-formkit-icon{box-sizing:border-box;width:100%}.formkit-form .formkit-outer .formkit-inner .p-formkit .p-inputtext,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-textarea,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-password,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-multiselect,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-select,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-editor{box-sizing:border-box;width:100%}.formkit-form .formkit-outer .formkit-inner .p-formkit .p-inputtext.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-textarea.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-password.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-multiselect.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-select.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-editor.p-colorpicker-preview{width:2rem}.formkit-form .formkit-outer .formkit-help{margin:.25rem 0 0 0;font-size:.8rem;color:var(--text-color-secondary)}.formkit-form .formkit-label{display:block;margin:0;padding-bottom:.5rem;font-weight:bold;font-size:.8rem}.formkit-form .p-formkit>*{margin-right:.5rem}.formkit-form .p-formkit>*:last-child,.formkit-form .p-formkit>*:only-child{margin-right:0}.formkit-form .p-formkit-options{display:flex;flex-wrap:wrap;gap:.5rem}.formkit-form .p-formkit-options .p-formkit-option{display:flex;align-items:center}.formkit-form .p-formkit-options .p-formkit-option label{margin-left:.5rem}.formkit-form .formkit-fieldset{margin:0;padding:0;border-radius:0;border:0}.formkit-form .formkit-fieldset:focus-within{border:0}.formkit-form .formkit-fieldset>.formkit-help{margin-top:0;margin-bottom:0}.formkit-form .formkit-legend{display:block;margin:0;padding:0}.formkit-form .formkit-actions{padding-top:.5rem}.formkit-form .p-formkit-
|
|
1
|
+
:root{--formkit-error-color: #ef9a9a}.formkit-form .formkit-messages{margin:.125rem 0;padding-top:.25rem;padding-left:0}.formkit-form .formkit-message{list-style:none;padding:0;margin:0;color:var(--formkit-error-color);font-size:.8rem}.formkit-form .formkit-outer{padding-bottom:.8rem}.formkit-form .formkit-outer .formkit-inner .p-formkit .p-formkit-icon{box-sizing:border-box;width:100%}.formkit-form .formkit-outer .formkit-inner .p-formkit .p-inputtext,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-textarea,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-password,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-multiselect,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-select,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-editor{box-sizing:border-box;width:100%}.formkit-form .formkit-outer .formkit-inner .p-formkit .p-inputtext.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-textarea.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-password.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-multiselect.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-select.p-colorpicker-preview,.formkit-form .formkit-outer .formkit-inner .p-formkit .p-editor.p-colorpicker-preview{width:2rem}.formkit-form .formkit-outer .formkit-help{margin:.25rem 0 0 0;font-size:.8rem;color:var(--text-color-secondary)}.formkit-form .formkit-label{display:block;margin:0;padding-bottom:.5rem;font-weight:bold;font-size:.8rem}.formkit-form .p-formkit>*{margin-right:.5rem}.formkit-form .p-formkit>*:last-child,.formkit-form .p-formkit>*:only-child{margin-right:0}.formkit-form .p-formkit-options{display:flex;flex-wrap:wrap;gap:.5rem}.formkit-form .p-formkit-options .p-formkit-option{display:flex;align-items:center}.formkit-form .p-formkit-options .p-formkit-option label{margin-left:.5rem}.formkit-form .formkit-fieldset{margin:0;padding:0;border-radius:0;border:0}.formkit-form .formkit-fieldset:focus-within{border:0}.formkit-form .formkit-fieldset>.formkit-help{margin-top:0;margin-bottom:0}.formkit-form .formkit-legend{display:block;margin:0;padding:0}.formkit-form .formkit-actions{padding-top:.5rem}.formkit-form .p-action-buttons{margin-top:.25rem}.formkit-form .p-action-buttons .p-button{margin-right:.5rem}.formkit-form .p-action-buttons span.p-space{margin-right:3rem}.p-formkit-data-debug pre,.p-formkit-data-debug span{font-size:.75rem;line-height:1rem}@media(min-width: 1024px){.formkit-form{display:flex;flex-wrap:wrap;margin-left:-0.5rem;margin-right:-0.5rem}.formkit-form>*{flex-shrink:0;width:100%;max-width:100%;padding-left:.5rem;padding-right:.5rem}.col-1{width:8.3333333333%}.col-2{width:16.6666666667%}.col-3{width:25%}.col-4{width:33.3333333333%}.col-5{width:41.6666666667%}.col-6{width:50%}.col-7{width:58.3333333333%}.col-8{width:66.6666666667%}.col-9{width:75%}.col-10{width:83.3333333333%}.col-11{width:91.6666666667%}.col-12{width:100%}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/formkit-primevue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.11",
|
|
5
5
|
"packageManager": "pnpm@9.4.0+sha256.b6fd0bfda555e7e584ad7e56b30c68b01d5a04f9ee93989f4b93ca8473c49c74",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom",
|
|
@@ -92,21 +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.2",
|
|
96
|
+
"uuid": "^10.0.0",
|
|
96
97
|
"vue-i18n": "9.13.1"
|
|
97
98
|
},
|
|
98
99
|
"devDependencies": {
|
|
99
100
|
"@antfu/eslint-config": "2.23.2",
|
|
100
101
|
"@formkit/core": "^1.6.5",
|
|
101
|
-
"@primevue/themes": "4.0.
|
|
102
|
-
"@types/node": "^20.14.
|
|
103
|
-
"@unocss/preset-icons": "0.61.
|
|
104
|
-
"@unocss/preset-uno": "0.61.
|
|
105
|
-
"@vitejs/plugin-vue": "^5.1.
|
|
102
|
+
"@primevue/themes": "4.0.2",
|
|
103
|
+
"@types/node": "^20.14.13",
|
|
104
|
+
"@unocss/preset-icons": "0.61.6",
|
|
105
|
+
"@unocss/preset-uno": "0.61.6",
|
|
106
|
+
"@vitejs/plugin-vue": "^5.1.1",
|
|
106
107
|
"@vitest/coverage-v8": "^2.0.4",
|
|
107
108
|
"@vitest/ui": "^2.0.4",
|
|
108
|
-
"@vue/compiler-sfc": "^3.4.
|
|
109
|
-
"@vue/server-renderer": "^3.4.
|
|
109
|
+
"@vue/compiler-sfc": "^3.4.34",
|
|
110
|
+
"@vue/server-renderer": "^3.4.34",
|
|
110
111
|
"@vue/test-utils": "^2.4.6",
|
|
111
112
|
"@vue/tsconfig": "^0.5.1",
|
|
112
113
|
"@vuedx/typecheck": "~0.7.6",
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
"changelogen": "^0.5.5",
|
|
117
118
|
"chart.js": "^4.4.3",
|
|
118
119
|
"consola": "^3.2.3",
|
|
119
|
-
"eslint": "^9.
|
|
120
|
+
"eslint": "^9.8.0",
|
|
120
121
|
"happy-dom": "^14.12.3",
|
|
121
122
|
"json-editor-vue": "^0.15.1",
|
|
122
123
|
"mkdist": "^1.5.4",
|
|
@@ -125,20 +126,20 @@
|
|
|
125
126
|
"tslib": "^2.6.3",
|
|
126
127
|
"typescript": "^5.5.4",
|
|
127
128
|
"unbuild": "2.0.0",
|
|
128
|
-
"unocss": "0.61.
|
|
129
|
-
"unplugin-auto-import": "^0.18.
|
|
129
|
+
"unocss": "0.61.6",
|
|
130
|
+
"unplugin-auto-import": "^0.18.2",
|
|
130
131
|
"unplugin-vue-components": "^0.27.3",
|
|
131
|
-
"vanilla-jsoneditor": "^0.23.
|
|
132
|
-
"vite": "^5.3.
|
|
132
|
+
"vanilla-jsoneditor": "^0.23.8",
|
|
133
|
+
"vite": "^5.3.5",
|
|
133
134
|
"vite-plugin-dts": "4.0.0-beta.1",
|
|
134
135
|
"vite-plugin-eslint": "^1.8.1",
|
|
135
136
|
"vite-plugin-pages": "^0.32.3",
|
|
136
137
|
"vite-ssg": "^0.23.8",
|
|
137
138
|
"vitepress": "1.3.1",
|
|
138
139
|
"vitest": "^2.0.4",
|
|
139
|
-
"vue": "^3.4.
|
|
140
|
-
"vue-demi": "^0.14.
|
|
140
|
+
"vue": "^3.4.34",
|
|
141
|
+
"vue-demi": "^0.14.10",
|
|
141
142
|
"vue-router": "^4.4.0",
|
|
142
|
-
"vue-tsc": "^2.0.
|
|
143
|
+
"vue-tsc": "^2.0.29"
|
|
143
144
|
}
|
|
144
145
|
}
|