maz-ui 3.22.4 → 3.23.1

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 (249) hide show
  1. package/components/MazAvatar.mjs +2 -2
  2. package/components/MazBackdrop.mjs +67 -107
  3. package/components/MazBadge.mjs +41 -50
  4. package/components/MazBottomSheet.mjs +2 -2
  5. package/components/MazBtn.mjs +2 -2
  6. package/components/MazCard.mjs +2 -2
  7. package/components/MazCarousel.mjs +2 -2
  8. package/components/MazChart.mjs +53 -63
  9. package/components/MazCheckbox.mjs +84 -128
  10. package/components/MazDialog.mjs +2 -2
  11. package/components/MazDialogPromise.mjs +3 -3
  12. package/components/MazDrawer.mjs +2 -2
  13. package/components/MazDropdown.mjs +2 -2
  14. package/components/MazDropzone.mjs +2 -2
  15. package/components/MazFullscreenLoader.mjs +14 -18
  16. package/components/MazGallery.mjs +352 -558
  17. package/components/MazIcon.mjs +76 -140
  18. package/components/MazInput.mjs +2 -2
  19. package/components/MazInputNumber.mjs +72 -99
  20. package/components/MazInputPrice.mjs +2 -2
  21. package/components/MazInputTags.mjs +2 -2
  22. package/components/MazLazyImg.mjs +2 -2
  23. package/components/MazPhoneNumberInput.mjs +2 -2
  24. package/components/MazPicker.mjs +2 -2
  25. package/components/MazRadio.mjs +65 -94
  26. package/components/MazRadioButtons.mjs +64 -78
  27. package/components/MazSelect.mjs +2 -2
  28. package/components/MazSlider.mjs +213 -325
  29. package/components/MazSpinner.mjs +25 -34
  30. package/components/MazStepper.mjs +2 -2
  31. package/components/MazSwitch.mjs +43 -60
  32. package/components/MazTabs.mjs +16 -25
  33. package/components/MazTabsBar.mjs +2 -2
  34. package/components/MazTabsContent.mjs +34 -43
  35. package/components/MazTabsContentItem.mjs +49 -63
  36. package/components/MazTextarea.mjs +124 -169
  37. package/components/MazTransitionExpand.mjs +36 -54
  38. package/components/assets/MazBackdrop.css +1 -1
  39. package/components/assets/MazBottomSheet.css +1 -1
  40. package/components/assets/MazDialog.css +1 -1
  41. package/components/assets/MazDialogPromise.css +1 -1
  42. package/components/assets/MazDrawer.css +1 -1
  43. package/components/assets/MazPhoneNumberInput.css +1 -1
  44. package/components/assets/MazSelect.css +1 -1
  45. package/components/chunks/MazAvatar-1636f58b.mjs +126 -0
  46. package/components/chunks/MazBottomSheet-c24f92f8.mjs +217 -0
  47. package/components/chunks/MazBtn-124f3700.mjs +153 -0
  48. package/components/chunks/MazBtn-1e61862b.mjs +153 -0
  49. package/components/chunks/MazBtn-2d1d1ba5.mjs +153 -0
  50. package/components/chunks/MazBtn-3d74f737.mjs +153 -0
  51. package/components/chunks/MazBtn-4a447126.mjs +153 -0
  52. package/components/chunks/MazBtn-555928ed.mjs +153 -0
  53. package/components/chunks/MazBtn-571454f6.mjs +153 -0
  54. package/components/chunks/MazBtn-5e426592.mjs +153 -0
  55. package/components/chunks/MazBtn-683effc1.mjs +153 -0
  56. package/components/chunks/MazBtn-6905cc39.mjs +153 -0
  57. package/components/chunks/MazBtn-6ce4cfd3.mjs +153 -0
  58. package/components/chunks/MazBtn-74656d5b.mjs +153 -0
  59. package/components/chunks/MazBtn-7706b2da.mjs +158 -0
  60. package/components/chunks/MazBtn-a7a913dd.mjs +153 -0
  61. package/components/chunks/MazBtn-fb3c7af8.mjs +153 -0
  62. package/components/chunks/MazCard-bcc36489.mjs +214 -0
  63. package/components/chunks/MazCarousel-6da75122.mjs +107 -0
  64. package/components/chunks/MazCheckbox-040dc2c4.mjs +117 -0
  65. package/components/chunks/MazCheckbox-3a2b48b4.mjs +117 -0
  66. package/components/chunks/MazDialog-44eda544.mjs +250 -0
  67. package/components/chunks/MazDialogPromise-eec5acde.mjs +419 -0
  68. package/components/chunks/MazDrawer-b628b37e.mjs +206 -0
  69. package/components/chunks/MazDropdown-6f2248b0.mjs +345 -0
  70. package/components/chunks/MazDropzone-8cac10a6.mjs +242 -0
  71. package/components/chunks/MazGallery-6b8ecedf.mjs +617 -0
  72. package/components/chunks/MazIcon-52a76873.mjs +101 -0
  73. package/components/chunks/MazIcon-95e31ff8.mjs +96 -0
  74. package/components/chunks/MazInput-1ed4f946.mjs +283 -0
  75. package/components/chunks/MazInput-8a217995.mjs +271 -0
  76. package/components/chunks/MazInput-c51881ea.mjs +278 -0
  77. package/components/chunks/MazInputPrice-cd348d46.mjs +392 -0
  78. package/components/chunks/MazInputTags-aa95fae7.mjs +446 -0
  79. package/components/chunks/MazLazyImg-0412ab38.mjs +259 -0
  80. package/components/chunks/MazLazyImg-47d3449a.mjs +254 -0
  81. package/components/chunks/MazPhoneNumberInput-e1bf46f9.mjs +1216 -0
  82. package/components/chunks/MazPicker-e4620d8b.mjs +1140 -0
  83. package/components/chunks/MazPickerCalendar-da62262c.mjs +535 -0
  84. package/components/chunks/MazPickerHeader-a2e041eb.mjs +186 -0
  85. package/components/chunks/MazPickerMonthSwitcher-5bf8bd08.mjs +97 -0
  86. package/components/chunks/MazPickerShortcuts-7f95430e.mjs +74 -0
  87. package/components/chunks/MazPickerTime-717402ae.mjs +219 -0
  88. package/components/chunks/MazPickerYearSwitcher-85f97b6d.mjs +106 -0
  89. package/components/chunks/MazSelect-6ff6bb96.mjs +652 -0
  90. package/components/chunks/MazSpinner-054f948c.mjs +39 -0
  91. package/components/chunks/MazSpinner-059ee1d2.mjs +39 -0
  92. package/components/chunks/MazSpinner-08ee440b.mjs +39 -0
  93. package/components/chunks/MazSpinner-13403729.mjs +39 -0
  94. package/components/chunks/MazSpinner-44011019.mjs +39 -0
  95. package/components/chunks/MazSpinner-452a1534.mjs +39 -0
  96. package/components/chunks/MazSpinner-4c02cfd2.mjs +39 -0
  97. package/components/chunks/MazSpinner-51aa73ca.mjs +39 -0
  98. package/components/chunks/MazSpinner-6d1d24d5.mjs +39 -0
  99. package/components/chunks/MazSpinner-6e7c4705.mjs +39 -0
  100. package/components/chunks/MazSpinner-7895f54f.mjs +39 -0
  101. package/components/chunks/MazSpinner-7eee202e.mjs +39 -0
  102. package/components/chunks/MazSpinner-805e14a6.mjs +39 -0
  103. package/components/chunks/MazSpinner-85080b43.mjs +39 -0
  104. package/components/chunks/MazSpinner-a13a50c9.mjs +39 -0
  105. package/components/chunks/MazSpinner-a6d61cee.mjs +43 -0
  106. package/components/chunks/MazSpinner-c67b05bb.mjs +39 -0
  107. package/components/chunks/MazSpinner-caa33afc.mjs +39 -0
  108. package/components/chunks/MazSpinner-cb8fbe9a.mjs +39 -0
  109. package/components/chunks/MazSpinner-d9ef329f.mjs +39 -0
  110. package/components/chunks/MazStepper-39f018f3.mjs +191 -0
  111. package/components/chunks/MazTabsBar-27965f16.mjs +132 -0
  112. package/components/chunks/MazTransitionExpand-55cfbecb.mjs +41 -0
  113. package/components/chunks/MazTransitionExpand-cd24498f.mjs +41 -0
  114. package/components/chunks/_plugin-vue_export-helper-dad06003.mjs +9 -0
  115. package/components/chunks/check-31d7ba2f.mjs +30 -0
  116. package/components/chunks/check-c9b483c0.mjs +30 -0
  117. package/components/chunks/{check-circle-7acfa4c4.mjs → check-circle-59c383ed.mjs} +10 -12
  118. package/components/chunks/chevron-down-2b60111a.mjs +30 -0
  119. package/components/chunks/chevron-left-39b4621e.mjs +30 -0
  120. package/components/chunks/chevron-right-949a60fa.mjs +30 -0
  121. package/components/chunks/debounce-19c516b6.mjs +11 -0
  122. package/components/chunks/examples.mobile.json-f63d22fb.mjs +4 -0
  123. package/components/chunks/{exclamation-circle-2e115536.mjs → exclamation-circle-e2620aab.mjs} +10 -12
  124. package/components/chunks/{exclamation-triangle-10eb48dc.mjs → exclamation-triangle-21bf116a.mjs} +10 -12
  125. package/components/chunks/{eye-fbb13657.mjs → eye-dc12ce09.mjs} +12 -15
  126. package/components/chunks/{eye-slash-342420ff.mjs → eye-slash-fa42a017.mjs} +10 -12
  127. package/components/chunks/{magnifying-glass-5dffa35e.mjs → magnifying-glass-908981c0.mjs} +10 -12
  128. package/components/chunks/minus-e71140e1.mjs +30 -0
  129. package/components/chunks/no-photography-4c6c77cf.mjs +4 -0
  130. package/components/chunks/{no-photography-b0d08d6f.mjs → no-photography-be94ddda.mjs} +12 -15
  131. package/components/chunks/{no-symbol-975ce547.mjs → no-symbol-87477ad0.mjs} +10 -12
  132. package/components/chunks/{pencil-2f766dc8.mjs → pencil-4c35b4e7.mjs} +10 -12
  133. package/components/chunks/plus-c20544c3.mjs +30 -0
  134. package/components/chunks/x-mark-35f2f1e7.mjs +30 -0
  135. package/components/chunks/x-mark-7761acf4.mjs +29 -0
  136. package/modules/chunks/MazBtn-2f302422.cjs +1 -0
  137. package/modules/chunks/MazBtn-760c3b29.mjs +153 -0
  138. package/modules/chunks/MazIcon-0bd6b78e.mjs +96 -0
  139. package/modules/chunks/MazIcon-599a907f.cjs +1 -0
  140. package/modules/chunks/MazSpinner-03bd76bd.mjs +39 -0
  141. package/modules/chunks/MazSpinner-6ffa8db1.cjs +1 -0
  142. package/modules/chunks/{arrow-top-right-on-square-32bbe5a1.mjs → arrow-top-right-on-square-15191934.mjs} +10 -12
  143. package/modules/chunks/arrow-top-right-on-square-8e4ea6e2.cjs +1 -0
  144. package/modules/chunks/chevron-left-36731110.cjs +1 -0
  145. package/modules/chunks/chevron-left-39b4621e.mjs +30 -0
  146. package/modules/chunks/index-6a90ef88.mjs +1618 -0
  147. package/modules/chunks/index-794680d2.cjs +124 -0
  148. package/modules/chunks/{link-4eb05848.mjs → link-bb14441d.mjs} +10 -12
  149. package/modules/chunks/link-c7791a2a.cjs +1 -0
  150. package/modules/chunks/no-photography-0f6fcaf4.cjs +1 -0
  151. package/modules/chunks/no-photography-4c6c77cf.mjs +4 -0
  152. package/modules/chunks/x-mark-35f2f1e7.mjs +30 -0
  153. package/modules/chunks/x-mark-a28deca5.cjs +1 -0
  154. package/modules/index.cjs +1 -0
  155. package/modules/index.mjs +42 -42
  156. package/nuxt/index.json +1 -1
  157. package/package.json +14 -4
  158. package/types/resolvers/index.d.ts +1 -0
  159. package/types/resolvers/unplugin-vue-components-resolver.d.ts +8 -0
  160. package/types/utils/index.d.ts +3 -0
  161. package/components/chunks/MazAvatar-358d78d4.mjs +0 -138
  162. package/components/chunks/MazBottomSheet-61090f4a.mjs +0 -267
  163. package/components/chunks/MazBtn-0e02f0da.mjs +0 -184
  164. package/components/chunks/MazBtn-1daf9063.mjs +0 -184
  165. package/components/chunks/MazBtn-2f4fa942.mjs +0 -184
  166. package/components/chunks/MazBtn-31c6b731.mjs +0 -184
  167. package/components/chunks/MazBtn-48382169.mjs +0 -184
  168. package/components/chunks/MazBtn-4e1e116e.mjs +0 -184
  169. package/components/chunks/MazBtn-50abc4c5.mjs +0 -184
  170. package/components/chunks/MazBtn-84e12b6a.mjs +0 -184
  171. package/components/chunks/MazBtn-b42e3575.mjs +0 -184
  172. package/components/chunks/MazBtn-b56a7278.mjs +0 -184
  173. package/components/chunks/MazBtn-bbd6e9c8.mjs +0 -184
  174. package/components/chunks/MazBtn-cf0c8fcb.mjs +0 -184
  175. package/components/chunks/MazBtn-d92908b2.mjs +0 -191
  176. package/components/chunks/MazBtn-f48da79c.mjs +0 -184
  177. package/components/chunks/MazBtn-fec4c3b7.mjs +0 -184
  178. package/components/chunks/MazCard-4331dca0.mjs +0 -237
  179. package/components/chunks/MazCarousel-7825c7c9.mjs +0 -133
  180. package/components/chunks/MazCheckbox-ab5ddda2.mjs +0 -153
  181. package/components/chunks/MazCheckbox-e0bbe6ec.mjs +0 -153
  182. package/components/chunks/MazDialog-83e54b8c.mjs +0 -290
  183. package/components/chunks/MazDialogPromise-6967e821.mjs +0 -474
  184. package/components/chunks/MazDrawer-d778b3d2.mjs +0 -256
  185. package/components/chunks/MazDropdown-6f4482d7.mjs +0 -426
  186. package/components/chunks/MazDropzone-d1bb62dc.mjs +0 -325
  187. package/components/chunks/MazGallery-b2dc4286.mjs +0 -821
  188. package/components/chunks/MazIcon-b779da0a.mjs +0 -159
  189. package/components/chunks/MazIcon-bda198b4.mjs +0 -165
  190. package/components/chunks/MazInput-713b00d0.mjs +0 -326
  191. package/components/chunks/MazInput-b9386887.mjs +0 -341
  192. package/components/chunks/MazInput-c33627dd.mjs +0 -334
  193. package/components/chunks/MazInputPrice-452297f5.mjs +0 -481
  194. package/components/chunks/MazInputTags-7a463b81.mjs +0 -526
  195. package/components/chunks/MazLazyImg-6e395356.mjs +0 -336
  196. package/components/chunks/MazLazyImg-e0d8b6d0.mjs +0 -329
  197. package/components/chunks/MazPhoneNumberInput-48fe2445.mjs +0 -1536
  198. package/components/chunks/MazPicker-50fc11d1.mjs +0 -1352
  199. package/components/chunks/MazPickerCalendar-cacb361c.mjs +0 -689
  200. package/components/chunks/MazPickerHeader-63d45179.mjs +0 -216
  201. package/components/chunks/MazPickerMonthSwitcher-913c6e2c.mjs +0 -110
  202. package/components/chunks/MazPickerShortcuts-c6fabfc6.mjs +0 -88
  203. package/components/chunks/MazPickerTime-5e4475da.mjs +0 -301
  204. package/components/chunks/MazPickerYearSwitcher-dd4fa89c.mjs +0 -125
  205. package/components/chunks/MazSelect-2e5cd411.mjs +0 -850
  206. package/components/chunks/MazSpinner-022d7bee.mjs +0 -46
  207. package/components/chunks/MazSpinner-100c99b8.mjs +0 -46
  208. package/components/chunks/MazSpinner-191ad23b.mjs +0 -46
  209. package/components/chunks/MazSpinner-3155378b.mjs +0 -46
  210. package/components/chunks/MazSpinner-339a9006.mjs +0 -46
  211. package/components/chunks/MazSpinner-53979e96.mjs +0 -46
  212. package/components/chunks/MazSpinner-68d2f2ac.mjs +0 -46
  213. package/components/chunks/MazSpinner-6b563b22.mjs +0 -46
  214. package/components/chunks/MazSpinner-7cdc13e7.mjs +0 -46
  215. package/components/chunks/MazSpinner-8859d658.mjs +0 -46
  216. package/components/chunks/MazSpinner-8e180605.mjs +0 -52
  217. package/components/chunks/MazSpinner-9950424b.mjs +0 -46
  218. package/components/chunks/MazSpinner-c8270a93.mjs +0 -46
  219. package/components/chunks/MazSpinner-cb491238.mjs +0 -46
  220. package/components/chunks/MazSpinner-cb6f99f3.mjs +0 -46
  221. package/components/chunks/MazSpinner-ce4be8f1.mjs +0 -46
  222. package/components/chunks/MazSpinner-e5a9f319.mjs +0 -46
  223. package/components/chunks/MazSpinner-e92bd359.mjs +0 -46
  224. package/components/chunks/MazSpinner-eea9056d.mjs +0 -46
  225. package/components/chunks/MazSpinner-f1e69f29.mjs +0 -46
  226. package/components/chunks/MazStepper-4c19dbfc.mjs +0 -255
  227. package/components/chunks/MazTabsBar-3c2e2d69.mjs +0 -157
  228. package/components/chunks/MazTransitionExpand-474b00d4.mjs +0 -57
  229. package/components/chunks/MazTransitionExpand-f9e5a2d6.mjs +0 -57
  230. package/components/chunks/_plugin-vue_export-helper-cc2b3d55.mjs +0 -10
  231. package/components/chunks/check-8da249b1.mjs +0 -32
  232. package/components/chunks/check-f2fcce10.mjs +0 -32
  233. package/components/chunks/chevron-down-a78b9604.mjs +0 -32
  234. package/components/chunks/chevron-left-3365d59b.mjs +0 -32
  235. package/components/chunks/chevron-right-02f9e837.mjs +0 -32
  236. package/components/chunks/debounce-7d66ffa9.mjs +0 -12
  237. package/components/chunks/examples.mobile.json-618ba782.mjs +0 -4
  238. package/components/chunks/minus-c9cdee90.mjs +0 -32
  239. package/components/chunks/no-photography-7f2be516.mjs +0 -4
  240. package/components/chunks/plus-b1b0a5a8.mjs +0 -32
  241. package/components/chunks/x-mark-3b05101b.mjs +0 -31
  242. package/components/chunks/x-mark-c6ff45dd.mjs +0 -32
  243. package/modules/chunks/MazBtn-90ffd148.mjs +0 -184
  244. package/modules/chunks/MazIcon-988edef7.mjs +0 -159
  245. package/modules/chunks/MazSpinner-a16a3d8f.mjs +0 -46
  246. package/modules/chunks/chevron-left-3365d59b.mjs +0 -32
  247. package/modules/chunks/index-b1625fc2.mjs +0 -2315
  248. package/modules/chunks/no-photography-7f2be516.mjs +0 -4
  249. package/modules/chunks/x-mark-c6ff45dd.mjs +0 -32
