maz-ui 4.1.7-beta.6 → 4.1.7-beta.8

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 (102) hide show
  1. package/dist/assets/MazAccordion.C7shz8tA.css +1 -0
  2. package/dist/assets/{MazBtn.D86vFfaR.css → MazBtn.DDnoE3K1.css} +1 -1
  3. package/dist/assets/MazDropzone.B5e-z_Ba.css +1 -0
  4. package/dist/assets/MazIcon.Cl1pfRbK.css +1 -0
  5. package/dist/assets/MazPickerCalendarMonth.CdpSHmMr.css +1 -0
  6. package/dist/assets/{MazTable.DLVdp4na.css → MazTable.BKlwCDt4.css} +1 -1
  7. 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
  8. package/dist/chunks/{MazDatePicker.C5f1ViA8.js → MazDatePicker.CYfNHwnV.js} +82 -82
  9. 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
  10. package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.C5WEfuse.js → MazDropdown.vue_vue_type_style_index_0_lang.qBaRy629.js} +41 -41
  11. 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
  12. package/dist/chunks/{MazInputPhoneNumber.BFEXMmvC.js → MazInputPhoneNumber.CbNnLvU_.js} +32 -32
  13. 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
  14. package/dist/chunks/{MazPickerCalendar.BpHfGufN.js → MazPickerCalendar.BOSPVh7n.js} +26 -26
  15. package/dist/chunks/{MazPickerCalendarMonth.Cp41DoYR.js → MazPickerCalendarMonth.C-dBLRva.js} +4 -4
  16. package/dist/chunks/{MazPickerCalendarSwitcher.eONnlP4p.js → MazPickerCalendarSwitcher.CBt_inzB.js} +1 -1
  17. package/dist/chunks/{MazPickerHeader.8NgtJicu.js → MazPickerHeader.CPmuARqp.js} +4 -4
  18. package/dist/chunks/{MazPickerMonthSwitcher.Dlwz6t6Y.js → MazPickerMonthSwitcher.A5uh7cC7.js} +1 -1
  19. package/dist/chunks/{MazPickerShortcuts.B0CYBkxL.js → MazPickerShortcuts.iJe-kl_a.js} +2 -2
  20. package/dist/chunks/{MazPickerTime.C4lzgTv-.js → MazPickerTime.xQhgnYKJ.js} +1 -1
  21. package/dist/chunks/{MazPickerYearSwitcher.B1BVoF2x.js → MazPickerYearSwitcher.eQe37UOI.js} +1 -1
  22. 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
  23. 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
  24. package/dist/chunks/{PhoneInput.BcmutVwQ.js → PhoneInput.DQZjDqMK.js} +12 -12
  25. package/dist/chunks/{fullscreen-img.directive.e2KyfwYA.js → fullscreen-img.directive.BqO7XUdi.js} +1 -1
  26. package/dist/chunks/plus.svg.CdiAbqRP.js +24 -0
  27. package/dist/components/MazAccordion.js +4 -5
  28. package/dist/components/MazAnimatedCounter.js +5 -5
  29. package/dist/components/MazAnimatedElement.js +1 -1
  30. package/dist/components/MazAnimatedText.js +12 -12
  31. package/dist/components/MazAvatar.js +25 -25
  32. package/dist/components/MazBackdrop.js +6 -6
  33. package/dist/components/MazBadge.js +4 -4
  34. package/dist/components/MazBottomSheet.js +3 -3
  35. package/dist/components/MazBtn.js +42 -32
  36. package/dist/components/MazCard.js +17 -17
  37. package/dist/components/MazCardSpotlight.js +4 -4
  38. package/dist/components/MazCarousel.js +3 -3
  39. package/dist/components/MazChart.js +1 -1
  40. package/dist/components/MazCheckbox.js +13 -13
  41. package/dist/components/MazChecklist.js +15 -15
  42. package/dist/components/MazCircularProgressBar.js +11 -11
  43. package/dist/components/MazDatePicker.js +1 -1
  44. package/dist/components/MazDialog.js +9 -9
  45. package/dist/components/MazDialogConfirm.js +2 -2
  46. package/dist/components/MazDrawer.js +6 -6
  47. package/dist/components/MazDropdown.js +1 -1
  48. package/dist/components/MazDropzone.js +132 -97
  49. package/dist/components/MazDropzone.vue.d.ts +10 -16
  50. package/dist/components/MazExpandAnimation.js +1 -1
  51. package/dist/components/MazFullscreenLoader.js +3 -3
  52. package/dist/components/MazGallery.js +14 -14
  53. package/dist/components/MazIcon.js +29 -10
  54. package/dist/components/MazIcon.vue.d.ts +9 -2
  55. package/dist/components/MazInput.js +40 -40
  56. package/dist/components/MazInputCode.js +11 -11
  57. package/dist/components/MazInputNumber.js +1 -1
  58. package/dist/components/MazInputPhoneNumber.js +1 -1
  59. package/dist/components/MazInputPrice.js +1 -1
  60. package/dist/components/MazInputTags.js +16 -16
  61. package/dist/components/MazInputTags.vue.d.ts +2 -2
  62. package/dist/components/MazLazyImg.js +9 -9
  63. package/dist/components/MazLink.js +18 -18
  64. package/dist/components/MazLoadingBar.js +1 -1
  65. package/dist/components/MazPagination.js +20 -20
  66. package/dist/components/MazPopover.js +15 -15
  67. package/dist/components/MazPullToRefresh.js +2 -2
  68. package/dist/components/MazRadio.js +12 -12
  69. package/dist/components/MazRadioButtons.js +15 -15
  70. package/dist/components/MazReadingProgressBar.js +3 -3
  71. package/dist/components/MazSelect.js +30 -30
  72. package/dist/components/MazSelectCountry.js +34 -34
  73. package/dist/components/MazSlider.js +6 -6
  74. package/dist/components/MazSpinner.js +3 -3
  75. package/dist/components/MazStepper.js +3 -3
  76. package/dist/components/MazSwitch.js +1 -1
  77. package/dist/components/MazTable.js +3 -3
  78. package/dist/components/MazTableCell.js +1 -1
  79. package/dist/components/MazTableRow.js +2 -2
  80. package/dist/components/MazTableTitle.js +1 -1
  81. package/dist/components/MazTabsBar.js +3 -3
  82. package/dist/components/MazTextarea.js +17 -17
  83. package/dist/components/index.js +8 -8
  84. package/dist/composables/useDisplayNames.d.ts +2 -2
  85. package/dist/composables/useDisplayNames.js +1 -1
  86. package/dist/composables/useDropzone.js +10 -2
  87. package/dist/directives/index.js +1 -1
  88. package/dist/directives/vFullscreenImg.js +1 -1
  89. package/dist/directives/vZoomImg/zoom-img.directive.d.ts +2 -2
  90. package/dist/plugins/dialog.js +1 -1
  91. package/dist/plugins/toast.js +5 -5
  92. package/dist/resolvers/MazComponentsResolver.js +15 -0
  93. package/dist/types/components/MazDropzone.vue.d.ts +10 -16
  94. package/dist/types/components/MazIcon.vue.d.ts +9 -2
  95. package/dist/types/components/MazInputTags.vue.d.ts +2 -2
  96. package/dist/types/composables/useDisplayNames.d.ts +2 -2
  97. package/dist/types/directives/vZoomImg/zoom-img.directive.d.ts +2 -2
  98. package/package.json +22 -23
  99. package/dist/assets/MazAccordion.DUQCf8vy.css +0 -1
  100. package/dist/assets/MazDropzone._2HwHowu.css +0 -1
  101. package/dist/assets/MazIcon.3Pn7omz5.css +0 -1
  102. package/dist/assets/MazPickerCalendarMonth.BZJQGPhS.css +0 -1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, defineAsyncComponent, useAttrs, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, createElementBlock, createCommentVNode, unref, createTextVNode, toDisplayString, createVNode } from "vue";
