meixioacomponent 2.0.32 → 2.0.33

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 (70) hide show
  1. package/lib/components/index.d.ts +4 -1
  2. package/lib/components/index.d.ts.map +1 -1
  3. package/lib/components/index.js +12 -2
  4. package/lib/config/componentConfig.js +1 -1
  5. package/lib/config/use/UseImg.d.ts.map +1 -1
  6. package/lib/config/use/UseImg.js +2 -0
  7. package/lib/config/use/{useWait.d.ts → UseWait.d.ts} +1 -1
  8. package/lib/config/use/UseWait.d.ts.map +1 -0
  9. package/lib/config/use/useConfirm/UseConfirm.d.ts +7 -0
  10. package/lib/config/use/useConfirm/UseConfirm.d.ts.map +1 -0
  11. package/lib/config/use/useConfirm/UseConfirm.js +33 -0
  12. package/lib/config/use/useConfirm/UseNotify.d.ts +7 -0
  13. package/lib/config/use/useConfirm/UseNotify.d.ts.map +1 -0
  14. package/lib/config/use/useConfirm/UseNotify.js +18 -0
  15. package/lib/config/use/useConfirm/executeConfirm.d.ts +3 -0
  16. package/lib/config/use/useConfirm/executeConfirm.d.ts.map +1 -0
  17. package/lib/config/use/useConfirm/executeConfirm.js +11 -0
  18. package/lib/config/use/useConfirm/registerConfirm.d.ts +5 -0
  19. package/lib/config/use/useConfirm/registerConfirm.d.ts.map +1 -0
  20. package/lib/config/use/useConfirm/registerConfirm.js +8 -0
  21. package/lib/meixioacomponent.common.js +703 -407
  22. package/lib/meixioacomponent.umd.js +701 -405
  23. package/lib/meixioacomponent.umd.min.js +2 -2
  24. package/lib/style/tableStyle.less +7 -14
  25. package/lib/style/tdesignStyle.less +5 -2
  26. package/lib/typings/type.d.ts +11 -0
  27. package/lib/typings/type.d.ts.map +1 -1
  28. package/package.json +1 -1
  29. package/packages/components/base/baseArea/baseArea.vue +17 -6
  30. package/packages/components/base/baseDialog/index.vue +37 -15
  31. package/packages/components/base/baseDrawer/index.vue +6 -1
  32. package/packages/components/base/baseNumberInput/index.vue +52 -18
  33. package/packages/components/base/basePlainTable/basePlainTable.vue +40 -21
  34. package/packages/components/base/basePopoverButton/index.vue +16 -14
  35. package/packages/components/base/baseSection/baseSection.vue +1 -1
  36. package/packages/components/base/baseText/index.vue +20 -2
  37. package/packages/components/base/baseTreeSelect/index.vue +25 -15
  38. package/packages/components/base/baseUploadTemplate/index.vue +6 -4
  39. package/packages/components/base/baseWait/index.vue +1 -1
  40. package/packages/components/index.js +13 -3
  41. package/packages/components/index.ts +12 -1
  42. package/packages/components/mixins/tableSectionMixins.js +6 -3
  43. package/packages/components/proForm/dialogForm/baseDialogForm.vue +19 -19
  44. package/packages/components/proForm/proForm/proFormItem/pro_form_item.vue +11 -6
  45. package/packages/components/proForm/proForm/pro_form.vue +13 -18
  46. package/packages/components/proPageTable/oaProTableSearch/oa_pro_screen_item.vue +2 -2
  47. package/packages/components/proPageTable/oa_pro_colum_config.vue +2 -4
  48. package/packages/components/proPageTable/oa_pro_table.vue +27 -9
  49. package/packages/components/searchHeader/searchHeader.vue +6 -7
  50. package/packages/components/style/tableStyle.less +7 -14
  51. package/packages/components/style/tdesignStyle.less +5 -2
  52. package/packages/config/componentConfig.js +1 -1
  53. package/packages/config/componentConfig.ts +1 -1
  54. package/packages/config/use/UseImg.js +3 -1
  55. package/packages/config/use/UseImg.ts +3 -1
  56. package/packages/config/use/useConfirm/UseConfirm.js +31 -0
  57. package/packages/config/use/useConfirm/UseConfirm.ts +35 -0
  58. package/packages/config/use/useConfirm/UseNotify.js +16 -0
  59. package/packages/config/use/useConfirm/UseNotify.ts +19 -0
  60. package/packages/config/use/useConfirm/executeConfirm.js +8 -0
  61. package/packages/config/use/useConfirm/executeConfirm.ts +6 -0
  62. package/packages/config/use/useConfirm/registerConfirm.js +8 -0
  63. package/packages/config/use/useConfirm/registerConfirm.ts +8 -0
  64. package/packages/typings/type.ts +361 -346
  65. package/lib/config/use/useWait.d.ts.map +0 -1
  66. package/packages/components/base/baseComment.zip +0 -0
  67. package/packages/config/useElement.js +0 -120
  68. /package/lib/config/use/{useWait.js → UseWait.js} +0 -0
  69. /package/packages/config/use/{useWait.js → UseWait.js} +0 -0
  70. /package/packages/config/use/{useWait.ts → UseWait.ts} +0 -0
