@unizhen/ui 0.1.59 → 0.1.60

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.
@@ -3,4 +3,6 @@ export declare const dynamicCreateTime: (id: string) => Promise<any>;
3
3
  export declare const tableQuery: (data: any) => Promise<any>;
4
4
  export declare const tableSubmit: (data: any) => Promise<any>;
5
5
  export declare const tableDelete: (data: any) => Promise<any>;
6
+ export declare const tableFilter: (id: string) => Promise<any>;
7
+ export declare const saveTableFilter: (data: any) => Promise<any>;
6
8
  export declare const calculationExecute: (ids: string[], linkId?: string, params?: any) => Promise<any>;
@@ -1,4 +1,4 @@
1
- import { PageRecords, Fn } from './interface';
1
+ import { PageRecords, Fn, ObjectKey } from './interface';
2
2
  import { NotificationApi, DialogApi } from 'naive-ui';
3
3
  export declare const fnNotification: NotificationApi;
4
4
  export declare const fnDialog: DialogApi;
@@ -16,3 +16,7 @@ export declare const fnThrottle: (fn: Fn, wait?: number) => Fn;
16
16
  export declare function fnFullScreen(element: any, callback?: Fn): void;
17
17
  export declare function fnFormatUnits(number: number, precision?: number): string;
18
18
  export declare function fnFilterByPinyinInitials(item: string, keyword: string): boolean;
19
+ export declare function mergeColumns(firstList: ObjectKey[], secondList: ObjectKey[]): {
20
+ [x: string]: any;
21
+ [x: number]: any;
22
+ }[];
@@ -168,7 +168,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
168
168
  placement: "top" | "right" | "bottom" | "left";
169
169
  summary: string;
170
170
  }>;
171
- tableColumns: Ref<any[], any[]>;
171
+ tableCols: Ref<any[], any[]>;
172
172
  tableData: Ref<never[], never[]>;
173
173
  tableQueries: Ref<{
174
174
  [x: string]: any;
@@ -1284,7 +1284,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1284
1284
  fieldValueRule?: string | undefined;
1285
1285
  sourceFn: string;
1286
1286
  })[]>;
1287
- baseColumns: Ref<any, any>;
1287
+ filterColumns: Ref<any, any>;
1288
1288
  isSlotHeader: Ref<boolean, boolean>;
1289
1289
  title: Ref<string, string>;
1290
1290
  dynamicLoading: Ref<boolean, boolean>;
@@ -1417,7 +1417,8 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1417
1417
  summaryFn: (pageData: ObjectKey) => any;
1418
1418
  handleMobileCheckRowKeys: (keys: Array<string | number>, rows: ObjectKey[]) => void;
1419
1419
  isTypeofNumber: (val: number | string) => string;
1420
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("on-update:value" | "update:loading" | "on-update:columns" | "update:rowKeys" | "update:suffixes")[], "on-update:value" | "update:loading" | "on-update:columns" | "update:rowKeys" | "update:suffixes", PublicProps, Readonly< ExtractPropTypes<{
1420
+ resetFilter: () => void;
1421
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("on-update:value" | "update:loading" | "update:rowKeys" | "update:suffixes")[], "on-update:value" | "update:loading" | "update:rowKeys" | "update:suffixes", PublicProps, Readonly< ExtractPropTypes<{
1421
1422
  id: {
1422
1423
  required: false;
1423
1424
  type: PropType<string>;
@@ -1531,7 +1532,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1531
1532
  }>> & Readonly<{
1532
1533
  "onOn-update:value"?: ((...args: any[]) => any) | undefined;
1533
1534
  "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
1534
- "onOn-update:columns"?: ((...args: any[]) => any) | undefined;
1535
1535
  "onUpdate:rowKeys"?: ((...args: any[]) => any) | undefined;
1536
1536
  "onUpdate:suffixes"?: ((...args: any[]) => any) | undefined;
1537
1537
  }>, {
@@ -31,7 +31,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
31
31
  }>> & Readonly<{
32
32
  "onUpdate:row-keys"?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
- tableColumns: any[];
35
34
  tableData: ObjectKey;
35
+ tableColumns: any[];
36
36
  tableIndex: number;
37
37
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -82,10 +82,10 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
82
82
  selection: number;
83
83
  minH: string;
84
84
  maxH: string;
85
- tableColumns: any[];
86
85
  tableData: any[];
87
86
  tableQueries: any;
88
87
  pageChange: any;
88
+ tableColumns: any[];
89
89
  }, {}, {
90
90
  NCheckbox: DefineComponent<ExtractPropTypes<{
91
91
  size: PropType< CheckboxSize>;
@@ -4378,8 +4378,8 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
4378
4378
  }>> & Readonly<{
4379
4379
  "onUpdate:row-keys"?: ((...args: any[]) => any) | undefined;
4380
4380
  }>, {
4381
- tableColumns: any[];
4382
4381
  tableData: ObjectKey;
4382
+ tableColumns: any[];
4383
4383
  tableIndex: number;
4384
4384
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4385
4385
  }, {}, string, ComponentProvideOptions, true, {}, any>;