2
2
  import { g as getColor } from "../chunks/types.D0Bp_UhS.js";
3
3
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
4
- import '../assets/MazBtn.D86vFfaR.css';const _hoisted_1 = {
4
+ import '../assets/MazBtn.DDnoE3K1.css';const _hoisted_1 = {
5
5
  key: 0,
6
6
  class: "m-btn-loader-container"
7
7
  }, _sfc_main = /* @__PURE__ */ defineComponent({
@@ -27,61 +27,71 @@ import '../assets/MazBtn.D86vFfaR.css';const _hoisted_1 = {
27
27
  setup(__props) {
28
28
  const MazIcon = defineAsyncComponent(() => import("./MazIcon.js")), MazSpinner = defineAsyncComponent(() => import("./MazSpinner.js")), { href, to } = useAttrs(), component = computed(() => href ? "a" : to ? "router-link" : "button"), btnColorClass = computed(() => __props.pastel ? `--${getColor(__props.color)}-pastel` : __props.outlined ? `--${getColor(__props.color)}-outlined` : `--${getColor(__props.color)}`), isDisabled = computed(
29
29
  () => (__props.loading || __props.disabled) && component.value === "button"
30
- ), cursorClass = computed(() => isDisabled.value ? "--cursor-default" : "--cursor-pointer"), btnType = computed(() => component.value === "button" ? __props.type : void 0), iconClassSize = computed(() => __props.size === "xl" ? "maz-text-2xl" : __props.size === "lg" ? "maz-text-xl" : __props.size === "md" ? "maz-text-lg" : __props.size === "sm" ? "maz-text-base" : __props.size === "xs" ? "maz-text-sm" : __props.size === "mini" ? "maz-text-xs" : "maz-text-lg");
30
+ ), cursorClass = computed(() => isDisabled.value ? "--cursor-default" : "--cursor-pointer"), btnType = computed(() => component.value === "button" ? __props.type : void 0), iconSize = computed(() => ({
31
+ xl: "lg",
32
+ lg: "md",
33
+ md: "md",
34
+ sm: "sm",
35
+ xs: "xs",
36
+ mini: "1em"
37
+ })[__props.size] || "lg");
31
38
  return (_ctx, _cache) => (openBlock(), createBlock(resolveDynamicComponent(component.value), {
32
39
  disabled: isDisabled.value,
33
40
  class: normalizeClass(["m-btn m-reset-css", [
34
- `--${_ctx.size}`,
35
- !_ctx.fab && _ctx.roundedSize && `--rounded-${_ctx.roundedSize}`,
41
+ `--${__props.size}`,
42
+ !__props.fab && __props.roundedSize && `--rounded-${__props.roundedSize}`,
36
43
  btnColorClass.value,
37
44
  cursorClass.value,
38
45
  {
39
- "--block": _ctx.block,
40
- "--fab": _ctx.fab,
41
- "--loading": _ctx.loading,
42
- "--no-padding": !_ctx.padding,
43
- "--has-left-icon": !!_ctx.leftIcon || !!_ctx.$slots["left-icon"],
44
- "--has-right-icon": !!_ctx.rightIcon || !!_ctx.$slots["right-icon"]
46
+ "--block": __props.block,
47
+ "--fab": __props.fab,
48
+ "--loading": __props.loading,
49
+ "--no-padding": !__props.padding,
50
+ "--has-left-icon": !!__props.leftIcon || !!_ctx.$slots["left-icon"],
51
+ "--has-right-icon": !!__props.rightIcon || !!_ctx.$slots["right-icon"]
45
52
  }
46
53
  ]]),
47
- style: normalizeStyle([`--justify: ${_ctx.justify}`, `--color: var(--maz-${_ctx.color})`]),
54
+ style: normalizeStyle([`--justify: ${__props.justify}`, `--color: var(--maz-${__props.color})`]),
48
55
  type: btnType.value
49
56
  }, {
50
57
  default: withCtx(() => [
51
58
  renderSlot(_ctx.$slots, "left-icon", {}, () => [
52
- typeof _ctx.leftIcon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
59
+ typeof __props.leftIcon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
53
60
  key: 0,
54
- name: _ctx.leftIcon,
55
- class: normalizeClass([iconClassSize.value])
56
- }, null, 8, ["name", "class"])) : _ctx.leftIcon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.leftIcon), {
61
+ name: __props.leftIcon,
62
+ size: iconSize.value
63
+ }, null, 8, ["name", "size"])) : __props.leftIcon ? (openBlock(), createBlock(unref(MazIcon), {
57
64
  key: 1,
58
- class: normalizeClass([iconClassSize.value])
59
- }, null, 8, ["class"])) : createCommentVNode("", !0)
65
+ icon: __props.leftIcon,
66
+ size: iconSize.value
67
+ }, null, 8, ["icon", "size"])) : createCommentVNode("", !0)
60
68
  ], !0),
