@ecan-bi/datav 1.1.35 → 1.1.36

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.
@@ -1,10 +1,17 @@
1
1
  import { Props, EventsProp } from '../../utils/props';
2
+ import { ManipulateType } from 'dayjs';
3
+ export interface DateOperate {
4
+ type: 'add' | 'minus';
5
+ value: number;
6
+ mode: ManipulateType;
7
+ }
2
8
  export interface DatePickerProps extends Props, EventsProp {
3
9
  value: string;
4
10
  picker: 'date' | 'week' | 'month' | 'quarter' | 'year';
5
11
  format: string;
6
12
  showTime: boolean;
7
13
  useCurrentTime: boolean;
14
+ operate: null | DateOperate;
8
15
  }
9
16
  export declare const datePickerProps: DatePickerProps;
10
17
  export declare const datePickerComponentProps: {
@@ -15,7 +22,7 @@ export declare const datePickerComponentProps: {
15
22
  type: any;
16
23
  default: string | number | boolean | import('../../utils/props').Events | {
17
24
  [key: string]: any;
18
- } | import('../../utils/props').RequestParams;
25
+ } | import('../../utils/props').RequestParams | DateOperate;
19
26
  };
20
27
  picker: {
21
28
  type?: undefined;
@@ -24,7 +31,7 @@ export declare const datePickerComponentProps: {
24
31
  type: any;
25
32
  default: string | number | boolean | import('../../utils/props').Events | {
26
33
  [key: string]: any;
27
- } | import('../../utils/props').RequestParams;
34
+ } | import('../../utils/props').RequestParams | DateOperate;
28
35
  };
29
36
  format: {
30
37
  type?: undefined;
@@ -33,7 +40,7 @@ export declare const datePickerComponentProps: {
33
40
  type: any;
34
41
  default: string | number | boolean | import('../../utils/props').Events | {
35
42
  [key: string]: any;
36
- } | import('../../utils/props').RequestParams;
43
+ } | import('../../utils/props').RequestParams | DateOperate;
37
44
  };
38
45
  showTime: {
39
46
  type?: undefined;
@@ -42,7 +49,7 @@ export declare const datePickerComponentProps: {
42
49
  type: any;
43
50
  default: string | number | boolean | import('../../utils/props').Events | {
44
51
  [key: string]: any;
45
- } | import('../../utils/props').RequestParams;
52
+ } | import('../../utils/props').RequestParams | DateOperate;
46
53
  };
47
54
  useCurrentTime: {
48
55
  type?: undefined;
@@ -51,7 +58,16 @@ export declare const datePickerComponentProps: {
51
58
  type: any;
52
59
  default: string | number | boolean | import('../../utils/props').Events | {
53
60
  [key: string]: any;
54
- } | import('../../utils/props').RequestParams;
61
+ } | import('../../utils/props').RequestParams | DateOperate;
62
+ };
63
+ operate: {
64
+ type?: undefined;
65
+ default?: undefined;
66
+ } | {
67
+ type: any;
68
+ default: string | number | boolean | import('../../utils/props').Events | {
69
+ [key: string]: any;
70
+ } | import('../../utils/props').RequestParams | DateOperate;
55
71
  };
56
72
  id: {
57
73
  type?: undefined;
@@ -60,7 +76,7 @@ export declare const datePickerComponentProps: {
60
76
  type: any;
61
77
  default: string | number | boolean | import('../../utils/props').Events | {
62
78
  [key: string]: any;
63
- } | import('../../utils/props').RequestParams;
79
+ } | import('../../utils/props').RequestParams | DateOperate;
64
80
  };
65
81
  name: {
66
82
  type?: undefined;
@@ -69,7 +85,7 @@ export declare const datePickerComponentProps: {
69
85
  type: any;
70
86
  default: string | number | boolean | import('../../utils/props').Events | {
71
87
  [key: string]: any;
72
- } | import('../../utils/props').RequestParams;
88
+ } | import('../../utils/props').RequestParams | DateOperate;
73
89
  };
