@opentinyvue/vue-calendar 3.21.0 → 3.22.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 +2 -2
- package/lib/pc.js +0 -1
- package/package.json +8 -8
- package/src/index.d.ts +7 -3
- package/src/pc.vue.d.ts +3 -3
package/lib/index.js
CHANGED
|
@@ -7,7 +7,7 @@ function _extends() {
|
|
|
7
7
|
return n;
|
|
8
8
|
}, _extends.apply(null, arguments);
|
|
9
9
|
}
|
|
10
|
-
import { defineComponent, $
|
|
10
|
+
import { defineComponent, $props, $setup, $prefix } from "@opentinyvue/vue-common";
|
|
11
11
|
import PcTemplate from "./pc.js";
|
|
12
12
|
import "@opentinyvue/vue-theme/calendar/index.css";
|
|
13
13
|
var template = function template2(mode) {
|
|
@@ -67,7 +67,7 @@ var Calendar = defineComponent({
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.22.0";
|
|
71
71
|
Calendar.install = function(Vue) {
|
|
72
72
|
Vue.component(Calendar.name, Calendar);
|
|
73
73
|
};
|
package/lib/pc.js
CHANGED
|
@@ -256,7 +256,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
256
256
|
512
|
|
257
257
|
/* NEED_PATCH */
|
|
258
258
|
), [[vShow, _ctx.state.displayMode === "month"]]), createElementVNode("li", null, [createVNode(_component_Button, {
|
|
259
|
-
type: "primary",
|
|
260
259
|
onClick: _ctx.toToday
|
|
261
260
|
}, {
|
|
262
261
|
default: withCtx(function() {
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-calendar",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-common": "~3.
|
|
11
|
-
"@opentinyvue/vue-icon": "~3.
|
|
12
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
13
|
-
"@opentinyvue/vue-tooltip": "~3.
|
|
14
|
-
"@opentinyvue/vue-popover": "~3.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
16
|
-
"@opentinyvue/vue-button": "~3.
|
|
10
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~3.22.0",
|
|
12
|
+
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-tooltip": "~3.22.0",
|
|
14
|
+
"@opentinyvue/vue-popover": "~3.22.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.22.0",
|
|
16
|
+
"@opentinyvue/vue-button": "~3.22.0"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"types": "index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -37,7 +37,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
37
37
|
tiny_mode_root: BooleanConstructor;
|
|
38
38
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
39
39
|
tiny_renderless: FunctionConstructor;
|
|
40
|
-
tiny_theme: StringConstructor;
|
|
40
|
+
tiny_theme: StringConstructor; /**
|
|
41
|
+
* @property {Boolean} [showSelected=false] - 显示选中的日期
|
|
42
|
+
*/
|
|
41
43
|
tiny_chart_theme: ObjectConstructor;
|
|
42
44
|
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
43
45
|
[key: string]: any;
|
|
@@ -80,12 +82,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
80
82
|
tiny_mode_root: BooleanConstructor;
|
|
81
83
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
82
84
|
tiny_renderless: FunctionConstructor;
|
|
83
|
-
tiny_theme: StringConstructor;
|
|
85
|
+
tiny_theme: StringConstructor; /**
|
|
86
|
+
* @property {Boolean} [showSelected=false] - 显示选中的日期
|
|
87
|
+
*/
|
|
84
88
|
tiny_chart_theme: ObjectConstructor;
|
|
85
89
|
}>>, {
|
|
86
|
-
mode: string;
|
|
87
90
|
year: number;
|
|
88
91
|
month: number;
|
|
92
|
+
mode: string;
|
|
89
93
|
tiny_mode_root: boolean;
|
|
90
94
|
showSelected: boolean;
|
|
91
95
|
}, {}>;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
-
mode?: any;
|
|
3
2
|
year?: any;
|
|
4
3
|
month?: any;
|
|
4
|
+
mode?: any;
|
|
5
5
|
tiny_mode?: any;
|
|
6
6
|
tiny_mode_root?: any;
|
|
7
7
|
tiny_template?: any;
|
|
@@ -21,9 +21,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
21
21
|
gcls: (key: any) => any;
|
|
22
22
|
m: (...cssClasses: any[]) => string;
|
|
23
23
|
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
24
|
-
mode?: any;
|
|
25
24
|
year?: any;
|
|
26
25
|
month?: any;
|
|
26
|
+
mode?: any;
|
|
27
27
|
tiny_mode?: any;
|
|
28
28
|
tiny_mode_root?: any;
|
|
29
29
|
tiny_template?: any;
|
|
@@ -34,9 +34,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
34
34
|
events?: any;
|
|
35
35
|
showSelected?: any;
|
|
36
36
|
}>>>, {
|
|
37
|
-
readonly mode?: any;
|
|
38
37
|
readonly year?: any;
|
|
39
38
|
readonly month?: any;
|
|
39
|
+
readonly mode?: any;
|
|
40
40
|
readonly tiny_mode?: any;
|
|
41
41
|
readonly tiny_mode_root?: any;
|
|
42
42
|
readonly tiny_template?: any;
|