@pusdn/pgz-comp-elep 0.2.13 → 0.2.14
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/adaptive-page/index.d.ts +17096 -0
- package/lib/adaptive-page/src/index.vue.d.ts +5731 -0
- package/lib/adaptive-page/src/type.d.ts +9 -0
- package/lib/button/index.d.ts +134 -0
- package/lib/button/src/index.vue.d.ts +67 -0
- package/lib/button/src/type.d.ts +10 -0
- package/lib/chart/index.d.ts +164 -0
- package/lib/chart/src/index.vue.d.ts +77 -0
- package/lib/chart/src/type.d.ts +7 -0
- package/lib/checkbox/index.d.ts +206 -0
- package/lib/checkbox/src/checkbox.d.ts +5 -0
- package/lib/checkbox/src/index.vue.d.ts +91 -0
- package/lib/components.d.ts +57 -0
- package/lib/date-picker/index.d.ts +170 -0
- package/lib/date-picker/src/index.vue.d.ts +77 -0
- package/lib/date-picker/src/type.d.ts +10 -0
- package/lib/detail/index.d.ts +182 -0
- package/lib/detail/src/index.vue.d.ts +88 -0
- package/lib/detail/src/renderLabel.vue.d.ts +8 -0
- package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
- package/lib/detail/src/type.d.ts +27 -0
- package/lib/favicon.ico +0 -0
- package/lib/form/index.d.ts +308 -0
- package/lib/form/src/index.vue.d.ts +125 -0
- package/lib/form/src/renderBtn.vue.d.ts +8 -0
- package/lib/form/src/renderComp.vue.d.ts +8 -0
- package/lib/form/src/type.d.ts +26 -0
- package/lib/index.d.ts +42 -0
- package/lib/input/index.d.ts +215 -0
- package/lib/input/src/index.vue.d.ts +109 -0
- package/lib/input/src/type.d.ts +13 -0
- package/lib/layout-page/index.d.ts +114 -0
- package/lib/layout-page/src/index.vue.d.ts +62 -0
- package/lib/layout-page-item/index.d.ts +35 -0
- package/lib/layout-page-item/src/index.vue.d.ts +14 -0
- package/lib/module-form/index.d.ts +530 -0
- package/lib/module-form/src/index.vue.d.ts +243 -0
- package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
- package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
- package/lib/module-form/src/type.d.ts +19 -0
- package/lib/pgz-checkbox/index.d.ts +149 -0
- package/lib/pgz-checkbox/src/index.vue.d.ts +65 -0
- package/lib/pgz-checkbox/src/type.d.ts +12 -0
- package/lib/pgz-comp-elep.es.js +39723 -0
- package/lib/pgz-comp-elep.es.js.gz +0 -0
- package/lib/pgz-comp-elep.umd.js +261 -0
- package/lib/pgz-comp-elep.umd.js.gz +0 -0
- package/lib/pgz-html-preview-modal/index.d.ts +77 -0
- package/lib/pgz-html-preview-modal/src/index.vue.d.ts +22 -0
- package/lib/pgz-html-preview-modal/src/type.d.ts +7 -0
- package/lib/pgz-search-select/index.d.ts +5 -0
- package/lib/pgz-search-select/src/index.vue.d.ts +194 -0
- package/lib/pgz-search-select/src/type.d.ts +16 -0
- package/lib/pgz-tdt-mark/index.d.ts +407 -0
- package/lib/pgz-tdt-mark/src/env.d.ts +7 -0
- package/lib/pgz-tdt-mark/src/index.vue.d.ts +167 -0
- package/lib/pgz-tdt-mark/src/props.d.ts +63 -0
- package/lib/pgz-tdt-mark/src/types/index.d.ts +1 -0
- package/lib/pgz-tdt-mark/src/types/tdt.d.ts +88 -0
- package/lib/pgz-tdt-ploygon/index.d.ts +401 -0
- package/lib/pgz-tdt-ploygon/src/env.d.ts +7 -0
- package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +164 -0
- package/lib/pgz-tdt-ploygon/src/props.d.ts +35 -0
- package/lib/pgz-tdt-ploygon/src/tmp-fix.d.ts +10 -0
- package/lib/pgz-tdt-ploygon/src/types/index.d.ts +1 -0
- package/lib/pgz-tdt-ploygon/src/types/tdt.d.ts +120 -0
- package/lib/pgz-tdt-ploygon/src/types.d.ts +27 -0
- package/lib/pgz-video-xg-modal/index.d.ts +181 -0
- package/lib/pgz-video-xg-modal/src/env.d.ts +7 -0
- package/lib/pgz-video-xg-modal/src/index.vue.d.ts +73 -0
- package/lib/pgz-video-xg-modal/src/types/xgplayer.d.ts +59 -0
- package/lib/query-condition/index.d.ts +701 -0
- package/lib/query-condition/src/index.vue.d.ts +326 -0
- package/lib/query-condition/src/moreChoose.vue.d.ts +37 -0
- package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
- package/lib/query-condition/src/type.d.ts +21 -0
- package/lib/query-condition/src/useComputed.d.ts +27 -0
- package/lib/radio/index.d.ts +206 -0
- package/lib/radio/src/index.vue.d.ts +91 -0
- package/lib/radio/src/radio.d.ts +12 -0
- package/lib/select/index.d.ts +371 -0
- package/lib/select/src/index.vue.d.ts +200 -0
- package/lib/select/src/type.d.ts +42 -0
- package/lib/select-icon/index.d.ts +174 -0
- package/lib/select-icon/src/index.vue.d.ts +89 -0
- package/lib/select-table/index.d.ts +2165 -0
- package/lib/select-table/src/index.vue.d.ts +963 -0
- package/lib/select-table/src/renderCol.vue.d.ts +20 -0
- package/lib/select-table/src/type.d.ts +56 -0
- package/lib/select-table/src/useVirtualized.d.ts +11 -0
- package/lib/step-wizard/index.d.ts +146 -0
- package/lib/step-wizard/src/index.vue.d.ts +71 -0
- package/lib/step-wizard/src/type.d.ts +25 -0
- package/lib/style.css +1 -0
- package/lib/style.css.gz +0 -0
- package/lib/table/index.d.ts +2540 -0
- package/lib/table/src/ColumnSet.vue.d.ts +148 -0
- package/lib/table/src/TTableColumn.vue.d.ts +173 -0
- package/lib/table/src/index.vue.d.ts +941 -0
- package/lib/table/src/operator.vue.d.ts +80 -0
- package/lib/table/src/renderCol.vue.d.ts +20 -0
- package/lib/table/src/renderHeader.vue.d.ts +16 -0
- package/lib/table/src/singleEdit.vue.d.ts +122 -0
- package/lib/table/src/singleEditCell.vue.d.ts +120 -0
- package/lib/table/src/tableProps.d.ts +100 -0
- package/lib/table/src/useExpose.d.ts +16 -0
- package/lib/table/src/useVirtualized.d.ts +9 -0
- package/lib/tabs/index.d.ts +69 -0
- package/lib/tabs/src/index.vue.d.ts +34 -0
- package/lib/timer-btn/index.d.ts +92 -0
- package/lib/timer-btn/src/index.vue.d.ts +43 -0
- package/lib/utils/directives/click-outside/index.d.ts +3 -0
- package/lib/utils/http/api.d.ts +76 -0
- package/lib/utils/http/index.d.ts +79 -0
- package/lib/utils/http/types.d.ts +13 -0
- package/lib/utils/index.d.ts +40 -0
- package/lib/withInstall.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
tableData: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
table: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => void;
|
|
9
|
+
};
|
|
10
|
+
btnPermissions: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
align: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
props: any;
|
|
20
|
+
checkIsShow: (scope: {
|
|
21
|
+
row: any;
|
|
22
|
+
}, item: {
|
|
23
|
+
noshow: any;
|
|
24
|
+
show: {
|
|
25
|
+
val: string | any[];
|
|
26
|
+
key: string | number;
|
|
27
|
+
};
|
|
28
|
+
hasPermi: any;
|
|
29
|
+
field: string | number;
|
|
30
|
+
isField: string | number;
|
|
31
|
+
}) => any;
|
|
32
|
+
$attrs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
hasMoreBind: any;
|
|
36
|
+
hasMoreOper: () => any;
|
|
37
|
+
readonly ArrowDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
RenderCol: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
39
|
+
row: ObjectConstructor;
|
|
40
|
+
render: FunctionConstructor;
|
|
41
|
+
index: NumberConstructor;
|
|
42
|
+
column: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
default: null;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
row: ObjectConstructor;
|
|
48
|
+
render: FunctionConstructor;
|
|
49
|
+
index: NumberConstructor;
|
|
50
|
+
column: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
default: null;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
column: Record<string, any>;
|
|
56
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
tableData: {
|
|
59
|
+
type: ArrayConstructor;
|
|
60
|
+
default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
table: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
default: () => void;
|
|
65
|
+
};
|
|
66
|
+
btnPermissions: {
|
|
67
|
+
type: ArrayConstructor;
|
|
68
|
+
default: () => never[];
|
|
69
|
+
};
|
|
70
|
+
align: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
table: Record<string, any>;
|
|
76
|
+
btnPermissions: unknown[];
|
|
77
|
+
align: string;
|
|
78
|
+
tableData: unknown[];
|
|
79
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
80
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
row: ObjectConstructor;
|
|
3
|
+
render: FunctionConstructor;
|
|
4
|
+
index: NumberConstructor;
|
|
5
|
+
column: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
row: ObjectConstructor;
|
|
11
|
+
render: FunctionConstructor;
|
|
12
|
+
index: NumberConstructor;
|
|
13
|
+
column: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
18
|
+
column: Record<string, any>;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
render: FunctionConstructor;
|
|
3
|
+
column: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
render: FunctionConstructor;
|
|
9
|
+
column: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
column: Record<string, any>;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/** 编辑配置项说明
|
|
3
|
+
* label: '爱好', // placeholder显示
|
|
4
|
+
* editComponent: 'el-select', // 组件
|
|
5
|
+
* type: 'select-arr', // option显示
|
|
6
|
+
* list: 'hobbyList', // 下拉选择数据源
|
|
7
|
+
* arrLabel: 'label', // 下拉选择中文显示
|
|
8
|
+
* arrKey: 'value' // 下拉选择number显示(最终传后台)
|
|
9
|
+
* bind:{} // 组件衍生属性(即第三方组件属性)
|
|
10
|
+
*/
|
|
11
|
+
configEdit: {
|
|
12
|
+
type: any;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
listTypeInfo: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
scope: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
prop: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
isClickEdit: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: (NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
|
|
33
|
+
};
|
|
34
|
+
indexColumns: (NumberConstructor | StringConstructor)[];
|
|
35
|
+
}>, {
|
|
36
|
+
props: any;
|
|
37
|
+
emits: (event: "handleEvent" | "update:modelValue", ...args: any[]) => void;
|
|
38
|
+
slots: Readonly<{
|
|
39
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
childCom: import("vue").Ref<string[], string[]>;
|
|
42
|
+
editMode: import("vue").Ref<boolean, boolean>;
|
|
43
|
+
tselecttableref: any;
|
|
44
|
+
handleRef: (el: any) => void;
|
|
45
|
+
resetClickTselectTable: () => void;
|
|
46
|
+
model: any;
|
|
47
|
+
cEvent: any;
|
|
48
|
+
childVal: import("vue").WritableComputedRef<any, any>;
|
|
49
|
+
compChildName: import("vue").ComputedRef<(configEdit: {
|
|
50
|
+
type: any;
|
|
51
|
+
}) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
|
|
52
|
+
compChildLabel: import("vue").ComputedRef<(configEdit: {
|
|
53
|
+
type: any;
|
|
54
|
+
arrLabel: any;
|
|
55
|
+
}, value: {
|
|
56
|
+
[x: string]: any;
|
|
57
|
+
value: any;
|
|
58
|
+
}) => any>;
|
|
59
|
+
compChildValue: import("vue").ComputedRef<(configEdit: {
|
|
60
|
+
type: any;
|
|
61
|
+
arrKey: any;
|
|
62
|
+
}, value: {
|
|
63
|
+
[x: string]: any;
|
|
64
|
+
value: any;
|
|
65
|
+
}, key: any) => any>;
|
|
66
|
+
compChildShowLabel: import("vue").ComputedRef<(configEdit: {
|
|
67
|
+
type: any;
|
|
68
|
+
arrLabel: any;
|
|
69
|
+
}, value: {
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
label: any;
|
|
72
|
+
}) => any>;
|
|
73
|
+
parentCom: import("vue").Ref<any, any>;
|
|
74
|
+
onFieldClick: () => void;
|
|
75
|
+
onInputExit: () => void;
|
|
76
|
+
getPlaceholder: (row: any) => any;
|
|
77
|
+
handleEvent: (type: any, val: any, comType: any) => void;
|
|
78
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue")[], "handleEvent" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
/** 编辑配置项说明
|
|
80
|
+
* label: '爱好', // placeholder显示
|
|
81
|
+
* editComponent: 'el-select', // 组件
|
|
82
|
+
* type: 'select-arr', // option显示
|
|
83
|
+
* list: 'hobbyList', // 下拉选择数据源
|
|
84
|
+
* arrLabel: 'label', // 下拉选择中文显示
|
|
85
|
+
* arrKey: 'value' // 下拉选择number显示(最终传后台)
|
|
86
|
+
* bind:{} // 组件衍生属性(即第三方组件属性)
|
|
87
|
+
*/
|
|
88
|
+
configEdit: {
|
|
89
|
+
type: any;
|
|
90
|
+
default: () => {};
|
|
91
|
+
};
|
|
92
|
+
listTypeInfo: {
|
|
93
|
+
type: ObjectConstructor;
|
|
94
|
+
default: () => {};
|
|
95
|
+
};
|
|
96
|
+
scope: {
|
|
97
|
+
type: ObjectConstructor;
|
|
98
|
+
default: () => {};
|
|
99
|
+
};
|
|
100
|
+
prop: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
isClickEdit: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
modelValue: {
|
|
109
|
+
type: (NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
|
|
110
|
+
};
|
|
111
|
+
indexColumns: (NumberConstructor | StringConstructor)[];
|
|
112
|
+
}>> & Readonly<{
|
|
113
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
}>, {
|
|
116
|
+
prop: string;
|
|
117
|
+
configEdit: any;
|
|
118
|
+
listTypeInfo: Record<string, any>;
|
|
119
|
+
scope: Record<string, any>;
|
|
120
|
+
isClickEdit: boolean;
|
|
121
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/** 编辑配置项说明
|
|
3
|
+
* label: '爱好', // placeholder显示
|
|
4
|
+
* editComponent: 'el-select', // 组件
|
|
5
|
+
* type: 'select-arr', // option显示
|
|
6
|
+
* list: 'hobbyList', // 下拉选择数据源
|
|
7
|
+
* arrLabel: 'label', // 下拉选择中文显示
|
|
8
|
+
* arrKey: 'value' // 下拉选择number显示(最终传后台)
|
|
9
|
+
* bind:{} // 组件衍生属性(即第三方组件属性)
|
|
10
|
+
*/
|
|
11
|
+
configEdit: {
|
|
12
|
+
type: any;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
listTypeInfo: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
scope: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
prop: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
isShowRules: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: (BooleanConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
|
|
33
|
+
};
|
|
34
|
+
indexColumns: (NumberConstructor | StringConstructor)[];
|
|
35
|
+
}>, {
|
|
36
|
+
props: any;
|
|
37
|
+
emits: (event: "handleEvent" | "getRefs" | "update:modelValue" | "keyupHandle", ...args: any[]) => void;
|
|
38
|
+
childValue: any;
|
|
39
|
+
handleEvent: (type: string) => void;
|
|
40
|
+
keyUpHandle: ($event: any) => void;
|
|
41
|
+
cEvent: any;
|
|
42
|
+
selectListType: import("vue").ComputedRef<(item: {
|
|
43
|
+
list: string | number;
|
|
44
|
+
}) => any>;
|
|
45
|
+
compChildName: import("vue").ComputedRef<(configEdit: {
|
|
46
|
+
type: any;
|
|
47
|
+
}) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
|
|
48
|
+
compChildLabel: import("vue").ComputedRef<(configEdit: {
|
|
49
|
+
type: any;
|
|
50
|
+
arrLabel: any;
|
|
51
|
+
}, value: {
|
|
52
|
+
[x: string]: any;
|
|
53
|
+
value: any;
|
|
54
|
+
}) => any>;
|
|
55
|
+
compChildValue: import("vue").ComputedRef<(configEdit: {
|
|
56
|
+
type: any;
|
|
57
|
+
arrKey: any;
|
|
58
|
+
}, value: {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
value: any;
|
|
61
|
+
}, key: any) => any>;
|
|
62
|
+
compChildShowLabel: import("vue").ComputedRef<(configEdit: {
|
|
63
|
+
type: any;
|
|
64
|
+
arrLabel: any;
|
|
65
|
+
}, value: {
|
|
66
|
+
[x: string]: any;
|
|
67
|
+
label: any;
|
|
68
|
+
}) => any>;
|
|
69
|
+
getRefs: (el: any, item: any) => void;
|
|
70
|
+
tselecttableref: any;
|
|
71
|
+
handleRef: (el: any, item: any) => void;
|
|
72
|
+
resetTselectTableFields: () => void;
|
|
73
|
+
getPlaceholder: (row: any) => any;
|
|
74
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "getRefs" | "update:modelValue" | "keyupHandle")[], "handleEvent" | "getRefs" | "update:modelValue" | "keyupHandle", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
+
/** 编辑配置项说明
|
|
76
|
+
* label: '爱好', // placeholder显示
|
|
77
|
+
* editComponent: 'el-select', // 组件
|
|
78
|
+
* type: 'select-arr', // option显示
|
|
79
|
+
* list: 'hobbyList', // 下拉选择数据源
|
|
80
|
+
* arrLabel: 'label', // 下拉选择中文显示
|
|
81
|
+
* arrKey: 'value' // 下拉选择number显示(最终传后台)
|
|
82
|
+
* bind:{} // 组件衍生属性(即第三方组件属性)
|
|
83
|
+
*/
|
|
84
|
+
configEdit: {
|
|
85
|
+
type: any;
|
|
86
|
+
default: () => {};
|
|
87
|
+
};
|
|
88
|
+
listTypeInfo: {
|
|
89
|
+
type: ObjectConstructor;
|
|
90
|
+
default: () => {};
|
|
91
|
+
};
|
|
92
|
+
scope: {
|
|
93
|
+
type: ObjectConstructor;
|
|
94
|
+
default: () => {};
|
|
95
|
+
};
|
|
96
|
+
prop: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
isShowRules: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
modelValue: {
|
|
105
|
+
type: (BooleanConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
|
|
106
|
+
};
|
|
107
|
+
indexColumns: (NumberConstructor | StringConstructor)[];
|
|
108
|
+
}>> & Readonly<{
|
|
109
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
onGetRefs?: ((...args: any[]) => any) | undefined;
|
|
111
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
112
|
+
onKeyupHandle?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
}>, {
|
|
114
|
+
prop: string;
|
|
115
|
+
configEdit: any;
|
|
116
|
+
listTypeInfo: Record<string, any>;
|
|
117
|
+
scope: Record<string, any>;
|
|
118
|
+
isShowRules: boolean;
|
|
119
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { PropType, ExtractPropTypes } from "vue";
|
|
2
|
+
export declare const tableProps: {
|
|
3
|
+
table: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default: () => {};
|
|
6
|
+
required: boolean;
|
|
7
|
+
};
|
|
8
|
+
columns: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
btnPermissions: {
|
|
13
|
+
type: ArrayConstructor;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
tableTitle: StringConstructor;
|
|
20
|
+
align: {
|
|
21
|
+
type: PropType<"left" | "center" | "right">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
isTree: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
isRowSort: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
isRowSortIcon: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
rowSortIconBind: {
|
|
37
|
+
type: ObjectConstructor;
|
|
38
|
+
default: () => {};
|
|
39
|
+
};
|
|
40
|
+
isCopy: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
rowClickRadio: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
defaultRadioCol: NumberConstructor;
|
|
49
|
+
isPaginationCumulative: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
isShowPagination: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
isShowFooterBtn: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
columnSetting: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
highlightCurrentRow: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
sortable: {
|
|
70
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
71
|
+
};
|
|
72
|
+
isKeyup: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
isSlotToolbar: BooleanConstructor;
|
|
77
|
+
isSlotTitle: BooleanConstructor;
|
|
78
|
+
border: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
tableLoading: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
loadingTxt: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
useVirtual: BooleanConstructor;
|
|
91
|
+
virtualShowSize: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
footerBtnAlign: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export type TTableProps = ExtractPropTypes<typeof tableProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function useExpose(): {
|
|
2
|
+
TTable: import("vue").Ref<any, any>;
|
|
3
|
+
clearSelection: () => any;
|
|
4
|
+
getSelectionRows: () => any;
|
|
5
|
+
toggleRowSelection: (row: any, selected?: boolean) => any;
|
|
6
|
+
toggleAllSelection: () => any;
|
|
7
|
+
toggleRowExpansion: (row: any, expanded: any) => any;
|
|
8
|
+
setCurrentRow: (row: any) => any;
|
|
9
|
+
clearSort: () => any;
|
|
10
|
+
clearFilter: (columnKey: any) => any;
|
|
11
|
+
doLayout: (columnKey: any) => any;
|
|
12
|
+
sort: (prop: string, order: string) => any;
|
|
13
|
+
scrollTo: (options: any, yCoord: any) => any;
|
|
14
|
+
setScrollTop: (top: any) => any;
|
|
15
|
+
setScrollLeft: (left: any) => any;
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Ref } from "vue";
|
|
2
|
+
export declare function useVirtualized(): {
|
|
3
|
+
scrollContainerEl: Ref<any, any>;
|
|
4
|
+
updateRenderedItemCache: (index: number) => void;
|
|
5
|
+
updateOffset: (offset: number) => void;
|
|
6
|
+
getDom: () => void;
|
|
7
|
+
getItemHeightFromCache: (index: number | string) => any;
|
|
8
|
+
saveDATA: Ref<any[], any[]>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const TTabs: ({
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
tabs: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
}>> & Readonly<{
|
|
9
|
+
onTabsChange?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
props: any;
|
|
12
|
+
slots: Readonly<{
|
|
13
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
activeName: import("vue").Ref<any, any>;
|
|
16
|
+
emit: (event: "tabsChange", ...args: any[]) => void;
|
|
17
|
+
setSelectedTab: (key: any) => void;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "tabsChange"[], import("vue").PublicProps, {
|
|
19
|
+
tabs: unknown[];
|
|
20
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
tabs: {
|
|
29
|
+
type: ArrayConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onTabsChange?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
props: any;
|
|
37
|
+
slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
activeName: import("vue").Ref<any, any>;
|
|
41
|
+
emit: (event: "tabsChange", ...args: any[]) => void;
|
|
42
|
+
setSelectedTab: (key: any) => void;
|
|
43
|
+
}, {}, {}, {}, {
|
|
44
|
+
tabs: unknown[];
|
|
45
|
+
}>;
|
|
46
|
+
__isFragment?: undefined;
|
|
47
|
+
__isTeleport?: undefined;
|
|
48
|
+
__isSuspense?: undefined;
|
|
49
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
tabs: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
required: true;
|
|
53
|
+
default: () => never[];
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{
|
|
56
|
+
onTabsChange?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
props: any;
|
|
59
|
+
slots: Readonly<{
|
|
60
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
activeName: import("vue").Ref<any, any>;
|
|
63
|
+
emit: (event: "tabsChange", ...args: any[]) => void;
|
|
64
|
+
setSelectedTab: (key: any) => void;
|
|
65
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "tabsChange"[], "tabsChange", {
|
|
66
|
+
tabs: unknown[];
|
|
67
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
|
|
68
|
+
export default TTabs;
|
|
69
|
+
export type { TTabsProps } from "./src/index.vue";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface TabItem {
|
|
2
|
+
key?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
bind?: Record<string, any>;
|
|
5
|
+
}
|
|
6
|
+
export interface TTabsProps {
|
|
7
|
+
tabs: TabItem[];
|
|
8
|
+
}
|
|
9
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
tabs: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
}>, {
|
|
16
|
+
props: any;
|
|
17
|
+
slots: Readonly<{
|
|
18
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
activeName: import("vue").Ref<any, any>;
|
|
21
|
+
emit: (event: "tabsChange", ...args: any[]) => void;
|
|
22
|
+
setSelectedTab: (key: any) => void;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "tabsChange"[], "tabsChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
tabs: {
|
|
25
|
+
type: ArrayConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
default: () => never[];
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{
|
|
30
|
+
onTabsChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
tabs: unknown[];
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
declare const TTimerBtn: ({
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
second: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
required: false;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
className: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
props: any;
|
|
17
|
+
time: import("vue").Ref<number, number>;
|
|
18
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
19
|
+
text: import("vue").ComputedRef<string>;
|
|
20
|
+
emits: (event: "click", ...args: any[]) => void;
|
|
21
|
+
run: () => void;
|
|
22
|
+
reset: () => void;
|
|
23
|
+
start: () => void;
|
|
24
|
+
timer: () => void;
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], import("vue").PublicProps, {
|
|
26
|
+
className: string;
|
|
27
|
+
second: number;
|
|
28
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
second: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
className: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{
|
|
47
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
props: any;
|
|
50
|
+
time: import("vue").Ref<number, number>;
|
|
51
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
52
|
+
text: import("vue").ComputedRef<string>;
|
|
53
|
+
emits: (event: "click", ...args: any[]) => void;
|
|
54
|
+
run: () => void;
|
|
55
|
+
reset: () => void;
|
|
56
|
+
start: () => void;
|
|
57
|
+
timer: () => void;
|
|
58
|
+
}, {}, {}, {}, {
|
|
59
|
+
className: string;
|
|
60
|
+
second: number;
|
|
61
|
+
}>;
|
|
62
|
+
__isFragment?: undefined;
|
|
63
|
+
__isTeleport?: undefined;
|
|
64
|
+
__isSuspense?: undefined;
|
|
65
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
66
|
+
second: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
required: false;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
className: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
}>> & Readonly<{
|
|
77
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
props: any;
|
|
80
|
+
time: import("vue").Ref<number, number>;
|
|
81
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
82
|
+
text: import("vue").ComputedRef<string>;
|
|
83
|
+
emits: (event: "click", ...args: any[]) => void;
|
|
84
|
+
run: () => void;
|
|
85
|
+
reset: () => void;
|
|
86
|
+
start: () => void;
|
|
87
|
+
timer: () => void;
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
89
|
+
className: string;
|
|
90
|
+
second: number;
|
|
91
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
|
|
92
|
+
export default TTimerBtn;
|