mediacube-ui-v2 0.0.267 → 0.0.269
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/components/templates/McDrawer/index.css +1 -0
- package/dist/components/elements/McSvgIcon/McSvgIcon.vue2.js +46 -27
- package/dist/components/templates/McDrawer/McDrawer.vue.js +2 -2
- package/dist/components/templates/McDrawer/McDrawerContainer/McDrawerContainer.vue.js +5 -0
- package/dist/components/templates/McDrawer/{McDrawerContainer.vue2.js → McDrawerContainer/McDrawerContainer.vue2.js} +2 -2
- package/dist/components/templates/McDrawer/McDrawerContainer/index.js +6 -0
- package/dist/components/templates/McDrawer/index.js +3 -4
- package/dist/components/templates/McModal/McModal.vue.js +1 -1
- package/dist/components/templates/McModal/McModalContainer/McModalContainer.vue.js +5 -0
- package/dist/components/templates/McModal/{McModalContainer.vue2.js → McModalContainer/McModalContainer.vue2.js} +1 -1
- package/dist/components/templates/McModal/McModalContainer/index.js +6 -0
- package/dist/components/templates/McModal/index.js +2 -3
- package/dist/composables/useDrawer.js +1 -1
- package/dist/composables/useModal.js +20 -22
- package/dist/types/components/templates/McDrawer/{McDrawerContainer.vue.d.ts → McDrawerContainer/McDrawerContainer.vue.d.ts} +1 -1
- package/dist/types/components/templates/McDrawer/McDrawerContainer/index.d.ts +48 -0
- package/dist/types/components/templates/McDrawer/index.d.ts +0 -47
- package/dist/types/components/templates/McModal/{McModalContainer.vue.d.ts → McModalContainer/McModalContainer.vue.d.ts} +1 -1
- package/dist/types/components/templates/McModal/McModalContainer/index.d.ts +34 -0
- package/dist/types/components/templates/McModal/index.d.ts +1 -34
- package/package.json +1 -1
- package/dist/assets/components/templates/McDrawer/McDrawer.css +0 -1
- package/dist/components/templates/McDrawer/McDrawerContainer.vue.js +0 -5
- package/dist/components/templates/McModal/McModalContainer.vue.js +0 -5
- /package/dist/assets/components/templates/McDrawer/{McDrawerContainer.css → McDrawerContainer/index.css} +0 -0
- /package/dist/assets/components/templates/McModal/{McModalContainer.css → McModalContainer/index.css} +0 -0
- /package/dist/assets/components/templates/McModal/{McModal.css → index.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.mc-drawer[data-v-57618f5c]{position:absolute;top:0;bottom:0;background:#fff;height:100%;box-shadow:0 4px 12px #00000029;display:flex;flex-direction:column;overflow:hidden;z-index:2;pointer-events:all}.mc-drawer__overlay[data-v-57618f5c]{position:absolute;inset:0;background:#00000026;display:flex;justify-content:flex-start;pointer-events:all}.mc-drawer__overlay--hidden[data-v-57618f5c]{background:transparent;pointer-events:none}.mc-drawer__wrapper[data-v-57618f5c]{position:absolute;inset:0;z-index:1;overflow:hidden}.mc-drawer__wrapper--hidden[data-v-57618f5c]{background:transparent;pointer-events:none}.mc-drawer__btn-close[data-v-57618f5c]{z-index:1;padding:.5rem!important}.mc-drawer__btn-close[data-v-57618f5c]{color:#8f99a3}.mc-drawer__btn-close[data-v-57618f5c]:hover,.mc-drawer__btn-close[data-v-57618f5c]:focus{color:#202427}.mc-drawer__btn-close[data-v-57618f5c]:active{color:#32393d}.mc-drawer__btn-close[data-v-57618f5c]{position:absolute;top:.5rem;inset-inline-end:.5rem}.mc-drawer__btn-close[data-v-57618f5c]{box-sizing:border-box;display:block;margin:0;padding:0;white-space:nowrap;vertical-align:middle;user-select:none;text-align:center;text-decoration:none;text-transform:none;border-radius:0;border:none;background-color:transparent;background-image:none;cursor:pointer;outline:0;font-size:0;line-height:0;font-family:inherit;-webkit-appearance:none;-webkit-text-fill-color:currentColor}.mc-drawer__btn-close[data-v-57618f5c]:focus{outline:0}.mc-drawer__icon-close[data-v-57618f5c]{height:1.5rem;width:1.5rem}.mc-drawer__icon-close--small[data-v-57618f5c]{display:none}@media (max-width: 767px){.mc-drawer .mc-drawer__icon-close[data-v-57618f5c]{display:none}.mc-drawer .mc-drawer__icon-close--small[data-v-57618f5c]{display:block}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Sizes as
|
|
3
|
-
import { Directions as
|
|
4
|
-
import { adaptiveAdditionalProps as
|
|
5
|
-
import { useHelper as
|
|
6
|
-
import { useTheme as
|
|
7
|
-
import { SPRITE_IDS as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as v, computed as r, openBlock as h, createElementBlock as y, normalizeStyle as $, normalizeClass as z, createElementVNode as I } from "vue";
|
|
2
|
+
import { Sizes as w } from "../../../types/styles/Sizes.js";
|
|
3
|
+
import { Directions as A } from "../../../enums/ui/Directions2.js";
|
|
4
|
+
import { adaptiveAdditionalProps as N, adaptivePropsParams as P, adaptivePropsSizes as k } from "../../../utils/mcSvgIconAdaptiveProps2.js";
|
|
5
|
+
import { useHelper as E } from "../../../composables/useHelper2.js";
|
|
6
|
+
import { useTheme as G } from "../../../composables/useTheme2.js";
|
|
7
|
+
import { SPRITE_IDS as s } from "../../../consts/iconsSpriteIds.js";
|
|
8
|
+
const x = ["xlink:href"], M = /* @__PURE__ */ v({
|
|
9
9
|
__name: "McSvgIcon",
|
|
10
10
|
props: {
|
|
11
|
-
...
|
|
11
|
+
...N,
|
|
12
12
|
/**
|
|
13
13
|
* Имя иконки
|
|
14
14
|
*/
|
|
@@ -21,7 +21,7 @@ const k = ["xlink:href"], M = /* @__PURE__ */ u({
|
|
|
21
21
|
*/
|
|
22
22
|
spriteId: {
|
|
23
23
|
type: String,
|
|
24
|
-
default: () =>
|
|
24
|
+
default: () => s.MAIN
|
|
25
25
|
},
|
|
26
26
|
/**
|
|
27
27
|
* Цвет иконки
|
|
@@ -57,34 +57,53 @@ const k = ["xlink:href"], M = /* @__PURE__ */ u({
|
|
|
57
57
|
},
|
|
58
58
|
dir: {
|
|
59
59
|
type: String,
|
|
60
|
-
default:
|
|
60
|
+
default: A.Ltr
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
setup(n) {
|
|
64
|
-
const c =
|
|
64
|
+
const c = E(), e = n, l = G(), p = [
|
|
65
|
+
"card_mir_colored",
|
|
66
|
+
"clickup",
|
|
67
|
+
"instagram_colored",
|
|
68
|
+
"mc_pay_mobile_app",
|
|
69
|
+
"mc_vidwide",
|
|
70
|
+
"messenger_colored",
|
|
71
|
+
"payoneer_colored",
|
|
72
|
+
"personal_email_colored",
|
|
73
|
+
"steam_colored",
|
|
74
|
+
"telegram_colored"
|
|
75
|
+
], m = new Set(p), d = [
|
|
76
|
+
"flag_ar",
|
|
77
|
+
"flag_en",
|
|
78
|
+
"flag_es",
|
|
79
|
+
"flag_pt",
|
|
80
|
+
"flag_ru",
|
|
81
|
+
"flag_th",
|
|
82
|
+
"flag_vi"
|
|
83
|
+
], u = new Set(d), f = r(() => {
|
|
65
84
|
const t = {};
|
|
66
|
-
return
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
t[`mc-svg-icon--${
|
|
85
|
+
return P.forEach((o) => {
|
|
86
|
+
k.forEach((i) => {
|
|
87
|
+
const a = e[`${o}${c.upperFirst(i)}`];
|
|
88
|
+
t[`mc-svg-icon--${o}-${i}-${a}`] = !!a;
|
|
70
89
|
});
|
|
71
90
|
}), t;
|
|
72
|
-
}),
|
|
91
|
+
}), g = r(() => ({
|
|
73
92
|
"mc-svg-icon": !0,
|
|
74
93
|
[`mc-svg-icon--dir-${e.dir}`]: !!e.dir,
|
|
75
|
-
...
|
|
76
|
-
})),
|
|
77
|
-
"--mc-svg-icon-size":
|
|
94
|
+
...f.value
|
|
95
|
+
})), _ = r(() => ({
|
|
96
|
+
"--mc-svg-icon-size": w[e.size],
|
|
78
97
|
"--mc-svg-icon-weight": String(e.weight)?.replace(".", "")?.split("")?.join("."),
|
|
79
98
|
"--mc-svg-icon-color": e.color && l.colors[e.color]
|
|
80
|
-
}));
|
|
81
|
-
return (t,
|
|
82
|
-
class:
|
|
83
|
-
style:
|
|
99
|
+
})), S = r(() => m.has(e.name) ? s.GRADS : u.has(e.name) ? s.FLAGS : e.spriteId);
|
|
100
|
+
return (t, o) => (h(), y("svg", {
|
|
101
|
+
class: z(g.value),
|
|
102
|
+
style: $(_.value)
|
|
84
103
|
}, [
|
|
85
|
-
|
|
86
|
-
"xlink:href": `#${
|
|
87
|
-
}, null, 8,
|
|
104
|
+
I("use", {
|
|
105
|
+
"xlink:href": `#${S.value}-${e.name}`
|
|
106
|
+
}, null, 8, x)
|
|
88
107
|
], 6));
|
|
89
108
|
}
|
|
90
109
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./McDrawer.vue2.js";
|
|
2
|
-
import '../../../assets/components/templates/McDrawer/
|
|
2
|
+
import '../../../assets/components/templates/McDrawer/index.css';/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-57618f5c"]]);
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, defineAsyncComponent as P, computed as u, onMounted as g, onBeforeUnmount as S, openBlock as a, createElementBlock as f, normalizeStyle as x, Fragment as V, renderList as b, createBlock as i, unref as k, mergeProps as _, withCtx as m, Suspense as D, createVNode as E, resolveDynamicComponent as I } from "vue";
|
|
2
|
-
import M from "
|
|
2
|
+
import M from "../McDrawerSafeComponent.vue.js";
|
|
3
3
|
const O = /* @__PURE__ */ C({
|
|
4
4
|
__name: "McDrawerContainer",
|
|
5
5
|
props: {
|
|
@@ -21,7 +21,7 @@ const O = /* @__PURE__ */ C({
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
setup(y) {
|
|
24
|
-
const w = P(() => import("
|
|
24
|
+
const w = P(() => import("../McDrawer.vue.js")), l = y, o = u(() => l.reactiveProps.drawers ?? []), n = u(() => o.value.map((r, t) => {
|
|
25
25
|
const e = o.value.length - 1 - t, s = Math.min(e, l.drawersMaxInCascade - 1), d = o.value.findLastIndex(
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
// eslint-disable-next-line no-prototype-builtins
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as o } from "vue";
|
|
2
|
-
const
|
|
2
|
+
const r = o(() => import("./McDrawer.vue.js"));
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
t as default
|
|
4
|
+
r as McDrawer,
|
|
5
|
+
r as default
|
|
7
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as d, onMounted as k, watch as C, onBeforeUnmount as _, openBlock as l, createElementBlock as c, normalizeStyle as h, Fragment as S, renderList as B, createBlock as u, Suspense as V, withCtx as i, createVNode as g, resolveDynamicComponent as P, mergeProps as w } from "vue";
|
|
2
|
-
import E from "
|
|
2
|
+
import E from "../McModalSafeComponent.vue.js";
|
|
3
3
|
const b = ["onClose"], L = /* @__PURE__ */ y({
|
|
4
4
|
__name: "McModalContainer",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as o } from "vue";
|
|
2
|
-
const
|
|
2
|
+
const e = o(() => import("./McModal.vue.js"));
|
|
3
3
|
export {
|
|
4
4
|
e as McModal,
|
|
5
|
-
|
|
6
|
-
n as default
|
|
5
|
+
e as default
|
|
7
6
|
};
|
|
@@ -24,7 +24,7 @@ const o = p({
|
|
|
24
24
|
})), s[r];
|
|
25
25
|
}, _ = async () => {
|
|
26
26
|
if (typeof window > "u" || document.getElementById("drawer-container")) return;
|
|
27
|
-
d || (d = (await import("../components/templates/McDrawer/McDrawerContainer.vue.js")).default);
|
|
27
|
+
d || (d = (await import("../components/templates/McDrawer/McDrawerContainer/McDrawerContainer.vue.js")).default);
|
|
28
28
|
const e = document.createElement("div");
|
|
29
29
|
e.id = "drawer-container", document.body.appendChild(e);
|
|
30
30
|
const r = E(d, {
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getStoredAppContext as
|
|
1
|
+
import { defineAsyncComponent as u, reactive as f, shallowRef as v, inject as h, markRaw as S, h as O, render as g } from "vue";
|
|
2
|
+
import { getStoredAppContext as p } from "../storedAppContext.js";
|
|
3
3
|
import { useHelper as y } from "./useHelper2.js";
|
|
4
|
-
|
|
5
|
-
import '../assets/components/templates/McModal/McModalContainer.css';/* empty css */
|
|
6
|
-
const i = y(), d = {}, a = u({
|
|
4
|
+
const E = u(() => import("../components/templates/McModal/McModalContainer/McModalContainer.vue.js")), i = y(), d = {}, a = f({
|
|
7
5
|
isOpen: !1,
|
|
8
6
|
activeModal: null,
|
|
9
7
|
closeServiceState: () => {
|
|
10
8
|
a.isOpen = !1, e.modals = [];
|
|
11
9
|
}
|
|
12
|
-
}),
|
|
10
|
+
}), C = v({}), e = f({ modals: [] }), w = { name: "McModalAsyncError", render: () => null }, A = (o) => {
|
|
13
11
|
if (!o) return o;
|
|
14
12
|
const t = o.toString();
|
|
15
13
|
if (d[t]) return d[t];
|
|
16
14
|
let l = o;
|
|
17
|
-
return typeof o == "function" && (l =
|
|
15
|
+
return typeof o == "function" && (l = u({
|
|
18
16
|
loader: () => {
|
|
19
17
|
const n = o();
|
|
20
18
|
return n != null && typeof n.then == "function" ? n : Promise.resolve(n);
|
|
@@ -34,11 +32,11 @@ const i = y(), d = {}, a = u({
|
|
|
34
32
|
modalServiceState: a,
|
|
35
33
|
reactiveProps: e
|
|
36
34
|
});
|
|
37
|
-
t.appContext =
|
|
35
|
+
t.appContext = p(), g(t, o);
|
|
38
36
|
}, R = () => {
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
const l =
|
|
37
|
+
p() && x();
|
|
38
|
+
}, L = (o, t = {}) => {
|
|
39
|
+
const l = C.value[o];
|
|
42
40
|
if (!l)
|
|
43
41
|
return console.warn(`Modal ${o} not registered`);
|
|
44
42
|
R();
|
|
@@ -47,8 +45,8 @@ const i = y(), d = {}, a = u({
|
|
|
47
45
|
n.modelValue = !0, a.activeModal = n;
|
|
48
46
|
return;
|
|
49
47
|
}
|
|
50
|
-
const
|
|
51
|
-
component:
|
|
48
|
+
const M = S(A(l)), c = o, m = {
|
|
49
|
+
component: M,
|
|
52
50
|
componentName: o,
|
|
53
51
|
componentProps: t,
|
|
54
52
|
modelValue: !0,
|
|
@@ -61,19 +59,19 @@ const i = y(), d = {}, a = u({
|
|
|
61
59
|
}
|
|
62
60
|
};
|
|
63
61
|
e.modals.push(m), a.isOpen = !0, a.activeModal = m;
|
|
64
|
-
},
|
|
62
|
+
}, V = (o) => {
|
|
65
63
|
(i.findLastSafe(e.modals, (l) => l.componentName === o) || e.modals[e.modals.length - 1])?.close();
|
|
66
|
-
},
|
|
64
|
+
}, P = () => {
|
|
67
65
|
e.modals.forEach((o) => o.close());
|
|
68
66
|
};
|
|
69
|
-
function
|
|
70
|
-
const o =
|
|
71
|
-
return o.modalComponents && (
|
|
72
|
-
showModal:
|
|
73
|
-
closeModal:
|
|
74
|
-
closeAllModals:
|
|
67
|
+
function j() {
|
|
68
|
+
const o = h("dsOptions", {});
|
|
69
|
+
return o.modalComponents && (C.value = o.modalComponents), {
|
|
70
|
+
showModal: L,
|
|
71
|
+
closeModal: V,
|
|
72
|
+
closeAllModals: P
|
|
75
73
|
};
|
|
76
74
|
}
|
|
77
75
|
export {
|
|
78
|
-
|
|
76
|
+
j as useModal
|
|
79
77
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IDrawerServiceState, IDrawerState } from '
|
|
2
|
+
import { IDrawerServiceState, IDrawerState } from '../../../../types/IDrawer';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
drawerServiceState: {
|
|
5
5
|
type: PropType<IDrawerServiceState>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const McDrawerContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
drawerServiceState: {
|
|
3
|
+
type: import('vue').PropType<import('../../../../types/IDrawer').IDrawerServiceState>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
drawersCascadeIndent: {
|
|
7
|
+
type: import('vue').PropType<number>;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
drawersMaxInCascade: {
|
|
11
|
+
type: import('vue').PropType<number>;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
reactiveProps: {
|
|
15
|
+
type: () => {
|
|
16
|
+
drawers: import('../../../../types/IDrawer').IDrawerState[];
|
|
17
|
+
};
|
|
18
|
+
default: () => {};
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
drawerServiceState: {
|
|
22
|
+
type: import('vue').PropType<import('../../../../types/IDrawer').IDrawerServiceState>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
25
|
+
drawersCascadeIndent: {
|
|
26
|
+
type: import('vue').PropType<number>;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
drawersMaxInCascade: {
|
|
30
|
+
type: import('vue').PropType<number>;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
reactiveProps: {
|
|
34
|
+
type: () => {
|
|
35
|
+
drawers: import('../../../../types/IDrawer').IDrawerState[];
|
|
36
|
+
};
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
drawerServiceState: import('../../../../types/IDrawer').IDrawerServiceState;
|
|
41
|
+
drawersCascadeIndent: number;
|
|
42
|
+
drawersMaxInCascade: number;
|
|
43
|
+
reactiveProps: {
|
|
44
|
+
drawers: import('../../../../types/IDrawer').IDrawerState[];
|
|
45
|
+
};
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
47
|
+
export { McDrawerContainer };
|
|
48
|
+
export default McDrawerContainer;
|
|
@@ -167,51 +167,4 @@ declare const McDrawer: {
|
|
|
167
167
|
};
|
|
168
168
|
});
|
|
169
169
|
export { McDrawer };
|
|
170
|
-
declare const McDrawerContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
171
|
-
drawerServiceState: {
|
|
172
|
-
type: import('vue').PropType<import('../../../types/IDrawer').IDrawerServiceState>;
|
|
173
|
-
default: () => {};
|
|
174
|
-
};
|
|
175
|
-
drawersCascadeIndent: {
|
|
176
|
-
type: import('vue').PropType<number>;
|
|
177
|
-
default: number;
|
|
178
|
-
};
|
|
179
|
-
drawersMaxInCascade: {
|
|
180
|
-
type: import('vue').PropType<number>;
|
|
181
|
-
default: number;
|
|
182
|
-
};
|
|
183
|
-
reactiveProps: {
|
|
184
|
-
type: () => {
|
|
185
|
-
drawers: import('../../../types/IDrawer').IDrawerState[];
|
|
186
|
-
};
|
|
187
|
-
default: () => {};
|
|
188
|
-
};
|
|
189
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
190
|
-
drawerServiceState: {
|
|
191
|
-
type: import('vue').PropType<import('../../../types/IDrawer').IDrawerServiceState>;
|
|
192
|
-
default: () => {};
|
|
193
|
-
};
|
|
194
|
-
drawersCascadeIndent: {
|
|
195
|
-
type: import('vue').PropType<number>;
|
|
196
|
-
default: number;
|
|
197
|
-
};
|
|
198
|
-
drawersMaxInCascade: {
|
|
199
|
-
type: import('vue').PropType<number>;
|
|
200
|
-
default: number;
|
|
201
|
-
};
|
|
202
|
-
reactiveProps: {
|
|
203
|
-
type: () => {
|
|
204
|
-
drawers: import('../../../types/IDrawer').IDrawerState[];
|
|
205
|
-
};
|
|
206
|
-
default: () => {};
|
|
207
|
-
};
|
|
208
|
-
}>> & Readonly<{}>, {
|
|
209
|
-
drawerServiceState: import('../../../types/IDrawer').IDrawerServiceState;
|
|
210
|
-
drawersCascadeIndent: number;
|
|
211
|
-
drawersMaxInCascade: number;
|
|
212
|
-
reactiveProps: {
|
|
213
|
-
drawers: import('../../../types/IDrawer').IDrawerState[];
|
|
214
|
-
};
|
|
215
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
216
|
-
export { McDrawerContainer };
|
|
217
170
|
export default McDrawer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IModalServiceState, IModalState } from '
|
|
2
|
+
import { IModalServiceState, IModalState } from '../../../../types/IModal';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modalServiceState: {
|
|
5
5
|
type: PropType<IModalServiceState>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const McModalContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modalServiceState: {
|
|
3
|
+
type: import('vue').PropType<import('../../../../types/IModal').IModalServiceState>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
reactiveProps: {
|
|
7
|
+
type: () => {
|
|
8
|
+
modals: import('../../../../types/IModal').IModalState[];
|
|
9
|
+
};
|
|
10
|
+
default: () => {
|
|
11
|
+
modals: import('../../../../types/IModal').IModalState[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
modalServiceState: {
|
|
16
|
+
type: import('vue').PropType<import('../../../../types/IModal').IModalServiceState>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
reactiveProps: {
|
|
20
|
+
type: () => {
|
|
21
|
+
modals: import('../../../../types/IModal').IModalState[];
|
|
22
|
+
};
|
|
23
|
+
default: () => {
|
|
24
|
+
modals: import('../../../../types/IModal').IModalState[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
reactiveProps: {
|
|
29
|
+
modals: import('../../../../types/IModal').IModalState[];
|
|
30
|
+
};
|
|
31
|
+
modalServiceState: import('../../../../types/IModal').IModalServiceState;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
|
+
export { McModalContainer };
|
|
34
|
+
export default McModalContainer;
|
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
declare const McModalContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
modalServiceState: {
|
|
3
|
-
type: import('vue').PropType<import('../../../types/IModal').IModalServiceState>;
|
|
4
|
-
default: () => {};
|
|
5
|
-
};
|
|
6
|
-
reactiveProps: {
|
|
7
|
-
type: () => {
|
|
8
|
-
modals: import('../../../types/IModal').IModalState[];
|
|
9
|
-
};
|
|
10
|
-
default: () => {
|
|
11
|
-
modals: import('../../../types/IModal').IModalState[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
modalServiceState: {
|
|
16
|
-
type: import('vue').PropType<import('../../../types/IModal').IModalServiceState>;
|
|
17
|
-
default: () => {};
|
|
18
|
-
};
|
|
19
|
-
reactiveProps: {
|
|
20
|
-
type: () => {
|
|
21
|
-
modals: import('../../../types/IModal').IModalState[];
|
|
22
|
-
};
|
|
23
|
-
default: () => {
|
|
24
|
-
modals: import('../../../types/IModal').IModalState[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}>> & Readonly<{}>, {
|
|
28
|
-
reactiveProps: {
|
|
29
|
-
modals: import('../../../types/IModal').IModalState[];
|
|
30
|
-
};
|
|
31
|
-
modalServiceState: import('../../../types/IModal').IModalServiceState;
|
|
32
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
|
-
export { McModalContainer };
|
|
34
1
|
declare const McModal: {
|
|
35
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
36
3
|
modelValue: {
|
|
@@ -314,4 +281,4 @@ declare const McModal: {
|
|
|
314
281
|
};
|
|
315
282
|
});
|
|
316
283
|
export { McModal };
|
|
317
|
-
export default
|
|
284
|
+
export default McModal;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";.mc-drawer[data-v-ddef1a64]{position:absolute;top:0;bottom:0;background:#fff;height:100%;box-shadow:0 4px 12px #00000029;display:flex;flex-direction:column;overflow:hidden;z-index:2;pointer-events:all}.mc-drawer__overlay[data-v-ddef1a64]{position:absolute;inset:0;background:#00000026;display:flex;justify-content:flex-start;pointer-events:all}.mc-drawer__overlay--hidden[data-v-ddef1a64]{background:transparent;pointer-events:none}.mc-drawer__wrapper[data-v-ddef1a64]{position:absolute;inset:0;z-index:1;overflow:hidden}.mc-drawer__wrapper--hidden[data-v-ddef1a64]{background:transparent;pointer-events:none}.mc-drawer__btn-close[data-v-ddef1a64]{z-index:1;padding:.5rem!important}.mc-drawer__btn-close[data-v-ddef1a64]{color:#8f99a3}.mc-drawer__btn-close[data-v-ddef1a64]:hover,.mc-drawer__btn-close[data-v-ddef1a64]:focus{color:#202427}.mc-drawer__btn-close[data-v-ddef1a64]:active{color:#32393d}.mc-drawer__btn-close[data-v-ddef1a64]{position:absolute;top:.5rem;inset-inline-end:.5rem}.mc-drawer__btn-close[data-v-ddef1a64]{box-sizing:border-box;display:block;margin:0;padding:0;white-space:nowrap;vertical-align:middle;user-select:none;text-align:center;text-decoration:none;text-transform:none;border-radius:0;border:none;background-color:transparent;background-image:none;cursor:pointer;outline:0;font-size:0;line-height:0;font-family:inherit;-webkit-appearance:none;-webkit-text-fill-color:currentColor}.mc-drawer__btn-close[data-v-ddef1a64]:focus{outline:0}.mc-drawer__icon-close[data-v-ddef1a64]{height:1.5rem;width:1.5rem}.mc-drawer__icon-close--small[data-v-ddef1a64]{display:none}@media (max-width: 767px){.mc-drawer .mc-drawer__icon-close[data-v-ddef1a64]{display:none}.mc-drawer .mc-drawer__icon-close--small[data-v-ddef1a64]{display:block}}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|