@opentinyvue/vue-calendar-view 3.23.0 → 3.25.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/pc.js +5 -4
- package/package.json +12 -12
- package/src/index.d.ts +1 -0
- package/src/mobile-first.vue.d.ts +3 -0
- package/src/pc.vue.d.ts +6 -0
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -6,7 +6,7 @@ import RadioButton from '@opentinyvue/vue-radio-button';
|
|
|
6
6
|
import RadioGroup from '@opentinyvue/vue-radio-group';
|
|
7
7
|
import Tooltip from '@opentinyvue/vue-tooltip';
|
|
8
8
|
import { iconCheckedSur, iconPlus, iconChevronLeft, iconChevronRight, iconDayView, iconAgendaView, iconMonthView } from '@opentinyvue/vue-icon';
|
|
9
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode,
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot, Fragment, renderList, resolveDynamicComponent, normalizeClass } from 'vue';
|
|
10
10
|
|
|
11
11
|
function _createForOfIteratorHelperLoose(r, e) {
|
|
12
12
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -54,7 +54,7 @@ var _sfc_main = defineComponent({
|
|
|
54
54
|
TinyDatePicker: DatePicker,
|
|
55
55
|
TinyTooltip: Tooltip
|
|
56
56
|
},
|
|
57
|
-
props: [].concat(props, ["modelValue", "showMark", "showNewSchedule", "setDayBgColor", "disabled", "mode", "modes", "year", "month", "dayTimes", "events", "height", "markColor", "multiSelect", "showTipTime"]),
|
|
57
|
+
props: [].concat(props, ["modelValue", "showMark", "showNewSchedule", "setDayBgColor", "disabled", "mode", "modes", "year", "month", "dayTimes", "events", "height", "markColor", "multiSelect", "showBackToday", "showTipTime"]),
|
|
58
58
|
setup: function setup$1(props2, context) {
|
|
59
59
|
return setup({
|
|
60
60
|
props: props2,
|
|
@@ -175,7 +175,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
175
175
|
"height": typeof _ctx.height === "number" ? _ctx.height + "px" : _ctx.height
|
|
176
176
|
})
|
|
177
177
|
},
|
|
178
|
-
[createElementVNode("div", _hoisted_1, [createElementVNode("div", null, [
|
|
178
|
+
[createElementVNode("div", _hoisted_1, [createElementVNode("div", null, [_ctx.showBackToday ? (openBlock(), createBlock(_component_tiny_button, {
|
|
179
|
+
key: 0,
|
|
179
180
|
onClick: _ctx.toToday
|
|
180
181
|
}, {
|
|
181
182
|
default: withCtx(function() {
|
|
@@ -187,7 +188,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
187
188
|
}),
|
|
188
189
|
_: 1
|
|
189
190
|
/* STABLE */
|
|
190
|
-
}, 8, ["onClick"])]), createVNode(_component_tiny_date_picker, {
|
|
191
|
+
}, 8, ["onClick"])) : createCommentVNode("v-if", true)]), createVNode(_component_tiny_date_picker, {
|
|
191
192
|
modelValue: _ctx.state.currentDate,
|
|
192
193
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function($event) {
|
|
193
194
|
return _ctx.state.currentDate = $event;
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-calendar-view",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.25.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-button": "~3.
|
|
15
|
-
"@opentinyvue/vue-date-picker": "~3.
|
|
16
|
-
"@opentinyvue/vue-radio-button": "~3.
|
|
17
|
-
"@opentinyvue/vue-radio-group": "~3.
|
|
18
|
-
"@opentinyvue/vue-slider-button": "~3.
|
|
19
|
-
"@opentinyvue/vue-slider-button-group": "~3.
|
|
20
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-common": "~3.25.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~3.25.0",
|
|
12
|
+
"@opentinyvue/vue-renderless": "~3.25.0",
|
|
13
|
+
"@opentinyvue/vue-tooltip": "~3.25.0",
|
|
14
|
+
"@opentinyvue/vue-button": "~3.25.0",
|
|
15
|
+
"@opentinyvue/vue-date-picker": "~3.25.0",
|
|
16
|
+
"@opentinyvue/vue-radio-button": "~3.25.0",
|
|
17
|
+
"@opentinyvue/vue-radio-group": "~3.25.0",
|
|
18
|
+
"@opentinyvue/vue-slider-button": "~3.25.0",
|
|
19
|
+
"@opentinyvue/vue-slider-button-group": "~3.25.0",
|
|
20
|
+
"@opentinyvue/vue-theme": "~3.25.0"
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"types": "index.d.ts"
|
package/src/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export declare const calendarViewProps: {
|
|
|
74
74
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
75
75
|
tiny_renderless: FunctionConstructor;
|
|
76
76
|
tiny_theme: StringConstructor;
|
|
77
|
+
tiny_mcp_config: ObjectConstructor;
|
|
77
78
|
tiny_chart_theme: ObjectConstructor;
|
|
78
79
|
};
|
|
79
80
|
declare const _default: import("@vue/runtime-core").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("@vue/runtime-core").PublicProps>;
|
|
@@ -11,6 +11,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
11
11
|
_constants?: any;
|
|
12
12
|
tiny_theme?: any;
|
|
13
13
|
tiny_chart_theme?: any;
|
|
14
|
+
tiny_mcp_config?: any;
|
|
14
15
|
modelValue?: any;
|
|
15
16
|
events?: any;
|
|
16
17
|
showMark?: any;
|
|
@@ -44,6 +45,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
44
45
|
_constants?: any;
|
|
45
46
|
tiny_theme?: any;
|
|
46
47
|
tiny_chart_theme?: any;
|
|
48
|
+
tiny_mcp_config?: any;
|
|
47
49
|
modelValue?: any;
|
|
48
50
|
events?: any;
|
|
49
51
|
showMark?: any;
|
|
@@ -79,6 +81,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
79
81
|
readonly _constants?: any;
|
|
80
82
|
readonly tiny_theme?: any;
|
|
81
83
|
readonly tiny_chart_theme?: any;
|
|
84
|
+
readonly tiny_mcp_config?: any;
|
|
82
85
|
readonly modelValue?: any;
|
|
83
86
|
readonly events?: any;
|
|
84
87
|
readonly showMark?: any;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
11
11
|
_constants?: any;
|
|
12
12
|
tiny_theme?: any;
|
|
13
13
|
tiny_chart_theme?: any;
|
|
14
|
+
tiny_mcp_config?: any;
|
|
14
15
|
modelValue?: any;
|
|
15
16
|
events?: any;
|
|
16
17
|
showMark?: any;
|
|
@@ -18,6 +19,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
18
19
|
setDayBgColor?: any;
|
|
19
20
|
modes?: any;
|
|
20
21
|
dayTimes?: any;
|
|
22
|
+
showBackToday?: any;
|
|
21
23
|
showTipTime?: any;
|
|
22
24
|
multiSelect?: any;
|
|
23
25
|
markColor?: any;
|
|
@@ -43,6 +45,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
43
45
|
_constants?: any;
|
|
44
46
|
tiny_theme?: any;
|
|
45
47
|
tiny_chart_theme?: any;
|
|
48
|
+
tiny_mcp_config?: any;
|
|
46
49
|
modelValue?: any;
|
|
47
50
|
events?: any;
|
|
48
51
|
showMark?: any;
|
|
@@ -50,6 +53,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
50
53
|
setDayBgColor?: any;
|
|
51
54
|
modes?: any;
|
|
52
55
|
dayTimes?: any;
|
|
56
|
+
showBackToday?: any;
|
|
53
57
|
showTipTime?: any;
|
|
54
58
|
multiSelect?: any;
|
|
55
59
|
markColor?: any;
|
|
@@ -77,6 +81,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
77
81
|
readonly _constants?: any;
|
|
78
82
|
readonly tiny_theme?: any;
|
|
79
83
|
readonly tiny_chart_theme?: any;
|
|
84
|
+
readonly tiny_mcp_config?: any;
|
|
80
85
|
readonly modelValue?: any;
|
|
81
86
|
readonly events?: any;
|
|
82
87
|
readonly showMark?: any;
|
|
@@ -84,6 +89,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
84
89
|
readonly setDayBgColor?: any;
|
|
85
90
|
readonly modes?: any;
|
|
86
91
|
readonly dayTimes?: any;
|
|
92
|
+
readonly showBackToday?: any;
|
|
87
93
|
readonly showTipTime?: any;
|
|
88
94
|
readonly multiSelect?: any;
|
|
89
95
|
readonly markColor?: any;
|