@opentinyvue/vue-date-picker 2.21.0 → 3.21.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/lib/index.js +1 -1
- package/lib/mobile.js +65 -83
- package/lib/pc.js +6 -47
- package/package.json +6 -6
- package/src/index.d.ts +390 -2
- package/src/mobile.vue.d.ts +55 -1
package/lib/index.js
CHANGED
package/lib/mobile.js
CHANGED
|
@@ -3,38 +3,42 @@ import { renderless, api } from '@opentinyvue/vue-renderless/date-picker/vue';
|
|
|
3
3
|
import MiniPicker from '@opentinyvue/vue-mini-picker';
|
|
4
4
|
import Input from '@opentinyvue/vue-input';
|
|
5
5
|
import { iconCloseCircle } from '@opentinyvue/vue-icon';
|
|
6
|
+
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';
|
|
6
7
|
|
|
7
|
-
function
|
|
8
|
-
var
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
9
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
10
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
11
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
12
|
+
t && (r = t);
|
|
13
|
+
var o = 0;
|
|
14
|
+
return function() {
|
|
15
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
16
|
+
};
|
|
13
17
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var originalRender = options.render;
|
|
22
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
23
|
-
hook.call(context);
|
|
24
|
-
return originalRender(h, context);
|
|
25
|
-
};
|
|
26
|
-
} else {
|
|
27
|
-
var existing = options.beforeCreate;
|
|
28
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
29
|
-
}
|
|
18
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19
|
+
}
|
|
20
|
+
function _unsupportedIterableToArray(r, a) {
|
|
21
|
+
if (r) {
|
|
22
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
23
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
24
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
30
25
|
}
|
|
31
|
-
return {
|
|
32
|
-
exports: scriptExports,
|
|
33
|
-
options
|
|
34
|
-
};
|
|
35
26
|
}
|
|
27
|
+
function _arrayLikeToArray(r, a) {
|
|
28
|
+
(null == a || a > r.length) && (a = r.length);
|
|
29
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
30
|
+
return n;
|
|
31
|
+
}
|
|
32
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
33
|
+
var target = sfc.__vccOpts || sfc;
|
|
34
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
35
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
36
|
+
target[key] = val;
|
|
37
|
+
}
|
|
38
|
+
return target;
|
|
39
|
+
};
|
|
36
40
|
|
|
37
|
-
var
|
|
41
|
+
var _sfc_main = defineComponent({
|
|
38
42
|
components: {
|
|
39
43
|
TinyMiniPicker: MiniPicker,
|
|
40
44
|
TinyInput: Input,
|
|
@@ -50,64 +54,42 @@ var __vue2_script = defineComponent({
|
|
|
50
54
|
});
|
|
51
55
|
}
|
|
52
56
|
});
|
|
53
|
-
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
return
|
|
57
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
58
|
+
var _component_icon_close = resolveComponent("icon-close");
|
|
59
|
+
var _component_tiny_input = resolveComponent("tiny-input");
|
|
60
|
+
var _component_tiny_mini_picker = resolveComponent("tiny-mini-picker");
|
|
61
|
+
return openBlock(), createElementBlock("div", null, [createVNode(_component_tiny_input, {
|
|
62
|
+
onHookMounted: _ctx.hookMounted,
|
|
63
|
+
modelValue: _ctx.state.displayValue,
|
|
64
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function($event) {
|
|
65
|
+
return _ctx.state.displayValue = $event;
|
|
66
|
+
}),
|
|
58
67
|
ref: "refrence",
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
on: {
|
|
79
|
-
"click": _vm.clearDisplayValue
|
|
80
|
-
},
|
|
81
|
-
slot: "suffix"
|
|
82
|
-
}) : _vm._e()], 1), _c("tiny-mini-picker", {
|
|
68
|
+
onFocus: _ctx.showPickerAndLockScroll,
|
|
69
|
+
readOnly: "true",
|
|
70
|
+
_mode: _ctx._mode
|
|
71
|
+
}, {
|
|
72
|
+
default: withCtx(function() {
|
|
73
|
+
return [!_ctx.state.clearable ? (openBlock(), createBlock(_component_icon_close, {
|
|
74
|
+
key: 0,
|
|
75
|
+
slot: "suffix",
|
|
76
|
+
onClick: _ctx.clearDisplayValue
|
|
77
|
+
}, null, 8, ["onClick"])) : createCommentVNode("v-if", true)];
|
|
78
|
+
}),
|
|
79
|
+
_: 1
|
|
80
|
+
/* STABLE */
|
|
81
|
+
}, 8, ["onHookMounted", "modelValue", "onFocus", "_mode"]), createVNode(_component_tiny_mini_picker, {
|
|
82
|
+
visible: _ctx.state.visible,
|
|
83
|
+
"onUpdate:visible": _cache[1] || (_cache[1] = function($event) {
|
|
84
|
+
return _ctx.state.visible = $event;
|
|
85
|
+
}),
|
|
83
86
|
ref: "picker",
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"confirm": _vm.onConfirm,
|
|
90
|
-
"cancel": _vm.onCancel
|
|
91
|
-
},
|
|
92
|
-
model: {
|
|
93
|
-
value: _vm.state.visible,
|
|
94
|
-
callback: function callback($$v) {
|
|
95
|
-
_vm.$set(_vm.state, "visible", $$v);
|
|
96
|
-
},
|
|
97
|
-
expression: "state.visible"
|
|
98
|
-
}
|
|
99
|
-
})], 1);
|
|
100
|
-
};
|
|
101
|
-
var staticRenderFns = [];
|
|
102
|
-
var __cssModules = {};
|
|
103
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
|
|
104
|
-
function __vue2_injectStyles(context) {
|
|
105
|
-
for (var o in __cssModules) {
|
|
106
|
-
this[o] = __cssModules[o];
|
|
107
|
-
}
|
|
87
|
+
columns: _ctx.state.columns,
|
|
88
|
+
onChange: _ctx.onChange,
|
|
89
|
+
onConfirm: _ctx.onConfirm,
|
|
90
|
+
onCancel: _ctx.onCancel
|
|
91
|
+
}, null, 8, ["visible", "columns", "onChange", "onConfirm", "onCancel"])]);
|
|
108
92
|
}
|
|
109
|
-
var mobile = /* @__PURE__ */
|
|
110
|
-
return __component__.exports;
|
|
111
|
-
}();
|
|
93
|
+
var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
112
94
|
|
|
113
95
|
export { mobile as default };
|
package/lib/pc.js
CHANGED
|
@@ -1,37 +1,3 @@
|
|
|
1
|
-
import Picker from '@opentinyvue/vue-picker';
|
|
2
|
-
import { $props } from '@opentinyvue/vue-common';
|
|
3
|
-
import { extend } from '@opentinyvue/vue-renderless/common/object';
|
|
4
|
-
|
|
5
|
-
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
6
|
-
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
7
|
-
if (render) {
|
|
8
|
-
options.render = render;
|
|
9
|
-
options.staticRenderFns = staticRenderFns;
|
|
10
|
-
options._compiled = true;
|
|
11
|
-
}
|
|
12
|
-
var hook;
|
|
13
|
-
if (injectStyles) {
|
|
14
|
-
hook = injectStyles;
|
|
15
|
-
}
|
|
16
|
-
if (hook) {
|
|
17
|
-
if (options.functional) {
|
|
18
|
-
options._injectStyles = hook;
|
|
19
|
-
var originalRender = options.render;
|
|
20
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
21
|
-
hook.call(context);
|
|
22
|
-
return originalRender(h, context);
|
|
23
|
-
};
|
|
24
|
-
} else {
|
|
25
|
-
var existing = options.beforeCreate;
|
|
26
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
exports: scriptExports,
|
|
31
|
-
options
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
1
|
function _extends() {
|
|
36
2
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
37
3
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -41,6 +7,9 @@ function _extends() {
|
|
|
41
7
|
return n;
|
|
42
8
|
}, _extends.apply(null, arguments);
|
|
43
9
|
}
|
|
10
|
+
import Picker from "@opentinyvue/vue-picker";
|
|
11
|
+
import { $props } from "@opentinyvue/vue-common";
|
|
12
|
+
import { extend } from "@opentinyvue/vue-renderless/common/object";
|
|
44
13
|
var DatePicker = extend(true, {
|
|
45
14
|
props: _extends({}, $props, {
|
|
46
15
|
_constants: {
|
|
@@ -55,16 +24,6 @@ var DatePicker = extend(true, {
|
|
|
55
24
|
}
|
|
56
25
|
})
|
|
57
26
|
}, Picker);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
function __vue2_injectStyles(context) {
|
|
62
|
-
for (var o in __cssModules) {
|
|
63
|
-
this[o] = __cssModules[o];
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
var pc = /* @__PURE__ */ function() {
|
|
67
|
-
return __component__.exports;
|
|
68
|
-
}();
|
|
69
|
-
|
|
70
|
-
export { pc as default };
|
|
27
|
+
export {
|
|
28
|
+
DatePicker as default
|
|
29
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-date-picker",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.21.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@opentinyvue/vue-renderless": "~3.21.0",
|
|
11
|
-
"@opentinyvue/vue-common": "~
|
|
12
|
-
"@opentinyvue/vue-picker": "~
|
|
13
|
-
"@opentinyvue/vue-mini-picker": "~
|
|
14
|
-
"@opentinyvue/vue-input": "~
|
|
15
|
-
"@opentinyvue/vue-icon": "~
|
|
11
|
+
"@opentinyvue/vue-common": "~3.21.0",
|
|
12
|
+
"@opentinyvue/vue-picker": "~3.21.0",
|
|
13
|
+
"@opentinyvue/vue-mini-picker": "~3.21.0",
|
|
14
|
+
"@opentinyvue/vue-input": "~3.21.0",
|
|
15
|
+
"@opentinyvue/vue-icon": "~3.21.0",
|
|
16
16
|
"@opentinyvue/vue-theme": "~3.21.0"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
package/src/index.d.ts
CHANGED
|
@@ -110,7 +110,9 @@ export declare const datePickerProps: {
|
|
|
110
110
|
prefixIcon: ObjectConstructor;
|
|
111
111
|
clearIcon: {
|
|
112
112
|
type: ObjectConstructor;
|
|
113
|
-
default():
|
|
113
|
+
default(): import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
|
|
114
116
|
};
|
|
115
117
|
name: {
|
|
116
118
|
default: string;
|
|
@@ -205,5 +207,391 @@ export declare const datePickerProps: {
|
|
|
205
207
|
tiny_theme: StringConstructor;
|
|
206
208
|
tiny_chart_theme: ObjectConstructor;
|
|
207
209
|
};
|
|
208
|
-
declare const _default:
|
|
210
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
211
|
+
tabindex: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
timeFormat: StringConstructor;
|
|
216
|
+
suffixIcon: ObjectConstructor;
|
|
217
|
+
label: StringConstructor;
|
|
218
|
+
shape: StringConstructor;
|
|
219
|
+
tip: StringConstructor;
|
|
220
|
+
changeOnConfirm: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
popperAppendToBody: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
isutc8: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
dbTimezone: NumberConstructor;
|
|
233
|
+
timezoneOffset: NumberConstructor;
|
|
234
|
+
iso8601: BooleanConstructor;
|
|
235
|
+
autoFormat: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
title: StringConstructor;
|
|
240
|
+
blank: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
type: {
|
|
245
|
+
type: PropType<"date" | "year" | "month" | "dates" | "years" | "yearrange" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime">;
|
|
246
|
+
default: string;
|
|
247
|
+
};
|
|
248
|
+
_constants: {
|
|
249
|
+
type: ObjectConstructor;
|
|
250
|
+
default: () => {
|
|
251
|
+
MonthDay: number;
|
|
252
|
+
Minutes: number;
|
|
253
|
+
Hours: number;
|
|
254
|
+
TotalMonth: number;
|
|
255
|
+
Max: string;
|
|
256
|
+
Min: string;
|
|
257
|
+
Hour: string;
|
|
258
|
+
Minute: string;
|
|
259
|
+
CapYear: string;
|
|
260
|
+
CapMonth: string;
|
|
261
|
+
CapDate: string;
|
|
262
|
+
CapHour: string;
|
|
263
|
+
CapMinute: string;
|
|
264
|
+
YearMonth: string;
|
|
265
|
+
DateTime: string;
|
|
266
|
+
Date: string;
|
|
267
|
+
HookMounted: string;
|
|
268
|
+
Hidden: string;
|
|
269
|
+
Year: string;
|
|
270
|
+
Day: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
timeArrowControl: BooleanConstructor;
|
|
274
|
+
timeEditable: {
|
|
275
|
+
type: BooleanConstructor;
|
|
276
|
+
default: boolean;
|
|
277
|
+
};
|
|
278
|
+
size: StringConstructor;
|
|
279
|
+
format: StringConstructor;
|
|
280
|
+
valueFormat: StringConstructor;
|
|
281
|
+
readonly: BooleanConstructor;
|
|
282
|
+
placeholder: StringConstructor;
|
|
283
|
+
startPlaceholder: StringConstructor;
|
|
284
|
+
endPlaceholder: StringConstructor;
|
|
285
|
+
prefixIcon: ObjectConstructor;
|
|
286
|
+
clearIcon: {
|
|
287
|
+
type: ObjectConstructor;
|
|
288
|
+
default(): import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
289
|
+
[key: string]: any;
|
|
290
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
|
|
291
|
+
};
|
|
292
|
+
name: {
|
|
293
|
+
default: string;
|
|
294
|
+
validator: (value: any) => boolean;
|
|
295
|
+
};
|
|
296
|
+
disabled: BooleanConstructor;
|
|
297
|
+
clearable: {
|
|
298
|
+
type: BooleanConstructor;
|
|
299
|
+
default: boolean;
|
|
300
|
+
};
|
|
301
|
+
id: {
|
|
302
|
+
default: string;
|
|
303
|
+
validator: (value: any) => boolean;
|
|
304
|
+
};
|
|
305
|
+
popperClass: StringConstructor;
|
|
306
|
+
editable: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
align: {
|
|
311
|
+
type: StringConstructor;
|
|
312
|
+
default: string;
|
|
313
|
+
};
|
|
314
|
+
modelValue: {};
|
|
315
|
+
defaultValue: {};
|
|
316
|
+
defaultTime: {};
|
|
317
|
+
rangeSeparator: {
|
|
318
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
319
|
+
default: string;
|
|
320
|
+
};
|
|
321
|
+
pickerOptions: {};
|
|
322
|
+
unlinkPanels: BooleanConstructor;
|
|
323
|
+
validateEvent: {
|
|
324
|
+
type: BooleanConstructor;
|
|
325
|
+
default: boolean;
|
|
326
|
+
};
|
|
327
|
+
isRange: BooleanConstructor;
|
|
328
|
+
arrowControl: BooleanConstructor;
|
|
329
|
+
timezoneData: {};
|
|
330
|
+
showTimezone: {
|
|
331
|
+
type: BooleanConstructor;
|
|
332
|
+
default: boolean;
|
|
333
|
+
};
|
|
334
|
+
defaultTimezone: {};
|
|
335
|
+
visible: BooleanConstructor;
|
|
336
|
+
minDate: {
|
|
337
|
+
type: DateConstructor;
|
|
338
|
+
default: () => Date;
|
|
339
|
+
validator: (val: Date) => boolean;
|
|
340
|
+
};
|
|
341
|
+
maxDate: {
|
|
342
|
+
type: DateConstructor;
|
|
343
|
+
default: () => Date;
|
|
344
|
+
validator: (val: Date) => boolean;
|
|
345
|
+
};
|
|
346
|
+
formatter: {
|
|
347
|
+
type: FunctionConstructor;
|
|
348
|
+
default: (type: any, value: any) => any;
|
|
349
|
+
};
|
|
350
|
+
componentName: {
|
|
351
|
+
type: StringConstructor;
|
|
352
|
+
default: string;
|
|
353
|
+
};
|
|
354
|
+
displayOnly: {
|
|
355
|
+
type: BooleanConstructor;
|
|
356
|
+
default: boolean;
|
|
357
|
+
};
|
|
358
|
+
step: {
|
|
359
|
+
type: ObjectConstructor;
|
|
360
|
+
default(): {
|
|
361
|
+
hour: number;
|
|
362
|
+
minute: number;
|
|
363
|
+
second: number;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
showWeekNumber: {
|
|
367
|
+
type: BooleanConstructor;
|
|
368
|
+
default: boolean;
|
|
369
|
+
};
|
|
370
|
+
formatWeeks: FunctionConstructor;
|
|
371
|
+
changeCompat: {
|
|
372
|
+
type: BooleanConstructor;
|
|
373
|
+
default: boolean;
|
|
374
|
+
};
|
|
375
|
+
nowClick: {
|
|
376
|
+
type: FunctionConstructor;
|
|
377
|
+
};
|
|
378
|
+
tiny_mode: StringConstructor;
|
|
379
|
+
tiny_mode_root: BooleanConstructor;
|
|
380
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
381
|
+
tiny_renderless: FunctionConstructor;
|
|
382
|
+
tiny_theme: StringConstructor;
|
|
383
|
+
tiny_chart_theme: ObjectConstructor;
|
|
384
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
385
|
+
[key: string]: any;
|
|
386
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
387
|
+
tabindex: {
|
|
388
|
+
type: StringConstructor;
|
|
389
|
+
default: string;
|
|
390
|
+
};
|
|
391
|
+
timeFormat: StringConstructor;
|
|
392
|
+
suffixIcon: ObjectConstructor;
|
|
393
|
+
label: StringConstructor;
|
|
394
|
+
shape: StringConstructor;
|
|
395
|
+
tip: StringConstructor;
|
|
396
|
+
changeOnConfirm: {
|
|
397
|
+
type: BooleanConstructor;
|
|
398
|
+
default: boolean;
|
|
399
|
+
};
|
|
400
|
+
popperAppendToBody: {
|
|
401
|
+
type: BooleanConstructor;
|
|
402
|
+
default: boolean;
|
|
403
|
+
};
|
|
404
|
+
isutc8: {
|
|
405
|
+
type: BooleanConstructor;
|
|
406
|
+
default: boolean;
|
|
407
|
+
};
|
|
408
|
+
dbTimezone: NumberConstructor;
|
|
409
|
+
timezoneOffset: NumberConstructor;
|
|
410
|
+
iso8601: BooleanConstructor;
|
|
411
|
+
autoFormat: {
|
|
412
|
+
type: BooleanConstructor;
|
|
413
|
+
default: boolean;
|
|
414
|
+
};
|
|
415
|
+
title: StringConstructor;
|
|
416
|
+
blank: {
|
|
417
|
+
type: BooleanConstructor;
|
|
418
|
+
default: boolean;
|
|
419
|
+
};
|
|
420
|
+
type: {
|
|
421
|
+
type: PropType<"date" | "year" | "month" | "dates" | "years" | "yearrange" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime">;
|
|
422
|
+
default: string;
|
|
423
|
+
};
|
|
424
|
+
_constants: {
|
|
425
|
+
type: ObjectConstructor;
|
|
426
|
+
default: () => {
|
|
427
|
+
MonthDay: number;
|
|
428
|
+
Minutes: number;
|
|
429
|
+
Hours: number;
|
|
430
|
+
TotalMonth: number;
|
|
431
|
+
Max: string;
|
|
432
|
+
Min: string;
|
|
433
|
+
Hour: string;
|
|
434
|
+
Minute: string;
|
|
435
|
+
CapYear: string;
|
|
436
|
+
CapMonth: string;
|
|
437
|
+
CapDate: string;
|
|
438
|
+
CapHour: string;
|
|
439
|
+
CapMinute: string;
|
|
440
|
+
YearMonth: string;
|
|
441
|
+
DateTime: string;
|
|
442
|
+
Date: string;
|
|
443
|
+
HookMounted: string;
|
|
444
|
+
Hidden: string;
|
|
445
|
+
Year: string;
|
|
446
|
+
Day: string;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
timeArrowControl: BooleanConstructor;
|
|
450
|
+
timeEditable: {
|
|
451
|
+
type: BooleanConstructor;
|
|
452
|
+
default: boolean;
|
|
453
|
+
};
|
|
454
|
+
size: StringConstructor;
|
|
455
|
+
format: StringConstructor;
|
|
456
|
+
valueFormat: StringConstructor;
|
|
457
|
+
readonly: BooleanConstructor;
|
|
458
|
+
placeholder: StringConstructor;
|
|
459
|
+
startPlaceholder: StringConstructor;
|
|
460
|
+
endPlaceholder: StringConstructor;
|
|
461
|
+
prefixIcon: ObjectConstructor;
|
|
462
|
+
clearIcon: {
|
|
463
|
+
type: ObjectConstructor;
|
|
464
|
+
default(): import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
465
|
+
[key: string]: any;
|
|
466
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
|
|
467
|
+
};
|
|
468
|
+
name: {
|
|
469
|
+
default: string;
|
|
470
|
+
validator: (value: any) => boolean;
|
|
471
|
+
};
|
|
472
|
+
disabled: BooleanConstructor;
|
|
473
|
+
clearable: {
|
|
474
|
+
type: BooleanConstructor;
|
|
475
|
+
default: boolean;
|
|
476
|
+
};
|
|
477
|
+
id: {
|
|
478
|
+
default: string;
|
|
479
|
+
validator: (value: any) => boolean;
|
|
480
|
+
};
|
|
481
|
+
popperClass: StringConstructor;
|
|
482
|
+
editable: {
|
|
483
|
+
type: BooleanConstructor;
|
|
484
|
+
default: boolean;
|
|
485
|
+
};
|
|
486
|
+
align: {
|
|
487
|
+
type: StringConstructor;
|
|
488
|
+
default: string;
|
|
489
|
+
};
|
|
490
|
+
modelValue: {};
|
|
491
|
+
defaultValue: {};
|
|
492
|
+
defaultTime: {};
|
|
493
|
+
rangeSeparator: {
|
|
494
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
495
|
+
default: string;
|
|
496
|
+
};
|
|
497
|
+
pickerOptions: {};
|
|
498
|
+
unlinkPanels: BooleanConstructor;
|
|
499
|
+
validateEvent: {
|
|
500
|
+
type: BooleanConstructor;
|
|
501
|
+
default: boolean;
|
|
502
|
+
};
|
|
503
|
+
isRange: BooleanConstructor;
|
|
504
|
+
arrowControl: BooleanConstructor;
|
|
505
|
+
timezoneData: {};
|
|
506
|
+
showTimezone: {
|
|
507
|
+
type: BooleanConstructor;
|
|
508
|
+
default: boolean;
|
|
509
|
+
};
|
|
510
|
+
defaultTimezone: {};
|
|
511
|
+
visible: BooleanConstructor;
|
|
512
|
+
minDate: {
|
|
513
|
+
type: DateConstructor;
|
|
514
|
+
default: () => Date;
|
|
515
|
+
validator: (val: Date) => boolean;
|
|
516
|
+
};
|
|
517
|
+
maxDate: {
|
|
518
|
+
type: DateConstructor;
|
|
519
|
+
default: () => Date;
|
|
520
|
+
validator: (val: Date) => boolean;
|
|
521
|
+
};
|
|
522
|
+
formatter: {
|
|
523
|
+
type: FunctionConstructor;
|
|
524
|
+
default: (type: any, value: any) => any;
|
|
525
|
+
};
|
|
526
|
+
componentName: {
|
|
527
|
+
type: StringConstructor;
|
|
528
|
+
default: string;
|
|
529
|
+
};
|
|
530
|
+
displayOnly: {
|
|
531
|
+
type: BooleanConstructor;
|
|
532
|
+
default: boolean;
|
|
533
|
+
};
|
|
534
|
+
step: {
|
|
535
|
+
type: ObjectConstructor;
|
|
536
|
+
default(): {
|
|
537
|
+
hour: number;
|
|
538
|
+
minute: number;
|
|
539
|
+
second: number;
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
showWeekNumber: {
|
|
543
|
+
type: BooleanConstructor;
|
|
544
|
+
default: boolean;
|
|
545
|
+
};
|
|
546
|
+
formatWeeks: FunctionConstructor;
|
|
547
|
+
changeCompat: {
|
|
548
|
+
type: BooleanConstructor;
|
|
549
|
+
default: boolean;
|
|
550
|
+
};
|
|
551
|
+
nowClick: {
|
|
552
|
+
type: FunctionConstructor;
|
|
553
|
+
};
|
|
554
|
+
tiny_mode: StringConstructor;
|
|
555
|
+
tiny_mode_root: BooleanConstructor;
|
|
556
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
557
|
+
tiny_renderless: FunctionConstructor;
|
|
558
|
+
tiny_theme: StringConstructor;
|
|
559
|
+
tiny_chart_theme: ObjectConstructor;
|
|
560
|
+
}>>, {
|
|
561
|
+
name: string;
|
|
562
|
+
disabled: boolean;
|
|
563
|
+
type: "date" | "year" | "month" | "dates" | "years" | "yearrange" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime";
|
|
564
|
+
tiny_mode_root: boolean;
|
|
565
|
+
_constants: Record<string, any>;
|
|
566
|
+
componentName: string;
|
|
567
|
+
tabindex: string;
|
|
568
|
+
popperAppendToBody: boolean;
|
|
569
|
+
visible: boolean;
|
|
570
|
+
readonly: boolean;
|
|
571
|
+
clearable: boolean;
|
|
572
|
+
validateEvent: boolean;
|
|
573
|
+
displayOnly: boolean;
|
|
574
|
+
iso8601: boolean;
|
|
575
|
+
isutc8: boolean;
|
|
576
|
+
rangeSeparator: string | Record<string, any>;
|
|
577
|
+
id: string;
|
|
578
|
+
changeOnConfirm: boolean;
|
|
579
|
+
autoFormat: boolean;
|
|
580
|
+
blank: boolean;
|
|
581
|
+
timeArrowControl: boolean;
|
|
582
|
+
timeEditable: boolean;
|
|
583
|
+
clearIcon: Record<string, any>;
|
|
584
|
+
editable: boolean;
|
|
585
|
+
align: string;
|
|
586
|
+
unlinkPanels: boolean;
|
|
587
|
+
isRange: boolean;
|
|
588
|
+
arrowControl: boolean;
|
|
589
|
+
showTimezone: boolean;
|
|
590
|
+
minDate: Date;
|
|
591
|
+
maxDate: Date;
|
|
592
|
+
formatter: Function;
|
|
593
|
+
step: Record<string, any>;
|
|
594
|
+
showWeekNumber: boolean;
|
|
595
|
+
changeCompat: boolean;
|
|
596
|
+
}, {}>;
|
|
209
597
|
export default _default;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
type?: any;
|
|
3
|
+
tiny_mode?: any;
|
|
4
|
+
tiny_mode_root?: any;
|
|
5
|
+
tiny_template?: any;
|
|
6
|
+
tiny_renderless?: any;
|
|
7
|
+
_constants?: any;
|
|
8
|
+
tiny_theme?: any;
|
|
9
|
+
tiny_chart_theme?: any;
|
|
10
|
+
modelValue?: any;
|
|
11
|
+
visible?: any;
|
|
12
|
+
clearable?: any;
|
|
13
|
+
minDate?: any;
|
|
14
|
+
maxDate?: any;
|
|
15
|
+
formatter?: any;
|
|
16
|
+
}>, {
|
|
17
|
+
t: (this: any, path: any, options?: any) => any;
|
|
18
|
+
vm: any;
|
|
19
|
+
f: (props: any, attrs?: {}) => {};
|
|
20
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
21
|
+
d: (props: any) => void;
|
|
22
|
+
dp: (props: any) => void;
|
|
23
|
+
gcls: (key: any) => any;
|
|
24
|
+
m: (...cssClasses: any[]) => string;
|
|
25
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
26
|
+
type?: any;
|
|
27
|
+
tiny_mode?: any;
|
|
28
|
+
tiny_mode_root?: any;
|
|
29
|
+
tiny_template?: any;
|
|
30
|
+
tiny_renderless?: any;
|
|
31
|
+
_constants?: any;
|
|
32
|
+
tiny_theme?: any;
|
|
33
|
+
tiny_chart_theme?: any;
|
|
34
|
+
modelValue?: any;
|
|
35
|
+
visible?: any;
|
|
36
|
+
clearable?: any;
|
|
37
|
+
minDate?: any;
|
|
38
|
+
maxDate?: any;
|
|
39
|
+
formatter?: any;
|
|
40
|
+
}>>>, {
|
|
41
|
+
readonly type?: any;
|
|
42
|
+
readonly tiny_mode?: any;
|
|
43
|
+
readonly tiny_mode_root?: any;
|
|
44
|
+
readonly tiny_template?: any;
|
|
45
|
+
readonly tiny_renderless?: any;
|
|
46
|
+
readonly _constants?: any;
|
|
47
|
+
readonly tiny_theme?: any;
|
|
48
|
+
readonly tiny_chart_theme?: any;
|
|
49
|
+
readonly modelValue?: any;
|
|
50
|
+
readonly visible?: any;
|
|
51
|
+
readonly clearable?: any;
|
|
52
|
+
readonly minDate?: any;
|
|
53
|
+
readonly maxDate?: any;
|
|
54
|
+
readonly formatter?: any;
|
|
55
|
+
}, {}>;
|
|
2
56
|
export default _default;
|