@sfxcode/formkit-primevue 2.3.0 → 2.3.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/LICENSE ADDED
@@ -0,0 +1,21 @@
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.
@@ -1,4 +1,5 @@
1
1
  import { useFormKitInput } from './useFormKitInput';
2
2
  import { useFormKitSchema } from './useFormKitSchema';
3
+ import { useInputEditor } from './useInputEditor';
3
4
  import { useInputEditorSchema } from './useInputEditorSchema';
4
- export { useFormKitInput, useFormKitSchema, useInputEditorSchema, };
5
+ export { useFormKitInput, useFormKitSchema, useInputEditor, useInputEditorSchema, };
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "useFormKitSchema", {
15
15
  return _useFormKitSchema.useFormKitSchema;
16
16
  }
17
17
  });
18
+ Object.defineProperty(exports, "useInputEditor", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _useInputEditor.useInputEditor;
22
+ }
23
+ });
18
24
  Object.defineProperty(exports, "useInputEditorSchema", {
19
25
  enumerable: true,
20
26
  get: function () {
@@ -23,4 +29,5 @@ Object.defineProperty(exports, "useInputEditorSchema", {
23
29
  });
24
30
  var _useFormKitInput = require("./useFormKitInput");
25
31
  var _useFormKitSchema = require("./useFormKitSchema");
32
+ var _useInputEditor = require("./useInputEditor");
26
33
  var _useInputEditorSchema = require("./useInputEditorSchema");
@@ -1,8 +1,10 @@
1
1
  import { useFormKitInput } from "./useFormKitInput.mjs";
2
2
  import { useFormKitSchema } from "./useFormKitSchema.mjs";
3
+ import { useInputEditor } from "./useInputEditor.mjs";
3
4
  import { useInputEditorSchema } from "./useInputEditorSchema.mjs";
4
5
  export {
5
6
  useFormKitInput,
6
7
  useFormKitSchema,
8
+ useInputEditor,
7
9
  useInputEditorSchema
8
10
  };
@@ -0,0 +1,8 @@
1
+ export declare function useInputEditor(): {
2
+ primeInputNames: string[];
3
+ generateSchemaItemId: () => string;
4
+ editorDataToSchema: (data: any) => any;
5
+ editorDataToJson: (data: any) => string;
6
+ editorDataToCode: (data: any) => string;
7
+ schemaToEditorData: (schema: any) => any;
8
+ };
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useInputEditor = useInputEditor;
7
+ function useInputEditor() {
8
+ const primeInputWithOptionNames = ["CascadeSelect", "Listbox", "MultiSelect", "RadioButton", "Select", "SelectButton", "TreeSelect"];
9
+ const primeInputNames = [...primeInputWithOptionNames, "AutoComplete", "Checkbox", "ColorPicker", "DatePicker", "Editor", "InputMask", "InputNumber", "InputOtp", "InputText", "Knob", "Password", "Rating", "Slider", "Textarea", "ToggleButton", "ToggleSwitch"].sort();
10
+ function generateSchemaItemId() {
11
+ return `id-${Math.random().toString(36).substring(2, 15)}`;
12
+ }
13
+ function editorDataToSchema(data) {
14
+ if (!data) return {};
15
+ const formkitInput = data?._dollar_formkit;
16
+ let tempData = {};
17
+ if (data.prime && data.prime?.length > 0) {
18
+ const mapped = data.prime?.map(entry => {
19
+ const key = entry.prime_key;
20
+ let value = entry.prime_value;
21
+ if (formkitInput === "primeInputOtp" && key === "length") value = +value;
22
+ return [key, value];
23
+ });
24
+ tempData = Object.assign(...mapped.map(([key, val]) => ({
25
+ [key]: val
26
+ })));
27
+ }
28
+ const readonlyValue = data.readonly ? true : void 0;
29
+ const disabledValue = data.disabled ? true : void 0;
30
+ const preserveValue = data.preserve ? true : void 0;
31
+ const defaultObject = {
32
+ readonly: readonlyValue,
33
+ disabled: disabledValue,
34
+ preserve: preserveValue
35
+ };
36
+ const undefinedObject = {
37
+ prime: void 0,
38
+ schemaResultFormKey: void 0,
39
+ _dollar_formkit: void 0,
40
+ slots: void 0,
41
+ selectButton: void 0
42
+ };
43
+ const useOptions = primeInputWithOptionNames.map(s => `prime${s}`).includes(formkitInput);
44
+ let result = {};
45
+ if (useOptions) result = {
46
+ ...data,
47
+ $formkit: formkitInput,
48
+ ...tempData,
49
+ ...undefinedObject,
50
+ ...defaultObject,
51
+ optionLabel: "label",
52
+ optionValue: "value"
53
+ };else result = {
54
+ ...data,
55
+ $formkit: formkitInput,
56
+ ...tempData,
57
+ ...undefinedObject,
58
+ ...defaultObject,
59
+ options: void 0
60
+ };
61
+ return result;
62
+ }
63
+ function dataToSchema(data) {
64
+ const schema = editorDataToSchema(data);
65
+ if (schema.options) {
66
+ const options = schema.options.map(o => JSON.parse(JSON.stringify(o)));
67
+ return {
68
+ ...schema,
69
+ options
70
+ };
71
+ } else {
72
+ return schema;
73
+ }
74
+ }
75
+ function editorDataToJson(data) {
76
+ return JSON.stringify(dataToSchema(data));
77
+ }
78
+ function objectToString(data) {
79
+ return `{${Object.entries(data).map(([key, value]) => {
80
+ if (key === "options" && value.length > 0) {
81
+ let result = "[";
82
+ value.forEach(o => result = `${result + objectToString(o)}, `);
83
+ return `${key}: ${result.substring(0, result.length - 2)}]`;
84
+ } else if (key === "primeInputOtp") {
85
+ return `${key}: ${value}`;
86
+ } else {
87
+ return `${key}: '${value}'`;
88
+ }
89
+ }).join()}}`;
90
+ }
91
+ function editorDataToObject(data) {
92
+ return objectToString(JSON.parse(editorDataToJson(data)));
93
+ }
94
+ function schemaToEditorData(schema) {
95
+ const formkitInput = schema?.$formkit;
96
+ return {
97
+ ...schema,
98
+ _dollar_formkit: formkitInput
99
+ };
100
+ }
101
+ return {
102
+ primeInputNames,
103
+ generateSchemaItemId,
104
+ editorDataToSchema,
105
+ editorDataToJson,
106
+ editorDataToCode: editorDataToObject,
107
+ schemaToEditorData
108
+ };
109
+ }
@@ -0,0 +1,68 @@
1
+ export function useInputEditor() {
2
+ const primeInputWithOptionNames = ["CascadeSelect", "Listbox", "MultiSelect", "RadioButton", "Select", "SelectButton", "TreeSelect"];
3
+ const primeInputNames = [...primeInputWithOptionNames, "AutoComplete", "Checkbox", "ColorPicker", "DatePicker", "Editor", "InputMask", "InputNumber", "InputOtp", "InputText", "Knob", "Password", "Rating", "Slider", "Textarea", "ToggleButton", "ToggleSwitch"].sort();
4
+ function generateSchemaItemId() {
5
+ return `id-${Math.random().toString(36).substring(2, 15)}`;
6
+ }
7
+ function editorDataToSchema(data) {
8
+ if (!data)
9
+ return {};
10
+ const formkitInput = data?._dollar_formkit;
11
+ let tempData = {};
12
+ if (data.prime && data.prime?.length > 0) {
13
+ const mapped = data.prime?.map((entry) => {
14
+ const key = entry.prime_key;
15
+ let value = entry.prime_value;
16
+ if (formkitInput === "primeInputOtp" && key === "length")
17
+ value = +value;
18
+ return [key, value];
19
+ });
20
+ tempData = Object.assign(...mapped.map(([key, val]) => ({ [key]: val })));
21
+ }
22
+ const readonlyValue = data.readonly ? true : void 0;
23
+ const disabledValue = data.disabled ? true : void 0;
24
+ const preserveValue = data.preserve ? true : void 0;
25
+ const defaultObject = { readonly: readonlyValue, disabled: disabledValue, preserve: preserveValue };
26
+ const undefinedObject = { prime: void 0, schemaResultFormKey: void 0, _dollar_formkit: void 0, slots: void 0, selectButton: void 0 };
27
+ const useOptions = primeInputWithOptionNames.map((s) => `prime${s}`).includes(formkitInput);
28
+ let result = {};
29
+ if (useOptions)
30
+ result = { ...data, $formkit: formkitInput, ...tempData, ...undefinedObject, ...defaultObject, optionLabel: "label", optionValue: "value" };
31
+ else
32
+ result = { ...data, $formkit: formkitInput, ...tempData, ...undefinedObject, ...defaultObject, options: void 0 };
33
+ return result;
34
+ }
35
+ function dataToSchema(data) {
36
+ const schema = editorDataToSchema(data);
37
+ if (schema.options) {
38
+ const options = schema.options.map((o) => JSON.parse(JSON.stringify(o)));
39
+ return { ...schema, options };
40
+ } else {
41
+ return schema;
42
+ }
43
+ }
44
+ function editorDataToJson(data) {
45
+ return JSON.stringify(dataToSchema(data));
46
+ }
47
+ function objectToString(data) {
48
+ return `{${Object.entries(data).map(([key, value]) => {
49
+ if (key === "options" && value.length > 0) {
50
+ let result = "[";
51
+ value.forEach((o) => result = `${result + objectToString(o)}, `);
52
+ return `${key}: ${result.substring(0, result.length - 2)}]`;
53
+ } else if (key === "primeInputOtp") {
54
+ return `${key}: ${value}`;
55
+ } else {
56
+ return `${key}: '${value}'`;
57
+ }
58
+ }).join()}}`;
59
+ }
60
+ function editorDataToObject(data) {
61
+ return objectToString(JSON.parse(editorDataToJson(data)));
62
+ }
63
+ function schemaToEditorData(schema) {
64
+ const formkitInput = schema?.$formkit;
65
+ return { ...schema, _dollar_formkit: formkitInput };
66
+ }
67
+ return { primeInputNames, generateSchemaItemId, editorDataToSchema, editorDataToJson, editorDataToCode: editorDataToObject, schemaToEditorData };
68
+ }
@@ -56,13 +56,8 @@ export declare function useInputEditorSchema(): {
56
56
  id?: undefined;
57
57
  allowEmpty?: undefined;
58
58
  })[];
