v-nuxt-ui 0.2.24 → 0.2.26
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/README.md +6 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/AsyncSelect.vue +16 -1
- package/dist/runtime/components/AsyncTreeSelect.vue +15 -9
- package/dist/runtime/components/DeleteModal.d.vue.ts +25 -22
- package/dist/runtime/components/DeleteModal.vue +39 -4
- package/dist/runtime/components/DeleteModal.vue.d.ts +25 -22
- package/dist/runtime/components/ScrollArea.vue +20 -9
- package/dist/runtime/components/form/field/AsyncObjectSelect.vue +14 -3
- package/dist/runtime/components/form/save-model-template/ConfirmUpdateModal.d.vue.ts +19 -0
- package/dist/runtime/components/form/save-model-template/ConfirmUpdateModal.vue +111 -0
- package/dist/runtime/components/form/save-model-template/ConfirmUpdateModal.vue.d.ts +19 -0
- package/dist/runtime/components/form/{create-modal-template → save-model-template}/WithApi.d.vue.ts +2 -2
- package/dist/runtime/components/form/{create-modal-template → save-model-template}/WithApi.vue +4 -3
- package/dist/runtime/components/form/{create-modal-template → save-model-template}/WithApi.vue.d.ts +2 -2
- package/dist/runtime/components/form/{create-modal-template → save-model-template}/index.d.vue.ts +2 -2
- package/dist/runtime/components/form/{create-modal-template → save-model-template}/index.vue +54 -7
- package/dist/runtime/components/form/{create-modal-template → save-model-template}/index.vue.d.ts +2 -2
- package/dist/runtime/components/layout/button/UserMenu.vue +1 -2
- package/dist/runtime/components/sys/company/{CreateModal.vue → SaveModal.vue} +2 -2
- package/dist/runtime/components/sys/company/Table.vue +5 -4
- package/dist/runtime/components/sys/department/{CreateModal.vue → SaveModal.vue} +3 -2
- package/dist/runtime/components/sys/department/Table.vue +6 -5
- package/dist/runtime/components/sys/flow/EditNodeModal.vue +4 -3
- package/dist/runtime/components/sys/flow/{CreateModal.vue → SaveModal.vue} +3 -2
- package/dist/runtime/components/sys/flow/Table.vue +5 -4
- package/dist/runtime/components/sys/issue-record/{CreateModal.vue → SaveModal.vue} +2 -2
- package/dist/runtime/components/sys/issue-record/Table.vue +5 -4
- package/dist/runtime/components/sys/job-title/{CreateModal.vue → SaveModal.vue} +2 -2
- package/dist/runtime/components/sys/job-title/Table.vue +5 -4
- package/dist/runtime/components/sys/menu/{CreateModal.vue → SaveModal.vue} +3 -2
- package/dist/runtime/components/sys/menu/Table.vue +6 -5
- package/dist/runtime/components/sys/role/{CreateModal.vue → SaveModal.vue} +8 -5
- package/dist/runtime/components/sys/role/Table.vue +5 -4
- package/dist/runtime/components/sys/table/{CreateModal.vue → SaveModal.vue} +4 -3
- package/dist/runtime/components/sys/table/Table.vue +4 -4
- package/dist/runtime/components/sys/table/TableColumnModal.vue +4 -3
- package/dist/runtime/components/sys/user/{CreateModal.vue → SaveModal.vue} +4 -3
- package/dist/runtime/components/sys/user/Table.vue +7 -6
- package/dist/runtime/components/table/Page.vue +2 -1
- package/dist/runtime/components/table/UpdateDiffModal.d.vue.ts +14 -0
- package/dist/runtime/components/table/UpdateDiffModal.vue +156 -0
- package/dist/runtime/components/table/UpdateDiffModal.vue.d.ts +14 -0
- package/dist/runtime/components/table/header/index.vue +181 -183
- package/dist/runtime/components/table/index.vue +2 -1
- package/dist/runtime/composables/form/index.d.ts +2 -0
- package/dist/runtime/composables/form/index.js +2 -0
- package/dist/runtime/composables/form/useForm.d.ts +21 -0
- package/dist/runtime/composables/{useForm.js → form/useForm.js} +23 -1
- package/dist/runtime/composables/form/useFormUpdate.d.ts +6 -0
- package/dist/runtime/composables/form/useFormUpdate.js +101 -0
- package/dist/runtime/composables/index.d.ts +1 -1
- package/dist/runtime/composables/index.js +1 -1
- package/dist/runtime/composables/table/useTable.js +10 -1
- package/dist/runtime/composables/table/useTableRowActions.d.ts +3 -0
- package/dist/runtime/composables/table/useTableRowActions.js +24 -0
- package/dist/runtime/composables/useDate.js +2 -0
- package/dist/runtime/types/components/form/field.d.ts +2 -0
- package/dist/runtime/types/components/form/index.d.ts +4 -3
- package/dist/runtime/types/components/table/header.d.ts +2 -0
- package/dist/runtime/types/components/table/index.d.ts +1 -0
- package/dist/runtime/types/time.d.ts +1 -1
- package/dist/runtime/utils/cron.d.ts +1 -0
- package/dist/runtime/utils/cron.js +182 -0
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +1 -0
- package/dist/runtime/utils/vueuse.d.ts +1 -1
- package/dist/runtime/utils/vueuse.js +1 -0
- package/package.json +16 -15
- package/dist/runtime/composables/useForm.d.ts +0 -9
- /package/dist/runtime/components/sys/company/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/company/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/department/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/department/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/flow/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/flow/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/issue-record/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/issue-record/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/job-title/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/job-title/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/menu/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/menu/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/role/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/role/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/table/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/table/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
- /package/dist/runtime/components/sys/user/{CreateModal.d.vue.ts → SaveModal.d.vue.ts} +0 -0
- /package/dist/runtime/components/sys/user/{CreateModal.vue.d.ts → SaveModal.vue.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "v-nuxt-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"description": "Veken UI Component Library - Reusable Nuxt UI components, composables, and utilities for enterprise applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"style": "./dist/runtime/index.css",
|
|
@@ -30,11 +30,12 @@
|
|
|
30
30
|
"typecheck": "nuxi typecheck playground"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nuxt/kit": "^4.4.
|
|
33
|
+
"@nuxt/kit": "^4.4.5",
|
|
34
34
|
"dayjs": "^1.11.20",
|
|
35
35
|
"defu": "^6.1.7",
|
|
36
36
|
"maska": "^3.2.0",
|
|
37
|
-
"uuid": "^13.0.
|
|
37
|
+
"uuid": "^13.0.2",
|
|
38
|
+
"diff": "^9.0.0"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"@nuxt/ui": "^4.5.0",
|
|
@@ -59,20 +60,20 @@
|
|
|
59
60
|
"exceljs": "^4.4.0",
|
|
60
61
|
"monaco-editor": "^0.55.1",
|
|
61
62
|
"shiki": "^3.23.0",
|
|
62
|
-
"sql-formatter": "^15.7.
|
|
63
|
+
"sql-formatter": "^15.7.4",
|
|
63
64
|
"vue-draggable-plus": "^0.6.1",
|
|
64
65
|
"vue-echarts": "^8.0.1"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
|
-
"@iconify-json/lucide": "^1.2.
|
|
68
|
+
"@iconify-json/lucide": "^1.2.107",
|
|
68
69
|
"@internationalized/date": "^3.12.1",
|
|
69
70
|
"@nuxt/content": "^3.13.0",
|
|
70
71
|
"@nuxt/eslint": "^1.15.2",
|
|
71
72
|
"@nuxt/eslint-config": "^1.15.2",
|
|
72
73
|
"@nuxt/fonts": "^0.12.1",
|
|
73
74
|
"@nuxt/module-builder": "^1.0.2",
|
|
74
|
-
"@nuxt/ui": "^4.7.
|
|
75
|
-
"@nuxtjs/i18n": "^10.
|
|
75
|
+
"@nuxt/ui": "^4.7.1",
|
|
76
|
+
"@nuxtjs/i18n": "^10.3.0",
|
|
76
77
|
"@nuxtjs/mdc": "^0.20.2",
|
|
77
78
|
"@tanstack/table-core": "^8.21.3",
|
|
78
79
|
"@types/better-sqlite3": "^7.6.13",
|
|
@@ -80,9 +81,9 @@
|
|
|
80
81
|
"@types/uuid": "^11.0.0",
|
|
81
82
|
"@vue-flow/background": "^1.3.2",
|
|
82
83
|
"@vue-flow/core": "^1.48.2",
|
|
83
|
-
"@vueuse/core": "^14.
|
|
84
|
-
"@vueuse/nuxt": "^14.
|
|
85
|
-
"better-sqlite3": "^12.
|
|
84
|
+
"@vueuse/core": "^14.3.0",
|
|
85
|
+
"@vueuse/nuxt": "^14.3.0",
|
|
86
|
+
"better-sqlite3": "^12.10.0",
|
|
86
87
|
"cronstrue": "^3.12.0",
|
|
87
88
|
"echarts": "^6.0.0",
|
|
88
89
|
"eslint": "^9.39.4",
|
|
@@ -92,19 +93,19 @@
|
|
|
92
93
|
"monaco-editor": "^0.55.1",
|
|
93
94
|
"nuxt": "^4.4.2",
|
|
94
95
|
"ohash": "^2.0.11",
|
|
95
|
-
"reka-ui": "^2.9.
|
|
96
|
+
"reka-ui": "^2.9.7",
|
|
96
97
|
"scule": "^1.3.0",
|
|
97
98
|
"shiki": "^3.23.0",
|
|
98
99
|
"sortablejs": "^1.15.7",
|
|
99
100
|
"sql-formatter": "^15.7.2",
|
|
100
|
-
"tailwindcss": "^4.
|
|
101
|
+
"tailwindcss": "^4.3.0",
|
|
101
102
|
"typescript": "^5.9.3",
|
|
102
103
|
"unbuild": "^3.6.1",
|
|
103
|
-
"vue": "^3.5.
|
|
104
|
+
"vue": "^3.5.34",
|
|
104
105
|
"vue-draggable-plus": "^0.6.1",
|
|
105
106
|
"vue-echarts": "^8.0.1",
|
|
106
|
-
"vue-tsc": "^3.2.
|
|
107
|
-
"zod": "^4.3
|
|
107
|
+
"vue-tsc": "^3.2.9",
|
|
108
|
+
"zod": "^4.4.3"
|
|
108
109
|
},
|
|
109
110
|
"packageManager": "pnpm@10.29.2",
|
|
110
111
|
"pnpm": {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
|
-
import type { ApiGroup, BaseModel } from '#v/types';
|
|
3
|
-
export declare const useFormValues: <T>(raw: Ref<T>, defaultValues?: Partial<T>) => {
|
|
4
|
-
oldValues: Ref<T>;
|
|
5
|
-
newValues: Ref<T>;
|
|
6
|
-
};
|
|
7
|
-
export declare const useFormSubmission: <T extends BaseModel>(oldValues: Ref<T>, newValues: Ref<T>, close: (ok: boolean) => void, save: (model: T) => void, apiGroup: () => ApiGroup<T>, arrayTypeFieldKeys?: (keyof T)[], rowKey?: keyof T, versionKey?: keyof T, getExtraFields?: () => Record<string, any>) => {
|
|
8
|
-
onSubmit: () => Promise<void>;
|
|
9
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/runtime/components/sys/issue-record/{CreateModal.d.vue.ts → SaveModal.d.vue.ts}
RENAMED
|
File without changes
|
/package/dist/runtime/components/sys/issue-record/{CreateModal.vue.d.ts → SaveModal.vue.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|