@opentinyvue/vue-date-picker 2.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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 - present TinyVue Authors.
4
+ Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/index.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2022 - present TinyVue Authors.
3
+ * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license.
6
+ *
7
+ * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
8
+ * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
9
+ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
+ *
11
+ */
12
+ import DatePicker from './src/index';
13
+ export default DatePicker;
package/lib/index.js ADDED
@@ -0,0 +1,266 @@
1
+ function _extends() {
2
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
3
+ for (var e = 1; e < arguments.length; e++) {
4
+ var t = arguments[e];
5
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
6
+ }
7
+ return n;
8
+ }, _extends.apply(null, arguments);
9
+ }
10
+ import { defineComponent, $prefix, $setup } from "@opentinyvue/vue-common";
11
+ import { iconClose } from "@opentinyvue/vue-icon";
12
+ import { api } from "@opentinyvue/vue-renderless/picker/vue";
13
+ import PcTemplate from "./pc.js";
14
+ import MobileTemplate from "./mobile.js";
15
+ import "@opentinyvue/vue-theme/date-picker/index.css";
16
+ var template = function template2(mode) {
17
+ var _process$env;
18
+ var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
19
+ if ("pc" === (tinyMode || mode)) {
20
+ return PcTemplate;
21
+ }
22
+ if ("mobile" === (tinyMode || mode)) {
23
+ return MobileTemplate;
24
+ }
25
+ return PcTemplate;
26
+ };
27
+ var currentYear = (/* @__PURE__ */ new Date()).getFullYear();
28
+ var $constants = {
29
+ MonthDay: 32,
30
+ Minutes: 59,
31
+ Hours: 23,
32
+ TotalMonth: 12,
33
+ Max: "max",
34
+ Min: "min",
35
+ Hour: "hour",
36
+ Minute: "minute",
37
+ CapYear: "Year",
38
+ CapMonth: "Month",
39
+ CapDate: "Date",
40
+ CapHour: "Hour",
41
+ CapMinute: "Minute",
42
+ YearMonth: "year-month",
43
+ DateTime: "datetime",
44
+ Date: "date",
45
+ HookMounted: "hook-mounted",
46
+ Hidden: "hidden",
47
+ Year: "year",
48
+ Day: "day"
49
+ };
50
+ var validator = function validator2(value) {
51
+ var result = value === null || value === void 0 || typeof value === "string" || value instanceof String || Array.isArray(value) && value.length === 2 && value.every(function(item) {
52
+ return typeof item === "string" || item instanceof String;
53
+ });
54
+ return result;
55
+ };
56
+ var $props = {
57
+ "tiny_mode": String,
58
+ "tiny_mode_root": Boolean,
59
+ "tiny_template": [Function, Object],
60
+ "tiny_renderless": Function,
61
+ "tiny_theme": String,
62
+ "tiny_chart_theme": Object
63
+ };
64
+ var datePickerProps = _extends({}, $props, {
65
+ tabindex: {
66
+ type: String,
67
+ default: "0"
68
+ },
69
+ timeFormat: String,
70
+ suffixIcon: Object,
71
+ label: String,
72
+ shape: String,
73
+ tip: String,
74
+ changeOnConfirm: {
75
+ type: Boolean,
76
+ default: false
77
+ },
78
+ popperAppendToBody: {
79
+ type: Boolean,
80
+ default: true
81
+ },
82
+ isutc8: {
83
+ type: Boolean,
84
+ default: false
85
+ },
86
+ dbTimezone: Number,
87
+ timezoneOffset: Number,
88
+ iso8601: Boolean,
89
+ autoFormat: {
90
+ type: Boolean,
91
+ default: false
92
+ },
93
+ title: String,
94
+ blank: {
95
+ type: Boolean,
96
+ default: false
97
+ },
98
+ type: {
99
+ type: String,
100
+ default: "date"
101
+ },
102
+ _constants: {
103
+ type: Object,
104
+ default: function _default() {
105
+ return $constants;
106
+ }
107
+ },
108
+ timeArrowControl: Boolean,
109
+ timeEditable: {
110
+ type: Boolean,
111
+ default: true
112
+ },
113
+ size: String,
114
+ format: String,
115
+ valueFormat: String,
116
+ readonly: Boolean,
117
+ placeholder: String,
118
+ startPlaceholder: String,
119
+ endPlaceholder: String,
120
+ prefixIcon: Object,
121
+ clearIcon: {
122
+ type: Object,
123
+ default: function _default2() {
124
+ return iconClose();
125
+ }
126
+ },
127
+ name: {
128
+ default: "",
129
+ validator
130
+ },
131
+ disabled: Boolean,
132
+ clearable: {
133
+ type: Boolean,
134
+ default: true
135
+ },
136
+ id: {
137
+ default: "",
138
+ validator
139
+ },
140
+ popperClass: String,
141
+ editable: {
142
+ type: Boolean,
143
+ default: true
144
+ },
145
+ align: {
146
+ type: String,
147
+ default: "left"
148
+ },
149
+ modelValue: {},
150
+ defaultValue: {},
151
+ defaultTime: {},
152
+ rangeSeparator: {
153
+ type: [Object, String],
154
+ default: "-"
155
+ },
156
+ pickerOptions: {},
157
+ unlinkPanels: Boolean,
158
+ validateEvent: {
159
+ type: Boolean,
160
+ default: true
161
+ },
162
+ isRange: Boolean,
163
+ arrowControl: Boolean,
164
+ timezoneData: {},
165
+ showTimezone: {
166
+ type: Boolean,
167
+ default: false
168
+ },
169
+ defaultTimezone: {},
170
+ visible: Boolean,
171
+ minDate: {
172
+ type: Date,
173
+ default: function _default3() {
174
+ return new Date(currentYear - 10, 0, 1);
175
+ },
176
+ validator: function validator3(val) {
177
+ return Object.prototype.toString.call(val) === "[object Date]" && !isNaN(val.getTime());
178
+ }
179
+ },
180
+ maxDate: {
181
+ type: Date,
182
+ default: function _default4() {
183
+ return new Date(currentYear + 10, 11, 31);
184
+ },
185
+ validator: function validator4(val) {
186
+ return Object.prototype.toString.call(val) === "[object Date]" && !isNaN(val.getTime());
187
+ }
188
+ },
189
+ formatter: {
190
+ type: Function,
191
+ default: function _default5(type, value) {
192
+ return value;
193
+ }
194
+ },
195
+ componentName: {
196
+ type: String,
197
+ default: "DatePicker"
198
+ },
199
+ displayOnly: {
200
+ type: Boolean,
201
+ default: false
202
+ },
203
+ step: {
204
+ type: Object,
205
+ default: function _default6() {
206
+ return {
207
+ hour: 1,
208
+ minute: 1,
209
+ second: 1
210
+ };
211
+ }
212
+ },
213
+ showWeekNumber: {
214
+ type: Boolean,
215
+ default: false
216
+ },
217
+ formatWeeks: Function,
218
+ changeCompat: {
219
+ type: Boolean,
220
+ default: false
221
+ },
222
+ nowClick: {
223
+ type: Function
224
+ }
225
+ });
226
+ var getWrapFunc = function getWrapFunc2(name) {
227
+ return function() {
228
+ var picker = this.$refs.modeTemplate;
229
+ if (picker && picker[name]) {
230
+ return picker[name].apply(picker, arguments);
231
+ }
232
+ };
233
+ };
234
+ var DatePicker = defineComponent({
235
+ name: $prefix + "DatePicker",
236
+ props: datePickerProps,
237
+ created: function created() {
238
+ var _this = this;
239
+ api.filter(function(item) {
240
+ return item !== "state";
241
+ }).forEach(function(method) {
242
+ if (!_this[method]) {
243
+ _this[method] = getWrapFunc(method);
244
+ }
245
+ });
246
+ },
247
+ setup: function setup(props, context) {
248
+ return $setup({
249
+ props,
250
+ context,
251
+ template
252
+ });
253
+ }
254
+ });
255
+ var version = "2.21.0";
256
+ DatePicker.model = {
257
+ prop: "modelValue",
258
+ event: "update:modelValue"
259
+ };
260
+ DatePicker.install = function(Vue) {
261
+ Vue.component(DatePicker.name, DatePicker);
262
+ };
263
+ DatePicker.version = version;
264
+ export {
265
+ DatePicker as default
266
+ };
package/lib/mobile.js ADDED
@@ -0,0 +1,113 @@
1
+ import { defineComponent, props, setup } from '@opentinyvue/vue-common';
2
+ import { renderless, api } from '@opentinyvue/vue-renderless/date-picker/vue';
3
+ import MiniPicker from '@opentinyvue/vue-mini-picker';
4
+ import Input from '@opentinyvue/vue-input';
5
+ import { iconCloseCircle } from '@opentinyvue/vue-icon';
6
+
7
+ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
8
+ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
9
+ if (render) {
10
+ options.render = render;
11
+ options.staticRenderFns = staticRenderFns;
12
+ options._compiled = true;
13
+ }
14
+ var hook;
15
+ if (injectStyles) {
16
+ hook = injectStyles;
17
+ }
18
+ if (hook) {
19
+ if (options.functional) {
20
+ options._injectStyles = hook;
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
+ }
30
+ }
31
+ return {
32
+ exports: scriptExports,
33
+ options
34
+ };
35
+ }
36
+
37
+ var __vue2_script = defineComponent({
38
+ components: {
39
+ TinyMiniPicker: MiniPicker,
40
+ TinyInput: Input,
41
+ IconClose: iconCloseCircle()
42
+ },
43
+ props: [].concat(props, ["modelValue", "type", "clearable", "visible", "minDate", "maxDate", "formatter"]),
44
+ setup: function setup$1(props2, context) {
45
+ return setup({
46
+ props: props2,
47
+ context,
48
+ renderless,
49
+ api
50
+ });
51
+ }
52
+ });
53
+ var render = function render2() {
54
+ var _vm = this;
55
+ var _h = _vm.$createElement;
56
+ var _c = _vm._self._c || _h;
57
+ return _c("div", [_c("tiny-input", {
58
+ ref: "refrence",
59
+ attrs: {
60
+ "readOnly": "true",
61
+ "_mode": _vm._mode
62
+ },
63
+ on: {
64
+ "hook-mounted": _vm.hookMounted,
65
+ "focus": _vm.showPickerAndLockScroll
66
+ },
67
+ model: {
68
+ value: _vm.state.displayValue,
69
+ callback: function callback($$v) {
70
+ _vm.$set(_vm.state, "displayValue", $$v);
71
+ },
72
+ expression: "state.displayValue"
73
+ }
74
+ }, [!_vm.state.clearable ? _c("icon-close", {
75
+ attrs: {
76
+ "slot": "suffix"
77
+ },
78
+ on: {
79
+ "click": _vm.clearDisplayValue
80
+ },
81
+ slot: "suffix"
82
+ }) : _vm._e()], 1), _c("tiny-mini-picker", {
83
+ ref: "picker",
84
+ attrs: {
85
+ "columns": _vm.state.columns
86
+ },
87
+ on: {
88
+ "change": _vm.onChange,
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
+ }
108
+ }
109
+ var mobile = /* @__PURE__ */ function() {
110
+ return __component__.exports;
111
+ }();
112
+
113
+ export { mobile as default };
package/lib/pc.js ADDED
@@ -0,0 +1,70 @@
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
+ function _extends() {
36
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
37
+ for (var e = 1; e < arguments.length; e++) {
38
+ var t = arguments[e];
39
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40
+ }
41
+ return n;
42
+ }, _extends.apply(null, arguments);
43
+ }
44
+ var DatePicker = extend(true, {
45
+ props: _extends({}, $props, {
46
+ _constants: {
47
+ type: Object,
48
+ default: function _default() {
49
+ return {};
50
+ }
51
+ },
52
+ componentName: {
53
+ type: String,
54
+ default: "DatePicker"
55
+ }
56
+ })
57
+ }, Picker);
58
+ var __vue2_render, __vue2_staticRenderFns;
59
+ var __cssModules = {};
60
+ var __component__ = /* @__PURE__ */ normalizeComponent(DatePicker, __vue2_render, __vue2_staticRenderFns, false, __vue2_injectStyles);
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 };
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@opentinyvue/vue-date-picker",
3
+ "version": "2.21.0",
4
+ "description": "",
5
+ "main": "./lib/index.js",
6
+ "module": "./lib/index.js",
7
+ "sideEffects": false,
8
+ "type": "module",
9
+ "dependencies": {
10
+ "@opentinyvue/vue-renderless": "~3.21.0",
11
+ "@opentinyvue/vue-common": "~2.21.0",
12
+ "@opentinyvue/vue-picker": "~2.21.0",
13
+ "@opentinyvue/vue-mini-picker": "~2.21.0",
14
+ "@opentinyvue/vue-input": "~2.21.0",
15
+ "@opentinyvue/vue-icon": "~2.21.0",
16
+ "@opentinyvue/vue-theme": "~3.21.0"
17
+ },
18
+ "license": "MIT",
19
+ "types": "index.d.ts",
20
+ "scripts": {
21
+ "build": "pnpm -w build:ui $npm_package_name",
22
+ "//postversion": "pnpm build"
23
+ }
24
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,209 @@
1
+ /**
2
+ * Copyright (c) 2022 - present TinyVue Authors.
3
+ * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license.
6
+ *
7
+ * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
8
+ * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
9
+ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
+ *
11
+ */
12
+ import type { PropType } from '@opentinyvue/vue-common';
13
+ export declare const $constants: {
14
+ MonthDay: number;
15
+ Minutes: number;
16
+ Hours: number;
17
+ TotalMonth: number;
18
+ Max: string;
19
+ Min: string;
20
+ Hour: string;
21
+ Minute: string;
22
+ CapYear: string;
23
+ CapMonth: string;
24
+ CapDate: string;
25
+ CapHour: string;
26
+ CapMinute: string;
27
+ YearMonth: string;
28
+ DateTime: string;
29
+ Date: string;
30
+ HookMounted: string;
31
+ Hidden: string;
32
+ Year: string;
33
+ Day: string;
34
+ };
35
+ export declare const datePickerProps: {
36
+ tabindex: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ timeFormat: StringConstructor;
41
+ suffixIcon: ObjectConstructor;
42
+ label: StringConstructor;
43
+ shape: StringConstructor;
44
+ tip: StringConstructor;
45
+ changeOnConfirm: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ popperAppendToBody: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ isutc8: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ dbTimezone: NumberConstructor;
58
+ timezoneOffset: NumberConstructor;
59
+ iso8601: BooleanConstructor;
60
+ autoFormat: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ title: StringConstructor;
65
+ blank: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ type: {
70
+ type: PropType<"date" | "year" | "month" | "dates" | "years" | "yearrange" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime">;
71
+ default: string;
72
+ };
73
+ _constants: {
74
+ type: ObjectConstructor;
75
+ default: () => {
76
+ MonthDay: number;
77
+ Minutes: number;
78
+ Hours: number;
79
+ TotalMonth: number;
80
+ Max: string;
81
+ Min: string;
82
+ Hour: string;
83
+ Minute: string;
84
+ CapYear: string;
85
+ CapMonth: string;
86
+ CapDate: string;
87
+ CapHour: string;
88
+ CapMinute: string;
89
+ YearMonth: string;
90
+ DateTime: string;
91
+ Date: string;
92
+ HookMounted: string;
93
+ Hidden: string;
94
+ Year: string;
95
+ Day: string;
96
+ };
97
+ };
98
+ timeArrowControl: BooleanConstructor;
99
+ timeEditable: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ size: StringConstructor;
104
+ format: StringConstructor;
105
+ valueFormat: StringConstructor;
106
+ readonly: BooleanConstructor;
107
+ placeholder: StringConstructor;
108
+ startPlaceholder: StringConstructor;
109
+ endPlaceholder: StringConstructor;
110
+ prefixIcon: ObjectConstructor;
111
+ clearIcon: {
112
+ type: ObjectConstructor;
113
+ default(): any;
114
+ };
115
+ name: {
116
+ default: string;
117
+ validator: (value: any) => boolean;
118
+ };
119
+ disabled: BooleanConstructor;
120
+ clearable: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ id: {
125
+ default: string;
126
+ validator: (value: any) => boolean;
127
+ };
128
+ popperClass: StringConstructor;
129
+ editable: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
133
+ align: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ modelValue: {};
138
+ defaultValue: {};
139
+ defaultTime: {};
140
+ rangeSeparator: {
141
+ type: (StringConstructor | ObjectConstructor)[];
142
+ default: string;
143
+ };
144
+ pickerOptions: {};
145
+ unlinkPanels: BooleanConstructor;
146
+ validateEvent: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ isRange: BooleanConstructor;
151
+ arrowControl: BooleanConstructor;
152
+ timezoneData: {};
153
+ showTimezone: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ defaultTimezone: {};
158
+ visible: BooleanConstructor;
159
+ minDate: {
160
+ type: DateConstructor;
161
+ default: () => Date;
162
+ validator: (val: Date) => boolean;
163
+ };
164
+ maxDate: {
165
+ type: DateConstructor;
166
+ default: () => Date;
167
+ validator: (val: Date) => boolean;
168
+ };
169
+ formatter: {
170
+ type: FunctionConstructor;
171
+ default: (type: any, value: any) => any;
172
+ };
173
+ componentName: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ };
177
+ displayOnly: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ step: {
182
+ type: ObjectConstructor;
183
+ default(): {
184
+ hour: number;
185
+ minute: number;
186
+ second: number;
187
+ };
188
+ };
189
+ showWeekNumber: {
190
+ type: BooleanConstructor;
191
+ default: boolean;
192
+ };
193
+ formatWeeks: FunctionConstructor;
194
+ changeCompat: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ nowClick: {
199
+ type: FunctionConstructor;
200
+ };
201
+ tiny_mode: StringConstructor;
202
+ tiny_mode_root: BooleanConstructor;
203
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
204
+ tiny_renderless: FunctionConstructor;
205
+ tiny_theme: StringConstructor;
206
+ tiny_chart_theme: ObjectConstructor;
207
+ };
208
+ declare const _default: any;
209
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const DatePicker: object;
2
+ export default DatePicker;