@unizhen/ui 0.1.58 → 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.
- package/lib/components/api.d.ts +2 -0
- package/lib/components/common.d.ts +6 -1
- package/lib/components/form/draggable.vue.d.ts +1 -1
- package/lib/components/form/index.vue.d.ts +1 -1
- package/lib/components/form/item.vue.d.ts +1 -1
- package/lib/components/searchBar/index.vue.d.ts +1 -1
- package/lib/components/searchBar/mobile.vue.d.ts +1 -1
- package/lib/components/table/index.vue.d.ts +4 -4
- package/lib/components/table/list.vue.d.ts +1 -1
- package/lib/components/table/mobile.vue.d.ts +2 -2
- package/lib/ui.js +1835 -1778
- package/package.json +1 -1
package/lib/components/api.d.ts
CHANGED
|
@@ -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;
|
|
@@ -15,3 +15,8 @@ export declare const fnTitle: (value: string) => void;
|
|
|
15
15
|
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
|
+
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
|
+
}[];
|
|
@@ -7668,7 +7668,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
7668
7668
|
dropdownOptions: Ref<any[], any[]>;
|
|
7669
7669
|
dayjs: typeof import("dayjs");
|
|
7670
7670
|
updateValue: (item: IUzFormItem, value: any, option?: SelectOption) => Promise<void>;
|
|
7671
|
-
selectFallback: (value: any) => any | boolean;
|
|
7672
7671
|
showPlaceholder: (item: IUzFormItem) => any;
|
|
7673
7672
|
checkDisabled: () => boolean;
|
|
7674
7673
|
checkClearable: () => any;
|
|
@@ -7679,6 +7678,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
7679
7678
|
renderDropdown: (option: any) => VNodeChild;
|
|
7680
7679
|
checkNumberMin: (item: any) => any;
|
|
7681
7680
|
checkNumberMax: (item: any) => any;
|
|
7681
|
+
selectFilter: (pattern: string, option: any) => boolean;
|
|
7682
7682
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
7683
7683
|
item: {
|
|
7684
7684
|
required: true;
|
|
@@ -7668,7 +7668,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
7668
7668
|
dropdownOptions: Ref<any[], any[]>;
|
|
7669
7669
|
dayjs: typeof dayjs;
|
|
7670
7670
|
updateValue: (item: IUzFormItem, value: any, option?: SelectOption) => Promise<void>;
|
|
7671
|
-
selectFallback: (value: any) => any | boolean;
|
|
7672
7671
|
showPlaceholder: (item: IUzFormItem) => any;
|
|
7673
7672
|
checkDisabled: () => boolean;
|
|
7674
7673
|
checkClearable: () => any;
|
|
@@ -7679,6 +7678,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
7679
7678
|
renderDropdown: (option: any) => VNodeChild;
|
|
7680
7679
|
checkNumberMin: (item: any) => any;
|
|
7681
7680
|
checkNumberMax: (item: any) => any;
|
|
7681
|
+
selectFilter: (pattern: string, option: any) => boolean;
|
|
7682
7682
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
7683
7683
|
item: {
|
|
7684
7684
|
required: true;
|
|
@@ -65,7 +65,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
65
65
|
dropdownOptions: Ref<any[], any[]>;
|
|
66
66
|
dayjs: typeof dayjs;
|
|
67
67
|
updateValue: (item: IUzFormItem, value: any, option?: SelectOption) => Promise<void>;
|
|
68
|
-
selectFallback: (value: any) => any | boolean;
|
|
69
68
|
showPlaceholder: (item: IUzFormItem) => any;
|
|
70
69
|
checkDisabled: () => boolean;
|
|
71
70
|
checkClearable: () => any;
|
|
@@ -76,6 +75,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
76
75
|
renderDropdown: (option: any) => VNodeChild;
|
|
77
76
|
checkNumberMin: (item: any) => any;
|
|
78
77
|
checkNumberMax: (item: any) => any;
|
|
78
|
+
selectFilter: (pattern: string, option: any) => boolean;
|
|
79
79
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
80
80
|
item: {
|
|
81
81
|
required: true;
|
|
@@ -3717,7 +3717,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
3717
3717
|
dropdownOptions: Ref<any[], any[]>;
|
|
3718
3718
|
dayjs: typeof dayjs;
|
|
3719
3719
|
updateValue: (item: IUzFormItem, value: any, option?: SelectOption) => Promise<void>;
|
|
3720
|
-
selectFallback: (value: any) => any | boolean;
|
|
3721
3720
|
showPlaceholder: (item: IUzFormItem) => any;
|
|
3722
3721
|
checkDisabled: () => boolean;
|
|
3723
3722
|
checkClearable: () => any;
|
|
@@ -3728,6 +3727,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
3728
3727
|
renderDropdown: (option: any) => VNodeChild;
|
|
3729
3728
|
checkNumberMin: (item: any) => any;
|
|
3730
3729
|
checkNumberMax: (item: any) => any;
|
|
3730
|
+
selectFilter: (pattern: string, option: any) => boolean;
|
|
3731
3731
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3732
3732
|
item: {
|
|
3733
3733
|
required: true;
|
|
@@ -3883,7 +3883,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
3883
3883
|
dropdownOptions: Ref<any[], any[]>;
|
|
3884
3884
|
dayjs: typeof import("dayjs");
|
|
3885
3885
|
updateValue: (item: IUzFormItem, value: any, option?: SelectOption) => Promise<void>;
|
|
3886
|
-
selectFallback: (value: any) => any | boolean;
|
|
3887
3886
|
showPlaceholder: (item: IUzFormItem) => any;
|
|
3888
3887
|
checkDisabled: () => boolean;
|
|
3889
3888
|
checkClearable: () => any;
|
|
@@ -3894,6 +3893,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
3894
3893
|
renderDropdown: (option: any) => VNodeChild;
|
|
3895
3894
|
checkNumberMin: (item: any) => any;
|
|
3896
3895
|
checkNumberMax: (item: any) => any;
|
|
3896
|
+
selectFilter: (pattern: string, option: any) => boolean;
|
|
3897
3897
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3898
3898
|
item: {
|
|
3899
3899
|
required: true;
|
|
@@ -168,7 +168,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
168
168
|
placement: "top" | "right" | "bottom" | "left";
|
|
169
169
|
summary: string;
|
|
170
170
|
}>;
|
|
171
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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>;
|