maz-ui 3.5.0 → 3.6.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.d.ts +156 -149
- package/components/MazAvatar.mjs +656 -0
- package/components/MazAvatar.umd.js +2 -0
- package/components/MazBackdrop.d.ts +89 -89
- package/components/MazBackdrop.mjs +140 -0
- package/components/MazBackdrop.umd.js +2 -0
- package/components/MazBadge.d.ts +73 -68
- package/components/MazBadge.mjs +61 -0
- package/components/MazBadge.umd.js +2 -0
- package/components/MazBottomSheet.d.ts +36 -29
- package/components/MazBottomSheet.mjs +553 -0
- package/components/MazBottomSheet.umd.js +2 -0
- package/components/MazBtn.d.ts +178 -171
- package/components/MazBtn.mjs +371 -0
- package/components/MazBtn.umd.js +2 -0
- package/components/MazCard.d.ts +194 -183
- package/components/MazCard.mjs +1390 -0
- package/components/MazCard.umd.js +2 -0
- package/components/MazCarousel.d.ts +24 -16
- package/components/MazCarousel.mjs +469 -0
- package/components/MazCarousel.umd.js +2 -0
- package/components/MazChart/includes.d.ts +11 -11
- package/components/MazChart.d.ts +114 -114
- package/components/MazChart.mjs +135 -0
- package/components/MazChart.umd.js +2 -0
- package/components/MazCheckbox.d.ts +54 -49
- package/components/MazCheckbox.mjs +86 -0
- package/components/MazCheckbox.umd.js +2 -0
- package/components/MazDialog.d.ts +40 -29
- package/components/MazDialog.mjs +566 -0
- package/components/MazDialog.umd.js +2 -0
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -30
- package/components/MazDialogPromise.d.ts +36 -28
- package/components/MazDialogPromise.mjs +692 -0
- package/components/MazDialogPromise.umd.js +2 -0
- package/components/MazDrawer.d.ts +69 -59
- package/components/MazDrawer.mjs +572 -0
- package/components/MazDrawer.umd.js +2 -0
- package/components/MazDropzone.d.ts +128 -128
- package/components/MazDropzone.mjs +369 -0
- package/components/MazDropzone.umd.js +2 -0
- package/components/MazGallery.d.ts +144 -144
- package/components/MazGallery.mjs +948 -0
- package/components/MazGallery.umd.js +2 -0
- package/components/MazIcon.d.ts +64 -66
- package/components/MazIcon.mjs +161 -0
- package/components/MazIcon.umd.js +2 -0
- package/components/MazInput.d.ts +276 -276
- package/components/MazInput.mjs +750 -0
- package/components/MazInput.umd.js +2 -0
- package/components/MazInputNumber.d.ts +65 -67
- package/components/MazInputNumber.mjs +857 -0
- package/components/MazInputNumber.umd.js +2 -0
- package/components/MazInputPrice.d.ts +69 -64
- package/components/MazInputPrice.mjs +889 -0
- package/components/MazInputPrice.umd.js +2 -0
- package/components/MazInputTags.d.ts +94 -96
- package/components/MazInputTags.mjs +904 -0
- package/components/MazInputTags.umd.js +2 -0
- package/components/MazLazyImg.d.ts +85 -80
- package/components/MazLazyImg.mjs +376 -0
- package/components/MazLazyImg.umd.js +2 -0
- package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -12
- package/components/MazPhoneNumberInput/types.d.ts +21 -21
- package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -2
- package/components/MazPhoneNumberInput/utils/index.d.ts +12 -12
- package/components/MazPhoneNumberInput.d.ts +253 -255
- package/components/MazPhoneNumberInput.mjs +1907 -0
- package/components/MazPhoneNumberInput.umd.js +2 -0
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -137
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -22
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -114
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -124
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -38
- package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -212
- package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
- package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -84
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -43
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -62
- package/components/MazPicker/MazPickerTime.vue.d.ts +127 -129
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -35
- package/components/MazPicker/types.d.ts +15 -15
- package/components/MazPicker/utils.d.ts +54 -54
- package/components/MazPicker.d.ts +311 -313
- package/components/MazPicker.mjs +2942 -0
- package/components/MazPicker.umd.js +2 -0
- package/components/MazRadioButtons.d.ts +77 -69
- package/components/MazRadioButtons.mjs +80 -0
- package/components/MazRadioButtons.umd.js +2 -0
- package/components/MazSelect.d.ts +185 -176
- package/components/MazSelect.mjs +1085 -0
- package/components/MazSelect.umd.js +2 -0
- package/components/MazSlider/utils.d.ts +15 -15
- package/components/MazSlider.d.ts +94 -96
- package/components/MazSlider.mjs +377 -0
- package/components/MazSlider.umd.js +2 -0
- package/components/MazSpinner.d.ts +28 -30
- package/components/MazSpinner.mjs +59 -0
- package/components/MazSpinner.umd.js +2 -0
- package/components/MazStepper.d.ts +71 -73
- package/components/MazStepper.mjs +227 -0
- package/components/MazStepper.umd.js +2 -0
- package/components/MazSwitch.d.ts +54 -56
- package/components/MazSwitch.mjs +61 -0
- package/components/MazSwitch.umd.js +2 -0
- package/components/MazTabsBar.d.ts +47 -49
- package/components/MazTabsBar.mjs +470 -0
- package/components/MazTabsBar.umd.js +2 -0
- package/components/MazTabsContent.d.ts +21 -16
- package/components/MazTabsContent.mjs +89 -0
- package/components/MazTabsContent.umd.js +2 -0
- package/components/MazTabsContentItem.d.ts +19 -14
- package/components/MazTabsContentItem.mjs +61 -0
- package/components/MazTabsContentItem.umd.js +2 -0
- package/components/MazTextarea/textarea-autogrow.d.ts +9 -9
- package/components/MazTextarea.d.ts +123 -125
- package/components/MazTextarea.mjs +260 -0
- package/components/MazTextarea.umd.js +2 -0
- package/components/MazTransitionExpand.d.ts +9 -4
- package/components/MazTransitionExpand.mjs +62 -0
- package/components/MazTransitionExpand.umd.js +2 -0
- package/components/index.d.ts +33 -33
- package/components/index.mjs +35 -0
- package/components/index.umd.js +35 -0
- package/components/no_photo-410a8f01.mjs +4 -0
- package/components/types.d.ts +17 -17
- package/css/main.css +1 -1
- package/maz-ui.d.ts +234 -232
- package/modules/maz-ui.mjs +1892 -0
- package/modules/maz-ui.umd.js +2 -0
- package/modules/no_photo-410a8f01.mjs +4 -0
- package/package.json +43 -52
- package/tailwindcss/tailwind.config.js +6 -7
- package/tailwindcss/utils/colors.js +1 -3
- package/tailwindcss/variables/breakpoints.js +1 -2
- package/tailwindcss/variables/utilities.js +1 -2
- package/tailwindcss/variables/z-indexes.js +1 -1
- package/components/MazAvatar.js +0 -3
- package/components/MazBackdrop.js +0 -3
- package/components/MazBadge.js +0 -1
- package/components/MazBottomSheet.js +0 -3
- package/components/MazBtn.js +0 -3
- package/components/MazCard.js +0 -3
- package/components/MazCarousel.js +0 -3
- package/components/MazChart.js +0 -1
- package/components/MazCheckbox.js +0 -1
- package/components/MazDialog.js +0 -3
- package/components/MazDialogPromise.js +0 -3
- package/components/MazDrawer.js +0 -3
- package/components/MazDropzone.js +0 -3
- package/components/MazGallery.js +0 -3
- package/components/MazIcon.js +0 -3
- package/components/MazInput.js +0 -3
- package/components/MazInputNumber.js +0 -3
- package/components/MazInputPrice.js +0 -3
- package/components/MazInputTags.js +0 -3
- package/components/MazLazyImg.js +0 -3
- package/components/MazPhoneNumberInput.js +0 -3
- package/components/MazPicker.js +0 -3
- package/components/MazRadioButtons.js +0 -1
- package/components/MazSelect.js +0 -3
- package/components/MazSlider.js +0 -3
- package/components/MazSpinner.js +0 -1
- package/components/MazStepper.js +0 -1
- package/components/MazSwitch.js +0 -1
- package/components/MazTabsBar.js +0 -3
- package/components/MazTabsContent.js +0 -1
- package/components/MazTabsContentItem.js +0 -3
- package/components/MazTextarea.js +0 -1
- package/components/MazTransitionExpand.js +0 -1
- package/components/index.js +0 -35
- package/components/no_photo-a72545e4.js +0 -1
- package/modules/index.js +0 -3
- package/modules/no_photo-a72545e4.js +0 -1
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
activeTab: {
|
|
3
|
-
type: NumberConstructor;
|
|
4
|
-
default: undefined;
|
|
5
|
-
};
|
|
6
|
-
}, (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
}>;
|
|
16
|
-
export default _default;
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
activeTab: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
activeTab: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
activeTab: number;
|
|
13
|
+
}>, {
|
|
14
|
+
default: (_: {}) => any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode("")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent, ref, onBeforeMount, watch, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
3
|
+
function debounce(fn, wait = 0, callFirst = false) {
|
|
4
|
+
let timeout;
|
|
5
|
+
let debouncedFn;
|
|
6
|
+
const clear = function() {
|
|
7
|
+
if (timeout) {
|
|
8
|
+
clearTimeout(timeout);
|
|
9
|
+
debouncedFn = void 0;
|
|
10
|
+
timeout = void 0;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const flush = function() {
|
|
14
|
+
const call = debouncedFn;
|
|
15
|
+
clear();
|
|
16
|
+
if (call) {
|
|
17
|
+
call();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const debounceWrapper = function(...args) {
|
|
21
|
+
if (!wait) {
|
|
22
|
+
return fn.apply(this, args);
|
|
23
|
+
}
|
|
24
|
+
const context = this;
|
|
25
|
+
const callNow = callFirst && !timeout;
|
|
26
|
+
clear();
|
|
27
|
+
debouncedFn = function() {
|
|
28
|
+
fn.apply(context, args);
|
|
29
|
+
};
|
|
30
|
+
timeout = setTimeout(function() {
|
|
31
|
+
timeout = void 0;
|
|
32
|
+
if (!callNow) {
|
|
33
|
+
const call = debouncedFn;
|
|
34
|
+
debouncedFn = void 0;
|
|
35
|
+
if (call !== void 0)
|
|
36
|
+
return call();
|
|
37
|
+
}
|
|
38
|
+
}, wait);
|
|
39
|
+
if (callNow) {
|
|
40
|
+
return debouncedFn();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
debounceWrapper.cancel = clear;
|
|
44
|
+
debounceWrapper.flush = flush;
|
|
45
|
+
return debounceWrapper;
|
|
46
|
+
}
|
|
47
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
|
+
__name: "MazTabsContent",
|
|
49
|
+
props: {
|
|
50
|
+
activeTab: { type: Number, default: void 0 }
|
|
51
|
+
},
|
|
52
|
+
setup(__props) {
|
|
53
|
+
const props = __props;
|
|
54
|
+
const MazTabsContent = ref();
|
|
55
|
+
const currentTab = ref();
|
|
56
|
+
const hideOverflow = ref(false);
|
|
57
|
+
const setOverflowHiddenTemp = () => {
|
|
58
|
+
hideOverflow.value = true;
|
|
59
|
+
allowOverFlow();
|
|
60
|
+
};
|
|
61
|
+
const allowOverFlow = debounce(function() {
|
|
62
|
+
hideOverflow.value = false;
|
|
63
|
+
}, 700);
|
|
64
|
+
onBeforeMount(() => {
|
|
65
|
+
currentTab.value = 1;
|
|
66
|
+
});
|
|
67
|
+
watch(
|
|
68
|
+
() => [props.activeTab, currentTab.value],
|
|
69
|
+
(values) => {
|
|
70
|
+
setOverflowHiddenTemp();
|
|
71
|
+
if (values[0])
|
|
72
|
+
currentTab.value = values[0];
|
|
73
|
+
},
|
|
74
|
+
{ immediate: true }
|
|
75
|
+
);
|
|
76
|
+
return (_ctx, _cache) => {
|
|
77
|
+
return openBlock(), createElementBlock("div", {
|
|
78
|
+
ref_key: "MazTabsContent",
|
|
79
|
+
ref: MazTabsContent,
|
|
80
|
+
class: normalizeClass(["m-tabs-content maz-relative", { "maz-overflow-hidden": hideOverflow.value }])
|
|
81
|
+
}, [
|
|
82
|
+
renderSlot(_ctx.$slots, "default")
|
|
83
|
+
], 2);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
export {
|
|
88
|
+
_sfc_main as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode("")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).MazTabsContent=t(e.Vue)}(this,(function(e){"use strict";return e.defineComponent({__name:"MazTabsContent",props:{activeTab:{type:Number,default:void 0}},setup(t){const n=t,o=e.ref(),i=e.ref(),u=e.ref(!1),a=function(e,t=0,n=!1){let o,i;const u=function(){o&&(clearTimeout(o),i=void 0,o=void 0)},a=function(...a){if(!t)return e.apply(this,a);const f=this,r=n&&!o;return u(),i=function(){e.apply(f,a)},o=setTimeout((function(){if(o=void 0,!r){const e=i;if(i=void 0,void 0!==e)return e()}}),t),r?i():void 0};return a.cancel=u,a.flush=function(){const e=i;u(),e&&e()},a}((function(){u.value=!1}),700);return e.onBeforeMount((()=>{i.value=1})),e.watch((()=>[n.activeTab,i.value]),(e=>{u.value=!0,a(),e[0]&&(i.value=e[0])}),{immediate:!0}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"MazTabsContent",ref:o,class:e.normalizeClass(["m-tabs-content maz-relative",{"maz-overflow-hidden":u.value}])},[e.renderSlot(t.$slots,"default")],2))}})}));
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
tab: {
|
|
3
|
-
type: NumberConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}, (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default _default;
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
tab: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
tab: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}>, {
|
|
12
|
+
default: (_: {}) => any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".m-tabs-content-item[data-v-1ad27c6a]{position:relative;top:0px;width:100%;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-transition:all .5s cubic-bezier(.25,.8,.5,1);transition:all .5s cubic-bezier(.25,.8,.5,1)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent, ref, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, renderSlot, vShow, unref } from "vue";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "MazTabsContentItem",
|
|
5
|
+
props: {
|
|
6
|
+
tab: { type: Number, required: true }
|
|
7
|
+
},
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const props = __props;
|
|
10
|
+
const currentTab = ref();
|
|
11
|
+
const transitionName = ref("maz-tab-transition");
|
|
12
|
+
const MazTabsContentItem2 = ref();
|
|
13
|
+
watch(
|
|
14
|
+
() => currentTab.value,
|
|
15
|
+
async (value, oldValue) => {
|
|
16
|
+
if (typeof value === "number" && typeof oldValue === "number") {
|
|
17
|
+
const newTabIsBigger = oldValue < value;
|
|
18
|
+
transitionName.value = newTabIsBigger ? "maz-tab-transition" : "maz-tab-reverse-transition";
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{ immediate: true }
|
|
22
|
+
);
|
|
23
|
+
const itemTabNumber = computed(() => {
|
|
24
|
+
return props.tab - 1;
|
|
25
|
+
});
|
|
26
|
+
const isCurrentTab = computed(() => {
|
|
27
|
+
return currentTab.value === itemTabNumber.value;
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createBlock(Transition, {
|
|
31
|
+
name: transitionName.value,
|
|
32
|
+
tag: "div"
|
|
33
|
+
}, {
|
|
34
|
+
default: withCtx(() => [
|
|
35
|
+
withDirectives(createElementVNode("div", {
|
|
36
|
+
ref_key: "MazTabsContentItem",
|
|
37
|
+
ref: MazTabsContentItem2,
|
|
38
|
+
class: "m-tabs-content-item"
|
|
39
|
+
}, [
|
|
40
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
41
|
+
], 512), [
|
|
42
|
+
[vShow, unref(isCurrentTab)]
|
|
43
|
+
])
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 8, ["name"]);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
const MazTabsContentItem_vue_vue_type_style_index_0_scoped_1ad27c6a_lang = "";
|
|
51
|
+
const _export_sfc = (sfc, props) => {
|
|
52
|
+
const target = sfc.__vccOpts || sfc;
|
|
53
|
+
for (const [key, val] of props) {
|
|
54
|
+
target[key] = val;
|
|
55
|
+
}
|
|
56
|
+
return target;
|
|
57
|
+
};
|
|
58
|
+
const MazTabsContentItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1ad27c6a"]]);
|
|
59
|
+
export {
|
|
60
|
+
MazTabsContentItem as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".m-tabs-content-item[data-v-1ad27c6a]{position:relative;top:0px;width:100%;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-transition:all .5s cubic-bezier(.25,.8,.5,1);transition:all .5s cubic-bezier(.25,.8,.5,1)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).MazTabsContentItem=t(e.Vue)}(this,(function(e){"use strict";return((e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n})(e.defineComponent({__name:"MazTabsContentItem",props:{tab:{type:Number,required:!0}},setup(t){const n=t,o=e.ref(),a=e.ref("maz-tab-transition"),r=e.ref();e.watch((()=>o.value),(async(e,t)=>{if("number"==typeof e&&"number"==typeof t){const n=t<e;a.value=n?"maz-tab-transition":"maz-tab-reverse-transition"}}),{immediate:!0});const i=e.computed((()=>n.tab-1)),s=e.computed((()=>o.value===i.value));return(t,n)=>(e.openBlock(),e.createBlock(e.Transition,{name:a.value,tag:"div"},{default:e.withCtx((()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"MazTabsContentItem",ref:r,class:"m-tabs-content-item"},[e.renderSlot(t.$slots,"default",{},void 0,!0)],512),[[e.vShow,e.unref(s)]])])),_:3},8,["name"]))}}),[["__scopeId","data-v-1ad27c6a"]])}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class TextareaAutogrow {
|
|
2
|
-
private element;
|
|
3
|
-
constructor(element: HTMLTextAreaElement);
|
|
4
|
-
private connect;
|
|
5
|
-
disconnect(): void;
|
|
6
|
-
private onFocus;
|
|
7
|
-
private onResize;
|
|
8
|
-
private autogrow;
|
|
9
|
-
}
|
|
1
|
+
export declare class TextareaAutogrow {
|
|
2
|
+
private element;
|
|
3
|
+
constructor(element: HTMLTextAreaElement);
|
|
4
|
+
private connect;
|
|
5
|
+
disconnect(): void;
|
|
6
|
+
private onFocus;
|
|
7
|
+
private onResize;
|
|
8
|
+
private autogrow;
|
|
9
|
+
}
|
|
@@ -1,125 +1,123 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { Color } from './types';
|
|
3
|
-
export type { Color } from './types';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
modelValue: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
id: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: undefined;
|
|
12
|
-
};
|
|
13
|
-
name: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
label: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: undefined;
|
|
20
|
-
};
|
|
21
|
-
required: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
disabled: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
readonly: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
error: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
success: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
warning: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
hint: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: undefined;
|
|
48
|
-
};
|
|
49
|
-
color: {
|
|
50
|
-
type: PropType<Color>;
|
|
51
|
-
default: string;
|
|
52
|
-
validator: (value: string) => boolean;
|
|
53
|
-
};
|
|
54
|
-
}, (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
modelValue: string;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}>;
|
|
125
|
-
export default _default;
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { Color } from './types';
|
|
3
|
+
export type { Color } from './types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
id: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
name: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
required: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
readonly: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
error: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
success: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
warning: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
hint: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
color: {
|
|
50
|
+
type: PropType<Color>;
|
|
51
|
+
default: string;
|
|
52
|
+
validator: (value: string) => boolean;
|
|
53
|
+
};
|
|
54
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "change" | "focus")[], "input" | "blur" | "change" | "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
id: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
name: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
label: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
required: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
readonly: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
error: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
success: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
warning: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
hint: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
color: {
|
|
100
|
+
type: PropType<Color>;
|
|
101
|
+
default: string;
|
|
102
|
+
validator: (value: string) => boolean;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
label: string;
|
|
111
|
+
error: boolean;
|
|
112
|
+
success: boolean;
|
|
113
|
+
warning: boolean;
|
|
114
|
+
readonly: boolean;
|
|
115
|
+
color: Color;
|
|
116
|
+
required: boolean;
|
|
117
|
+
name: string;
|
|
118
|
+
modelValue: string;
|
|
119
|
+
disabled: boolean;
|
|
120
|
+
id: string;
|
|
121
|
+
hint: string;
|
|
122
|
+
}>;
|
|
123
|
+
export default _default;
|