@@ -1,152 +1,152 @@
1
1
  export declare type pagePropsType = {
2
- total: number;
3
- size: number;
4
- current: number;
2
+ total: number;
3
+ size: number;
4
+ current: number;
5
5
  };
6
6
 
7
7
  export declare type pageConfigType = {
8
- size: string;
9
- page: string;
10
- total: string;
8
+ size: string;
9
+ page: string;
10
+ total: string;
11
11
  };
12
12
 
13
13
  export declare interface LinkViewClassInterface {
14
- delFn: null | Function;
15
- exportFn: null | Function;
16
- pageProps: pagePropsType;
17
- activeIndex: number;
18
- pageConfig: null | pageConfigType;
19
- tablePermission: { value: boolean; key: string };
20
- editPermission: { value: boolean; key: string };
21
- delPermission: { value: boolean; key: string };
22
- addPermission: { value: boolean; key: string };
23
- refreshTableData: null | Function;
24
- isLocalTablePagination:string|null
14
+ delFn: null | Function;
15
+ exportFn: null | Function;
16
+ pageProps: pagePropsType;
17
+ activeIndex: number;
18
+ pageConfig: null | pageConfigType;
19
+ tablePermission: { value: boolean; key: string };
20
+ editPermission: { value: boolean; key: string };
21
+ delPermission: { value: boolean; key: string };
22
+ addPermission: { value: boolean; key: string };
23
+ refreshTableData: null | Function;
24
+ isLocalTablePagination: string | null
25
25
  }
26
26
 
27
27
 