@@ -1,157 +0,0 @@
1
- import "../assets/MazTabsBar.css";
2
- import { inject, defineComponent, defineAsyncComponent, ref, computed, onBeforeMount, onMounted, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, unref, normalizeStyle, withCtx, createTextVNode, toDisplayString, createElementVNode } from "vue";
3
- function injectStrict(key, fallback) {
4
- const resolved = inject(key, fallback);
5
- if (!resolved) {
6
- throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${key}`);
7
- }
8
- return resolved;
9
- }
10
- const _sfc_main = /* @__PURE__ */ defineComponent({
11
- __name: "MazTabsBar",
12
- props: {
13
- items: { type: Array, required: true },
14
- useAnchor: { type: Boolean, default: false },
15
- color: { type: String, default: "primary" },
16
- noRounded: { type: Boolean, default: false }
17
- },
18
- setup(__props) {
19
- const MazBtn = defineAsyncComponent(() => import("./MazBtn-bbd6e9c8.mjs"));
20
- function toKebabCase(input) {
21
- return input.replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/[\s_]+/g, "-").toLowerCase();
22
- }
23
- const getIndexOfCurrentAnchor = (tabs, value) => {
24
- if (typeof window === "undefined")
25
- return value;
26
- const anchor = window.location.hash.replace("#", "");
27
- const index = tabs.findIndex(({ label }) => toKebabCase(label) === anchor);
28
- return index === -1 ? 1 : index + 1;
29
- };
30
- const { currentTab, updateCurrentTab } = injectStrict("maz-tabs");
31
- const props = __props;
32
- const MazTabsBar2 = ref();
33
- const itemRefs = ref([]);
34
- function addElementToItemRefs({
35
- mazBtn,
36
- index
37
- }) {
38
- if (mazBtn && "$el" in mazBtn) {
39
- itemRefs.value[index] = mazBtn.$el;
40
- }
41
- }
42
- const normalizedItems = computed(
43
- () => props.items.map((item) => ({
44
- label: typeof item === "string" ? item : item.label,
45
- disabled: typeof item === "string" ? false : item.disabled ?? false
46
- }))
47
- );
48
- const tabsIndicatorState = computed(() => {
49
- if (typeof currentTab.value !== "number") {
50
- return {};
51
- }
52
- const tabItemActive = itemRefs.value[currentTab.value - 1];
53
- const indicatorWidth = (tabItemActive == null ? void 0 : tabItemActive.clientWidth) ?? 0;
54
- const translateXValue = (tabItemActive == null ? void 0 : tabItemActive.offsetLeft) ?? 0;
55
- return {
56
- transform: `translateX(${translateXValue}px)`,
57
- width: `${indicatorWidth}px`
58
- };
59
- });
60
- function getTabStyle(index) {
61
- return currentTab.value === index ? `color: var(--maz-color-${props.color})` : "";
62
- }
63
- onBeforeMount(() => {
64
- if (currentTab.value < 1 || currentTab.value > normalizedItems.value.length) {
65
- console.error(
66
- `[maz-ui](MazTabsBar) The model-value should be between 1 and ${normalizedItems.value.length}`
67
- );
68
- }
69
- });
70
- onMounted(async () => {
71
- if (props.useAnchor) {
72
- updateCurrentTab(getIndexOfCurrentAnchor(normalizedItems.value, currentTab.value) ?? 1);
73
- }
74
- });
75
- return (_ctx, _cache) => {
76
- return openBlock(), createElementBlock(
77
- "div",
78
- {
79
- ref_key: "MazTabsBar",
80
- ref: MazTabsBar2,
81
- class: normalizeClass(["m-tabs-bar", {
82
- "--no-rounded": __props.noRounded
83
- }])
84
- },
85
- [
86
- (openBlock(true), createElementBlock(
87
- Fragment,
88
- null,
89
- renderList(normalizedItems.value, ({ label, disabled }, index) => {
90
- return openBlock(), createBlock(unref(MazBtn), {
91
- key: index,
92
- ref_for: true,
93
- ref: (mazBtn) => addElementToItemRefs({ mazBtn, index }),
94
- color: "transparent",
95
- class: normalizeClass([{ "--active": unref(currentTab) === index, "--disabled": disabled }, "m-tabs-bar__item --no-styling"]),
96
- disabled,
97
- to: __props.useAnchor && !disabled ? `#${toKebabCase(label)}` : void 0,
98
- style: normalizeStyle(getTabStyle(index + 1)),
99
- "no-rounded": "",
100
- onClick: ($event) => unref(updateCurrentTab)(index + 1)
101
- }, {
102
- default: withCtx(() => [
103
- createTextVNode(
104
- toDisplayString(label),
105
- 1
106
- /* TEXT */
107
- )
108
- ]),
109
- _: 2
110
- /* DYNAMIC */
111
- }, 1032, ["class", "disabled", "to", "style", "onClick"]);
112
- }),
113
- 128
114
- /* KEYED_FRAGMENT */
115
- )),
116
- createElementVNode(
117
- "div",
118
- {
119
- style: normalizeStyle(tabsIndicatorState.value),
120
- class: "m-tabs-bar__indicator"
121
- },
122
- [
123
- createElementVNode(
124
- "div",
125
- {
126
- class: "m-sub-bar",
127
- style: normalizeStyle({ backgroundColor: `var(--maz-color-${__props.color})` })
128
- },
129
- null,
130
- 4
131
- /* STYLE */
132
- )
133
- ],
134
- 4
135
- /* STYLE */
136
- )
137
- ],
138
- 2
139
- /* CLASS */
140
- );
141
- };
142
- }
143
- });
144
- const MazTabsBar_vue_vue_type_style_index_0_scoped_784ac8f6_lang = "";
145
- const _export_sfc = (sfc, props) => {
146
- const target = sfc.__vccOpts || sfc;
147
- for (const [key, val] of props) {
148
- target[key] = val;
149
- }
150
- return target;
151
- };
152
- const MazTabsBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-784ac8f6"]]);
153
- export {
154
- MazTabsBar as M,
155
- _export_sfc as _,
156
- injectStrict as i
157
- };
@@ -1,57 +0,0 @@
1
- import "../assets/MazTransitionExpand.css";
2
- import { defineComponent, openBlock, createBlock, TransitionGroup, withCtx, renderSlot, nextTick } from "vue";
3
- import { _ as _export_sfc } from "./MazCard-4331dca0.mjs";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "MazTransitionExpand",
6
- setup(__props) {
7
- const enter = (element) => {
8
- const width = getComputedStyle(element).width;
9
- element.style.width = width;
10
- element.style.position = "absolute";
11
- element.style.visibility = "hidden";
12
- element.style.height = "auto";
13
- element.style.top = "bottom";
14
- const height = getComputedStyle(element).height;
15
- element.style.width = "";
16
- element.style.position = "";
17
- element.style.visibility = "";
18
- element.style.height = "0px";
19
- getComputedStyle(element).height;
20
- nextTick(() => {
21
- element.style.height = height;
22
- });
23
- };
24
- const afterEnter = (element) => {
25
- element.style.height = "auto";
26
- };
27
- const leave = (element) => {
28
- const height = getComputedStyle(element).height;
29
- element.style.height = height;
30
- getComputedStyle(element).height;
31
- nextTick(() => {
32
- element.style.height = "0px";
33
- });
34
- };
35
- return (_ctx, _cache) => {
36
- return openBlock(), createBlock(TransitionGroup, {
37
- class: "m-transition-expand",
38
- name: "maz-expand",
39
- tag: "div",
40
- onEnter: _cache[0] || (_cache[0] = (el) => enter(el)),
41
- onAfterEnter: _cache[1] || (_cache[1] = (el) => afterEnter(el)),
42
- onLeave: _cache[2] || (_cache[2] = (el) => leave(el))
43
- }, {
44
- default: withCtx(() => [
45
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
46
- ]),
47
- _: 3
48
- /* FORWARDED */
49
- });
50
- };
51
- }
52
- });
53
- const MazTransitionExpand_vue_vue_type_style_index_0_scoped_3182ea88_lang = "";
54
- const MazTransitionExpand = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3182ea88"]]);
55
- export {
56
- MazTransitionExpand as default
57
- };
@@ -1,57 +0,0 @@
1
- import "../assets/MazTransitionExpand.css";
2
- import { defineComponent, openBlock, createBlock, TransitionGroup, withCtx, renderSlot, nextTick } from "vue";
3
- import { _ as _export_sfc } from "./MazStepper-4c19dbfc.mjs";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "MazTransitionExpand",
6
- setup(__props) {
7
- const enter = (element) => {
8
- const width = getComputedStyle(element).width;
9
- element.style.width = width;
10
- element.style.position = "absolute";
11
- element.style.visibility = "hidden";
12
- element.style.height = "auto";
13
- element.style.top = "bottom";
14
- const height = getComputedStyle(element).height;
15
- element.style.width = "";
16
- element.style.position = "";
17
- element.style.visibility = "";
18
- element.style.height = "0px";
19
- getComputedStyle(element).height;
20
- nextTick(() => {
21
- element.style.height = height;
22
- });
23
- };
24
- const afterEnter = (element) => {
25
- element.style.height = "auto";
26
- };
27
- const leave = (element) => {
28
- const height = getComputedStyle(element).height;
29
- element.style.height = height;
30
- getComputedStyle(element).height;
31
- nextTick(() => {
32
- element.style.height = "0px";
33
- });
34
- };
35
- return (_ctx, _cache) => {
36
- return openBlock(), createBlock(TransitionGroup, {
37
- class: "m-transition-expand",
38
- name: "maz-expand",
39
- tag: "div",
40
- onEnter: _cache[0] || (_cache[0] = (el) => enter(el)),
41
- onAfterEnter: _cache[1] || (_cache[1] = (el) => afterEnter(el)),
42
- onLeave: _cache[2] || (_cache[2] = (el) => leave(el))
43
- }, {
44
- default: withCtx(() => [
45
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
46
- ]),
47
- _: 3
48
- /* FORWARDED */
49
- });
50
- };
51
- }
52
- });
53
- const MazTransitionExpand_vue_vue_type_style_index_0_scoped_3182ea88_lang = "";
54
- const MazTransitionExpand = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3182ea88"]]);
55
- export {
56
- MazTransitionExpand as default
57
- };
@@ -1,10 +0,0 @@
1
- const _export_sfc = (sfc, props) => {
2
- const target = sfc.__vccOpts || sfc;
3
- for (const [key, val] of props) {
4
- target[key] = val;
5
- }
6
- return target;
7
- };
8
- export {
9
- _export_sfc as _
10
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "m4.5 12.75 6 6 9-13.5"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const CheckIcon = { render };
29
- export {
30
- CheckIcon as default,
31
- render
32
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "m4.5 12.75 6 6 9-13.5"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const check = { render };
29
- export {
30
- check as default,
31
- render
32
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "m19.5 8.25-7.5 7.5-7.5-7.5"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const chevronDown = { render };
29
- export {
30
- chevronDown as default,
31
- render
32
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "M15.75 19.5 8.25 12l7.5-7.5"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const chevronLeft = { render };
29
- export {
30
- chevronLeft as default,
31
- render
32
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "m8.25 4.5 7.5 7.5-7.5 7.5"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const chevronRight = { render };
29
- export {
30
- chevronRight as default,
31
- render
32
- };
@@ -1,12 +0,0 @@
1
- function debounce(fn, delay) {
2
- let timeout;
3
- return function(...args) {
4
- clearTimeout(timeout);
5
- timeout = setTimeout(() => {
6
- fn.apply(this, args);
7
- }, delay);
8
- };
9
- }
10
- export {
11
- debounce as d
12
- };
@@ -1,4 +0,0 @@
1
- const examples_mobile_json = { "AC": "40123", "AD": "312345", "AE": "501234567", "AF": "701234567", "AG": "2684641234", "AI": "2642351234", "AL": "672123456", "AM": "77123456", "AO": "923123456", "AR": "91123456789", "AS": "6847331234", "AT": "664123456", "AU": "412345678", "AW": "5601234", "AX": "412345678", "AZ": "401234567", "BA": "61123456", "BB": "2462501234", "BD": "1812345678", "BE": "470123456", "BF": "70123456", "BG": "43012345", "BH": "36001234", "BI": "79561234", "BJ": "90011234", "BL": "690001234", "BM": "4413701234", "BN": "7123456", "BO": "71234567", "BQ": "3181234", "BR": "11961234567", "BS": "2423591234", "BT": "17123456", "BW": "71123456", "BY": "294911911", "BZ": "6221234", "CA": "5062345678", "CC": "412345678", "CD": "991234567", "CF": "70012345", "CG": "061234567", "CH": "781234567", "CI": "0123456789", "CK": "71234", "CL": "221234567", "CM": "671234567", "CN": "13123456789", "CO": "3211234567", "CR": "83123456", "CU": "51234567", "CV": "9911234", "CW": "95181234", "CX": "412345678", "CY": "96123456", "CZ": "601123456", "DE": "15123456789", "DJ": "77831001", "DK": "32123456", "DM": "7672251234", "DO": "8092345678", "DZ": "551234567", "EC": "991234567", "EE": "51234567", "EG": "1001234567", "EH": "650123456", "ER": "7123456", "ES": "612345678", "ET": "911234567", "FI": "412345678", "FJ": "7012345", "FK": "51234", "FM": "3501234", "FO": "211234", "FR": "612345678", "GA": "06031234", "GB": "7400123456", "GD": "4734031234", "GE": "555123456", "GF": "694201234", "GG": "7781123456", "GH": "231234567", "GI": "57123456", "GL": "221234", "GM": "3012345", "GN": "601123456", "GP": "690001234", "GQ": "222123456", "GR": "6912345678", "GT": "51234567", "GU": "6713001234", "GW": "955012345", "GY": "6091234", "HK": "51234567", "HN": "91234567", "HR": "921234567", "HT": "34101234", "HU": "201234567", "ID": "812345678", "IE": "850123456", "IL": "502345678", "IM": "7924123456", "IN": "8123456789", "IO": "3801234", "IQ": "7912345678", "IR": "9123456789", "IS": "6111234", "IT": "3123456789", "JE": "7797712345", "JM": "8762101234", "JO": "790123456", "JP": "9012345678", "KE": "712123456", "KG": "700123456", "KH": "91234567", "KI": "72001234", "KM": "3212345", "KN": "8697652917", "KP": "1921234567", "KR": "1020000000", "KW": "50012345", "KY": "3453231234", "KZ": "7710009998", "LA": "2023123456", "LB": "71123456", "LC": "7582845678", "LI": "660234567", "LK": "712345678", "LR": "770123456", "LS": "50123456", "LT": "61234567", "LU": "628123456", "LV": "21234567", "LY": "912345678", "MA": "650123456", "MC": "612345678", "MD": "62112345", "ME": "67622901", "MF": "690001234", "MG": "321234567", "MH": "2351234", "MK": "72345678", "ML": "65012345", "MM": "92123456", "MN": "88123456", "MO": "66123456", "MP": "6702345678", "MQ": "696201234", "MR": "22123456", "MS": "6644923456", "MT": "96961234", "MU": "52512345", "MV": "7712345", "MW": "991234567", "MX": "12221234567", "MY": "123456789", "MZ": "821234567", "NA": "811234567", "NC": "751234", "NE": "93123456", "NF": "381234", "NG": "8021234567", "NI": "81234567", "NL": "612345678", "NO": "40612345", "NP": "9841234567", "NR": "5551234", "NU": "8884012", "NZ": "211234567", "OM": "92123456", "PA": "61234567", "PE": "912345678", "PF": "87123456", "PG": "70123456", "PH": "9051234567", "PK": "3012345678", "PL": "512345678", "PM": "551234", "PR": "7872345678", "PS": "599123456", "PT": "912345678", "PW": "6201234", "PY": "961456789", "QA": "33123456", "RE": "692123456", "RO": "712034567", "RS": "601234567", "RU": "9123456789", "RW": "720123456", "SA": "512345678", "SB": "7421234", "SC": "2510123", "SD": "911231234", "SE": "701234567", "SG": "81234567", "SH": "51234", "SI": "31234567", "SJ": "41234567", "SK": "912123456", "SL": "25123456", "SM": "66661212", "SN": "701234567", "SO": "71123456", "SR": "7412345", "SS": "977123456", "ST": "9812345", "SV": "70123456", "SX": "7215205678", "SY": "944567890", "SZ": "76123456", "TA": "8999", "TC": "6492311234", "TD": "63012345", "TG": "90112345", "TH": "812345678", "TJ": "917123456", "TK": "7290", "TL": "77212345", "TM": "66123456", "TN": "20123456", "TO": "7715123", "TR": "5012345678", "TT": "8682911234", "TV": "901234", "TW": "912345678", "TZ": "621234567", "UA": "501234567", "UG": "712345678", "US": "2015550123", "UY": "94231234", "UZ": "912345678", "VA": "3123456789", "VC": "7844301234", "VE": "4121234567", "VG": "2843001234", "VI": "3406421234", "VN": "912345678", "VU": "5912345", "WF": "821234", "WS": "7212345", "XK": "43201234", "YE": "712345678", "YT": "639012345", "ZA": "711234567", "ZM": "955123456", "ZW": "712345678" };
2
- export {
3
- examples_mobile_json as default
4
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "M19.5 12h-15"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const minus = { render };
29
- export {
30
- minus as default,
31
- render
32
- };
@@ -1,4 +0,0 @@
1
- const noPhotography = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlPSJub25lIiBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgZmlsbD0iY3VycmVudENvbG9yIgogIGFyaWEtaGlkZGVuPSJ0cnVlIj4KICA8Zz4KICAgIDxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIgLz4KICAgIDxnPgogICAgICA8cGF0aAogICAgICAgIGQ9Ik04LjksNi4wN0w3LjQ4LDQuNjZMOSwzaDZsMS44MywySDIwYzEuMSwwLDIsMC45LDIsMnYxMmMwLDAuMDUtMC4wMSwwLjEtMC4wMiwwLjE2TDIwLDE3LjE3VjdoLTQuMDVsLTEuODMtMkg5Ljg4IEw4LjksNi4wN3ogTTIwLjQ5LDIzLjMxTDE4LjE3LDIxSDRjLTEuMSwwLTItMC45LTItMlY3YzAtMC41OSwwLjI3LTEuMTIsMC42OC0xLjQ5bC0yLTJMMi4xLDIuMWwxOS44LDE5LjhMMjAuNDksMjMuMzF6IE05LjE5LDEyLjAyQzkuMDgsMTIuMzMsOSwxMi42NSw5LDEzYzAsMS42NiwxLjM0LDMsMywzYzAuMzUsMCwwLjY3LTAuMDgsMC45OC0wLjE5TDkuMTksMTIuMDJ6IE0xNi4xNywxOWwtMS42OC0xLjY4IEMxMy43NiwxNy43NSwxMi45MSwxOCwxMiwxOGMtMi43NiwwLTUtMi4yNC01LTVjMC0wLjkxLDAuMjUtMS43NiwwLjY4LTIuNDlMNC4xNyw3SDR2MTJIMTYuMTd6IE0xNC44MSwxMS45OGwyLjA3LDIuMDcgQzE2Ljk2LDEzLjcxLDE3LDEzLjM2LDE3LDEzYzAtMi43Ni0yLjI0LTUtNS01Yy0wLjM2LDAtMC43MSwwLjA0LTEuMDYsMC4xMmwyLjA3LDIuMDdDMTMuODUsMTAuNDksMTQuNTEsMTEuMTUsMTQuODEsMTEuOTh6IiAvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+";
2
- export {
3
- noPhotography as default
4
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "M12 4.5v15m7.5-7.5h-15"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const plus = { render };
29
- export {
30
- plus as default,
31
- render
32
- };
@@ -1,31 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "M6 18 18 6M6 6l12 12"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const XIcon = { render };
29
- export {
30
- XIcon as X
31
- };
@@ -1,32 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- width: "1em",
5
- height: "1em",
6
- fill: "none",
7
- viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
- "path",
11
- {
12
- stroke: "currentColor",
13
- "stroke-linecap": "round",
14
- "stroke-linejoin": "round",
15
- "stroke-width": "1.5",
16
- d: "M6 18 18 6M6 6l12 12"
17
- },
18
- null,
19
- -1
20
- /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
24
- ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
27
- }
28
- const xMark = { render };
29
- export {
30
- xMark as default,
31
- render
32
- };