maz-ui 3.22.3 → 3.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) 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.d.ts +41 -0
  17. package/components/MazGallery.mjs +370 -567
  18. package/components/MazIcon.mjs +76 -140
  19. package/components/MazInput.mjs +2 -2
  20. package/components/MazInputNumber.mjs +72 -99
  21. package/components/MazInputPrice.mjs +2 -2
  22. package/components/MazInputTags.mjs +2 -2
  23. package/components/MazLazyImg.mjs +2 -2
  24. package/components/MazPhoneNumberInput.mjs +2 -2
  25. package/components/MazPicker.mjs +2 -2
  26. package/components/MazRadio.mjs +65 -94
  27. package/components/MazRadioButtons.mjs +64 -78
  28. package/components/MazSelect.mjs +2 -2
  29. package/components/MazSlider.mjs +213 -325
  30. package/components/MazSpinner.mjs +25 -34
  31. package/components/MazStepper.mjs +2 -2
  32. package/components/MazSwitch.mjs +43 -60
  33. package/components/MazTabs.mjs +16 -25
  34. package/components/MazTabsBar.mjs +2 -2
  35. package/components/MazTabsContent.mjs +34 -43
  36. package/components/MazTabsContentItem.mjs +49 -63
  37. package/components/MazTextarea.mjs +124 -169
  38. package/components/MazTransitionExpand.mjs +36 -54
  39. package/components/assets/MazBackdrop.css +1 -1
  40. package/components/assets/MazBottomSheet.css +1 -1
  41. package/components/assets/MazDialog.css +1 -1
  42. package/components/assets/MazDialogPromise.css +1 -1
  43. package/components/assets/MazDrawer.css +1 -1
  44. package/components/assets/MazGallery.css +1 -1
  45. package/components/assets/MazPhoneNumberInput.css +1 -1
  46. package/components/assets/MazSelect.css +1 -1
  47. package/components/chunks/MazAvatar-1636f58b.mjs +126 -0
  48. package/components/chunks/MazBottomSheet-c24f92f8.mjs +217 -0
  49. package/components/chunks/MazBtn-124f3700.mjs +153 -0
  50. package/components/chunks/MazBtn-1e61862b.mjs +153 -0
  51. package/components/chunks/MazBtn-2d1d1ba5.mjs +153 -0
  52. package/components/chunks/MazBtn-3d74f737.mjs +153 -0
  53. package/components/chunks/MazBtn-4a447126.mjs +153 -0
  54. package/components/chunks/MazBtn-555928ed.mjs +153 -0
  55. package/components/chunks/MazBtn-571454f6.mjs +153 -0
  56. package/components/chunks/MazBtn-5e426592.mjs +153 -0
  57. package/components/chunks/MazBtn-6905cc39.mjs +153 -0
  58. package/components/chunks/MazBtn-6ce4cfd3.mjs +153 -0
  59. package/components/chunks/MazBtn-74656d5b.mjs +153 -0
  60. package/components/chunks/MazBtn-7706b2da.mjs +158 -0
  61. package/components/chunks/MazBtn-a7a913dd.mjs +153 -0
  62. package/components/chunks/MazBtn-ba27c61d.mjs +153 -0
  63. package/components/chunks/MazBtn-fb3c7af8.mjs +153 -0
  64. package/components/chunks/MazCard-bcc36489.mjs +214 -0
  65. package/components/chunks/MazCarousel-6da75122.mjs +107 -0
  66. package/components/chunks/MazCheckbox-040dc2c4.mjs +117 -0
  67. package/components/chunks/MazCheckbox-3a2b48b4.mjs +117 -0
  68. package/components/chunks/MazDialog-44eda544.mjs +250 -0
  69. package/components/chunks/MazDialogPromise-eec5acde.mjs +419 -0
  70. package/components/chunks/MazDrawer-b628b37e.mjs +206 -0
  71. package/components/chunks/MazDropdown-6f2248b0.mjs +345 -0
  72. package/components/chunks/MazDropzone-8cac10a6.mjs +242 -0
  73. package/components/chunks/MazGallery-6b8ecedf.mjs +617 -0
  74. package/components/chunks/MazIcon-52a76873.mjs +101 -0
  75. package/components/chunks/MazIcon-95e31ff8.mjs +96 -0
  76. package/components/chunks/MazInput-1ed4f946.mjs +283 -0
  77. package/components/chunks/MazInput-c51881ea.mjs +278 -0
  78. package/components/chunks/MazInput-e1373eaf.mjs +271 -0
  79. package/components/chunks/MazInputPrice-cd348d46.mjs +392 -0
  80. package/components/chunks/MazInputTags-aa95fae7.mjs +446 -0
  81. package/components/chunks/MazLazyImg-0412ab38.mjs +259 -0
  82. package/components/chunks/MazLazyImg-47d3449a.mjs +254 -0
  83. package/components/chunks/MazPhoneNumberInput-e1bf46f9.mjs +1216 -0
  84. package/components/chunks/MazPicker-c85774e5.mjs +1140 -0
  85. package/components/chunks/MazPickerCalendar-f5bbea58.mjs +532 -0
  86. package/components/chunks/MazPickerHeader-31a3619b.mjs +186 -0
  87. package/components/chunks/MazPickerMonthSwitcher-aaa759b9.mjs +97 -0
  88. package/components/chunks/MazPickerShortcuts-d0623e2d.mjs +74 -0
  89. package/components/chunks/MazPickerTime-de9cfc63.mjs +219 -0
  90. package/components/chunks/MazPickerYearSwitcher-746c84fc.mjs +106 -0
  91. package/components/chunks/MazSelect-6ff6bb96.mjs +652 -0
  92. package/components/chunks/MazSpinner-054f948c.mjs +39 -0
  93. package/components/chunks/MazSpinner-059ee1d2.mjs +39 -0
  94. package/components/chunks/MazSpinner-08ee440b.mjs +39 -0
  95. package/components/chunks/MazSpinner-13403729.mjs +39 -0
  96. package/components/chunks/MazSpinner-44011019.mjs +39 -0
  97. package/components/chunks/MazSpinner-452a1534.mjs +39 -0
  98. package/components/chunks/MazSpinner-4c02cfd2.mjs +39 -0
  99. package/components/chunks/MazSpinner-6d1d24d5.mjs +39 -0
  100. package/components/chunks/MazSpinner-6e7c4705.mjs +39 -0
  101. package/components/chunks/MazSpinner-7895f54f.mjs +39 -0
  102. package/components/chunks/MazSpinner-7eee202e.mjs +39 -0
  103. package/components/chunks/MazSpinner-805e14a6.mjs +39 -0
  104. package/components/chunks/MazSpinner-85080b43.mjs +39 -0
  105. package/components/chunks/MazSpinner-a13a50c9.mjs +39 -0
  106. package/components/chunks/MazSpinner-a6d61cee.mjs +43 -0
  107. package/components/chunks/MazSpinner-b065168a.mjs +39 -0
  108. package/components/chunks/MazSpinner-c67b05bb.mjs +39 -0
  109. package/components/chunks/MazSpinner-caa33afc.mjs +39 -0
  110. package/components/chunks/MazSpinner-cb8fbe9a.mjs +39 -0
  111. package/components/chunks/MazSpinner-d9ef329f.mjs +39 -0
  112. package/components/chunks/MazStepper-39f018f3.mjs +191 -0
  113. package/components/chunks/MazTabsBar-27965f16.mjs +132 -0
  114. package/components/chunks/MazTransitionExpand-55cfbecb.mjs +41 -0
  115. package/components/chunks/MazTransitionExpand-cd24498f.mjs +41 -0
  116. package/components/chunks/_plugin-vue_export-helper-dad06003.mjs +9 -0
  117. package/components/chunks/check-31d7ba2f.mjs +30 -0
  118. package/components/chunks/check-c9b483c0.mjs +30 -0
  119. package/components/chunks/{check-circle-7acfa4c4.mjs → check-circle-59c383ed.mjs} +10 -12
  120. package/components/chunks/chevron-down-2b60111a.mjs +30 -0
  121. package/components/chunks/chevron-left-39b4621e.mjs +30 -0
  122. package/components/chunks/chevron-right-949a60fa.mjs +30 -0
  123. package/components/chunks/debounce-19c516b6.mjs +11 -0
  124. package/components/chunks/examples.mobile.json-f63d22fb.mjs +4 -0
  125. package/components/chunks/{exclamation-circle-2e115536.mjs → exclamation-circle-e2620aab.mjs} +10 -12
  126. package/components/chunks/{exclamation-triangle-10eb48dc.mjs → exclamation-triangle-21bf116a.mjs} +10 -12
  127. package/components/chunks/{eye-fbb13657.mjs → eye-dc12ce09.mjs} +12 -15
  128. package/components/chunks/{eye-slash-342420ff.mjs → eye-slash-fa42a017.mjs} +10 -12
  129. package/components/chunks/{magnifying-glass-5dffa35e.mjs → magnifying-glass-908981c0.mjs} +10 -12
  130. package/components/chunks/minus-e71140e1.mjs +30 -0
  131. package/components/chunks/no-photography-4c6c77cf.mjs +4 -0
  132. package/components/chunks/{no-photography-b0d08d6f.mjs → no-photography-be94ddda.mjs} +12 -15
  133. package/components/chunks/{no-symbol-975ce547.mjs → no-symbol-87477ad0.mjs} +10 -12
  134. package/components/chunks/{pencil-2f766dc8.mjs → pencil-4c35b4e7.mjs} +10 -12
  135. package/components/chunks/plus-c20544c3.mjs +30 -0
  136. package/components/chunks/x-mark-35f2f1e7.mjs +30 -0
  137. package/components/chunks/x-mark-7761acf4.mjs +29 -0
  138. package/modules/chunks/MazBtn-82a868df.mjs +153 -0
  139. package/modules/chunks/MazIcon-169747b4.mjs +96 -0
  140. package/modules/chunks/MazSpinner-3febbfdc.mjs +39 -0
  141. package/modules/chunks/{arrow-top-right-on-square-32bbe5a1.mjs → arrow-top-right-on-square-15191934.mjs} +10 -12
  142. package/modules/chunks/chevron-left-39b4621e.mjs +30 -0
  143. package/modules/chunks/index-d9a25303.mjs +1628 -0
  144. package/modules/chunks/{link-4eb05848.mjs → link-bb14441d.mjs} +10 -12
  145. package/modules/chunks/no-photography-4c6c77cf.mjs +4 -0
  146. package/modules/chunks/x-mark-35f2f1e7.mjs +30 -0
  147. package/modules/index.mjs +45 -44
  148. package/nuxt/index.json +1 -1
  149. package/nuxt/types.d.mts +3 -2
  150. package/nuxt/types.d.ts +3 -2
  151. package/package.json +11 -7
  152. package/types/components/MazGallery.vue.d.ts +41 -0
  153. package/types/modules/index.d.ts +1 -0
  154. package/types/modules/resolvers/index.d.ts +2 -0
  155. package/components/chunks/MazAvatar-358d78d4.mjs +0 -138
  156. package/components/chunks/MazBottomSheet-61090f4a.mjs +0 -267
  157. package/components/chunks/MazBtn-0e02f0da.mjs +0 -184
  158. package/components/chunks/MazBtn-2f4fa942.mjs +0 -184
  159. package/components/chunks/MazBtn-31c6b731.mjs +0 -184
  160. package/components/chunks/MazBtn-48382169.mjs +0 -184
  161. package/components/chunks/MazBtn-4e1e116e.mjs +0 -184
  162. package/components/chunks/MazBtn-50abc4c5.mjs +0 -184
  163. package/components/chunks/MazBtn-84e12b6a.mjs +0 -184
  164. package/components/chunks/MazBtn-b42e3575.mjs +0 -184
  165. package/components/chunks/MazBtn-b56a7278.mjs +0 -184
  166. package/components/chunks/MazBtn-bbd6e9c8.mjs +0 -184
  167. package/components/chunks/MazBtn-cf0c8fcb.mjs +0 -184
  168. package/components/chunks/MazBtn-d92908b2.mjs +0 -191
  169. package/components/chunks/MazBtn-f48da79c.mjs +0 -184
  170. package/components/chunks/MazBtn-f7e94b59.mjs +0 -184
  171. package/components/chunks/MazBtn-fec4c3b7.mjs +0 -184
  172. package/components/chunks/MazCard-01b81dd2.mjs +0 -237
  173. package/components/chunks/MazCarousel-7825c7c9.mjs +0 -133
  174. package/components/chunks/MazCheckbox-ab5ddda2.mjs +0 -153
  175. package/components/chunks/MazCheckbox-e0bbe6ec.mjs +0 -153
  176. package/components/chunks/MazDialog-83e54b8c.mjs +0 -290
  177. package/components/chunks/MazDialogPromise-6967e821.mjs +0 -474
  178. package/components/chunks/MazDrawer-d778b3d2.mjs +0 -256
  179. package/components/chunks/MazDropdown-6f4482d7.mjs +0 -426
  180. package/components/chunks/MazDropzone-d1bb62dc.mjs +0 -325
  181. package/components/chunks/MazGallery-a8f6748b.mjs +0 -812
  182. package/components/chunks/MazIcon-b779da0a.mjs +0 -159
  183. package/components/chunks/MazIcon-bda198b4.mjs +0 -165
  184. package/components/chunks/MazInput-713b00d0.mjs +0 -326
  185. package/components/chunks/MazInput-b9386887.mjs +0 -341
  186. package/components/chunks/MazInput-c33627dd.mjs +0 -334
  187. package/components/chunks/MazInputPrice-452297f5.mjs +0 -481
  188. package/components/chunks/MazInputTags-7a463b81.mjs +0 -526
  189. package/components/chunks/MazLazyImg-6e395356.mjs +0 -336
  190. package/components/chunks/MazLazyImg-e0d8b6d0.mjs +0 -329
  191. package/components/chunks/MazPhoneNumberInput-48fe2445.mjs +0 -1536
  192. package/components/chunks/MazPicker-50fc11d1.mjs +0 -1352
  193. package/components/chunks/MazPickerCalendar-cacb361c.mjs +0 -689
  194. package/components/chunks/MazPickerHeader-63d45179.mjs +0 -216
  195. package/components/chunks/MazPickerMonthSwitcher-913c6e2c.mjs +0 -110
  196. package/components/chunks/MazPickerShortcuts-c6fabfc6.mjs +0 -88
  197. package/components/chunks/MazPickerTime-5e4475da.mjs +0 -301
  198. package/components/chunks/MazPickerYearSwitcher-dd4fa89c.mjs +0 -125
  199. package/components/chunks/MazSelect-2e5cd411.mjs +0 -850
  200. package/components/chunks/MazSpinner-022d7bee.mjs +0 -46
  201. package/components/chunks/MazSpinner-100c99b8.mjs +0 -46
  202. package/components/chunks/MazSpinner-191ad23b.mjs +0 -46
  203. package/components/chunks/MazSpinner-3155378b.mjs +0 -46
  204. package/components/chunks/MazSpinner-339a9006.mjs +0 -46
  205. package/components/chunks/MazSpinner-53979e96.mjs +0 -46
  206. package/components/chunks/MazSpinner-68d2f2ac.mjs +0 -46
  207. package/components/chunks/MazSpinner-6b563b22.mjs +0 -46
  208. package/components/chunks/MazSpinner-7cdc13e7.mjs +0 -46
  209. package/components/chunks/MazSpinner-8859d658.mjs +0 -46
  210. package/components/chunks/MazSpinner-8e180605.mjs +0 -52
  211. package/components/chunks/MazSpinner-98dd1f9d.mjs +0 -46
  212. package/components/chunks/MazSpinner-9950424b.mjs +0 -46
  213. package/components/chunks/MazSpinner-c8270a93.mjs +0 -46
  214. package/components/chunks/MazSpinner-cb491238.mjs +0 -46
  215. package/components/chunks/MazSpinner-cb6f99f3.mjs +0 -46
  216. package/components/chunks/MazSpinner-ce4be8f1.mjs +0 -46
  217. package/components/chunks/MazSpinner-e5a9f319.mjs +0 -46
  218. package/components/chunks/MazSpinner-e92bd359.mjs +0 -46
  219. package/components/chunks/MazSpinner-eea9056d.mjs +0 -46
  220. package/components/chunks/MazStepper-4c19dbfc.mjs +0 -255
  221. package/components/chunks/MazTabsBar-3c2e2d69.mjs +0 -157
  222. package/components/chunks/MazTransitionExpand-f293b830.mjs +0 -57
  223. package/components/chunks/MazTransitionExpand-f9e5a2d6.mjs +0 -57
  224. package/components/chunks/_plugin-vue_export-helper-cc2b3d55.mjs +0 -10
  225. package/components/chunks/check-8da249b1.mjs +0 -32
  226. package/components/chunks/check-f2fcce10.mjs +0 -32
  227. package/components/chunks/chevron-down-a78b9604.mjs +0 -32
  228. package/components/chunks/chevron-left-3365d59b.mjs +0 -32
  229. package/components/chunks/chevron-right-02f9e837.mjs +0 -32
  230. package/components/chunks/debounce-7d66ffa9.mjs +0 -12
  231. package/components/chunks/examples.mobile.json-618ba782.mjs +0 -4
  232. package/components/chunks/minus-c9cdee90.mjs +0 -32
  233. package/components/chunks/no-photography-7f2be516.mjs +0 -4
  234. package/components/chunks/plus-b1b0a5a8.mjs +0 -32
  235. package/components/chunks/x-mark-3b05101b.mjs +0 -31
  236. package/components/chunks/x-mark-c6ff45dd.mjs +0 -32
  237. package/modules/chunks/MazBtn-90ffd148.mjs +0 -184
  238. package/modules/chunks/MazIcon-988edef7.mjs +0 -159
  239. package/modules/chunks/MazSpinner-a16a3d8f.mjs +0 -46
  240. package/modules/chunks/chevron-left-3365d59b.mjs +0 -32
  241. package/modules/chunks/index-b1625fc2.mjs +0 -2315
  242. package/modules/chunks/no-photography-7f2be516.mjs +0 -4
  243. package/modules/chunks/x-mark-c6ff45dd.mjs +0 -32