28
- export declare interface LinkViewClassParamsInterface {
29
- permissions:string[],
30
- isLocalTablePagination:string
28
+ export declare interface LinkViewClassParamsInterface {
29
+ permissions: string[],
30
+ isLocalTablePagination: string
31
31
  }
32
32
 
33
33
  export declare type DynamicMountParams = {
34
- /**
35
- * 需要挂载的dom节点
36
- */
37
- mountedDom?: HTMLElement | null;
38
- /**
39
- * vue组件
40
- */
41
- vueComponent: object;
42
- /**
43
- * 传入挂载组件的props
44
- */
45
- componentProps: object | null;
46
- /**
47
- * 承载组件的节点容器
48
- */
49
- zIndex: number | string;
50
-
51
- customClassName:string
34
+ /**
35
+ * 需要挂载的dom节点
36
+ */
37
+ mountedDom?: HTMLElement | null;
38
+ /**
39
+ * vue组件
40
+ */
41
+ vueComponent: object;
42
+ /**
43
+ * 传入挂载组件的props
44
+ */
45
+ componentProps: object | null;
46
+ /**
47
+ * 承载组件的节点容器
48
+ */
49
+ zIndex: number | string;
50
+
51
+ customClassName: string
52
52
  };
53
53
 
54
54
  export declare interface DynamicMountInterface {
55
- params: DynamicMountParams;
56
- domComponent: any;
57
- refComponent: any;
58
- mountdCb: Function | null;
59
- destroyCb: Function | null;
60
- init: () => void;
61
- getComponent: () => object;
62
- on: (type: "mounted" | "destroyed", cb: Function) => void;
55
+ params: DynamicMountParams;
56
+ domComponent: any;
57
+ refComponent: any;
58
+ mountdCb: Function | null;
59
+ destroyCb: Function | null;
60
+ init: () => void;
61
+ getComponent: () => object;
62
+ on: (type: "mounted" | "destroyed", cb: Function) => void;
63
63
  }
64
64
 
65
65
  export declare type componentConfigType = {
66
- /**
67
- * vuex
68
- */
69
- store: object;
70
- /**
71
- * vue 路由
72
- */
73
- router: object;
74
- /**
75
- * 组件内部使用 用于记录动态生成了多少组件
76
- */
77
- dynamicId: number;
78
- /**
79
- * 上传路径
80
- */
81
- uploadUrl: string;
82
- /**
83
- * 上传路径前缀
84
- */
85
- uploadPrefix: string;
86
- /**
87
- * Vue2的跨组件通信
88
- */
89
- eventBus: any;
90
- /**
91
- * 组件全局管理select控件
92
- */
93
- selectStore: any;
94
- /**
95
- * 动态生成组件的方法
96
- */
97
- LinkViewClass: any;
98
-
99
- /**
100
- * 当调用oss上传后的后端校验接口
101
- */
102
- ossUploadEdAuthCallback: Function | null;
103
-
104
- Vue: any;
105
- /**
106
- * 管理弹窗组件隐藏
107
- */
108
- dialogCacheComponent: object;
109
- uploadStoreList: string[];
110
- setDynamicId: () => void;
111
- setUploadPrefix: (url: string) => void;
112
- setUploadUrl: (
113
- storeType: string | number,
114
- uploadType: string | number
115
- ) => void;
116
- setOssUploadEdAuthCallBack: (callback: Function) => void;
117
-
118
- setUploadCustomUrl: (url: string) => void;
119
- initConfig: (_store: object, _router: object) => void;
120
- registerModuleOfCacheDialog: (_store: object) => void;
121
- createDialogCacheWrap: () => void;
66
+ /**
67
+ * vuex
68
+ */
69
+ store: object;
70
+ /**
71
+ * vue 路由
72
+ */
73
+ router: object;
74
+ /**
75
+ * 组件内部使用 用于记录动态生成了多少组件
76
+ */
77
+ dynamicId: number;
78
+ /**
79
+ * 上传路径
80
+ */
81
+ uploadUrl: string;
82
+ /**
83
+ * 上传路径前缀
84
+ */
85
+ uploadPrefix: string;
86
+ /**
87
+ * Vue2的跨组件通信
88
+ */
89
+ eventBus: any;
90
+ /**
91
+ * 组件全局管理select控件
92
+ */
93
+ selectStore: any;
94
+ /**
95
+ * 动态生成组件的方法
96
+ */
97
+ LinkViewClass: any;
98
+
99
+ /**
100
+ * 当调用oss上传后的后端校验接口
101
+ */
102
+ ossUploadEdAuthCallback: Function | null;
103
+
104
+ Vue: any;
105
+ /**
106
+ * 管理弹窗组件隐藏
107
+ */
108
+ dialogCacheComponent: object;
109
+ uploadStoreList: string[];
110
+ setDynamicId: () => void;
111
+ setUploadPrefix: (url: string) => void;
112
+ setUploadUrl: (
113
+ storeType: string | number,
114
+ uploadType: string | number
115
+ ) => void;
116
+ setOssUploadEdAuthCallBack: (callback: Function) => void;
117
+
118
+ setUploadCustomUrl: (url: string) => void;
119
+ initConfig: (_store: object, _router: object) => void;
120
+ registerModuleOfCacheDialog: (_store: object) => void;
121
+ createDialogCacheWrap: () => void;
122
122
  };
123
123
 
124
124
  export declare type useWaitParamsType = {
125
- attach: null | HTMLElement | string;
126
- duration: number;
127
- showOverlay: boolean;
128
- waitText: "正在加载中,请稍后。。。" | string;
125
+ attach: null | HTMLElement | string;
126
+ duration: number;
127
+ showOverlay: boolean;
128
+ waitText: "正在加载中,请稍后。。。" | string;
129
129
  };
130
130
 
131
131
  export declare interface WaitPluginInterface {
132
- attach?: null | HTMLElement | string;
133
- duration: number;
134
- showOverlay: boolean;
135
- waitText: "正在加载中,请稍后。。。" | string;
136
- componentInstance: null | DynamicMountInterface;
137
- downTrigger: NodeJS.Timeout | null;
138
- attachEl: HTMLElement | null | string;
139
- attachScrollStatusStyle: string | null;
132
+ attach?: null | HTMLElement | string;
133
+ duration: number;
134
+ showOverlay: boolean;
135
+ waitText: "正在加载中,请稍后。。。" | string;
136
+ componentInstance: null | DynamicMountInterface;
137
+ downTrigger: NodeJS.Timeout | null;
138
+ attachEl: HTMLElement | null | string;
139
+ attachScrollStatusStyle: string | null;
140
140
  }
141
141
 
142
142
  export declare interface UserImgInterface {
143
- dynamicMount: DynamicMountInterface | null;
144
- toView: (list: any[]) => void;
143
+ dynamicMount: DynamicMountInterface | null;
144
+ toView: (list: any[]) => void;
145
145
  }
146
146
 
147
147
  export declare interface UseViewVideoInterface {
148
- component: null | DynamicMountInterface;
149
- playVideo: (resource: string) => void;
148
+ component: null | DynamicMountInterface;
149
+ playVideo: (resource: string) => void;
150
150
  }
151
151
 
152
152
  /**
@@ -156,282 +156,297 @@ export declare interface UseViewVideoInterface {
156
156
  declare type awaitFn = (cb: Function, value: number) => {};
157
157
 
158
158
  export declare type GuideStepsType = {
159
- /**
160
- * 引导的标题
161
- */
162
- title: string;
163
- /**
164
- * 主体内容
165
- */
166
- body: string;
167
- /**
168
- * 需要挂载的element的节点 可以是classname或者id id需要#开头
169
- */
170
- element: string;
171
- /**
172
- * 提示出现的位置
173
- */
174
- placement?: "bottom-right" | "bottom-left" | "top-left";
175
- /**
176
- * 异步方法
177
- */
178
- awaitFn?: awaitFn;
159
+ /**
160
+ * 引导的标题
161
+ */
162
+ title: string;
163
+ /**
164
+ * 主体内容
165
+ */
166
+ body: string;
167
+ /**
168
+ * 需要挂载的element的节点 可以是classname或者id id需要#开头
169
+ */
170
+ element: string;
171
+ /**
172
+ * 提示出现的位置
173
+ */
174
+ placement?: "bottom-right" | "bottom-left" | "top-left";
175
+ /**
176
+ * 异步方法
177
+ */
178
+ awaitFn?: awaitFn;
179
179
  };
