@opentinyvue/vue-calendar-view 3.24.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/pc.js +5 -4
- package/package.json +12 -12
- package/src/pc.vue.d.ts +3 -0
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/pc.vue.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
19
19
|
setDayBgColor?: any;
|
|
20
20
|
modes?: any;
|
|
21
21
|
dayTimes?: any;
|
|
22
|
+
showBackToday?: any;
|
|
22
23
|
showTipTime?: any;
|
|
23
24
|
multiSelect?: any;
|
|
24
25
|
markColor?: any;
|
|
@@ -52,6 +53,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
52
53
|
setDayBgColor?: any;
|
|
53
54
|
modes?: any;
|
|
54
55
|
dayTimes?: any;
|
|
56
|
+
showBackToday?: any;
|
|
55
57
|
showTipTime?: any;
|
|
56
58
|
multiSelect?: any;
|
|
57
59
|
markColor?: any;
|
|
@@ -87,6 +89,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
87
89
|
readonly setDayBgColor?: any;
|
|
88
90
|
readonly modes?: any;
|
|
89
91
|
readonly dayTimes?: any;
|
|
92
|
+
readonly showBackToday?: any;
|
|
90
93
|
readonly showTipTime?: any;
|
|
91
94
|
readonly multiSelect?: any;
|
|
92
95
|
readonly markColor?: any;
|