vome-core 0.0.66 → 0.0.68
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/admin/config/plugin-dev.js +1 -1
- package/dist/admin/crud/components/vm-json-editor.vue +32 -3
- package/dist/admin/crud/components/vm-richtext.vue +5 -4
- package/dist/admin/crud/config.js +1 -1
- package/dist/admin/crud/confirm.js +1 -1
- package/dist/admin/crud/dict.js +1 -1
- package/dist/admin/crud/index.d.ts +1 -1
- package/dist/admin/crud/index.js +1 -1
- package/dist/admin/crud/key.js +1 -1
- package/dist/admin/crud/mitt.js +1 -1
- package/dist/admin/crud/plugins.js +1 -1
- package/dist/admin/crud/span.js +1 -1
- package/dist/admin/crud/style.d.ts +37 -0
- package/dist/admin/crud/style.js +1 -1
- package/dist/admin/crud/validate.js +1 -1
- package/dist/admin/crud/vm-add-btn.vue +2 -1
- package/dist/admin/crud/vm-adv-search.vue +5 -4
- package/dist/admin/crud/vm-crud.vue +14 -9
- package/dist/admin/crud/vm-export-btn.vue +2 -1
- package/dist/admin/crud/vm-import-btn.vue +2 -1
- package/dist/admin/crud/vm-multi-delete-btn.vue +2 -1
- package/dist/admin/crud/vm-pagination.vue +16 -7
- package/dist/admin/crud/vm-refresh-btn.vue +2 -1
- package/dist/admin/crud/vm-search-key.vue +3 -2
- package/dist/admin/crud/vm-search.vue +29 -20
- package/dist/admin/crud/vm-table.vue +65 -22
- package/dist/admin/crud/vm-toolbar.vue +12 -13
- package/dist/admin/crud/vm-upsert.vue +12 -6
- package/dist/admin/directives/perm.js +1 -1
- package/dist/admin/hooks/useUpload.js +1 -1
- package/dist/admin/index.d.ts +1 -1
- package/dist/admin/index.js +6 -1
- package/dist/admin/lib/browser.js +1 -1
- package/dist/admin/lib/cn.js +1 -1
- package/dist/admin/lib/dialog-float.js +1 -1
- package/dist/admin/lib/export-excel.js +1 -1
- package/dist/admin/lib/file-preview.js +1 -1
- package/dist/admin/lib/import-excel.js +1 -1
- package/dist/admin/lib/json.js +1 -1
- package/dist/admin/lib/menu.js +1 -1
- package/dist/admin/lib/tree.js +1 -1
- package/dist/admin/lib/upload.js +1 -1
- package/dist/admin/lib/video-frame.js +1 -1
- package/dist/admin/styles/base.css +33 -0
- package/dist/ai/index.js +28761 -0
- package/dist/ai.d.ts +1 -0
- package/dist/client/base.js +5 -1
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +3 -0
- package/dist/client/locale-store.d.ts +59 -0
- package/dist/client/locale-store.js +159 -0
- package/dist/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shared/excel.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/locale-json.js +1 -0
- package/dist/shared/tree.js +1 -1
- package/dist/src/ai/adapters/anthropic-gemini.d.ts +5 -0
- package/dist/src/ai/adapters/auth-headers.d.ts +4 -0
- package/dist/src/ai/adapters/index.d.ts +3 -0
- package/dist/src/ai/adapters/openai-compatible.d.ts +4 -0
- package/dist/src/ai/call-log-helpers.d.ts +13 -0
- package/dist/src/ai/index.d.ts +10 -0
- package/dist/src/ai/normalize.d.ts +18 -0
- package/dist/src/ai/sse.d.ts +13 -0
- package/dist/src/ai/transport.d.ts +16 -0
- package/dist/src/ai/types.d.ts +194 -0
- package/dist/src/core/index.d.ts +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/orm/index.d.ts +1 -1
- package/dist/src/server/index.d.ts +3 -1
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/locale-json.d.ts +7 -0
- package/dist/typings/routing/eps.d.ts +2 -0
- package/package.json +7 -2
- package/src/shared/index.ts +6 -0
- package/src/shared/locale-json.ts +79 -0
- package/typings/admin/comm/crud.d.ts +13 -0
- package/typings/admin/comm/crud.ts +13 -0
- package/typings/admin/comm/eps.d.ts +3 -0
- package/typings/admin/comm/eps.ts +3 -0
- package/typings/admin/comm/request.d.ts +1 -1
- package/typings/admin/comm/request.ts +1 -1
|
@@ -87,16 +87,29 @@ export type CrudSearchItem = {
|
|
|
87
87
|
};
|
|
88
88
|
/** component.name 走 registry */
|
|
89
89
|
component?: CrudFormComponent;
|
|
90
|
+
/** i18n:field.{table}.{prop},运行时解析占位符 */
|
|
91
|
+
fieldKey?: string;
|
|
92
|
+
/** 无翻译时的字段中文名(EPS comment) */
|
|
93
|
+
nameFallback?: string;
|
|
94
|
+
/** 占位符模式:搜索 / 选择 / 关键字 / 区间 */
|
|
95
|
+
phMode?: 'search' | 'select' | 'keyword' | 'range';
|
|
96
|
+
/** keyword 多字段 fieldKey 列表 */
|
|
97
|
+
keywordParts?: string[];
|
|
90
98
|
};
|
|
91
99
|
export type CrudOpButton = 'edit' | 'delete' | 'info' | {
|
|
92
100
|
label: string;
|
|
93
101
|
hidden?: boolean;
|
|
102
|
+
disabled?: boolean;
|
|
94
103
|
variant?: 'softPrimary' | 'softDestructive' | 'softSuccess' | 'ghost' | 'outline';
|
|
95
104
|
onClick: (row: Record<string, unknown>) => void;
|
|
96
105
|
};
|
|
97
106
|
export type CrudColumn = {
|
|
98
107
|
prop?: string;
|
|
99
108
|
label?: string;
|
|
109
|
+
/** i18n 完整 key,优先于 field.*(如 il8n.langName) */
|
|
110
|
+
labelKey?: string;
|
|
111
|
+
/** 显式 field.{table}.{prop};缺省时按 EPS 推断 */
|
|
112
|
+
fieldKey?: string;
|
|
100
113
|
/** selection | index | op | expand */
|
|
101
114
|
type?: 'selection' | 'index' | 'op' | 'expand';
|
|
102
115
|
width?: string | number;
|
|
@@ -73,6 +73,14 @@ export type CrudSearchItem = {
|
|
|
73
73
|
}
|
|
74
74
|
/** component.name 走 registry */
|
|
75
75
|
component?: CrudFormComponent
|
|
76
|
+
/** i18n:field.{table}.{prop},运行时解析占位符 */
|
|
77
|
+
fieldKey?: string
|
|
78
|
+
/** 无翻译时的字段中文名(EPS comment) */
|
|
79
|
+
nameFallback?: string
|
|
80
|
+
/** 占位符模式:搜索 / 选择 / 关键字 / 区间 */
|
|
81
|
+
phMode?: 'search' | 'select' | 'keyword' | 'range'
|
|
82
|
+
/** keyword 多字段 fieldKey 列表 */
|
|
83
|
+
keywordParts?: string[]
|
|
76
84
|
}
|
|
77
85
|
|
|
78
86
|
export type CrudOpButton =
|
|
@@ -82,6 +90,7 @@ export type CrudOpButton =
|
|
|
82
90
|
| {
|
|
83
91
|
label: string
|
|
84
92
|
hidden?: boolean
|
|
93
|
+
disabled?: boolean
|
|
85
94
|
variant?: 'softPrimary' | 'softDestructive' | 'softSuccess' | 'ghost' | 'outline'
|
|
86
95
|
onClick: (row: Record<string, unknown>) => void
|
|
87
96
|
}
|
|
@@ -89,6 +98,10 @@ export type CrudOpButton =
|
|
|
89
98
|
export type CrudColumn = {
|
|
90
99
|
prop?: string
|
|
91
100
|
label?: string
|
|
101
|
+
/** i18n 完整 key,优先于 field.*(如 il8n.langName) */
|
|
102
|
+
labelKey?: string
|
|
103
|
+
/** 显式 field.{table}.{prop};缺省时按 EPS 推断 */
|
|
104
|
+
fieldKey?: string
|
|
92
105
|
/** selection | index | op | expand */
|
|
93
106
|
type?: 'selection' | 'index' | 'op' | 'expand'
|
|
94
107
|
width?: string | number
|