180
180
 
181
181
  export declare interface GuideControlInterface {
182
- isOverlay: boolean;
183
- steps: GuideStepsType[];
184
- show: boolean;
185
- component: any;
186
- current: number;
187
- guideLightLight?: DynamicMountInterface | null;
188
- guideContent?: DynamicMountInterface | null;
189
- guideLightPosition: string | null;
182
+ isOverlay: boolean;
183
+ steps: GuideStepsType[];
184
+ show: boolean;
185
+ component: any;
186
+ current: number;
187
+ guideLightLight?: DynamicMountInterface | null;
188
+ guideContent?: DynamicMountInterface | null;
189
+ guideLightPosition: string | null;
190
190
  }
191
191
 
192
192
  export declare interface UseGuideInterface {
193
- guideComponent: DynamicMountInterface | null;
194
- startGuide: (params: UseGuideParamsType) => void;
193
+ guideComponent: DynamicMountInterface | null;
194
+ startGuide: (params: UseGuideParamsType) => void;
195
195
  }
196
196
 
197
197
  export declare type UseGuideParamsType = {
198
- /**
199
- * 遮罩层的层级
200
- */
201
- zIndex?: 9999 | number;
202
- /**
203
- * 默认第几步了
204
- */
205
- defaultCurrent?: 0 | number;
206
- /**
207
- * 引导总的步骤
208
- */
209
- steps: GuideStepsType[];
210
- /**
211
- * 当引导步骤变化的函数
212
- */
213
- onChange?: Function;
214
- /**
215
- * 当引导结束后
216
- */
217
- onFinish?: Function;
218
- /**
219
- * 当点击跳过按钮时
220
- */
221
- onSkip?: Function;
222
- /**
223
- * 点击下一步按钮时
224
- */
225
- onNextStepClick?: Function;
226
- /**
227
- * 点击上一步按钮时
228
- */
229
- onPrevStepClick?: Function;
230
-
231
- /**
232
- * 是否开启显示步骤
233
- */
234
- useStepShow?: false | boolean;
198
+ /**
199
+ * 遮罩层的层级
200
+ */
201
+ zIndex?: 9999 | number;
202
+ /**
203
+ * 默认第几步了
204
+ */
205
+ defaultCurrent?: 0 | number;
206
+ /**
207
+ * 引导总的步骤
208
+ */
209
+ steps: GuideStepsType[];
210
+ /**
211
+ * 当引导步骤变化的函数
212
+ */
213
+ onChange?: Function;
214
+ /**
215
+ * 当引导结束后
216
+ */
217
+ onFinish?: Function;
218
+ /**
219
+ * 当点击跳过按钮时
220
+ */
221
+ onSkip?: Function;
222
+ /**
223
+ * 点击下一步按钮时
224
+ */
225
+ onNextStepClick?: Function;
226
+ /**
227
+ * 点击上一步按钮时
228
+ */
229
+ onPrevStepClick?: Function;
230
+
231
+ /**
232
+ * 是否开启显示步骤
233
+ */
234
+ useStepShow?: false | boolean;
235
235
  };
