maz-ui 3.17.1 → 3.18.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.d.ts +4 -4
- package/components/MazAvatar.mjs +2 -500
- package/components/MazBackdrop.d.ts +3 -3
- package/components/MazBackdrop.mjs +1 -1
- package/components/MazBadge.mjs +3 -3
- package/components/MazBottomSheet.mjs +2 -645
- package/components/MazBtn.d.ts +1 -1
- package/components/MazBtn.mjs +2 -393
- package/components/MazCard.d.ts +2 -2
- package/components/MazCard.mjs +2 -1495
- package/components/MazCarousel.mjs +2 -564
- package/components/MazChart.d.ts +1 -1
- package/components/MazCheckbox.d.ts +1 -1
- package/components/MazCheckbox.mjs +4 -7
- package/components/MazDialog.mjs +2 -695
- package/components/MazDialogPromise.d.ts +4 -5
- package/components/MazDialogPromise.mjs +3 -876
- package/components/MazDrawer.d.ts +1 -1
- package/components/MazDrawer.mjs +2 -661
- package/components/MazDropzone.d.ts +12 -13
- package/components/MazDropzone.mjs +3 -361
- package/components/MazFullscreenLoader.mjs +3 -50
- package/components/MazGallery.mjs +17 -17
- package/components/MazIcon.d.ts +2 -2
- package/components/MazIcon.mjs +1 -10
- package/components/MazInput.d.ts +2 -2
- package/components/MazInput.mjs +3 -736
- package/components/MazInputNumber.d.ts +1 -1
- package/components/MazInputNumber.mjs +9 -792
- package/components/MazInputPrice.d.ts +1 -1
- package/components/MazInputPrice.mjs +2 -875
- package/components/MazInputTags.mjs +2 -919
- package/components/MazLazyImg.d.ts +1 -1
- package/components/MazLazyImg.mjs +2 -375
- package/components/MazPhoneNumberInput.d.ts +3 -4
- package/components/MazPhoneNumberInput.mjs +2 -2044
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +4 -4
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +4 -4
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +2 -2
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
- package/components/MazPicker/utils.d.ts +1 -1
- package/components/MazPicker.d.ts +3 -4
- package/components/MazPicker.mjs +2 -3136
- package/components/MazRadioButtons.d.ts +1 -1
- package/components/MazRadioButtons.mjs +1 -1
- package/components/MazSelect.d.ts +5 -4
- package/components/MazSelect.mjs +2 -1212
- package/components/MazSlider.d.ts +1 -1
- package/components/MazSlider.mjs +5 -5
- package/components/MazSpinner.d.ts +1 -1
- package/components/MazSpinner.mjs +4 -4
- package/components/MazStepper.d.ts +1 -1
- package/components/MazStepper.mjs +2 -469
- package/components/MazSwitch.d.ts +2 -2
- package/components/MazSwitch.mjs +1 -1
- package/components/MazTabs.d.ts +1 -1
- package/components/MazTabsBar.mjs +2 -522
- package/components/MazTabsContent.mjs +9 -18
- package/components/MazTabsContentItem.mjs +11 -19
- package/components/MazTextarea.d.ts +3 -3
- package/components/MazTextarea.mjs +12 -20
- package/components/MazTransitionExpand.mjs +1 -1
- package/components/assets/MazAvatar.css +1 -0
- package/components/assets/MazBackdrop.css +1 -0
- package/components/assets/MazBadge.css +1 -0
- package/components/assets/MazBottomSheet.css +1 -0
- package/components/assets/MazBtn.css +1 -0
- package/components/assets/MazCard.css +1 -0
- package/components/assets/MazCarousel.css +1 -0
- package/components/assets/MazCheckbox.css +1 -0
- package/components/assets/MazDialog.css +1 -0
- package/components/assets/MazDialogPromise.css +1 -0
- package/components/assets/MazDrawer.css +1 -0
- package/components/assets/MazDropzone.css +1 -0
- package/components/assets/MazGallery.css +1 -0
- package/components/assets/MazInput.css +1 -0
- package/components/assets/MazInputNumber.css +1 -0
- package/components/assets/MazInputPrice.css +1 -0
- package/components/assets/MazInputTags.css +1 -0
- package/components/assets/MazLazyImg.css +1 -0
- package/components/assets/MazPhoneNumberInput.css +1 -0
- package/components/assets/MazPicker.css +1 -0
- package/components/assets/MazPickerCalendar.css +1 -0
- package/components/assets/MazPickerHeader.css +1 -0
- package/components/assets/MazPickerMonthSwitcher.css +1 -0
- package/components/assets/MazPickerShortcuts.css +1 -0
- package/components/assets/MazPickerTime.css +1 -0
- package/components/assets/MazPickerYearSwitcher.css +1 -0
- package/components/assets/MazRadioButtons.css +1 -0
- package/components/assets/MazSelect.css +1 -0
- package/components/assets/MazSlider.css +1 -0
- package/components/assets/MazSpinner.css +1 -0
- package/components/assets/MazStepper.css +1 -0
- package/components/assets/MazSwitch.css +1 -0
- package/components/assets/MazTabsBar.css +1 -0
- package/components/assets/MazTabsContentItem.css +1 -0
- package/components/assets/MazTextarea.css +1 -0
- package/components/assets/MazTransitionExpand.css +1 -0
- package/components/chunks/MazAvatar-68e2d653.mjs +139 -0
- package/components/chunks/MazBottomSheet-1fd128d5.mjs +266 -0
- package/components/chunks/MazBtn-113db7ce.mjs +184 -0
- package/components/chunks/MazBtn-360120f0.mjs +184 -0
- package/components/chunks/MazBtn-740fa3f9.mjs +184 -0
- package/components/chunks/MazBtn-7963cdc8.mjs +184 -0
- package/components/chunks/MazBtn-80a95ca3.mjs +184 -0
- package/components/chunks/MazBtn-83e85ae7.mjs +184 -0
- package/components/chunks/MazBtn-875045b0.mjs +184 -0
- package/components/chunks/MazBtn-8b76a9b9.mjs +184 -0
- package/components/chunks/MazBtn-9449d9aa.mjs +184 -0
- package/components/chunks/MazBtn-9e23a622.mjs +184 -0
- package/components/chunks/MazBtn-a2eeb3f8.mjs +184 -0
- package/components/chunks/MazBtn-aed16fa9.mjs +184 -0
- package/components/chunks/MazBtn-b191eece.mjs +184 -0
- package/components/chunks/MazBtn-cd553cc1.mjs +184 -0
- package/components/chunks/MazBtn-ebaa1574.mjs +191 -0
- package/components/chunks/MazCard-f0b1207f.mjs +237 -0
- package/components/chunks/MazCarousel-e6c83219.mjs +133 -0
- package/components/chunks/MazDialog-5c53a6d7.mjs +290 -0
- package/components/chunks/MazDialogPromise-e0a178ee.mjs +474 -0
- package/components/chunks/MazDrawer-682859a4.mjs +256 -0
- package/components/chunks/MazDropzone-d1bb62dc.mjs +325 -0
- package/components/chunks/MazGallery-345cb883.mjs +812 -0
- package/components/chunks/MazIcon-00892ac4.mjs +158 -0
- package/components/chunks/MazIcon-146f73d3.mjs +164 -0
- package/components/chunks/MazInput-0424a850.mjs +341 -0
- package/components/chunks/MazInput-3021f55e.mjs +344 -0
- package/components/chunks/MazInput-4b908386.mjs +358 -0
- package/components/chunks/MazInput-c67999b0.mjs +351 -0
- package/components/chunks/MazInputPrice-50e3ea5d.mjs +497 -0
- package/components/chunks/MazInputTags-801c15dc.mjs +542 -0
- package/components/chunks/MazLazyImg-13052d11.mjs +339 -0
- package/components/chunks/MazLazyImg-a206909b.mjs +332 -0
- package/components/chunks/MazPhoneNumberInput-59aa8e06.mjs +854 -0
- package/components/chunks/MazPicker-25765233.mjs +1337 -0
- package/components/chunks/MazPickerCalendar-1547bd78.mjs +682 -0
- package/components/chunks/MazPickerHeader-04d6a61f.mjs +216 -0
- package/components/chunks/MazPickerMonthSwitcher-791ebc99.mjs +109 -0
- package/components/chunks/MazPickerShortcuts-4bdeae6a.mjs +87 -0
- package/components/chunks/MazPickerTime-0ca05476.mjs +300 -0
- package/components/chunks/MazPickerYearSwitcher-a338777f.mjs +124 -0
- package/components/chunks/MazSelect-c03eaaf8.mjs +759 -0
- package/components/chunks/MazSelect-d3d81ae8.mjs +408 -0
- package/components/chunks/MazSpinner-07d6be3a.mjs +46 -0
- package/components/chunks/MazSpinner-24e65651.mjs +46 -0
- package/components/chunks/MazSpinner-33f756c4.mjs +46 -0
- package/components/chunks/MazSpinner-450e5795.mjs +46 -0
- package/components/chunks/MazSpinner-50959d38.mjs +46 -0
- package/components/chunks/MazSpinner-53979e96.mjs +46 -0
- package/components/chunks/MazSpinner-559fb831.mjs +46 -0
- package/components/chunks/MazSpinner-5baeb3f0.mjs +46 -0
- package/components/chunks/MazSpinner-5be09a6a.mjs +46 -0
- package/components/chunks/MazSpinner-6b563b22.mjs +46 -0
- package/components/chunks/MazSpinner-7e5fb76c.mjs +46 -0
- package/components/chunks/MazSpinner-87273e1f.mjs +46 -0
- package/components/chunks/MazSpinner-8e180605.mjs +52 -0
- package/components/chunks/MazSpinner-a3fe9ccb.mjs +46 -0
- package/components/chunks/MazSpinner-ac676f71.mjs +46 -0
- package/components/chunks/MazSpinner-c4d67909.mjs +46 -0
- package/components/chunks/MazSpinner-d5f2c266.mjs +46 -0
- package/components/chunks/MazSpinner-e4d7bbe9.mjs +46 -0
- package/components/chunks/MazSpinner-f40ee2c7.mjs +46 -0
- package/components/chunks/MazStepper-d61114a7.mjs +254 -0
- package/components/chunks/MazTabsBar-6f1ed175.mjs +151 -0
- package/components/chunks/MazTransitionExpand-bf4cb245.mjs +57 -0
- package/components/chunks/MazTransitionExpand-e408307c.mjs +57 -0
- package/components/chunks/_plugin-vue_export-helper-cc2b3d55.mjs +10 -0
- package/components/chunks/check-circle-403abf7e.mjs +32 -0
- package/components/chunks/chevron-down-7a070b10.mjs +32 -0
- package/components/chunks/chevron-left-7ab9664d.mjs +32 -0
- package/components/chunks/chevron-right-d300cd13.mjs +32 -0
- package/components/chunks/debounce-b08199da.mjs +14 -0
- package/components/chunks/examples.mobile.json-618ba782.mjs +4 -0
- package/components/chunks/exclamation-circle-78184f31.mjs +32 -0
- package/components/chunks/exclamation-triangle-7b00fa9b.mjs +32 -0
- package/components/chunks/magnifying-glass-6a0dd1a2.mjs +32 -0
- package/components/chunks/minus-a1cc422e.mjs +32 -0
- package/components/chunks/no-symbol-6173a20b.mjs +32 -0
- package/components/chunks/plus-9ca3cdd9.mjs +32 -0
- package/components/chunks/x-mark-6dd31278.mjs +32 -0
- package/components/chunks/x-mark-af0cf423.mjs +31 -0
- package/components/types.d.ts +1 -0
- package/css/main.css +1 -1
- package/modules/assets/MazSpinner.css +1 -0
- package/modules/assets/index.css +1 -0
- package/modules/chunks/MazSpinner-747363d7.mjs +46 -0
- package/modules/chunks/chevron-left-7ab9664d.mjs +32 -0
- package/modules/chunks/index-86628f38.mjs +2202 -0
- package/modules/chunks/x-mark-6dd31278.mjs +32 -0
- package/modules/index.mjs +45 -2284
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +2 -2
- package/package.json +10 -10
- package/types/components/MazAvatar.vue.d.ts +4 -4
- package/types/components/MazBackdrop.vue.d.ts +3 -3
- package/types/components/MazBtn.vue.d.ts +1 -1
- package/types/components/MazCard.vue.d.ts +2 -2
- package/types/components/MazChart.vue.d.ts +1 -1
- package/types/components/MazCheckbox.vue.d.ts +1 -1
- package/types/components/MazDialogPromise.vue.d.ts +4 -5
- package/types/components/MazDrawer.vue.d.ts +1 -1
- package/types/components/MazDropzone.vue.d.ts +12 -13
- package/types/components/MazIcon.vue.d.ts +2 -2
- package/types/components/MazInput.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +1 -1
- package/types/components/MazInputPrice.vue.d.ts +1 -1
- package/types/components/MazLazyImg.vue.d.ts +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +3 -4
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +4 -4
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +4 -4
- package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +2 -2
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
- package/types/components/MazPicker/utils.d.ts +1 -1
- package/types/components/MazPicker.vue.d.ts +3 -4
- package/types/components/MazRadioButtons.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +5 -4
- package/types/components/MazSlider.vue.d.ts +1 -1
- package/types/components/MazSpinner.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +1 -1
- package/types/components/MazSwitch.vue.d.ts +2 -2
- package/types/components/MazTabs.vue.d.ts +1 -1
- package/types/components/MazTextarea.vue.d.ts +3 -3
- package/types/components/types.d.ts +1 -0
- package/types/modules/composables/use-instance-uniq-id.d.ts +1 -1
- package/types/modules/directives/click-outside.d.ts +1 -1
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +30 -30
- package/types/modules/helpers/index.d.ts +1 -0
- package/types/modules/helpers/locale-to-unicode-flag.d.ts +1 -0
- package/types/modules/helpers/mount-component.d.ts +1 -1
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +4 -4
- package/types/modules/plugins/wait/index.d.ts +1 -1
- /package/components/{assets → chunks}/check-b1507ce9.mjs +0 -0
- /package/components/{assets → chunks}/eye-290c6a03.mjs +0 -0
- /package/components/{assets → chunks}/eye-slash-3c6844fc.mjs +0 -0
- /package/components/{assets → chunks}/no-photography-7f2be516.mjs +0 -0
- /package/components/{assets → chunks}/no-photography-bc9a1f6a.mjs +0 -0
- /package/components/{assets → chunks}/pencil-6f15596d.mjs +0 -0
- /package/modules/{assets → chunks}/no-photography-7f2be516.mjs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
2
|
import type { Color } from './types';
|
|
3
|
-
export type { Color }
|
|
3
|
+
export type { Color };
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
5
|
src: {
|
|
6
6
|
type: PropType<string | null | undefined>;
|
|
@@ -130,12 +130,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
130
130
|
}, {
|
|
131
131
|
size: string;
|
|
132
132
|
caption: string | null | undefined;
|
|
133
|
-
alt: string;
|
|
134
133
|
src: string | null | undefined;
|
|
135
|
-
|
|
134
|
+
alt: string;
|
|
136
135
|
target: string;
|
|
137
136
|
noLoader: boolean;
|
|
138
137
|
imageHeightFull: boolean;
|
|
138
|
+
href: string;
|
|
139
139
|
to: Record<string, any>;
|
|
140
140
|
bordered: boolean;
|
|
141
141
|
clickable: boolean;
|
package/components/MazAvatar.mjs
CHANGED
|
@@ -1,502 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode, computed, withDirectives, Fragment, renderList, mergeProps, createVNode, createCommentVNode, renderSlot, unref, defineAsyncComponent, createBlock, resolveDynamicComponent, withCtx, withKeys, toDisplayString, normalizeStyle } from "vue";
|
|
9
|
-
const EMPTY_PHOTO = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
|
|
10
|
-
const DEFAULT_OPTIONS = {
|
|
11
|
-
baseClass: "m-lazy-img",
|
|
12
|
-
loadedClass: "m-lazy-loaded",
|
|
13
|
-
loadingClass: "m-lazy-loading",
|
|
14
|
-
errorClass: "m-lazy-error",
|
|
15
|
-
noPhotoClass: "m-lazy-no-photo",
|
|
16
|
-
noPhoto: false,
|
|
17
|
-
observerOnce: true,
|
|
18
|
-
loadOnce: false,
|
|
19
|
-
noUseErrorPhoto: false,
|
|
20
|
-
observerOptions: {
|
|
21
|
-
threshold: 0.1
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
class LazyImg {
|
|
25
|
-
constructor(opts = {}) {
|
|
26
|
-
__publicField(this, "observers", []);
|
|
27
|
-
__publicField(this, "defaultOptions", DEFAULT_OPTIONS);
|
|
28
|
-
__publicField(this, "options");
|
|
29
|
-
__publicField(this, "onImgLoadedCallback");
|
|
30
|
-
__publicField(this, "onImgErrorCallback");
|
|
31
|
-
__publicField(this, "hasImgLoaded", false);
|
|
32
|
-
this.options = this.buildOptions(opts);
|
|
33
|
-
this.onImgLoadedCallback = this.imageIsLoaded.bind(this);
|
|
34
|
-
this.onImgErrorCallback = this.imageHasError.bind(this);
|
|
35
|
-
}
|
|
36
|
-
async loadErrorPhoto() {
|
|
37
|
-
const { default: photo } = await import("./assets/no-photography-7f2be516.mjs");
|
|
38
|
-
return photo;
|
|
39
|
-
}
|
|
40
|
-
buildOptions(opts) {
|
|
41
|
-
return {
|
|
42
|
-
...this.defaultOptions,
|
|
43
|
-
...opts,
|
|
44
|
-
observerOptions: {
|
|
45
|
-
...this.defaultOptions.observerOptions,
|
|
46
|
-
...opts.observerOptions
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
removeClass(el, className) {
|
|
51
|
-
el.classList.remove(className);
|
|
52
|
-
}
|
|
53
|
-
addClass(el, className) {
|
|
54
|
-
el.classList.add(className);
|
|
55
|
-
}
|
|
56
|
-
removeAllStateClasses(el) {
|
|
57
|
-
this.removeClass(el, this.options.loadedClass);
|
|
58
|
-
this.removeClass(el, this.options.loadingClass);
|
|
59
|
-
this.removeClass(el, this.options.errorClass);
|
|
60
|
-
this.removeClass(el, this.options.noPhotoClass);
|
|
61
|
-
}
|
|
62
|
-
setBaseClass(el) {
|
|
63
|
-
this.addClass(el, this.options.baseClass);
|
|
64
|
-
}
|
|
65
|
-
imageIsLoading(el) {
|
|
66
|
-
var _a, _b;
|
|
67
|
-
this.addClass(el, this.options.loadingClass);
|
|
68
|
-
(_b = (_a = this.options).onLoading) == null ? void 0 : _b.call(_a, el);
|
|
69
|
-
}
|
|
70
|
-
imageHasNoPhoto(el) {
|
|
71
|
-
this.removeClass(el, this.options.loadingClass);
|
|
72
|
-
this.addClass(el, this.options.noPhotoClass);
|
|
73
|
-
this.setDefaultPhoto(el);
|
|
74
|
-
}
|
|
75
|
-
imageIsLoaded(el) {
|
|
76
|
-
var _a, _b;
|
|
77
|
-
this.hasImgLoaded = true;
|
|
78
|
-
this.removeClass(el, this.options.loadingClass);
|
|
79
|
-
this.addClass(el, this.options.loadedClass);
|
|
80
|
-
(_b = (_a = this.options).onLoaded) == null ? void 0 : _b.call(_a, el);
|
|
81
|
-
}
|
|
82
|
-
imageHasError(el, event) {
|
|
83
|
-
var _a, _b;
|
|
84
|
-
console.warn(`[maz-ui][MazLazyImg] Error while loading image`, event);
|
|
85
|
-
this.removeClass(el, this.options.loadingClass);
|
|
86
|
-
this.addClass(el, this.options.errorClass);
|
|
87
|
-
(_b = (_a = this.options).onError) == null ? void 0 : _b.call(_a, el);
|
|
88
|
-
this.setDefaultPhoto(el);
|
|
89
|
-
}
|
|
90
|
-
getImageUrl(el, binding) {
|
|
91
|
-
const dataSrc = this.getImgElement(el).getAttribute("data-src");
|
|
92
|
-
if (dataSrc)
|
|
93
|
-
return dataSrc;
|
|
94
|
-
binding.value;
|
|
95
|
-
const bindingSrc = typeof binding.value === "object" ? binding.value.src : binding.value;
|
|
96
|
-
if (!bindingSrc)
|
|
97
|
-
console.warn(`[maz-ui][MazLazyImg] src url is not defined`);
|
|
98
|
-
return bindingSrc;
|
|
99
|
-
}
|
|
100
|
-
async setPictureSourceUrls(el) {
|
|
101
|
-
const sourceElements = el.querySelectorAll("source");
|
|
102
|
-
if (sourceElements.length > 0) {
|
|
103
|
-
for await (const source of sourceElements) {
|
|
104
|
-
const srcSet = source.getAttribute("data-srcset");
|
|
105
|
-
if (srcSet) {
|
|
106
|
-
source.srcset = srcSet;
|
|
107
|
-
} else {
|
|
108
|
-
console.warn(
|
|
109
|
-
'[maz-ui][MazLazyImg] the "[data-srcset]" attribute is not provided on "<source />"'
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
} else {
|
|
114
|
-
console.warn(
|
|
115
|
-
'[maz-ui][MazLazyImg] No "<source />" elements provided into the "<picture />" element'
|
|
116
|
-
);
|
|
117
|
-
this.imageHasError(el);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
hasBgImgMode(binding) {
|
|
121
|
-
return binding.arg === "bg-image";
|
|
122
|
-
}
|
|
123
|
-
isPictureElement(el) {
|
|
124
|
-
return el instanceof HTMLPictureElement;
|
|
125
|
-
}
|
|
126
|
-
getImgElement(el) {
|
|
127
|
-
const isPictureElement = this.isPictureElement(el);
|
|
128
|
-
return isPictureElement ? el.querySelector("img") : el;
|
|
129
|
-
}
|
|
130
|
-
async setDefaultPhoto(el) {
|
|
131
|
-
if (this.options.noUseErrorPhoto)
|
|
132
|
-
return;
|
|
133
|
-
const errorPhoto = this.options.errorPhoto ?? await this.loadErrorPhoto();
|
|
134
|
-
const sourceElements = el.querySelectorAll("source");
|
|
135
|
-
if (sourceElements.length > 0) {
|
|
136
|
-
for await (const source of sourceElements) {
|
|
137
|
-
source.srcset = errorPhoto;
|
|
138
|
-
}
|
|
139
|
-
} else {
|
|
140
|
-
this.setImgSrc(el, errorPhoto);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
addEventListenerToImg(el) {
|
|
144
|
-
const imgElement = this.getImgElement(el);
|
|
145
|
-
imgElement.addEventListener("load", () => this.onImgLoadedCallback(el), {
|
|
146
|
-
once: true
|
|
147
|
-
});
|
|
148
|
-
imgElement.addEventListener("error", (err) => this.onImgErrorCallback(el, err), { once: true });
|
|
149
|
-
}
|
|
150
|
-
async loadImage(el, binding) {
|
|
151
|
-
this.imageIsLoading(el);
|
|
152
|
-
if (this.isPictureElement(el)) {
|
|
153
|
-
this.addEventListenerToImg(el);
|
|
154
|
-
await this.setPictureSourceUrls(el);
|
|
155
|
-
} else {
|
|
156
|
-
const imageUrl = this.getImageUrl(el, binding);
|
|
157
|
-
if (!imageUrl)
|
|
158
|
-
return this.imageHasError(el);
|
|
159
|
-
if (this.hasBgImgMode(binding)) {
|
|
160
|
-
el.style.backgroundImage = `url('${imageUrl}')`;
|
|
161
|
-
this.imageIsLoaded(el);
|
|
162
|
-
} else {
|
|
163
|
-
this.addEventListenerToImg(el);
|
|
164
|
-
this.setImgSrc(el, imageUrl);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
setImgSrc(el, src) {
|
|
169
|
-
const imgElement = this.getImgElement(el);
|
|
170
|
-
imgElement.src = src;
|
|
171
|
-
}
|
|
172
|
-
handleIntersectionObserver(el, binding, entries, observer) {
|
|
173
|
-
var _a, _b;
|
|
174
|
-
this.observers.push(observer);
|
|
175
|
-
for (const entry of entries) {
|
|
176
|
-
if (entry.isIntersecting) {
|
|
177
|
-
(_b = (_a = this.options).onIntersecting) == null ? void 0 : _b.call(_a, entry.target);
|
|
178
|
-
if (this.options.observerOnce) {
|
|
179
|
-
observer.unobserve(el);
|
|
180
|
-
}
|
|
181
|
-
if (this.options.loadOnce && this.hasImgLoaded)
|
|
182
|
-
return;
|
|
183
|
-
this.loadImage(el, binding);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
createObserver(el, binding) {
|
|
188
|
-
const observerCallback = (entries, intersectionObserver) => {
|
|
189
|
-
this.handleIntersectionObserver(el, binding, entries, intersectionObserver);
|
|
190
|
-
};
|
|
191
|
-
const observerOptions = this.options.observerOptions;
|
|
192
|
-
const observer = new IntersectionObserver(observerCallback, observerOptions);
|
|
193
|
-
observer.observe(el);
|
|
194
|
-
}
|
|
195
|
-
async imageHandler(el, binding, type) {
|
|
196
|
-
if (type === "update") {
|
|
197
|
-
for await (const observer of this.observers)
|
|
198
|
-
observer.unobserve(el);
|
|
199
|
-
}
|
|
200
|
-
if (window.IntersectionObserver) {
|
|
201
|
-
this.createObserver(el, binding);
|
|
202
|
-
} else {
|
|
203
|
-
this.loadImage(el, binding);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
async bindUpdateHandler(el, binding, type) {
|
|
207
|
-
if (this.options.noPhoto)
|
|
208
|
-
return this.imageHasNoPhoto(el);
|
|
209
|
-
await this.imageHandler(el, binding, type);
|
|
210
|
-
}
|
|
211
|
-
async add(el, binding) {
|
|
212
|
-
if (this.hasBgImgMode(binding) && this.isPictureElement(el)) {
|
|
213
|
-
throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);
|
|
214
|
-
}
|
|
215
|
-
setTimeout(() => this.setBaseClass(el), 0);
|
|
216
|
-
if (!el.getAttribute("src"))
|
|
217
|
-
this.setImgSrc(el, EMPTY_PHOTO);
|
|
218
|
-
await this.bindUpdateHandler(el, binding, "bind");
|
|
219
|
-
}
|
|
220
|
-
async update(el, binding) {
|
|
221
|
-
if (binding.value !== binding.oldValue) {
|
|
222
|
-
this.hasImgLoaded = false;
|
|
223
|
-
this.removeAllStateClasses(el);
|
|
224
|
-
await this.bindUpdateHandler(el, binding, "update");
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
remove(el, binding) {
|
|
228
|
-
this.hasImgLoaded = false;
|
|
229
|
-
if (this.hasBgImgMode(binding))
|
|
230
|
-
el.style.backgroundImage = "";
|
|
231
|
-
this.removeAllStateClasses(el);
|
|
232
|
-
for (const observer of this.observers)
|
|
233
|
-
observer.unobserve(el);
|
|
234
|
-
this.observers = [];
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
let instance;
|
|
238
|
-
const vLazyImg = {
|
|
239
|
-
created(el, binding) {
|
|
240
|
-
const options = typeof binding.value === "object" ? binding.value : {};
|
|
241
|
-
instance = new LazyImg(options);
|
|
242
|
-
instance.add(el, binding);
|
|
243
|
-
},
|
|
244
|
-
updated(el, binding) {
|
|
245
|
-
instance.update(el, binding);
|
|
246
|
-
},
|
|
247
|
-
unmounted(el, binding) {
|
|
248
|
-
instance.remove(el, binding);
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
const _withScopeId = (n) => (pushScopeId("data-v-7a2b89c9"), n = n(), popScopeId(), n);
|
|
252
|
-
const _hoisted_1$2 = ["width", "height"];
|
|
253
|
-
const _hoisted_2$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
254
|
-
"path",
|
|
255
|
-
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
256
|
-
null,
|
|
257
|
-
-1
|
|
258
|
-
/* HOISTED */
|
|
259
|
-
));
|
|
260
|
-
const _hoisted_3$1 = [
|
|
261
|
-
_hoisted_2$2
|
|
262
|
-
];
|
|
263
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
264
|
-
__name: "MazSpinner",
|
|
265
|
-
props: {
|
|
266
|
-
size: { type: String, default: "2em" },
|
|
267
|
-
color: {
|
|
268
|
-
type: String,
|
|
269
|
-
default: "primary"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
setup(__props) {
|
|
273
|
-
return (_ctx, _cache) => {
|
|
274
|
-
return openBlock(), createElementBlock("svg", {
|
|
275
|
-
width: __props.size,
|
|
276
|
-
height: __props.size,
|
|
277
|
-
version: "1.1",
|
|
278
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
279
|
-
x: "0px",
|
|
280
|
-
y: "0px",
|
|
281
|
-
viewBox: "0 0 50 50",
|
|
282
|
-
"xml:space": "preserve",
|
|
283
|
-
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
284
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
285
|
-
}, _hoisted_3$1, 10, _hoisted_1$2);
|
|
286
|
-
};
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
const MazSpinner_vue_vue_type_style_index_0_scoped_7a2b89c9_lang = "";
|
|
290
|
-
const _export_sfc = (sfc, props) => {
|
|
291
|
-
const target = sfc.__vccOpts || sfc;
|
|
292
|
-
for (const [key, val] of props) {
|
|
293
|
-
target[key] = val;
|
|
294
|
-
}
|
|
295
|
-
return target;
|
|
296
|
-
};
|
|
297
|
-
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-7a2b89c9"]]);
|
|
298
|
-
const _hoisted_1$1 = ["data-srcset", "media"];
|
|
299
|
-
const _hoisted_2$1 = {
|
|
300
|
-
key: 0,
|
|
301
|
-
class: "m-lazy-img-component-loader"
|
|
302
|
-
};
|
|
303
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
304
|
-
__name: "MazLazyImg",
|
|
305
|
-
props: {
|
|
306
|
-
image: { type: [String, Object], default: void 0 },
|
|
307
|
-
noPhoto: { type: Boolean, default: false },
|
|
308
|
-
noLoader: { type: Boolean, default: false },
|
|
309
|
-
noObserverOnce: { type: Boolean, default: false },
|
|
310
|
-
loadOnce: { type: Boolean, default: false },
|
|
311
|
-
imageHeightFull: { type: Boolean, default: false },
|
|
312
|
-
observerOptions: { type: Object, default: null }
|
|
313
|
-
},
|
|
314
|
-
emits: ["intersecting", "loading", "loaded", "error"],
|
|
315
|
-
setup(__props) {
|
|
316
|
-
const props = __props;
|
|
317
|
-
const sources = computed(() => {
|
|
318
|
-
var _a;
|
|
319
|
-
return typeof props.image === "string" ? [{ srcset: props.image }] : (_a = props.image) == null ? void 0 : _a.sources;
|
|
320
|
-
});
|
|
321
|
-
return (_ctx, _cache) => {
|
|
322
|
-
return withDirectives((openBlock(), createElementBlock(
|
|
323
|
-
"picture",
|
|
324
|
-
{
|
|
325
|
-
class: normalizeClass(["m-lazy-img-component", { "-use-loader": !__props.noLoader, "--height-full": __props.imageHeightFull }])
|
|
326
|
-
},
|
|
327
|
-
[
|
|
328
|
-
(openBlock(true), createElementBlock(
|
|
329
|
-
Fragment,
|
|
330
|
-
null,
|
|
331
|
-
renderList(sources.value, ({ srcset, media }, sourceIndex) => {
|
|
332
|
-
return openBlock(), createElementBlock("source", {
|
|
333
|
-
key: sourceIndex,
|
|
334
|
-
"data-srcset": srcset,
|
|
335
|
-
media
|
|
336
|
-
}, null, 8, _hoisted_1$1);
|
|
337
|
-
}),
|
|
338
|
-
128
|
|
339
|
-
/* KEYED_FRAGMENT */
|
|
340
|
-
)),
|
|
341
|
-
createElementVNode(
|
|
342
|
-
"img",
|
|
343
|
-
mergeProps(_ctx.$attrs, {
|
|
344
|
-
src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
|
|
345
|
-
loading: "lazy"
|
|
346
|
-
}),
|
|
347
|
-
null,
|
|
348
|
-
16
|
|
349
|
-
/* FULL_PROPS */
|
|
350
|
-
),
|
|
351
|
-
!__props.noLoader ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
352
|
-
createVNode(MazSpinner, { size: "2em" })
|
|
353
|
-
])) : createCommentVNode("v-if", true),
|
|
354
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
355
|
-
],
|
|
356
|
-
2
|
|
357
|
-
/* CLASS */
|
|
358
|
-
)), [
|
|
359
|
-
[unref(vLazyImg), {
|
|
360
|
-
noPhoto: __props.noPhoto,
|
|
361
|
-
observerOnce: !__props.noObserverOnce,
|
|
362
|
-
loadOnce: __props.loadOnce,
|
|
363
|
-
onIntersecting: (el) => _ctx.$emit("intersecting", el),
|
|
364
|
-
onLoading: (el) => _ctx.$emit("loading", el),
|
|
365
|
-
onLoaded: (el) => _ctx.$emit("loaded", el),
|
|
366
|
-
onError: (el) => _ctx.$emit("error", el),
|
|
367
|
-
observerOptions: __props.observerOptions
|
|
368
|
-
}]
|
|
369
|
-
]);
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
const MazLazyImg_vue_vue_type_style_index_0_scoped_0b3c1dc7_lang = "";
|
|
374
|
-
const MazLazyImg = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0b3c1dc7"]]);
|
|
375
|
-
const _hoisted_1 = ["tabindex"];
|
|
376
|
-
const _hoisted_2 = { class: "m-avatar__initial" };
|
|
377
|
-
const _hoisted_3 = {
|
|
378
|
-
key: 0,
|
|
379
|
-
class: "m-avatar__caption"
|
|
380
|
-
};
|
|
381
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
382
|
-
__name: "MazAvatar",
|
|
383
|
-
props: {
|
|
384
|
-
src: {
|
|
385
|
-
type: String,
|
|
386
|
-
default: void 0
|
|
387
|
-
},
|
|
388
|
-
caption: {
|
|
389
|
-
type: String,
|
|
390
|
-
default: void 0
|
|
391
|
-
},
|
|
392
|
-
href: { type: String, default: void 0 },
|
|
393
|
-
to: { type: Object, default: void 0 },
|
|
394
|
-
alt: { type: String, default: "avatar image" },
|
|
395
|
-
target: { type: String, default: "_self" },
|
|
396
|
-
size: { type: String, default: void 0 },
|
|
397
|
-
bordered: { type: Boolean, default: false },
|
|
398
|
-
clickable: { type: Boolean, default: false },
|
|
399
|
-
square: { type: Boolean, default: false },
|
|
400
|
-
noElevation: { type: Boolean, default: false },
|
|
401
|
-
showCaption: { type: Boolean, default: false },
|
|
402
|
-
imageHeightFull: { type: Boolean, default: false },
|
|
403
|
-
noLoader: { type: Boolean, default: false },
|
|
404
|
-
buttonColor: {
|
|
405
|
-
type: String,
|
|
406
|
-
default: "info"
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
emits: ["click"],
|
|
410
|
-
setup(__props) {
|
|
411
|
-
const props = __props;
|
|
412
|
-
const PencilIcon = defineAsyncComponent(() => import("./assets/pencil-6f15596d.mjs"));
|
|
413
|
-
const componentType = computed(() => props.to ? "RouterLink" : props.href ? "a" : "div");
|
|
414
|
-
const isLink = computed(() => !!props.to || !!props.href);
|
|
415
|
-
return (_ctx, _cache) => {
|
|
416
|
-
return openBlock(), createBlock(resolveDynamicComponent(componentType.value), mergeProps({
|
|
417
|
-
style: { fontSize: __props.size },
|
|
418
|
-
class: ["m-avatar", [
|
|
419
|
-
{
|
|
420
|
-
"--has-link": isLink.value
|
|
421
|
-
}
|
|
422
|
-
]]
|
|
423
|
-
}, _ctx.$attrs, {
|
|
424
|
-
href: __props.href,
|
|
425
|
-
to: __props.to,
|
|
426
|
-
target: isLink.value ? __props.target : void 0
|
|
427
|
-
}), {
|
|
428
|
-
default: withCtx(() => [
|
|
429
|
-
createElementVNode("div", {
|
|
430
|
-
class: normalizeClass(["m-avatar__wrapper", {
|
|
431
|
-
"--has-shadow": !__props.noElevation,
|
|
432
|
-
"--bordered": __props.bordered,
|
|
433
|
-
"--clickable": __props.clickable,
|
|
434
|
-
"--square": __props.square,
|
|
435
|
-
"--has-initial": !__props.src && __props.caption
|
|
436
|
-
}]),
|
|
437
|
-
tabindex: __props.clickable ? 0 : -1,
|
|
438
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => __props.clickable ? _ctx.$emit("click", $event) : void 0, ["enter"]))
|
|
439
|
-
}, [
|
|
440
|
-
__props.src ? (openBlock(), createBlock(MazLazyImg, {
|
|
441
|
-
key: 0,
|
|
442
|
-
class: "m-avatar__picture maz-max-w-full",
|
|
443
|
-
image: __props.src,
|
|
444
|
-
alt: __props.alt,
|
|
445
|
-
"image-height-full": "",
|
|
446
|
-
"no-loader": __props.noLoader,
|
|
447
|
-
onClick: _cache[0] || (_cache[0] = ($event) => __props.clickable ? _ctx.$emit("click", $event) : null)
|
|
448
|
-
}, null, 8, ["image", "alt", "no-loader"])) : createCommentVNode("v-if", true),
|
|
449
|
-
__props.caption && !__props.src ? renderSlot(_ctx.$slots, "round-text", { key: 1 }, () => {
|
|
450
|
-
var _a;
|
|
451
|
-
return [
|
|
452
|
-
createElementVNode(
|
|
453
|
-
"span",
|
|
454
|
-
_hoisted_2,
|
|
455
|
-
toDisplayString((_a = __props.caption) == null ? void 0 : _a.charAt(0)),
|
|
456
|
-
1
|
|
457
|
-
/* TEXT */
|
|
458
|
-
)
|
|
459
|
-
];
|
|
460
|
-
}, true) : createCommentVNode("v-if", true),
|
|
461
|
-
__props.clickable ? (openBlock(), createElementBlock(
|
|
462
|
-
"button",
|
|
463
|
-
{
|
|
464
|
-
key: 2,
|
|
465
|
-
type: "button",
|
|
466
|
-
tabindex: "-1",
|
|
467
|
-
class: "m-avatar__button",
|
|
468
|
-
style: normalizeStyle({
|
|
469
|
-
backgroundColor: __props.src ? `var(--maz-color-${__props.buttonColor}-alpha)` : `var(--maz-color-${__props.buttonColor})`
|
|
470
|
-
}),
|
|
471
|
-
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
|
|
472
|
-
},
|
|
473
|
-
[
|
|
474
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
475
|
-
createVNode(unref(PencilIcon), { class: "m-avatar__button__icon" })
|
|
476
|
-
], true)
|
|
477
|
-
],
|
|
478
|
-
4
|
|
479
|
-
/* STYLE */
|
|
480
|
-
)) : createCommentVNode("v-if", true)
|
|
481
|
-
], 42, _hoisted_1),
|
|
482
|
-
renderSlot(_ctx.$slots, "caption", {}, () => [
|
|
483
|
-
__props.showCaption && __props.caption ? (openBlock(), createElementBlock(
|
|
484
|
-
"p",
|
|
485
|
-
_hoisted_3,
|
|
486
|
-
toDisplayString(__props.caption),
|
|
487
|
-
1
|
|
488
|
-
/* TEXT */
|
|
489
|
-
)) : createCommentVNode("v-if", true)
|
|
490
|
-
], true)
|
|
491
|
-
]),
|
|
492
|
-
_: 3
|
|
493
|
-
/* FORWARDED */
|
|
494
|
-
}, 16, ["style", "class", "href", "to", "target"]);
|
|
495
|
-
};
|
|
496
|
-
}
|
|
497
|
-
});
|
|
498
|
-
const MazAvatar_vue_vue_type_style_index_0_scoped_ecf42903_lang = "";
|
|
499
|
-
const MazAvatar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ecf42903"]]);
|
|
1
|
+
import { M } from "./chunks/MazAvatar-68e2d653.mjs";
|
|
500
2
|
export {
|
|
501
|
-
|
|
3
|
+
M as default
|
|
502
4
|
};
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
present: import("vue").Ref<boolean>;
|
|
41
41
|
toggleModal: (value: boolean) => Promise<void>;
|
|
42
42
|
onKeyPress: (event: KeyboardEvent) => void;
|
|
43
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "before-close" | "open" | "update:model-value")[], "close" | "before-close" | "open" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
44
|
modelValue: {
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
teleportSelector: string;
|
|
86
86
|
beforeClose: Function;
|
|
87
87
|
noCloseOnEscKey: boolean;
|
|
88
|
-
backdropClass: string | Record<string, any
|
|
89
|
-
backdropContentClass: string | Record<string, any
|
|
88
|
+
backdropClass: string | unknown[] | Record<string, any>;
|
|
89
|
+
backdropContentClass: string | unknown[] | Record<string, any>;
|
|
90
90
|
}, {}>;
|
|
91
91
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./assets/MazBackdrop.css";
|
|
2
2
|
import { defineComponent, ref, onMounted, watch, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, createElementBlock, normalizeClass, createElementVNode, withModifiers, mergeProps, renderSlot, createCommentVNode } from "vue";
|
|
3
3
|
const MODAL_OPENED_CLASS = "--backdrop-present";
|
|
4
4
|
const addClassToDocument = () => {
|
package/components/MazBadge.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./assets/MazBadge.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from "vue";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "MazBadge",
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
const
|
|
56
|
+
const MazBadge_vue_vue_type_style_index_0_scoped_3468e127_lang = "";
|
|
57
57
|
const _export_sfc = (sfc, props) => {
|
|
58
58
|
const target = sfc.__vccOpts || sfc;
|
|
59
59
|
for (const [key, val] of props) {
|
|
@@ -61,7 +61,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
61
61
|
}
|
|
62
62
|
return target;
|
|
63
63
|
};
|
|
64
|
-
const MazBadge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
64
|
+
const MazBadge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3468e127"]]);
|
|
65
65
|
export {
|
|
66
66
|
MazBadge as default
|
|
67
67
|
};
|