maz-ui 4.1.7-beta.5 → 4.1.7-beta.7

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.
Files changed (150) hide show
  1. package/dist/assets/MazAnimatedElement.DnsacpuB.css +1 -0
  2. package/dist/assets/MazAnimatedText.DFwgvVgF.css +1 -0
  3. package/dist/assets/{MazBtn.D86vFfaR.css → MazBtn.DDnoE3K1.css} +1 -1
  4. package/dist/assets/MazCard.CV__I-ku.css +1 -0
  5. package/dist/assets/MazCarousel.-UuyHtHl.css +1 -0
  6. package/dist/assets/MazChecklist.3fMAXT5e.css +1 -0
  7. package/dist/assets/MazDatePicker.DIB3Fyyp.css +1 -0
  8. package/dist/assets/MazDialog.Cm3xd1Xp.css +1 -0
  9. package/dist/assets/MazDrawer.CtOq-ucH.css +1 -0
  10. package/dist/assets/MazDropzone.B5e-z_Ba.css +1 -0
  11. package/dist/assets/MazGallery.BcmVxLFj.css +1 -0
  12. package/dist/assets/MazIcon.Cl1pfRbK.css +1 -0
  13. package/dist/assets/MazInput.CHYQSgY8.css +1 -0
  14. package/dist/assets/MazPickerCalendar.CwCiPtzY.css +1 -0
  15. package/dist/assets/MazPickerCalendarMonth.CdpSHmMr.css +1 -0
  16. package/dist/assets/MazPickerShortcuts.CCyYVPVa.css +1 -0
  17. package/dist/assets/MazPickerTime.ChkQASmb.css +1 -0
  18. package/dist/assets/MazPopover.BSKQcDPm.css +1 -0
  19. package/dist/assets/MazSelect.CvoR958a.css +1 -0
  20. package/dist/assets/{MazStepper.BwGwQqM1.css → MazStepper.Dg9khVJG.css} +1 -1
  21. package/dist/assets/{MazTable.DLVdp4na.css → MazTable.BKlwCDt4.css} +1 -1
  22. package/dist/assets/PhoneInput.C5t00d9H.css +1 -0
  23. package/dist/assets/toast.ClbXOwsL.css +1 -0
  24. package/dist/chunks/{MazChart.vue_vue_type_script_setup_true_lang.JSYXGyfn.js → MazChart.vue_vue_type_script_setup_true_lang.CUrokkc_.js} +5 -5
  25. package/dist/chunks/{MazDatePicker.DCC2WPu4.js → MazDatePicker.CYfNHwnV.js} +163 -52
  26. package/dist/chunks/{MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js → MazDialogConfirm.vue_vue_type_script_setup_true_lang.BaOg5MoP.js} +4 -4
  27. package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.FpQyExxD.js → MazDropdown.vue_vue_type_style_index_0_lang.qBaRy629.js} +42 -42
  28. package/dist/chunks/{MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js → MazInputNumber.vue_vue_type_style_index_0_lang.D_OF4KbM.js} +20 -20
  29. package/dist/chunks/{MazInputPhoneNumber.DG6oYKQd.js → MazInputPhoneNumber.CbNnLvU_.js} +32 -32
  30. package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.BA6TDX-T.js → MazInputPrice.vue_vue_type_script_setup_true_lang.CcQ71H1z.js} +6 -6
  31. package/dist/chunks/{MazPickerCalendar.T3pRXaFm.js → MazPickerCalendar.BOSPVh7n.js} +30 -28
  32. package/dist/chunks/{MazPickerCalendarMonth.CRNi_tj-.js → MazPickerCalendarMonth.C-dBLRva.js} +12 -8
  33. package/dist/chunks/{MazPickerCalendarSwitcher.CiQdIZe3.js → MazPickerCalendarSwitcher.CBt_inzB.js} +1 -1
  34. package/dist/chunks/{MazPickerHeader.DnyB1sNn.js → MazPickerHeader.CPmuARqp.js} +4 -4
  35. package/dist/chunks/{MazPickerMonthSwitcher.C4KCM1Lc.js → MazPickerMonthSwitcher.A5uh7cC7.js} +1 -1
  36. package/dist/chunks/{MazPickerShortcuts.CMySiKny.js → MazPickerShortcuts.iJe-kl_a.js} +4 -4
  37. package/dist/chunks/{MazPickerTime.Dt01JjvP.js → MazPickerTime.xQhgnYKJ.js} +3 -3
  38. package/dist/chunks/{MazPickerYearSwitcher.BjH4pP1G.js → MazPickerYearSwitcher.eQe37UOI.js} +1 -1
  39. package/dist/chunks/{MazSwitch.vue_vue_type_style_index_0_lang.Dz7-dIc9.js → MazSwitch.vue_vue_type_style_index_0_lang.DctlXsMK.js} +15 -15
  40. package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.lsJngJJn.js → MazTable.vue_vue_type_script_setup_true_lang.F9DFa_6O.js} +35 -35
  41. package/dist/chunks/{PhoneInput.CodUcksI.js → PhoneInput.DQZjDqMK.js} +14 -14
  42. package/dist/chunks/{fullscreen-img.directive.e2KyfwYA.js → fullscreen-img.directive.BqO7XUdi.js} +1 -1
  43. package/dist/components/MazAccordion.js +1 -1
  44. package/dist/components/MazAnimatedCounter.js +5 -5
  45. package/dist/components/MazAnimatedElement.js +20 -9
  46. package/dist/components/MazAnimatedText.js +34 -21
  47. package/dist/components/MazAvatar.js +25 -25
  48. package/dist/components/MazBackdrop.js +6 -6
  49. package/dist/components/MazBadge.js +4 -4
  50. package/dist/components/MazBottomSheet.js +3 -3
  51. package/dist/components/MazBtn.js +42 -32
  52. package/dist/components/MazCard.js +20 -20
  53. package/dist/components/MazCardSpotlight.js +4 -4
  54. package/dist/components/MazCarousel.js +5 -5
  55. package/dist/components/MazChart.js +1 -1
  56. package/dist/components/MazCheckbox.js +13 -13
  57. package/dist/components/MazChecklist.js +17 -17
  58. package/dist/components/MazCircularProgressBar.js +11 -11
  59. package/dist/components/MazDatePicker/MazPickerCalendar.vue.d.ts +1 -0
  60. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +8 -0
  61. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +8 -0
  62. package/dist/components/MazDatePicker.js +1 -1
  63. package/dist/components/MazDatePicker.vue.d.ts +3 -3
  64. package/dist/components/MazDialog.js +11 -11
  65. package/dist/components/MazDialogConfirm.js +2 -2
  66. package/dist/components/MazDrawer.js +8 -8
  67. package/dist/components/MazDropdown.js +1 -1
  68. package/dist/components/MazDropdown.vue.d.ts +0 -6
  69. package/dist/components/MazDropzone.js +132 -97
  70. package/dist/components/MazDropzone.vue.d.ts +10 -16
  71. package/dist/components/MazExpandAnimation.js +1 -1
  72. package/dist/components/MazFullscreenLoader.js +3 -3
  73. package/dist/components/MazGallery.js +16 -16
  74. package/dist/components/MazIcon.js +29 -10
  75. package/dist/components/MazIcon.vue.d.ts +9 -2
  76. package/dist/components/MazInput.js +42 -42
  77. package/dist/components/MazInputCode.js +11 -11
  78. package/dist/components/MazInputNumber.js +1 -1
  79. package/dist/components/MazInputPhoneNumber.js +1 -1
  80. package/dist/components/MazInputPrice.js +1 -1
  81. package/dist/components/MazInputTags.js +16 -16
  82. package/dist/components/MazInputTags.vue.d.ts +2 -2
  83. package/dist/components/MazLazyImg.js +9 -9
  84. package/dist/components/MazLink.js +18 -18
  85. package/dist/components/MazLoadingBar.js +1 -1
  86. package/dist/components/MazPagination.js +20 -20
  87. package/dist/components/MazPopover.js +17 -17
  88. package/dist/components/MazPopover.vue.d.ts +3 -4
  89. package/dist/components/MazPullToRefresh.js +2 -2
  90. package/dist/components/MazRadio.js +12 -12
  91. package/dist/components/MazRadioButtons.js +15 -15
  92. package/dist/components/MazReadingProgressBar.js +3 -3
  93. package/dist/components/MazSelect.js +60 -58
  94. package/dist/components/MazSelectCountry.js +34 -34
  95. package/dist/components/MazSlider.js +6 -6
  96. package/dist/components/MazSpinner.js +3 -3
  97. package/dist/components/MazStepper.js +5 -5
  98. package/dist/components/MazSwitch.js +1 -1
  99. package/dist/components/MazTable.js +3 -3
  100. package/dist/components/MazTableCell.js +1 -1
  101. package/dist/components/MazTableRow.js +2 -2
  102. package/dist/components/MazTableTitle.js +1 -1
  103. package/dist/components/MazTabsBar.js +3 -3
  104. package/dist/components/MazTextarea.js +17 -17
  105. package/dist/components/index.js +8 -8
  106. package/dist/composables/useDisplayNames.d.ts +2 -2
  107. package/dist/composables/useDisplayNames.js +1 -1
  108. package/dist/composables/useDropzone.js +10 -2
  109. package/dist/composables/useFormField.js +8 -1
  110. package/dist/css/main.css +1 -1
  111. package/dist/directives/index.js +1 -1
  112. package/dist/directives/vFullscreenImg.js +1 -1
  113. package/dist/directives/vZoomImg/zoom-img.directive.d.ts +2 -2
  114. package/dist/plugins/dialog.js +1 -1
  115. package/dist/plugins/toast.js +7 -7
  116. package/dist/resolvers/MazComponentsResolver.js +15 -0
  117. package/dist/types/components/MazDatePicker/MazPickerCalendar.vue.d.ts +1 -0
  118. package/dist/types/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +8 -0
  119. package/dist/types/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +8 -0
  120. package/dist/types/components/MazDatePicker.vue.d.ts +3 -3
  121. package/dist/types/components/MazDropdown.vue.d.ts +0 -6
  122. package/dist/types/components/MazDropzone.vue.d.ts +10 -16
  123. package/dist/types/components/MazIcon.vue.d.ts +9 -2
  124. package/dist/types/components/MazInputTags.vue.d.ts +2 -2
  125. package/dist/types/components/MazPopover.vue.d.ts +3 -4
  126. package/dist/types/composables/useDisplayNames.d.ts +2 -2
  127. package/dist/types/directives/vZoomImg/zoom-img.directive.d.ts +2 -2
  128. package/package.json +22 -24
  129. package/dist/assets/MazAnimatedElement.B4mV3dWm.css +0 -1
  130. package/dist/assets/MazAnimatedText.CHvAudRU.css +0 -1
  131. package/dist/assets/MazCard.BrbmsHeG.css +0 -1
  132. package/dist/assets/MazCarousel.BLHpZIu5.css +0 -1
  133. package/dist/assets/MazChecklist.Bu8wERn6.css +0 -1
  134. package/dist/assets/MazDatePicker.D5Hzcubb.css +0 -1
  135. package/dist/assets/MazDialog.TS06kRcu.css +0 -1
  136. package/dist/assets/MazDrawer.Dodd-EmX.css +0 -1
  137. package/dist/assets/MazDropzone._2HwHowu.css +0 -1
  138. package/dist/assets/MazGallery.BTNB3D6k.css +0 -1
  139. package/dist/assets/MazIcon.3Pn7omz5.css +0 -1
  140. package/dist/assets/MazInput.XcKP5Xdf.css +0 -1
  141. package/dist/assets/MazPickerCalendar.e-eF8E7m.css +0 -1
  142. package/dist/assets/MazPickerCalendarMonth.JSoAH1aF.css +0 -1
  143. package/dist/assets/MazPickerContainer.DmHuaFqE.css +0 -1
  144. package/dist/assets/MazPickerShortcuts.CCITP0TI.css +0 -1
  145. package/dist/assets/MazPickerTime.Cr8oNxbN.css +0 -1
  146. package/dist/assets/MazPopover.DJzd0Py3.css +0 -1
  147. package/dist/assets/MazSelect.DN6uB_nJ.css +0 -1
  148. package/dist/assets/PhoneInput.DkOXlrI9.css +0 -1
  149. package/dist/assets/toast.BZkWHzTC.css +0 -1
  150. package/dist/chunks/MazPickerContainer.NRaVsQzg.js +0 -115