@@ -1,12 +1,11 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- const _hoisted_1 = {
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
5
5
  height: "1em",
6
6
  fill: "none",
7
7
  viewBox: "0 0 24 24"
8
- };
9
- const _hoisted_2 = /* @__PURE__ */ createElementVNode(
8
+ }, r = /* @__PURE__ */ o(
10
9
  "path",
11
10
  {
12
11
  stroke: "currentColor",
@@ -18,15 +17,14 @@ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
18
17
  null,
19
18
  -1
20
19
  /* HOISTED */
21
- );
22
- const _hoisted_3 = [
23
- _hoisted_2
20
+ ), l = [
21
+ r
24
22
  ];
25
- function render(_ctx, _cache) {
26
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]);
23
+ function s(c, i) {
24
+ return e(), t("svg", n, [...l]);
27
25
  }
28
- const link = { render };
26
+ const a = { render: s };
29
27
  export {
30
- link as default,
31
- render
28
+ a as default,
29
+ s as render
32
30
  };
@@ -0,0 +1,4 @@
1
+ const M = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlPSJub25lIiBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgZmlsbD0iY3VycmVudENvbG9yIgogIGFyaWEtaGlkZGVuPSJ0cnVlIj4KICA8Zz4KICAgIDxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIgLz4KICAgIDxnPgogICAgICA8cGF0aAogICAgICAgIGQ9Ik04LjksNi4wN0w3LjQ4LDQuNjZMOSwzaDZsMS44MywySDIwYzEuMSwwLDIsMC45LDIsMnYxMmMwLDAuMDUtMC4wMSwwLjEtMC4wMiwwLjE2TDIwLDE3LjE3VjdoLTQuMDVsLTEuODMtMkg5Ljg4IEw4LjksNi4wN3ogTTIwLjQ5LDIzLjMxTDE4LjE3LDIxSDRjLTEuMSwwLTItMC45LTItMlY3YzAtMC41OSwwLjI3LTEuMTIsMC42OC0xLjQ5bC0yLTJMMi4xLDIuMWwxOS44LDE5LjhMMjAuNDksMjMuMzF6IE05LjE5LDEyLjAyQzkuMDgsMTIuMzMsOSwxMi42NSw5LDEzYzAsMS42NiwxLjM0LDMsMywzYzAuMzUsMCwwLjY3LTAuMDgsMC45OC0wLjE5TDkuMTksMTIuMDJ6IE0xNi4xNywxOWwtMS42OC0xLjY4IEMxMy43NiwxNy43NSwxMi45MSwxOCwxMiwxOGMtMi43NiwwLTUtMi4yNC01LTVjMC0wLjkxLDAuMjUtMS43NiwwLjY4LTIuNDlMNC4xNyw3SDR2MTJIMTYuMTd6IE0xNC44MSwxMS45OGwyLjA3LDIuMDcgQzE2Ljk2LDEzLjcxLDE3LDEzLjM2LDE3LDEzYzAtMi43Ni0yLjI0LTUtNS01Yy0wLjM2LDAtMC43MSwwLjA0LTEuMDYsMC4xMmwyLjA3LDIuMDdDMTMuODUsMTAuNDksMTQuNTEsMTEuMTUsMTQuODEsMTEuOTh6IiAvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+";
2
+ export {
3
+ M as default
4
+ };
@@ -0,0 +1,30 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ width: "1em",
5
+ height: "1em",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24"
8
+ }, r = /* @__PURE__ */ o(
9
+ "path",
10
+ {
11
+ stroke: "currentColor",
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "1.5",
15
+ d: "M6 18 18 6M6 6l12 12"
16
+ },
17
+ null,
18
+ -1
19
+ /* HOISTED */
20
+ ), s = [
21
+ r
22
+ ];
23
+ function c(l, i) {
24
+ return e(), t("svg", n, [...s]);
25
+ }
26
+ const h = { render: c };
27
+ export {
28
+ h as default,
29
+ c as render
30
+ };
package/modules/index.mjs CHANGED
@@ -1,46 +1,47 @@
1
- import { B, I, S, T, U, W, D, q, c, r, u, d, i, C, b, o, x, z, a, m, w, s, y, t, G, K, F, M, E, J, L, H, e, p, l, n, j, k, v, f, g, h, A } from "./chunks/index-b1625fc2.mjs";
1
+ import { B as e, I as l, N as t, S as i, T as n, U as o, W as r, D as u, q as c, c as I, r as m, u as d, d as v, i as g, C as y, b as C, o as T, x as b, z as p, a as U, m as z, w as F, s as H, y as A, t as L, G as W, K as h, F as k, M as D, E as M, J as S, L as V, H as f, e as j, p as q, l as w, n as x, j as O, k as Z, v as B, f as E, g as G, h as J, A as K } from "./chunks/index-d9a25303.mjs";
2
2
  export {
3
- B as AosHandler,
4
- I as IdleTimeout,
5
- S as ScriptLoader,
6
- T as ToasterHandler,
7
- U as UserVisibility,
8
- W as WaitHandler,
9
- D as aosInstance,
10
- q as capitalize,
11
- c as countryCodeToUnicodeFlag,
12
- r as currency,
13
- u as date,
14
- d as debounce,
15
- i as injectStrict,
16
- C as installAos,
17
- b as installDirectives,
18
- o as installFilters,
19
- x as installToaster,
20
- z as installWait,
21
- a as isClient,
22
- m as mount,
23
- w as number,
24
- s as sleep,
25
- y as toastInstance,
26
- t as truthyFilter,
27
- G as useAos,
28
- K as useIdleTimeout,
29
- F as useInstanceUniqId,
30
- M as useMazDialogPromise,
31
- E as useThemeHandler,
32
- J as useToast,
33
- L as useUserVisibility,
34
- H as useWait,
35
- e as vClickOutside,
36
- p as vClickOutsideInstall,
37
- l as vClosable,
38
- n as vClosableInstall,
39
- j as vFullscreenImg,
40
- k as vFullscreenImgInstall,
41
- v as vLazyImg,
42
- f as vLazyImgInstall,
43
- g as vZoomImg,
44
- h as vZoomImgInstall,
45
- A as waitInstance
3
+ e as AosHandler,
4
+ l as IdleTimeout,
5
+ t as MazUiUnpluginVueComponentsResolver,
6
+ i as ScriptLoader,
7
+ n as ToasterHandler,
8
+ o as UserVisibility,
9
+ r as WaitHandler,
10
+ u as aosInstance,
11
+ c as capitalize,
12
+ I as countryCodeToUnicodeFlag,
13
+ m as currency,
14
+ d as date,
15
+ v as debounce,
16
+ g as injectStrict,
17
+ y as installAos,
18
+ C as installDirectives,
19
+ T as installFilters,
20
+ b as installToaster,
21
+ p as installWait,
22
+ U as isClient,
23
+ z as mount,
24
+ F as number,
25
+ H as sleep,
26
+ A as toastInstance,
27
+ L as truthyFilter,
28
+ W as useAos,
29
+ h as useIdleTimeout,
30
+ k as useInstanceUniqId,
31
+ D as useMazDialogPromise,
32
+ M as useThemeHandler,
33
+ S as useToast,
34
+ V as useUserVisibility,
35
+ f as useWait,
36
+ j as vClickOutside,
37
+ q as vClickOutsideInstall,
38
+ w as vClosable,
39
+ x as vClosableInstall,
40
+ O as vFullscreenImg,
41
+ Z as vFullscreenImgInstall,
42
+ B as vLazyImg,
43
+ E as vLazyImgInstall,
44
+ G as vZoomImg,
45
+ J as vZoomImgInstall,
46
+ K as waitInstance
46
47
  };
