@opentinyvue/vue-calendar-view 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/index.js CHANGED
@@ -97,6 +97,10 @@ var calendarViewProps = _extends({}, $props, {
97
97
  showBackToday: {
98
98
  type: Boolean,
99
99
  default: true
100
+ },
101
+ showTipTime: {
102
+ type: Boolean,
103
+ default: true
100
104
  }
101
105
  });
102
106
  var CalendarView = defineComponent({
@@ -6,7 +6,7 @@ import SliderButton from '@opentinyvue/vue-slider-button';
6
6
  import SliderButtonGroup from '@opentinyvue/vue-slider-button-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, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createTextVNode, createCommentVNode, normalizeClass, renderSlot, Fragment, renderList, resolveDynamicComponent, normalizeStyle } from 'vue';
9
+ import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, createBlock, createTextVNode, normalizeClass, renderSlot, Fragment, renderList, resolveDynamicComponent, normalizeStyle } from 'vue';
10
10
 
11
11
  function _createForOfIteratorHelperLoose(r, e) {
12
12
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -79,7 +79,7 @@ var _sfc_main = defineComponent({
79
79
  TinyDatePicker: DatePicker,
80
80
  TinyTooltip: Tooltip
81
81
  },
82
- props: [].concat(props, ["_constants", "modelValue", "showMark", "showNewSchedule", "setDayBgColor", "disabled", "mode", "modes", "year", "month", "dayTimes", "events", "height", "mark-color", "multi-select", "showBackToday"]),
82
+ props: [].concat(props, ["_constants", "modelValue", "showMark", "showNewSchedule", "setDayBgColor", "disabled", "mode", "modes", "year", "month", "dayTimes", "events", "height", "mark-color", "multi-select", "showBackToday", "showTipTime"]),
83
83
  setup: function setup$1(props2, context) {
84
84
  return setup({
85
85
  props: props2,
@@ -108,6 +108,7 @@ var _hoisted_3 = {
108
108
  class: "px-1.5 mb-1.5 border-l-2 border-color-brand"
109
109
  };
110
110
  var _hoisted_4 = {
111
+ key: 0,
111
112
  class: "mb-1.5 px-2 text-color-text-placeholder"
112
113
  };
113
114
  var _hoisted_5 = {
@@ -170,35 +171,37 @@ var _hoisted_20 = {
170
171
  "data-tag": "tiny-calendar-view-weekdates",
171
172
  class: "flex justify-around flex-1 h-full"
172
173
  };
173
- var _hoisted_21 = {
174
+ var _hoisted_21 = ["onClick"];
175
+ var _hoisted_22 = {
174
176
  class: "w-12",
175
177
  "data-tag": "tiny-calendar-view-timelinelist"
176
178
  };
177
- var _hoisted_22 = {
179
+ var _hoisted_23 = {
178
180
  class: "text-sm text-color-text-primary"
179
181
  };
180
- var _hoisted_23 = {
182
+ var _hoisted_24 = {
181
183
  class: "flex-1",
182
184
  "data-tag": "tiny-calendar-view-timelinelist"
183
185
  };
184
- var _hoisted_24 = {
186
+ var _hoisted_25 = {
185
187
  class: "w-full flex justify-around"
186
188
  };
187
- var _hoisted_25 = {
189
+ var _hoisted_26 = {
188
190
  class: "flex w-full",
189
191
  "data-tag": "tiny-calendar-view-schedulelist"
190
192
  };
191
- var _hoisted_26 = {
193
+ var _hoisted_27 = {
192
194
  class: "px-1.5 mb-1.5 border-l-2 border-color-brand break-all"
193
195
  };
194
- var _hoisted_27 = {
196
+ var _hoisted_28 = {
197
+ key: 0,
195
198
  class: "mb-1.5 px-2 text-color-text-placeholder"
196
199
  };
197
- var _hoisted_28 = {
200
+ var _hoisted_29 = {
198
201
  class: "px-2 text-xs text-color-icon-primary line-clamp-2"
199
202
  };
200
- var _hoisted_29 = ["onClick"];
201
- var _hoisted_30 = {
203
+ var _hoisted_30 = ["onClick"];
204
+ var _hoisted_31 = {
202
205
  class: "ml-1 text-color-text-placeholder"
203
206
  };
204
207
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -227,13 +230,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
227
230
  toDisplayString(_ctx.state.eventTipContent.title),
228
231
  1
229
232
  /* TEXT */
230
- ), createElementVNode(
233
+ ), _ctx.showTipTime ? (openBlock(), createElementBlock(
231
234
  "div",
232
235
  _hoisted_4,
233
236
  toDisplayString(_ctx.state.eventTipContent.startDay) + " " + toDisplayString(_ctx.state.eventTipContent.startTime) + " ~ " + toDisplayString(_ctx.state.eventTipContent.endDay) + " " + toDisplayString(_ctx.state.eventTipContent.endTime),
234
237
  1
235
238
  /* TEXT */
236
- ), createElementVNode(
239
+ )) : createCommentVNode("v-if", true), createElementVNode(
237
240
  "p",
238
241
  _hoisted_5,
239
242
  toDisplayString(_ctx.state.eventTipContent.content || ""),
@@ -430,7 +433,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
430
433
  return openBlock(), createElementBlock("li", {
431
434
  "data-tag": "tiny-calendar-view-weekitem",
432
435
  key: date.value,
433
- class: "leading-10"
436
+ class: "leading-10 cursor-pointer",
437
+ onClick: function onClick($event) {
438
+ return _ctx.selectDay(date);
439
+ }
434
440
  }, [renderSlot(_ctx.$slots, "header", {
435
441
  slotScope: {
436
442
  date: date.value,
@@ -440,7 +446,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
440
446
  return [createElementVNode(
441
447
  "span",
442
448
  {
443
- class: normalizeClass(["relative mr-2.5 text-base", [_ctx.dateIsToday(date.value) ? "text-color-brand" : "text-color-text-primary"]])
449
+ class: normalizeClass(["relative mr-2.5 text-base", [_ctx.dateIsToday(date.value) || _ctx.computedSelectDay(date) ? "text-color-brand" : "text-color-text-primary"]])
444
450
  },
445
451
  [createElementVNode(
446
452
  "span",
@@ -463,13 +469,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
463
469
  ), createElementVNode(
464
470
  "span",
465
471
  {
466
- class: normalizeClass(["text-sm", [_ctx.dateIsToday(date.value) ? "text-color-brand" : "text-color-text-placeholder"]])
472
+ class: normalizeClass(["text-sm", [_ctx.dateIsToday(date.value) || _ctx.computedSelectDay(date) ? "text-color-brand" : "text-color-text-placeholder"]])
467
473
  },
468
474
  toDisplayString(_ctx.dateIsToday(date.value) ? _ctx.t("ui.datepicker.today") : _ctx.t("ui.calendarView.weekDays." + index)),
469
475
  3
470
476
  /* TEXT, CLASS */
471
477
  )];
472
- })]);
478
+ })], 8, _hoisted_21);
473
479
  }),
474
480
  128
475
481
  /* KEYED_FRAGMENT */
@@ -489,7 +495,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
489
495
  "height": _ctx.height
490
496
  })
491
497
  },
492
- [createElementVNode("div", _hoisted_21, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
498
+ [createElementVNode("div", _hoisted_22, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
493
499
  Fragment,
494
500
  null,
495
501
  renderList(_ctx.state.dayTimes, function(item, i) {
@@ -502,7 +508,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
502
508
  },
503
509
  [createElementVNode(
504
510
  "span",
505
- _hoisted_22,
511
+ _hoisted_23,
506
512
  toDisplayString(item.text.includes("30") ? "" : item.text),
507
513
  1
508
514
  /* TEXT */
@@ -513,7 +519,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
513
519
  }),
514
520
  128
515
521
  /* KEYED_FRAGMENT */
516
- ))])]), createElementVNode("div", _hoisted_23, [createElementVNode("ul", _hoisted_24, [(openBlock(true), createElementBlock(
522
+ ))])]), createElementVNode("div", _hoisted_24, [createElementVNode("ul", _hoisted_25, [(openBlock(true), createElementBlock(
517
523
  Fragment,
518
524
  null,
519
525
  renderList(_ctx.state.weekDates, function(date, index) {
@@ -599,7 +605,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
599
605
  "height": _ctx.height
600
606
  })
601
607
  },
602
- [createElementVNode("ul", _hoisted_25, [(openBlock(true), createElementBlock(
608
+ [createElementVNode("ul", _hoisted_26, [(openBlock(true), createElementBlock(
603
609
  Fragment,
604
610
  null,
605
611
  renderList(_ctx.state.weekDates, function(date, index) {
@@ -626,19 +632,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
626
632
  class: "py-1.5 h-auto border border-color-border-separator rounded mb-2 shadow-sm"
627
633
  }, [createElementVNode(
628
634
  "div",
629
- _hoisted_26,
635
+ _hoisted_27,
630
636
  toDisplayString(event.title),
631
637
  1
632
638
  /* TEXT */
633
- ), createElementVNode(
639
+ ), _ctx.showTipTime ? (openBlock(), createElementBlock(
634
640
  "div",
635
- _hoisted_27,
641
+ _hoisted_28,
636
642
  toDisplayString(_ctx.getEventShowTime("start", event, date.value)) + " - " + toDisplayString(_ctx.getEventShowTime("end", event, date.value)),
637
643
  1
638
644
  /* TEXT */
639
- ), createElementVNode(
645
+ )) : createCommentVNode("v-if", true), createElementVNode(
640
646
  "p",
641
- _hoisted_28,
647
+ _hoisted_29,
642
648
  toDisplayString(event.content || ""),
643
649
  1
644
650
  /* TEXT */
@@ -658,11 +664,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
658
664
  class: "align-sub fill-color-text-placeholder"
659
665
  }), createElementVNode(
660
666
  "span",
661
- _hoisted_30,
667
+ _hoisted_31,
662
668
  toDisplayString(_ctx.t("ui.calendarView.new")),
663
669
  1
664
670
  /* TEXT */
665
- )], 8, _hoisted_29)) : createCommentVNode("v-if", true)]);
671
+ )], 8, _hoisted_30)) : createCommentVNode("v-if", true)]);
666
672
  }),
667
673
  128
668
674
  /* KEYED_FRAGMENT */
package/lib/pc.js CHANGED
@@ -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"]),
57
+ props: [].concat(props, ["modelValue", "showMark", "showNewSchedule", "setDayBgColor", "disabled", "mode", "modes", "year", "month", "dayTimes", "events", "height", "markColor", "multiSelect", "showTipTime"]),
58
58
  setup: function setup$1(props2, context) {
59
59
  return setup({
60
60
  props: props2,
@@ -115,43 +115,46 @@ var _hoisted_13 = {
115
115
  var _hoisted_14 = {
116
116
  class: "header-main"
117
117
  };
118
- var _hoisted_15 = {
118
+ var _hoisted_15 = ["onClick"];
119
+ var _hoisted_16 = {
119
120
  key: 0,
120
121
  class: "tiny-calendar-view-week__timeline"
121
122
  };
122
- var _hoisted_16 = {
123
+ var _hoisted_17 = {
123
124
  class: "day-times"
124
125
  };
125
- var _hoisted_17 = {
126
+ var _hoisted_18 = {
126
127
  class: "day-events"
127
128
  };
128
- var _hoisted_18 = {
129
+ var _hoisted_19 = {
129
130
  class: "events-list"
130
131
  };
131
- var _hoisted_19 = {
132
+ var _hoisted_20 = {
132
133
  key: 1,
133
134
  class: "tiny-calendar-view-week__schedule"
134
135
  };
135
- var _hoisted_20 = {
136
+ var _hoisted_21 = {
136
137
  class: "title"
137
138
  };
138
- var _hoisted_21 = {
139
+ var _hoisted_22 = {
140
+ key: 0,
139
141
  class: "date"
140
142
  };
141
- var _hoisted_22 = {
143
+ var _hoisted_23 = {
142
144
  class: "content"
143
145
  };
144
- var _hoisted_23 = ["onClick"];
145
- var _hoisted_24 = {
146
+ var _hoisted_24 = ["onClick"];
147
+ var _hoisted_25 = {
146
148
  class: "tooltip-main"
147
149
  };
148
- var _hoisted_25 = {
150
+ var _hoisted_26 = {
149
151
  class: "title"
150
152
  };
151
- var _hoisted_26 = {
153
+ var _hoisted_27 = {
154
+ key: 0,
152
155
  class: "date"
153
156
  };
154
- var _hoisted_27 = {
157
+ var _hoisted_28 = {
155
158
  class: "content"
156
159
  };
157
160
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -341,7 +344,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
341
344
  null,
342
345
  renderList(_ctx.state.weekDates, function(date, index) {
343
346
  return openBlock(), createElementBlock("li", {
344
- key: date.value
347
+ key: date.value,
348
+ onClick: function onClick($event) {
349
+ return _ctx.selectDay(date);
350
+ }
345
351
  }, [renderSlot(_ctx.$slots, "header", {
346
352
  slotScope: {
347
353
  date: date.value,
@@ -351,7 +357,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
351
357
  return [createElementVNode(
352
358
  "span",
353
359
  {
354
- class: normalizeClass(["date", _ctx.dateIsToday(date.value) && "is-today"])
360
+ class: normalizeClass(["date", [_ctx.dateIsToday(date.value) && "is-today", {
361
+ current: _ctx.computedSelectDay(date)
362
+ }]])
355
363
  },
356
364
  [createElementVNode(
357
365
  "span",
@@ -374,13 +382,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
374
382
  ), createElementVNode(
375
383
  "span",
376
384
  {
377
- class: normalizeClass(["week-day", _ctx.dateIsToday(date.value) && "is-today"])
385
+ class: normalizeClass(["week-day", [_ctx.dateIsToday(date.value) && "is-today", {
386
+ current: _ctx.computedSelectDay(date)
387
+ }]])
378
388
  },
379
389
  toDisplayString(_ctx.dateIsToday(date.value) ? _ctx.t("ui.datepicker.today") : _ctx.t("ui.calendarView.weekDays." + index)),
380
390
  3
381
391
  /* TEXT, CLASS */
382
392
  )];
383
- })]);
393
+ })], 8, _hoisted_15);
384
394
  }),
385
395
  128
386
396
  /* KEYED_FRAGMENT */
@@ -389,7 +399,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
389
399
  onClick: _cache[5] || (_cache[5] = function() {
390
400
  return _ctx.getNextWeek && _ctx.getNextWeek.apply(_ctx, arguments);
391
401
  })
392
- }, [createVNode(_component_icon_chevron_right)])]), _ctx.state.mode === "timeline" ? (openBlock(), createElementBlock("div", _hoisted_15, [createElementVNode("div", _hoisted_16, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
402
+ }, [createVNode(_component_icon_chevron_right)])]), _ctx.state.mode === "timeline" ? (openBlock(), createElementBlock("div", _hoisted_16, [createElementVNode("div", _hoisted_17, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
393
403
  Fragment,
394
404
  null,
395
405
  renderList(_ctx.state.dayTimes, function(item, i) {
@@ -412,7 +422,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
412
422
  }),
413
423
  128
414
424
  /* KEYED_FRAGMENT */
415
- ))])]), createElementVNode("div", _hoisted_17, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
425
+ ))])]), createElementVNode("div", _hoisted_18, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
416
426
  Fragment,
417
427
  null,
418
428
  renderList(_ctx.state.weekDates, function(date, index) {
@@ -431,7 +441,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
431
441
  events: _ctx.state.curWeekEvents[date.value]
432
442
  }
433
443
  }, function() {
434
- return [createElementVNode("ul", _hoisted_18, [(openBlock(true), createElementBlock(
444
+ return [createElementVNode("ul", _hoisted_19, [(openBlock(true), createElementBlock(
435
445
  Fragment,
436
446
  null,
437
447
  renderList(_ctx.state.dayTimes, function(item, i) {
@@ -484,7 +494,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
484
494
  }),
485
495
  128
486
496
  /* KEYED_FRAGMENT */
487
- ))])])])) : createCommentVNode("v-if", true), _ctx.state.mode === "schedule" ? (openBlock(), createElementBlock("div", _hoisted_19, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
497
+ ))])])])) : createCommentVNode("v-if", true), _ctx.state.mode === "schedule" ? (openBlock(), createElementBlock("div", _hoisted_20, [createElementVNode("ul", null, [(openBlock(true), createElementBlock(
488
498
  Fragment,
489
499
  null,
490
500
  renderList(_ctx.state.weekDates, function(date, index) {
@@ -508,19 +518,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
508
518
  class: "day-events"
509
519
  }, [createElementVNode(
510
520
  "div",
511
- _hoisted_20,
521
+ _hoisted_21,
512
522
  toDisplayString(event.title),
513
523
  1
514
524
  /* TEXT */
515
- ), createElementVNode(
525
+ ), _ctx.showTipTime ? (openBlock(), createElementBlock(
516
526
  "div",
517
- _hoisted_21,
527
+ _hoisted_22,
518
528
  toDisplayString(_ctx.getEventShowTime("start", event, date.value)) + " - " + toDisplayString(_ctx.getEventShowTime("end", event, date.value)),
519
529
  1
520
530
  /* TEXT */
521
- ), createElementVNode(
531
+ )) : createCommentVNode("v-if", true), createElementVNode(
522
532
  "p",
523
- _hoisted_22,
533
+ _hoisted_23,
524
534
  toDisplayString(event.content || ""),
525
535
  1
526
536
  /* TEXT */
@@ -541,7 +551,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
541
551
  toDisplayString(_ctx.t("ui.calendarView.new")),
542
552
  1
543
553
  /* TEXT */
544
- )], 8, _hoisted_23)) : createCommentVNode("v-if", true)]);
554
+ )], 8, _hoisted_24)) : createCommentVNode("v-if", true)]);
545
555
  }),
546
556
  128
547
557
  /* KEYED_FRAGMENT */
@@ -555,21 +565,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
555
565
  },
556
566
  {
557
567
  content: withCtx(function() {
558
- return [createElementVNode("div", _hoisted_24, [createElementVNode(
568
+ return [createElementVNode("div", _hoisted_25, [createElementVNode(
559
569
  "div",
560
- _hoisted_25,
570
+ _hoisted_26,
561
571
  toDisplayString(_ctx.state.eventTipContent.title),
562
572
  1
563
573
  /* TEXT */
564
- ), createElementVNode(
574
+ ), _ctx.showTipTime ? (openBlock(), createElementBlock(
565
575
  "div",
566
- _hoisted_26,
576
+ _hoisted_27,
567
577
  toDisplayString(_ctx.state.eventTipContent.startDay) + " " + toDisplayString(_ctx.state.eventTipContent.startTime) + " ~ " + toDisplayString(_ctx.state.eventTipContent.endDay) + " " + toDisplayString(_ctx.state.eventTipContent.endTime),
568
578
  1
569
579
  /* TEXT */
570
- ), createElementVNode(
580
+ )) : createCommentVNode("v-if", true), createElementVNode(
571
581
  "p",
572
- _hoisted_27,
582
+ _hoisted_28,
573
583
  toDisplayString(_ctx.state.eventTipContent.content || ""),
574
584
  1
575
585
  /* TEXT */
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-calendar-view",
3
- "version": "3.22.1",
3
+ "version": "3.24.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.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-button": "~3.22.0",
15
- "@opentinyvue/vue-date-picker": "~3.22.0",
16
- "@opentinyvue/vue-radio-button": "~3.22.0",
17
- "@opentinyvue/vue-radio-group": "~3.22.0",
18
- "@opentinyvue/vue-slider-button": "~3.22.0",
19
- "@opentinyvue/vue-slider-button-group": "~3.22.0",
20
- "@opentinyvue/vue-theme": "~3.22.0"
10
+ "@opentinyvue/vue-common": "~3.24.0",
11
+ "@opentinyvue/vue-icon": "~3.24.0",
12
+ "@opentinyvue/vue-renderless": "~3.24.0",
13
+ "@opentinyvue/vue-tooltip": "~3.24.0",
14
+ "@opentinyvue/vue-button": "~3.24.0",
15
+ "@opentinyvue/vue-date-picker": "~3.24.0",
16
+ "@opentinyvue/vue-radio-button": "~3.24.0",
17
+ "@opentinyvue/vue-radio-group": "~3.24.0",
18
+ "@opentinyvue/vue-slider-button": "~3.24.0",
19
+ "@opentinyvue/vue-slider-button-group": "~3.24.0",
20
+ "@opentinyvue/vue-theme": "~3.24.0"
21
21
  },
22
22
  "license": "MIT",
23
23
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -65,11 +65,16 @@ export declare const calendarViewProps: {
65
65
  type: BooleanConstructor;
66
66
  default: boolean;
67
67
  };
68
+ showTipTime: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
68
72
  tiny_mode: StringConstructor;
69
73
  tiny_mode_root: BooleanConstructor;
70
74
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
71
75
  tiny_renderless: FunctionConstructor;
72
76
  tiny_theme: StringConstructor;
77
+ tiny_mcp_config: ObjectConstructor;
73
78
  tiny_chart_theme: ObjectConstructor;
74
79
  };
75
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;
@@ -21,6 +22,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
21
22
  "mark-color"?: any;
22
23
  "multi-select"?: any;
23
24
  showBackToday?: any;
25
+ showTipTime?: any;
24
26
  }>, {
25
27
  t: (this: any, path: any, options?: any) => any;
26
28
  vm: 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;
@@ -53,6 +56,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
53
56
  "mark-color"?: any;
54
57
  "multi-select"?: any;
55
58
  showBackToday?: any;
59
+ showTipTime?: any;
56
60
  }>>> & {
57
61
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
58
62
  "onWeek-change"?: ((...args: any[]) => any) | undefined;
@@ -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;
@@ -87,5 +92,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
87
92
  readonly "mark-color"?: any;
88
93
  readonly "multi-select"?: any;
89
94
  readonly showBackToday?: any;
95
+ readonly showTipTime?: any;
90
96
  }, {}>;
91
97
  export default _default;
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
+ showTipTime?: any;
21
23
  multiSelect?: any;
22
24
  markColor?: any;
23
25
  }>, {
@@ -42,6 +44,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
42
44
  _constants?: any;
43
45
  tiny_theme?: any;
44
46
  tiny_chart_theme?: any;
47
+ tiny_mcp_config?: any;
45
48
  modelValue?: any;
46
49
  events?: any;
47
50
  showMark?: any;
@@ -49,6 +52,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
49
52
  setDayBgColor?: any;
50
53
  modes?: any;
51
54
  dayTimes?: any;
55
+ showTipTime?: any;
52
56
  multiSelect?: any;
53
57
  markColor?: any;
54
58
  }>>> & {
@@ -75,6 +79,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
75
79
  readonly _constants?: any;
76
80
  readonly tiny_theme?: any;
77
81
  readonly tiny_chart_theme?: any;
82
+ readonly tiny_mcp_config?: any;
78
83
  readonly modelValue?: any;
79
84
  readonly events?: any;
80
85
  readonly showMark?: any;
@@ -82,6 +87,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
82
87
  readonly setDayBgColor?: any;
83
88
  readonly modes?: any;
84
89
  readonly dayTimes?: any;
90
+ readonly showTipTime?: any;
85
91
  readonly multiSelect?: any;
86
92
  readonly markColor?: any;
87
93
  }, {}>;