halov 0.26.619 → 0.26.722
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/DefaultPropertyForm.vue.d.ts +2 -2
- package/dist/components/HaloForm.vue.d.ts +2 -2
- package/dist/components/PropertyGrid.vue.d.ts +12 -1
- package/dist/components/QuickSearchBox.vue.d.ts +14 -0
- package/dist/components/SystemIconInput.vue.d.ts +5 -5
- package/dist/components/UserMenu.vue.d.ts +1 -333
- package/dist/halov.es.js +3115 -3092
- package/dist/halov.umd.cjs +7 -7
- package/dist/index.d.ts +2 -1
- package/dist/types/HaloTypes.d.ts +4 -2
- package/package.json +66 -63
package/dist/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { default as TopMenu } from './components/TopMenu.vue';
|
|
|
48
48
|
import { default as TreeView } from './components/TreeView.vue';
|
|
49
49
|
import { default as UserMenu } from './components/UserMenu.vue';
|
|
50
50
|
import { default as TabMenu } from './components/TabMenu.vue';
|
|
51
|
+
import { default as QuickSearchBox } from './components/QuickSearchBox.vue';
|
|
51
52
|
import { HalovOptions } from './config';
|
|
52
53
|
export * from './config';
|
|
53
54
|
export * from './composables/haloForm';
|
|
@@ -70,7 +71,7 @@ export * from './store/Common';
|
|
|
70
71
|
export * from './store/Tabs';
|
|
71
72
|
export * from './store/fontSizeStore';
|
|
72
73
|
export * from './store/UserConfig';
|
|
73
|
-
export { AppLogoBox, AppTabs, AutoScrollView, BarcodeImage, ChangePassword, ColorInput, DefaultPropertyForm, DetailPage, ExportModal, EmptyDetailView, FormInput, FullscreenSwitch, GridConfigModal, HaloButtonSelect, HaloDatePicker, HaloForm, HaloGrid, HaloModal, HaloModalInput, HaloSelect, HaloTagsInput, HaloTimePicker, HaloTransfer, ImportModal, InputModal, ListInputModal, MainDetailPanel, MenuIcon, NullableBooleanInput, NumberInputModal, ObjectTreeView, PhotoBox, PrintModal, PropertyGrid, QrModal, SearchCard, SearchForm, SearchModal, SearchPanel, SelectIconBox, SelectObjectModal, SideMenu, SystemIconInput, TagsView, ToolButton, TopMenu, TreeView, UserMenu, TabMenu };
|
|
74
|
+
export { AppLogoBox, AppTabs, AutoScrollView, BarcodeImage, ChangePassword, ColorInput, DefaultPropertyForm, DetailPage, ExportModal, EmptyDetailView, FormInput, FullscreenSwitch, GridConfigModal, HaloButtonSelect, HaloDatePicker, HaloForm, HaloGrid, HaloModal, HaloModalInput, HaloSelect, HaloTagsInput, HaloTimePicker, HaloTransfer, ImportModal, InputModal, ListInputModal, MainDetailPanel, MenuIcon, NullableBooleanInput, NumberInputModal, ObjectTreeView, PhotoBox, PrintModal, PropertyGrid, QrModal, SearchCard, SearchForm, SearchModal, SearchPanel, SelectIconBox, SelectObjectModal, SideMenu, SystemIconInput, TagsView, ToolButton, TopMenu, TreeView, UserMenu, TabMenu, QuickSearchBox };
|
|
74
75
|
declare const halovLibrary: {
|
|
75
76
|
install(app: App, options?: HalovOptions): void;
|
|
76
77
|
};
|
|
@@ -44,6 +44,7 @@ export interface ColumnSearchOptions {
|
|
|
44
44
|
role?: HaloItemRole | Array<HaloItemRole>;
|
|
45
45
|
field?: string;
|
|
46
46
|
}
|
|
47
|
+
export type FormEditorRenderFunction = (args: Object) => VNodeChild;
|
|
47
48
|
export interface HaloColumn {
|
|
48
49
|
name: string;
|
|
49
50
|
title?: string;
|
|
@@ -52,7 +53,7 @@ export interface HaloColumn {
|
|
|
52
53
|
role?: HaloItemRole | Array<HaloItemRole>;
|
|
53
54
|
editing?: "hidden" | "readonly" | "edit" | "create" | "full";
|
|
54
55
|
readonly?: boolean | Array<"edit" | "create" | "view">;
|
|
55
|
-
editor?: string |
|
|
56
|
+
editor?: string | FormEditorRenderFunction;
|
|
56
57
|
editorConfig?: Record<string, any>;
|
|
57
58
|
dataType?: "string" | "number" | "boolean" | "bool" | "date" | "datetime" | "time" | "timespan" | "password";
|
|
58
59
|
size?: "x-large" | "large" | "medium" | "small" | "x-small" | number;
|
|
@@ -113,7 +114,7 @@ export interface FormItem {
|
|
|
113
114
|
minValue?: number;
|
|
114
115
|
maxValue?: number;
|
|
115
116
|
group?: string;
|
|
116
|
-
editor?: string |
|
|
117
|
+
editor?: string | FormEditorRenderFunction;
|
|
117
118
|
editorConfig?: Record<string, any>;
|
|
118
119
|
sortable?: boolean;
|
|
119
120
|
template?: string;
|
|
@@ -221,6 +222,7 @@ export interface UI {
|
|
|
221
222
|
t(text: string): string;
|
|
222
223
|
}
|
|
223
224
|
export interface PropertyItem {
|
|
225
|
+
name: string;
|
|
224
226
|
label: string;
|
|
225
227
|
value: string;
|
|
226
228
|
span?: number;
|
package/package.json
CHANGED
|
@@ -1,63 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "halov",
|
|
3
|
-
"version": "0.26.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "dist/halov.umd.cjs",
|
|
6
|
-
"module": "dist/halov.es.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"description": "A halo client by VUE3",
|
|
9
|
-
"author": "Funway Wang",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/halov.es.js",
|
|
14
|
-
"require": "./dist/halov.umd.cjs"
|
|
15
|
-
},
|
|
16
|
-
"./styles": "./dist/style.css"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"dist"
|
|
20
|
-
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"dev": "vite --config playground/vite.config.ts",
|
|
23
|
-
"build": "vite build && tsc -p tsconfig.build.json",
|
|
24
|
-
"preview": "vite preview"
|
|
25
|
-
},
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"axios": "^1.11.0",
|
|
28
|
-
"file-saver": "^2.0.5",
|
|
29
|
-
"moment": "^2.30.1",
|
|
30
|
-
"mustache": "^4.2.0",
|
|
31
|
-
"naive-ui": "^2.41.0",
|
|
32
|
-
"pinia": "^3.0.0",
|
|
33
|
-
"vue": "^3.5.17",
|
|
34
|
-
"vue-draggable-plus": "^0.6.0",
|
|
35
|
-
"vue-router": "^4.5.1"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/dagre": "^0.7.53",
|
|
39
|
-
"@types/file-saver": "^2.0.7",
|
|
40
|
-
"@types/mustache": "^4.2.6",
|
|
41
|
-
"@types/node": "^22.15.18",
|
|
42
|
-
"@vicons/carbon": "^0.13.0",
|
|
43
|
-
"@vicons/fa": "^0.13.0",
|
|
44
|
-
"@vicons/fluent": "^0.13.0",
|
|
45
|
-
"@vicons/material": "^0.13.0",
|
|
46
|
-
"@vitejs/plugin-vue": "^5.2.3",
|
|
47
|
-
"@vue/tsconfig": "^0.7.0",
|
|
48
|
-
"axios": "^1.11.0",
|
|
49
|
-
"dependency-cruiser": "^16.10.4",
|
|
50
|
-
"file-saver": "^2.0.5",
|
|
51
|
-
"moment": "^2.30.1",
|
|
52
|
-
"mustache": "^4.2.0",
|
|
53
|
-
"pinia": "^3.0.3",
|
|
54
|
-
"typescript": "~5.8.3",
|
|
55
|
-
"vite": "^6.3.5",
|
|
56
|
-
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
57
|
-
"vite-plugin-dts": "^4.5.4",
|
|
58
|
-
"vue": "^3.5.17",
|
|
59
|
-
"vue-draggable-plus": "^0.6.0",
|
|
60
|
-
"vue-router": "^4.5.1",
|
|
61
|
-
"vue-tsc": "^2.2.8"
|
|
62
|
-
}
|
|
63
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "halov",
|
|
3
|
+
"version": "0.26.722",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/halov.umd.cjs",
|
|
6
|
+
"module": "dist/halov.es.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"description": "A halo client by VUE3",
|
|
9
|
+
"author": "Funway Wang",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/halov.es.js",
|
|
14
|
+
"require": "./dist/halov.umd.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./styles": "./dist/style.css"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite --config playground/vite.config.ts",
|
|
23
|
+
"build": "vite build && tsc -p tsconfig.build.json",
|
|
24
|
+
"preview": "vite preview"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"axios": "^1.11.0",
|
|
28
|
+
"file-saver": "^2.0.5",
|
|
29
|
+
"moment": "^2.30.1",
|
|
30
|
+
"mustache": "^4.2.0",
|
|
31
|
+
"naive-ui": "^2.41.0",
|
|
32
|
+
"pinia": "^3.0.0",
|
|
33
|
+
"vue": "^3.5.17",
|
|
34
|
+
"vue-draggable-plus": "^0.6.0",
|
|
35
|
+
"vue-router": "^4.5.1"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/dagre": "^0.7.53",
|
|
39
|
+
"@types/file-saver": "^2.0.7",
|
|
40
|
+
"@types/mustache": "^4.2.6",
|
|
41
|
+
"@types/node": "^22.15.18",
|
|
42
|
+
"@vicons/carbon": "^0.13.0",
|
|
43
|
+
"@vicons/fa": "^0.13.0",
|
|
44
|
+
"@vicons/fluent": "^0.13.0",
|
|
45
|
+
"@vicons/material": "^0.13.0",
|
|
46
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
47
|
+
"@vue/tsconfig": "^0.7.0",
|
|
48
|
+
"axios": "^1.11.0",
|
|
49
|
+
"dependency-cruiser": "^16.10.4",
|
|
50
|
+
"file-saver": "^2.0.5",
|
|
51
|
+
"moment": "^2.30.1",
|
|
52
|
+
"mustache": "^4.2.0",
|
|
53
|
+
"pinia": "^3.0.3",
|
|
54
|
+
"typescript": "~5.8.3",
|
|
55
|
+
"vite": "^6.3.5",
|
|
56
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
57
|
+
"vite-plugin-dts": "^4.5.4",
|
|
58
|
+
"vue": "^3.5.17",
|
|
59
|
+
"vue-draggable-plus": "^0.6.0",
|
|
60
|
+
"vue-router": "^4.5.1",
|
|
61
|
+
"vue-tsc": "^2.2.8"
|
|
62
|
+
},
|
|
63
|
+
"allowScripts": {
|
|
64
|
+
"esbuild@0.25.8": true
|
|
65
|
+
}
|
|
66
|
+
}
|