package/nuxt/index.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "3.22.3"
7
+ "version": "3.23.0"
8
8
  }
package/nuxt/types.d.mts CHANGED
@@ -1,7 +1,8 @@
1
1
 
2
- import { } from './index'
2
+ import type { } from './index'
3
3
 
4
4
 
5
5
 
6
6
 
7
- export { MazUiNuxtOptions, default } from './index'
7
+
8
+ export type { MazUiNuxtOptions, default } from './index'
package/nuxt/types.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
 
2
- import { } from './index'
2
+ import type { } from './index'
3
3
 
4
4
 
5
5
 
6
6
 
7
- export { MazUiNuxtOptions, default } from './index'
7
+
8
+ export type { MazUiNuxtOptions, default } from './index'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maz-ui",
3
- "version": "3.22.3",
3
+ "version": "3.23.0",
4
4
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
5
5
  "author": "Louis Mazel <me@loicmazuel.com>",
6
6
  "main": "./modules/index.mjs",
@@ -56,6 +56,7 @@
56
56
  "dropzone": "^5.9.3",
57
57
  "libphonenumber-js": "^1.9.44",
58
58
  "nuxt": "^3.4.0",
59
+ "unplugin-vue-components": "^0.25.0",
59
60
  "vue": "^3.0.0",
