halov 26.812.0 → 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.
@@ -4,11 +4,15 @@ export interface ColumnConfig {
4
4
  title: string;
5
5
  visible: boolean;
6
6
  sortIndex: number;
7
+ cssClass?: string;
8
+ cssStyle?: string;
7
9
  }
8
10
  export interface GridConfig {
9
11
  dataGridId: string;
10
12
  columns: Array<ColumnConfig>;
11
13
  pageSize: number;
14
+ sortColumns?: string;
15
+ frozenColumns?: number;
12
16
  }
13
17
  type __VLS_Props = {
14
18
  gridId: string;
@@ -1,5 +1,5 @@
1
1
  import { VNode } from 'vue';
2
- import { SaveEventArgs, SearchArgs, FormGroupLayout, ExtendedAction, GridColumn, BatchAddConfig, BeforeSaveFunction, SelectOption, Func, Func1 } from '../types/HaloTypes';
2
+ import { SaveEventArgs, SearchArgs, FormGroupLayout, ExtendedAction, GridColumn, SearchItem, BatchAddConfig, BeforeSaveFunction, SelectOption, Func, Func1 } from '../types/HaloTypes';
3
3
  type __VLS_Props = {
4
4
  name?: string;
5
5
  autoLoad?: boolean;
@@ -54,7 +54,7 @@ type __VLS_Props = {
54
54
  additionKeys?: Record<string, unknown>;
55
55
  searchGroupOptions?: Array<string | SelectOption>;
56
56
  defaultSortBy?: string;
57
- defaultSortDirection?: 'Asc' | 'Desc';
57
+ defaultSortDirection?: "Asc" | "Desc";
58
58
  propertyModal?: Func<boolean | VNode>;
59
59
  };
60
60
  declare function reloadPage(pageIndex?: number): void;
@@ -110,6 +110,7 @@ declare function __VLS_template(): {
110
110
  referencePage?: string | undefined;
111
111
  tagSource?: string | undefined;
112
112
  className?: (string | Array<string>) | undefined;
113
+ cssStyle?: string | undefined;
113
114
  render?: ((rowData: Record<string, unknown>, rowIndex: number) => import('vue').VNodeChild) | undefined;
114
115
  click?: ((rowData: Record<string, unknown>, rowIndex: number) => void) | undefined;
115
116
  children?: /*elided*/ any[] | undefined;
@@ -236,7 +237,7 @@ declare function __VLS_template(): {
236
237
  };
237
238
  refs: {
238
239
  searchFormRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
239
- searchItems: Array<import('..').SearchItem | string>;
240
+ searchItems: Array<SearchItem | string>;
240
241
  searchArgs?: Record<string, any>;
241
242
  groupOptions?: Array<string | SelectOption>;
242
243
  groupBy?: string;
@@ -258,7 +259,7 @@ declare function __VLS_template(): {
258
259
  M: {};
259
260
  Defaults: {};
260
261
  }, Readonly<{
261
- searchItems: Array<import('..').SearchItem | string>;
262
+ searchItems: Array<SearchItem | string>;
262
263
  searchArgs?: Record<string, any>;
263
264
  groupOptions?: Array<string | SelectOption>;
264
265
  groupBy?: string;
@@ -8260,7 +8261,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
8260
8261
  gridFlexHeight: boolean;
8261
8262
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8262
8263
  searchFormRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
8263
- searchItems: Array<import('..').SearchItem | string>;
8264
+ searchItems: Array<SearchItem | string>;
8264
8265
  searchArgs?: Record<string, any>;
8265
8266
  groupOptions?: Array<string | SelectOption>;
8266
8267
  groupBy?: string;
@@ -8282,7 +8283,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
8282
8283
  M: {};
8283
8284
  Defaults: {};
8284
8285
  }, Readonly<{
8285
- searchItems: Array<import('..').SearchItem | string>;
8286
+ searchItems: Array<SearchItem | string>;
8286
8287
  searchArgs?: Record<string, any>;
8287
8288
  groupOptions?: Array<string | SelectOption>;
8288
8289
  groupBy?: string;
@@ -16,13 +16,10 @@ type __VLS_Props = {
16
16
  selectedIds?: Array<number | string>;
17
17
  flexHeight?: boolean;
18
18
  };
19
- declare function selectRow(key: string, exclusive?: boolean): void;
20
- declare function selectRows(keys: Array<string>, exclusive?: boolean): void;
21
- declare function getSelectedRowKeys(): Array<string | number>;
22
19
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
23
- selectRow: typeof selectRow;
24
- selectRows: typeof selectRows;
25
- getSelectedRowKeys: typeof getSelectedRowKeys;
20
+ selectRow: (key: string, exclusive?: boolean) => void;
21
+ selectRows: (keys: Array<string>, exclusive?: boolean) => void;
22
+ getSelectedRowKeys: () => Array<string | number>;
26
23
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
24
  editRow: (...args: any[]) => void;
28
25
  deleteRow: (...args: any[]) => void;
@@ -11,6 +11,7 @@ export interface GridConfigArgs {
11
11
  onReset?: Action;
12
12
  }
13
13
  export declare const useGridConfigTool: (args: GridConfigArgs) => {
14
+ hasGridId: () => boolean | "" | undefined;
14
15
  showConfigModal: (options: GridConfigModalOptions) => void;
15
16
  loadGridConfig: (callback?: ActionT<DataGridConfig | null | undefined>) => void;
16
17
  };