236
236
 
237
237
  export declare type BaseTextTypeEnum = "number" | "money" | "phone" | "time";
238
238
 
239
239
  export declare interface TableColumParams {
240
- /**
241
- * 表格列中文
242
- */
243
- label: string;
244
- /**
245
- * 表格列宽度
246
- */
247
- width: number;
248
-
249
- /**
250
- * 表格列是否浮动
251
- */
252
- lock?: "right" | "left";
253
- /**
254
- * 类型,渲染出来的表格cell的文字相应的样式
255
- */
256
- type?: BaseTextTypeEnum;
240
+ /**
241
+ * 表格列中文
242
+ */
243
+ label: string;
244
+ /**
245
+ * 表格列宽度
246
+ */
247
+ width: number;
248
+
249
+ /**
250
+ * 表格列是否浮动
251
+ */
252
+ lock?: "right" | "left";
253
+ /**
254
+ * 类型,渲染出来的表格cell的文字相应的样式
255
+ */
256
+ type?: BaseTextTypeEnum;
257
257
  }
258
258
 
259
259
  export declare interface ProTableParamsType extends TableColumParams {
260
- /** 对应后端的字段 */
261
- key: string;
262
-
263
- /**
264
- * 是否参与平均分配宽度,true为规定宽度 false为参与计算固定宽度
265
- */
266
- staticWidth?: boolean;
267
-
268
- /**
269
- *表格列点击方法
270
- */
271
- fun?: () => {};
272
-
273
- /**
274
- * 高级筛选的配置
275
- */
276
- proScreenItem?: TableProScreenInterFace;
260
+ /** 对应后端的字段 */
261
+ key: string;
262
+
263
+ /**
264
+ * 是否参与平均分配宽度,true为规定宽度 false为参与计算固定宽度
265
+ */
266
+ staticWidth?: boolean;
267
+
268
+ /**
269
+ *表格列点击方法
270
+ */
271
+ fun?: () => {};
272
+
273
+ /**
274
+ * 高级筛选的配置
275
+ */
276
+ proScreenItem?: TableProScreenInterFace;
277
277
  }
278
278
 
279
279
  export declare interface PlainTableParamsType extends TableColumParams {
280
- /**
281
- * 对应后端的字段
282
- */
283
- value: string;
284
-
285
- /**
286
- * 表格列点击方法
287
- */
288
- fn?: () => {};
280
+ /**
281
+ * 对应后端的字段
282
+ */
283
+ value: string;
284
+
285
+ /**
286
+ * 表格列点击方法
287
+ */
288
+ fn?: () => {};
289
289
  }