@@ -1,14 +1,15 @@
1
- import { defineComponent, mergeModels, defineAsyncComponent, computed, useModel, useTemplateRef, onBeforeMount, ref, watch, createBlock, openBlock, unref, normalizeStyle, normalizeClass, withCtx, createVNode, renderSlot, withDirectives, mergeProps, createCommentVNode, vShow } from "vue";
1
+ import { defineComponent, defineAsyncComponent, ref, computed, createElementBlock, openBlock, normalizeClass, createBlock, createCommentVNode, createElementVNode, unref, mergeModels, useModel, useTemplateRef, onBeforeMount, watch, normalizeStyle, withCtx, createVNode, renderSlot, withDirectives, mergeProps, vShow } from "vue";
2
2
  import { MazChevronDown, MazCalendar, MazClock } from "@maz-ui/icons";
3
3
  import { useTranslations } from "@maz-ui/translations";
4
4
  import dayjs from "dayjs";
5
5
  import customParseFormat from "dayjs/plugin/customParseFormat";
6
6
  import isBetween from "dayjs/plugin/isBetween";
7
7
  import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
8
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
8
9
  import { c as capitalize } from "./capitalize.BF6CDS_4.js";
9
10
  import weekday from "dayjs/plugin/weekday";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
11
- import '../assets/MazDatePicker.D5Hzcubb.css';const DEFAULT_OPTIONS = {
11
+ import MazPopover from "../components/MazPopover.js";
12
+ import '../assets/MazDatePicker.DIB3Fyyp.css';const DEFAULT_OPTIONS = {
12
13
  month: "short",
13
14
  day: "numeric",
14
15
  year: "numeric"
@@ -26,6 +27,116 @@ function formatDate(date, locale, options) {
26
27
  throw new Error(`[maz-ui](FilterDate) ${error}`);
27
28
  }
28
29
  }
30
+ const _hoisted_1 = { class: "m-date-picker-container__wrapper" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
31
+ __name: "MazPickerContainer",
32
+ props: {
33
+ modelValue: {},
34
+ calendarDate: {},
35
+ color: {},
36
+ locale: {},
37
+ hideHeader: { type: Boolean },
38
+ firstDayOfWeek: {},
39
+ double: { type: Boolean },
40
+ hasDate: { type: Boolean },
41
+ minDate: {},
42
+ maxDate: {},
43
+ inline: { type: Boolean },
44
+ shortcuts: { type: [Array, Boolean] },
45
+ shortcut: {},
46
+ hasTime: { type: Boolean },
47
+ format: {},
48
+ isHour12: { type: Boolean },
49
+ formatterOptions: {},
50
+ minuteInterval: {},
51
+ disabled: { type: Boolean },
52
+ disabledWeekly: {},
53
+ disabledHours: {},
54
+ disabledDates: {},
55
+ range: { type: Boolean }
56
+ },
57
+ emits: ["update:model-value", "update:calendar-date", "close"],
58
+ setup(__props, { emit: __emit }) {
59
+ const emits = __emit, MazPickerCalendar = defineAsyncComponent(() => import("./MazPickerCalendar.BOSPVh7n.js")), MazPickerHeader = defineAsyncComponent(() => import("./MazPickerHeader.CPmuARqp.js")), MazPickerTime = defineAsyncComponent(() => import("./MazPickerTime.xQhgnYKJ.js")), lastTimeValue = ref(typeof __props.modelValue == "string" && __props.hasTime ? dayjs(__props.modelValue).format("HH:mm") : "00:00");
60
+ function saveLastTimeValue(value) {
61
+ lastTimeValue.value = dayjs(value).format("HH:mm"), emits("update:model-value", value);
62
+ }
63
+ function emitDateValue(value) {
64
+ if (__props.hasTime) {
65
+ const date = dayjs(value).format("YYYY-MM-DD"), time = lastTimeValue.value || "00:00", timeEmitted = dayjs(`${date} ${time}`).format(__props.format);
66
+ emits("update:model-value", timeEmitted);
67
+ } else
68
+ emits("update:model-value", value);
69
+ }
70
+ const currentDate = computed({
71
+ get: () => __props.modelValue,
72
+ set: (value) => emits("update:model-value", value)
73
+ }), currentCalendarDate = computed({
74
+ get: () => __props.calendarDate,
75
+ set: (calendarDate) => emits("update:calendar-date", calendarDate)
76
+ });
77
+ return (_ctx, _cache) => (openBlock(), createElementBlock("div", {
78
+ class: normalizeClass(["m-date-picker-container", {
79
+ "--has-double": __props.double,
80
+ "--is-inline": __props.inline,
81
+ "--has-date": __props.hasDate
82
+ }])
83
+ }, [
84
+ __props.hideHeader ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazPickerHeader), {
85
+ key: 0,
86
+ color: __props.color,
87
+ "has-time": __props.hasTime,
88
+ "model-value": __props.modelValue,
89
+ locale: __props.locale,
90
+ "has-date": __props.hasDate,
91
+ "formatter-options": __props.formatterOptions,
92
+ double: __props.double,
93
+ "hide-shortcuts": !__props.shortcuts,
94
+ class: "m-date-picker-container__header"
95
+ }, null, 8, ["color", "has-time", "model-value", "locale", "has-date", "formatter-options", "double", "hide-shortcuts"])),
96
+ createElementVNode("div", _hoisted_1, [
97
+ __props.hasDate ? (openBlock(), createBlock(unref(MazPickerCalendar), {
98
+ key: 0,
99
+ "calendar-date": currentCalendarDate.value,
100
+ "onUpdate:calendarDate": _cache[0] || (_cache[0] = ($event) => currentCalendarDate.value = $event),
101
+ "model-value": currentDate.value,
102
+ color: __props.color,
103
+ locale: __props.locale,
104
+ "has-time": __props.hasTime,
105
+ double: __props.double,
106
+ "min-date": __props.minDate,
107
+ "max-date": __props.maxDate,
108
+ inline: __props.inline,
109
+ "first-day-of-week": __props.firstDayOfWeek,
110
+ disabled: __props.disabled,
111
+ "disabled-weekly": __props.disabledWeekly,
112
+ "disabled-dates": __props.disabledDates,
113
+ shortcuts: __props.shortcuts,
114
+ shortcut: __props.shortcut,
115
+ range: __props.range,
116
+ class: "m-date-picker-container__calendar",
117
+ "onUpdate:modelValue": emitDateValue
118
+ }, null, 8, ["calendar-date", "model-value", "color", "locale", "has-time", "double", "min-date", "max-date", "inline", "first-day-of-week", "disabled", "disabled-weekly", "disabled-dates", "shortcuts", "shortcut", "range"])) : createCommentVNode("", !0),
119
+ __props.hasTime ? (openBlock(), createBlock(unref(MazPickerTime), {
120
+ key: 1,
121
+ "model-value": currentDate.value,
122
+ color: __props.color,
123
+ locale: __props.locale,
124
+ "min-date": __props.minDate,
125
+ "max-date": __props.maxDate,
126
+ "has-date": __props.hasDate,
127
+ format: __props.format,
128
+ disabled: __props.disabled,
129
+ "disabled-hours": __props.disabledHours,
130
+ "minute-interval": __props.minuteInterval,
131
+ "formatter-options": __props.formatterOptions,
132
+ "is-hour12": __props.isHour12,
133
+ class: "m-date-picker-container__time",
134
+ "onUpdate:modelValue": saveLastTimeValue
135
+ }, null, 8, ["model-value", "color", "locale", "min-date", "max-date", "has-date", "format", "disabled", "disabled-hours", "minute-interval", "formatter-options", "is-hour12"])) : createCommentVNode("", !0)
136
+ ])
137
+ ], 2));
138
+ }
139
+ }), MazPickerContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c7326cea"]]);
29
140
  dayjs.extend(weekday);
