@opentinyvue/vue-date-range 3.22.1 → 3.24.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/pc.js +3 -3
- package/package.json +10 -10
- package/src/index.d.ts +2 -0
- package/src/mobile-first.vue.d.ts +3 -0
- package/src/pc.vue.d.ts +3 -0
package/lib/pc.js
CHANGED
|
@@ -152,19 +152,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
152
152
|
})
|
|
153
153
|
}, {
|
|
154
154
|
default: withCtx(function() {
|
|
155
|
-
var _ctx$state$shortcuts;
|
|
155
|
+
var _ctx$state$shortcuts, _ctx$state$shortcuts2;
|
|
156
156
|
return [createElementVNode(
|
|
157
157
|
"div",
|
|
158
158
|
{
|
|
159
159
|
class: normalizeClass(["tiny-picker-panel tiny-date-range-picker tiny-popper", [{
|
|
160
|
-
"has-sidebar": _ctx.slots.sidebar || _ctx.state.shortcuts,
|
|
160
|
+
"has-sidebar": _ctx.slots.sidebar || ((_ctx$state$shortcuts = _ctx.state.shortcuts) == null ? void 0 : _ctx$state$shortcuts.length),
|
|
161
161
|
"has-time": _ctx.state.showTime
|
|
162
162
|
}, _ctx.state.popperClass]]),
|
|
163
163
|
ref: "refDateRange"
|
|
164
164
|
},
|
|
165
165
|
[createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "sidebar", {
|
|
166
166
|
class: "tiny-picker-panel__sidebar"
|
|
167
|
-
}), (_ctx$state$
|
|
167
|
+
}), (_ctx$state$shortcuts2 = _ctx.state.shortcuts) != null && _ctx$state$shortcuts2.length ? (openBlock(), createElementBlock(
|
|
168
168
|
"div",
|
|
169
169
|
_hoisted_2,
|
|
170
170
|
[(openBlock(true), createElementBlock(
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-date-range",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.24.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/vue-button": "~3.
|
|
12
|
-
"@opentinyvue/vue-common": "~3.
|
|
13
|
-
"@opentinyvue/vue-date-table": "~3.
|
|
14
|
-
"@opentinyvue/vue-directive": "~3.
|
|
15
|
-
"@opentinyvue/vue-icon": "~3.
|
|
16
|
-
"@opentinyvue/vue-input": "~3.
|
|
17
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
18
|
-
"@opentinyvue/vue-theme": "~3.
|
|
19
|
-
"@opentinyvue/vue-time": "~3.
|
|
11
|
+
"@opentinyvue/vue-button": "~3.24.0",
|
|
12
|
+
"@opentinyvue/vue-common": "~3.24.0",
|
|
13
|
+
"@opentinyvue/vue-date-table": "~3.24.0",
|
|
14
|
+
"@opentinyvue/vue-directive": "~3.24.0",
|
|
15
|
+
"@opentinyvue/vue-icon": "~3.24.0",
|
|
16
|
+
"@opentinyvue/vue-input": "~3.24.0",
|
|
17
|
+
"@opentinyvue/vue-renderless": "~3.24.0",
|
|
18
|
+
"@opentinyvue/vue-theme": "~3.24.0",
|
|
19
|
+
"@opentinyvue/vue-time": "~3.24.0"
|
|
20
20
|
},
|
|
21
21
|
"types": "index.d.ts",
|
|
22
22
|
"scripts": {
|
package/src/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
61
61
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
62
62
|
tiny_renderless: FunctionConstructor;
|
|
63
63
|
tiny_theme: StringConstructor;
|
|
64
|
+
tiny_mcp_config: ObjectConstructor;
|
|
64
65
|
tiny_chart_theme: ObjectConstructor;
|
|
65
66
|
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
66
67
|
[key: string]: any;
|
|
@@ -127,6 +128,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
127
128
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
128
129
|
tiny_renderless: FunctionConstructor;
|
|
129
130
|
tiny_theme: StringConstructor;
|
|
131
|
+
tiny_mcp_config: ObjectConstructor;
|
|
130
132
|
tiny_chart_theme: ObjectConstructor;
|
|
131
133
|
}>>, {
|
|
132
134
|
format: string;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
6
6
|
_constants?: any;
|
|
7
7
|
tiny_theme?: any;
|
|
8
8
|
tiny_chart_theme?: any;
|
|
9
|
+
tiny_mcp_config?: any;
|
|
9
10
|
step?: any;
|
|
10
11
|
showWeekNumber?: any;
|
|
11
12
|
formatWeeks?: any;
|
|
@@ -27,6 +28,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
27
28
|
_constants?: any;
|
|
28
29
|
tiny_theme?: any;
|
|
29
30
|
tiny_chart_theme?: any;
|
|
31
|
+
tiny_mcp_config?: any;
|
|
30
32
|
step?: any;
|
|
31
33
|
showWeekNumber?: any;
|
|
32
34
|
formatWeeks?: any;
|
|
@@ -42,6 +44,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
42
44
|
readonly _constants?: any;
|
|
43
45
|
readonly tiny_theme?: any;
|
|
44
46
|
readonly tiny_chart_theme?: any;
|
|
47
|
+
readonly tiny_mcp_config?: any;
|
|
45
48
|
readonly step?: any;
|
|
46
49
|
readonly showWeekNumber?: any;
|
|
47
50
|
readonly formatWeeks?: any;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
8
8
|
_constants?: any;
|
|
9
9
|
tiny_theme?: any;
|
|
10
10
|
tiny_chart_theme?: any;
|
|
11
|
+
tiny_mcp_config?: any;
|
|
11
12
|
modelValue?: any;
|
|
12
13
|
popperClass?: any;
|
|
13
14
|
readonly?: any;
|
|
@@ -38,6 +39,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
38
39
|
_constants?: any;
|
|
39
40
|
tiny_theme?: any;
|
|
40
41
|
tiny_chart_theme?: any;
|
|
42
|
+
tiny_mcp_config?: any;
|
|
41
43
|
modelValue?: any;
|
|
42
44
|
popperClass?: any;
|
|
43
45
|
readonly?: any;
|
|
@@ -64,6 +66,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
64
66
|
readonly _constants?: any;
|
|
65
67
|
readonly tiny_theme?: any;
|
|
66
68
|
readonly tiny_chart_theme?: any;
|
|
69
|
+
readonly tiny_mcp_config?: any;
|
|
67
70
|
readonly modelValue?: any;
|
|
68
71
|
readonly popperClass?: any;
|
|
69
72
|
readonly readonly?: any;
|