290
290
 
291
291
  export declare interface FormItemParamsBase {
292
- /**
293
- * 文字内容
294
- */
295
- label: string;
296
- /**
297
- * 对应后端返回的字段
298
- */
299
- key: string;
300
- /**
301
- * form表单每一个对应的值
302
- */
303
- value: any;
304
- /**
305
- * 是否禁用
306
- */
307
- disabled?: boolean;
308
- /**
309
- * 添加在描述label后面的文字
310
- */
311
- des?: string;
312
- /**
313
- * 是否隐藏该formItem
314
- */
315
- hide?: boolean;
316
- /**
317
- * 当未有值时展示的内容
318
- */
319
- placeholder?: string;
292
+ /**
293
+ * 文字内容
294
+ */
295
+ label: string;
296
+ /**
297
+ * 对应后端返回的字段
298
+ */
299
+ key: string;
300
+ /**
301
+ * form表单每一个对应的值
302
+ */
303
+ value: any;
304
+ /**
305
+ * 是否禁用
306
+ */
307
+ disabled?: boolean;
308
+ /**
309
+ * 添加在描述label后面的文字
310
+ */
311
+ des?: string;
312
+ /**
313
+ * 是否隐藏该formItem
314
+ */
315
+ hide?: boolean;
316
+ /**
317
+ * 当未有值时展示的内容
318
+ */
319
+ placeholder?: string;
320
320
  }
321
321
 
322
322
  export declare interface FormItemInputParam extends FormItemParamsBase {
323
- type: "input";
324
- /**
325
- * maxlength 最大输入长度
326
- */
327
- maxlength?: number;
323
+ type: "input";
324
+ /**
325
+ * maxlength 最大输入长度
326
+ */
327
+ maxlength?: number;
328
328
  }
329
329
 
330
330
  export declare interface FormItemTextareaParam extends FormItemParamsBase {
331
- type: "textarea";
332
- /**
333
- * maxlength 最大输入长度
334
- */
335
- maxlength?: number;
336
- /**
337
- * rows 输入框行数
338
- */
339
- rows?: number;
331
+ type: "textarea";
332
+ /**
333
+ * maxlength 最大输入长度
334
+ */
335
+ maxlength?: number;
336
+ /**
337
+ * rows 输入框行数
338
+ */
339
+ rows?: number;
340
340
  }
341
341
 
342
342
  export declare interface FormItemNumberParam extends FormItemParamsBase {
343
- type: "number";
344
- /**
345
- * 最大值
346
- */
347
- max?: number;
348
- /**
349
- * 最小值
350
- */
351
- min?: number;
352
- /**
353
- * 输入框尾部显示的文字内容,推荐一个中文内容
354
- */
355
- unit?: string;
343
+ type: "number";
344
+ /**
345
+ * 最大值
346
+ */
347
+ max?: number;
348
+ /**
349
+ * 最小值
350
+ */
351
+ min?: number;
352
+ /**
353
+ * 输入框尾部显示的文字内容,推荐一个中文内容
354
+ */
355
+ unit?: string;
356
356
  }
357
357
 
358
358
  export declare interface FormItemSelectParam extends FormItemParamsBase {
359
- type: "select";
360
- /**
361
- * 最大可选择数量
362
- */
363
- multipleLimit?: number;
364
- /**
365
- * select 全局状态管理的类名
366
- */
367
- useStore: string;
359
+ type: "select";
360
+ /**
361
+ * 最大可选择数量
362
+ */
363
+ multipleLimit?: number;
364
+ /**
365
+ * select 全局状态管理的类名
366
+ */
367
+ useStore: string;
368
368
  }
369
369
 