61
69
  renderSlot(_ctx.$slots, "icon", {}, () => [
62
- typeof _ctx.icon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
70
+ typeof __props.icon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
63
71
  key: 0,
64
- name: _ctx.icon,
65
- class: normalizeClass([iconClassSize.value])
66
- }, null, 8, ["name", "class"])) : _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
72
+ name: __props.icon,
73
+ size: iconSize.value
74
+ }, null, 8, ["name", "size"])) : __props.icon ? (openBlock(), createBlock(unref(MazIcon), {
67
75
  key: 1,
68
- class: normalizeClass([iconClassSize.value])
69
- }, null, 8, ["class"])) : createCommentVNode("", !0)
76
+ icon: __props.icon,
77
+ size: iconSize.value
78
+ }, null, 8, ["icon", "size"])) : createCommentVNode("", !0)
70
79
  ], !0),
71
80
  renderSlot(_ctx.$slots, "default", {}, () => [
72
- createTextVNode(toDisplayString(_ctx.text), 1)
81
+ createTextVNode(toDisplayString(__props.text), 1)
73
82
  ], !0),
74
83
  renderSlot(_ctx.$slots, "right-icon", {}, () => [
75
- typeof _ctx.rightIcon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
84
+ typeof __props.rightIcon == "string" ? (openBlock(), createBlock(unref(MazIcon), {
76
85
  key: 0,
77
- name: _ctx.rightIcon,
78
- class: normalizeClass([iconClassSize.value])
79
- }, null, 8, ["name", "class"])) : _ctx.rightIcon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.rightIcon), {
86
+ name: __props.rightIcon,
87
+ size: iconSize.value
88
+ }, null, 8, ["name", "size"])) : __props.rightIcon ? (openBlock(), createBlock(unref(MazIcon), {
80
89
  key: 1,
81
- class: normalizeClass([iconClassSize.value])
82
- }, null, 8, ["class"])) : createCommentVNode("", !0)
90
+ icon: __props.rightIcon,
91
+ size: iconSize.value
92
+ }, null, 8, ["icon", "size"])) : createCommentVNode("", !0)
83
93
  ], !0),
84
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1, [
94
+ __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1, [
85
95
  renderSlot(_ctx.$slots, "loader", {}, () => [
86
96
  createVNode(unref(MazSpinner), { size: "2em" })
87
97
  ], !0)
@@ -90,7 +100,7 @@ import '../assets/MazBtn.D86vFfaR.css';const _hoisted_1 = {
90
100
  _: 3
91
101
  }, 8, ["disabled", "class", "style", "type"]));
92
102
  }
93
- }), MazBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8182712d"]]);
103
+ }), MazBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-566b18d0"]]);
94
104
  export {
95
105
  MazBtn as default
96
106
  };
