@ecan-bi/datav 1.4.21 → 1.4.23
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/dist/index.es.js +6896 -5896
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +28 -25
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +2 -1
- package/types/container/border/Border.vue.d.ts +4 -4
- package/types/container/border/index.d.ts +4 -4
- package/types/container/border/props.d.ts +2 -2
- package/types/container/circulate/Circulate.vue.d.ts +4 -4
- package/types/container/circulate/index.d.ts +4 -4
- package/types/container/circulate/props.d.ts +2 -2
- package/types/container/tabs/Tabs.vue.d.ts +4 -4
- package/types/container/tabs/index.d.ts +4 -4
- package/types/container/tabs/props.d.ts +2 -2
- package/types/container/template/Template.vue.d.ts +4 -4
- package/types/container/template/index.d.ts +4 -4
- package/types/container/template/props.d.ts +2 -2
- package/types/control/button/Button.vue.d.ts +4 -4
- package/types/control/button/index.d.ts +4 -4
- package/types/control/button/props.d.ts +2 -2
- package/types/control/checkbox/Checkbox.vue.d.ts +4 -4
- package/types/control/checkbox/index.d.ts +4 -4
- package/types/control/checkbox/props.d.ts +2 -2
- package/types/control/date-picker/DatePicker.vue.d.ts +35 -18
- package/types/control/date-picker/index.d.ts +34 -17
- package/types/control/date-picker/props.d.ts +14 -4
- package/types/control/input/Input.vue.d.ts +4 -4
- package/types/control/input/index.d.ts +4 -4
- package/types/control/input/props.d.ts +2 -2
- package/types/control/radio/Radio.vue.d.ts +4 -4
- package/types/control/radio/index.d.ts +4 -4
- package/types/control/radio/props.d.ts +2 -2
- package/types/control/range-picker/RangePicker.vue.d.ts +26 -26
- package/types/control/range-picker/index.d.ts +26 -26
- package/types/control/range-picker/props.d.ts +4 -4
- package/types/control/select/Select.vue.d.ts +4 -4
- package/types/control/select/index.d.ts +4 -4
- package/types/control/select/props.d.ts +2 -2
- package/types/control/tree-select/TreeSelect.vue.d.ts +2 -2
- package/types/control/tree-select/index.d.ts +2 -2
- package/types/control/tree-select/props.d.ts +2 -2
- package/types/graph/bar/Bar.vue.d.ts +4 -4
- package/types/graph/bar/index.d.ts +4 -4
- package/types/graph/bar/props.d.ts +2 -2
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +4 -4
- package/types/graph/combo-graph/index.d.ts +4 -4
- package/types/graph/combo-graph/props.d.ts +2 -2
- package/types/graph/custom-graph/CustomGraph.vue.d.ts +4 -4
- package/types/graph/custom-graph/index.d.ts +4 -4
- package/types/graph/custom-graph/props.d.ts +2 -2
- package/types/graph/line/Line.vue.d.ts +4 -4
- package/types/graph/line/index.d.ts +4 -4
- package/types/graph/line/props.d.ts +3 -3
- package/types/graph/pie/Pie.vue.d.ts +4 -4
- package/types/graph/pie/index.d.ts +4 -4
- package/types/graph/pie/props.d.ts +2 -2
- package/types/graph/radar/Radar.vue.d.ts +4 -4
- package/types/graph/radar/index.d.ts +4 -4
- package/types/graph/radar/props.d.ts +3 -3
- package/types/graph/scatter/Scatter.vue.d.ts +4 -4
- package/types/graph/scatter/index.d.ts +4 -4
- package/types/graph/scatter/props.d.ts +2 -2
- package/types/laboratory/data-select/DataSelect.vue.d.ts +4 -4
- package/types/laboratory/data-select/index.d.ts +4 -4
- package/types/laboratory/data-select/props.d.ts +2 -2
- package/types/laboratory/pivotTable/PivotTableContainer.vue.d.ts +14 -14
- package/types/laboratory/pivotTable/index.d.ts +14 -14
- package/types/laboratory/pivotTable/props.d.ts +2 -2
- package/types/laboratory/value-line/ValueLine.vue.d.ts +4 -4
- package/types/laboratory/value-line/index.d.ts +4 -4
- package/types/laboratory/value-line/props.d.ts +3 -3
- package/types/map/map/Map.vue.d.ts +4 -4
- package/types/map/map/index.d.ts +4 -4
- package/types/map/map/props.d.ts +2 -2
- package/types/media/iframe/Iframe.vue.d.ts +4 -4
- package/types/media/iframe/index.d.ts +4 -4
- package/types/media/iframe/props.d.ts +2 -2
- package/types/media/image/Image.vue.d.ts +4 -4
- package/types/media/image/index.d.ts +4 -4
- package/types/media/image/props.d.ts +2 -2
- package/types/table/table/Table.vue.d.ts +4 -4
- package/types/table/table/index.d.ts +4 -4
- package/types/table/table/props.d.ts +2 -2
- package/types/text/counter/Counter.vue.d.ts +4 -4
- package/types/text/counter/index.d.ts +4 -4
- package/types/text/counter/props.d.ts +2 -2
- package/types/text/list/List.vue.d.ts +4 -4
- package/types/text/list/index.d.ts +4 -4
- package/types/text/list/props.d.ts +2 -2
- package/types/text/proportion/Proportion.vue.d.ts +4 -4
- package/types/text/proportion/index.d.ts +4 -4
- package/types/text/proportion/props.d.ts +2 -2
- package/types/text/text/Text.vue.d.ts +4 -4
- package/types/text/text/index.d.ts +4 -4
- package/types/text/text/props.d.ts +2 -2
- package/types/text/time-display/TimeDisplay.vue.d.ts +4 -4
- package/types/text/time-display/index.d.ts +4 -4
- package/types/text/time-display/props.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/datav",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.23",
|
|
4
4
|
"main": "dist/index.umd.js",
|
|
5
5
|
"module": "dist/index.es.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"prepublishOnly": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
+
"@ecan-bi/tools": "^1.0.2",
|
|
33
34
|
"@sucrase/jest-plugin": "^2.2.0",
|
|
34
35
|
"@types/echarts": "^4.9.15",
|
|
35
36
|
"@types/jest": "^26.0.23",
|
|
@@ -176,8 +176,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
176
176
|
default?: number;
|
|
177
177
|
};
|
|
178
178
|
requestParamsMode: {
|
|
179
|
-
type?: import("vue").PropType<"
|
|
180
|
-
default?: "
|
|
179
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
180
|
+
default?: "2" | "1";
|
|
181
181
|
};
|
|
182
182
|
customRequestParams: {
|
|
183
183
|
type?: import("vue").PropType<string>;
|
|
@@ -390,8 +390,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
390
390
|
default?: number;
|
|
391
391
|
};
|
|
392
392
|
requestParamsMode: {
|
|
393
|
-
type?: import("vue").PropType<"
|
|
394
|
-
default?: "
|
|
393
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
394
|
+
default?: "2" | "1";
|
|
395
395
|
};
|
|
396
396
|
customRequestParams: {
|
|
397
397
|
type?: import("vue").PropType<string>;
|
|
@@ -176,8 +176,8 @@ export declare const EcanBorder: import('../../utils/withInstall').SFCWithInstal
|
|
|
176
176
|
default?: number;
|
|
177
177
|
};
|
|
178
178
|
requestParamsMode: {
|
|
179
|
-
type?: import("vue").PropType<"
|
|
180
|
-
default?: "
|
|
179
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
180
|
+
default?: "2" | "1";
|
|
181
181
|
};
|
|
182
182
|
customRequestParams: {
|
|
183
183
|
type?: import("vue").PropType<string>;
|
|
@@ -390,8 +390,8 @@ export declare const EcanBorder: import('../../utils/withInstall').SFCWithInstal
|
|
|
390
390
|
default?: number;
|
|
391
391
|
};
|
|
392
392
|
requestParamsMode: {
|
|
393
|
-
type?: import("vue").PropType<"
|
|
394
|
-
default?: "
|
|
393
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
394
|
+
default?: "2" | "1";
|
|
395
395
|
};
|
|
396
396
|
customRequestParams: {
|
|
397
397
|
type?: import("vue").PropType<string>;
|
|
@@ -201,8 +201,8 @@ export declare const borderComponentProps: {
|
|
|
201
201
|
default?: number;
|
|
202
202
|
};
|
|
203
203
|
requestParamsMode: {
|
|
204
|
-
type?: import("vue").PropType<"
|
|
205
|
-
default?: "
|
|
204
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
205
|
+
default?: "2" | "1";
|
|
206
206
|
};
|
|
207
207
|
customRequestParams: {
|
|
208
208
|
type?: import("vue").PropType<string>;
|
|
@@ -163,8 +163,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
163
163
|
default?: number;
|
|
164
164
|
};
|
|
165
165
|
requestParamsMode: {
|
|
166
|
-
type?: import("vue").PropType<"
|
|
167
|
-
default?: "
|
|
166
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
167
|
+
default?: "2" | "1";
|
|
168
168
|
};
|
|
169
169
|
customRequestParams: {
|
|
170
170
|
type?: import("vue").PropType<string>;
|
|
@@ -354,8 +354,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
354
354
|
default?: number;
|
|
355
355
|
};
|
|
356
356
|
requestParamsMode: {
|
|
357
|
-
type?: import("vue").PropType<"
|
|
358
|
-
default?: "
|
|
357
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
358
|
+
default?: "2" | "1";
|
|
359
359
|
};
|
|
360
360
|
customRequestParams: {
|
|
361
361
|
type?: import("vue").PropType<string>;
|
|
@@ -163,8 +163,8 @@ export declare const EcanCirculate: import('../../utils/withInstall').SFCWithIns
|
|
|
163
163
|
default?: number;
|
|
164
164
|
};
|
|
165
165
|
requestParamsMode: {
|
|
166
|
-
type?: import("vue").PropType<"
|
|
167
|
-
default?: "
|
|
166
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
167
|
+
default?: "2" | "1";
|
|
168
168
|
};
|
|
169
169
|
customRequestParams: {
|
|
170
170
|
type?: import("vue").PropType<string>;
|
|
@@ -354,8 +354,8 @@ export declare const EcanCirculate: import('../../utils/withInstall').SFCWithIns
|
|
|
354
354
|
default?: number;
|
|
355
355
|
};
|
|
356
356
|
requestParamsMode: {
|
|
357
|
-
type?: import("vue").PropType<"
|
|
358
|
-
default?: "
|
|
357
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
358
|
+
default?: "2" | "1";
|
|
359
359
|
};
|
|
360
360
|
customRequestParams: {
|
|
361
361
|
type?: import("vue").PropType<string>;
|
|
@@ -183,8 +183,8 @@ export declare const circulateComponentProps: {
|
|
|
183
183
|
default?: number;
|
|
184
184
|
};
|
|
185
185
|
requestParamsMode: {
|
|
186
|
-
type?: import("vue").PropType<"
|
|
187
|
-
default?: "
|
|
186
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
187
|
+
default?: "2" | "1";
|
|
188
188
|
};
|
|
189
189
|
customRequestParams: {
|
|
190
190
|
type?: import("vue").PropType<string>;
|
|
@@ -216,8 +216,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
216
216
|
default?: number;
|
|
217
217
|
};
|
|
218
218
|
requestParamsMode: {
|
|
219
|
-
type?: import("vue").PropType<"
|
|
220
|
-
default?: "
|
|
219
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
220
|
+
default?: "2" | "1";
|
|
221
221
|
};
|
|
222
222
|
customRequestParams: {
|
|
223
223
|
type?: import("vue").PropType<string>;
|
|
@@ -468,8 +468,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
468
468
|
default?: number;
|
|
469
469
|
};
|
|
470
470
|
requestParamsMode: {
|
|
471
|
-
type?: import("vue").PropType<"
|
|
472
|
-
default?: "
|
|
471
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
472
|
+
default?: "2" | "1";
|
|
473
473
|
};
|
|
474
474
|
customRequestParams: {
|
|
475
475
|
type?: import("vue").PropType<string>;
|
|
@@ -216,8 +216,8 @@ export declare const EcanTabs: import("../../utils/withInstall").SFCWithInstall<
|
|
|
216
216
|
default?: number;
|
|
217
217
|
};
|
|
218
218
|
requestParamsMode: {
|
|
219
|
-
type?: import("vue").PropType<"
|
|
220
|
-
default?: "
|
|
219
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
220
|
+
default?: "2" | "1";
|
|
221
221
|
};
|
|
222
222
|
customRequestParams: {
|
|
223
223
|
type?: import("vue").PropType<string>;
|
|
@@ -468,8 +468,8 @@ export declare const EcanTabs: import("../../utils/withInstall").SFCWithInstall<
|
|
|
468
468
|
default?: number;
|
|
469
469
|
};
|
|
470
470
|
requestParamsMode: {
|
|
471
|
-
type?: import("vue").PropType<"
|
|
472
|
-
default?: "
|
|
471
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
472
|
+
default?: "2" | "1";
|
|
473
473
|
};
|
|
474
474
|
customRequestParams: {
|
|
475
475
|
type?: import("vue").PropType<string>;
|
|
@@ -252,8 +252,8 @@ export declare const tabsComponentProps: {
|
|
|
252
252
|
default?: number;
|
|
253
253
|
};
|
|
254
254
|
requestParamsMode: {
|
|
255
|
-
type?: import("vue").PropType<"
|
|
256
|
-
default?: "
|
|
255
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
256
|
+
default?: "2" | "1";
|
|
257
257
|
};
|
|
258
258
|
customRequestParams: {
|
|
259
259
|
type?: import("vue").PropType<string>;
|
|
@@ -116,8 +116,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
116
116
|
default?: number;
|
|
117
117
|
};
|
|
118
118
|
requestParamsMode: {
|
|
119
|
-
type?: import("vue").PropType<"
|
|
120
|
-
default?: "
|
|
119
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
120
|
+
default?: "2" | "1";
|
|
121
121
|
};
|
|
122
122
|
customRequestParams: {
|
|
123
123
|
type?: import("vue").PropType<string>;
|
|
@@ -255,8 +255,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
255
255
|
default?: number;
|
|
256
256
|
};
|
|
257
257
|
requestParamsMode: {
|
|
258
|
-
type?: import("vue").PropType<"
|
|
259
|
-
default?: "
|
|
258
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
259
|
+
default?: "2" | "1";
|
|
260
260
|
};
|
|
261
261
|
customRequestParams: {
|
|
262
262
|
type?: import("vue").PropType<string>;
|
|
@@ -116,8 +116,8 @@ export declare const EcanTemplate: import('../../utils/withInstall').SFCWithInst
|
|
|
116
116
|
default?: number;
|
|
117
117
|
};
|
|
118
118
|
requestParamsMode: {
|
|
119
|
-
type?: import("vue").PropType<"
|
|
120
|
-
default?: "
|
|
119
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
120
|
+
default?: "2" | "1";
|
|
121
121
|
};
|
|
122
122
|
customRequestParams: {
|
|
123
123
|
type?: import("vue").PropType<string>;
|
|
@@ -255,8 +255,8 @@ export declare const EcanTemplate: import('../../utils/withInstall').SFCWithInst
|
|
|
255
255
|
default?: number;
|
|
256
256
|
};
|
|
257
257
|
requestParamsMode: {
|
|
258
|
-
type?: import("vue").PropType<"
|
|
259
|
-
default?: "
|
|
258
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
259
|
+
default?: "2" | "1";
|
|
260
260
|
};
|
|
261
261
|
customRequestParams: {
|
|
262
262
|
type?: import("vue").PropType<string>;
|
|
@@ -125,8 +125,8 @@ export declare const templateComponentProps: {
|
|
|
125
125
|
default?: number;
|
|
126
126
|
};
|
|
127
127
|
requestParamsMode: {
|
|
128
|
-
type?: import("vue").PropType<"
|
|
129
|
-
default?: "
|
|
128
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
129
|
+
default?: "2" | "1";
|
|
130
130
|
};
|
|
131
131
|
customRequestParams: {
|
|
132
132
|
type?: import("vue").PropType<string>;
|
|
@@ -140,8 +140,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
140
140
|
default?: number;
|
|
141
141
|
};
|
|
142
142
|
requestParamsMode: {
|
|
143
|
-
type?: import("vue").PropType<"
|
|
144
|
-
default?: "
|
|
143
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
144
|
+
default?: "2" | "1";
|
|
145
145
|
};
|
|
146
146
|
customRequestParams: {
|
|
147
147
|
type?: import("vue").PropType<string>;
|
|
@@ -308,8 +308,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
308
308
|
default?: number;
|
|
309
309
|
};
|
|
310
310
|
requestParamsMode: {
|
|
311
|
-
type?: import("vue").PropType<"
|
|
312
|
-
default?: "
|
|
311
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
312
|
+
default?: "2" | "1";
|
|
313
313
|
};
|
|
314
314
|
customRequestParams: {
|
|
315
315
|
type?: import("vue").PropType<string>;
|
|
@@ -140,8 +140,8 @@ export declare const EcanButton: import('../../utils/withInstall').SFCWithInstal
|
|
|
140
140
|
default?: number;
|
|
141
141
|
};
|
|
142
142
|
requestParamsMode: {
|
|
143
|
-
type?: import("vue").PropType<"
|
|
144
|
-
default?: "
|
|
143
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
144
|
+
default?: "2" | "1";
|
|
145
145
|
};
|
|
146
146
|
customRequestParams: {
|
|
147
147
|
type?: import("vue").PropType<string>;
|
|
@@ -308,8 +308,8 @@ export declare const EcanButton: import('../../utils/withInstall').SFCWithInstal
|
|
|
308
308
|
default?: number;
|
|
309
309
|
};
|
|
310
310
|
requestParamsMode: {
|
|
311
|
-
type?: import("vue").PropType<"
|
|
312
|
-
default?: "
|
|
311
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
312
|
+
default?: "2" | "1";
|
|
313
313
|
};
|
|
314
314
|
customRequestParams: {
|
|
315
315
|
type?: import("vue").PropType<string>;
|
|
@@ -155,8 +155,8 @@ export declare const buttonComponentProps: {
|
|
|
155
155
|
default?: number;
|
|
156
156
|
};
|
|
157
157
|
requestParamsMode: {
|
|
158
|
-
type?: import("vue").PropType<"
|
|
159
|
-
default?: "
|
|
158
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
159
|
+
default?: "2" | "1";
|
|
160
160
|
};
|
|
161
161
|
customRequestParams: {
|
|
162
162
|
type?: import("vue").PropType<string>;
|
|
@@ -113,8 +113,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
113
113
|
default?: number;
|
|
114
114
|
};
|
|
115
115
|
requestParamsMode: {
|
|
116
|
-
type?: import("vue").PropType<"
|
|
117
|
-
default?: "
|
|
116
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
117
|
+
default?: "2" | "1";
|
|
118
118
|
};
|
|
119
119
|
customRequestParams: {
|
|
120
120
|
type?: import("vue").PropType<string>;
|
|
@@ -257,8 +257,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
257
257
|
default?: number;
|
|
258
258
|
};
|
|
259
259
|
requestParamsMode: {
|
|
260
|
-
type?: import("vue").PropType<"
|
|
261
|
-
default?: "
|
|
260
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
261
|
+
default?: "2" | "1";
|
|
262
262
|
};
|
|
263
263
|
customRequestParams: {
|
|
264
264
|
type?: import("vue").PropType<string>;
|
|
@@ -112,8 +112,8 @@ export declare const EcanCheckbox: import('../../utils/withInstall').SFCWithInst
|
|
|
112
112
|
default?: number;
|
|
113
113
|
};
|
|
114
114
|
requestParamsMode: {
|
|
115
|
-
type?: import("vue").PropType<"
|
|
116
|
-
default?: "
|
|
115
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
116
|
+
default?: "2" | "1";
|
|
117
117
|
};
|
|
118
118
|
customRequestParams: {
|
|
119
119
|
type?: import("vue").PropType<string>;
|
|
@@ -256,8 +256,8 @@ export declare const EcanCheckbox: import('../../utils/withInstall').SFCWithInst
|
|
|
256
256
|
default?: number;
|
|
257
257
|
};
|
|
258
258
|
requestParamsMode: {
|
|
259
|
-
type?: import("vue").PropType<"
|
|
260
|
-
default?: "
|
|
259
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
260
|
+
default?: "2" | "1";
|
|
261
261
|
};
|
|
262
262
|
customRequestParams: {
|
|
263
263
|
type?: import("vue").PropType<string>;
|
|
@@ -128,8 +128,8 @@ export declare const checkboxComponentProps: {
|
|
|
128
128
|
default?: number;
|
|
129
129
|
};
|
|
130
130
|
requestParamsMode: {
|
|
131
|
-
type?: import("vue").PropType<"
|
|
132
|
-
default?: "
|
|
131
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
132
|
+
default?: "2" | "1";
|
|
133
133
|
};
|
|
134
134
|
customRequestParams: {
|
|
135
135
|
type?: import("vue").PropType<string>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DateOperate } from '../../utils/props';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
2
|
+
import dayjs, { Dayjs } from 'dayjs';
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
4
|
value: {
|
|
5
5
|
type?: import("vue").PropType<string>;
|
|
6
6
|
default?: string;
|
|
7
7
|
};
|
|
8
8
|
picker: {
|
|
9
|
-
type?: import("vue").PropType<"date" | "month" | "year" | "
|
|
10
|
-
default?: "date" | "month" | "year" | "
|
|
9
|
+
type?: import("vue").PropType<"date" | "month" | "year" | "week" | "quarter">;
|
|
10
|
+
default?: "date" | "month" | "year" | "week" | "quarter";
|
|
11
11
|
};
|
|
12
12
|
format: {
|
|
13
13
|
type?: import("vue").PropType<string>;
|
|
@@ -29,6 +29,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
29
29
|
type?: import("vue").PropType<string>;
|
|
30
30
|
default?: string;
|
|
31
31
|
};
|
|
32
|
+
limitStartTime: {
|
|
33
|
+
type?: import("vue").PropType<string>;
|
|
34
|
+
default?: string;
|
|
35
|
+
};
|
|
36
|
+
limitEndTime: {
|
|
37
|
+
type?: import("vue").PropType<string>;
|
|
38
|
+
default?: string;
|
|
39
|
+
};
|
|
32
40
|
id: {
|
|
33
41
|
type?: import("vue").PropType<string>;
|
|
34
42
|
default?: string;
|
|
@@ -126,8 +134,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
126
134
|
default?: number;
|
|
127
135
|
};
|
|
128
136
|
requestParamsMode: {
|
|
129
|
-
type?: import("vue").PropType<"
|
|
130
|
-
default?: "
|
|
137
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
138
|
+
default?: "2" | "1";
|
|
131
139
|
};
|
|
132
140
|
customRequestParams: {
|
|
133
141
|
type?: import("vue").PropType<string>;
|
|
@@ -195,14 +203,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
195
203
|
};
|
|
196
204
|
startOf: {
|
|
197
205
|
(unit: dayjs.OpUnitType): dayjs.Dayjs;
|
|
198
|
-
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "
|
|
206
|
+
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "week" | "weeks" | "w" | "quarter" | "quarters" | "Q"): dayjs.Dayjs;
|
|
199
207
|
};
|
|
200
208
|
endOf: {
|
|
201
209
|
(unit: dayjs.OpUnitType): dayjs.Dayjs;
|
|
202
|
-
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "
|
|
210
|
+
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "week" | "weeks" | "w" | "quarter" | "quarters" | "Q"): dayjs.Dayjs;
|
|
203
211
|
};
|
|
204
212
|
format: (template?: string) => string;
|
|
205
|
-
diff: (date?: string | number | dayjs.Dayjs
|
|
213
|
+
diff: (date?: string | number | Date | dayjs.Dayjs, unit?: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "week" | "weeks" | "w" | "quarter" | "quarters" | "Q", float?: boolean) => number;
|
|
206
214
|
valueOf: () => number;
|
|
207
215
|
unix: () => number;
|
|
208
216
|
daysInMonth: () => number;
|
|
@@ -212,16 +220,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
212
220
|
toString: () => string;
|
|
213
221
|
utcOffset: () => number;
|
|
214
222
|
isBefore: {
|
|
215
|
-
(date?: string | number | dayjs.Dayjs
|
|
216
|
-
(date?: string | number | dayjs.Dayjs
|
|
223
|
+
(date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.OpUnitType): boolean;
|
|
224
|
+
(date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.QUnitType): boolean;
|
|
217
225
|
};
|
|
218
226
|
isSame: {
|
|
219
|
-
(date?: string | number | dayjs.Dayjs
|
|
220
|
-
(date?: string | number | dayjs.Dayjs
|
|
227
|
+
(date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.OpUnitType): boolean;
|
|
228
|
+
(date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.QUnitType): boolean;
|
|
221
229
|
};
|
|
222
230
|
isAfter: {
|
|
223
|
-
(date?: string | number | dayjs.Dayjs
|
|
224
|
-
(date?: string | number | dayjs.Dayjs
|
|
231
|
+
(date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.OpUnitType): boolean;
|
|
232
|
+
(date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.QUnitType): boolean;
|
|
225
233
|
};
|
|
226
234
|
locale: {
|
|
227
235
|
(): string;
|
|
@@ -250,14 +258,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
250
258
|
mobileDate: import("vue").Ref<any[]>;
|
|
251
259
|
onConfirmDate: () => void;
|
|
252
260
|
onCancelDate: () => void;
|
|
261
|
+
disabledDate: (current: Dayjs) => boolean;
|
|
253
262
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
254
263
|
value: {
|
|
255
264
|
type?: import("vue").PropType<string>;
|
|
256
265
|
default?: string;
|
|
257
266
|
};
|
|
258
267
|
picker: {
|
|
259
|
-
type?: import("vue").PropType<"date" | "month" | "year" | "
|
|
260
|
-
default?: "date" | "month" | "year" | "
|
|
268
|
+
type?: import("vue").PropType<"date" | "month" | "year" | "week" | "quarter">;
|
|
269
|
+
default?: "date" | "month" | "year" | "week" | "quarter";
|
|
261
270
|
};
|
|
262
271
|
format: {
|
|
263
272
|
type?: import("vue").PropType<string>;
|
|
@@ -279,6 +288,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
279
288
|
type?: import("vue").PropType<string>;
|
|
280
289
|
default?: string;
|
|
281
290
|
};
|
|
291
|
+
limitStartTime: {
|
|
292
|
+
type?: import("vue").PropType<string>;
|
|
293
|
+
default?: string;
|
|
294
|
+
};
|
|
295
|
+
limitEndTime: {
|
|
296
|
+
type?: import("vue").PropType<string>;
|
|
297
|
+
default?: string;
|
|
298
|
+
};
|
|
282
299
|
id: {
|
|
283
300
|
type?: import("vue").PropType<string>;
|
|
284
301
|
default?: string;
|
|
@@ -376,8 +393,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
376
393
|
default?: number;
|
|
377
394
|
};
|
|
378
395
|
requestParamsMode: {
|
|
379
|
-
type?: import("vue").PropType<"
|
|
380
|
-
default?: "
|
|
396
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
397
|
+
default?: "2" | "1";
|
|
381
398
|
};
|
|
382
399
|
customRequestParams: {
|
|
383
400
|
type?: import("vue").PropType<string>;
|
|
@@ -4,8 +4,8 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
4
4
|
default?: string;
|
|
5
5
|
};
|
|
6
6
|
picker: {
|
|
7
|
-
type?: import("vue").PropType<"date" | "month" | "year" | "
|
|
8
|
-
default?: "date" | "month" | "year" | "
|
|
7
|
+
type?: import("vue").PropType<"date" | "month" | "year" | "week" | "quarter">;
|
|
8
|
+
default?: "date" | "month" | "year" | "week" | "quarter";
|
|
9
9
|
};
|
|
10
10
|
format: {
|
|
11
11
|
type?: import("vue").PropType<string>;
|
|
@@ -27,6 +27,14 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
27
27
|
type?: import("vue").PropType<string>;
|
|
28
28
|
default?: string;
|
|
29
29
|
};
|
|
30
|
+
limitStartTime: {
|
|
31
|
+
type?: import("vue").PropType<string>;
|
|
32
|
+
default?: string;
|
|
33
|
+
};
|
|
34
|
+
limitEndTime: {
|
|
35
|
+
type?: import("vue").PropType<string>;
|
|
36
|
+
default?: string;
|
|
37
|
+
};
|
|
30
38
|
id: {
|
|
31
39
|
type?: import("vue").PropType<string>;
|
|
32
40
|
default?: string;
|
|
@@ -124,8 +132,8 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
124
132
|
default?: number;
|
|
125
133
|
};
|
|
126
134
|
requestParamsMode: {
|
|
127
|
-
type?: import("vue").PropType<"
|
|
128
|
-
default?: "
|
|
135
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
136
|
+
default?: "2" | "1";
|
|
129
137
|
};
|
|
130
138
|
customRequestParams: {
|
|
131
139
|
type?: import("vue").PropType<string>;
|
|
@@ -193,14 +201,14 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
193
201
|
};
|
|
194
202
|
startOf: {
|
|
195
203
|
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
196
|
-
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "
|
|
204
|
+
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "week" | "weeks" | "w" | "quarter" | "quarters" | "Q"): import("dayjs").Dayjs;
|
|
197
205
|
};
|
|
198
206
|
endOf: {
|
|
199
207
|
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
200
|
-
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "
|
|
208
|
+
(unit: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "week" | "weeks" | "w" | "quarter" | "quarters" | "Q"): import("dayjs").Dayjs;
|
|
201
209
|
};
|
|
202
210
|
format: (template?: string) => string;
|
|
203
|
-
diff: (date?: string | number | import("dayjs").Dayjs
|
|
211
|
+
diff: (date?: string | number | Date | import("dayjs").Dayjs, unit?: "D" | "M" | "s" | "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "y" | "h" | "m" | "ms" | "week" | "weeks" | "w" | "quarter" | "quarters" | "Q", float?: boolean) => number;
|
|
204
212
|
valueOf: () => number;
|
|
205
213
|
unix: () => number;
|
|
206
214
|
daysInMonth: () => number;
|
|
@@ -210,16 +218,16 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
210
218
|
toString: () => string;
|
|
211
219
|
utcOffset: () => number;
|
|
212
220
|
isBefore: {
|
|
213
|
-
(date?: string | number | import("dayjs").Dayjs
|
|
214
|
-
(date?: string | number | import("dayjs").Dayjs
|
|
221
|
+
(date?: string | number | Date | import("dayjs").Dayjs, unit?: import("dayjs").OpUnitType): boolean;
|
|
222
|
+
(date?: string | number | Date | import("dayjs").Dayjs, unit?: import("dayjs").QUnitType): boolean;
|
|
215
223
|
};
|
|
216
224
|
isSame: {
|
|
217
|
-
(date?: string | number | import("dayjs").Dayjs
|
|
218
|
-
(date?: string | number | import("dayjs").Dayjs
|
|
225
|
+
(date?: string | number | Date | import("dayjs").Dayjs, unit?: import("dayjs").OpUnitType): boolean;
|
|
226
|
+
(date?: string | number | Date | import("dayjs").Dayjs, unit?: import("dayjs").QUnitType): boolean;
|
|
219
227
|
};
|
|
220
228
|
isAfter: {
|
|
221
|
-
(date?: string | number | import("dayjs").Dayjs
|
|
222
|
-
(date?: string | number | import("dayjs").Dayjs
|
|
229
|
+
(date?: string | number | Date | import("dayjs").Dayjs, unit?: import("dayjs").OpUnitType): boolean;
|
|
230
|
+
(date?: string | number | Date | import("dayjs").Dayjs, unit?: import("dayjs").QUnitType): boolean;
|
|
223
231
|
};
|
|
224
232
|
locale: {
|
|
225
233
|
(): string;
|
|
@@ -248,14 +256,15 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
248
256
|
mobileDate: import("vue").Ref<any[]>;
|
|
249
257
|
onConfirmDate: () => void;
|
|
250
258
|
onCancelDate: () => void;
|
|
259
|
+
disabledDate: (current: import("dayjs").Dayjs) => boolean;
|
|
251
260
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
252
261
|
value: {
|
|
253
262
|
type?: import("vue").PropType<string>;
|
|
254
263
|
default?: string;
|
|
255
264
|
};
|
|
256
265
|
picker: {
|
|
257
|
-
type?: import("vue").PropType<"date" | "month" | "year" | "
|
|
258
|
-
default?: "date" | "month" | "year" | "
|
|
266
|
+
type?: import("vue").PropType<"date" | "month" | "year" | "week" | "quarter">;
|
|
267
|
+
default?: "date" | "month" | "year" | "week" | "quarter";
|
|
259
268
|
};
|
|
260
269
|
format: {
|
|
261
270
|
type?: import("vue").PropType<string>;
|
|
@@ -277,6 +286,14 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
277
286
|
type?: import("vue").PropType<string>;
|
|
278
287
|
default?: string;
|
|
279
288
|
};
|
|
289
|
+
limitStartTime: {
|
|
290
|
+
type?: import("vue").PropType<string>;
|
|
291
|
+
default?: string;
|
|
292
|
+
};
|
|
293
|
+
limitEndTime: {
|
|
294
|
+
type?: import("vue").PropType<string>;
|
|
295
|
+
default?: string;
|
|
296
|
+
};
|
|
280
297
|
id: {
|
|
281
298
|
type?: import("vue").PropType<string>;
|
|
282
299
|
default?: string;
|
|
@@ -374,8 +391,8 @@ export declare const EcanDatePicker: import('../../utils/withInstall').SFCWithIn
|
|
|
374
391
|
default?: number;
|
|
375
392
|
};
|
|
376
393
|
requestParamsMode: {
|
|
377
|
-
type?: import("vue").PropType<"
|
|
378
|
-
default?: "
|
|
394
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
395
|
+
default?: "2" | "1";
|
|
379
396
|
};
|
|
380
397
|
customRequestParams: {
|
|
381
398
|
type?: import("vue").PropType<string>;
|