74
90
  keyName: {
75
91
  type?: undefined;
@@ -78,7 +94,7 @@ export declare const datePickerComponentProps: {
78
94
  type: any;
79
95
  default: string | number | boolean | import('../../utils/props').Events | {
80
96
  [key: string]: any;
81
- } | import('../../utils/props').RequestParams;
97
+ } | import('../../utils/props').RequestParams | DateOperate;
82
98
  };
83
99
  type: {
84
100
  type?: undefined;
@@ -87,7 +103,7 @@ export declare const datePickerComponentProps: {
87
103
  type: any;
88
104
  default: string | number | boolean | import('../../utils/props').Events | {
89
105
  [key: string]: any;
90
- } | import('../../utils/props').RequestParams;
106
+ } | import('../../utils/props').RequestParams | DateOperate;
91
107
  };
92
108
  width: {
93
109
  type?: undefined;
@@ -96,7 +112,7 @@ export declare const datePickerComponentProps: {
96
112
  type: any;
97
113
  default: string | number | boolean | import('../../utils/props').Events | {
98
114
  [key: string]: any;
99
- } | import('../../utils/props').RequestParams;
115
+ } | import('../../utils/props').RequestParams | DateOperate;
100
116
  };
101
117
  height: {
102
118
  type?: undefined;
@@ -105,7 +121,7 @@ export declare const datePickerComponentProps: {
105
121
  type: any;
106
122
  default: string | number | boolean | import('../../utils/props').Events | {
107
123
  [key: string]: any;
108
- } | import('../../utils/props').RequestParams;
124
+ } | import('../../utils/props').RequestParams | DateOperate;
109
125
  };
110
126
  position: {
111
127
  type?: undefined;
@@ -114,7 +130,7 @@ export declare const datePickerComponentProps: {
114
130
  type: any;
115
131
  default: string | number | boolean | import('../../utils/props').Events | {
116
132
  [key: string]: any;
117
- } | import('../../utils/props').RequestParams;
133
+ } | import('../../utils/props').RequestParams | DateOperate;
118
134
  };
119
135
  top: {
120
136
  type?: undefined;
@@ -123,7 +139,7 @@ export declare const datePickerComponentProps: {
123
139
  type: any;
124
140
  default: string | number | boolean | import('../../utils/props').Events | {
125
141
  [key: string]: any;
126
- } | import('../../utils/props').RequestParams;
142
+ } | import('../../utils/props').RequestParams | DateOperate;
127
143
  };
128
144
  left: {
129
145
  type?: undefined;
@@ -132,7 +148,7 @@ export declare const datePickerComponentProps: {
132
148
  type: any;
133
149
  default: string | number | boolean | import('../../utils/props').Events | {
134
150
  [key: string]: any;
135
- } | import('../../utils/props').RequestParams;
151
+ } | import('../../utils/props').RequestParams | DateOperate;
136
152
  };
137
153
  zIndex: {
138
154
  type?: undefined;
@@ -141,7 +157,7 @@ export declare const datePickerComponentProps: {
141
157
  type: any;
142
158
  default: string | number | boolean | import('../../utils/props').Events | {
143
159
  [key: string]: any;
144
- } | import('../../utils/props').RequestParams;
160
+ } | import('../../utils/props').RequestParams | DateOperate;
145
161
  };
146
162
  rotate: {
147
163
  type?: undefined;
@@ -150,7 +166,7 @@ export declare const datePickerComponentProps: {
150
166
  type: any;
151
167
  default: string | number | boolean | import('../../utils/props').Events | {
152
168
  [key: string]: any;
153
- } | import('../../utils/props').RequestParams;
169
+ } | import('../../utils/props').RequestParams | DateOperate;
154
170
  };
155
171
  isShow: {
156
172
  type?: undefined;
@@ -159,7 +175,7 @@ export declare const datePickerComponentProps: {
159
175
  type: any;
160
176
  default: string | number | boolean | import('../../utils/props').Events | {
161
177
  [key: string]: any;
162
- } | import('../../utils/props').RequestParams;
178
+ } | import('../../utils/props').RequestParams | DateOperate;
163
179
  };
