@yimou6/common-ui 1.6.4 → 1.7.0
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/cdn/index.cdn.js +12 -12
- package/cdn/index.cdn.js.map +1 -1
- package/cdn/index.cdn.mjs +11 -11
- package/cdn/index.cdn.mjs.map +1 -1
- package/cdn/index.css +1 -1
- package/es/_virtual/_commonjsHelpers.mjs +41 -0
- package/es/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/es/_virtual/dayjs.min.mjs +8 -0
- package/es/_virtual/dayjs.min.mjs.map +1 -0
- package/es/_virtual/dayjs.min2.mjs +4 -0
- package/es/_virtual/dayjs.min2.mjs.map +1 -0
- package/es/components/date-picker/index.d.ts +206 -0
- package/es/components/date-picker/index.mjs +8 -0
- package/es/components/date-picker/index.mjs.map +1 -0
- package/es/components/date-picker/src/date-picker.d.ts +8 -0
- package/es/components/date-picker/src/date-picker.mjs +4 -0
- package/es/components/date-picker/src/date-picker.mjs.map +1 -0
- package/es/components/date-picker/src/date-picker.vue.d.ts +208 -0
- package/es/components/date-picker/src/date-picker.vue.mjs +6 -0
- package/es/components/date-picker/src/date-picker.vue.mjs.map +1 -0
- package/es/components/date-picker/src/date-picker.vue2.mjs +400 -0
- package/es/components/date-picker/src/date-picker.vue2.mjs.map +1 -0
- package/es/components/drawer/src/drawer.vue2.mjs +7 -7
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +1 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/live-player/index.d.ts +13 -0
- package/es/components/live-player/src/live-player.d.ts +4 -0
- package/es/components/live-player/src/live-player.mjs +7 -0
- package/es/components/live-player/src/live-player.mjs.map +1 -1
- package/es/components/live-player/src/live-player.vue.d.ts +13 -0
- package/es/components/live-player/src/ysPlayer.vue.d.ts +8 -0
- package/es/components/live-player/src/ysPlayer.vue2.mjs +3 -2
- package/es/components/live-player/src/ysPlayer.vue2.mjs.map +1 -1
- package/es/components/search/index.d.ts +1 -0
- package/es/components/search/src/search.vue.d.ts +1 -0
- package/es/components/search/src/search.vue2.mjs +5 -0
- package/es/components/search/src/search.vue2.mjs.map +1 -1
- package/es/components/select/index.d.ts +2 -2
- package/es/components/select/src/select.vue.d.ts +2 -2
- package/es/index.mjs +1 -0
- package/es/index.mjs.map +1 -1
- package/es/installer.mjs +3 -1
- package/es/installer.mjs.map +1 -1
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +18 -0
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs.map +1 -0
- package/es/utils/util.mjs +2 -1
- package/es/utils/util.mjs.map +1 -1
- package/global.d.ts +1 -0
- package/lib/_virtual/_commonjsHelpers.js +47 -0
- package/lib/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/_virtual/dayjs.min.js +12 -0
- package/lib/_virtual/dayjs.min.js.map +1 -0
- package/lib/_virtual/dayjs.min2.js +6 -0
- package/lib/_virtual/dayjs.min2.js.map +1 -0
- package/lib/components/date-picker/index.d.ts +206 -0
- package/lib/components/date-picker/index.js +13 -0
- package/lib/components/date-picker/index.js.map +1 -0
- package/lib/components/date-picker/src/date-picker.d.ts +8 -0
- package/lib/components/date-picker/src/date-picker.js +6 -0
- package/lib/components/date-picker/src/date-picker.js.map +1 -0
- package/lib/components/date-picker/src/date-picker.vue.d.ts +208 -0
- package/lib/components/date-picker/src/date-picker.vue.js +10 -0
- package/lib/components/date-picker/src/date-picker.vue.js.map +1 -0
- package/lib/components/date-picker/src/date-picker.vue2.js +404 -0
- package/lib/components/date-picker/src/date-picker.vue2.js.map +1 -0
- package/lib/components/drawer/src/drawer.vue2.js +7 -7
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +38 -36
- package/lib/components/index.js.map +1 -1
- package/lib/components/live-player/index.d.ts +13 -0
- package/lib/components/live-player/src/live-player.d.ts +4 -0
- package/lib/components/live-player/src/live-player.js +7 -0
- package/lib/components/live-player/src/live-player.js.map +1 -1
- package/lib/components/live-player/src/live-player.vue.d.ts +13 -0
- package/lib/components/live-player/src/ysPlayer.vue.d.ts +8 -0
- package/lib/components/live-player/src/ysPlayer.vue2.js +3 -2
- package/lib/components/live-player/src/ysPlayer.vue2.js.map +1 -1
- package/lib/components/search/index.d.ts +1 -0
- package/lib/components/search/src/search.vue.d.ts +1 -0
- package/lib/components/search/src/search.vue2.js +5 -0
- package/lib/components/search/src/search.vue2.js.map +1 -1
- package/lib/components/select/index.d.ts +2 -2
- package/lib/components/select/src/select.vue.d.ts +2 -2
- package/lib/index.js +42 -40
- package/lib/index.js.map +1 -1
- package/lib/installer.js +3 -1
- package/lib/installer.js.map +1 -1
- package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +20 -0
- package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js.map +1 -0
- package/lib/utils/util.js +2 -1
- package/lib/utils/util.js.map +1 -1
- package/package.json +1 -1
- package/theme-default/i-date-picker.css +1 -0
- package/theme-default/i-drawer.css +1 -1
- package/theme-default/index.css +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
|
+
|
|
5
|
+
function getDefaultExportFromCjs (x) {
|
|
6
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function getDefaultExportFromNamespaceIfPresent (n) {
|
|
10
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
14
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function getAugmentedNamespace(n) {
|
|
18
|
+
if (n.__esModule) return n;
|
|
19
|
+
var f = n.default;
|
|
20
|
+
if (typeof f == "function") {
|
|
21
|
+
var a = function a () {
|
|
22
|
+
if (this instanceof a) {
|
|
23
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
24
|
+
}
|
|
25
|
+
return f.apply(this, arguments);
|
|
26
|
+
};
|
|
27
|
+
a.prototype = f.prototype;
|
|
28
|
+
} else a = {};
|
|
29
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
30
|
+
Object.keys(n).forEach(function (k) {
|
|
31
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
32
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return n[k];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
return a;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.commonjsGlobal = commonjsGlobal;
|
|
43
|
+
exports.getAugmentedNamespace = getAugmentedNamespace;
|
|
44
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
45
|
+
exports.getDefaultExportFromNamespaceIfNotNamed = getDefaultExportFromNamespaceIfNotNamed;
|
|
46
|
+
exports.getDefaultExportFromNamespaceIfPresent = getDefaultExportFromNamespaceIfPresent;
|
|
47
|
+
//# sourceMappingURL=_commonjsHelpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers.js');
|
|
6
|
+
var dayjs_min = require('../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js');
|
|
7
|
+
|
|
8
|
+
var dayjs_minExports = dayjs_min.__require();
|
|
9
|
+
var dayjs = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(dayjs_minExports);
|
|
10
|
+
|
|
11
|
+
exports.default = dayjs;
|
|
12
|
+
//# sourceMappingURL=dayjs.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dayjs.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dayjs.min2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
export declare const IDatePicker: import("../../types").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<string | string[]>;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
placeholder: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
startPlaceholder: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
endPlaceholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
clearable: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
type: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
format: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: null;
|
|
36
|
+
};
|
|
37
|
+
valueFormat: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: null;
|
|
40
|
+
};
|
|
41
|
+
shortcuts: {
|
|
42
|
+
type: import("vue").PropType<import("./src/date-picker").Shortcuts[]>;
|
|
43
|
+
default: () => never[];
|
|
44
|
+
};
|
|
45
|
+
disabledDate: {
|
|
46
|
+
type: FunctionConstructor;
|
|
47
|
+
default: () => boolean;
|
|
48
|
+
};
|
|
49
|
+
rangeSeparator: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
MonthPicker: any;
|
|
55
|
+
QuarterPicker: any;
|
|
56
|
+
RangePicker: any;
|
|
57
|
+
WeekPicker: any;
|
|
58
|
+
YearPicker: any;
|
|
59
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: import("vue").PropType<string | string[]>;
|
|
62
|
+
default: null;
|
|
63
|
+
};
|
|
64
|
+
placeholder: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
startPlaceholder: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
endPlaceholder: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
disabled: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
clearable: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
size: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
};
|
|
87
|
+
type: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
format: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: null;
|
|
94
|
+
};
|
|
95
|
+
valueFormat: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: null;
|
|
98
|
+
};
|
|
99
|
+
shortcuts: {
|
|
100
|
+
type: import("vue").PropType<import("./src/date-picker").Shortcuts[]>;
|
|
101
|
+
default: () => never[];
|
|
102
|
+
};
|
|
103
|
+
disabledDate: {
|
|
104
|
+
type: FunctionConstructor;
|
|
105
|
+
default: () => boolean;
|
|
106
|
+
};
|
|
107
|
+
rangeSeparator: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{
|
|
112
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
}> & {}>;
|
|
117
|
+
inputValue: import("vue").Ref<string | string[], string | string[]>;
|
|
118
|
+
emit: (event: "clear" | "update:modelValue" | "change" | "select", ...args: any[]) => void;
|
|
119
|
+
onChange: (value: any) => void;
|
|
120
|
+
onSelect: (value: any) => void;
|
|
121
|
+
realShortcuts: import("vue").ComputedRef<{
|
|
122
|
+
label: string | undefined;
|
|
123
|
+
value: any;
|
|
124
|
+
}[]>;
|
|
125
|
+
defaultProps: import("vue").ComputedRef<{
|
|
126
|
+
format: string;
|
|
127
|
+
valueFormat: string;
|
|
128
|
+
shortcuts: {
|
|
129
|
+
label: string | undefined;
|
|
130
|
+
value: any;
|
|
131
|
+
}[];
|
|
132
|
+
}>;
|
|
133
|
+
realPlaceholder: import("vue").ComputedRef<string | string[]>;
|
|
134
|
+
readonly DatePicker: any;
|
|
135
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "change" | "select")[], "clear" | "update:modelValue" | "change" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
136
|
+
modelValue: {
|
|
137
|
+
type: import("vue").PropType<string | string[]>;
|
|
138
|
+
default: null;
|
|
139
|
+
};
|
|
140
|
+
placeholder: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
startPlaceholder: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
endPlaceholder: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
disabled: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
clearable: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
size: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
};
|
|
163
|
+
type: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
format: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: null;
|
|
170
|
+
};
|
|
171
|
+
valueFormat: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: null;
|
|
174
|
+
};
|
|
175
|
+
shortcuts: {
|
|
176
|
+
type: import("vue").PropType<import("./src/date-picker").Shortcuts[]>;
|
|
177
|
+
default: () => never[];
|
|
178
|
+
};
|
|
179
|
+
disabledDate: {
|
|
180
|
+
type: FunctionConstructor;
|
|
181
|
+
default: () => boolean;
|
|
182
|
+
};
|
|
183
|
+
rangeSeparator: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
}>> & Readonly<{
|
|
188
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
189
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
}>, {
|
|
193
|
+
modelValue: string | string[];
|
|
194
|
+
format: string;
|
|
195
|
+
type: string;
|
|
196
|
+
disabled: boolean;
|
|
197
|
+
placeholder: string;
|
|
198
|
+
startPlaceholder: string;
|
|
199
|
+
endPlaceholder: string;
|
|
200
|
+
clearable: boolean;
|
|
201
|
+
valueFormat: string;
|
|
202
|
+
shortcuts: import("./src/date-picker").Shortcuts[];
|
|
203
|
+
disabledDate: Function;
|
|
204
|
+
rangeSeparator: string;
|
|
205
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
206
|
+
export default IDatePicker;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var install = require('../../utils/install.js');
|
|
6
|
+
require('./src/date-picker.vue.js');
|
|
7
|
+
var datePicker_vue_vue_type_script_setup_true_lang = require('./src/date-picker.vue2.js');
|
|
8
|
+
|
|
9
|
+
const IDatePicker = install.withInstall(datePicker_vue_vue_type_script_setup_true_lang.default);
|
|
10
|
+
|
|
11
|
+
exports.IDatePicker = IDatePicker;
|
|
12
|
+
exports.default = IDatePicker;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../packages/components/date-picker/index.ts"],"sourcesContent":["import { withInstall } from '../../utils/install';\nimport DatePicker from './src/date-picker.vue';\n\nexport const IDatePicker = withInstall(DatePicker); // 增加类型\n\nexport default IDatePicker;\n"],"names":["withInstall","DatePicker"],"mappings":";;;;;;;;AAGa,MAAA,WAAA,GAAcA,oBAAYC,sDAAU;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.js","sources":["../../../../../../../packages/components/date-picker/src/date-picker.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue';\n\nexport const DatePickerProps = {};\n\nexport type DatePickerPropsType = ExtractPropTypes<typeof DatePickerProps>;\n// export type DatePickerInstance = InstanceType<typeof DatePicker>;\n\nexport type Shortcuts = {\n label?: string | undefined;\n text?: string;\n value: any;\n };\n"],"names":[],"mappings":";;AAEO,MAAM,kBAAkB;;;;"}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { Shortcuts } from './date-picker';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<string | string[]>;
|
|
6
|
+
default: null;
|
|
7
|
+
};
|
|
8
|
+
placeholder: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
startPlaceholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
endPlaceholder: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
clearable: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
};
|
|
31
|
+
type: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
format: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
valueFormat: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: null;
|
|
42
|
+
};
|
|
43
|
+
shortcuts: {
|
|
44
|
+
type: PropType<Shortcuts[]>;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
47
|
+
disabledDate: {
|
|
48
|
+
type: FunctionConstructor;
|
|
49
|
+
default: () => boolean;
|
|
50
|
+
};
|
|
51
|
+
rangeSeparator: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
}>, {
|
|
56
|
+
MonthPicker: any;
|
|
57
|
+
QuarterPicker: any;
|
|
58
|
+
RangePicker: any;
|
|
59
|
+
WeekPicker: any;
|
|
60
|
+
YearPicker: any;
|
|
61
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
modelValue: {
|
|
63
|
+
type: PropType<string | string[]>;
|
|
64
|
+
default: null;
|
|
65
|
+
};
|
|
66
|
+
placeholder: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
startPlaceholder: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
endPlaceholder: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
disabled: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
clearable: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
size: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
};
|
|
89
|
+
type: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
format: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: null;
|
|
96
|
+
};
|
|
97
|
+
valueFormat: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: null;
|
|
100
|
+
};
|
|
101
|
+
shortcuts: {
|
|
102
|
+
type: PropType<Shortcuts[]>;
|
|
103
|
+
default: () => never[];
|
|
104
|
+
};
|
|
105
|
+
disabledDate: {
|
|
106
|
+
type: FunctionConstructor;
|
|
107
|
+
default: () => boolean;
|
|
108
|
+
};
|
|
109
|
+
rangeSeparator: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
}>> & Readonly<{
|
|
114
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
}> & {}>;
|
|
119
|
+
inputValue: import("vue").Ref<string | string[], string | string[]>;
|
|
120
|
+
emit: (event: "clear" | "update:modelValue" | "change" | "select", ...args: any[]) => void;
|
|
121
|
+
onChange: (value: any) => void;
|
|
122
|
+
onSelect: (value: any) => void;
|
|
123
|
+
realShortcuts: import("vue").ComputedRef<{
|
|
124
|
+
label: string | undefined;
|
|
125
|
+
value: any;
|
|
126
|
+
}[]>;
|
|
127
|
+
defaultProps: import("vue").ComputedRef<{
|
|
128
|
+
format: string;
|
|
129
|
+
valueFormat: string;
|
|
130
|
+
shortcuts: {
|
|
131
|
+
label: string | undefined;
|
|
132
|
+
value: any;
|
|
133
|
+
}[];
|
|
134
|
+
}>;
|
|
135
|
+
realPlaceholder: import("vue").ComputedRef<string | string[]>;
|
|
136
|
+
readonly DatePicker: any;
|
|
137
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "change" | "select")[], "clear" | "update:modelValue" | "change" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
138
|
+
modelValue: {
|
|
139
|
+
type: PropType<string | string[]>;
|
|
140
|
+
default: null;
|
|
141
|
+
};
|
|
142
|
+
placeholder: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
startPlaceholder: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
endPlaceholder: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
disabled: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
clearable: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
size: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
};
|
|
165
|
+
type: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
format: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: null;
|
|
172
|
+
};
|
|
173
|
+
valueFormat: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
default: null;
|
|
176
|
+
};
|
|
177
|
+
shortcuts: {
|
|
178
|
+
type: PropType<Shortcuts[]>;
|
|
179
|
+
default: () => never[];
|
|
180
|
+
};
|
|
181
|
+
disabledDate: {
|
|
182
|
+
type: FunctionConstructor;
|
|
183
|
+
default: () => boolean;
|
|
184
|
+
};
|
|
185
|
+
rangeSeparator: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
189
|
+
}>> & Readonly<{
|
|
190
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
}>, {
|
|
195
|
+
modelValue: string | string[];
|
|
196
|
+
format: string;
|
|
197
|
+
type: string;
|
|
198
|
+
disabled: boolean;
|
|
199
|
+
placeholder: string;
|
|
200
|
+
startPlaceholder: string;
|
|
201
|
+
endPlaceholder: string;
|
|
202
|
+
clearable: boolean;
|
|
203
|
+
valueFormat: string;
|
|
204
|
+
shortcuts: Shortcuts[];
|
|
205
|
+
disabledDate: Function;
|
|
206
|
+
rangeSeparator: string;
|
|
207
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
208
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var datePicker_vue_vue_type_script_setup_true_lang = require('./date-picker.vue2.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = datePicker_vue_vue_type_script_setup_true_lang.default;
|
|
10
|
+
//# sourceMappingURL=date-picker.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|