@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.
Files changed (118) hide show
  1. package/lib/adaptive-page/index.d.ts +17096 -0
  2. package/lib/adaptive-page/src/index.vue.d.ts +5731 -0
  3. package/lib/adaptive-page/src/type.d.ts +9 -0
  4. package/lib/button/index.d.ts +134 -0
  5. package/lib/button/src/index.vue.d.ts +67 -0
  6. package/lib/button/src/type.d.ts +10 -0
  7. package/lib/chart/index.d.ts +164 -0
  8. package/lib/chart/src/index.vue.d.ts +77 -0
  9. package/lib/chart/src/type.d.ts +7 -0
  10. package/lib/checkbox/index.d.ts +206 -0
  11. package/lib/checkbox/src/checkbox.d.ts +5 -0
  12. package/lib/checkbox/src/index.vue.d.ts +91 -0
  13. package/lib/components.d.ts +57 -0
  14. package/lib/date-picker/index.d.ts +170 -0
  15. package/lib/date-picker/src/index.vue.d.ts +77 -0
  16. package/lib/date-picker/src/type.d.ts +10 -0
  17. package/lib/detail/index.d.ts +182 -0
  18. package/lib/detail/src/index.vue.d.ts +88 -0
  19. package/lib/detail/src/renderLabel.vue.d.ts +8 -0
  20. package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
  21. package/lib/detail/src/type.d.ts +27 -0
  22. package/lib/favicon.ico +0 -0
  23. package/lib/form/index.d.ts +308 -0
  24. package/lib/form/src/index.vue.d.ts +125 -0
  25. package/lib/form/src/renderBtn.vue.d.ts +8 -0
  26. package/lib/form/src/renderComp.vue.d.ts +8 -0
  27. package/lib/form/src/type.d.ts +26 -0
  28. package/lib/index.d.ts +42 -0
  29. package/lib/input/index.d.ts +215 -0
  30. package/lib/input/src/index.vue.d.ts +109 -0
  31. package/lib/input/src/type.d.ts +13 -0
  32. package/lib/layout-page/index.d.ts +114 -0
  33. package/lib/layout-page/src/index.vue.d.ts +62 -0
  34. package/lib/layout-page-item/index.d.ts +35 -0
  35. package/lib/layout-page-item/src/index.vue.d.ts +14 -0
  36. package/lib/module-form/index.d.ts +530 -0
  37. package/lib/module-form/src/index.vue.d.ts +243 -0
  38. package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
  39. package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
  40. package/lib/module-form/src/type.d.ts +19 -0
  41. package/lib/pgz-checkbox/index.d.ts +149 -0
  42. package/lib/pgz-checkbox/src/index.vue.d.ts +65 -0
  43. package/lib/pgz-checkbox/src/type.d.ts +12 -0
  44. package/lib/pgz-comp-elep.es.js +39723 -0
  45. package/lib/pgz-comp-elep.es.js.gz +0 -0
  46. package/lib/pgz-comp-elep.umd.js +261 -0
  47. package/lib/pgz-comp-elep.umd.js.gz +0 -0
  48. package/lib/pgz-html-preview-modal/index.d.ts +77 -0
  49. package/lib/pgz-html-preview-modal/src/index.vue.d.ts +22 -0
  50. package/lib/pgz-html-preview-modal/src/type.d.ts +7 -0
  51. package/lib/pgz-search-select/index.d.ts +5 -0
  52. package/lib/pgz-search-select/src/index.vue.d.ts +194 -0
  53. package/lib/pgz-search-select/src/type.d.ts +16 -0
  54. package/lib/pgz-tdt-mark/index.d.ts +407 -0
  55. package/lib/pgz-tdt-mark/src/env.d.ts +7 -0
  56. package/lib/pgz-tdt-mark/src/index.vue.d.ts +167 -0
  57. package/lib/pgz-tdt-mark/src/props.d.ts +63 -0
  58. package/lib/pgz-tdt-mark/src/types/index.d.ts +1 -0
  59. package/lib/pgz-tdt-mark/src/types/tdt.d.ts +88 -0
  60. package/lib/pgz-tdt-ploygon/index.d.ts +401 -0
  61. package/lib/pgz-tdt-ploygon/src/env.d.ts +7 -0
  62. package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +164 -0
  63. package/lib/pgz-tdt-ploygon/src/props.d.ts +35 -0
  64. package/lib/pgz-tdt-ploygon/src/tmp-fix.d.ts +10 -0
  65. package/lib/pgz-tdt-ploygon/src/types/index.d.ts +1 -0
  66. package/lib/pgz-tdt-ploygon/src/types/tdt.d.ts +120 -0
  67. package/lib/pgz-tdt-ploygon/src/types.d.ts +27 -0
  68. package/lib/pgz-video-xg-modal/index.d.ts +181 -0
  69. package/lib/pgz-video-xg-modal/src/env.d.ts +7 -0
  70. package/lib/pgz-video-xg-modal/src/index.vue.d.ts +73 -0
  71. package/lib/pgz-video-xg-modal/src/types/xgplayer.d.ts +59 -0
  72. package/lib/query-condition/index.d.ts +701 -0
  73. package/lib/query-condition/src/index.vue.d.ts +326 -0
  74. package/lib/query-condition/src/moreChoose.vue.d.ts +37 -0
  75. package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
  76. package/lib/query-condition/src/type.d.ts +21 -0
  77. package/lib/query-condition/src/useComputed.d.ts +27 -0
  78. package/lib/radio/index.d.ts +206 -0
  79. package/lib/radio/src/index.vue.d.ts +91 -0
  80. package/lib/radio/src/radio.d.ts +12 -0
  81. package/lib/select/index.d.ts +371 -0
  82. package/lib/select/src/index.vue.d.ts +200 -0
  83. package/lib/select/src/type.d.ts +42 -0
  84. package/lib/select-icon/index.d.ts +174 -0
  85. package/lib/select-icon/src/index.vue.d.ts +89 -0
  86. package/lib/select-table/index.d.ts +2165 -0
  87. package/lib/select-table/src/index.vue.d.ts +963 -0
  88. package/lib/select-table/src/renderCol.vue.d.ts +20 -0
  89. package/lib/select-table/src/type.d.ts +56 -0
  90. package/lib/select-table/src/useVirtualized.d.ts +11 -0
  91. package/lib/step-wizard/index.d.ts +146 -0
  92. package/lib/step-wizard/src/index.vue.d.ts +71 -0
  93. package/lib/step-wizard/src/type.d.ts +25 -0
  94. package/lib/style.css +1 -0
  95. package/lib/style.css.gz +0 -0
  96. package/lib/table/index.d.ts +2540 -0
  97. package/lib/table/src/ColumnSet.vue.d.ts +148 -0
  98. package/lib/table/src/TTableColumn.vue.d.ts +173 -0
  99. package/lib/table/src/index.vue.d.ts +941 -0
  100. package/lib/table/src/operator.vue.d.ts +80 -0
  101. package/lib/table/src/renderCol.vue.d.ts +20 -0
  102. package/lib/table/src/renderHeader.vue.d.ts +16 -0
  103. package/lib/table/src/singleEdit.vue.d.ts +122 -0
  104. package/lib/table/src/singleEditCell.vue.d.ts +120 -0
  105. package/lib/table/src/tableProps.d.ts +100 -0
  106. package/lib/table/src/useExpose.d.ts +16 -0
  107. package/lib/table/src/useVirtualized.d.ts +9 -0
  108. package/lib/tabs/index.d.ts +69 -0
  109. package/lib/tabs/src/index.vue.d.ts +34 -0
  110. package/lib/timer-btn/index.d.ts +92 -0
  111. package/lib/timer-btn/src/index.vue.d.ts +43 -0
  112. package/lib/utils/directives/click-outside/index.d.ts +3 -0
  113. package/lib/utils/http/api.d.ts +76 -0
  114. package/lib/utils/http/index.d.ts +79 -0
  115. package/lib/utils/http/types.d.ts +13 -0
  116. package/lib/utils/index.d.ts +40 -0
  117. package/lib/withInstall.d.ts +4 -0
  118. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ render: FunctionConstructor;