@@ -83,31 +83,31 @@ import '../assets/MazCard.CV__I-ku.css';const _hoisted_1 = {
83
83
  class: normalizeClass(["m-card m-reset-css", [
84
84
  {
85
85
  "m-card--linked": isLinked.value,
86
- "m-card--no-scale": !_ctx.scale,
87
- "maz-shadow-elevation maz-drop-shadow-md": _ctx.elevation,
88
- "--block": _ctx.block,
89
- "maz-overflow-hidden": _ctx.overflowHidden || !collapseOpenModel.value,
90
- "maz-rounded": _ctx.radius,
91
- "maz-border maz-border-solid maz-border-divider": _ctx.bordered
86
+ "m-card--no-scale": !__props.scale,
87
+ "maz-shadow-elevation maz-drop-shadow-md": __props.elevation,
88
+ "--block": __props.block,
89
+ "maz-overflow-hidden": __props.overflowHidden || !collapseOpenModel.value,
90
+ "maz-rounded": __props.radius,
91
+ "maz-border maz-border-solid maz-border-divider": __props.bordered
92
92
  }
93
93
  ]])
94
94
  }, [
95
- _ctx.$slots.title || _ctx.title || _ctx.collapsible ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.collapsible ? "button" : "div"), {
95
+ _ctx.$slots.title || __props.title || __props.collapsible ? (openBlock(), createBlock(resolveDynamicComponent(__props.collapsible ? "button" : "div"), {
96
96
  key: 0,
97
97
  class: normalizeClass(["m-card__header maz-border-b maz-border-solid", [
98
98
  collapseOpenModel.value ? "maz-rounded-t maz-border-divider" : "maz-border-transparent",
99
- { "--is-collapsible": _ctx.collapsible },
100
- { "maz-justify-end": (!_ctx.$slots.title || !_ctx.title) && _ctx.collapsible },
101
- { "maz-justify-between": _ctx.$slots.title || _ctx.title }
99
+ { "--is-collapsible": __props.collapsible },
100
+ { "maz-justify-end": (!_ctx.$slots.title || !__props.title) && __props.collapsible },
101
+ { "maz-justify-between": _ctx.$slots.title || __props.title }
102
102
  ]]),
103
103
  tabindex: "-1",
104
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.collapsible ? toggleCollapse() : void 0, ["stop"]))
104
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => __props.collapsible ? toggleCollapse() : void 0, ["stop"]))
105
105
  }, {
106
106
  default: withCtx(() => [
107
- _ctx.$slots.title || _ctx.title ? renderSlot(_ctx.$slots, "title", { key: 0 }, () => [
108
- createTextVNode(toDisplayString(_ctx.title), 1)
107
+ _ctx.$slots.title || __props.title ? renderSlot(_ctx.$slots, "title", { key: 0 }, () => [
108
+ createTextVNode(toDisplayString(__props.title), 1)
109
109
  ], !0) : createCommentVNode("", !0),
110
- _ctx.collapsible ? (openBlock(), createBlock(unref(MazBtn), {
110
+ __props.collapsible ? (openBlock(), createBlock(unref(MazBtn), {
111
111
  key: 1,
112
112
  color: "transparent",
113
113
  class: "maz-ms-2 maz-text-sm",
@@ -125,7 +125,7 @@ import '../assets/MazCard.CV__I-ku.css';const _hoisted_1 = {
125
125
  _: 3
126
126
  }, 8, ["class"])) : createCommentVNode("", !0),
127
127
  (openBlock(), createBlock(resolveDynamicComponent(wrapperData.value.is), mergeProps(wrapperData.value, {
128
- class: ["m-card__wrapper", [`m-card__wrapper--${_ctx.orientation}`, { "m-card__link": isLinked.value }]]
128
+ class: ["m-card__wrapper", [`m-card__wrapper--${__props.orientation}`, { "m-card__link": isLinked.value }]]
129
129
  }), {
130
130
  default: withCtx(() => [
131
131
  galleryOptions.value.images ? (openBlock(), createElementBlock("div", _hoisted_1, [
@@ -135,14 +135,14 @@ import '../assets/MazCard.CV__I-ku.css';const _hoisted_1 = {
135
135
  }, { class: "m-card__gallery" }), null, 16)
136
136
  ])) : createCommentVNode("", !0),
137
137
  createElementVNode("div", _hoisted_2, [
138
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.collapsible ? unref(MazExpandAnimation) : "div"), {
138
+ (openBlock(), createBlock(resolveDynamicComponent(__props.collapsible ? unref(MazExpandAnimation) : "div"), {
139
139
  modelValue: collapseOpenModel.value,
140
140
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => collapseOpenModel.value = $event),
141
141
  class: "maz-h-full"
142
142
  }, {
143
143
  default: withCtx(() => [
144
144
  createElementVNode("div", {
145
- class: normalizeClass([[_ctx.wrapperClass, { "maz-p-4": _ctx.padding }], "m-card__content__wrapper"])
145
+ class: normalizeClass([[__props.wrapperClass, { "maz-p-4": __props.padding }], "m-card__content__wrapper"])
146
146
  }, [
147
147
  _ctx.$slots["content-title"] ? (openBlock(), createElementBlock("div", _hoisted_3, [
148
148
  renderSlot(_ctx.$slots, "content-title", { collapseOpen: collapseOpenModel.value }, void 0, !0)
@@ -35,13 +35,13 @@ import '../assets/MazCardSpotlight.B7lFD7Pi.css';const _hoisted_1 = { class: "in
35
35
  }), onUnmounted(() => {
36
36
  globalThis.removeEventListener("mousemove", animateBlob);
37
37
  }), (_ctx, _cache) => (openBlock(), createElementBlock("div", {
38
- class: normalizeClass(["m-card-spotlight m-reset-css", { "maz-shadow-elevation maz-drop-shadow-md": _ctx.elevation }]),
39
- style: normalizeStyle({ backgroundColor: alphaColor20.value, "--inner-opacity": _ctx.innerOpacity })
38
+ class: normalizeClass(["m-card-spotlight m-reset-css", { "maz-shadow-elevation maz-drop-shadow-md": __props.elevation }]),
39
+ style: normalizeStyle({ backgroundColor: alphaColor20.value, "--inner-opacity": __props.innerOpacity })
40
40
  }, [
41
41
  createElementVNode("div", _hoisted_1, [
42
42
  createElementVNode("div", {
43
- class: normalizeClass(["content", [{ "maz-p-4": _ctx.padding }, _ctx.contentClass]]),
44
- style: normalizeStyle(_ctx.contentStyle)
43
+ class: normalizeClass(["content", [{ "maz-p-4": __props.padding }, __props.contentClass]]),
44
+ style: normalizeStyle(__props.contentStyle)
45
45
  }, [
46
46
  renderSlot(_ctx.$slots, "default", {}, void 0, !0)
47
47
  ], 6)
@@ -44,7 +44,7 @@ import '../assets/MazCarousel.-UuyHtHl.css';const _hoisted_1 = { key: 0 }, _hois
44
44
  }
45
45
  return (_ctx, _cache) => (openBlock(), createElementBlock("div", {
46
46
  class: normalizeClass(["m-carousel m-reset-css", {
47
- "--hide-scrollbar": _ctx.hideScrollbar
47
+ "--hide-scrollbar": __props.hideScrollbar
48
48
  }])
49
49
  }, [
50
50
  hasHeader() ? (openBlock(), createElementBlock("div", {
@@ -53,10 +53,10 @@ import '../assets/MazCarousel.-UuyHtHl.css';const _hoisted_1 = { key: 0 }, _hois
53
53
  }, [
54
54
  hasTitle() ? (openBlock(), createElementBlock("div", _hoisted_1, [
55
55
  renderSlot(_ctx.$slots, "title", {}, () => [
56
- createElementVNode("h4", _hoisted_2, toDisplayString(_ctx.title), 1)
56
+ createElementVNode("h4", _hoisted_2, toDisplayString(__props.title), 1)
57
57
  ], !0)
58
58
  ])) : createCommentVNode("", !0),
59
- _ctx.hideScrollButtons ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_3, [
59
+ __props.hideScrollButtons ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_3, [
60
60
  createVNode(unref(MazBtn), {
61
61
  color: "transparent",
62
62
  class: normalizeClass(["m-carousel__btn", { "--muted": !isScrolled.value }]),
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/MazChart.vue_vue_type_script_setup_true_lang.JSYXGyfn.js";
1
+ import { _ as _sfc_main } from "../chunks/MazChart.vue_vue_type_script_setup_true_lang.CUrokkc_.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -78,8 +78,8 @@ import '../assets/MazCheckbox.Di88TJ3e.css';const _hoisted_1 = ["for", "aria-che
78
78
  }
79
79
  return (_ctx, _cache) => (openBlock(), createElementBlock("label", {
80
80
  for: unref(instanceId),
81
- class: normalizeClass(["m-checkbox m-reset-css", [{ "--error": _ctx.error, "--warning": _ctx.warning, "--success": _ctx.success }, props.class]]),
82
- style: normalizeStyle([_ctx.style, { "--checkbox-selected-color": checkboxSelectedColor.value, "--checkbox-box-shadow-color": checkboxBoxShadow.value }]),
81
+ class: normalizeClass(["m-checkbox m-reset-css", [{ "--error": __props.error, "--warning": __props.warning, "--success": __props.success }, props.class]]),
82
+ style: normalizeStyle([__props.style, { "--checkbox-selected-color": checkboxSelectedColor.value, "--checkbox-box-shadow-color": checkboxBoxShadow.value }]),
83
83
  role: "checkbox",
84
84
  "aria-checked": isChecked.value,
85
85
  tabindex: "0",
@@ -94,10 +94,10 @@ import '../assets/MazCheckbox.Di88TJ3e.css';const _hoisted_1 = ["for", "aria-che
94
94
  checked: isChecked.value
95
95
  }, _ctx.$attrs, {
96
96
  tabindex: "-1",
97
- disabled: _ctx.disabled,
98
- name: _ctx.name,
97
+ disabled: __props.disabled,
98
+ name: __props.name,
99
99
  type: "checkbox",
100
- onChange: _cache[0] || (_cache[0] = ($event) => emitValue(_ctx.value ?? $event?.target?.checked))
100
+ onChange: _cache[0] || (_cache[0] = ($event) => emitValue(__props.value ?? $event?.target?.checked))
101
101
  }), null, 16, _hoisted_2),
102
102
  createElementVNode("span", {
103
103
  style: normalizeStyle({ width: checkboxSize.value, height: checkboxSize.value })
@@ -107,18 +107,18 @@ import '../assets/MazCheckbox.Di88TJ3e.css';const _hoisted_1 = ["for", "aria-che
107
107
  style: normalizeStyle({ color: checkIconColor.value })
108
108
  }, null, 8, ["class", "style"])
109
109
  ], 4),
110
- _ctx.label || _ctx.$slots.default || _ctx.hint ? (openBlock(), createElementBlock("div", _hoisted_3, [
111
- renderSlot(_ctx.$slots, "default", { value: _ctx.value }, () => [
112
- createTextVNode(toDisplayString(_ctx.label), 1)
110
+ __props.label || _ctx.$slots.default || __props.hint ? (openBlock(), createElementBlock("div", _hoisted_3, [
111
+ renderSlot(_ctx.$slots, "default", { value: __props.value }, () => [
112
+ createTextVNode(toDisplayString(__props.label), 1)
113
113
  ], !0),
114
- _ctx.hint ? (openBlock(), createElementBlock("span", {
114
+ __props.hint ? (openBlock(), createElementBlock("span", {
115
115
  key: 0,
116
116
  class: normalizeClass(["m-checkbox__hint", {
117
- "--error": _ctx.error,
118
- "--success": _ctx.success,
119
- "--warning": _ctx.warning
117
+ "--error": __props.error,
118
+ "--success": __props.success,
119
+ "--warning": __props.warning
120
120
  }])
121
- }, toDisplayString(_ctx.hint), 3)) : createCommentVNode("", !0)
121
+ }, toDisplayString(__props.hint), 3)) : createCommentVNode("", !0)
122
122
  ])) : createCommentVNode("", !0)
123
123
  ], 46, _hoisted_1));
124
124
  }
@@ -62,30 +62,30 @@ import '../assets/MazChecklist.3fMAXT5e.css';const _hoisted_1 = { class: "m-chec
62
62
  }
63
63
  return (_ctx, _cache) => (openBlock(), createElementBlock("div", _hoisted_1, [
64
64
  createElementVNode("label", {
65
- for: _ctx.search ? `${unref(id)}-query` : void 0,
65
+ for: __props.search ? `${unref(id)}-query` : void 0,
66
66
  class: "search-label"
67
67
  }, [
68
- _ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("span", _hoisted_3, [
68
+ _ctx.$slots.title || __props.title ? (openBlock(), createElementBlock("span", _hoisted_3, [
69
69
  renderSlot(_ctx.$slots, "title", {}, () => [
70
- createTextVNode(toDisplayString(_ctx.title), 1)
70
+ createTextVNode(toDisplayString(__props.title), 1)
71
71
  ], !0)
72
72
  ])) : createCommentVNode("", !0),
73
- _ctx.search ? (openBlock(), createBlock(unref(MazInput), mergeProps({
73
+ __props.search ? (openBlock(), createBlock(unref(MazInput), mergeProps({
74
74
  key: 1,
75
75
  id: `${unref(id)}-query`,
76
76
  "model-value": internalQuery.value
77
- }, typeof _ctx.search == "object" ? _ctx.search : {}, {
78
- color: typeof _ctx.search == "object" && _ctx.search.color ? _ctx.search.color : _ctx.color,
79
- "left-icon": typeof _ctx.search == "object" ? _ctx.search.leftIcon ?? unref(MazMagnifyingGlass) : void 0,
80
- debounce: typeof _ctx.search == "object" ? _ctx.search.debounce ?? 300 : void 0,
81
- name: typeof _ctx.search == "object" ? _ctx.search.name ?? "search" : void 0,
82
- placeholder: typeof _ctx.search == "object" && _ctx.search.placeholder ? _ctx.search.placeholder : messages.value.searchInput.placeholder,
77
+ }, typeof __props.search == "object" ? __props.search : {}, {
78
+ color: typeof __props.search == "object" && __props.search.color ? __props.search.color : __props.color,
79
+ "left-icon": typeof __props.search == "object" ? __props.search.leftIcon ?? unref(MazMagnifyingGlass) : void 0,
80
+ debounce: typeof __props.search == "object" ? __props.search.debounce ?? 300 : void 0,
81
+ name: typeof __props.search == "object" ? __props.search.name ?? "search" : void 0,
82
+ placeholder: typeof __props.search == "object" && __props.search.placeholder ? __props.search.placeholder : messages.value.searchInput.placeholder,
83
83
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (event) => updateQuery(event))
84
84
  }), null, 16, ["id", "model-value", "color", "left-icon", "debounce", "name", "placeholder"])) : createCommentVNode("", !0)
85
85
  ], 8, _hoisted_2),
86
86
  createVNode(MazCardSpotlight, {
87
- color: _ctx.color,
88
- elevation: _ctx.elevation,
87
+ color: __props.color,
88
+ elevation: __props.elevation,
89
89
  padding: !1,
90
90
  "content-class": "card-content"
91
91
  }, {
@@ -109,13 +109,13 @@ import '../assets/MazChecklist.3fMAXT5e.css';const _hoisted_1 = { class: "m-chec
109
109
  }, [
110
110
  createVNode(MazCheckbox, {
111
111
  id: `${unref(id)}-checklist-item-${item.value}`,
112
- "model-value": _ctx.modelValue,
112
+ "model-value": __props.modelValue,
113
113
  value: item.value,
114
- color: _ctx.color,
114
+ color: __props.color,
115
115
  "onUpdate:modelValue": _cache[1] || (_cache[1] = (event) => emits("update:model-value", event))
116
116
  }, null, 8, ["id", "model-value", "value", "color"]),
117
117
  renderSlot(_ctx.$slots, "item", {
118
- selectedValues: _ctx.modelValue,
118
+ selectedValues: __props.modelValue,
119
119
  item
120
120
  }, () => [
121
121
  createElementVNode("span", _hoisted_8, toDisplayString(item.label), 1)
@@ -43,10 +43,10 @@ import '../assets/MazCircularProgressBar.BYf6ZShT.css';const _hoisted_1 = { clas
43
43
  {
44
44
  "--animation-duration": animationDuration.value,
45
45
  "--dashoffset": dashoffset.value,
46
- "--delay": `${_ctx.delay}ms`
46
+ "--delay": `${__props.delay}ms`
47
47
  },
48
48
  {
49
- fontSize: _ctx.size
49
+ fontSize: __props.size
50
50
  }
51
51
  ])
52
52
  }, [
@@ -56,16 +56,16 @@ import '../assets/MazCircularProgressBar.BYf6ZShT.css';const _hoisted_1 = { clas
56
56
  renderSlot(_ctx.$slots, "default", {}, void 0, !0)
57
57
  ])) : (openBlock(), createBlock(unref(MazAnimatedCounter), {
58
58
  key: 1,
59
- count: _ctx.percentage,
60
- duration: _ctx.duration,
61
- delay: _ctx.delay,
62
- once: _ctx.once
59
+ count: __props.percentage,
60
+ duration: __props.duration,
61
+ delay: __props.delay,
62
+ once: __props.once
63
63
  }, createSlots({ _: 2 }, [
64
64
  hasPrefix.value ? {
65
65
  name: "prefix",
66
66
  fn: withCtx(() => [
67
67
  renderSlot(_ctx.$slots, "prefix", {}, () => [
68
- createTextVNode(toDisplayString(_ctx.prefix), 1)
68
+ createTextVNode(toDisplayString(__props.prefix), 1)
69
69
  ], !0)
70
70
  ]),
71
71
  key: "0"
@@ -74,7 +74,7 @@ import '../assets/MazCircularProgressBar.BYf6ZShT.css';const _hoisted_1 = { clas
74
74
  name: "suffix",
75
75
  fn: withCtx(() => [
76
76
  renderSlot(_ctx.$slots, "suffix", {}, () => [
77
- createTextVNode(toDisplayString(_ctx.suffix), 1)
77
+ createTextVNode(toDisplayString(__props.suffix), 1)
78
78
  ], !0)
79
79
  ]),
80
80
  key: "1"
@@ -115,12 +115,12 @@ import '../assets/MazCircularProgressBar.BYf6ZShT.css';const _hoisted_1 = { clas
115
115
  cx: "50",
116
116
  cy: "50",
117
117
  r: "46",
118
- "stroke-width": _ctx.strokeWidth,
118
+ "stroke-width": __props.strokeWidth,
119
119
  "stroke-dasharray": "290",
120
120
  "stroke-dashoffset": hasBeenAnimated.value ? dashoffset.value : 290,
121
- stroke: _ctx.stroke ? _ctx.stroke : `url(#${unref(id)}-gradient)`,
121
+ stroke: __props.stroke ? __props.stroke : `url(#${unref(id)}-gradient)`,
122
122
  fill: "none",
123
- "stroke-linecap": _ctx.strokeLinecap
123
+ "stroke-linecap": __props.strokeLinecap
124
124
  }, null, 8, _hoisted_7)
125
125
  ], 2))
126
126
  ], 4));
@@ -1,4 +1,4 @@
1
- import { M } from "../chunks/MazDatePicker.C5f1ViA8.js";
1
+ import { M } from "../chunks/MazDatePicker.CYfNHwnV.js";
2
2
  import "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
3
3
  export {
4
4
  M as default
@@ -55,13 +55,13 @@ import '../assets/MazDialog.Cm3xd1Xp.css';const _hoisted_1 = {
55
55
  }), (_ctx, _cache) => (openBlock(), createBlock(MazBackdrop, mergeProps(backdropProps, {
56
56
  ref_key: "backdrop",
57
57
  ref: backdrop,
58
- "model-value": _ctx.modelValue,
58
+ "model-value": __props.modelValue,
59
59
  "transition-name": "modal-anim",
60
60
  "aria-labelledby": "dialogTitle",
61
61
  "aria-describedby": "dialogDesc",
62
- "close-on-escape": _ctx.closeOnEscape,
62
+ "close-on-escape": __props.closeOnEscape,
63
63
  "content-padding": "",
64
- persistent: _ctx.persistent,
64
+ persistent: __props.persistent,
65
65
  justify: "center",
66
66
  variant: "dialog",
67
67
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close", $event)),
@@ -70,21 +70,21 @@ import '../assets/MazDialog.Cm3xd1Xp.css';const _hoisted_1 = {
70
70
  }), {
71
71
  default: withCtx(({ close }) => [
72
72
  createElementVNode("div", mergeProps({
73
- class: ["m-dialog", { "--scrollable": _ctx.scrollable }],
73
+ class: ["m-dialog", { "--scrollable": __props.scrollable }],
74
74
  role: "dialog",
75
75
  "aria-modal": "true",
76
- style: [{ "--max-width": _ctx.maxWidth, "--min-width": _ctx.minWidth }]
76
+ style: [{ "--max-width": __props.maxWidth, "--min-width": __props.minWidth }]
77
77
  }, wrapperAttrs.value), [
78
78
  renderSlot(_ctx.$slots, "header", { close }, () => [
79
79
  createElementVNode("div", {
80
- class: normalizeClass(["m-dialog-header", { "--has-title": _ctx.$slots.title || _ctx.title }])
80
+ class: normalizeClass(["m-dialog-header", { "--has-title": _ctx.$slots.title || __props.title }])
81
81
  }, [
82
- _ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("h2", _hoisted_1, [
82
+ _ctx.$slots.title || __props.title ? (openBlock(), createElementBlock("h2", _hoisted_1, [
83
83
  renderSlot(_ctx.$slots, "title", {}, () => [
84
- createTextVNode(toDisplayString(_ctx.title), 1)
84
+ createTextVNode(toDisplayString(__props.title), 1)
85
85
  ], !0)
86
86
  ])) : createCommentVNode("", !0),
87
- !_ctx.hideCloseButton && !_ctx.persistent ? (openBlock(), createBlock(unref(MazBtn), {
87
+ !__props.hideCloseButton && !__props.persistent ? (openBlock(), createBlock(unref(MazBtn), {
88
88
  key: 1,
89
89
  color: "transparent",
90
90
  size: "sm",
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js";
2
- import { u } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js";
1
+ import { _ as _sfc_main } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.BaOg5MoP.js";
2
+ import { u } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.BaOg5MoP.js";
3
3
  export {
4
4
  _sfc_main as default,
5
5
  u as useMazDialogConfirm
@@ -18,11 +18,11 @@ import '../assets/MazDrawer.CtOq-ucH.css';const _hoisted_1 = { class: "m-drawer-
18
18
  setup(__props) {
19
19
  const props = __props, MazBtn = defineAsyncComponent(() => import("./MazBtn.js")), justify = computed(() => props.variant === "left" ? "start" : props.variant === "right" ? "end" : "none"), align = computed(() => props.variant === "top" ? "start" : props.variant === "bottom" ? "end" : "none"), slots = useSlots(), hasTitle = computed(() => !!(props.title || slots.title));
20
20
  return (_ctx, _cache) => (openBlock(), createBlock(MazBackdrop, {
21
- "backdrop-class": ["m-drawer", _ctx.backdropClass],
21
+ "backdrop-class": ["m-drawer", __props.backdropClass],
22
22
  justify: justify.value,
23
23
  align: align.value,
24
24
  variant: "drawer",
25
- "transition-name": `drawer-anim-${_ctx.variant}`,
25
+ "transition-name": `drawer-anim-${__props.variant}`,
26
26
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close")),
27
27
  onOpen: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("open")),
28
28
  onBeforeClose: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("before-close")),
@@ -30,9 +30,9 @@ import '../assets/MazDrawer.CtOq-ucH.css';const _hoisted_1 = { class: "m-drawer-
30
30
  }, {
31
31
  default: withCtx(({ close }) => [
32
32
  createElementVNode("div", {
33
- class: normalizeClass(["m-drawer-content-wrap", [`--${_ctx.variant}`]]),
33
+ class: normalizeClass(["m-drawer-content-wrap", [`--${__props.variant}`]]),
34
34
  style: normalizeStyle({
35
- "--maz-drawer-size": _ctx.size
35
+ "--maz-drawer-size": __props.size
36
36
  })
37
37
  }, [
38
38
  createElementVNode("header", {
@@ -40,10 +40,10 @@ import '../assets/MazDrawer.CtOq-ucH.css';const _hoisted_1 = { class: "m-drawer-
40
40
  }, [
41
41
  createElementVNode("h4", _hoisted_1, [
42
42
  renderSlot(_ctx.$slots, "title", { close }, () => [
43
- createTextVNode(toDisplayString(_ctx.title), 1)
43
+ createTextVNode(toDisplayString(__props.title), 1)
44
44
  ], !0)
45
45
  ]),
46
- _ctx.hideCloseButton ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_2, [
46
+ __props.hideCloseButton ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_2, [
47
47
  createVNode(unref(MazBtn), {
48
48
  size: "sm",
49
49
  color: "transparent",
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.C5WEfuse.js";
1
+ import { _ as _sfc_main } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.qBaRy629.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };