maz-ui 3.19.0 → 3.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCarousel.mjs +1 -1
- package/components/MazCheckbox.mjs +1 -1
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazFullscreenLoader.d.ts +27 -19
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +3 -2
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +5 -4
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/utils.d.ts +1 -4
- package/components/MazPicker.mjs +1 -1
- package/components/MazRadioButtons.mjs +2 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +2 -1
- package/components/MazStepper.d.ts +1 -1
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +2 -1
- package/components/MazTabs.mjs +2 -1
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContentItem.mjs +1 -1
- package/components/MazTextarea.mjs +2 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazPickerCalendar.css +1 -1
- package/components/chunks/{MazAvatar-68e2d653.mjs → MazAvatar-a65c81e3.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-1fd128d5.mjs → MazBottomSheet-b78adb87.mjs} +3 -2
- package/components/chunks/{MazBtn-ebaa1574.mjs → MazBtn-000f9f66.mjs} +3 -3
- package/components/chunks/{MazBtn-8d0f8eb2.mjs → MazBtn-0d8e3249.mjs} +4 -4
- package/components/chunks/{MazBtn-8b76a9b9.mjs → MazBtn-16ab35fe.mjs} +4 -4
- package/components/chunks/{MazBtn-7963cdc8.mjs → MazBtn-18894690.mjs} +4 -4
- package/components/chunks/{MazBtn-83e85ae7.mjs → MazBtn-21743551.mjs} +4 -4
- package/components/chunks/{MazBtn-740fa3f9.mjs → MazBtn-2703c9bd.mjs} +2 -2
- package/components/chunks/{MazBtn-113db7ce.mjs → MazBtn-54c47489.mjs} +4 -4
- package/components/chunks/{MazBtn-80a95ca3.mjs → MazBtn-57cb16a1.mjs} +4 -4
- package/components/chunks/{MazBtn-aed16fa9.mjs → MazBtn-5a37bfef.mjs} +4 -4
- package/components/chunks/{MazBtn-9449d9aa.mjs → MazBtn-67e1fe7b.mjs} +4 -4
- package/components/chunks/{MazBtn-290141e9.mjs → MazBtn-6e16fbca.mjs} +4 -4
- package/components/chunks/{MazBtn-360120f0.mjs → MazBtn-9333e80f.mjs} +4 -4
- package/components/chunks/{MazBtn-cd553cc1.mjs → MazBtn-9d312f09.mjs} +4 -4
- package/components/chunks/MazBtn-a776eb42.mjs +184 -0
- package/components/chunks/{MazBtn-9e23a622.mjs → MazBtn-bf133cbc.mjs} +4 -4
- package/components/chunks/{MazCard-f0b1207f.mjs → MazCard-d9369776.mjs} +4 -4
- package/components/chunks/{MazCarousel-e6c83219.mjs → MazCarousel-06ca7c0b.mjs} +2 -2
- package/components/chunks/{MazDialog-5c53a6d7.mjs → MazDialog-d5f6a7d8.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-e0a178ee.mjs → MazDialogPromise-23cb2e40.mjs} +2 -2
- package/components/chunks/{MazDrawer-682859a4.mjs → MazDrawer-7d6428cf.mjs} +1 -1
- package/components/chunks/{MazGallery-345cb883.mjs → MazGallery-c80e96f6.mjs} +2 -2
- package/{modules/chunks/MazIcon-c5f0f47e.mjs → components/chunks/MazIcon-81176bfa.mjs} +4 -3
- package/components/chunks/{MazIcon-146f73d3.mjs → MazIcon-bda198b4.mjs} +3 -2
- package/components/chunks/{MazInput-c67999b0.mjs → MazInput-129c8695.mjs} +2 -2
- package/components/chunks/{MazInput-4775c6de.mjs → MazInput-15f3e149.mjs} +3 -3
- package/components/chunks/{MazInput-0424a850.mjs → MazInput-2a43e4a6.mjs} +3 -3
- package/components/chunks/{MazInput-4b908386.mjs → MazInput-8e284503.mjs} +2 -2
- package/components/chunks/{MazInputPrice-50e3ea5d.mjs → MazInputPrice-e88dec74.mjs} +4 -3
- package/components/chunks/{MazInputTags-801c15dc.mjs → MazInputTags-872a6fae.mjs} +5 -4
- package/components/chunks/{MazLazyImg-a206909b.mjs → MazLazyImg-51c16f47.mjs} +6 -6
- package/components/chunks/{MazLazyImg-13052d11.mjs → MazLazyImg-8d49fa48.mjs} +5 -5
- package/components/chunks/{MazPhoneNumberInput-37eb2437.mjs → MazPhoneNumberInput-901c4fa6.mjs} +5 -4
- package/components/chunks/{MazPicker-25765233.mjs → MazPicker-6fc29a1c.mjs} +22 -26
- package/components/chunks/{MazPickerCalendar-1547bd78.mjs → MazPickerCalendar-6271c78d.mjs} +29 -24
- package/components/chunks/{MazPickerHeader-04d6a61f.mjs → MazPickerHeader-4f70f191.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-791ebc99.mjs → MazPickerMonthSwitcher-674ce015.mjs} +4 -3
- package/components/chunks/{MazPickerShortcuts-4bdeae6a.mjs → MazPickerShortcuts-2242854f.mjs} +4 -3
- package/components/chunks/{MazPickerTime-0ca05476.mjs → MazPickerTime-bb97786b.mjs} +4 -3
- package/components/chunks/{MazPickerYearSwitcher-a338777f.mjs → MazPickerYearSwitcher-47e5444b.mjs} +5 -4
- package/components/chunks/{MazSelect-9270ae9c.mjs → MazSelect-1f4d1193.mjs} +6 -5
- package/components/chunks/{MazSelect-13d3fe3a.mjs → MazSelect-c5c3f874.mjs} +6 -5
- package/components/chunks/MazSpinner-213b3866.mjs +46 -0
- package/components/chunks/{MazSpinner-3e5a5ee0.mjs → MazSpinner-232086b5.mjs} +1 -1
- package/components/chunks/{MazSpinner-c4d67909.mjs → MazSpinner-25ddb933.mjs} +1 -1
- package/components/chunks/{MazSpinner-5be09a6a.mjs → MazSpinner-2cbf1c0a.mjs} +1 -1
- package/components/chunks/{MazSpinner-450e5795.mjs → MazSpinner-2fac70be.mjs} +1 -1
- package/components/chunks/{MazSpinner-07d6be3a.mjs → MazSpinner-467d514f.mjs} +1 -1
- package/components/chunks/MazSpinner-47025e56.mjs +46 -0
- package/components/chunks/{MazSpinner-24e65651.mjs → MazSpinner-5368411e.mjs} +1 -1
- package/components/chunks/MazSpinner-5fdafc97.mjs +46 -0
- package/components/chunks/{MazSpinner-bfd1f135.mjs → MazSpinner-6025406b.mjs} +1 -1
- package/components/chunks/{MazSpinner-33f756c4.mjs → MazSpinner-6c664898.mjs} +1 -1
- package/components/chunks/MazSpinner-819a5b00.mjs +46 -0
- package/components/chunks/{MazSpinner-50959d38.mjs → MazSpinner-984d259a.mjs} +1 -1
- package/components/chunks/MazSpinner-a74389bd.mjs +46 -0
- package/components/chunks/{MazSpinner-ac676f71.mjs → MazSpinner-bed2bced.mjs} +1 -1
- package/components/chunks/{MazSpinner-5baeb3f0.mjs → MazSpinner-d6625983.mjs} +1 -1
- package/components/chunks/{MazStepper-d61114a7.mjs → MazStepper-293b4be5.mjs} +4 -3
- package/components/chunks/{MazTabsBar-6f1ed175.mjs → MazTabsBar-6dffbdde.mjs} +2 -2
- package/components/chunks/{MazTransitionExpand-e408307c.mjs → MazTransitionExpand-648e21e0.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-bf4cb245.mjs → MazTransitionExpand-f3018af6.mjs} +1 -1
- package/modules/chunks/{MazBtn-c57ccb54.mjs → MazBtn-f4c8698d.mjs} +4 -4
- package/{components/chunks/MazIcon-00892ac4.mjs → modules/chunks/MazIcon-2c79b9d8.mjs} +4 -3
- package/modules/chunks/{MazSpinner-bb0e791a.mjs → MazSpinner-331f6dc8.mjs} +1 -1
- package/modules/chunks/{index-7220b7e8.mjs → index-1c3e48da.mjs} +58 -31
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +7 -7
- package/types/components/MazFullscreenLoader.vue.d.ts +27 -19
- package/types/components/MazPicker/utils.d.ts +1 -4
- package/types/components/MazStepper.vue.d.ts +1 -1
- package/types/modules/composables/use-theme-handler.d.ts +6 -3
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +54 -88
- package/components/chunks/MazBtn-a2eeb3f8.mjs +0 -184
- package/components/chunks/MazSpinner-559fb831.mjs +0 -46
- package/components/chunks/MazSpinner-7e5fb76c.mjs +0 -46
- package/components/chunks/MazSpinner-d5f2c266.mjs +0 -46
- package/components/chunks/MazSpinner-e4d7bbe9.mjs +0 -46
- package/components/chunks/MazSpinner-f40ee2c7.mjs +0 -46
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import "../assets/MazSpinner.css";
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
+
import { _ as _export_sfc } from "./MazSelect-1f4d1193.mjs";
|
|
4
|
+
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
+
const _hoisted_1 = ["width", "height"];
|
|
6
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
+
"path",
|
|
8
|
+
{ 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" },
|
|
9
|
+
null,
|
|
10
|
+
-1
|
|
11
|
+
/* HOISTED */
|
|
12
|
+
));
|
|
13
|
+
const _hoisted_3 = [
|
|
14
|
+
_hoisted_2
|
|
15
|
+
];
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "MazSpinner",
|
|
18
|
+
props: {
|
|
19
|
+
size: { type: String, default: "2em" },
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "primary"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(__props) {
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("svg", {
|
|
28
|
+
width: __props.size,
|
|
29
|
+
height: __props.size,
|
|
30
|
+
version: "1.1",
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
x: "0px",
|
|
33
|
+
y: "0px",
|
|
34
|
+
viewBox: "0 0 50 50",
|
|
35
|
+
"xml:space": "preserve",
|
|
36
|
+
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
+
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
+
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
+
export {
|
|
45
|
+
MazSpinner as default
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazPhoneNumberInput-
|
|
3
|
+
import { _ as _export_sfc } from "./MazPhoneNumberInput-901c4fa6.mjs";
|
|
4
4
|
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["width", "height"];
|
|
6
6
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazInputPrice-
|
|
3
|
+
import { _ as _export_sfc } from "./MazInputPrice-e88dec74.mjs";
|
|
4
4
|
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["width", "height"];
|
|
6
6
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import "../assets/MazSpinner.css";
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
+
import { _ as _export_sfc } from "./MazAvatar-a65c81e3.mjs";
|
|
4
|
+
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
+
const _hoisted_1 = ["width", "height"];
|
|
6
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
+
"path",
|
|
8
|
+
{ 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" },
|
|
9
|
+
null,
|
|
10
|
+
-1
|
|
11
|
+
/* HOISTED */
|
|
12
|
+
));
|
|
13
|
+
const _hoisted_3 = [
|
|
14
|
+
_hoisted_2
|
|
15
|
+
];
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "MazSpinner",
|
|
18
|
+
props: {
|
|
19
|
+
size: { type: String, default: "2em" },
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "primary"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(__props) {
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("svg", {
|
|
28
|
+
width: __props.size,
|
|
29
|
+
height: __props.size,
|
|
30
|
+
version: "1.1",
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
x: "0px",
|
|
33
|
+
y: "0px",
|
|
34
|
+
viewBox: "0 0 50 50",
|
|
35
|
+
"xml:space": "preserve",
|
|
36
|
+
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
+
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
+
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
+
export {
|
|
45
|
+
MazSpinner as default
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazBtn-
|
|
3
|
+
import { _ as _export_sfc } from "./MazBtn-000f9f66.mjs";
|
|
4
4
|
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["width", "height"];
|
|
6
6
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import "../assets/MazSpinner.css";
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
+
import { _ as _export_sfc } from "./MazCarousel-06ca7c0b.mjs";
|
|
4
|
+
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
+
const _hoisted_1 = ["width", "height"];
|
|
6
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
+
"path",
|
|
8
|
+
{ 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" },
|
|
9
|
+
null,
|
|
10
|
+
-1
|
|
11
|
+
/* HOISTED */
|
|
12
|
+
));
|
|
13
|
+
const _hoisted_3 = [
|
|
14
|
+
_hoisted_2
|
|
15
|
+
];
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "MazSpinner",
|
|
18
|
+
props: {
|
|
19
|
+
size: { type: String, default: "2em" },
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "primary"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(__props) {
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("svg", {
|
|
28
|
+
width: __props.size,
|
|
29
|
+
height: __props.size,
|
|
30
|
+
version: "1.1",
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
x: "0px",
|
|
33
|
+
y: "0px",
|
|
34
|
+
viewBox: "0 0 50 50",
|
|
35
|
+
"xml:space": "preserve",
|
|
36
|
+
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
+
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
+
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
+
export {
|
|
45
|
+
MazSpinner as default
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazBottomSheet-
|
|
3
|
+
import { _ as _export_sfc } from "./MazBottomSheet-b78adb87.mjs";
|
|
4
4
|
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["width", "height"];
|
|
6
6
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazCard-
|
|
3
|
+
import { _ as _export_sfc } from "./MazCard-d9369776.mjs";
|
|
4
4
|
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["width", "height"];
|
|
6
6
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
@@ -33,20 +33,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
canCloseSteps: { type: Boolean, default: false }
|
|
34
34
|
},
|
|
35
35
|
emits: ["update:model-value"],
|
|
36
|
-
setup(__props, { emit:
|
|
37
|
-
const props = __props;
|
|
36
|
+
setup(__props, { emit: __emit }) {
|
|
38
37
|
useCssVars((_ctx) => ({
|
|
39
38
|
"d84124a6": roundStepBgColor.value,
|
|
40
39
|
"9e8e43f6": roundStepTextColor.value
|
|
41
40
|
}));
|
|
42
|
-
const MazTransitionExpand = defineAsyncComponent(() => import("./MazTransitionExpand-
|
|
41
|
+
const MazTransitionExpand = defineAsyncComponent(() => import("./MazTransitionExpand-f3018af6.mjs"));
|
|
43
42
|
const CheckCircleIcon = defineAsyncComponent(() => import("./check-circle-403abf7e.mjs"));
|
|
44
43
|
const ExclamationCircleIcon = defineAsyncComponent(
|
|
45
44
|
() => import("./exclamation-circle-78184f31.mjs")
|
|
46
45
|
);
|
|
47
46
|
const ExclamationIcon = defineAsyncComponent(() => import("./exclamation-triangle-7b00fa9b.mjs"));
|
|
47
|
+
const props = __props;
|
|
48
48
|
const roundStepBgColor = computed(() => `var(--maz-color-${props.color})`);
|
|
49
49
|
const roundStepTextColor = computed(() => `var(--maz-color-${props.color}-contrast)`);
|
|
50
|
+
const emits = __emit;
|
|
50
51
|
const slots = useSlots();
|
|
51
52
|
const stepCount = computed(
|
|
52
53
|
() => Object.keys(slots).filter((slot) => slot.startsWith("content-")).length
|
|
@@ -17,8 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
noRounded: { type: Boolean, default: false }
|
|
18
18
|
},
|
|
19
19
|
setup(__props) {
|
|
20
|
-
const
|
|
21
|
-
const MazBtn = defineAsyncComponent(() => import("./MazBtn-a2eeb3f8.mjs"));
|
|
20
|
+
const MazBtn = defineAsyncComponent(() => import("./MazBtn-a776eb42.mjs"));
|
|
22
21
|
function toKebabCase(input) {
|
|
23
22
|
return input.replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/[\s_]+/g, "-").toLowerCase();
|
|
24
23
|
}
|
|
@@ -30,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
29
|
return index === -1 ? 1 : index + 1;
|
|
31
30
|
};
|
|
32
31
|
const { currentTab, updateCurrentTab } = injectStrict("maz-tabs");
|
|
32
|
+
const props = __props;
|
|
33
33
|
const MazTabsBar2 = ref();
|
|
34
34
|
const isMounted = ref(false);
|
|
35
35
|
const normalizedItems = computed(
|
package/components/chunks/{MazTransitionExpand-e408307c.mjs → MazTransitionExpand-648e21e0.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazTransitionExpand.css";
|
|
2
2
|
import { defineComponent, openBlock, createBlock, TransitionGroup, withCtx, renderSlot, nextTick } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazCard-
|
|
3
|
+
import { _ as _export_sfc } from "./MazCard-d9369776.mjs";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MazTransitionExpand",
|
|
6
6
|
setup(__props) {
|
package/components/chunks/{MazTransitionExpand-bf4cb245.mjs → MazTransitionExpand-f3018af6.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazTransitionExpand.css";
|
|
2
2
|
import { defineComponent, openBlock, createBlock, TransitionGroup, withCtx, renderSlot, nextTick } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazStepper-
|
|
3
|
+
import { _ as _export_sfc } from "./MazStepper-293b4be5.mjs";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MazTransitionExpand",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazBtn.css";
|
|
2
2
|
import { defineComponent, defineAsyncComponent, useAttrs, useSlots, onBeforeMount, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createElementBlock, normalizeClass, renderSlot, unref, createCommentVNode, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./index-
|
|
3
|
+
import { _ as _export_sfc } from "./index-1c3e48da.mjs";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MazBtn",
|
|
6
6
|
props: {
|
|
@@ -46,11 +46,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
noElevation: { type: Boolean, default: false }
|
|
47
47
|
},
|
|
48
48
|
setup(__props) {
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const MazIcon = defineAsyncComponent(() => import("./MazIcon-c5f0f47e.mjs"));
|
|
49
|
+
const MazSpinner = defineAsyncComponent(() => import("./MazSpinner-331f6dc8.mjs"));
|
|
50
|
+
const MazIcon = defineAsyncComponent(() => import("./MazIcon-2c79b9d8.mjs"));
|
|
52
51
|
const { href, to } = useAttrs();
|
|
53
52
|
const slots = useSlots();
|
|
53
|
+
const props = __props;
|
|
54
54
|
onBeforeMount(() => {
|
|
55
55
|
if (props.icon && !props.fab) {
|
|
56
56
|
console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, watchEffect, openBlock, createElementBlock, Fragment, createCommentVNode, mergeProps, nextTick } from "vue";
|
|
2
|
-
import { i as injectStrict } from "./
|
|
2
|
+
import { i as injectStrict } from "./index-1c3e48da.mjs";
|
|
3
3
|
const _hoisted_1 = ["innerHTML"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MazIcon",
|
|
@@ -15,8 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
emits: ["loaded", "unloaded", "error"],
|
|
18
|
-
setup(__props, { emit:
|
|
19
|
-
const props = __props;
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
20
19
|
const cache = {};
|
|
21
20
|
const svgElSource = ref();
|
|
22
21
|
const svgElem = ref();
|
|
@@ -27,6 +26,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
26
|
return void 0;
|
|
28
27
|
}
|
|
29
28
|
};
|
|
29
|
+
const props = __props;
|
|
30
|
+
const emits = __emit;
|
|
30
31
|
const iconPath = computed(() => props.path ?? getMazIconPath());
|
|
31
32
|
const fullSrc = computed(() => {
|
|
32
33
|
if (props.src) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./index-
|
|
3
|
+
import { _ as _export_sfc } from "./index-1c3e48da.mjs";
|
|
4
4
|
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["width", "height"];
|
|
6
6
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
@@ -1103,15 +1103,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1103
1103
|
scaleAnimation: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
emits: ["close", "previous", "next", "before-close"],
|
|
1106
|
-
setup(__props, { emit:
|
|
1107
|
-
const
|
|
1108
|
-
const MazSpinner = defineAsyncComponent(() => import("./MazSpinner-
|
|
1106
|
+
setup(__props, { emit: __emit }) {
|
|
1107
|
+
const emits = __emit;
|
|
1108
|
+
const MazSpinner = defineAsyncComponent(() => import("./MazSpinner-331f6dc8.mjs"));
|
|
1109
1109
|
const XMark = defineAsyncComponent(() => import("./x-mark-6dd31278.mjs"));
|
|
1110
1110
|
const ChevronLeft = defineAsyncComponent(() => import("./chevron-left-7ab9664d.mjs"));
|
|
1111
1111
|
let vueScrollTo;
|
|
1112
1112
|
onBeforeMount(async () => {
|
|
1113
1113
|
vueScrollTo = await import("vue-scrollto");
|
|
1114
1114
|
});
|
|
1115
|
+
const props = __props;
|
|
1115
1116
|
const showFullscreenImg = ref(false);
|
|
1116
1117
|
const imageLoaded = ref(false);
|
|
1117
1118
|
const showLoader = ref(false);
|
|
@@ -1677,15 +1678,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1677
1678
|
persistent: { type: Boolean, default: false }
|
|
1678
1679
|
},
|
|
1679
1680
|
emits: ["close", "click"],
|
|
1680
|
-
setup(__props, { emit:
|
|
1681
|
-
const props = __props;
|
|
1681
|
+
setup(__props, { emit: __emit }) {
|
|
1682
1682
|
const XIcon = defineAsyncComponent(() => import("./x-mark-6dd31278.mjs"));
|
|
1683
1683
|
const ExternalLink = defineAsyncComponent(
|
|
1684
1684
|
() => import("./arrow-top-right-on-square-3878577d.mjs")
|
|
1685
1685
|
);
|
|
1686
1686
|
const Link = defineAsyncComponent(() => import("./link-74f1af7a.mjs"));
|
|
1687
|
-
const MazBtn = defineAsyncComponent(() => import("./MazBtn-
|
|
1687
|
+
const MazBtn = defineAsyncComponent(() => import("./MazBtn-f4c8698d.mjs"));
|
|
1688
1688
|
const Toaster = ref();
|
|
1689
|
+
const props = __props;
|
|
1690
|
+
const emits = __emit;
|
|
1689
1691
|
const positionY = computed(() => props.position.includes("top") ? "top" : "bottom");
|
|
1690
1692
|
const positionX = computed(() => {
|
|
1691
1693
|
if (props.position.includes("left"))
|
|
@@ -2093,70 +2095,95 @@ const DEFAULT_OPTIONS = {
|
|
|
2093
2095
|
lightClass: "light",
|
|
2094
2096
|
storageThemeKey: "theme",
|
|
2095
2097
|
storageThemeValueDark: "dark",
|
|
2096
|
-
storageThemeValueLight: "light"
|
|
2098
|
+
storageThemeValueLight: "light",
|
|
2099
|
+
storageThemeValueSystem: "system"
|
|
2097
2100
|
};
|
|
2098
|
-
const theme = ref();
|
|
2099
|
-
|
|
2101
|
+
const theme = ref("system");
|
|
2102
|
+
function setDarkTheme({
|
|
2100
2103
|
darkClass,
|
|
2101
2104
|
lightClass,
|
|
2102
2105
|
storageThemeKey,
|
|
2103
2106
|
storageThemeValueDark,
|
|
2104
|
-
setLocalStorageValue = true
|
|
2105
|
-
|
|
2107
|
+
setLocalStorageValue = true,
|
|
2108
|
+
setThemeValue = true
|
|
2109
|
+
}) {
|
|
2106
2110
|
document.documentElement.classList.remove(lightClass);
|
|
2107
2111
|
document.documentElement.classList.add(darkClass);
|
|
2108
|
-
|
|
2112
|
+
if (setThemeValue)
|
|
2113
|
+
theme.value = storageThemeValueDark;
|
|
2109
2114
|
if (setLocalStorageValue) {
|
|
2110
2115
|
localStorage[storageThemeKey] = storageThemeValueDark;
|
|
2111
2116
|
}
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2117
|
+
}
|
|
2118
|
+
function setLightTheme({
|
|
2114
2119
|
darkClass,
|
|
2115
2120
|
lightClass,
|
|
2116
2121
|
storageThemeKey,
|
|
2117
2122
|
storageThemeValueLight,
|
|
2118
|
-
setLocalStorageValue = true
|
|
2119
|
-
|
|
2123
|
+
setLocalStorageValue = true,
|
|
2124
|
+
setThemeValue = true
|
|
2125
|
+
}) {
|
|
2120
2126
|
document.documentElement.classList.remove(darkClass);
|
|
2121
2127
|
document.documentElement.classList.add(lightClass);
|
|
2122
|
-
|
|
2128
|
+
if (setThemeValue)
|
|
2129
|
+
theme.value = storageThemeValueLight;
|
|
2123
2130
|
if (setLocalStorageValue) {
|
|
2124
2131
|
localStorage[storageThemeKey] = storageThemeValueLight;
|
|
2125
2132
|
}
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2133
|
+
}
|
|
2134
|
+
function setSytemTheme(options) {
|
|
2135
|
+
document.documentElement.classList.remove(options.darkClass);
|
|
2136
|
+
document.documentElement.classList.remove(options.lightClass);
|
|
2137
|
+
theme.value = options.storageThemeValueSystem;
|
|
2138
|
+
if (options.setLocalStorageValue) {
|
|
2139
|
+
localStorage[options.storageThemeKey] = options.storageThemeValueSystem;
|
|
2140
|
+
}
|
|
2141
|
+
autoSetTheme({ ...options, setThemeValue: false });
|
|
2142
|
+
}
|
|
2143
|
+
function getPrefDark() {
|
|
2144
|
+
return window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
2145
|
+
}
|
|
2146
|
+
function autoSetTheme(options) {
|
|
2147
|
+
if (localStorage[options.storageThemeKey] === options.storageThemeValueDark || !(options.storageThemeKey in localStorage) && getPrefDark() || localStorage[options.storageThemeKey] === options.storageThemeValueSystem && getPrefDark()) {
|
|
2148
|
+
return setDarkTheme({ ...options, setLocalStorageValue: false });
|
|
2132
2149
|
}
|
|
2133
|
-
};
|
|
2134
|
-
|
|
2150
|
+
return setLightTheme({ ...options, setLocalStorageValue: false });
|
|
2151
|
+
}
|
|
2152
|
+
function setTheme({
|
|
2135
2153
|
shouldSetDarkMode,
|
|
2136
2154
|
...rest
|
|
2137
|
-
})
|
|
2155
|
+
}) {
|
|
2156
|
+
if (typeof shouldSetDarkMode !== "boolean") {
|
|
2157
|
+
return setSytemTheme(rest);
|
|
2158
|
+
}
|
|
2138
2159
|
return shouldSetDarkMode ? setDarkTheme(rest) : setLightTheme(rest);
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2160
|
+
}
|
|
2161
|
+
function toggleTheme(options) {
|
|
2141
2162
|
return localStorage[options.storageThemeKey] === options.storageThemeValueDark ? setLightTheme(options) : setDarkTheme(options);
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2163
|
+
}
|
|
2164
|
+
function useThemeHandler(opts = DEFAULT_OPTIONS) {
|
|
2144
2165
|
const options = {
|
|
2145
2166
|
...DEFAULT_OPTIONS,
|
|
2146
2167
|
...opts
|
|
2147
2168
|
};
|
|
2148
2169
|
const hasDarkTheme = computed(() => theme.value === options.storageThemeValueDark);
|
|
2149
2170
|
const hasLightTheme = computed(() => theme.value === options.storageThemeValueLight);
|
|
2171
|
+
const hasSystemTheme = computed(() => theme.value === options.storageThemeValueSystem);
|
|
2172
|
+
onMounted$1(() => {
|
|
2173
|
+
theme.value = localStorage[options.storageThemeKey];
|
|
2174
|
+
});
|
|
2150
2175
|
return {
|
|
2151
2176
|
autoSetTheme: () => autoSetTheme(options),
|
|
2152
2177
|
toggleTheme: () => toggleTheme(options),
|
|
2178
|
+
setSystemTheme: () => setSytemTheme({ ...options, setLocalStorageValue: true }),
|
|
2153
2179
|
setDarkTheme: () => setTheme({ ...options, shouldSetDarkMode: true }),
|
|
2154
2180
|
setLightTheme: () => setTheme({ ...options, shouldSetDarkMode: false }),
|
|
2155
2181
|
hasDarkTheme,
|
|
2156
2182
|
hasLightTheme,
|
|
2183
|
+
hasSystemTheme,
|
|
2157
2184
|
theme
|
|
2158
2185
|
};
|
|
2159
|
-
}
|
|
2186
|
+
}
|
|
2160
2187
|
const useInstanceUniqId = ({
|
|
2161
2188
|
componentName,
|
|
2162
2189
|
instance: instance2,
|
package/modules/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B, I, S, T, U, W, D, q, r, u, d, i, C, b, o, x, z, a, l, m, w, s, E, y, t, H, L, G, N, F, K, M, J, c, p, k, n, h, j, v, e, f, g, A } from "./chunks/index-
|
|
1
|
+
import { B, I, S, T, U, W, D, q, r, u, d, i, C, b, o, x, z, a, l, m, w, s, E, y, t, H, L, G, N, F, K, M, J, c, p, k, n, h, j, v, e, f, g, A } from "./chunks/index-1c3e48da.mjs";
|
|
2
2
|
export {
|
|
3
3
|
B as AosHandler,
|
|
4
4
|
I as IdleTimeout,
|
package/nuxt/index.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maz-ui",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.2",
|
|
4
4
|
"description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
|
|
5
5
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
6
6
|
"main": "./modules/index.mjs",
|
|
@@ -96,13 +96,13 @@
|
|
|
96
96
|
"@babel/core": "^7.23.2",
|
|
97
97
|
"@babel/preset-env": "^7.23.2",
|
|
98
98
|
"@babel/preset-typescript": "^7.23.2",
|
|
99
|
-
"@nuxt/kit": "^3.
|
|
100
|
-
"@nuxt/schema": "^3.
|
|
99
|
+
"@nuxt/kit": "^3.8.0",
|
|
100
|
+
"@nuxt/schema": "^3.8.0",
|
|
101
101
|
"@types/dropzone": "^5.7.6",
|
|
102
102
|
"@types/google.maps": "^3.54.4",
|
|
103
103
|
"@vitejs/plugin-vue": "^4.4.0",
|
|
104
104
|
"@vitest/coverage-v8": "^0.34.6",
|
|
105
|
-
"@vue/compiler-sfc": "^3.3.
|
|
105
|
+
"@vue/compiler-sfc": "^3.3.6",
|
|
106
106
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
107
107
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
108
108
|
"@vue/test-utils": "^2.4.1",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"json-templater": "^1.2.0",
|
|
122
122
|
"libphonenumber-js": "^1.10.48",
|
|
123
123
|
"minimist": "^1.2.8",
|
|
124
|
-
"nuxt": "^3.
|
|
124
|
+
"nuxt": "^3.8.0",
|
|
125
125
|
"onchange": "^7.1.0",
|
|
126
126
|
"path": "^0.12.7",
|
|
127
127
|
"postcss": "^8.4.31",
|
|
@@ -150,12 +150,12 @@
|
|
|
150
150
|
"vite-svg-loader": "^4.0.0",
|
|
151
151
|
"vitest": "^0.34.6",
|
|
152
152
|
"vitest-canvas-mock": "^0.3.3",
|
|
153
|
-
"vue": "^3.3.
|
|
153
|
+
"vue": "^3.3.6",
|
|
154
154
|
"vue-chartjs": "^5.2.0",
|
|
155
155
|
"vue-loader": "^17.3.0",
|
|
156
156
|
"vue-router": "^4.2.5",
|
|
157
157
|
"vue-scrollto": "^2.20.0",
|
|
158
|
-
"vue-tsc": "^1.8.
|
|
158
|
+
"vue-tsc": "^1.8.20"
|
|
159
159
|
},
|
|
160
160
|
"engines": {
|
|
161
161
|
"node": ">= 6.0.0",
|
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
color: {
|
|
17
|
-
type: import("vue").PropType<Color>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>>, {
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
color?: Color | undefined;
|
|
4
|
+
size?: string | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
color: string;
|
|
7
|
+
size: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
color?: Color | undefined;
|
|
10
|
+
size?: string | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
color: string;
|
|
13
|
+
size: string;
|
|
14
|
+
}>>>, {
|
|
21
15
|
size: string;
|
|
22
16
|
color: Color;
|
|
23
17
|
}, {}>, {
|
|
24
18
|
default?(_: {}): any;
|
|
25
19
|
}>;
|
|
26
20
|
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
27
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
36
|
new (): {
|
|
29
37
|
$slots: S;
|
|
@@ -12,10 +12,7 @@ export declare function getRangeFormattedDate({ value, locale, options, }: {
|
|
|
12
12
|
options: Intl.DateTimeFormatOptions;
|
|
13
13
|
}): string | undefined;
|
|
14
14
|
export declare function getFirstDayOfMonth(value: ConfigType): number;
|
|
15
|
-
export declare function
|
|
16
|
-
label: string;
|
|
17
|
-
dayNumber: number;
|
|
18
|
-
}[];
|
|
15
|
+
export declare function getDaysOfWeek(locale: string, firstDayOfWeek: number): string[];
|
|
19
16
|
export declare function getDaysInMonth(date: ConfigType): number;
|
|
20
17
|
export declare function isToday(date: ConfigType): boolean;
|
|
21
18
|
export declare function isSameDate(date: ConfigType, date2: ConfigType, unit: OpUnitType): boolean;
|
|
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
99
99
|
allStepsOpened: boolean;
|
|
100
100
|
allStepsValidated: boolean;
|
|
101
101
|
canCloseSteps: boolean;
|
|
102
|
-
}, {}>, Partial<Record
|
|
102
|
+
}, {}>, Partial<Record<`title-${number}`, (_: {}) => any>> & Partial<Record<`subtitle-${number}`, (_: {}) => any>> & Partial<Record<`title-info-${number}`, (_: {}) => any>> & Partial<Record<`content-${number}`, (_: {
|
|
103
103
|
validated: boolean;
|
|
104
104
|
error: boolean | undefined;
|
|
105
105
|
warning: boolean | undefined;
|
|
@@ -4,17 +4,20 @@ declare const DEFAULT_OPTIONS: {
|
|
|
4
4
|
storageThemeKey: string;
|
|
5
5
|
storageThemeValueDark: string;
|
|
6
6
|
storageThemeValueLight: string;
|
|
7
|
+
storageThemeValueSystem: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const theme: import("vue").Ref<string | undefined>;
|
|
9
9
|
export type StrictThemeHandlerOptions = typeof DEFAULT_OPTIONS;
|
|
10
10
|
export type ThemeHandlerOptions = Partial<StrictThemeHandlerOptions>;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const theme: import("vue").Ref<string>;
|
|
12
|
+
export declare function useThemeHandler(opts?: ThemeHandlerOptions): {
|
|
12
13
|
autoSetTheme: () => void;
|
|
13
14
|
toggleTheme: () => void;
|
|
15
|
+
setSystemTheme: () => void;
|
|
14
16
|
setDarkTheme: () => void;
|
|
15
17
|
setLightTheme: () => void;
|
|
16
18
|
hasDarkTheme: import("vue").ComputedRef<boolean>;
|
|
17
19
|
hasLightTheme: import("vue").ComputedRef<boolean>;
|
|
18
|
-
|
|
20
|
+
hasSystemTheme: import("vue").ComputedRef<boolean>;
|
|
21
|
+
theme: import("vue").Ref<string>;
|
|
19
22
|
};
|
|
20
23
|
export {};
|