maz-ui 5.0.0-beta.48 → 5.0.0-beta.49
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/dist/assets/MazIcon.DxwzTFK5.css +2 -0
- package/dist/chunks/{MazAccordion.DCJ1kfTi.js → MazAccordion.DIWGaYwy.js} +1 -1
- package/dist/chunks/{MazBottomSheet.-5pb4lDv.js → MazBottomSheet.Q26GGJ6q.js} +1 -1
- package/dist/chunks/{MazCard.DIQ8eKoa.js → MazCard.BNtKqFfV.js} +1 -1
- package/dist/chunks/{MazCarousel.4mdXqboC.js → MazCarousel.Dmf3x3MS.js} +1 -1
- package/dist/chunks/{MazCheckbox.2qT_eMA4.js → MazCheckbox.B4VaoCkk.js} +1 -1
- package/dist/chunks/{MazChecklist.BP7RL63m.js → MazChecklist.Ck36OMvH.js} +1 -1
- package/dist/chunks/{MazDatePicker.Bwq-rYN_.js → MazDatePicker.lZkC_pm7.js} +1 -1
- package/dist/chunks/{MazDrawer.CwKTsLjx.js → MazDrawer.DnWdT-b5.js} +1 -1
- package/dist/chunks/{MazDropzone.brZbv0A2.js → MazDropzone.miyvoF7A.js} +1 -1
- package/dist/chunks/{MazGallery.DJL1bqXL.js → MazGallery.BrbUrkqM.js} +1 -1
- package/dist/chunks/{MazIcon.B8a9QvuH.js → MazIcon.BxVofve5.js} +55 -27
- package/dist/chunks/{MazInputNumber.2uYUUc6U.js → MazInputNumber.BGzqSZhP.js} +1 -1
- package/dist/chunks/{MazInputPhoneNumber.BazblqKP.js → MazInputPhoneNumber.ruFsLtp_.js} +1 -1
- package/dist/chunks/{MazPagination.C6cFUJ_D.js → MazPagination.C_F3V6ec.js} +1 -1
- package/dist/chunks/{MazRadioButtons.CIkXcyfY.js → MazRadioButtons.lOqJLp9j.js} +1 -1
- package/dist/chunks/{MazSelect.BVGsK7Ud.js → MazSelect.D1GYBGF6.js} +1 -1
- package/dist/chunks/{MazSelectCountry.C0ZYucIk.js → MazSelectCountry.CgN4H3bi.js} +1 -1
- package/dist/chunks/{MazSidebarTrigger.B28RoA3F.js → MazSidebarTrigger.Dm0ML1F2.js} +1 -1
- package/dist/chunks/{MazTable.BSXlYIA6.js → MazTable.BoBEp856.js} +1 -1
- package/dist/chunks/{MazTableCell.DPCWhXCy.js → MazTableCell.DfSYfEai.js} +1 -1
- package/dist/chunks/{MazTableRow.BInWxrwJ.js → MazTableRow.BjVgvGQh.js} +1 -1
- package/dist/chunks/{MazTableTitle.BJKNfuy0.js → MazTableTitle.IItl1qDb.js} +1 -1
- package/dist/chunks/{toast.9uTKDFAL.js → toast.1D1Wk7vo.js} +1 -1
- package/dist/chunks/{vFullscreenImg.BFr9EG2v.js → vFullscreenImg.4AmLym-w.js} +1 -1
- package/dist/components/MazAccordion.js +1 -1
- package/dist/components/MazBottomSheet.js +1 -1
- package/dist/components/MazCard.js +1 -1
- package/dist/components/MazCarousel.js +1 -1
- package/dist/components/MazCheckbox.js +1 -1
- package/dist/components/MazChecklist.js +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarSwitcher.js +1 -1
- package/dist/components/MazDatePicker/MazPickerMonthSwitcher.js +1 -1
- package/dist/components/MazDatePicker/MazPickerYearSwitcher.js +1 -1
- package/dist/components/MazDatePicker.js +1 -1
- package/dist/components/MazDrawer.js +1 -1
- package/dist/components/MazDropzone.js +1 -1
- package/dist/components/MazGallery.js +1 -1
- package/dist/components/MazIcon.js +1 -1
- package/dist/components/MazInputNumber.js +1 -1
- package/dist/components/MazInputPhoneNumber.js +1 -1
- package/dist/components/MazPagination.js +1 -1
- package/dist/components/MazRadioButtons.js +1 -1
- package/dist/components/MazSelect.js +1 -1
- package/dist/components/MazSelectCountry.js +1 -1
- package/dist/components/MazSidebarTrigger.js +1 -1
- package/dist/components/MazTable.js +1 -1
- package/dist/components/MazTableCell.js +1 -1
- package/dist/components/MazTableRow.js +1 -1
- package/dist/components/MazTableTitle.js +1 -1
- package/dist/components/index.js +22 -22
- package/dist/directives/index.js +1 -1
- package/dist/directives/vFullscreenImg.js +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/toast.js +1 -1
- package/dist/utils/svg-utils.d.ts +18 -1
- package/package.json +1 -1
- package/dist/assets/MazIcon.Chg9XbqD.css +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
3
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
4
4
|
import { t as MazExpandAnimation_default } from "./MazExpandAnimation.Etwl_dOy.js";
|
|
5
5
|
import { t as MazCardSpotlight_default } from "./MazCardSpotlight.DaMlphuU.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, renderSlot, unref, useSlots, withCtx } from "vue";
|
|
@@ -2,7 +2,7 @@ import { t as hasSlotContent } from "./hasSlotContent.BXp2zdg6.js";
|
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useDrag } from "../composables/useDrag.js";
|
|
4
4
|
import { useMazIconProps } from "../composables/useMazIconProps.js";
|
|
5
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
5
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
6
6
|
import { t as MazBackdrop_default } from "./MazBackdrop.BaOAZK_-.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createPropsRestProxy, createTextVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, useSlots, withCtx } from "vue";
|
|
8
8
|
import { MazXMark } from "@maz-ui/icons/raw/MazXMark";
|
|
@@ -2,7 +2,7 @@ import { t as hasSlotContent } from "./hasSlotContent.BXp2zdg6.js";
|
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
4
4
|
import { t as resolveLinkComponent } from "./resolveLinkComponent.CITQH9BT.js";
|
|
5
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
5
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useModel, useSlots, withCtx, withModifiers } from "vue";
|
|
7
7
|
import { MazChevronDown } from "@maz-ui/icons/lazy/MazChevronDown";
|
|
8
8
|
import '../assets/MazCard.C9aNYhTc.css';//#region src/components/MazCard.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
2
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
2
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
3
3
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent, normalizeClass, openBlock, ref, renderSlot, toDisplayString, unref, useSlots, withCtx } from "vue";
|
|
4
4
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
5
5
|
import { MazChevronLeft } from "@maz-ui/icons/raw/MazChevronLeft";
|
|
@@ -2,7 +2,7 @@ import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
|
2
2
|
import { t as hasSlotContent } from "./hasSlotContent.BXp2zdg6.js";
|
|
3
3
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
4
4
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
5
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
5
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
6
6
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref } from "vue";
|
|
7
7
|
import { MazCheck } from "@maz-ui/icons/raw/MazCheck";
|
|
8
8
|
import '../assets/MazCheckbox.DbnOKpmV.css';//#region src/components/MazCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -3,7 +3,7 @@ import { t as hasSlotContent } from "./hasSlotContent.BXp2zdg6.js";
|
|
|
3
3
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
4
4
|
import { useStringMatching } from "../composables/useStringMatching.js";
|
|
5
5
|
import { t as MazCardSpotlight_default } from "./MazCardSpotlight.DaMlphuU.js";
|
|
6
|
-
import { t as MazCheckbox_default } from "./MazCheckbox.
|
|
6
|
+
import { t as MazCheckbox_default } from "./MazCheckbox.B4VaoCkk.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
9
9
|
import { normalizeString } from "@maz-ui/utils/helpers/normalizeString";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
2
2
|
import { t as MazPopover_default } from "./MazPopover.CdTJKyWX.js";
|
|
3
3
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
4
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
4
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
5
5
|
import { t as MazPickerContainer_default } from "./MazPickerContainer.DX-I2_wa.js";
|
|
6
6
|
import { a as getDefaultsShortcuts, c as getISODate, d as isRangeValue, g as isValueDisabledWeekly, h as isValueDisabledDate, l as getRangeFormattedDate, s as getFormattedDate, t as checkValueWithMinMaxDates, u as getRangeISODate } from "./utils.B9Zb54pd.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createVNode, defineAsyncComponent, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeMount, openBlock, ref, renderSlot, unref, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
1
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
2
2
|
import { t as MazBackdrop_default } from "./MazBackdrop.BaOAZK_-.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, unref, useSlots, withCtx } from "vue";
|
|
4
4
|
import { MazXMark } from "@maz-ui/icons/raw/MazXMark";
|
|
@@ -2,7 +2,7 @@ import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useDropzone } from "../composables/useDropzone.js";
|
|
4
4
|
import { t as MazBtn_default } from "./MazBtn.DF6uWDj3.js";
|
|
5
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
5
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
6
6
|
import { t as MazLink_default } from "./MazLink.D2hozdtA.js";
|
|
7
7
|
import { Fragment, Transition, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeMount, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, withCtx, withModifiers } from "vue";
|
|
8
8
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
2
2
|
import { n as directive } from "./vLazyImg.Ces-1K_W.js";
|
|
3
|
-
import { n as directive$1 } from "./vFullscreenImg.
|
|
3
|
+
import { n as directive$1 } from "./vFullscreenImg.4AmLym-w.js";
|
|
4
4
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeMount, openBlock, renderList, toDisplayString, unref, withDirectives } from "vue";
|
|
5
5
|
import { MazNoImage } from "@maz-ui/icons/lazy/MazNoImage";
|
|
6
6
|
import '../assets/MazGallery.CpUdMJvX.css';//#region src/components/MazGallery.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
2
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, inject, markRaw, normalizeClass, normalizeStyle,
|
|
2
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, inject, markRaw, normalizeClass, normalizeStyle, openBlock, ref, resolveDynamicComponent, useAttrs, watch } from "vue";
|
|
3
3
|
import { isServer } from "@maz-ui/utils/helpers/isServer";
|
|
4
4
|
import { MazQuestionMarkCircle } from "@maz-ui/icons/lazy/MazQuestionMarkCircle";
|
|
5
|
-
import '../assets/MazIcon.
|
|
5
|
+
import '../assets/MazIcon.DxwzTFK5.css';//#region src/utils/svg-utils.ts
|
|
6
6
|
var RAW_SVG_PATTERN = /^\s*<svg[\s>]/i;
|
|
7
7
|
var URL_PATTERN = /^(?:[a-z][a-z\d+\-.]*:|\/)/i;
|
|
8
8
|
var RE_SVG_OPEN = /<svg\b/i;
|
|
@@ -10,6 +10,7 @@ var RE_SVG_TAG_FULL = /(<svg\b[^>]*>)/i;
|
|
|
10
10
|
var RE_SVG_TAG_WITH_CLOSE = /<svg\b([^>]*)>/i;
|
|
11
11
|
var RE_SVG_DIMENSIONS = /\s(?:width|height)\s*=\s*(?:"[^"]*"|'[^']*')/gi;
|
|
12
12
|
var RE_TITLE_TAG = /<title\b[^>]*>[\s\S]*?<\/title>/i;
|
|
13
|
+
var RE_SVG_DATA_URI = /^data:image\/svg\+xml[^,]*,/i;
|
|
13
14
|
var svgTextCache = /* @__PURE__ */ new Map();
|
|
14
15
|
var svgFetchInflight = /* @__PURE__ */ new Map();
|
|
15
16
|
function isRawSvg(value) {
|
|
@@ -21,6 +22,18 @@ function isUrlLike(value) {
|
|
|
21
22
|
function isStringIcon(value) {
|
|
22
23
|
return typeof value == "string";
|
|
23
24
|
}
|
|
25
|
+
function decodeSvgDataUri(value) {
|
|
26
|
+
if (!RE_SVG_DATA_URI.test(value)) return;
|
|
27
|
+
let commaIndex = value.indexOf(",");
|
|
28
|
+
let header = value.slice(0, commaIndex);
|
|
29
|
+
let data = value.slice(commaIndex + 1);
|
|
30
|
+
try {
|
|
31
|
+
let text = /;base64$/i.test(header) ? new TextDecoder().decode(Uint8Array.from(atob(data), (char) => char.charCodeAt(0))) : decodeURIComponent(data);
|
|
32
|
+
return isRawSvg(text) ? text : void 0;
|
|
33
|
+
} catch {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
24
37
|
function stripSvgRootDimensions(svg) {
|
|
25
38
|
return svg.replace(RE_SVG_TAG_WITH_CLOSE, (_, attrs) => `<svg${attrs.replace(RE_SVG_DIMENSIONS, "")}>`);
|
|
26
39
|
}
|
|
@@ -36,13 +49,13 @@ function prepareSvgString(svg, options = {}) {
|
|
|
36
49
|
}
|
|
37
50
|
return result;
|
|
38
51
|
}
|
|
39
|
-
async function fetchSvgText(url) {
|
|
52
|
+
async function fetchSvgText(url, init) {
|
|
40
53
|
let cached = svgTextCache.get(url);
|
|
41
54
|
if (cached) return cached;
|
|
42
55
|
let inflight = svgFetchInflight.get(url);
|
|
43
56
|
if (inflight) return inflight;
|
|
44
57
|
let promise = (async () => {
|
|
45
|
-
let response = await fetch(url);
|
|
58
|
+
let response = await (init ? fetch(url, init) : fetch(url));
|
|
46
59
|
if (!response.ok) throw Error(`[MazIcon] Could not fetch icon at ${url} (${response.status})`);
|
|
47
60
|
let text = await response.text();
|
|
48
61
|
if (!isRawSvg(text) || text.includes("<parsererror")) throw Error(`[MazIcon] Response at ${url} is not a valid SVG`);
|
|
@@ -55,6 +68,16 @@ async function fetchSvgText(url) {
|
|
|
55
68
|
svgFetchInflight.delete(url);
|
|
56
69
|
}
|
|
57
70
|
}
|
|
71
|
+
var SVG_PREFETCH_TIMEOUT_MS = 5e3;
|
|
72
|
+
var SVG_PREFETCH_FAILURE_TTL_MS = 3e5;
|
|
73
|
+
var svgPrefetchFailures = /* @__PURE__ */ new Map();
|
|
74
|
+
function prefetchSvgText(url) {
|
|
75
|
+
if (svgTextCache.has(url) || svgFetchInflight.has(url)) return;
|
|
76
|
+
let failureExpiresAt = svgPrefetchFailures.get(url);
|
|
77
|
+
failureExpiresAt !== void 0 && failureExpiresAt > Date.now() || (svgPrefetchFailures.delete(url), fetchSvgText(url, { signal: AbortSignal.timeout(SVG_PREFETCH_TIMEOUT_MS) }).catch((error) => {
|
|
78
|
+
svgPrefetchFailures.set(url, Date.now() + SVG_PREFETCH_FAILURE_TTL_MS), console.warn(error);
|
|
79
|
+
}));
|
|
80
|
+
}
|
|
58
81
|
//#endregion
|
|
59
82
|
//#region src/components/MazIcon.vue?vue&type=script&setup=true&lang.ts
|
|
60
83
|
var _hoisted_1 = [
|
|
@@ -62,6 +85,7 @@ var _hoisted_1 = [
|
|
|
62
85
|
"role",
|
|
63
86
|
"innerHTML"
|
|
64
87
|
];
|
|
88
|
+
var _hoisted_2 = ["aria-hidden", "role"];
|
|
65
89
|
//#endregion
|
|
66
90
|
//#region src/components/MazIcon.vue
|
|
67
91
|
var MazIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -106,6 +130,11 @@ var MazIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
106
130
|
if (__props.icon && !isStringIcon(__props.icon)) return markRaw(__props.icon);
|
|
107
131
|
if ((!__props.icon || isStringIcon(__props.icon) && hasFetchError.value) && __props.fallback && !isStringIcon(__props.fallback)) return markRaw(__props.fallback);
|
|
108
132
|
});
|
|
133
|
+
let isPendingUrl = computed(() => {
|
|
134
|
+
if (hasFetchError.value) return !1;
|
|
135
|
+
let value = isStringIcon(__props.icon) ? __props.icon : !__props.icon && isStringIcon(__props.fallback) ? __props.fallback : void 0;
|
|
136
|
+
return isUrlLike(value) && !decodeSvgDataUri(value);
|
|
137
|
+
});
|
|
109
138
|
let svgStyle = computed(() => {
|
|
110
139
|
let isPredefined = __props.size && predefinedSizes.includes(__props.size);
|
|
111
140
|
if (__props.size && !isPredefined) return { fontSize: __props.size };
|
|
@@ -138,13 +167,22 @@ var MazIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
138
167
|
return mazIconPath && isRelativeUrl(value) ? `${mazIconPath.endsWith("/") ? mazIconPath.slice(0, -1) : mazIconPath}/${value.startsWith("/") ? value.slice(1) : value}` : value;
|
|
139
168
|
}
|
|
140
169
|
async function resolveStringIcon(value) {
|
|
141
|
-
|
|
142
|
-
|
|
170
|
+
let inlineSvg = isRawSvg(value) ? value : decodeSvgDataUri(value);
|
|
171
|
+
if (inlineSvg) {
|
|
172
|
+
renderRaw(inlineSvg);
|
|
143
173
|
return;
|
|
144
174
|
}
|
|
145
175
|
if (isUrlLike(value)) {
|
|
146
176
|
let resolved = resolveUrl(value);
|
|
147
|
-
|
|
177
|
+
let cached = svgTextCache.get(resolved);
|
|
178
|
+
if (cached) {
|
|
179
|
+
renderRaw(cached);
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
if (isServer()) {
|
|
183
|
+
isRelativeUrl(resolved) || prefetchSvgText(resolved);
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
148
186
|
try {
|
|
149
187
|
renderRaw(await fetchSvgText(resolved));
|
|
150
188
|
} catch (error) {
|
|
@@ -162,29 +200,13 @@ var MazIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
162
200
|
__props.fallback && isStringIcon(__props.fallback) && await resolveStringIcon(__props.fallback);
|
|
163
201
|
}
|
|
164
202
|
}
|
|
165
|
-
|
|
166
|
-
let cached = svgTextCache.get(__props.icon);
|
|
167
|
-
cached && renderRaw(cached);
|
|
168
|
-
}
|
|
169
|
-
onServerPrefetch(async () => {
|
|
170
|
-
(__props.icon && isStringIcon(__props.icon) && isRawSvg(__props.icon) || __props.fallback && isStringIcon(__props.fallback) && isRawSvg(__props.fallback)) && await renderIcon();
|
|
171
|
-
});
|
|
172
|
-
let hasHydrated = !1;
|
|
173
|
-
return watch(() => [
|
|
203
|
+
return isServer() && renderIcon(), watch(() => [
|
|
174
204
|
__props.icon,
|
|
175
205
|
__props.fallback,
|
|
176
206
|
__props.title,
|
|
177
207
|
__props.svgAttributes
|
|
178
208
|
], async () => {
|
|
179
|
-
|
|
180
|
-
hasHydrated = !0;
|
|
181
|
-
let cached = svgTextCache.get(__props.icon);
|
|
182
|
-
if (cached) {
|
|
183
|
-
renderRaw(cached);
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
await renderIcon();
|
|
209
|
+
isServer() || await renderIcon();
|
|
188
210
|
}, {
|
|
189
211
|
immediate: !0,
|
|
190
212
|
deep: !0
|
|
@@ -195,12 +217,18 @@ var MazIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
195
217
|
"aria-hidden": ariaHidden.value,
|
|
196
218
|
role: role.value,
|
|
197
219
|
innerHTML: rawSvgContent.value
|
|
198
|
-
}, null, 14, _hoisted_1)) :
|
|
220
|
+
}, null, 14, _hoisted_1)) : isPendingUrl.value ? (openBlock(), createElementBlock("span", {
|
|
199
221
|
key: 1,
|
|
200
222
|
class: normalizeClass(["m-icon m-reset-css maz:inline-flex maz:size-[1em] maz:flex-center", [sizeClass.value, flipClass.value]]),
|
|
201
223
|
style: normalizeStyle(svgStyle.value),
|
|
202
224
|
"aria-hidden": ariaHidden.value,
|
|
203
225
|
role: role.value
|
|
226
|
+
}, null, 14, _hoisted_2)) : componentIcon.value ? (openBlock(), createBlock(resolveDynamicComponent(componentIcon.value), {
|
|
227
|
+
key: 2,
|
|
228
|
+
class: normalizeClass(["m-icon m-reset-css maz:inline-flex maz:size-[1em] maz:flex-center", [sizeClass.value, flipClass.value]]),
|
|
229
|
+
style: normalizeStyle(svgStyle.value),
|
|
230
|
+
"aria-hidden": ariaHidden.value,
|
|
231
|
+
role: role.value
|
|
204
232
|
}, null, 8, [
|
|
205
233
|
"class",
|
|
206
234
|
"style",
|
|
@@ -208,6 +236,6 @@ var MazIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
208
236
|
"role"
|
|
209
237
|
])) : createCommentVNode("", !0);
|
|
210
238
|
}
|
|
211
|
-
}), [["__scopeId", "data-v-
|
|
239
|
+
}), [["__scopeId", "data-v-b8f02850"]]);
|
|
212
240
|
//#endregion
|
|
213
241
|
export { MazIcon_default as t };
|
|
@@ -2,7 +2,7 @@ import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
4
4
|
import { t as SIZE_TEXT_CLASS } from "./constants.DmWr5JHV.js";
|
|
5
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
5
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
6
6
|
import { t as MazInput_default } from "./MazInput.BQfzcw_q.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, toDisplayString, unref, withCtx, withKeys, withModifiers } from "vue";
|
|
8
8
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
@@ -2,7 +2,7 @@ import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
4
4
|
import { t as SIZE_TEXT_CLASS } from "./constants.DmWr5JHV.js";
|
|
5
|
-
import { t as MazSelectCountry_default } from "./MazSelectCountry.
|
|
5
|
+
import { t as MazSelectCountry_default } from "./MazSelectCountry.CgN4H3bi.js";
|
|
6
6
|
import { n as useMazInputPhoneNumber, r as useLibphonenumber, t as PhoneInput_default } from "./PhoneInput.ANohH9a_.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeMount, onMounted, openBlock, provide, ref, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
2
2
|
import { t as MazBtn_default } from "./MazBtn.DF6uWDj3.js";
|
|
3
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
3
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderList, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
5
5
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
6
6
|
import { MazEllipsisHorizontal } from "@maz-ui/icons/lazy/MazEllipsisHorizontal";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getColor } from "./types.x3QVtiJb.js";
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
4
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
4
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
5
5
|
import { Fragment, Transition, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
|
|
6
6
|
import { MazCheck } from "@maz-ui/icons/lazy/MazCheck";
|
|
7
7
|
import '../assets/MazRadioButtons.BSCFDU_k.css';//#region src/components/MazRadioButtons.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -5,7 +5,7 @@ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-hel
|
|
|
5
5
|
import { useStringMatching } from "../composables/useStringMatching.js";
|
|
6
6
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
7
7
|
import { t as SIZE_TEXT_CLASS } from "./constants.DmWr5JHV.js";
|
|
8
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
8
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
9
9
|
import { t as MazInput_default } from "./MazInput.BQfzcw_q.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineAsyncComponent, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
11
11
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
@@ -2,7 +2,7 @@ import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useDisplayNames } from "../composables/useDisplayNames.js";
|
|
4
4
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
5
|
-
import { t as MazSelect_default } from "./MazSelect.
|
|
5
|
+
import { t as MazSelect_default } from "./MazSelect.D1GYBGF6.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
7
7
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
8
8
|
import { getBrowserLocale } from "@maz-ui/utils/helpers/getBrowserLocale";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useSidebar } from "../composables/useSidebar.js";
|
|
2
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
2
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
3
3
|
import { createElementBlock, createVNode, defineComponent, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
import { MazChevronUpDown } from "@maz-ui/icons/raw/MazChevronUpDown";
|
|
5
5
|
//#region src/components/MazSidebarTrigger.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./hasSlotContent.BXp2zdg6.js";
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
3
3
|
import { useGlobalConfig } from "../composables/useGlobalConfig.js";
|
|
4
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
4
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
5
5
|
import { Fragment, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, normalizeStyle, onBeforeMount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRef, unref, useCssVars, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
6
6
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
7
7
|
import { MazArrowUp } from "@maz-ui/icons/lazy/MazArrowUp";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
2
|
-
import { n as mazTableKey } from "./MazTable.
|
|
2
|
+
import { n as mazTableKey } from "./MazTable.BoBEp856.js";
|
|
3
3
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/MazTableCell.vue
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
2
|
-
import { n as mazTableKey } from "./MazTable.
|
|
2
|
+
import { n as mazTableKey } from "./MazTable.BoBEp856.js";
|
|
3
3
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/MazTableRow.vue
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
2
|
-
import { n as mazTableKey } from "./MazTable.
|
|
2
|
+
import { n as mazTableKey } from "./MazTable.BoBEp856.js";
|
|
3
3
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/MazTableTitle.vue
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
2
2
|
import { useMountComponent } from "../composables/useMountComponent.js";
|
|
3
3
|
import { useTimer } from "../composables/useTimer.js";
|
|
4
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
4
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
5
5
|
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, resolveDynamicComponent, toDisplayString, unref, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
6
6
|
import { MazLinkIcon } from "@maz-ui/icons/lazy/MazLinkIcon";
|
|
7
7
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.B-B36dWQ.js";
|
|
2
2
|
import { useMountComponent } from "../composables/useMountComponent.js";
|
|
3
|
-
import { t as MazIcon_default } from "./MazIcon.
|
|
3
|
+
import { t as MazIcon_default } from "./MazIcon.BxVofve5.js";
|
|
4
4
|
import { t as MazSpinner_default } from "./MazSpinner.D0eNHEya.js";
|
|
5
5
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, reactive, ref, unref, vShow, watch, withDirectives, withKeys, withModifiers } from "vue";
|
|
6
6
|
import { MazChevronLeft } from "@maz-ui/icons/lazy/MazChevronLeft";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazAccordion_default } from "../chunks/MazAccordion.
|
|
1
|
+
import { t as MazAccordion_default } from "../chunks/MazAccordion.DIWGaYwy.js";
|
|
2
2
|
export { MazAccordion_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazBottomSheet_default } from "../chunks/MazBottomSheet
|
|
1
|
+
import { t as MazBottomSheet_default } from "../chunks/MazBottomSheet.Q26GGJ6q.js";
|
|
2
2
|
export { MazBottomSheet_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazCard_default } from "../chunks/MazCard.
|
|
1
|
+
import { t as MazCard_default } from "../chunks/MazCard.BNtKqFfV.js";
|
|
2
2
|
export { MazCard_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazCarousel_default } from "../chunks/MazCarousel.
|
|
1
|
+
import { t as MazCarousel_default } from "../chunks/MazCarousel.Dmf3x3MS.js";
|
|
2
2
|
export { MazCarousel_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazCheckbox_default } from "../chunks/MazCheckbox.
|
|
1
|
+
import { t as MazCheckbox_default } from "../chunks/MazCheckbox.B4VaoCkk.js";
|
|
2
2
|
export { MazCheckbox_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazChecklist_default } from "../chunks/MazChecklist.
|
|
1
|
+
import { t as MazChecklist_default } from "../chunks/MazChecklist.Ck36OMvH.js";
|
|
2
2
|
export { MazChecklist_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as MazBtn_default } from "../../chunks/MazBtn.DF6uWDj3.js";
|
|
2
|
-
import { t as MazIcon_default } from "../../chunks/MazIcon.
|
|
2
|
+
import { t as MazIcon_default } from "../../chunks/MazIcon.BxVofve5.js";
|
|
3
3
|
import { computed, createElementBlock, createTextVNode, createVNode, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
4
4
|
import { MazChevronLeft } from "@maz-ui/icons/raw/MazChevronLeft";
|
|
5
5
|
import { formatDate } from "@maz-ui/utils/helpers/formatDate";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "../../chunks/_plugin-vue_export-helper.B-B36dWQ.js";
|
|
2
2
|
import { t as MazBtn_default } from "../../chunks/MazBtn.DF6uWDj3.js";
|
|
3
|
-
import { t as MazIcon_default } from "../../chunks/MazIcon.
|
|
3
|
+
import { t as MazIcon_default } from "../../chunks/MazIcon.BxVofve5.js";
|
|
4
4
|
import { f as isSameDate } from "../../chunks/utils.B9Zb54pd.js";
|
|
5
5
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString, unref, withCtx, withModifiers } from "vue";
|
|
6
6
|
import { MazXMark } from "@maz-ui/icons/raw/MazXMark";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as MazBtn_default } from "../../chunks/MazBtn.DF6uWDj3.js";
|
|
2
|
-
import { t as MazIcon_default } from "../../chunks/MazIcon.
|
|
2
|
+
import { t as MazIcon_default } from "../../chunks/MazIcon.BxVofve5.js";
|
|
3
3
|
import { f as isSameDate } from "../../chunks/utils.B9Zb54pd.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, toDisplayString, unref, withCtx, withModifiers } from "vue";
|
|
5
5
|
import { MazChevronLeft } from "@maz-ui/icons/raw/MazChevronLeft";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazDatePicker_default } from "../chunks/MazDatePicker.
|
|
1
|
+
import { t as MazDatePicker_default } from "../chunks/MazDatePicker.lZkC_pm7.js";
|
|
2
2
|
export { MazDatePicker_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazDrawer_default } from "../chunks/MazDrawer.
|
|
1
|
+
import { t as MazDrawer_default } from "../chunks/MazDrawer.DnWdT-b5.js";
|
|
2
2
|
export { MazDrawer_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazDropzone_default } from "../chunks/MazDropzone.
|
|
1
|
+
import { t as MazDropzone_default } from "../chunks/MazDropzone.miyvoF7A.js";
|
|
2
2
|
export { MazDropzone_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazGallery_default } from "../chunks/MazGallery.
|
|
1
|
+
import { t as MazGallery_default } from "../chunks/MazGallery.BrbUrkqM.js";
|
|
2
2
|
export { MazGallery_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazIcon_default } from "../chunks/MazIcon.
|
|
1
|
+
import { t as MazIcon_default } from "../chunks/MazIcon.BxVofve5.js";
|
|
2
2
|
export { MazIcon_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazInputNumber_default } from "../chunks/MazInputNumber.
|
|
1
|
+
import { t as MazInputNumber_default } from "../chunks/MazInputNumber.BGzqSZhP.js";
|
|
2
2
|
export { MazInputNumber_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazInputPhoneNumber_default } from "../chunks/MazInputPhoneNumber.
|
|
1
|
+
import { t as MazInputPhoneNumber_default } from "../chunks/MazInputPhoneNumber.ruFsLtp_.js";
|
|
2
2
|
export { MazInputPhoneNumber_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazPagination_default } from "../chunks/MazPagination.
|
|
1
|
+
import { t as MazPagination_default } from "../chunks/MazPagination.C_F3V6ec.js";
|
|
2
2
|
export { MazPagination_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazRadioButtons_default } from "../chunks/MazRadioButtons.
|
|
1
|
+
import { t as MazRadioButtons_default } from "../chunks/MazRadioButtons.lOqJLp9j.js";
|
|
2
2
|
export { MazRadioButtons_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazSelect_default } from "../chunks/MazSelect.
|
|
1
|
+
import { t as MazSelect_default } from "../chunks/MazSelect.D1GYBGF6.js";
|
|
2
2
|
export { MazSelect_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazSelectCountry_default } from "../chunks/MazSelectCountry.
|
|
1
|
+
import { t as MazSelectCountry_default } from "../chunks/MazSelectCountry.CgN4H3bi.js";
|
|
2
2
|
export { MazSelectCountry_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazSidebarTrigger_default } from "../chunks/MazSidebarTrigger.
|
|
1
|
+
import { t as MazSidebarTrigger_default } from "../chunks/MazSidebarTrigger.Dm0ML1F2.js";
|
|
2
2
|
export { MazSidebarTrigger_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as mazTableKey, t as MazTable_default } from "../chunks/MazTable.
|
|
1
|
+
import { n as mazTableKey, t as MazTable_default } from "../chunks/MazTable.BoBEp856.js";
|
|
2
2
|
export { MazTable_default as default, mazTableKey };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazTableCell_default } from "../chunks/MazTableCell.
|
|
1
|
+
import { t as MazTableCell_default } from "../chunks/MazTableCell.DfSYfEai.js";
|
|
2
2
|
export { MazTableCell_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazTableRow_default } from "../chunks/MazTableRow.
|
|
1
|
+
import { t as MazTableRow_default } from "../chunks/MazTableRow.BjVgvGQh.js";
|
|
2
2
|
export { MazTableRow_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MazTableTitle_default } from "../chunks/MazTableTitle.
|
|
1
|
+
import { t as MazTableTitle_default } from "../chunks/MazTableTitle.IItl1qDb.js";
|
|
2
2
|
export { MazTableTitle_default as default };
|
package/dist/components/index.js
CHANGED
|
@@ -10,17 +10,17 @@ import { t as MazTabsContent_default } from "../chunks/MazTabsContent.BzXUvzvg.j
|
|
|
10
10
|
import { t as MazBtn_default } from "../chunks/MazBtn.DF6uWDj3.js";
|
|
11
11
|
import { t as MazTabsBar_default } from "../chunks/MazTabsBar.CXnfQaZI.js";
|
|
12
12
|
import { t as MazTabs_default } from "../chunks/MazTabs.BoEhx6O0.js";
|
|
13
|
-
import { t as MazIcon_default } from "../chunks/MazIcon.
|
|
14
|
-
import { t as MazTable_default } from "../chunks/MazTable.
|
|
15
|
-
import { t as MazTableTitle_default } from "../chunks/MazTableTitle.
|
|
16
|
-
import { t as MazTableRow_default } from "../chunks/MazTableRow.
|
|
17
|
-
import { t as MazTableCell_default } from "../chunks/MazTableCell.
|
|
13
|
+
import { t as MazIcon_default } from "../chunks/MazIcon.BxVofve5.js";
|
|
14
|
+
import { t as MazTable_default } from "../chunks/MazTable.BoBEp856.js";
|
|
15
|
+
import { t as MazTableTitle_default } from "../chunks/MazTableTitle.IItl1qDb.js";
|
|
16
|
+
import { t as MazTableRow_default } from "../chunks/MazTableRow.BjVgvGQh.js";
|
|
17
|
+
import { t as MazTableCell_default } from "../chunks/MazTableCell.DfSYfEai.js";
|
|
18
18
|
import { t as MazSwitch_default } from "../chunks/MazSwitch.Bj75VysV.js";
|
|
19
19
|
import { t as MazStepper_default } from "../chunks/MazStepper.CwXqNVG7.js";
|
|
20
20
|
import { t as MazSpinner_default } from "../chunks/MazSpinner.D0eNHEya.js";
|
|
21
21
|
import { t as MazSlider_default } from "../chunks/MazSlider.BFKVFpGY.js";
|
|
22
22
|
import { t as MazSkeleton_default } from "../chunks/MazSkeleton.Dk1ShoT0.js";
|
|
23
|
-
import { t as MazSidebarTrigger_default } from "../chunks/MazSidebarTrigger.
|
|
23
|
+
import { t as MazSidebarTrigger_default } from "../chunks/MazSidebarTrigger.Dm0ML1F2.js";
|
|
24
24
|
import { t as MazSidebarSeparator_default } from "../chunks/MazSidebarSeparator.Bh7YLCNo.js";
|
|
25
25
|
import { t as MazSidebarMenuSub_default } from "../chunks/MazSidebarMenuSub.BZN0VtDJ.js";
|
|
26
26
|
import { t as MazSidebarMenuItem_default } from "../chunks/MazSidebarMenuItem.h7HxX383.js";
|
|
@@ -31,15 +31,15 @@ import { t as MazSidebarGroup_default } from "../chunks/MazSidebarGroup.DwR3w54Y
|
|
|
31
31
|
import { t as MazSidebarFooter_default } from "../chunks/MazSidebarFooter.Cd6uZXVA.js";
|
|
32
32
|
import { t as MazSidebarContent_default } from "../chunks/MazSidebarContent.CgJcnKyp.js";
|
|
33
33
|
import { t as MazInput_default } from "../chunks/MazInput.BQfzcw_q.js";
|
|
34
|
-
import { t as MazSelect_default } from "../chunks/MazSelect.
|
|
35
|
-
import { t as MazSelectCountry_default } from "../chunks/MazSelectCountry.
|
|
34
|
+
import { t as MazSelect_default } from "../chunks/MazSelect.D1GYBGF6.js";
|
|
35
|
+
import { t as MazSelectCountry_default } from "../chunks/MazSelectCountry.CgN4H3bi.js";
|
|
36
36
|
import { t as MazReadingProgressBar_default } from "../chunks/MazReadingProgressBar.BXHLxb3v.js";
|
|
37
37
|
import { t as MazLink_default } from "../chunks/MazLink.D2hozdtA.js";
|
|
38
38
|
import { t as MazReadMore_default } from "../chunks/MazReadMore.BNphwjHi.js";
|
|
39
|
-
import { t as MazRadioButtons_default } from "../chunks/MazRadioButtons.
|
|
39
|
+
import { t as MazRadioButtons_default } from "../chunks/MazRadioButtons.lOqJLp9j.js";
|
|
40
40
|
import { t as MazRadio_default } from "../chunks/MazRadio.CVxRnTEz.js";
|
|
41
41
|
import { t as MazPullToRefresh_default } from "../chunks/MazPullToRefresh.B8MR3pMF.js";
|
|
42
|
-
import { t as MazPagination_default } from "../chunks/MazPagination.
|
|
42
|
+
import { t as MazPagination_default } from "../chunks/MazPagination.C_F3V6ec.js";
|
|
43
43
|
import { t as MazBtnGroup_default } from "../chunks/MazBtnGroup.CFXB2pFv.js";
|
|
44
44
|
import { t as MazDropdown_default } from "../chunks/MazDropdown.CXZHykef.js";
|
|
45
45
|
import { t as MazMarkdownEditor_default } from "../chunks/MazMarkdownEditor.KemB0TpI.js";
|
|
@@ -47,33 +47,33 @@ import { t as MazLoadingBar_default } from "../chunks/MazLoadingBar.D3ML3lHn.js"
|
|
|
47
47
|
import { t as MazLazyImg_default } from "../chunks/MazLazyImg.Cizut338.js";
|
|
48
48
|
import { t as MazInputTags_default } from "../chunks/MazInputTags.C8VNuiEY.js";
|
|
49
49
|
import { t as MazInputPrice_default } from "../chunks/MazInputPrice.NyXazUwp.js";
|
|
50
|
-
import { t as MazInputPhoneNumber_default } from "../chunks/MazInputPhoneNumber.
|
|
51
|
-
import { t as MazInputNumber_default } from "../chunks/MazInputNumber.
|
|
50
|
+
import { t as MazInputPhoneNumber_default } from "../chunks/MazInputPhoneNumber.ruFsLtp_.js";
|
|
51
|
+
import { t as MazInputNumber_default } from "../chunks/MazInputNumber.BGzqSZhP.js";
|
|
52
52
|
import { t as MazInputCode_default } from "../chunks/MazInputCode.u6HfKh59.js";
|
|
53
|
-
import { t as MazGallery_default } from "../chunks/MazGallery.
|
|
53
|
+
import { t as MazGallery_default } from "../chunks/MazGallery.BrbUrkqM.js";
|
|
54
54
|
import { t as MazFullscreenLoader_default } from "../chunks/MazFullscreenLoader.CJ83xq4d.js";
|
|
55
55
|
import { t as MazExpandAnimation_default } from "../chunks/MazExpandAnimation.Etwl_dOy.js";
|
|
56
|
-
import { t as MazDropzone_default } from "../chunks/MazDropzone.
|
|
56
|
+
import { t as MazDropzone_default } from "../chunks/MazDropzone.miyvoF7A.js";
|
|
57
57
|
import { t as MazBackdrop_default } from "../chunks/MazBackdrop.BaOAZK_-.js";
|
|
58
|
-
import { t as MazDrawer_default } from "../chunks/MazDrawer.
|
|
58
|
+
import { t as MazDrawer_default } from "../chunks/MazDrawer.DnWdT-b5.js";
|
|
59
59
|
import { t as MazDialog_default } from "../chunks/MazDialog.DsqRqkPV.js";
|
|
60
60
|
import { n as useMazDialogConfirm, t as MazDialogConfirm_default } from "../chunks/MazDialogConfirm.4Vykat8a.js";
|
|
61
|
-
import { t as MazDatePicker_default } from "../chunks/MazDatePicker.
|
|
61
|
+
import { t as MazDatePicker_default } from "../chunks/MazDatePicker.lZkC_pm7.js";
|
|
62
62
|
import { t as MazContainer_default } from "../chunks/MazContainer.CII2qDCA.js";
|
|
63
63
|
import { t as MazCodeHighlight_default } from "../chunks/MazCodeHighlight.BDUMjy1K.js";
|
|
64
64
|
import { t as MazCircularProgressBar_default } from "../chunks/MazCircularProgressBar.DdfOj9bH.js";
|
|
65
65
|
import { t as MazCardSpotlight_default } from "../chunks/MazCardSpotlight.DaMlphuU.js";
|
|
66
|
-
import { t as MazCheckbox_default } from "../chunks/MazCheckbox.
|
|
67
|
-
import { t as MazChecklist_default } from "../chunks/MazChecklist.
|
|
66
|
+
import { t as MazCheckbox_default } from "../chunks/MazCheckbox.B4VaoCkk.js";
|
|
67
|
+
import { t as MazChecklist_default } from "../chunks/MazChecklist.Ck36OMvH.js";
|
|
68
68
|
import { t as MazChart_default } from "../chunks/MazChart.CLc7cSEL.js";
|
|
69
|
-
import { t as MazCarousel_default } from "../chunks/MazCarousel.
|
|
70
|
-
import { t as MazCard_default } from "../chunks/MazCard.
|
|
71
|
-
import { t as MazBottomSheet_default } from "../chunks/MazBottomSheet
|
|
69
|
+
import { t as MazCarousel_default } from "../chunks/MazCarousel.Dmf3x3MS.js";
|
|
70
|
+
import { t as MazCard_default } from "../chunks/MazCard.BNtKqFfV.js";
|
|
71
|
+
import { t as MazBottomSheet_default } from "../chunks/MazBottomSheet.Q26GGJ6q.js";
|
|
72
72
|
import { t as MazBadge_default } from "../chunks/MazBadge.Dk7EWnYi.js";
|
|
73
73
|
import { t as MazAvatar_default } from "../chunks/MazAvatar.D-tmxJC9.js";
|
|
74
74
|
import { t as MazAnimatedText_default } from "../chunks/MazAnimatedText.Cb-Sc4bP.js";
|
|
75
75
|
import { t as MazAnimatedElement_default } from "../chunks/MazAnimatedElement.CqVvHdt9.js";
|
|
76
76
|
import { t as MazAnimatedCounter_default } from "../chunks/MazAnimatedCounter.DQo6b-b4.js";
|
|
77
77
|
import { t as MazAlert_default } from "../chunks/MazAlert.ChAIFKaq.js";
|
|
78
|
-
import { t as MazAccordion_default } from "../chunks/MazAccordion.
|
|
78
|
+
import { t as MazAccordion_default } from "../chunks/MazAccordion.DIWGaYwy.js";
|
|
79
79
|
export { MazAccordion_default as MazAccordion, MazAlert_default as MazAlert, MazAnimatedCounter_default as MazAnimatedCounter, MazAnimatedElement_default as MazAnimatedElement, MazAnimatedText_default as MazAnimatedText, MazAvatar_default as MazAvatar, MazBackdrop_default as MazBackdrop, MazBadge_default as MazBadge, MazBottomSheet_default as MazBottomSheet, MazBtn_default as MazBtn, MazBtnGroup_default as MazBtnGroup, MazCard_default as MazCard, MazCardSpotlight_default as MazCardSpotlight, MazCarousel_default as MazCarousel, MazChart_default as MazChart, MazCheckbox_default as MazCheckbox, MazChecklist_default as MazChecklist, MazCircularProgressBar_default as MazCircularProgressBar, MazCodeHighlight_default as MazCodeHighlight, MazContainer_default as MazContainer, MazDatePicker_default as MazDatePicker, MazDialog_default as MazDialog, MazDialogConfirm_default as MazDialogConfirm, MazDrawer_default as MazDrawer, MazDropdown_default as MazDropdown, MazDropzone_default as MazDropzone, MazExpandAnimation_default as MazExpandAnimation, MazFullscreenLoader_default as MazFullscreenLoader, MazGallery_default as MazGallery, MazIcon_default as MazIcon, MazInput_default as MazInput, MazInputCode_default as MazInputCode, MazInputNumber_default as MazInputNumber, MazInputPhoneNumber_default as MazInputPhoneNumber, MazInputPrice_default as MazInputPrice, MazInputTags_default as MazInputTags, MazLazyImg_default as MazLazyImg, MazLink_default as MazLink, MazLoadingBar_default as MazLoadingBar, MazMarkdownEditor_default as MazMarkdownEditor, MazPagination_default as MazPagination, MazPopover_default as MazPopover, MazPullToRefresh_default as MazPullToRefresh, MazRadio_default as MazRadio, MazRadioButtons_default as MazRadioButtons, MazReadMore_default as MazReadMore, MazReadingProgressBar_default as MazReadingProgressBar, MazSelect_default as MazSelect, MazSelectCountry_default as MazSelectCountry, MazSidebar_default as MazSidebar, MazSidebarContent_default as MazSidebarContent, MazSidebarFooter_default as MazSidebarFooter, MazSidebarGroup_default as MazSidebarGroup, MazSidebarHeader_default as MazSidebarHeader, MazSidebarMenu_default as MazSidebarMenu, MazSidebarMenuButton_default as MazSidebarMenuButton, MazSidebarMenuItem_default as MazSidebarMenuItem, MazSidebarMenuSub_default as MazSidebarMenuSub, MazSidebarSeparator_default as MazSidebarSeparator, MazSidebarTrigger_default as MazSidebarTrigger, MazSkeleton_default as MazSkeleton, MazSlider_default as MazSlider, MazSpinner_default as MazSpinner, MazStepper_default as MazStepper, MazSwitch_default as MazSwitch, MazTable_default as MazTable, MazTableCell_default as MazTableCell, MazTableRow_default as MazTableRow, MazTableTitle_default as MazTableTitle, MazTabs_default as MazTabs, MazTabsBar_default as MazTabsBar, MazTabsContent_default as MazTabsContent, MazTabsContentItem_default as MazTabsContentItem, MazTextarea_default as MazTextarea, MazTicker_default as MazTicker, MazTimeline_default as MazTimeline, MazUiProvider_default as MazUiProvider, MazWindowMockup_default as MazWindowMockup, mazSidebarKey, useMazDialogConfirm };
|
package/dist/directives/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { vTooltip as directive$3, vTooltipInstall as plugin$3 } from "./vTooltip.js";
|
|
2
2
|
import { n as directive$2, t as plugin$2 } from "../chunks/vLazyImg.Ces-1K_W.js";
|
|
3
|
-
import { n as directive$1, t as plugin$1 } from "../chunks/vFullscreenImg.
|
|
3
|
+
import { n as directive$1, t as plugin$1 } from "../chunks/vFullscreenImg.4AmLym-w.js";
|
|
4
4
|
import { n as vZoomImg, t as plugin$4 } from "../chunks/vZoomImg.DkcVmA0t.js";
|
|
5
5
|
import { vClickOutside as directive, vClickOutsideInstall as plugin } from "./vClickOutside.js";
|
|
6
6
|
export { directive as vClickOutside, plugin as vClickOutsideInstall, directive$1 as vFullscreenImg, plugin$1 as vFullscreenImgInstall, directive$2 as vLazyImg, plugin$2 as vLazyImgInstall, directive$3 as vTooltip, plugin$3 as vTooltipInstall, vZoomImg, plugin$4 as vZoomImgInstall };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as directive, t as plugin } from "../chunks/vFullscreenImg.
|
|
1
|
+
import { n as directive, t as plugin } from "../chunks/vFullscreenImg.4AmLym-w.js";
|
|
2
2
|
export { directive as vFullscreenImg, plugin as vFullscreenImgInstall };
|
package/dist/plugins/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WaitHandler, WaitPlugin, waitInstance } from "./wait.js";
|
|
2
|
-
import { n as ToastHandler, t as ToastPlugin } from "../chunks/toast.
|
|
2
|
+
import { n as ToastHandler, t as ToastPlugin } from "../chunks/toast.1D1Wk7vo.js";
|
|
3
3
|
import { MazUi } from "./maz-ui.js";
|
|
4
4
|
import { t as DialogPlugin } from "../chunks/dialog.DXSyr6Xf.js";
|
|
5
5
|
import { AosHandler, AosPlugin, getAosInstance } from "./aos.js";
|
package/dist/plugins/toast.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ToastHandler, t as ToastPlugin } from "../chunks/toast.
|
|
1
|
+
import { n as ToastHandler, t as ToastPlugin } from "../chunks/toast.1D1Wk7vo.js";
|
|
2
2
|
export { ToastHandler, ToastPlugin };
|
|
@@ -17,6 +17,12 @@ export declare const svgFetchInflight: Map<string, Promise<string>>;
|
|
|
17
17
|
export declare function isRawSvg(value: unknown): value is string;
|
|
18
18
|
export declare function isUrlLike(value: unknown): value is string;
|
|
19
19
|
export declare function isStringIcon(value: unknown): value is string;
|
|
20
|
+
/**
|
|
21
|
+
* Decode an SVG `data:` URI (e.g. a small asset inlined by a `?url` import),
|
|
22
|
+
* base64 or percent-encoded. Returns `undefined` when the value is not a
|
|
23
|
+
* decodable SVG data URI, so it can still go through `fetch`.
|
|
24
|
+
*/
|
|
25
|
+
export declare function decodeSvgDataUri(value: string): string | undefined;
|
|
20
26
|
export declare function stripSvgRootDimensions(svg: string): string;
|
|
21
27
|
interface PrepareOptions {
|
|
22
28
|
title?: string;
|
|
@@ -28,5 +34,16 @@ export declare function prepareSvgString(svg: string, options?: PrepareOptions):
|
|
|
28
34
|
* concurrent requests, and rejects on any non-2xx response or invalid SVG
|
|
29
35
|
* payload.
|
|
30
36
|
*/
|
|
31
|
-
export declare function fetchSvgText(url: string): Promise<string>;
|
|
37
|
+
export declare function fetchSvgText(url: string, init?: RequestInit): Promise<string>;
|
|
38
|
+
/** Server warm-up requests are aborted after this delay, so a hanging host cannot pile up sockets. */
|
|
39
|
+
export declare const SVG_PREFETCH_TIMEOUT_MS = 5000;
|
|
40
|
+
/** How long a failed server warm-up is remembered before the URL is requested again. */
|
|
41
|
+
export declare const SVG_PREFETCH_FAILURE_TTL_MS: number;
|
|
42
|
+
/**
|
|
43
|
+
* Server-side, fire-and-forget: fill {@link svgTextCache} for the next renders
|
|
44
|
+
* without making the current one wait for the network. Skips URLs already
|
|
45
|
+
* cached, in flight, or that failed less than {@link SVG_PREFETCH_FAILURE_TTL_MS}
|
|
46
|
+
* ago, so a missing icon is neither refetched nor logged on every render.
|
|
47
|
+
*/
|
|
48
|
+
export declare function prefetchSvgText(url: string): void;
|
|
32
49
|
export {};
|
package/package.json
CHANGED