164
180
  isRender: {
165
181
  type?: undefined;
@@ -168,7 +184,7 @@ export declare const datePickerComponentProps: {
168
184
  type: any;
169
185
  default: string | number | boolean | import('../../utils/props').Events | {
170
186
  [key: string]: any;
171
- } | import('../../utils/props').RequestParams;
187
+ } | import('../../utils/props').RequestParams | DateOperate;
172
188
  };
173
189
  events: {
174
190
  type?: undefined;
@@ -177,7 +193,7 @@ export declare const datePickerComponentProps: {
177
193
  type: any;
178
194
  default: string | number | boolean | import('../../utils/props').Events | {
179
195
  [key: string]: any;
180
- } | import('../../utils/props').RequestParams;
196
+ } | import('../../utils/props').RequestParams | DateOperate;
181
197
  };
182
198
  requestUrl: {
183
199
  type?: undefined;
@@ -186,7 +202,7 @@ export declare const datePickerComponentProps: {
186
202
  type: any;
187
203
  default: string | number | boolean | import('../../utils/props').Events | {
188
204
  [key: string]: any;
189
- } | import('../../utils/props').RequestParams;
205
+ } | import('../../utils/props').RequestParams | DateOperate;
190
206
  };
191
207
  requestMethod: {
192
208
  type?: undefined;
@@ -195,7 +211,7 @@ export declare const datePickerComponentProps: {
195
211
  type: any;
196
212
  default: string | number | boolean | import('../../utils/props').Events | {
197
213
  [key: string]: any;
198
- } | import('../../utils/props').RequestParams;
214
+ } | import('../../utils/props').RequestParams | DateOperate;
199
215
  };
200
216
  requestHeaders: {
201
217
  type?: undefined;
@@ -204,7 +220,7 @@ export declare const datePickerComponentProps: {
204
220
  type: any;
205
221
  default: string | number | boolean | import('../../utils/props').Events | {
206
222
  [key: string]: any;
207
- } | import('../../utils/props').RequestParams;
223
+ } | import('../../utils/props').RequestParams | DateOperate;
208
224
  };
209
225
  isOpenRequestTimer: {
210
226
  type?: undefined;
@@ -213,7 +229,7 @@ export declare const datePickerComponentProps: {
213
229
  type: any;
214
230
  default: string | number | boolean | import('../../utils/props').Events | {
215
231
  [key: string]: any;
216
- } | import('../../utils/props').RequestParams;
232
+ } | import('../../utils/props').RequestParams | DateOperate;
217
233
  };
218
234
  requestInterval: {
219
235
  type?: undefined;
@@ -222,7 +238,7 @@ export declare const datePickerComponentProps: {
222
238
  type: any;
223
239
  default: string | number | boolean | import('../../utils/props').Events | {
224
240
  [key: string]: any;
225
- } | import('../../utils/props').RequestParams;
241
+ } | import('../../utils/props').RequestParams | DateOperate;
226
242
  };
227
243
  requestParams: {
228
244
  type?: undefined;
@@ -231,7 +247,7 @@ export declare const datePickerComponentProps: {
231
247
  type: any;
232
248
  default: string | number | boolean | import('../../utils/props').Events | {
233
249
  [key: string]: any;
234
- } | import('../../utils/props').RequestParams;
250
+ } | import('../../utils/props').RequestParams | DateOperate;
235
251
  };
236
252
  requestSort: {
237
253
  type?: undefined;
@@ -240,7 +256,7 @@ export declare const datePickerComponentProps: {
240
256
  type: any;
241
257
  default: string | number | boolean | import('../../utils/props').Events | {
242
258
  [key: string]: any;
243
- } | import('../../utils/props').RequestParams;
259
+ } | import('../../utils/props').RequestParams | DateOperate;
244
260
  };
245
261
  dataType: {
246
262
  type?: undefined;
@@ -249,7 +265,7 @@ export declare const datePickerComponentProps: {
249
265
  type: any;
250
266
  default: string | number | boolean | import('../../utils/props').Events | {
251
267
  [key: string]: any;
252
- } | import('../../utils/props').RequestParams;
268
+ } | import('../../utils/props').RequestParams | DateOperate;
253
269
  };
254
270
  };
255
271
  export declare const datePickerEvents: string[];