halov 0.26.810 → 26.901.0
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/Collapsable.vue.d.ts +23 -0
- package/dist/components/GridConfigModal.vue.d.ts +4 -0
- package/dist/components/HaloForm.vue.d.ts +7 -6
- package/dist/components/HaloGrid.vue.d.ts +3 -6
- package/dist/composables/useGridConfigTool.d.ts +1 -0
- package/dist/halov.es.js +6088 -6005
- package/dist/halov.umd.cjs +7 -7
- package/dist/index.d.ts +2 -1
- package/dist/plugins/StringHelper.d.ts +2 -0
- package/dist/plugins/Utility.d.ts +1 -0
- package/dist/types/HaloTypes.d.ts +3 -0
- package/package.json +66 -66
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { default as AutoScrollView } from './components/AutoScrollView.vue';
|
|
|
5
5
|
import { default as BarcodeImage } from './components/BarcodeImage.vue';
|
|
6
6
|
import { default as ChangePassword } from './components/ChangePassword.vue';
|
|
7
7
|
import { default as ColorInput } from './components/ColorInput.vue';
|
|
8
|
+
import { default as Collapsable } from './components/Collapsable.vue';
|
|
8
9
|
import { default as DefaultPropertyForm } from './components/DefaultPropertyForm.vue';
|
|
9
10
|
import { default as DetailPage } from './components/DetailPage.vue';
|
|
10
11
|
import { default as ExportModal } from './components/ExportModal.vue';
|
|
@@ -71,7 +72,7 @@ export * from './store/Common';
|
|
|
71
72
|
export * from './store/Tabs';
|
|
72
73
|
export * from './store/fontSizeStore';
|
|
73
74
|
export * from './store/UserConfig';
|
|
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 };
|
|
75
|
+
export { AppLogoBox, AppTabs, AutoScrollView, BarcodeImage, ChangePassword, ColorInput, Collapsable, 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 };
|
|
75
76
|
declare const halovLibrary: {
|
|
76
77
|
install(app: App, options?: HalovOptions): void;
|
|
77
78
|
};
|
|
@@ -40,4 +40,6 @@ export declare function validateEmail(data: string): boolean;
|
|
|
40
40
|
export declare function convertPercentValue(data: any, limit?: boolean): number | undefined;
|
|
41
41
|
export declare function isNullOrWhiteSpace(str: string): boolean;
|
|
42
42
|
export declare function onNullOrWhiteSpace(str: string, defaultStr: string): string;
|
|
43
|
+
export declare function mergeCssStyles(style1: string | undefined, style2: string | undefined): string | undefined;
|
|
44
|
+
export declare function mergeCssClass(class1: string | Array<string> | undefined, class2: string | Array<string> | undefined): Array<string> | undefined;
|
|
43
45
|
export {};
|
|
@@ -6,6 +6,7 @@ export declare function openFile(url: string, contentType?: string, method?: str
|
|
|
6
6
|
export declare function arrayRemoveIf<T>(array: Array<T>, callback: ArrayPredicate<T>): number;
|
|
7
7
|
export declare function arrayGroupBy<T, K extends keyof any>(array: Array<T>, keyPicker: KeyPicker<T, K>): Record<K, Array<T>>;
|
|
8
8
|
export declare function arrayMove<T>(array: Array<T>, oldIndex: number, newIndex: number): void;
|
|
9
|
+
export declare function arrayDistinct<T>(array: Array<T>, predicate?: (value: T) => unknown): Array<T>;
|
|
9
10
|
export declare function searchField(name: string, title?: string, dataType?: string, searchMethod?: "normal" | "range", values?: string | Array<any> | ColumnValueSource | Record<string, unknown>, ts?: Translator): SearchItem;
|
|
10
11
|
export interface RouteNode {
|
|
11
12
|
name?: string;
|
|
@@ -74,12 +74,14 @@ export interface HaloColumn {
|
|
|
74
74
|
search?: boolean | string | ColumnSearchOptions;
|
|
75
75
|
group?: string;
|
|
76
76
|
className?: string | Array<string>;
|
|
77
|
+
cssStyle?: string;
|
|
77
78
|
render?(rowData: Record<string, unknown>, rowIndex: number): VNodeChild;
|
|
78
79
|
click?(rowData: Record<string, unknown>, rowIndex: number): void;
|
|
79
80
|
values?: ColumnValueSource | Array<any>;
|
|
80
81
|
visible?: boolean | Predicate;
|
|
81
82
|
referencePage?: string;
|
|
82
83
|
tagSource?: string;
|
|
84
|
+
sortIndex?: number;
|
|
83
85
|
description?: string;
|
|
84
86
|
children?: Array<HaloColumn>;
|
|
85
87
|
}
|
|
@@ -175,6 +177,7 @@ export interface GridColumn {
|
|
|
175
177
|
referencePage?: string;
|
|
176
178
|
tagSource?: string;
|
|
177
179
|
className?: string | Array<string>;
|
|
180
|
+
cssStyle?: string;
|
|
178
181
|
render?(rowData: Record<string, unknown>, rowIndex: number): VNodeChild;
|
|
179
182
|
click?(rowData: Record<string, unknown>, rowIndex: number): void;
|
|
180
183
|
children?: Array<GridColumn>;
|
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "halov",
|
|
3
|
-
"version": "
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "halov",
|
|
3
|
+
"version": "26.901.0",
|
|
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
|
+
}
|