59
- primeInputNames: string[];
60
59
  primeInputOptions: (list: string[]) => {
61
60
  label: string;
62
61
  value: string;
63
62
  }[];
64
- editorDataToSchema: (data: any) => any;
65
- editorDataToJson: (data: any) => string;
66
- editorDataToCode: (data: any) => string;
67
- schemaToEditorData: (schema: any) => any;
68
63
  };
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.useInputEditorSchema = useInputEditorSchema;
7
7
  var _useFormKitSchema = require("./useFormKitSchema");
8
+ var _useInputEditor = require("./useInputEditor");
8
9
  function useInputEditorSchema() {
9
10
  const {
10
11
  addElement,
@@ -12,6 +13,9 @@ function useInputEditorSchema() {
12
13
  addListGroup,
13
14
  addComponent
14
15
  } = (0, _useFormKitSchema.useFormKitSchema)();
16
+ const {
17
+ primeInputNames
18
+ } = (0, _useInputEditor.useInputEditor)();
15
19
  function addFlexElement(children) {
16
20
  return addElement("div", children, {
17
21
  style: "max-width: 40rem;display: flex;gap: 1rem;"
@@ -41,8 +45,6 @@ function useInputEditorSchema() {
41
45
  style: "padding-top: 1.5rem;"
42
46
  });
43
47
  }
44
- const primeInputWithOptionNames = ["CascadeSelect", "Listbox", "MultiSelect", "RadioButton", "Select", "SelectButton", "TreeSelect"];
45
- const primeInputNames = [...primeInputWithOptionNames, "AutoComplete", "Checkbox", "ColorPicker", "DatePicker", "Editor", "InputMask", "InputNumber", "InputOtp", "InputText", "Knob", "Password", "Rating", "Slider", "Textarea", "ToggleButton", "ToggleSwitch"].sort();
46
48
  function primeInputOptions(list) {
47
49
  return list.map(name => {
48
50
  return {
@@ -87,66 +89,6 @@ function useInputEditorSchema() {
87
89
  label: "Right",
88
90
  value: "right"
89
91
  }];
90
- function editorDataToSchema(data) {
91
- const formkitInput = data?._dollar_formkit;
92
- let tempData = {};
93
- if (data.prime?.length > 0) {
94
- const mapped = data.prime?.map(entry => {
95
- const key = entry.prime_key;
96
- let value = entry.prime_value;
97
- if (formkitInput === "primeInputOtp" && key === "length") value = +value;
98
- return [key, value];
99
- });
100
- tempData = Object.assign(...mapped.map(([key, val]) => ({
101
- [key]: val
102
- })));
103
- }
104
- const readonlyValue = data.readonly ? true : void 0;
105
- const disabledValue = data.disabled ? true : void 0;
106
- const preserveValue = data.preserve ? true : void 0;
107
- const defaultObject = {
108
- readonly: readonlyValue,
109
- disabled: disabledValue,
110
- preserve: preserveValue
111
- };
112
- const undefinedObject = {
113
- prime: void 0,
114
- schemaResultFormKey: void 0,
115
- _dollar_formkit: void 0,
116
- slots: void 0,
117
- selectButton: void 0
118
- };
119
- const useOptions = primeInputWithOptionNames.map(s => `prime${s}`).includes(formkitInput);
120
- if (useOptions) return {
121
- ...data,
122
- $formkit: formkitInput,
123
- ...tempData,
124
- ...undefinedObject,
125
- ...defaultObject,
126
- optionLabel: "label",
127
- optionValue: "value"
128
- };else return {
129
- ...data,
130
- $formkit: formkitInput,
131
- ...tempData,
132
- ...undefinedObject,
133
- ...defaultObject,
134
- options: void 0
135
- };
136
- }
137
- function editorDataToJson(data) {
138
- return JSON.stringify(editorDataToSchema(data));
139
- }
140
- function editorDataToObject(data) {
141
- return `{${Object.entries(JSON.parse(editorDataToJson(data))).map(([key, value]) => `${key}: '${value}'`).join()}}`;
142
- }
143
- function schemaToEditorData(schema) {
144
- const formkitInput = schema?.$formkit;
145
- return {
146
- ...schema,
147
- _dollar_formkit: formkitInput
148
- };
149
- }
150
92
  function editorSchema(inputOptions = primeInputOptions(primeInputNames)) {
151
93
  return [addGridElement([{
152
94
  $formkit: "primeSelect",
@@ -345,11 +287,6 @@ function useInputEditorSchema() {
345
287
  }
346
288
  return {
347
289
  editorSchema,
348
- primeInputNames,
349
- primeInputOptions,
350
- editorDataToSchema,
351
- editorDataToJson,
352
- editorDataToCode: editorDataToObject,
353
- schemaToEditorData
290
+ primeInputOptions
354
291
  };
355
292
  }
@@ -1,6 +1,8 @@
1
1
  import { useFormKitSchema } from "./useFormKitSchema.mjs";
2
+ import { useInputEditor } from "./useInputEditor.mjs";
2
3
  export function useInputEditorSchema() {
3
4
  const { addElement, addList, addListGroup, addComponent } = useFormKitSchema();
5
+ const { primeInputNames } = useInputEditor();
4
6
  function addFlexElement(children) {
5
7
  return addElement("div", children, { style: "max-width: 40rem;display: flex;gap: 1rem;" });
6
8
  }
@@ -20,8 +22,6 @@ export function useInputEditorSchema() {
20
22
  addElement("span", [], { style: "margin-left: 0.5rem;margin-right: 2.5rem;" }, "$index == $node.value.length -1")
21
23
  ], { style: "padding-top: 1.5rem;" });
22
24
  }
23
- const primeInputWithOptionNames = ["CascadeSelect", "Listbox", "MultiSelect", "RadioButton", "Select", "SelectButton", "TreeSelect"];
24
- const primeInputNames = [...primeInputWithOptionNames, "AutoComplete", "Checkbox", "ColorPicker", "DatePicker", "Editor", "InputMask", "InputNumber", "InputOtp", "InputText", "Knob", "Password", "Rating", "Slider", "Textarea", "ToggleButton", "ToggleSwitch"].sort();
25
25
  function primeInputOptions(list) {
26
26
  return list.map((name) => {
27
27
  return { label: name, value: `prime${name}` };
@@ -44,40 +44,6 @@ export function useInputEditorSchema() {
44
44
  { label: "Left", value: "left" },
45
45
  { label: "Right", value: "right" }
46
46
  ];
47
- function editorDataToSchema(data) {
48
- const formkitInput = data?._dollar_formkit;
49
- let tempData = {};
50
- if (data.prime?.length > 0) {
51
- const mapped = data.prime?.map((entry) => {
52
- const key = entry.prime_key;
53
- let value = entry.prime_value;
54
- if (formkitInput === "primeInputOtp" && key === "length")
55
- value = +value;
56
- return [key, value];
57
- });
58
- tempData = Object.assign(...mapped.map(([key, val]) => ({ [key]: val })));
59
- }
60
- const readonlyValue = data.readonly ? true : void 0;
61
- const disabledValue = data.disabled ? true : void 0;
62
- const preserveValue = data.preserve ? true : void 0;
63
- const defaultObject = { readonly: readonlyValue, disabled: disabledValue, preserve: preserveValue };
64
- const undefinedObject = { prime: void 0, schemaResultFormKey: void 0, _dollar_formkit: void 0, slots: void 0, selectButton: void 0 };
65
- const useOptions = primeInputWithOptionNames.map((s) => `prime${s}`).includes(formkitInput);
66
- if (useOptions)
67
- return { ...data, $formkit: formkitInput, ...tempData, ...undefinedObject, ...defaultObject, optionLabel: "label", optionValue: "value" };
68
- else
69
- return { ...data, $formkit: formkitInput, ...tempData, ...undefinedObject, ...defaultObject, options: void 0 };
70
- }
71
- function editorDataToJson(data) {
72
- return JSON.stringify(editorDataToSchema(data));
73
- }
74
- function editorDataToObject(data) {
75
- return `{${Object.entries(JSON.parse(editorDataToJson(data))).map(([key, value]) => `${key}: '${value}'`).join()}}`;
76
- }
77
- function schemaToEditorData(schema) {
78
- const formkitInput = schema?.$formkit;
79
- return { ...schema, _dollar_formkit: formkitInput };
80
- }
81
47
  function editorSchema(inputOptions = primeInputOptions(primeInputNames)) {
82
48
  return [
83
49
  addGridElement([
@@ -313,5 +279,5 @@ export function useInputEditorSchema() {
313
279
  ], true, "$get(selectButton).value === 'showPrime'", { key: "schema_prime", preserve: true })
314
280
  ];
315
281
  }
316
- return { editorSchema, primeInputNames, primeInputOptions, editorDataToSchema, editorDataToJson, editorDataToCode: editorDataToObject, schemaToEditorData };
282
+ return { editorSchema, primeInputOptions };
317
283
  }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { useFormKitSchema, useInputEditorSchema } from './composables';
1
+ import { useFormKitSchema, useInputEditor, useInputEditorSchema } from './composables';
2
2
  import { primeInputs } from './definitions';
3
- export { useFormKitSchema, useInputEditorSchema, primeInputs, };
3
+ export { useFormKitSchema, useInputEditor, useInputEditorSchema, primeInputs, };
package/dist/index.js CHANGED
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "useFormKitSchema", {
15
15
  return _composables.useFormKitSchema;
16
16
  }
17
17
  });
18
+ Object.defineProperty(exports, "useInputEditor", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _composables.useInputEditor;
22
+ }
23
+ });
18
24
  Object.defineProperty(exports, "useInputEditorSchema", {
19
25
  enumerable: true,
20
26
  get: function () {
package/dist/index.mjs CHANGED
@@ -1,7 +1,8 @@
1
- import { useFormKitSchema, useInputEditorSchema } from "./composables/index.mjs";
1
+ import { useFormKitSchema, useInputEditor, useInputEditorSchema } from "./composables/index.mjs";
2
2
  import { primeInputs } from "./definitions/index.mjs";
3
3
  export {
4
4
  useFormKitSchema,
5
+ useInputEditor,
5
6
  useInputEditorSchema,
6
7
  primeInputs
7
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
3
  "type": "module",
4
- "version": "2.3.0",
4
+ "version": "2.3.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 --release && npm publish --access public && git push --follow-tags",
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",
@@ -88,21 +88,22 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@formkit/addons": "^1.6.5",
91
+ "@formkit/drag-and-drop": "^0.1.6",
91
92
  "@formkit/i18n": "^1.6.5",
92
93
  "@formkit/vue": "^1.6.5",
93
94
  "primeicons": "^7.0.0",
94
- "primevue": "4.0.0"
95
+ "primevue": "4.0.1"
95
96
  },
96
97
  "devDependencies": {
97
- "@antfu/eslint-config": "2.23.0",
98
+ "@antfu/eslint-config": "2.23.2",
98
99
  "@formkit/core": "^1.6.5",
99
- "@primevue/themes": "4.0.0",
100
+ "@primevue/themes": "4.0.1",
100
101
  "@types/node": "^20.14.11",
101
102
  "@unocss/preset-icons": "0.61.5",
102
103
  "@unocss/preset-uno": "0.61.5",
103
104
  "@vitejs/plugin-vue": "^5.0.5",
104
- "@vitest/coverage-v8": "^2.0.3",
105
- "@vitest/ui": "^2.0.3",
105
+ "@vitest/coverage-v8": "^2.0.4",
106
+ "@vitest/ui": "^2.0.4",
106
107
  "@vue/compiler-sfc": "^3.4.33",
107
108
  "@vue/server-renderer": "^3.4.33",
108
109
  "@vue/test-utils": "^2.4.6",
@@ -119,7 +120,7 @@
119
120
  "json-editor-vue": "^0.15.1",
120
121
  "mkdist": "^1.5.4",
121
122
  "quill": "^2.0.2",
122
- "sass": "^1.77.8",
123
+ "sass": "^1.76.0",
123
124
  "tslib": "^2.6.3",
124
125
  "typescript": "^5.5.3",
125
126
  "unbuild": "2.0.0",
@@ -133,10 +134,10 @@
133
134
  "vite-plugin-pages": "^0.32.3",
134
135
  "vite-ssg": "^0.23.8",
135
136
  "vitepress": "1.3.1",
136
- "vitest": "^2.0.3",
137
+ "vitest": "^2.0.4",
137
138
  "vue": "^3.4.33",
138
139
  "vue-demi": "^0.14.8",
139
140
  "vue-router": "^4.4.0",
140
- "vue-tsc": "^2.0.26"
141
+ "vue-tsc": "^2.0.28"
141
142
  }
142
143
  }