30
141
  function getFormattedDate({
31
142
  value,
@@ -203,7 +314,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
203
314
  open: { type: Boolean, default: !1 },
204
315
  label: {},
205
316
  placeholder: {},
206
- inputDateFormat: { default: () => ({ dateStyle: "medium", timeStyle: "full" }) },
317
+ inputDateFormat: { default: () => ({ dateStyle: "medium", timeStyle: "short" }) },
207
318
  inputDateTransformer: {},
208
319
  locale: {},
209
320
  hideHeader: { type: Boolean, default: !1 },
@@ -243,7 +354,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
243
354
  setup(__props, { emit: __emit }) {
244
355
  const props = __props, emits = __emit, { t, locale } = useTranslations();
245
356
  dayjs.extend(customParseFormat), dayjs.extend(isBetween);
246
- const MazInput = defineAsyncComponent(() => import("../components/MazInput.js")), MazPopover = defineAsyncComponent(() => import("../components/MazPopover.js")), MazPickerContainer = defineAsyncComponent(() => import("./MazPickerContainer.NRaVsQzg.js")), instanceId = useInstanceUniqId({ componentName: "MazDatePicker", providedId: props.id }), currentValue = computed({
357
+ const MazInput = defineAsyncComponent(() => import("../components/MazInput.js")), instanceId = useInstanceUniqId({ componentName: "MazDatePicker", providedId: props.id }), currentValue = computed({
247
358
  get: () => typeof props.modelValue == "object" || props.range ? {
248
359
  start: typeof props.modelValue == "object" && props.modelValue.start ? dayjs(props.modelValue.start, props.format).format() : void 0,
249
360
  end: typeof props.modelValue == "object" && props.modelValue.end ? dayjs(props.modelValue.end, props.format).format() : void 0
@@ -285,7 +396,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
285
396
  () => props.format.includes("a") || props.format.includes("A") || props.format.includes("h")
286
397
  ), formatterOptions = computed(() => ({
287
398
  ...props.inputDateFormat,
288
- timeStyle: props.inputDateFormat.timeStyle ?? hasTime.value ? "short" : void 0,
399
+ timeStyle: hasTime.value ? props.inputDateFormat.timeStyle ?? "short" : void 0,
289
400
  hour12: hasTime.value ? props.inputDateFormat.hour12 ?? isHour12.value : void 0
290
401
  })), inputValue = computed(() => {
291
402
  if (!currentValue.value)
@@ -370,58 +481,58 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
370
481
  typeof value == "object" && (value.start || value.end) ? ((value.start && isValueDisabledWeekly({ value: value.start, disabledWeekly }) || value.start && isValueDisabledDate({ value: value.start, disabledDates }) || value.end && isValueDisabledWeekly({ value: value.end, disabledWeekly }) || value.end && isValueDisabledDate({ value: value.end, disabledDates })) && (currentValue.value = { start: void 0, end: void 0 }), (value.end && isValueDisabledWeekly({ value: value.end, disabledWeekly }) || value.end && isValueDisabledDate({ value: value.end, disabledDates })) && (currentValue.value = { start: value.start, end: void 0 })) : typeof value == "string" && value && (isValueDisabledWeekly({ value, disabledWeekly }) || isValueDisabledDate({ value, disabledDates })) && (currentValue.value = void 0);
371
482
  },
372
483
  { immediate: !0 }
373
- ), (_ctx, _cache) => _ctx.inline ? (openBlock(), createBlock(unref(MazPickerContainer), {
484
+ ), (_ctx, _cache) => __props.inline ? (openBlock(), createBlock(MazPickerContainer, {
374
485
  key: 1,
375
486
  id: containerUniqueId.value,
376
487
  modelValue: currentValue.value,
377
488
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => currentValue.value = $event),
378
489
  "calendar-date": calendarDate.value,
379
490
  "onUpdate:calendarDate": _cache[4] || (_cache[4] = ($event) => calendarDate.value = $event),
380
- color: _ctx.color,
491
+ color: __props.color,
381
492
  locale: localeModel.value,
382
493
  "has-date": hasDate.value,
383
494
  double: hasDouble.value,
384
495
  "has-time": hasTime.value,
385
496
  "formatter-options": formatterOptions.value,
386
- "hide-header": _ctx.hideHeader,
387
- "min-date": _ctx.minDate,
388
- format: _ctx.format,
497
+ "hide-header": __props.hideHeader,
498
+ "min-date": __props.minDate,
499
+ format: __props.format,
389
500
  "is-hour12": isHour12.value,
390
- "max-date": _ctx.maxDate,
391
- "disabled-weekly": _ctx.disabledWeekly,
392
- inline: _ctx.inline,
393
- "first-day-of-week": _ctx.firstDayOfWeek,
501
+ "max-date": __props.maxDate,
502
+ "disabled-weekly": __props.disabledWeekly,
503
+ inline: __props.inline,
504
+ "first-day-of-week": __props.firstDayOfWeek,
394
505
  shortcuts: internalShortcuts.value,
395
- shortcut: _ctx.shortcut,
396
- disabled: _ctx.disabled,
397
- "disabled-hours": _ctx.disabledHours,
398
- "disabled-dates": _ctx.disabledDates,
399
- "minute-interval": _ctx.minuteInterval,
506
+ shortcut: __props.shortcut,
507
+ disabled: __props.disabled,
508
+ "disabled-hours": __props.disabledHours,
509
+ "disabled-dates": __props.disabledDates,
510
+ "minute-interval": __props.minuteInterval,
400
511
  range: isRangeMode.value,
401
512
  onClose: closeCalendar
402
- }, null, 8, ["id", "modelValue", "calendar-date", "color", "locale", "has-date", "double", "has-time", "formatter-options", "hide-header", "min-date", "format", "is-hour12", "max-date", "disabled-weekly", "inline", "first-day-of-week", "shortcuts", "shortcut", "disabled", "disabled-hours", "disabled-dates", "minute-interval", "range"])) : (openBlock(), createBlock(unref(MazPopover), {
513
+ }, null, 8, ["id", "modelValue", "calendar-date", "color", "locale", "has-date", "double", "has-time", "formatter-options", "hide-header", "min-date", "format", "is-hour12", "max-date", "disabled-weekly", "inline", "first-day-of-week", "shortcuts", "shortcut", "disabled", "disabled-hours", "disabled-dates", "minute-interval", "range"])) : (openBlock(), createBlock(MazPopover, {
403
514
  key: 0,
404
515
  id: `${unref(instanceId)}-popover`,
405
516
  ref: "popover",
406
517
  modelValue: hasPickerOpen.value,
407
518
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => hasPickerOpen.value = $event),
408
519
  class: normalizeClass(["m-date-picker m-reset-css", [
409
- `m-date-picker--${_ctx.color}`,
520
+ `m-date-picker--${__props.color}`,
410
521
  {
411
522
  "--is-open": hasPickerOpen.value,
412
- "--is-disabled": _ctx.disabled
523
+ "--is-disabled": __props.disabled
413
524
  },
414
525
  props.class
415
526
  ]]),
416
- style: normalizeStyle(_ctx.style),
527
+ style: normalizeStyle(__props.style),
417
528
  offset: 0,
418
529
  trigger: "click",
419
- transition: _ctx.transition,
420
- disabled: _ctx.disabled,
421
- block: _ctx.block,
422
- position: _ctx.pickerPosition,
423
- "prefer-position": "bottom-start",
424
- "fallback-position": "top-start",
530
+ transition: __props.transition,
531
+ disabled: __props.disabled,
532
+ block: __props.block,
533
+ position: __props.pickerPosition,
534
+ "prefer-position": __props.pickerPreferPosition,
535
+ "fallback-position": __props.pickerFallbackPosition,
425
536
  "position-reference": `#${unref(instanceId)}-popover .m-input-wrapper`
426
537
  }, {
427
538
  trigger: withCtx(({ isOpen, close, open: openPicker, toggle: togglePicker }) => [
@@ -435,14 +546,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
435
546
  id: unref(instanceId),
436
547
  "model-value": inputValue.value,
437
548
  readonly: ""
438
- }, { ..._ctx.inputProps, ..._ctx.$attrs }, {
549
+ }, { ...__props.inputProps, ..._ctx.$attrs }, {
439
550
  block: "",
440
551
  autocomplete: "off",
441
552
  class: "m-date-picker__input",
442
- label: _ctx.label,
443
- disabled: _ctx.disabled,
444
- placeholder: _ctx.placeholder,
445
- color: _ctx.color
553
+ label: __props.label,
554
+ disabled: __props.disabled,
555
+ placeholder: __props.placeholder,
556
+ color: __props.color
446
557
  }), {
447
558
  "left-icon": withCtx(() => [
448
559
  hasDate.value ? (openBlock(), createBlock(unref(MazCalendar), {
@@ -458,45 +569,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
458
569
  ]),
459
570
  _: 1
460
571
  }, 16, ["id", "model-value", "label", "disabled", "placeholder", "color"]), [
461
- [vShow, !_ctx.customElementSelector && !_ctx.inline]
572
+ [vShow, !__props.customElementSelector && !__props.inline]
462
573
  ])
463
574
  ], !0)
464
575
  ]),
465
576
  default: withCtx(() => [
466
- createVNode(unref(MazPickerContainer), {
577
+ createVNode(MazPickerContainer, {
467
578
  id: containerUniqueId.value,
468
579
  modelValue: currentValue.value,
469
580
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentValue.value = $event),
470
581
  "calendar-date": calendarDate.value,
471
582
  "onUpdate:calendarDate": _cache[1] || (_cache[1] = ($event) => calendarDate.value = $event),
472
- color: _ctx.color,
583
+ color: __props.color,
473
584
  locale: localeModel.value,
474
585
  "has-date": hasDate.value,
475
586
  double: hasDouble.value,
476
587
  "has-time": hasTime.value,
477
588
  "formatter-options": formatterOptions.value,
478
- "hide-header": _ctx.hideHeader,
479
- "min-date": _ctx.minDate,
480
- format: _ctx.format,
589
+ "hide-header": __props.hideHeader,
590
+ "min-date": __props.minDate,
591
+ format: __props.format,
481
592
  "is-hour12": isHour12.value,
482
- "max-date": _ctx.maxDate,
483
- "disabled-weekly": _ctx.disabledWeekly,
484
- inline: _ctx.inline,
485
- "first-day-of-week": _ctx.firstDayOfWeek,
593
+ "max-date": __props.maxDate,
594
+ "disabled-weekly": __props.disabledWeekly,
595
+ inline: __props.inline,
596
+ "first-day-of-week": __props.firstDayOfWeek,
486
597
  shortcuts: internalShortcuts.value,
487
- shortcut: _ctx.shortcut,
488
- disabled: _ctx.disabled,
489
- "disabled-hours": _ctx.disabledHours,
490
- "disabled-dates": _ctx.disabledDates,
491
- "minute-interval": _ctx.minuteInterval,
598
+ shortcut: __props.shortcut,
599
+ disabled: __props.disabled,
600
+ "disabled-hours": __props.disabledHours,
601
+ "disabled-dates": __props.disabledDates,
602
+ "minute-interval": __props.minuteInterval,
492
603
  range: isRangeMode.value,
493
604
  onClose: closeCalendar
494
605
  }, null, 8, ["id", "modelValue", "calendar-date", "color", "locale", "has-date", "double", "has-time", "formatter-options", "hide-header", "min-date", "format", "is-hour12", "max-date", "disabled-weekly", "inline", "first-day-of-week", "shortcuts", "shortcut", "disabled", "disabled-hours", "disabled-dates", "minute-interval", "range"])
495
606
  ]),
496
607
  _: 3
497
- }, 8, ["id", "modelValue", "style", "class", "transition", "disabled", "block", "position", "position-reference"]));
608
+ }, 8, ["id", "modelValue", "style", "class", "transition", "disabled", "block", "position", "prefer-position", "fallback-position", "position-reference"]));
498
609
  }
499
- }), MazDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d8032f3"]]);
610
+ }), MazDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-685a5a0f"]]);
500
611
  export {
501
612
  MazDatePicker as M,
502
613
  findNearestNumberInList as a,
@@ -147,15 +147,15 @@ const _hoisted_1 = { class: "maz-flex maz-items-center maz-gap-2" }, _sfc_main =
147
147
  ref_key: "dialog",
148
148
  ref: dialog
149
149
  }, { ..._ctx.$attrs, ...dialogProps }, {
150
- "close-on-escape": _ctx.closeOnEscape,
151
- "model-value": currentModal.value?.isActive ?? _ctx.modelValue ?? !1,
150
+ "close-on-escape": __props.closeOnEscape,
151
+ "model-value": currentModal.value?.isActive ?? __props.modelValue ?? !1,
152
152
  onClose: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("close", $event)),