60
61
  "vue-router": "^4.0.0",
61
62
  "vue-scrollto": "^2.0.0"
@@ -87,20 +88,23 @@
87
88
  },
88
89
  "defu": {
89
90
  "optional": true
91
+ },
92
+ "unplugin-vue-components": {
93
+ "optional": true
90
94
  }
91
95
  },
92
96
  "dependencies": {
93
97
  "@mazui/cli": "latest"
94
98
  },
95
99
  "devDependencies": {
96
- "@babel/core": "^7.23.2",
97
- "@babel/preset-env": "^7.23.2",
98
- "@babel/preset-typescript": "^7.23.2",
100
+ "@babel/core": "^7.23.3",
101
+ "@babel/preset-env": "^7.23.3",
102
+ "@babel/preset-typescript": "^7.23.3",
99
103
  "@nuxt/kit": "^3.8.1",
100
104
  "@nuxt/schema": "^3.8.1",
101
105
  "@types/dropzone": "^5.7.7",
102
106
  "@types/google.maps": "^3.54.7",
103
- "@vitejs/plugin-vue": "^4.4.0",
107
+ "@vitejs/plugin-vue": "^4.4.1",
104
108
  "@vitest/coverage-v8": "^0.34.6",
105
109
  "@vue/compiler-sfc": "^3.3.8",
106
110
  "@vue/eslint-config-prettier": "^8.0.0",
@@ -130,7 +134,7 @@
130
134
  "postcss-nested": "^6.0.0",
131
135
  "postcss-simple-vars": "^7.0.1",
132
136
  "postcss-url": "^10.1.3",
133
- "prettier-plugin-tailwindcss": "^0.5.6",
137
+ "prettier-plugin-tailwindcss": "^0.5.7",
134
138
  "replace-in-file": "^7.0.2",
135
139
  "rimraf": "^5.0.5",
136
140
  "sass": "^1.69.5",
@@ -142,7 +146,7 @@
142
146
  "stylelint-config-standard-scss": "^11.1.0",
143
147
  "stylelint-config-tailwindcss": "^0.0.7",
144
148
  "tailwindcss": "^3.3.5",
145
- "terser": "^5.24.0",
149
+ "unplugin-vue-components": "^0.25.2",
146
150
  "vite": "^4.5.0",
147
151
  "vite-plugin-css-injected-by-js": "^3.3.0",
148
152
  "vite-plugin-lib-inject-css": "^1.3.0",
@@ -2,111 +2,151 @@ import { type PropType } from 'vue';
2
2
  import type { MazGalleryImage } from './types';
3
3
  export type { MazGalleryImage } from './types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
+ /**
6
+ * Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
7
+ * */
5
8
  images: {
6
9
  type: PropType<MazGalleryImage[]>;
7
10
  default: () => never[];
8
11
  };
12
+ /** Images count shown (max: 5) */
9
13
  imagesShownCount: {
10
14
  type: NumberConstructor;
11
15
  default: number;
12
16
  };
17
+ /** Remove transparent layer with the remain count (ex: +2) */
13
18
  noRemaining: {
14
19
  type: BooleanConstructor;
15
20
  default: boolean;
16
21
  };
22
+ /** Height of gallery */
17
23
  height: {
18
24
  type: (StringConstructor | NumberConstructor)[];
19
25
  default: number;
20
26
  };
27
+ /** Remove default height */
21
28
  noHeight: {
22
29
  type: BooleanConstructor;
23
30
  default: boolean;
24
31
  };
32
+ /** Width of gallery */
25
33
  width: {
26
34
  type: (StringConstructor | NumberConstructor)[];
27
35
  default: string;
28
36
  };
37
+ /** Remove default width */
29
38
  noWidth: {
30
39
  type: BooleanConstructor;
31
40
  default: boolean;
32
41
  };
42
+ /** Disable the border radius of the gallery */
33
43
  noRadius: {
34
44
  type: BooleanConstructor;
35
45
  default: boolean;
36
46
  };
47
+ /** Disable full size display when clicking on image */
37
48
  noZoom: {
38
49
  type: BooleanConstructor;
39
50
  default: boolean;
40
51
  };
52
+ /** Layer with photography icon when no images is provided */
41
53
  hasEmptyLayer: {
42
54
  type: BooleanConstructor;
43
55
  default: boolean;
44
56
  };
57
+ /** Lazy load image - if false, images are directly loaded */
45
58
  lazy: {
46
59
  type: BooleanConstructor;
47
60
  default: boolean;
48
61
  };
62
+ /** Disable blur effect on image hover */
49
63
  blur: {
50
64
  type: BooleanConstructor;
51
65
  default: boolean;
52
66
  };
67
+ /** Disable scale animation effect on image hover */
53
68
  scale: {
54
69
  type: BooleanConstructor;
55
70
  default: boolean;
56
71
  };
72
+ /** Choose color of borders between images - Should be a CSS color or CSS variable - Ex: `#000` or `var(--maz-color-bg-light)` */
73
+ separatorColor: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
57
77
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
78
+ /**
79
+ * Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
80
+ * */
58
81
  images: {
59
82
  type: PropType<MazGalleryImage[]>;
60
83
  default: () => never[];
61
84
  };
85
+ /** Images count shown (max: 5) */
62
86
  imagesShownCount: {
63
87
  type: NumberConstructor;
64
88
  default: number;
65
89
  };
90
+ /** Remove transparent layer with the remain count (ex: +2) */
66
91
  noRemaining: {
67
92
  type: BooleanConstructor;
68
93
  default: boolean;
69
94
  };
95
+ /** Height of gallery */
70
96
  height: {
71
97
  type: (StringConstructor | NumberConstructor)[];
72
98
  default: number;
73
99
  };
100
+ /** Remove default height */
74
101
  noHeight: {
75
102
  type: BooleanConstructor;
76
103
  default: boolean;
77
104
  };
105
+ /** Width of gallery */
78
106
  width: {
79
107
  type: (StringConstructor | NumberConstructor)[];
80
108
  default: string;
81
109
  };
110
+ /** Remove default width */
82
111
  noWidth: {
83
112
  type: BooleanConstructor;
84
113
  default: boolean;
85
114
  };
115
+ /** Disable the border radius of the gallery */
86
116
  noRadius: {
87
117
  type: BooleanConstructor;
88
118
  default: boolean;
89
119
  };
120
+ /** Disable full size display when clicking on image */
90
121
  noZoom: {
91
122
  type: BooleanConstructor;
92
123
  default: boolean;
93
124
  };
125
+ /** Layer with photography icon when no images is provided */
94
126
  hasEmptyLayer: {
95
127
  type: BooleanConstructor;
96
128
  default: boolean;
97
129
  };
130
+ /** Lazy load image - if false, images are directly loaded */
98
131
  lazy: {
99
132
  type: BooleanConstructor;
100
133
  default: boolean;
101
134
  };
135
+ /** Disable blur effect on image hover */
102
136
  blur: {
103
137
  type: BooleanConstructor;
104
138
  default: boolean;
105
139
  };
140
+ /** Disable scale animation effect on image hover */
106
141
  scale: {
107
142
  type: BooleanConstructor;
108
143
  default: boolean;
109
144
  };
145
+ /** Choose color of borders between images - Should be a CSS color or CSS variable - Ex: `#000` or `var(--maz-color-bg-light)` */
146
+ separatorColor: {
147
+ type: StringConstructor;
148
+ default: string;
149
+ };
110
150
  }>>, {
111
151
  width: string | number;
112
152
  height: string | number;
@@ -121,5 +161,6 @@ declare const _default: import("vue").DefineComponent<{
121
161
  noZoom: boolean;
122
162
  hasEmptyLayer: boolean;
123
163
  scale: boolean;
164
+ separatorColor: string;
124
165
  }, {}>;
125
166
  export default _default;
@@ -3,3 +3,4 @@ export * from './directives';
3
3
  export * from './filters';
4
4
  export * from './plugins';
5
5
  export * from './composables';
6
+ export * from './resolvers';
@@ -0,0 +1,2 @@
1
+ import { type ComponentResolver } from 'unplugin-vue-components';
2
+ export declare function MazUiUnpluginVueComponentsResolver(): ComponentResolver;
@@ -1,138 +0,0 @@
1
- import "../assets/MazAvatar.css";
2
- import { defineComponent, defineAsyncComponent, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeClass, unref, createCommentVNode, renderSlot, toDisplayString, createElementBlock, normalizeStyle, createVNode } from "vue";
3
- const _hoisted_1 = ["tabindex"];
4
- const _hoisted_2 = { class: "m-avatar__initial" };
5
- const _hoisted_3 = {
6
- key: 0,
7
- class: "m-avatar__caption"
8
- };
9
- const _sfc_main = /* @__PURE__ */ defineComponent({
10
- __name: "MazAvatar",
11
- props: {
12
- src: {
13
- type: String,
14
- default: void 0
15
- },
16
- caption: {
17
- type: String,
18
- default: void 0
19
- },
20
- href: { type: String, default: void 0 },
21
- to: { type: Object, default: void 0 },
22
- alt: { type: String, default: "avatar image" },
23
- target: { type: String, default: "_self" },
24
- size: { type: String, default: void 0 },
25
- bordered: { type: Boolean, default: false },
26
- clickable: { type: Boolean, default: false },
27
- square: { type: Boolean, default: false },
28
- noElevation: { type: Boolean, default: false },
29
- showCaption: { type: Boolean, default: false },
30
- imageHeightFull: { type: Boolean, default: false },
31
- noLoader: { type: Boolean, default: false },
32
- buttonColor: {
33
- type: String,
34
- default: "info"
35
- }
36
- },
37
- emits: ["click"],
38
- setup(__props) {
39
- const MazLazyImg = defineAsyncComponent(() => import("./MazLazyImg-e0d8b6d0.mjs"));
40
- const PencilIcon = defineAsyncComponent(() => import("./pencil-2f766dc8.mjs"));
41
- const props = __props;
42
- const componentType = computed(() => props.to ? "RouterLink" : props.href ? "a" : "div");
43
- const isLink = computed(() => !!props.to || !!props.href);
44
- return (_ctx, _cache) => {
45
- return openBlock(), createBlock(resolveDynamicComponent(componentType.value), mergeProps({
46
- style: { fontSize: __props.size },
47
- class: ["m-avatar", [
48
- {
49
- "--has-link": isLink.value
50
- }
51
- ]]
52
- }, _ctx.$attrs, {
53
- href: __props.href,
54
- to: __props.to,
55
- target: isLink.value ? __props.target : void 0
56
- }), {
57
- default: withCtx(() => [
58
- createElementVNode("div", {
59
- class: normalizeClass(["m-avatar__wrapper", {
60
- "--has-shadow": !__props.noElevation,
61
- "--bordered": __props.bordered,
62
- "--clickable": __props.clickable,
63
- "--square": __props.square,
64
- "--has-initial": !__props.src && __props.caption
65
- }]),
66
- tabindex: __props.clickable ? 0 : -1
67
- }, [
68
- __props.src ? (openBlock(), createBlock(unref(MazLazyImg), {
69
- key: 0,
70
- class: "m-avatar__picture maz-max-w-full",
71
- image: __props.src,
72
- alt: __props.alt,
73
- "image-height-full": "",
74
- "no-loader": __props.noLoader,
75
- onClick: _cache[0] || (_cache[0] = ($event) => __props.clickable ? _ctx.$emit("click", $event) : null)
76
- }, null, 8, ["image", "alt", "no-loader"])) : createCommentVNode("v-if", true),
77
- __props.caption && !__props.src ? renderSlot(_ctx.$slots, "round-text", { key: 1 }, () => {
78
- var _a;
79
- return [
80
- createElementVNode(
81
- "span",
82
- _hoisted_2,
83
- toDisplayString((_a = __props.caption) == null ? void 0 : _a.charAt(0)),
84
- 1
85
- /* TEXT */
86
- )
87
- ];
88
- }, true) : createCommentVNode("v-if", true),
89
- __props.clickable ? (openBlock(), createElementBlock(
90
- "button",
91
- {
92
- key: 2,
93
- type: "button",
94
- tabindex: "-1",
95
- class: "m-avatar__button",
96
- style: normalizeStyle({
97
- backgroundColor: __props.src ? `var(--maz-color-${__props.buttonColor}-alpha)` : `var(--maz-color-${__props.buttonColor})`
98
- }),
99
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
100
- },
101
- [
102
- renderSlot(_ctx.$slots, "icon", {}, () => [
103
- createVNode(unref(PencilIcon), { class: "m-avatar__button__icon" })
104
- ], true)
105
- ],
106
- 4
107
- /* STYLE */
108
- )) : createCommentVNode("v-if", true)
109
- ], 10, _hoisted_1),
110
- renderSlot(_ctx.$slots, "caption", {}, () => [
111
- __props.showCaption && __props.caption ? (openBlock(), createElementBlock(
112
- "p",
113
- _hoisted_3,
114
- toDisplayString(__props.caption),
115
- 1
116
- /* TEXT */
117
- )) : createCommentVNode("v-if", true)
118
- ], true)
119
- ]),
120
- _: 3
121
- /* FORWARDED */
122
- }, 16, ["style", "class", "href", "to", "target"]);
123
- };
124
- }
125
- });
126
- const MazAvatar_vue_vue_type_style_index_0_scoped_6cd62f95_lang = "";
127
- const _export_sfc = (sfc, props) => {
128
- const target = sfc.__vccOpts || sfc;
129
- for (const [key, val] of props) {
130
- target[key] = val;
131
- }
132
- return target;
133
- };
134
- const MazAvatar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6cd62f95"]]);
135
- export {
136
- MazAvatar as M,
137
- _export_sfc as _
138
- };