halov 0.26.305 → 0.26.316
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/GridConfigBox.vue.d.ts +7851 -0
- package/dist/components/HaloForm.vue.d.ts +7 -5
- package/dist/components/HaloGrid.vue.d.ts +1 -1
- package/dist/components/InputModal.vue.d.ts +5 -0
- package/dist/composables/useGridConfigTool.d.ts +16 -0
- package/dist/halov.es.js +4504 -4083
- package/dist/halov.umd.cjs +7 -7
- package/dist/index.d.ts +1 -0
- package/dist/store/fontSizeStore.d.ts +16 -0
- package/dist/types/HaloTypes.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
1
2
|
import { SaveEventArgs, SearchArgs, FormGroupLayout, ExtendedAction, GridColumn, BatchAddConfig, BeforeSaveFunction, SelectOption, Func, Func1 } from '../types/HaloTypes';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
name?: string;
|
|
@@ -54,9 +55,10 @@ type __VLS_Props = {
|
|
|
54
55
|
searchGroupOptions?: Array<string | SelectOption>;
|
|
55
56
|
defaultSortBy?: string;
|
|
56
57
|
defaultSortDirection?: 'Asc' | 'Desc';
|
|
58
|
+
propertyModal?: Func<boolean | VNode>;
|
|
57
59
|
};
|
|
58
60
|
declare function reloadPage(pageIndex?: number): void;
|
|
59
|
-
declare function doQuickSearch(
|
|
61
|
+
declare function doQuickSearch(): void;
|
|
60
62
|
declare function clearQuickSearch(): void;
|
|
61
63
|
declare function advancedSerach(): Promise<void>;
|
|
62
64
|
declare function showDetails(rowData: any, rowIndex: number): void;
|
|
@@ -310,11 +312,11 @@ declare function __VLS_template(): {
|
|
|
310
312
|
loading: boolean;
|
|
311
313
|
keyField: string;
|
|
312
314
|
multiSelect: boolean;
|
|
315
|
+
flexHeight: boolean;
|
|
313
316
|
checkable: boolean;
|
|
314
317
|
withEdit: boolean;
|
|
315
318
|
withDelete: boolean;
|
|
316
319
|
withDetails: boolean;
|
|
317
|
-
flexHeight: boolean;
|
|
318
320
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
319
321
|
nTableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
320
322
|
readonly onUnstableColumnResize: import('vue').PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').TableBaseColumn, getColumnWidth: (key: import('naive-ui').ColumnKey) => number | undefined) => void>;
|
|
@@ -8188,11 +8190,11 @@ declare function __VLS_template(): {
|
|
|
8188
8190
|
loading: boolean;
|
|
8189
8191
|
keyField: string;
|
|
8190
8192
|
multiSelect: boolean;
|
|
8193
|
+
flexHeight: boolean;
|
|
8191
8194
|
checkable: boolean;
|
|
8192
8195
|
withEdit: boolean;
|
|
8193
8196
|
withDelete: boolean;
|
|
8194
8197
|
withDetails: boolean;
|
|
8195
|
-
flexHeight: boolean;
|
|
8196
8198
|
}> | null;
|
|
8197
8199
|
};
|
|
8198
8200
|
rootEl: HTMLDivElement;
|
|
@@ -8334,11 +8336,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
8334
8336
|
loading: boolean;
|
|
8335
8337
|
keyField: string;
|
|
8336
8338
|
multiSelect: boolean;
|
|
8339
|
+
flexHeight: boolean;
|
|
8337
8340
|
checkable: boolean;
|
|
8338
8341
|
withEdit: boolean;
|
|
8339
8342
|
withDelete: boolean;
|
|
8340
8343
|
withDetails: boolean;
|
|
8341
|
-
flexHeight: boolean;
|
|
8342
8344
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
8343
8345
|
nTableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
8344
8346
|
readonly onUnstableColumnResize: import('vue').PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').TableBaseColumn, getColumnWidth: (key: import('naive-ui').ColumnKey) => number | undefined) => void>;
|
|
@@ -16212,11 +16214,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
16212
16214
|
loading: boolean;
|
|
16213
16215
|
keyField: string;
|
|
16214
16216
|
multiSelect: boolean;
|
|
16217
|
+
flexHeight: boolean;
|
|
16215
16218
|
checkable: boolean;
|
|
16216
16219
|
withEdit: boolean;
|
|
16217
16220
|
withDelete: boolean;
|
|
16218
16221
|
withDetails: boolean;
|
|
16219
|
-
flexHeight: boolean;
|
|
16220
16222
|
}> | null;
|
|
16221
16223
|
}, HTMLDivElement>;
|
|
16222
16224
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -45,11 +45,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
45
45
|
loading: boolean;
|
|
46
46
|
keyField: string;
|
|
47
47
|
multiSelect: boolean;
|
|
48
|
+
flexHeight: boolean;
|
|
48
49
|
checkable: boolean;
|
|
49
50
|
withEdit: boolean;
|
|
50
51
|
withDelete: boolean;
|
|
51
52
|
withDetails: boolean;
|
|
52
|
-
flexHeight: boolean;
|
|
53
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
54
54
|
nTableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
55
55
|
readonly onUnstableColumnResize: import('vue').PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').TableBaseColumn, getColumnWidth: (key: import('naive-ui').ColumnKey) => number | undefined) => void>;
|
|
@@ -6,14 +6,19 @@ type __VLS_Props = {
|
|
|
6
6
|
maxLength?: number;
|
|
7
7
|
type?: 'text' | 'password' | 'textarea';
|
|
8
8
|
lines?: number;
|
|
9
|
+
clearable?: boolean;
|
|
9
10
|
show: boolean;
|
|
10
11
|
submitting?: boolean;
|
|
11
12
|
};
|
|
12
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
14
|
close: (...args: any[]) => void;
|
|
15
|
+
"update:value": (...args: any[]) => void;
|
|
16
|
+
"update:show": (...args: any[]) => void;
|
|
14
17
|
commit: (...args: any[]) => void;
|
|
15
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
19
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
17
22
|
onCommit?: ((...args: any[]) => any) | undefined;
|
|
18
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
24
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GridColumn, Action, ActionT, DataGridConfig } from '../types/HaloTypes';
|
|
2
|
+
export interface GridConfigModalOptions {
|
|
3
|
+
gridId?: string;
|
|
4
|
+
pageSize?: number;
|
|
5
|
+
gridColumns?: Array<GridColumn>;
|
|
6
|
+
}
|
|
7
|
+
export interface GridConfigArgs {
|
|
8
|
+
gridId?: string;
|
|
9
|
+
onConfigChanged?: ActionT<DataGridConfig | undefined | null>;
|
|
10
|
+
onPageSizeChanged?: ActionT<number>;
|
|
11
|
+
onReset?: Action;
|
|
12
|
+
}
|
|
13
|
+
export declare const useGridConfigTool: (args: GridConfigArgs) => {
|
|
14
|
+
showConfigModal: (options: GridConfigModalOptions) => void;
|
|
15
|
+
loadGridConfig: () => void;
|
|
16
|
+
};
|