3
+ item: ObjectConstructor;
4
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
+ render: FunctionConstructor;
6
+ item: ObjectConstructor;
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _sfc_main;
@@ -0,0 +1,8 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ render: FunctionConstructor;
3
+ item: ObjectConstructor;
4
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
+ render: FunctionConstructor;
6
+ item: ObjectConstructor;
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _sfc_main;
@@ -0,0 +1,27 @@
1
+ export interface DescItem {
2
+ span?: number;
3
+ bind?: Record<string, any>;
4
+ label?: string;
5
+ labelRender?: (item: any) => any;
6
+ slotName?: string;
7
+ tooltip?: string | ((item: any) => any);
8
+ placement?: string;
9
+ filters?: {
10
+ list: string;
11
+ key?: string;
12
+ label?: string;
13
+ };
14
+ value?: string | number;
15
+ unit?: string;
16
+ iconSize?: number;
17
+ iconColor?: string;
18
+ fieldName?: string;
19
+ }
20
+ export interface TDetailProps {
21
+ descColumn?: number;
22
+ dataList?: Record<string, any>;
23
+ listTypeInfo?: Record<string, any>;
24
+ descData: DescItem[];
25
+ isColon?: boolean;
26
+ isLabelBold?: boolean;
27
+ }
Binary file
@@ -0,0 +1,308 @@
1
+ import Form from "./src/index.vue";
2
+ declare const TForm: ({
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
+ className: {
5
+ type: StringConstructor;
6
+ required: false;
7
+ default: string;
8
+ };
9
+ formOpts: {
10
+ type: ObjectConstructor;
11
+ required: true;
12
+ default: () => any;
13
+ };
14
+ widthSize: {
15
+ type: NumberConstructor;
16
+ required: false;
17
+ default: number;
18
+ };
19
+ labelPosition: {
20
+ type: StringConstructor;
21
+ required: false;
22
+ default: string;
23
+ };
24
+ isTrim: {
25
+ type: BooleanConstructor;
26
+ required: false;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{
30
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
31
+ onGetRefs?: ((...args: any[]) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ }>, {
34
+ props: any;
35
+ cEvent: import("vue").ComputedRef<(item: {
36
+ eventHandle: any;
37
+ }, type?: string) => any>;
38
+ selectListType: import("vue").ComputedRef<(item: {
39
+ list: string | number;
40
+ }) => any>;
41
+ compChildName: import("vue").ComputedRef<(opt: {
42
+ type: any;
43
+ }) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
44
+ compChildLabel: import("vue").ComputedRef<(opt: {
45
+ type: any;
46
+ arrLabel: any;
47
+ }, value: {
48
+ [x: string]: any;
49
+ value: any;
50
+ }) => any>;
51
+ compChildValue: import("vue").ComputedRef<(opt: {
52
+ type: any;
53
+ arrKey: any;
54
+ }, value: {
55
+ [x: string]: any;
56
+ value: any;
57
+ }, key: any) => any>;
58
+ compChildShowLabel: import("vue").ComputedRef<(opt: {
59
+ type: any;
60
+ arrLabel: any;
61
+ }, value: {
62
+ [x: string]: any;
63
+ label: any;
64
+ }) => any>;
65
+ colSize: import("vue").Ref<any, any>;
66
+ tform: import("vue").Ref<any, any>;
67
+ instance: any;
68
+ emits: (event: "handleEvent" | "getRefs" | "update:modelValue", ...args: any[]) => void;
69
+ getChildWidth: (item: {
70
+ widthSize: any;
71
+ }) => string;
72
+ getPlaceholder: (row: any) => any;
73
+ handleEvent: (type: null, val: any, item: any, flag?: boolean) => void;
74
+ selfValidate: () => Promise<unknown>;
75
+ getRefs: (el: any, item: any, index: any) => void;
76
+ tselecttableref: import("vue").Ref<{}, {}>;
77
+ handleRef: (el: any, item: any, key: any) => void;
78
+ selfResetFields: () => void;
79
+ resetTselectTable: () => void;
80
+ RenderComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
81
+ render: FunctionConstructor;
82
+ item: ObjectConstructor;
83
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
+ render: FunctionConstructor;
85
+ item: ObjectConstructor;
86
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
87
+ RenderBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
88
+ render: FunctionConstructor;
89
+ item: ObjectConstructor;
90
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
+ render: FunctionConstructor;
92
+ item: ObjectConstructor;
93
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
94
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "getRefs" | "update:modelValue")[], import("vue").PublicProps, {
95
+ widthSize: number;
96
+ className: string;
97
+ formOpts: Record<string, any>;
98
+ labelPosition: string;
99
+ isTrim: boolean;
100
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
101
+ P: {};
102
+ B: {};
103
+ D: {};
104
+ C: {};
105
+ M: {};
106
+ Defaults: {};
107
+ }, Readonly<import("vue").ExtractPropTypes<{
108
+ className: {
109
+ type: StringConstructor;
110
+ required: false;
111
+ default: string;
112
+ };
113
+ formOpts: {
114
+ type: ObjectConstructor;
115
+ required: true;
116
+ default: () => any;
117
+ };
118
+ widthSize: {
119
+ type: NumberConstructor;
120
+ required: false;
121
+ default: number;
122
+ };
123
+ labelPosition: {
124
+ type: StringConstructor;
125
+ required: false;
126
+ default: string;
127
+ };
128
+ isTrim: {
129
+ type: BooleanConstructor;
130
+ required: false;
131
+ default: boolean;
132
+ };
133
+ }>> & Readonly<{
134
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
135
+ onGetRefs?: ((...args: any[]) => any) | undefined;
136
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
137
+ }>, {
138
+ props: any;
139
+ cEvent: import("vue").ComputedRef<(item: {
140
+ eventHandle: any;
141
+ }, type?: string) => any>;
142
+ selectListType: import("vue").ComputedRef<(item: {
143
+ list: string | number;
144
+ }) => any>;
145
+ compChildName: import("vue").ComputedRef<(opt: {
146
+ type: any;
147
+ }) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
148
+ compChildLabel: import("vue").ComputedRef<(opt: {
149
+ type: any;
150
+ arrLabel: any;
151
+ }, value: {
152
+ [x: string]: any;
153
+ value: any;
154
+ }) => any>;
155
+ compChildValue: import("vue").ComputedRef<(opt: {
156
+ type: any;
157
+ arrKey: any;
158
+ }, value: {
159
+ [x: string]: any;
160
+ value: any;
161
+ }, key: any) => any>;
162
+ compChildShowLabel: import("vue").ComputedRef<(opt: {
163
+ type: any;
164
+ arrLabel: any;
165
+ }, value: {
166
+ [x: string]: any;
167
+ label: any;
168
+ }) => any>;
169
+ colSize: import("vue").Ref<any, any>;
170
+ tform: import("vue").Ref<any, any>;
171
+ instance: any;
172
+ emits: (event: "handleEvent" | "getRefs" | "update:modelValue", ...args: any[]) => void;
173
+ getChildWidth: (item: {
174
+ widthSize: any;
175
+ }) => string;
176
+ getPlaceholder: (row: any) => any;
177
+ handleEvent: (type: null, val: any, item: any, flag?: boolean) => void;
178
+ selfValidate: () => Promise<unknown>;
179
+ getRefs: (el: any, item: any, index: any) => void;
180
+ tselecttableref: import("vue").Ref<{}, {}>;
181
+ handleRef: (el: any, item: any, key: any) => void;
182
+ selfResetFields: () => void;
183
+ resetTselectTable: () => void;
184
+ RenderComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
185
+ render: FunctionConstructor;
186
+ item: ObjectConstructor;
187
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
188
+ render: FunctionConstructor;
189
+ item: ObjectConstructor;
190
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
191
+ RenderBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
192
+ render: FunctionConstructor;
193
+ item: ObjectConstructor;
194
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
195
+ render: FunctionConstructor;
196
+ item: ObjectConstructor;
197
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
198
+ }, {}, {}, {}, {
199
+ widthSize: number;
200
+ className: string;
201
+ formOpts: Record<string, any>;
202
+ labelPosition: string;
203
+ isTrim: boolean;
204
+ }>;
205
+ __isFragment?: undefined;
206
+ __isTeleport?: undefined;
207
+ __isSuspense?: undefined;
208
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
209
+ className: {
210
+ type: StringConstructor;
211
+ required: false;
212
+ default: string;
213
+ };
214
+ formOpts: {
215
+ type: ObjectConstructor;
216
+ required: true;
217
+ default: () => any;
218
+ };
219
+ widthSize: {
220
+ type: NumberConstructor;
221
+ required: false;
222
+ default: number;
223
+ };
224
+ labelPosition: {
225
+ type: StringConstructor;
226
+ required: false;
227
+ default: string;
228
+ };
229
+ isTrim: {
230
+ type: BooleanConstructor;
231
+ required: false;
232
+ default: boolean;
233
+ };
234
+ }>> & Readonly<{
235
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
236
+ onGetRefs?: ((...args: any[]) => any) | undefined;
237
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
238
+ }>, {
239
+ props: any;
240
+ cEvent: import("vue").ComputedRef<(item: {
241
+ eventHandle: any;
242
+ }, type?: string) => any>;
243
+ selectListType: import("vue").ComputedRef<(item: {
244
+ list: string | number;
245
+ }) => any>;
246
+ compChildName: import("vue").ComputedRef<(opt: {
247
+ type: any;
248
+ }) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
249
+ compChildLabel: import("vue").ComputedRef<(opt: {
250
+ type: any;
251
+ arrLabel: any;
252
+ }, value: {
253
+ [x: string]: any;
254
+ value: any;
255
+ }) => any>;
256
+ compChildValue: import("vue").ComputedRef<(opt: {
257
+ type: any;
258
+ arrKey: any;
259
+ }, value: {
260
+ [x: string]: any;
261
+ value: any;
262
+ }, key: any) => any>;
263
+ compChildShowLabel: import("vue").ComputedRef<(opt: {
264
+ type: any;
265
+ arrLabel: any;
266
+ }, value: {
267
+ [x: string]: any;
268
+ label: any;
269
+ }) => any>;
270
+ colSize: import("vue").Ref<any, any>;
271
+ tform: import("vue").Ref<any, any>;
272
+ instance: any;
273
+ emits: (event: "handleEvent" | "getRefs" | "update:modelValue", ...args: any[]) => void;
274
+ getChildWidth: (item: {
275
+ widthSize: any;
276
+ }) => string;
277
+ getPlaceholder: (row: any) => any;
278
+ handleEvent: (type: null, val: any, item: any, flag?: boolean) => void;
279
+ selfValidate: () => Promise<unknown>;
280
+ getRefs: (el: any, item: any, index: any) => void;
281
+ tselecttableref: import("vue").Ref<{}, {}>;
282
+ handleRef: (el: any, item: any, key: any) => void;
283
+ selfResetFields: () => void;
284
+ resetTselectTable: () => void;
285
+ RenderComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
286
+ render: FunctionConstructor;
287
+ item: ObjectConstructor;
288
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
289
+ render: FunctionConstructor;
290
+ item: ObjectConstructor;
291
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
292
+ RenderBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
293
+ render: FunctionConstructor;
294
+ item: ObjectConstructor;
295
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
296
+ render: FunctionConstructor;
297
+ item: ObjectConstructor;
298
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
299
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "getRefs" | "update:modelValue")[], "handleEvent" | "getRefs" | "update:modelValue", {
300
+ widthSize: number;
301
+ className: string;
302
+ formOpts: Record<string, any>;
303
+ labelPosition: string;
304
+ isTrim: boolean;
305
+ }, {}, 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>;
306
+ export default TForm;
307
+ export type TFormInstance = InstanceType<typeof Form>;
308
+ export * from './src/type';
@@ -0,0 +1,125 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ className: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ default: string;
6
+ };
7
+ formOpts: {
8
+ type: ObjectConstructor;
9
+ required: true;
10
+ default: () => any;
11
+ };
12
+ widthSize: {
13
+ type: NumberConstructor;
14
+ required: false;
15
+ default: number;
16
+ };
17
+ labelPosition: {
18
+ type: StringConstructor;
19
+ required: false;
20
+ default: string;
21
+ };
22
+ isTrim: {
23
+ type: BooleanConstructor;
24
+ required: false;
25
+ default: boolean;
26
+ };
27
+ }>, {
28
+ props: any;
29
+ cEvent: import("vue").ComputedRef<(item: {
30
+ eventHandle: any;
31
+ }, type?: string) => any>;
32
+ selectListType: import("vue").ComputedRef<(item: {
33
+ list: string | number;
34
+ }) => any>;
35
+ compChildName: import("vue").ComputedRef<(opt: {
36
+ type: any;
37
+ }) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
38
+ compChildLabel: import("vue").ComputedRef<(opt: {
39
+ type: any;
40
+ arrLabel: any;
41
+ }, value: {
42
+ [x: string]: any;
43
+ value: any;
44
+ }) => any>;
45
+ compChildValue: import("vue").ComputedRef<(opt: {
46
+ type: any;
47
+ arrKey: any;
48
+ }, value: {
49
+ [x: string]: any;
50
+ value: any;
51
+ }, key: any) => any>;
52
+ compChildShowLabel: import("vue").ComputedRef<(opt: {
53
+ type: any;
54
+ arrLabel: any;
55
+ }, value: {
56
+ [x: string]: any;
57
+ label: any;
58
+ }) => any>;
59
+ colSize: import("vue").Ref<any, any>;
60
+ tform: import("vue").Ref<any, any>;
61
+ instance: any;
62
+ emits: (event: "handleEvent" | "getRefs" | "update:modelValue", ...args: any[]) => void;
63
+ getChildWidth: (item: {
64
+ widthSize: any;
65
+ }) => string;
66
+ getPlaceholder: (row: any) => any;
67
+ handleEvent: (type: null, val: any, item: any, flag?: boolean) => void;
68
+ selfValidate: () => Promise<unknown>;
69
+ getRefs: (el: any, item: any, index: any) => void;
70
+ tselecttableref: import("vue").Ref<{}, {}>;
71
+ handleRef: (el: any, item: any, key: any) => void;
72
+ selfResetFields: () => void;
73
+ resetTselectTable: () => void;
74
+ RenderComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
75
+ render: FunctionConstructor;
76
+ item: ObjectConstructor;
77
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
+ render: FunctionConstructor;
79
+ item: ObjectConstructor;
80
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
+ RenderBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
82
+ render: FunctionConstructor;
83
+ item: ObjectConstructor;
84
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
85
+ render: FunctionConstructor;
86
+ item: ObjectConstructor;
87
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
88
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "getRefs" | "update:modelValue")[], "handleEvent" | "getRefs" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
89
+ className: {
90
+ type: StringConstructor;
91
+ required: false;
92
+ default: string;
93
+ };
94
+ formOpts: {
95
+ type: ObjectConstructor;
96
+ required: true;
97
+ default: () => any;
98
+ };
99
+ widthSize: {
100
+ type: NumberConstructor;
101
+ required: false;
102
+ default: number;
103
+ };
104
+ labelPosition: {
105
+ type: StringConstructor;
106
+ required: false;
107
+ default: string;
108
+ };
109
+ isTrim: {
110
+ type: BooleanConstructor;
111
+ required: false;
112
+ default: boolean;
113
+ };
114
+ }>> & Readonly<{
115
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
116
+ onGetRefs?: ((...args: any[]) => any) | undefined;
117
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
118
+ }>, {
119
+ widthSize: number;
120
+ className: string;
121
+ formOpts: Record<string, any>;
122
+ labelPosition: string;
123
+ isTrim: boolean;
124
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
125
+ export default _sfc_main;
@@ -0,0 +1,8 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ render: FunctionConstructor;
3
+ item: ObjectConstructor;
4
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
+ render: FunctionConstructor;
6
+ item: ObjectConstructor;
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _sfc_main;
@@ -0,0 +1,8 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ render: FunctionConstructor;
3
+ item: ObjectConstructor;
4
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
+ render: FunctionConstructor;
6
+ item: ObjectConstructor;
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _sfc_main;
@@ -0,0 +1,26 @@
1
+ import type { FormProps } from 'element-plus';
2
+ import type { Mutable } from 'element-plus/es/utils';
3
+ export interface FormOpts {
4
+ formData: Record<string, any>;
5
+ rules?: Record<string, any>;
6
+ fieldList: Array<any>;
7
+ operatorList?: Array<{
8
+ label: string;
9
+ fun: Function;
10
+ bind?: Record<string, any>;
11
+ isHideBtn?: boolean;
12
+ render?: Function;
13
+ }>;
14
+ listTypeInfo?: Record<string, any[]>;
15
+ labelWidth?: string;
16
+ btnSlotName?: string;
17
+ labelPosition?: "left" | "right" | "top";
18
+ }
19
+ export interface TFormSelfProps {
20
+ className?: string;
21
+ formOpts: FormOpts;
22
+ widthSize?: 1 | 2 | 3 | 4 | 5 | 6;
23
+ labelPosition?: "left" | "right" | "top";
24
+ isTrim?: boolean;
25
+ }
26
+ export type TFormProps = TFormSelfProps & Partial<Mutable<FormProps>>;
package/lib/index.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ import { debounce, throttle, formatNumber } from "./utils";
2
+ import { setupHttp } from "./utils/http";
3
+ import type { App } from "vue";
4
+ import TLayoutPage from "./layout-page";
5
+ import TLayoutPageItem from "./layout-page-item";
6
+ import TQueryCondition from "./query-condition";
7
+ import TTable from "./table";
8
+ import TForm from "./form";
9
+ import TSelect from "./select";
10
+ import TSelectTable from "./select-table";
11
+ import TDetail from "./detail";
12
+ import TButton from "./button";
13
+ import TStepWizard from "./step-wizard";
14
+ import TTimerBtn from "./timer-btn";
15
+ import TModuleForm from "./module-form";
16
+ import TAdaptivePage from "./adaptive-page";
17
+ import TDatePicker from "./date-picker";
18
+ import TRadio from "./radio";
19
+ import TCheckbox from "./checkbox";
20
+ import TChart from "./chart";
21
+ import TTabs from "./tabs";
22
+ import TSelectIcon from "./select-icon";
23
+ import TInput from "./input";
24
+ import PgzCheckbox from "./pgz-checkbox";
25
+ import PgzHtmlPreviewModal from "./pgz-html-preview-modal";
26
+ import PgzSearchSelect from "./pgz-search-select";
27
+ import PgzTdtMark from "./pgz-tdt-mark";
28
+ import PgzTdtPloygon from "./pgz-tdt-ploygon";
29
+ import PgzVideoXgModal from "./pgz-video-xg-modal";
30
+ declare const TuiPlus: {
31
+ install(app: App): void;
32
+ };
33
+ export { TLayoutPage, TLayoutPageItem, TQueryCondition, TTable, TForm, TSelect, TSelectTable, TDetail, TButton, TStepWizard, TTimerBtn, TModuleForm, TAdaptivePage, TDatePicker, TRadio, TCheckbox, TChart, TTabs, TSelectIcon, TInput, PgzCheckbox, PgzHtmlPreviewModal, PgzSearchSelect, PgzTdtMark, PgzVideoXgModal, PgzTdtPloygon };
34
+ /**
35
+ * @description 公共方法
36
+ */
37
+ export { throttle, debounce, formatNumber, setupHttp };
38
+ /**
39
+ * @description 兼容配置方式
40
+ */
41
+ export declare function setupClientId(clientId: string): void;
42
+ export default TuiPlus;