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
@@ -64,8 +64,8 @@ const _hoisted_1 = {
64
64
  emits: ["update:model-value", "update:search-query", "update:page", "update:page-size"],
65
65
  setup(__props, { emit: __emit }) {
66
66
  useCssVars((_ctx) => ({
67
- "4b21767b": _ctx.tableLayout,
68
- "5a9d2380": _ctx.captionSide
67
+ v4b21767b: _ctx.tableLayout,
68
+ v5a9d2380: _ctx.captionSide
69
69
  }));
70
70
  const props = __props, emits = __emit, MazBtn = defineAsyncComponent(() => import("../components/MazBtn.js")), MazCheckbox = defineAsyncComponent(() => import("../components/MazCheckbox.js")), MazInput = defineAsyncComponent(() => import("../components/MazInput.js")), MazLoadingBar = defineAsyncComponent(() => import("../components/MazLoadingBar.js")), MazSelect = defineAsyncComponent(() => import("../components/MazSelect.js")), MazTableCell = defineAsyncComponent(() => import("../components/MazTableCell.js")), MazTableRowComponent = defineAsyncComponent(() => import("../components/MazTableRow.js")), MazTableTitle = defineAsyncComponent(() => import("../components/MazTableTitle.js")), { t } = useTranslations(), messages = computed(() => ({
71
71
  noResults: props.translations?.noResults ?? t("table.noResults"),
@@ -233,29 +233,29 @@ const _hoisted_1 = {
233
233
  class: normalizeClass(["m-table m-reset-css", { "--has-header": hasHeader.value }])
234
234
  }, [
235
235
  hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
236
- _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
236
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
237
237
  renderSlot(_ctx.$slots, "title", {}, () => [
238
- createElementVNode("span", _hoisted_3, toDisplayString(_ctx.title), 1)
238
+ createElementVNode("span", _hoisted_3, toDisplayString(__props.title), 1)
239
239
  ], !0)
240
240
  ])) : createCommentVNode("", !0),
241
- _ctx.search ? (openBlock(), createElementBlock("div", _hoisted_4, [
242
- _ctx.hideSearchBy ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazSelect), {
241
+ __props.search ? (openBlock(), createElementBlock("div", _hoisted_4, [
242
+ __props.hideSearchBy ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazSelect), {
243
243
  key: 0,
244
244
  modelValue: searchByKey.value,
245
245
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchByKey.value = $event),
246
- "rounded-size": _ctx.roundedSize,
247
- color: _ctx.color,
246
+ "rounded-size": __props.roundedSize,
247
+ color: __props.color,
248
248
  style: { width: "8rem" },
249
249
  placeholder: messages.value.searchByInput.placeholder,
250
- size: _ctx.inputSize ?? unref(size),
250
+ size: __props.inputSize ?? unref(size),
251
251
  options: searchByOptions.value
252
252
  }, null, 8, ["modelValue", "rounded-size", "color", "placeholder", "size", "options"])),
253
253
  createVNode(unref(MazInput), {
254
254
  modelValue: searchQueryModel.value,
255
255
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchQueryModel.value = $event),
256
- size: _ctx.inputSize ?? unref(size),
257
- "rounded-size": _ctx.roundedSize,
258
- color: _ctx.color,
256
+ size: __props.inputSize ?? unref(size),
257
+ "rounded-size": __props.roundedSize,
258
+ color: __props.color,
259
259
  debounce: 300,
260
260
  placeholder: messages.value.searchInput.placeholder,
261
261
  "left-icon": unref(MazMagnifyingGlass)
@@ -263,17 +263,17 @@ const _hoisted_1 = {
263
263
  ])) : createCommentVNode("", !0)
264
264
  ])) : createCommentVNode("", !0),
265
265
  createElementVNode("div", {
266
- class: normalizeClass(["m-table-wrapper", [`--rounded-${_ctx.roundedSize}`, {
267
- "--scrollable": _ctx.scrollable
266
+ class: normalizeClass(["m-table-wrapper", [`--rounded-${__props.roundedSize}`, {
267
+ "--scrollable": __props.scrollable
268
268
  }]])
269
269
  }, [
270
270
  createElementVNode("table", {
271
- class: normalizeClass([{ "--elevation": _ctx.elevation, "--has-layout": _ctx.tableLayout }, _ctx.tableClass]),
272
- style: normalizeStyle(_ctx.tableStyle)
271
+ class: normalizeClass([{ "--elevation": __props.elevation, "--has-layout": __props.tableLayout }, __props.tableClass]),
272
+ style: normalizeStyle(__props.tableStyle)
273
273
  }, [
274
- _ctx.caption || _ctx.$slots.caption ? (openBlock(), createElementBlock("caption", _hoisted_5, [
274
+ __props.caption || _ctx.$slots.caption ? (openBlock(), createElementBlock("caption", _hoisted_5, [
275
275
  renderSlot(_ctx.$slots, "caption", {}, () => [
276
- createTextVNode(toDisplayString(_ctx.caption), 1)
276
+ createTextVNode(toDisplayString(__props.caption), 1)
277
277
  ], !0)
278
278
  ])) : createCommentVNode("", !0),
279
279
  headersNormalized.value ? (openBlock(), createElementBlock("thead", _hoisted_6, [
@@ -303,11 +303,11 @@ const _hoisted_1 = {
303
303
  headers: header.thHeaders,
304
304
  style: normalizeStyle({ width: header.width, textAlign: header.align }),
305
305
  class: normalizeClass(["maz-group", [
306
- { "--hidden": header.hidden, "--sortable": header.sortable ?? _ctx.sortable },
306
+ { "--hidden": header.hidden, "--sortable": header.sortable ?? __props.sortable },
307
307
  header.classes,
308
308
  `--${unref(size)}`
309
309
  ]]),
310
- onClick: ($event) => (header.sortable ?? _ctx.sortable) && sortColumn(columnIndex)
310
+ onClick: ($event) => (header.sortable ?? __props.sortable) && sortColumn(columnIndex)
311
311
  }, {
312
312
  default: withCtx(() => [
313
313
  createElementVNode("span", {
@@ -323,7 +323,7 @@ const _hoisted_1 = {
323
323
  }, () => [
324
324
  createTextVNode(toDisplayString(header.label), 1)
325
325
  ], !0),
326
- header.sortable ?? _ctx.sortable ? (openBlock(), createElementBlock("div", _hoisted_7, [
326
+ header.sortable ?? __props.sortable ? (openBlock(), createElementBlock("div", _hoisted_7, [
327
327
  createVNode(unref(MazArrowUp), {
328
328
  class: normalizeClass(["m-table-sort-icon maz-hidden group-hover:maz-block", {
329
329
  "--sorted": columnIndex === sortedColumnIndex.value,
@@ -354,9 +354,9 @@ const _hoisted_1 = {
354
354
  })
355
355
  ], !0)
356
356
  ])) : createCommentVNode("", !0),
357
- _ctx.loading ? (openBlock(), createBlock(unref(MazLoadingBar), {
357
+ __props.loading ? (openBlock(), createBlock(unref(MazLoadingBar), {
358
358
  key: 2,
359
- color: _ctx.color,
359
+ color: __props.color,
360
360
  class: "!maz-absolute"
361
361
  }, null, 8, ["color"])) : createCommentVNode("", !0),
362
362
  createElementVNode("tbody", {
@@ -441,16 +441,16 @@ const _hoisted_1 = {
441
441
  ], 2),
442
442
  hasFooter.value ? (openBlock(), createElementBlock("div", _hoisted_9, [
443
443
  _cache[4] || (_cache[4] = createElementVNode("div", { class: "m-table-spacer" }, null, -1)),
444
- _ctx.pagination ? (openBlock(), createElementBlock("div", _hoisted_10, [
444
+ __props.pagination ? (openBlock(), createElementBlock("div", _hoisted_10, [
445
445
  createElementVNode("div", _hoisted_11, [
446
446
  createElementVNode("span", _hoisted_12, toDisplayString(messages.value.pagination.rowsPerPage), 1),
447
447
  createVNode(unref(MazSelect), {
448
448
  modelValue: pageSizeModel.value,
449
449
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => pageSizeModel.value = $event),
450
450
  options: pageSizeOptions.value,
451
- "rounded-size": _ctx.roundedSize,
452
- size: _ctx.inputSize ?? unref(size),
453
- color: _ctx.color,
451
+ "rounded-size": __props.roundedSize,
452
+ size: __props.inputSize ?? unref(size),
453
+ color: __props.color,
454
454
  "list-position": "top",
455
455
  style: { width: "5rem" }
456
456
  }, null, 8, ["modelValue", "options", "rounded-size", "size", "color"])
@@ -459,9 +459,9 @@ const _hoisted_1 = {
459
459
  createElementVNode("div", _hoisted_14, [
460
460
  createVNode(unref(MazBtn), {
461
461
  disabled: currentPageModel.value === 1,
462
- size: _ctx.inputSize ?? unref(size),
462
+ size: __props.inputSize ?? unref(size),
463
463
  color: "transparent",
464
- "rounded-size": _ctx.roundedSize,
464
+ "rounded-size": __props.roundedSize,
465
465
  onClick: firstPage
466
466
  }, {
467
467
  default: withCtx(() => [
@@ -471,9 +471,9 @@ const _hoisted_1 = {
471
471
  }, 8, ["disabled", "size", "rounded-size"]),
472
472
  createVNode(unref(MazBtn), {
473
473
  disabled: currentPageModel.value === 1,
474
- size: _ctx.inputSize ?? unref(size),
474
+ size: __props.inputSize ?? unref(size),
475
475
  color: "transparent",
476
- "rounded-size": _ctx.roundedSize,
476
+ "rounded-size": __props.roundedSize,
477
477
  onClick: previousPage
478
478
  }, {
479
479
  default: withCtx(() => [
@@ -483,9 +483,9 @@ const _hoisted_1 = {
483
483
  }, 8, ["disabled", "size", "rounded-size"]),
484
484
  createVNode(unref(MazBtn), {
485
485
  disabled: currentPageModel.value === totalPagesInternal.value,
486
- size: _ctx.inputSize ?? unref(size),
486
+ size: __props.inputSize ?? unref(size),
487
487
  color: "transparent",
488
- "rounded-size": _ctx.roundedSize,
488
+ "rounded-size": __props.roundedSize,
489
489
  onClick: nextPage
490
490
  }, {
491
491
  default: withCtx(() => [
@@ -495,9 +495,9 @@ const _hoisted_1 = {
495
495
  }, 8, ["disabled", "size", "rounded-size"]),
496
496
  createVNode(unref(MazBtn), {
497
497
  disabled: currentPageModel.value === totalPagesInternal.value,
498
- size: _ctx.inputSize ?? unref(size),
498
+ size: __props.inputSize ?? unref(size),
499
499
  color: "transparent",
500
- "rounded-size": _ctx.roundedSize,
500
+ "rounded-size": __props.roundedSize,
501
501
  onClick: lastPage
502
502
  }, {
503
503
  default: withCtx(() => [
@@ -2,9 +2,9 @@ import { defineComponent, mergeModels, useModel, ref, computed, onMounted, useTe
2
2
  import { useTranslations } from "@maz-ui/translations";
3
3
  import { useInjectStrict } from "../composables/useInjectStrict.js";
4
4
  import MazInput from "../components/MazInput.js";
5
- import { u as useLibphonenumber, a as useMazInputPhoneNumber } from "./MazInputPhoneNumber.DG6oYKQd.js";
5
+ import { u as useLibphonenumber, a as useMazInputPhoneNumber } from "./MazInputPhoneNumber.CbNnLvU_.js";
6
6
  import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
7
- import '../assets/PhoneInput.DkOXlrI9.css';const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ import '../assets/PhoneInput.C5t00d9H.css';const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "PhoneInput",
9
9
  props: /* @__PURE__ */ mergeModels({
10
10
  style: {},
@@ -84,23 +84,23 @@ import '../assets/PhoneInput.DkOXlrI9.css';const _sfc_main = /* @__PURE__ */ def
84
84
  focus: () => {
85
85
  inputRef.value?.$el.querySelector("input")?.focus();
86
86
  }
87
- }), (_ctx, _cache) => (openBlock(), createBlock(MazInput, mergeProps({ id: _ctx.id }, { ..._ctx.$attrs, ...inputProps.value }, {
87
+ }), (_ctx, _cache) => (openBlock(), createBlock(MazInput, mergeProps({ id: __props.id }, { ..._ctx.$attrs, ...inputProps.value }, {
88
88
  ref: "input",
89
89
  modelValue: displayedPhoneNumber.value,
90
90
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => displayedPhoneNumber.value = $event),
91
- disabled: _ctx.disabled,
92
- color: _ctx.color,
93
- error: _ctx.error,
94
- size: _ctx.size,
95
- success: _ctx.success,
91
+ disabled: __props.disabled,
92
+ color: __props.color,
93
+ error: __props.error,
94
+ size: __props.size,
95
+ success: __props.success,
96
96
  block: "",
97
- name: _ctx.name,
98
- inputmode: _ctx.inputmode,
99
- autocomplete: _ctx.autocomplete,
97
+ name: __props.name,
98
+ inputmode: __props.inputmode,
99
+ autocomplete: __props.autocomplete,
100
100
  class: ["m-phone-input", [
101
101
  {
102
- "--border-radius": _ctx.hasRadius,
103
- "--error": _ctx.error || !unref(results).isValid,
102
+ "--border-radius": __props.hasRadius,
103
+ "--error": __props.error || !unref(results).isValid,
104
104
  "--focused": inputFocused.value
105
105
  }
106
106
  ]],
@@ -108,7 +108,7 @@ import '../assets/PhoneInput.DkOXlrI9.css';const _sfc_main = /* @__PURE__ */ def
108
108
  onBlur: _cache[2] || (_cache[2] = ($event) => inputFocused.value = !1)
109
109
  }), null, 16, ["id", "modelValue", "disabled", "color", "error", "size", "success", "name", "inputmode", "autocomplete", "class"]));
110
110
  }
111
- }), PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3777a81d"]]);
111
+ }), PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3eec1d92"]]);
112
112
  export {
113
113
  PhoneInput as default
114
114
  };
@@ -223,7 +223,7 @@ import '../assets/fullscreen-img.BGt9mY2g.css';const _hoisted_1 = ["onKeypress"]
223
223
  tabindex: "0",
224
224
  class: normalizeClass([imageZoomClasses.value]),
225
225
  onLoad: onImageLoaded,
226
- onClick: _cache[2] || (_cache[2] = withModifiers(($event) => _ctx.zoom && toggleZoom(), ["stop"]))
226
+ onClick: _cache[2] || (_cache[2] = withModifiers(($event) => __props.zoom && toggleZoom(), ["stop"]))
227
227
  }, null, 42, _hoisted_3),
228
228
  withDirectives(createVNode(MazSpinner, { class: "m-fullscreen-img-loader" }, null, 512), [
229
229
  [vShow, showLoader.value]
@@ -61,7 +61,7 @@ import '../assets/MazAccordion.DUQCf8vy.css';const _hoisted_1 = {
61
61
  }, {
62
62
  default: withCtx(() => [
63
63
  createElementVNode("div", {
64
- class: normalizeClass(["m-accordion__content", _ctx.contentClass])
64
+ class: normalizeClass(["m-accordion__content", __props.contentClass])
65
65
  }, [
66
66
  renderSlot(_ctx.$slots, "content", {
67
67
  isOpen: isStepOpen(step)
@@ -55,19 +55,19 @@ import '../assets/MazAnimatedCounter.LK7oyUrl.css';const _hoisted_1 = { class: "
55
55
  }, [
56
56
  createElementVNode("span", _hoisted_1, [
57
57
  renderSlot(_ctx.$slots, "prefix", {}, () => [
58
- createTextVNode(toDisplayString(_ctx.prefix), 1)
58
+ createTextVNode(toDisplayString(__props.prefix), 1)
59
59
  ], !0),
60
- createTextVNode(toDisplayString(_ctx.count), 1),
60
+ createTextVNode(toDisplayString(__props.count), 1),
61
61
  renderSlot(_ctx.$slots, "suffix", {}, () => [
62
- createTextVNode(toDisplayString(_ctx.suffix), 1)
62
+ createTextVNode(toDisplayString(__props.suffix), 1)
63
63
  ], !0)
64
64
  ]),
65
65
  renderSlot(_ctx.$slots, "prefix", {}, () => [
66
- createTextVNode(toDisplayString(_ctx.prefix), 1)
66
+ createTextVNode(toDisplayString(__props.prefix), 1)
67
67
  ], !0),
68
68
  createTextVNode(toDisplayString(currentCount.value), 1),
69
69
  renderSlot(_ctx.$slots, "suffix", {}, () => [
70
- createTextVNode(toDisplayString(_ctx.suffix), 1)
70
+ createTextVNode(toDisplayString(__props.suffix), 1)
71
71
  ], !0)
72
72
  ], 512));
73
73
  }
@@ -1,6 +1,6 @@
1
- import { defineComponent, computed, ref, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, renderSlot } from "vue";
1
+ import { defineComponent, computed, ref, onMounted, nextTick, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, renderSlot } from "vue";
2
2
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
3
- import '../assets/MazAnimatedElement.B4mV3dWm.css';const _sfc_main = /* @__PURE__ */ defineComponent({
3
+ import '../assets/MazAnimatedElement.DnsacpuB.css';const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "MazAnimatedElement",
5
5
  props: {
6
6
  direction: { default: "up" },
@@ -9,25 +9,36 @@ import '../assets/MazAnimatedElement.B4mV3dWm.css';const _sfc_main = /* @__PURE_
9
9
  once: { type: Boolean, default: !0 }
10
10
  },
11
11
  setup(__props) {
12
- const animatedClass = computed(() => `animate-slide-${__props.direction}-blur`), element = ref();
13
- let observer = null;
12
+ const animatedClass = computed(() => `animate-slide-${__props.direction}-blur`), element = ref(), isAnimated = ref(!1);
13
+ let observer = null, animationFrameId = null;
14
+ function triggerAnimation() {
15
+ animationFrameId = requestAnimationFrame(() => {
16
+ element.value && (element.value.classList.remove("--invisible"), element.value.classList.add(animatedClass.value), isAnimated.value = !0);
17
+ });
18
+ }
19
+ function resetAnimation() {
20
+ element.value && (element.value.classList.add("--invisible"), element.value.classList.remove(animatedClass.value), isAnimated.value = !1);
21
+ }
14
22
  return onMounted(() => {
15
23
  observer = new IntersectionObserver(([entry]) => {
16
- entry.isIntersecting ? (entry.target.classList.remove("--invisible"), entry.target.classList.add(animatedClass.value), __props.once === !0 && observer?.unobserve(entry.target)) : __props.once === !1 && (entry.target.classList.add("--invisible"), entry.target.classList.remove(animatedClass.value));
24
+ entry.isIntersecting && !isAnimated.value ? (nextTick(() => {
25
+ setTimeout(triggerAnimation, __props.delay);
26
+ }), __props.once === !0 && observer?.unobserve(entry.target)) : __props.once === !1 && !entry.isIntersecting && resetAnimation();
17
27
  }), element.value && observer.observe(element.value);
18
- }), onBeforeUnmount(() => observer?.disconnect()), (_ctx, _cache) => (openBlock(), createElementBlock("div", {
28
+ }), onBeforeUnmount(() => {
29
+ observer?.disconnect(), animationFrameId && cancelAnimationFrame(animationFrameId);
30
+ }), (_ctx, _cache) => (openBlock(), createElementBlock("div", {
19
31
  ref_key: "element",
20
32
  ref: element,
21
33
  class: "m-animated-element m-reset-css --invisible",
22
34
  style: normalizeStyle({
23
- animationDuration: `${_ctx.duration}ms`,
24
- animationDelay: `${_ctx.delay}ms`
35
+ animationDuration: `${__props.duration}ms`
25
36
  })
26
37
  }, [
27
38
  renderSlot(_ctx.$slots, "default", {}, void 0, !0)
28
39
  ], 4));
29
40
  }
30
- }), MazAnimatedElement = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c463d914"]]);
41
+ }), MazAnimatedElement = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5f500f94"]]);
31
42
  export {
32
43
  MazAnimatedElement as default
33
44
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent, computed, ref, onMounted, onBeforeUnmount, createElementBlock, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createCommentVNode, Fragment, renderList, createElementVNode, normalizeStyle, normalizeClass, toDisplayString, createTextVNode } from "vue";
1
+ import { defineComponent, computed, ref, onMounted, nextTick, onBeforeUnmount, createElementBlock, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createCommentVNode, Fragment, renderList, createElementVNode, normalizeStyle, normalizeClass, toDisplayString, createTextVNode } from "vue";
2
2
  import { c as checkAvailability } from "../chunks/checkAvailability.aTpZidex.js";
3
3
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
4
- import '../assets/MazAnimatedText.CHvAudRU.css';const _hoisted_1 = { class: "m-reset-css m-animated-text" }, _hoisted_2 = { class: "m-animated-text__last-word-inner" }, _hoisted_3 = { class: "m-animated-text__last-word-inner-text" }, _sfc_main = /* @__PURE__ */ defineComponent({
4
+ import '../assets/MazAnimatedText.DFwgvVgF.css';const _hoisted_1 = { class: "m-reset-css m-animated-text" }, _hoisted_2 = { class: "m-animated-text__last-word-inner" }, _hoisted_3 = { class: "m-animated-text__last-word-inner-text" }, _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  inheritAttrs: !1,
6
6
  __name: "MazAnimatedText",
7
7
  props: {
@@ -17,22 +17,37 @@ import '../assets/MazAnimatedText.CHvAudRU.css';const _hoisted_1 = { class: "m-r
17
17
  once: { type: Boolean, default: !0 }
18
18
  },
19
19
  setup(__props) {
20
- const words = computed(() => __props.text.split(" ")), wordCount = computed(() => words.value.length), isVisible = ref(!1), isClient = ref(!1), animatedClass = computed(() => isVisible.value ? `maz-animate-slide-${__props.direction}-blur` : "maz-invisible"), element = ref();
21
- let observer = null;
20
+ const words = computed(() => __props.text.split(" ")), wordCount = computed(() => words.value.length), isVisible = ref(!1), isClient = ref(!1), animatedWords = ref([]), element = ref();
21
+ let observer = null, animationFrameId = null;
22
+ function triggerWordAnimations() {
23
+ const totalWords = words.value.length + (__props.lastWord ? 1 : 0);
24
+ animatedWords.value = Array.from({ length: totalWords }, () => !1);
25
+ let currentIndex = 0;
26
+ const animateNextWord = () => {
27
+ currentIndex < totalWords && requestAnimationFrame(() => {
28
+ animatedWords.value[currentIndex] = !0, currentIndex++, currentIndex < totalWords && (animationFrameId = setTimeout(animateNextWord, __props.wordDelay));
29
+ });
30
+ };
31
+ setTimeout(animateNextWord, __props.delay);
32
+ }
22
33
  return onMounted(() => {
23
34
  isClient.value = !0, observer = new IntersectionObserver(([entry]) => {
24
- isVisible.value = entry.isIntersecting, __props.once && element.value && observer?.unobserve(element.value);
35
+ entry.isIntersecting && !isVisible.value && (isVisible.value = !0, nextTick(() => {
36
+ triggerWordAnimations();
37
+ }), __props.once && element.value && observer?.unobserve(element.value));
25
38
  }), checkAvailability(() => element.value, (element2) => {
26
39
  observer?.observe(element2);
27
40
  });
28
- }), onBeforeUnmount(() => observer?.disconnect()), (_ctx, _cache) => (openBlock(), createElementBlock("div", _hoisted_1, [
29
- isClient.value ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps({
41
+ }), onBeforeUnmount(() => {
42
+ observer?.disconnect(), animationFrameId && clearTimeout(animationFrameId);
43
+ }), (_ctx, _cache) => (openBlock(), createElementBlock("div", _hoisted_1, [
44
+ isClient.value ? (openBlock(), createBlock(resolveDynamicComponent(__props.tag), mergeProps({
30
45
  key: 0,
31
46
  ref_key: "element",
32
47
  ref: element
33
48
  }, _ctx.$attrs, {
34
49
  class: "m-animated-text__root",
35
- style: { columnGap: `${_ctx.columnGap}rem`, rowGap: `${_ctx.rowGap}rem` }
50
+ style: { columnGap: `${__props.columnGap}rem`, rowGap: `${__props.rowGap}rem` }
36
51
  }), {
37
52
  default: withCtx(() => [
38
53
  (openBlock(!0), createElementBlock(Fragment, null, renderList(words.value, (word, index) => (openBlock(), createElementBlock("span", {
@@ -40,40 +55,38 @@ import '../assets/MazAnimatedText.CHvAudRU.css';const _hoisted_1 = { class: "m-r
40
55
  class: "m-animated-text__word"
41
56
  }, [
42
57
  createElementVNode("span", {
43
- class: normalizeClass(["m-animated-text__word-inner", animatedClass.value]),
58
+ class: normalizeClass(["m-animated-text__word-inner", animatedWords.value[index] ? `maz-animate-slide-${__props.direction}-blur` : "maz-invisible"]),
44
59
  style: normalizeStyle({
45
- animationDelay: `${_ctx.delay + index * (_ctx.wordDelay ?? 150)}ms`,
46
- animationDuration: `${_ctx.duration}ms`
60
+ animationDuration: `${__props.duration}ms`
47
61
  })
48
62
  }, toDisplayString(word), 7)
49
63
  ]))), 128)),
50
- _ctx.lastWord ? (openBlock(), createElementBlock("span", {
64
+ __props.lastWord ? (openBlock(), createElementBlock("span", {
51
65
  key: 0,
52
- class: normalizeClass(["m-animated-text__last-word", animatedClass.value]),
66
+ class: normalizeClass(["m-animated-text__last-word", animatedWords.value[wordCount.value] ? `maz-animate-slide-${__props.direction}-blur` : "maz-invisible"]),
53
67
  style: normalizeStyle({
54
- animationDelay: `${_ctx.delay + wordCount.value * (_ctx.wordDelay ?? 150)}ms`,
55
- animationDuration: `${_ctx.duration}ms`
68
+ animationDuration: `${__props.duration}ms`
56
69
  })
57
70
  }, [
58
71
  createElementVNode("span", _hoisted_2, [
59
72
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "m-animated-text__last-word-inner-gradient" }, null, -1)),
60
- createElementVNode("span", _hoisted_3, toDisplayString(_ctx.lastWord), 1)
73
+ createElementVNode("span", _hoisted_3, toDisplayString(__props.lastWord), 1)
61
74
  ])
62
75
  ], 6)) : createCommentVNode("", !0)
63
76
  ]),
64
77
  _: 1
65
- }, 16, ["style"])) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps({ key: 1 }, _ctx.$attrs, { class: "maz-invisible maz-inline-flex" }), {
78
+ }, 16, ["style"])) : (openBlock(), createBlock(resolveDynamicComponent(__props.tag), mergeProps({ key: 1 }, _ctx.$attrs, { class: "maz-invisible maz-inline-flex" }), {
66
79
  default: withCtx(() => [
67
- createTextVNode(toDisplayString(_ctx.text) + " ", 1),
68
- _ctx.lastWord ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
69
- createTextVNode(toDisplayString(_ctx.lastWord), 1)
80
+ createTextVNode(toDisplayString(__props.text) + " ", 1),
81
+ __props.lastWord ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
82
+ createTextVNode(toDisplayString(__props.lastWord), 1)
70
83
  ], 64)) : createCommentVNode("", !0)
71
84
  ]),
72
85
  _: 1
73
86
  }, 16))
74
87
  ]));
75
88
  }
76
- }), MazAnimatedText = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00727bc1"]]);
89
+ }), MazAnimatedText = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39c0b45b"]]);
77
90
  export {
78
91
  MazAnimatedText as default
79
92
  };
@@ -47,39 +47,39 @@ import '../assets/MazAvatar.DTiCyWfl.css';const _hoisted_1 = ["tabindex"], _hois
47
47
  }
48
48
  }
49
49
  return (_ctx, _cache) => (openBlock(), createBlock(resolveDynamicComponent(componentType.value), {
50
- style: normalizeStyle([{ fontSize: _ctx.size }, _ctx.style]),
50
+ style: normalizeStyle([{ fontSize: __props.size }, __props.style]),
51
51
  class: normalizeClass(["m-avatar m-reset-css", [
52
52
  {
53
53
  "--has-link": isLink.value
54
54
  },
55
55
  props.class
56
56
  ]]),
57
- href: _ctx.href,
58
- to: _ctx.to,
59
- target: isLink.value ? _ctx.target : void 0
57
+ href: __props.href,
58
+ to: __props.to,
59
+ target: isLink.value ? __props.target : void 0
60
60
  }, {
61
61
  default: withCtx(() => [
62
62
  createElementVNode("div", {
63
63
  class: normalizeClass(["m-avatar__wrapper", [
64
64
  {
65
- "--has-shadow": !_ctx.noElevation,
66
- "--bordered": _ctx.bordered,
67
- "--clickable": _ctx.clickable,
68
- "--has-initial": !_ctx.src && _ctx.caption
65
+ "--has-shadow": !__props.noElevation,
66
+ "--bordered": __props.bordered,
67
+ "--clickable": __props.clickable,
68
+ "--has-initial": !__props.src && __props.caption
69
69
  },
70
- `--rounded-${_ctx.square ? "none" : _ctx.roundedSize}`
70
+ `--rounded-${__props.square ? "none" : __props.roundedSize}`
71
71
  ]]),
72
- tabindex: _ctx.clickable ? 0 : -1
72
+ tabindex: __props.clickable ? 0 : -1
73
73
  }, [
74
74
  shouldDisplayImg.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
75
- _ctx.loading === "intersecting" ? (openBlock(), createBlock(unref(MazLazyImg), mergeProps({ key: 0 }, _ctx.$attrs, {
75
+ __props.loading === "intersecting" ? (openBlock(), createBlock(unref(MazLazyImg), mergeProps({ key: 0 }, _ctx.$attrs, {
76
76
  class: "m-avatar__picture maz-w-full maz-max-w-full",
77
- src: _ctx.src,
78
- alt: _ctx.alt,
77
+ src: __props.src,
78
+ alt: __props.alt,
79
79
  "image-height-full": "",
80
- "hide-loader": _ctx.hideLoader,
81
- "fallback-src": _ctx.fallbackSrc,
82
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.clickable ? _ctx.$emit("click", $event) : null),
80
+ "hide-loader": __props.hideLoader,
81
+ "fallback-src": __props.fallbackSrc,
82
+ onClick: _cache[0] || (_cache[0] = ($event) => __props.clickable ? _ctx.$emit("click", $event) : null),
83
83
  onError: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("error", $event)),
84
84
  onLoaded: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("loaded", $event)),
85
85
  onLoading: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("loading", $event)),
@@ -87,32 +87,32 @@ import '../assets/MazAvatar.DTiCyWfl.css';const _hoisted_1 = ["tabindex"], _hois
87
87
  }), null, 16, ["src", "alt", "hide-loader", "fallback-src"])) : (openBlock(), createElementBlock("img", {
88
88
  key: 1,
89
89
  class: "m-avatar__picture maz-w-full maz-max-w-full",
90
- src: _ctx.src ?? _ctx.fallbackSrc,
91
- alt: _ctx.alt,
92
- loading: _ctx.loading,
90
+ src: __props.src ?? __props.fallbackSrc,
91
+ alt: __props.alt,
92
+ loading: __props.loading,
93
93
  onError: handleImageError
94
94
  }, null, 40, _hoisted_2))
95
95
  ], 64)) : createCommentVNode("", !0),
96
- _ctx.caption && !_ctx.src ? renderSlot(_ctx.$slots, "round-text", { key: 1 }, () => [
97
- createElementVNode("span", _hoisted_3, toDisplayString(getInitials(_ctx.caption)), 1)
96
+ __props.caption && !__props.src ? renderSlot(_ctx.$slots, "round-text", { key: 1 }, () => [
97
+ createElementVNode("span", _hoisted_3, toDisplayString(getInitials(__props.caption)), 1)
98
98
  ], !0) : createCommentVNode("", !0),
99
- _ctx.clickable ? (openBlock(), createElementBlock("button", {
99
+ __props.clickable ? (openBlock(), createElementBlock("button", {
100
100
  key: 2,
101
101
  type: "button",
102
102
  tabindex: "-1",
103
103
  class: "m-avatar__button",
104
104
  style: normalizeStyle({
105
- backgroundColor: _ctx.src ? `hsl(var(--maz-${_ctx.buttonColor}) / 60%)` : `hsl(var(--maz-${_ctx.buttonColor}))`
105
+ backgroundColor: __props.src ? `hsl(var(--maz-${__props.buttonColor}) / 60%)` : `hsl(var(--maz-${__props.buttonColor}))`
106
106
  }),
107
107
  onClick: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("click", $event))
108
108
  }, [
109
- _ctx.hideClickableIcon ? createCommentVNode("", !0) : renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
109
+ __props.hideClickableIcon ? createCommentVNode("", !0) : renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
110
110
  createVNode(unref(MazPencil), { class: "m-avatar__button__icon" })
111
111
  ], !0)
112
112
  ], 4)) : createCommentVNode("", !0)
113
113
  ], 10, _hoisted_1),
114
114
  renderSlot(_ctx.$slots, "caption", {}, () => [
115
- _ctx.showCaption && _ctx.caption ? (openBlock(), createElementBlock("p", _hoisted_4, toDisplayString(_ctx.caption), 1)) : createCommentVNode("", !0)
115
+ __props.showCaption && __props.caption ? (openBlock(), createElementBlock("p", _hoisted_4, toDisplayString(__props.caption), 1)) : createCommentVNode("", !0)
116
116
  ], !0)
117
117
  ]),
118
118
  _: 3
@@ -121,12 +121,12 @@ import '../assets/MazBackdrop.09bziTPM.css';const _hoisted_1 = ["aria-labelledby
121
121
  */
122
122
  onKeyPress
123
123
  }), (_ctx, _cache) => (openBlock(), createBlock(Teleport, {
124
- to: _ctx.teleportSelector,
124
+ to: __props.teleportSelector,
125
125
  disabled: !present.value
126
126
  }, [
127
127
  createVNode(Transition, {
128
128
  appear: "",
129
- name: _ctx.transitionName,
129
+ name: __props.transitionName,
130
130
  onAfterEnter: onBackdropAnimationEnter,
131
131
  onAfterLeave: onBackdropAnimationLeave
132
132
  }, {
@@ -135,14 +135,14 @@ import '../assets/MazBackdrop.09bziTPM.css';const _hoisted_1 = ["aria-labelledby
135
135
  key: 0,
136
136
  class: "m-backdrop --present m-reset-css"
137
137
  }, _ctx.$attrs, {
138
- class: [_ctx.backdropClass, _ctx.variant && `--variant-${_ctx.variant}`, { "--persistent": _ctx.persistent }],
139
- "aria-labelledby": _ctx.ariaLabelledby,
140
- "aria-describedby": _ctx.ariaDescribedby
138
+ class: [__props.backdropClass, __props.variant && `--variant-${__props.variant}`, { "--persistent": __props.persistent }],
139
+ "aria-labelledby": __props.ariaLabelledby,
140
+ "aria-describedby": __props.ariaDescribedby
141
141
  }), [
142
142
  createElementVNode("div", _hoisted_2, [
143
143
  createElementVNode("div", _hoisted_3, [
144
144
  createElementVNode("div", {
145
- class: normalizeClass(["m-backdrop-content", [_ctx.backdropContentClass, `--justify-${_ctx.justify}`, `--align-${_ctx.align}`, { "--padding": _ctx.contentPadding }]]),
145
+ class: normalizeClass(["m-backdrop-content", [__props.backdropContentClass, `--justify-${__props.justify}`, `--align-${__props.align}`, { "--padding": __props.contentPadding }]]),
146
146
  role: "button",
147
147
  tabindex: "-1",
148
148
  onPointerdown: withModifiers(close, ["self"])
@@ -14,11 +14,11 @@ import '../assets/MazBadge.CmPr9rE1.css';const _sfc_main = /* @__PURE__ */ defin
14
14
  setup(__props) {
15
15
  return (_ctx, _cache) => (openBlock(), createElementBlock("span", {
16
16
  class: normalizeClass(["m-badge m-reset-css", [
17
- `--${unref(getColor)(_ctx.color)}`,
18
- { "--outlined": _ctx.outlined, "--pastel": _ctx.pastel, "--nowrap": _ctx.nowrap },
19
- `--rounded-${_ctx.roundedSize}`
17
+ `--${unref(getColor)(__props.color)}`,
18
+ { "--outlined": __props.outlined, "--pastel": __props.pastel, "--nowrap": __props.nowrap },
19
+ `--rounded-${__props.roundedSize}`
20
20
  ]]),
21
- style: normalizeStyle({ fontSize: _ctx.size })
21
+ style: normalizeStyle({ fontSize: __props.size })
22
22
  }, [
23
23
  renderSlot(_ctx.$slots, "default", {}, void 0, !0)
24
24
  ], 6));
@@ -13,7 +13,7 @@ import '../assets/MazBottomSheet.DKDf6Eet.css';const _sfc_main = /* @__PURE__ */
13
13
  setup(__props, { emit: __emit }) {
14
14
  const emits = __emit, MazBtn = defineAsyncComponent(() => import("./MazBtn.js"));
15
15
  return (_ctx, _cache) => (openBlock(), createBlock(MazBackdrop, {
16
- "model-value": _ctx.modelValue,
16
+ "model-value": __props.modelValue,
17
17
  "transition-name": "bottom-sheet-anim",
18
18
  "backdrop-class": "--bottom-sheet",
19
19
  "content-padding": !1,
@@ -27,11 +27,11 @@ import '../assets/MazBottomSheet.DKDf6Eet.css';const _sfc_main = /* @__PURE__ */
27
27
  default: withCtx(({ close }) => [
28
28
  createElementVNode("div", {
29
29
  class: normalizeClass(["m-bottom-sheet__container", {
30
- "--padding": _ctx.padding
30
+ "--padding": __props.padding
31
31
  }])
32
32
  }, [
33
33
  renderSlot(_ctx.$slots, "default", { close }, void 0, !0),
34
- _ctx.hideCloseButton ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazBtn), {
34
+ __props.hideCloseButton ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(MazBtn), {
35
35
  key: 0,
36
36
  size: "sm",
37
37
  class: "m-bottom-sheet__close",