370
370
  export declare interface FormItemTimeParam extends FormItemParamsBase {
371
- /**
372
- * 同element 的时间选择类型 具体查看element官网
373
- * https://element.eleme.cn/#/zh-CN/component/time-picker
374
- */
375
- type: "time" | "datetime" | "daterange" | "datetimerange";
376
-
377
- /**
378
- * 默认为 ['开始日期', '至', '结束日期']
379
- * 注意需要长度为3的字符串数组
380
- */
381
- datePickPlace?: [];
382
- /**
383
- *
384
- * 同element 的时间选择类型 picker-options
385
- * 具体查看element官网
386
- * https://element.eleme.cn/#/zh-CN/component/date-picker
387
- */
388
- pickerOptions?: () => {};
371
+ /**
372
+ * 同element 的时间选择类型 具体查看element官网
373
+ * https://element.eleme.cn/#/zh-CN/component/time-picker
374
+ */
375
+ type: "time" | "datetime" | "daterange" | "datetimerange";
376
+
377
+ /**
378
+ * 默认为 ['开始日期', '至', '结束日期']
379
+ * 注意需要长度为3的字符串数组
380
+ */
381
+ datePickPlace?: [];
382
+ /**
383
+ *
384
+ * 同element 的时间选择类型 picker-options
385
+ * 具体查看element官网
386
+ * https://element.eleme.cn/#/zh-CN/component/date-picker
387
+ */
388
+ pickerOptions?: () => {};
389
389
  }
390
390
 
391
391
  export declare interface FormItemRadioParam extends FormItemParamsBase {
392
- type: "radio";
393
- list: {
394
- label: string;
395
- value: any;
396
- }[];
392
+ type: "radio";
393
+ list: {
394
+ label: string;
395
+ value: any;
396
+ }[];
397
397
  }
398
398
 
399
399
  export declare interface FormItemSingleUploadParam extends FormItemParamsBase {
400
- type: "singleUpload";
401
- fileType: "img" | "video";
400
+ type: "singleUpload";
401
+ fileType: "img" | "video";
402
402
  }
403
403
 
404
404
  export declare interface UseUploadInterFace {
405
- // 用于存放上传后回调的方法
406
- cbList: any[];
407
- // 内部渲染上传组件的样式
408
- dynamicMount: DynamicMountInterface | null;
409
- // 是否锁住
410
- lock: Boolean;
411
- // 开始上传
412
- toUpload: (
413
- uploadList: [{ file: File }],
414
- cb: () => any,
415
- isOss: boolean
416
- ) => void;
417
- // 结束上传
418
- uploadEd: () => void;
419
-
420
- //添加上传的文件
421
- appendUploadItem: (list: []) => void;
405
+ // 用于存放上传后回调的方法
406
+ cbList: any[];
407
+ // 内部渲染上传组件的样式
408
+ dynamicMount: DynamicMountInterface | null;
409
+ // 是否锁住
410
+ lock: Boolean;
411
+ // 开始上传
412
+ toUpload: (
413
+ uploadList: [{ file: File }],
414
+ cb: () => any,
415
+ isOss: boolean
416
+ ) => void;
417
+ // 结束上传
418
+ uploadEd: () => void;
419
+
420
+ //添加上传的文件
421
+ appendUploadItem: (list: []) => void;
422
422
  }
423
423
 
424
424
  export declare interface TableProScreenInterFace {
425
- value?: any;
426
- field?: 9 | 10 | 1 | 8 | 7;
427
- selectList?: { label: string; value: any }[];
428
- type: "timeRange" | "singleTime" | "text" | "select";
429
- formType:
430
- | "text"
431
- | "textarea"
432
- | "select"
433
- | "date"
434
- | "number"
435
- | "floatnumber"
436
- | "mobile";
425
+ value?: any;
426
+ field?: 9 | 10 | 1 | 8 | 7;
427
+ selectList?: { label: string; value: any }[];
428
+ type: "timeRange" | "singleTime" | "text" | "select";
429
+ formType:
430
+ | "text"
431
+ | "textarea"
432
+ | "select"
433
+ | "date"
434
+ | "number"
435
+ | "floatnumber"
436
+ | "mobile";
437
437
  }
438
+
439
+
440
+ export declare type TypeByTheme = "danger" | "warning" | "info" | "success";
441
+
442
+ export declare type TypeByConfirmOptions = {
443
+ confirmButtonText?: string,
444
+ cancelButtonText?: string,
445
+ type: TypeByTheme & "default" | undefined,
446
+ };
447
+
448
+ export declare type TypeByNotifyOptions = {
449
+ title?: string,
450
+ content?: string,
451
+ duration?: number,
452
+ }