153
153
  onOpen: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("open", $event)),
154
154
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(reject)(currentModal.value))
155
155
  }), {
156
156
  title: withCtx(() => [
157
157
  renderSlot(_ctx.$slots, "title", {}, () => [
158
- createTextVNode(toDisplayString(_ctx.title || currentData.value?.title), 1)
158
+ createTextVNode(toDisplayString(__props.title || currentData.value?.title), 1)
159
159
  ])
160
160
  ]),
161
161
  default: withCtx(() => [
@@ -163,7 +163,7 @@ const _hoisted_1 = { class: "maz-flex maz-items-center maz-gap-2" }, _sfc_main =
163
163
  accept: (reason) => unref(accept)(currentModal.value, reason),
164
164
  reject: (reason) => unref(reject)(currentModal.value, reason)
165
165
  }, () => [
166
- createTextVNode(toDisplayString(_ctx.message || currentData.value?.message), 1)
166
+ createTextVNode(toDisplayString(__props.message || currentData.value?.message), 1)
167
167
  ])
168
168
  ]),
169
169
  footer: withCtx(() => [
@@ -16,7 +16,6 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
16
16
  trigger: { default: "adaptive" },
17
17
  color: { default: "transparent" },
18
18
  position: { default: "auto" },
19
- preferPosition: { default: "bottom-start" },
20
19
  closeOnClick: { type: Boolean, default: !1 },
21
20
  disabled: { type: Boolean, default: !1 },
22
21
  chevron: { type: Boolean, default: !0 },
@@ -28,6 +27,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
28
27
  dropdownIconAnimation: { type: Boolean, default: !0 },
29
28
  size: { default: "md" },
30
29
  transition: { default: "scale-pop" },
30
+ preferPosition: { default: "bottom-start" },
31
31
  fallbackPosition: {},
32
32
  ariaLabel: {},
33
33
  announceChanges: { type: Boolean },
@@ -92,36 +92,36 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
92
92
  isClient() && (value ? document.addEventListener("keydown", keydownHandler) : document.removeEventListener("keydown", keydownHandler));
93
93
  }
94
94
  ), (_ctx, _cache) => (openBlock(), createBlock(MazPopover, {
95
- trigger: _ctx.trigger,
95
+ trigger: __props.trigger,
96
96
  "model-value": isOpen.value,
97
97
  class: normalizeClass(["m-dropdown m-reset-css", [__props.class]]),
98
98
  role: "menu",
99
99
  style: normalizeStyle(__props.style),
100
- "prefer-position": _ctx.preferPosition,
100
+ "prefer-position": __props.preferPosition,
101
101
  color: "background",
102
- position: _ctx.position,
103
- transition: _ctx.transition,
104
- disabled: _ctx.disabled,
105
- offset: _ctx.offset,
106
- delay: _ctx.delay,
107
- "fallback-position": _ctx.fallbackPosition,
108
- persistent: _ctx.persistent,
109
- "hover-delay": _ctx.hoverDelay,
110
- "panel-class": _ctx.panelClass,
111
- "panel-style": _ctx.panelStyle,
112
- "close-on-escape": _ctx.closeOnEscape,
113
- "close-on-click": _ctx.closeOnClick,
114
- "teleport-to": _ctx.teleportTo,
115
- "trap-focus": _ctx.trapFocus,
116
- "overlay-class": _ctx.overlayClass,
117
- "close-on-click-outside": _ctx.closeOnClickOutside,
118
- "aria-describedby": _ctx.ariaDescribedby,
119
- "announce-changes": _ctx.announceChanges,
120
- "aria-label": _ctx.ariaLabel,
121
- "aria-labelledby": _ctx.ariaLabelledby,
122
- "position-reference": _ctx.positionReference,
123
- "keep-open-on-hover": _ctx.trigger === "hover" || _ctx.trigger === "adaptive",
124
- block: _ctx.block,
102
+ position: __props.position,
103
+ transition: __props.transition,
104
+ disabled: __props.disabled,
105
+ offset: __props.offset,
106
+ delay: __props.delay,
107
+ "fallback-position": __props.fallbackPosition,
108
+ persistent: __props.persistent,
109
+ "hover-delay": __props.hoverDelay,
110
+ "panel-class": __props.panelClass,
111
+ "panel-style": __props.panelStyle,
112
+ "close-on-escape": __props.closeOnEscape,
113
+ "close-on-click": __props.closeOnClick,
114
+ "teleport-to": __props.teleportTo,
115
+ "trap-focus": __props.trapFocus,
116
+ "overlay-class": __props.overlayClass,
117
+ "close-on-click-outside": __props.closeOnClickOutside,
118
+ "aria-describedby": __props.ariaDescribedby,
119
+ "announce-changes": __props.announceChanges,
120
+ "aria-label": __props.ariaLabel,
121
+ "aria-labelledby": __props.ariaLabelledby,
122
+ "position-reference": __props.positionReference,
123
+ "keep-open-on-hover": __props.trigger === "hover" || __props.trigger === "adaptive",
124
+ block: __props.block,
125
125
  "onUpdate:modelValue": setDropdown
126
126
  }, {
127
127
  trigger: withCtx(({ toggle, close, open, trigger: triggerType }) => [
@@ -137,7 +137,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
137
137
  class: "maz-sr-only"
138
138
  }, [
139
139
  renderSlot(_ctx.$slots, "screen-reader-description", {}, () => [
140
- createTextVNode(toDisplayString(_ctx.screenReaderDescription || unref(t)("dropdown.screenReaderDescription")), 1)
140
+ createTextVNode(toDisplayString(__props.screenReaderDescription || unref(t)("dropdown.screenReaderDescription")), 1)
141
141
  ])
142
142
  ], 8, _hoisted_2),
143
143
  renderSlot(_ctx.$slots, "trigger", {
@@ -148,11 +148,11 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
148
148
  }, () => [
149
149
  createVNode(unref(MazBtn), mergeProps({
150
150
  "aria-labelledby": `${unref(instanceId)}-labelspan`,
151
- color: _ctx.color,
152
- disabled: _ctx.disabled
151
+ color: __props.color,
152
+ disabled: __props.disabled
153
153
  }, _ctx.$attrs, {
154
- block: _ctx.block,
155
- size: _ctx.size,
154
+ block: __props.block,
155
+ size: __props.size,
156
156
  onKeydown: [
157
157
  withKeys(withModifiers(toggle, ["stop", "prevent"]), ["enter"]),
158
158
  withKeys(withModifiers(toggle, ["stop", "prevent"]), ["space"])
@@ -164,7 +164,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
164
164
  ]),
165
165
  _: 2
166
166
  }, [
167
- _ctx.chevron || _ctx.$slots["dropdown-icon"] ? {
167
+ __props.chevron || _ctx.$slots["dropdown-icon"] ? {
168
168
  name: "right-icon",
169
169
  fn: withCtx(() => [
170
170
  renderSlot(_ctx.$slots, "dropdown-icon", {
@@ -173,16 +173,16 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
173
173
  close,
174
174
  open
175
175
  }, () => [
176
- typeof _ctx.dropdownIcon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
176
+ typeof __props.dropdownIcon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
177
177
  key: 0,
178
- name: _ctx.dropdownIcon,
179
- class: normalizeClass([{ "--open": isOpen.value && _ctx.dropdownIconAnimation }, iconClassSize.value])
180
- }, null, 8, ["name", "class"])) : _ctx.dropdownIcon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.dropdownIcon), {
178
+ name: __props.dropdownIcon,
179
+ class: normalizeClass([{ "--open": isOpen.value && __props.dropdownIconAnimation }, iconClassSize.value])
180
+ }, null, 8, ["name", "class"])) : __props.dropdownIcon ? (openBlock(), createBlock(resolveDynamicComponent(__props.dropdownIcon), {
181
181
  key: 1,
182
- class: normalizeClass([[{ "--open": isOpen.value && _ctx.dropdownIconAnimation }, iconClassSize.value], "m-dropdown__icon"])
182
+ class: normalizeClass([[{ "--open": isOpen.value && __props.dropdownIconAnimation }, iconClassSize.value], "m-dropdown__icon"])
183
183
  }, null, 8, ["class"])) : (openBlock(), createBlock(unref(MazChevronDown), {
184
184
  key: 2,
185
- class: normalizeClass([[{ "--open": isOpen.value && _ctx.dropdownIconAnimation }, iconClassSize.value], "m-dropdown__icon"])
185
+ class: normalizeClass([[{ "--open": isOpen.value && __props.dropdownIconAnimation }, iconClassSize.value], "m-dropdown__icon"])
186
186
  }, null, 8, ["class"]))
187
187
  ])
188
188
  ]),
@@ -197,18 +197,18 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
197
197
  id: `${unref(instanceId)}-menu`,
198
198
  role: "menu",
199
199
  "aria-label": "Menu",
200
- class: normalizeClass(["m-dropdown__menu", _ctx.menuPanelClass]),
200
+ class: normalizeClass(["m-dropdown__menu", __props.menuPanelClass]),
201
201
  tabindex: "-1",
202
- style: normalizeStyle(_ctx.menuPanelStyle)
202
+ style: normalizeStyle(__props.menuPanelStyle)
203
203
  }, [
204
204
  renderSlot(_ctx.$slots, "dropdown", {
205
- items: _ctx.items,
205
+ items: __props.items,
206
206
  open,
207
207
  close,
208
208
  isOpen: isOpen.value,
209
209
  toggle
210
210
  }, () => [
211
- (openBlock(!0), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => renderSlot(_ctx.$slots, "menuitem", {
211
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => renderSlot(_ctx.$slots, "menuitem", {
212
212
  key: index,
213
213
  item,
214
214
  open,
@@ -62,15 +62,15 @@ import '../assets/MazInputNumber.C3rw4i2e.css';const _sfc_main = /* @__PURE__ */
62
62
  }
63
63
  }
64
64
  return (_ctx, _cache) => (openBlock(), createElementBlock("div", {
65
- class: normalizeClass(["m-input-number m-reset-css", [`m-input-number--${_ctx.size}`, props.class, { "--block": _ctx.block }]]),
66
- style: normalizeStyle(_ctx.style)
65
+ class: normalizeClass(["m-input-number m-reset-css", [`m-input-number--${__props.size}`, props.class, { "--block": __props.block }]]),
66
+ style: normalizeStyle(__props.style)
67
67
  }, [
68
- _ctx.hideButtons ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazBtn), {
68
+ __props.hideButtons ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazBtn), {
69
69
  key: 0,
70
70
  color: "transparent",
71
- size: _ctx.size,
71
+ size: __props.size,
72
72
  class: "m-input-number__button m-input-number__decrement-button",
73
- disabled: decrementDisabled.value || _ctx.disabled,
73
+ disabled: decrementDisabled.value || __props.disabled,
74
74
  onClick: decrement
75
75
  }, {
76
76
  default: withCtx(() => [
@@ -81,18 +81,18 @@ import '../assets/MazInputNumber.C3rw4i2e.css';const _sfc_main = /* @__PURE__ */
81
81
  createVNode(MazInput, mergeProps({
82
82
  "model-value": currentValue.value,
83
83
  type: "number",
84
- class: ["m-input-number__input", { "--no-buttons": _ctx.hideButtons, "--text-center": _ctx.textCenter }]
85
- }, { ..._ctx.$attrs, ..._ctx.inputProps }, {
86
- disabled: _ctx.disabled,
87
- min: _ctx.min,
88
- max: _ctx.max,
89
- step: _ctx.step,
90
- error: _ctx.error,
91
- success: _ctx.success,
92
- warning: _ctx.warning,
93
- hint: _ctx.hint,
94
- inputmode: _ctx.inputmode,
95
- size: _ctx.size,
84
+ class: ["m-input-number__input", { "--no-buttons": __props.hideButtons, "--text-center": __props.textCenter }]
85
+ }, { ..._ctx.$attrs, ...__props.inputProps }, {
86
+ disabled: __props.disabled,
87
+ min: __props.min,
88
+ max: __props.max,
89
+ step: __props.step,
90
+ error: __props.error,
91
+ success: __props.success,
92
+ warning: __props.warning,
93
+ hint: __props.hint,
94
+ inputmode: __props.inputmode,
95
+ size: __props.size,
96
96
  block: "",
97
97
  onKeydown: [
98
98
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
@@ -104,12 +104,12 @@ import '../assets/MazInputNumber.C3rw4i2e.css';const _sfc_main = /* @__PURE__ */
104
104
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("click", $event)),
105
105
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(emitDebounced)($event))
106
106
  }), null, 16, ["model-value", "class", "disabled", "min", "max", "step", "error", "success", "warning", "hint", "inputmode", "size", "onKeydown"]),
107
- _ctx.hideButtons ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazBtn), {
107
+ __props.hideButtons ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazBtn), {
108
108
  key: 1,
109
109
  color: "transparent",
110
- size: _ctx.size,
110
+ size: __props.size,
111
111
  class: "m-input-number__button m-input-number__increment-button",
112
- disabled: incrementDisabled.value || _ctx.disabled,
112
+ disabled: incrementDisabled.value || __props.disabled,
113
113
  onClick: increment
114
114
  }, {
115
115
  default: withCtx(() => [