maz-ui 3.22.4 → 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.
- package/components/MazAvatar.mjs +2 -2
- package/components/MazBackdrop.mjs +67 -107
- package/components/MazBadge.mjs +41 -50
- package/components/MazBottomSheet.mjs +2 -2
- package/components/MazBtn.mjs +2 -2
- package/components/MazCard.mjs +2 -2
- package/components/MazCarousel.mjs +2 -2
- package/components/MazChart.mjs +53 -63
- package/components/MazCheckbox.mjs +84 -128
- package/components/MazDialog.mjs +2 -2
- package/components/MazDialogPromise.mjs +3 -3
- package/components/MazDrawer.mjs +2 -2
- package/components/MazDropdown.mjs +2 -2
- package/components/MazDropzone.mjs +2 -2
- package/components/MazFullscreenLoader.mjs +14 -18
- package/components/MazGallery.mjs +352 -558
- package/components/MazIcon.mjs +76 -140
- package/components/MazInput.mjs +2 -2
- package/components/MazInputNumber.mjs +72 -99
- package/components/MazInputPrice.mjs +2 -2
- package/components/MazInputTags.mjs +2 -2
- package/components/MazLazyImg.mjs +2 -2
- package/components/MazPhoneNumberInput.mjs +2 -2
- package/components/MazPicker.mjs +2 -2
- package/components/MazRadio.mjs +65 -94
- package/components/MazRadioButtons.mjs +64 -78
- package/components/MazSelect.mjs +2 -2
- package/components/MazSlider.mjs +213 -325
- package/components/MazSpinner.mjs +25 -34
- package/components/MazStepper.mjs +2 -2
- package/components/MazSwitch.mjs +43 -60
- package/components/MazTabs.mjs +16 -25
- package/components/MazTabsBar.mjs +2 -2
- package/components/MazTabsContent.mjs +34 -43
- package/components/MazTabsContentItem.mjs +49 -63
- package/components/MazTextarea.mjs +124 -169
- package/components/MazTransitionExpand.mjs +36 -54
- package/components/assets/MazBackdrop.css +1 -1
- package/components/assets/MazBottomSheet.css +1 -1
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazDrawer.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/chunks/MazAvatar-1636f58b.mjs +126 -0
- package/components/chunks/MazBottomSheet-c24f92f8.mjs +217 -0
- package/components/chunks/MazBtn-124f3700.mjs +153 -0
- package/components/chunks/MazBtn-1e61862b.mjs +153 -0
- package/components/chunks/MazBtn-2d1d1ba5.mjs +153 -0
- package/components/chunks/MazBtn-3d74f737.mjs +153 -0
- package/components/chunks/MazBtn-4a447126.mjs +153 -0
- package/components/chunks/MazBtn-555928ed.mjs +153 -0
- package/components/chunks/MazBtn-571454f6.mjs +153 -0
- package/components/chunks/MazBtn-5e426592.mjs +153 -0
- package/components/chunks/MazBtn-6905cc39.mjs +153 -0
- package/components/chunks/MazBtn-6ce4cfd3.mjs +153 -0
- package/components/chunks/MazBtn-74656d5b.mjs +153 -0
- package/components/chunks/MazBtn-7706b2da.mjs +158 -0
- package/components/chunks/MazBtn-a7a913dd.mjs +153 -0
- package/components/chunks/MazBtn-ba27c61d.mjs +153 -0
- package/components/chunks/MazBtn-fb3c7af8.mjs +153 -0
- package/components/chunks/MazCard-bcc36489.mjs +214 -0
- package/components/chunks/MazCarousel-6da75122.mjs +107 -0
- package/components/chunks/MazCheckbox-040dc2c4.mjs +117 -0
- package/components/chunks/MazCheckbox-3a2b48b4.mjs +117 -0
- package/components/chunks/MazDialog-44eda544.mjs +250 -0
- package/components/chunks/MazDialogPromise-eec5acde.mjs +419 -0
- package/components/chunks/MazDrawer-b628b37e.mjs +206 -0
- package/components/chunks/MazDropdown-6f2248b0.mjs +345 -0
- package/components/chunks/MazDropzone-8cac10a6.mjs +242 -0
- package/components/chunks/MazGallery-6b8ecedf.mjs +617 -0
- package/components/chunks/MazIcon-52a76873.mjs +101 -0
- package/components/chunks/MazIcon-95e31ff8.mjs +96 -0
- package/components/chunks/MazInput-1ed4f946.mjs +283 -0
- package/components/chunks/MazInput-c51881ea.mjs +278 -0
- package/components/chunks/MazInput-e1373eaf.mjs +271 -0
- package/components/chunks/MazInputPrice-cd348d46.mjs +392 -0
- package/components/chunks/MazInputTags-aa95fae7.mjs +446 -0
- package/components/chunks/MazLazyImg-0412ab38.mjs +259 -0
- package/components/chunks/MazLazyImg-47d3449a.mjs +254 -0
- package/components/chunks/MazPhoneNumberInput-e1bf46f9.mjs +1216 -0
- package/components/chunks/MazPicker-c85774e5.mjs +1140 -0
- package/components/chunks/MazPickerCalendar-f5bbea58.mjs +532 -0
- package/components/chunks/MazPickerHeader-31a3619b.mjs +186 -0
- package/components/chunks/MazPickerMonthSwitcher-aaa759b9.mjs +97 -0
- package/components/chunks/MazPickerShortcuts-d0623e2d.mjs +74 -0
- package/components/chunks/MazPickerTime-de9cfc63.mjs +219 -0
- package/components/chunks/MazPickerYearSwitcher-746c84fc.mjs +106 -0
- package/components/chunks/MazSelect-6ff6bb96.mjs +652 -0
- package/components/chunks/MazSpinner-054f948c.mjs +39 -0
- package/components/chunks/MazSpinner-059ee1d2.mjs +39 -0
- package/components/chunks/MazSpinner-08ee440b.mjs +39 -0
- package/components/chunks/MazSpinner-13403729.mjs +39 -0
- package/components/chunks/MazSpinner-44011019.mjs +39 -0
- package/components/chunks/MazSpinner-452a1534.mjs +39 -0
- package/components/chunks/MazSpinner-4c02cfd2.mjs +39 -0
- package/components/chunks/MazSpinner-6d1d24d5.mjs +39 -0
- package/components/chunks/MazSpinner-6e7c4705.mjs +39 -0
- package/components/chunks/MazSpinner-7895f54f.mjs +39 -0
- package/components/chunks/MazSpinner-7eee202e.mjs +39 -0
- package/components/chunks/MazSpinner-805e14a6.mjs +39 -0
- package/components/chunks/MazSpinner-85080b43.mjs +39 -0
- package/components/chunks/MazSpinner-a13a50c9.mjs +39 -0
- package/components/chunks/MazSpinner-a6d61cee.mjs +43 -0
- package/components/chunks/MazSpinner-b065168a.mjs +39 -0
- package/components/chunks/MazSpinner-c67b05bb.mjs +39 -0
- package/components/chunks/MazSpinner-caa33afc.mjs +39 -0
- package/components/chunks/MazSpinner-cb8fbe9a.mjs +39 -0
- package/components/chunks/MazSpinner-d9ef329f.mjs +39 -0
- package/components/chunks/MazStepper-39f018f3.mjs +191 -0
- package/components/chunks/MazTabsBar-27965f16.mjs +132 -0
- package/components/chunks/MazTransitionExpand-55cfbecb.mjs +41 -0
- package/components/chunks/MazTransitionExpand-cd24498f.mjs +41 -0
- package/components/chunks/_plugin-vue_export-helper-dad06003.mjs +9 -0
- package/components/chunks/check-31d7ba2f.mjs +30 -0
- package/components/chunks/check-c9b483c0.mjs +30 -0
- package/components/chunks/{check-circle-7acfa4c4.mjs → check-circle-59c383ed.mjs} +10 -12
- package/components/chunks/chevron-down-2b60111a.mjs +30 -0
- package/components/chunks/chevron-left-39b4621e.mjs +30 -0
- package/components/chunks/chevron-right-949a60fa.mjs +30 -0
- package/components/chunks/debounce-19c516b6.mjs +11 -0
- package/components/chunks/examples.mobile.json-f63d22fb.mjs +4 -0
- package/components/chunks/{exclamation-circle-2e115536.mjs → exclamation-circle-e2620aab.mjs} +10 -12
- package/components/chunks/{exclamation-triangle-10eb48dc.mjs → exclamation-triangle-21bf116a.mjs} +10 -12
- package/components/chunks/{eye-fbb13657.mjs → eye-dc12ce09.mjs} +12 -15
- package/components/chunks/{eye-slash-342420ff.mjs → eye-slash-fa42a017.mjs} +10 -12
- package/components/chunks/{magnifying-glass-5dffa35e.mjs → magnifying-glass-908981c0.mjs} +10 -12
- package/components/chunks/minus-e71140e1.mjs +30 -0
- package/components/chunks/no-photography-4c6c77cf.mjs +4 -0
- package/components/chunks/{no-photography-b0d08d6f.mjs → no-photography-be94ddda.mjs} +12 -15
- package/components/chunks/{no-symbol-975ce547.mjs → no-symbol-87477ad0.mjs} +10 -12
- package/components/chunks/{pencil-2f766dc8.mjs → pencil-4c35b4e7.mjs} +10 -12
- package/components/chunks/plus-c20544c3.mjs +30 -0
- package/components/chunks/x-mark-35f2f1e7.mjs +30 -0
- package/components/chunks/x-mark-7761acf4.mjs +29 -0
- package/modules/chunks/MazBtn-82a868df.mjs +153 -0
- package/modules/chunks/MazIcon-169747b4.mjs +96 -0
- package/modules/chunks/MazSpinner-3febbfdc.mjs +39 -0
- package/modules/chunks/{arrow-top-right-on-square-32bbe5a1.mjs → arrow-top-right-on-square-15191934.mjs} +10 -12
- package/modules/chunks/chevron-left-39b4621e.mjs +30 -0
- package/modules/chunks/index-d9a25303.mjs +1628 -0
- package/modules/chunks/{link-4eb05848.mjs → link-bb14441d.mjs} +10 -12
- package/modules/chunks/no-photography-4c6c77cf.mjs +4 -0
- package/modules/chunks/x-mark-35f2f1e7.mjs +30 -0
- package/modules/index.mjs +45 -44
- package/nuxt/index.json +1 -1
- package/package.json +6 -2
- package/types/modules/index.d.ts +1 -0
- package/types/modules/resolvers/index.d.ts +2 -0
- package/components/chunks/MazAvatar-358d78d4.mjs +0 -138
- package/components/chunks/MazBottomSheet-61090f4a.mjs +0 -267
- package/components/chunks/MazBtn-0e02f0da.mjs +0 -184
- package/components/chunks/MazBtn-1daf9063.mjs +0 -184
- package/components/chunks/MazBtn-2f4fa942.mjs +0 -184
- package/components/chunks/MazBtn-31c6b731.mjs +0 -184
- package/components/chunks/MazBtn-48382169.mjs +0 -184
- package/components/chunks/MazBtn-4e1e116e.mjs +0 -184
- package/components/chunks/MazBtn-50abc4c5.mjs +0 -184
- package/components/chunks/MazBtn-84e12b6a.mjs +0 -184
- package/components/chunks/MazBtn-b42e3575.mjs +0 -184
- package/components/chunks/MazBtn-b56a7278.mjs +0 -184
- package/components/chunks/MazBtn-bbd6e9c8.mjs +0 -184
- package/components/chunks/MazBtn-cf0c8fcb.mjs +0 -184
- package/components/chunks/MazBtn-d92908b2.mjs +0 -191
- package/components/chunks/MazBtn-f48da79c.mjs +0 -184
- package/components/chunks/MazBtn-fec4c3b7.mjs +0 -184
- package/components/chunks/MazCard-4331dca0.mjs +0 -237
- package/components/chunks/MazCarousel-7825c7c9.mjs +0 -133
- package/components/chunks/MazCheckbox-ab5ddda2.mjs +0 -153
- package/components/chunks/MazCheckbox-e0bbe6ec.mjs +0 -153
- package/components/chunks/MazDialog-83e54b8c.mjs +0 -290
- package/components/chunks/MazDialogPromise-6967e821.mjs +0 -474
- package/components/chunks/MazDrawer-d778b3d2.mjs +0 -256
- package/components/chunks/MazDropdown-6f4482d7.mjs +0 -426
- package/components/chunks/MazDropzone-d1bb62dc.mjs +0 -325
- package/components/chunks/MazGallery-b2dc4286.mjs +0 -821
- package/components/chunks/MazIcon-b779da0a.mjs +0 -159
- package/components/chunks/MazIcon-bda198b4.mjs +0 -165
- package/components/chunks/MazInput-713b00d0.mjs +0 -326
- package/components/chunks/MazInput-b9386887.mjs +0 -341
- package/components/chunks/MazInput-c33627dd.mjs +0 -334
- package/components/chunks/MazInputPrice-452297f5.mjs +0 -481
- package/components/chunks/MazInputTags-7a463b81.mjs +0 -526
- package/components/chunks/MazLazyImg-6e395356.mjs +0 -336
- package/components/chunks/MazLazyImg-e0d8b6d0.mjs +0 -329
- package/components/chunks/MazPhoneNumberInput-48fe2445.mjs +0 -1536
- package/components/chunks/MazPicker-50fc11d1.mjs +0 -1352
- package/components/chunks/MazPickerCalendar-cacb361c.mjs +0 -689
- package/components/chunks/MazPickerHeader-63d45179.mjs +0 -216
- package/components/chunks/MazPickerMonthSwitcher-913c6e2c.mjs +0 -110
- package/components/chunks/MazPickerShortcuts-c6fabfc6.mjs +0 -88
- package/components/chunks/MazPickerTime-5e4475da.mjs +0 -301
- package/components/chunks/MazPickerYearSwitcher-dd4fa89c.mjs +0 -125
- package/components/chunks/MazSelect-2e5cd411.mjs +0 -850
- package/components/chunks/MazSpinner-022d7bee.mjs +0 -46
- package/components/chunks/MazSpinner-100c99b8.mjs +0 -46
- package/components/chunks/MazSpinner-191ad23b.mjs +0 -46
- package/components/chunks/MazSpinner-3155378b.mjs +0 -46
- package/components/chunks/MazSpinner-339a9006.mjs +0 -46
- package/components/chunks/MazSpinner-53979e96.mjs +0 -46
- package/components/chunks/MazSpinner-68d2f2ac.mjs +0 -46
- package/components/chunks/MazSpinner-6b563b22.mjs +0 -46
- package/components/chunks/MazSpinner-7cdc13e7.mjs +0 -46
- package/components/chunks/MazSpinner-8859d658.mjs +0 -46
- package/components/chunks/MazSpinner-8e180605.mjs +0 -52
- package/components/chunks/MazSpinner-9950424b.mjs +0 -46
- package/components/chunks/MazSpinner-c8270a93.mjs +0 -46
- package/components/chunks/MazSpinner-cb491238.mjs +0 -46
- package/components/chunks/MazSpinner-cb6f99f3.mjs +0 -46
- package/components/chunks/MazSpinner-ce4be8f1.mjs +0 -46
- package/components/chunks/MazSpinner-e5a9f319.mjs +0 -46
- package/components/chunks/MazSpinner-e92bd359.mjs +0 -46
- package/components/chunks/MazSpinner-eea9056d.mjs +0 -46
- package/components/chunks/MazSpinner-f1e69f29.mjs +0 -46
- package/components/chunks/MazStepper-4c19dbfc.mjs +0 -255
- package/components/chunks/MazTabsBar-3c2e2d69.mjs +0 -157
- package/components/chunks/MazTransitionExpand-474b00d4.mjs +0 -57
- package/components/chunks/MazTransitionExpand-f9e5a2d6.mjs +0 -57
- package/components/chunks/_plugin-vue_export-helper-cc2b3d55.mjs +0 -10
- package/components/chunks/check-8da249b1.mjs +0 -32
- package/components/chunks/check-f2fcce10.mjs +0 -32
- package/components/chunks/chevron-down-a78b9604.mjs +0 -32
- package/components/chunks/chevron-left-3365d59b.mjs +0 -32
- package/components/chunks/chevron-right-02f9e837.mjs +0 -32
- package/components/chunks/debounce-7d66ffa9.mjs +0 -12
- package/components/chunks/examples.mobile.json-618ba782.mjs +0 -4
- package/components/chunks/minus-c9cdee90.mjs +0 -32
- package/components/chunks/no-photography-7f2be516.mjs +0 -4
- package/components/chunks/plus-b1b0a5a8.mjs +0 -32
- package/components/chunks/x-mark-3b05101b.mjs +0 -31
- package/components/chunks/x-mark-c6ff45dd.mjs +0 -32
- package/modules/chunks/MazBtn-90ffd148.mjs +0 -184
- package/modules/chunks/MazIcon-988edef7.mjs +0 -159
- package/modules/chunks/MazSpinner-a16a3d8f.mjs +0 -46
- package/modules/chunks/chevron-left-3365d59b.mjs +0 -32
- package/modules/chunks/index-b1625fc2.mjs +0 -2315
- package/modules/chunks/no-photography-7f2be516.mjs +0 -4
- package/modules/chunks/x-mark-c6ff45dd.mjs +0 -32
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
-
const
|
|
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
|
-
|
|
23
|
-
_hoisted_2
|
|
20
|
+
), l = [
|
|
21
|
+
r
|
|
24
22
|
];
|
|
25
|
-
function
|
|
26
|
-
return
|
|
23
|
+
function s(c, i) {
|
|
24
|
+
return e(), t("svg", n, [...l]);
|
|
27
25
|
}
|
|
28
|
-
const
|
|
26
|
+
const a = { render: s };
|
|
29
27
|
export {
|
|
30
|
-
|
|
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-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
c as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
d as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maz-ui",
|
|
3
|
-
"version": "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,6 +88,9 @@
|
|
|
87
88
|
},
|
|
88
89
|
"defu": {
|
|
89
90
|
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"unplugin-vue-components": {
|
|
93
|
+
"optional": true
|
|
90
94
|
}
|
|
91
95
|
},
|
|
92
96
|
"dependencies": {
|
|
@@ -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
|
-
"
|
|
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",
|
package/types/modules/index.d.ts
CHANGED
|
@@ -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
|
-
};
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import "../assets/MazBottomSheet.css";
|
|
2
|
-
import { defineComponent, ref, onMounted, watch, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, createElementBlock, normalizeClass, createElementVNode, withModifiers, mergeProps, renderSlot, createCommentVNode, defineAsyncComponent, unref, pushScopeId, popScopeId } from "vue";
|
|
3
|
-
const MODAL_OPENED_CLASS = "--backdrop-present";
|
|
4
|
-
const addClassToDocument = () => {
|
|
5
|
-
document.documentElement.classList.add(MODAL_OPENED_CLASS);
|
|
6
|
-
};
|
|
7
|
-
const removeClassFromDocument = async () => {
|
|
8
|
-
const backdropPresents = document.querySelector(".m-backdrop.--present");
|
|
9
|
-
if (!backdropPresents) {
|
|
10
|
-
document.documentElement.classList.remove(MODAL_OPENED_CLASS);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
const _sfc_main$1 = defineComponent({
|
|
14
|
-
inheritAttrs: false,
|
|
15
|
-
props: {
|
|
16
|
-
modelValue: { type: Boolean, default: false },
|
|
17
|
-
teleportSelector: { type: String, default: "body" },
|
|
18
|
-
beforeClose: {
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
20
|
-
type: Function,
|
|
21
|
-
default: void 0
|
|
22
|
-
},
|
|
23
|
-
persistent: { type: Boolean, default: false },
|
|
24
|
-
noCloseOnEscKey: { type: Boolean, default: false },
|
|
25
|
-
transitionName: { type: String, default: "backdrop-anim" },
|
|
26
|
-
backdropClass: { type: [Array, String, Object], default: void 0 },
|
|
27
|
-
backdropContentClass: {
|
|
28
|
-
type: [Array, String, Object],
|
|
29
|
-
default: void 0
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
emits: ["open", "before-close", "close", "update:model-value"],
|
|
33
|
-
setup(props, { emit: emits }) {
|
|
34
|
-
const present = ref(props.modelValue);
|
|
35
|
-
const close = () => {
|
|
36
|
-
toggleModal(false);
|
|
37
|
-
};
|
|
38
|
-
const toggleModal = async (value) => {
|
|
39
|
-
var _a;
|
|
40
|
-
if (!value) {
|
|
41
|
-
emits("before-close");
|
|
42
|
-
await ((_a = props.beforeClose) == null ? void 0 : _a.call(props));
|
|
43
|
-
}
|
|
44
|
-
present.value = value;
|
|
45
|
-
};
|
|
46
|
-
const onBackdropAnimationEnter = () => {
|
|
47
|
-
emits("open");
|
|
48
|
-
};
|
|
49
|
-
const onBackdropAnimationLeave = () => {
|
|
50
|
-
emits("update:model-value", false);
|
|
51
|
-
emits("close");
|
|
52
|
-
removeClassAndEventToDocument();
|
|
53
|
-
};
|
|
54
|
-
const onBackdropClicked = () => {
|
|
55
|
-
if (!props.persistent) {
|
|
56
|
-
close();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const onKeyPress = (event) => {
|
|
60
|
-
if (!props.noCloseOnEscKey && event.key === "Escape" && !props.persistent) {
|
|
61
|
-
close();
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
const addClassAndEventToDocument = () => {
|
|
65
|
-
addClassToDocument();
|
|
66
|
-
document.addEventListener("keyup", onKeyPress, false);
|
|
67
|
-
};
|
|
68
|
-
const removeClassAndEventToDocument = () => {
|
|
69
|
-
document.removeEventListener("keyup", onKeyPress);
|
|
70
|
-
removeClassFromDocument();
|
|
71
|
-
};
|
|
72
|
-
onMounted(() => {
|
|
73
|
-
if (props.modelValue) {
|
|
74
|
-
addClassAndEventToDocument();
|
|
75
|
-
} else {
|
|
76
|
-
removeClassAndEventToDocument();
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
watch(
|
|
80
|
-
() => props.modelValue,
|
|
81
|
-
(value) => {
|
|
82
|
-
present.value = value;
|
|
83
|
-
if (value) {
|
|
84
|
-
addClassAndEventToDocument();
|
|
85
|
-
} else {
|
|
86
|
-
removeClassAndEventToDocument();
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
return {
|
|
91
|
-
onBackdropAnimationEnter,
|
|
92
|
-
onBackdropAnimationLeave,
|
|
93
|
-
onBackdropClicked,
|
|
94
|
-
close,
|
|
95
|
-
present,
|
|
96
|
-
toggleModal,
|
|
97
|
-
onKeyPress
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
const MazBackdrop_vue_vue_type_style_index_0_lang = "";
|
|
102
|
-
const MazBackdrop_vue_vue_type_style_index_1_lang = "";
|
|
103
|
-
const _export_sfc = (sfc, props) => {
|
|
104
|
-
const target = sfc.__vccOpts || sfc;
|
|
105
|
-
for (const [key, val] of props) {
|
|
106
|
-
target[key] = val;
|
|
107
|
-
}
|
|
108
|
-
return target;
|
|
109
|
-
};
|
|
110
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
111
|
-
return openBlock(), createBlock(Teleport, { to: _ctx.teleportSelector }, [
|
|
112
|
-
createVNode(Transition, {
|
|
113
|
-
appear: "",
|
|
114
|
-
name: _ctx.transitionName,
|
|
115
|
-
onAfterEnter: _ctx.onBackdropAnimationEnter,
|
|
116
|
-
onAfterLeave: _ctx.onBackdropAnimationLeave
|
|
117
|
-
}, {
|
|
118
|
-
default: withCtx(() => [
|
|
119
|
-
_ctx.present ? (openBlock(), createElementBlock(
|
|
120
|
-
"div",
|
|
121
|
-
{
|
|
122
|
-
key: 0,
|
|
123
|
-
class: normalizeClass(["m-backdrop --present", [_ctx.backdropClass]]),
|
|
124
|
-
tabindex: "-1",
|
|
125
|
-
role: "dialog"
|
|
126
|
-
},
|
|
127
|
-
[
|
|
128
|
-
createElementVNode(
|
|
129
|
-
"button",
|
|
130
|
-
{
|
|
131
|
-
class: normalizeClass(["m-backdrop-overlay", { "--disabled": _ctx.persistent }]),
|
|
132
|
-
tabindex: "-1",
|
|
133
|
-
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.onBackdropClicked && _ctx.onBackdropClicked(...args), ["self"]))
|
|
134
|
-
},
|
|
135
|
-
null,
|
|
136
|
-
2
|
|
137
|
-
/* CLASS */
|
|
138
|
-
),
|
|
139
|
-
createElementVNode(
|
|
140
|
-
"div",
|
|
141
|
-
mergeProps({
|
|
142
|
-
class: ["m-backdrop-content", _ctx.backdropContentClass]
|
|
143
|
-
}, _ctx.$attrs, {
|
|
144
|
-
role: "document",
|
|
145
|
-
tabindex: "0"
|
|
146
|
-
}),
|
|
147
|
-
[
|
|
148
|
-
renderSlot(_ctx.$slots, "default", { close: _ctx.close })
|
|
149
|
-
],
|
|
150
|
-
16
|
|
151
|
-
/* FULL_PROPS */
|
|
152
|
-
)
|
|
153
|
-
],
|
|
154
|
-
2
|
|
155
|
-
/* CLASS */
|
|
156
|
-
)) : createCommentVNode("v-if", true)
|
|
157
|
-
]),
|
|
158
|
-
_: 3
|
|
159
|
-
/* FORWARDED */
|
|
160
|
-
}, 8, ["name", "onAfterEnter", "onAfterLeave"])
|
|
161
|
-
], 8, ["to"]);
|
|
162
|
-
}
|
|
163
|
-
const MazBackdrop = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
|
|
164
|
-
const _hoisted_1$1 = {
|
|
165
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
166
|
-
width: "1em",
|
|
167
|
-
height: "1em",
|
|
168
|
-
fill: "none",
|
|
169
|
-
viewBox: "0 0 24 24"
|
|
170
|
-
};
|
|
171
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode(
|
|
172
|
-
"path",
|
|
173
|
-
{
|
|
174
|
-
stroke: "currentColor",
|
|
175
|
-
"stroke-linecap": "round",
|
|
176
|
-
"stroke-linejoin": "round",
|
|
177
|
-
"stroke-width": "1.5",
|
|
178
|
-
d: "M6 18 18 6M6 6l12 12"
|
|
179
|
-
},
|
|
180
|
-
null,
|
|
181
|
-
-1
|
|
182
|
-
/* HOISTED */
|
|
183
|
-
);
|
|
184
|
-
const _hoisted_3 = [
|
|
185
|
-
_hoisted_2
|
|
186
|
-
];
|
|
187
|
-
function render(_ctx, _cache) {
|
|
188
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$1, [..._hoisted_3]);
|
|
189
|
-
}
|
|
190
|
-
const XIcon = { render };
|
|
191
|
-
const _withScopeId = (n) => (pushScopeId("data-v-bc7adf8f"), n = n(), popScopeId(), n);
|
|
192
|
-
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
193
|
-
"div",
|
|
194
|
-
{ class: "m-bottom-sheet__content-wrapper" },
|
|
195
|
-
[
|
|
196
|
-
/* @__PURE__ */ createElementVNode("p", null, "Default content")
|
|
197
|
-
],
|
|
198
|
-
-1
|
|
199
|
-
/* HOISTED */
|
|
200
|
-
));
|
|
201
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
202
|
-
__name: "MazBottomSheet",
|
|
203
|
-
props: {
|
|
204
|
-
noClose: { type: Boolean, default: false },
|
|
205
|
-
noPadding: { type: Boolean, default: false }
|
|
206
|
-
},
|
|
207
|
-
emits: ["update:model-value", "open", "close"],
|
|
208
|
-
setup(__props, { emit: __emit }) {
|
|
209
|
-
const MazBtn = defineAsyncComponent(() => import("./MazBtn-fec4c3b7.mjs"));
|
|
210
|
-
const emits = __emit;
|
|
211
|
-
return (_ctx, _cache) => {
|
|
212
|
-
return openBlock(), createBlock(
|
|
213
|
-
MazBackdrop,
|
|
214
|
-
mergeProps(_ctx.$attrs, {
|
|
215
|
-
"transition-name": "bottom-sheet-anim",
|
|
216
|
-
"backdrop-class": "--bottom-sheet",
|
|
217
|
-
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close", $event)),
|
|
218
|
-
onOpen: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("open", $event)),
|
|
219
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => emits("update:model-value", $event))
|
|
220
|
-
}),
|
|
221
|
-
{
|
|
222
|
-
default: withCtx(({ close }) => [
|
|
223
|
-
createElementVNode(
|
|
224
|
-
"div",
|
|
225
|
-
{
|
|
226
|
-
class: normalizeClass(["m-bottom-sheet__container", {
|
|
227
|
-
"maz-py-6": !__props.noPadding
|
|
228
|
-
}])
|
|
229
|
-
},
|
|
230
|
-
[
|
|
231
|
-
createCommentVNode(" Slot content "),
|
|
232
|
-
renderSlot(_ctx.$slots, "default", { close }, () => [
|
|
233
|
-
_hoisted_1
|
|
234
|
-
], true),
|
|
235
|
-
!__props.noClose ? (openBlock(), createBlock(unref(MazBtn), {
|
|
236
|
-
key: 0,
|
|
237
|
-
size: "sm",
|
|
238
|
-
class: "m-bottom-sheet__close",
|
|
239
|
-
color: "transparent",
|
|
240
|
-
onClick: close
|
|
241
|
-
}, {
|
|
242
|
-
default: withCtx(() => [
|
|
243
|
-
createVNode(unref(XIcon), { class: "maz-text-lg" })
|
|
244
|
-
]),
|
|
245
|
-
_: 2
|
|
246
|
-
/* DYNAMIC */
|
|
247
|
-
}, 1032, ["onClick"])) : createCommentVNode("v-if", true)
|
|
248
|
-
],
|
|
249
|
-
2
|
|
250
|
-
/* CLASS */
|
|
251
|
-
)
|
|
252
|
-
]),
|
|
253
|
-
_: 3
|
|
254
|
-
/* FORWARDED */
|
|
255
|
-
},
|
|
256
|
-
16
|
|
257
|
-
/* FULL_PROPS */
|
|
258
|
-
);
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
const MazBottomSheet_vue_vue_type_style_index_0_scoped_bc7adf8f_lang = "";
|
|
263
|
-
const MazBottomSheet = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc7adf8f"]]);
|
|
264
|
-
export {
|
|
265
|
-
MazBottomSheet as M,
|
|
266
|
-
_export_sfc as _
|
|
267
|
-
};
|