md-components-mdigial-azamat 0.0.24 → 0.0.26
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/AllComponents.js +1 -1
- package/dist/Banner/Banner.js +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/BannerAndText/index.js +1 -1
- package/dist/CardIconList/CardIconList.js +1 -1
- package/dist/CardIconList/index.js +1 -1
- package/dist/CardImageList/CardImageList.js +1 -1
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +1 -1
- package/dist/CardImageSecondary/index.js +1 -1
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +1 -1
- package/dist/Cards/ContentCard/ContentCard.js +1 -1
- package/dist/Cards/ContentCard/index.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +1 -1
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/ContentCardList/ContentCardList.js +1 -1
- package/dist/ContentCardList/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/index.js +1 -1
- package/dist/Faq/Faq.js +1 -1
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/Faq/index.js +1 -1
- package/dist/InfoBanner/index.js +1 -1
- package/dist/InfoBannerList/InfoBannerList.js +1 -1
- package/dist/InfoBannerList/index.js +1 -1
- package/dist/InstructionList/InstructionList.js +1 -1
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +1 -1
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MainBanner/index.js +1 -1
- package/dist/MultiCards/index.js +1 -1
- package/dist/PageViewer/PageViewer.js +1 -1
- package/dist/PageViewer/renderComponents.js +6 -6
- package/dist/PreviewList/PreviewList.js +1 -1
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +1 -1
- package/dist/PreviewList/components/PreviewCard/index.js +1 -1
- package/dist/PreviewList/index.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +3 -3
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/Space/Space.js +15 -12
- package/dist/StandartTable/components/CardWarning/index.js +1 -1
- package/dist/StandartTable/index.js +1 -1
- package/dist/Stepper/Stepper.js +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/Types/FiledTypes.js +16 -2
- package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
- package/dist/VideoMainBanner/index.js +1 -1
- package/dist/{componentsMap-189b0c59.js → componentsMap-5e677eaa.js} +1 -1
- package/dist/{index-7e2966f2.js → index-f6bbda32.js} +242 -242
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import "./ConfigProvider/index.js";
|
|
3
3
|
import { FieldTypes as b } from "./Types/FiledTypes.js";
|
|
4
4
|
import * as pt from "react";
|
|
5
|
-
import W, { forwardRef as Ct, useState as
|
|
5
|
+
import W, { forwardRef as Ct, useState as _i } from "react";
|
|
6
6
|
import { c as y, a as X } from "./cn-d8c04b28.js";
|
|
7
7
|
import { C as V } from "./ComponentContainer-0fcc2695.js";
|
|
8
8
|
import { I as $ } from "./index-60dfa873.js";
|
|
9
|
-
import { Segments as
|
|
9
|
+
import { Segments as ki } from "./Segments/Segments.js";
|
|
10
10
|
import { VideoFull as yi } from "./Video/VideoFull/VideoFull.js";
|
|
11
11
|
import { VideoList as wi } from "./Video/VideoList/VideoList.js";
|
|
12
12
|
import { VideoListMini as vi } from "./Video/VideoListMini/VideoListMini.js";
|
|
@@ -27,7 +27,7 @@ import { PromoPoster as Si } from "./PromoPoster/PromoPoster.js";
|
|
|
27
27
|
import { Space as Ei } from "./Space/Space.js";
|
|
28
28
|
import { CardMarkedRow as Ii } from "./StandartTable/components/CardMarkedRow/index.js";
|
|
29
29
|
import { SwiperList as Vi } from "./SwiperList/SwiperList.js";
|
|
30
|
-
import { TasksBannerList as
|
|
30
|
+
import { TasksBannerList as Mi } from "./TasksBannerList/TasksBannerList.js";
|
|
31
31
|
var Y = /* @__PURE__ */ ((e) => (e.S = "s", e.M = "m", e.L = "l", e.XL = "xl", e))(Y || {}), B = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.SecondaryBlue = "secondaryBlue", e.Grey = "grey", e.Static = "static", e.Brand = "brand", e))(B || {});
|
|
32
32
|
const Ne = {
|
|
33
33
|
type: "button",
|
|
@@ -62,7 +62,7 @@ const Ne = {
|
|
|
62
62
|
[Y.M]: "px-[12px] py-[8px] rounded-[12px] text-[14px] h-[36px]",
|
|
63
63
|
[Y.L]: "px-[16px] py-[10px] rounded-[16px] text-[16px] h-[44px]",
|
|
64
64
|
[Y.XL]: "px-[20px] py-[16px] rounded-[16px] text-[16px] h-[56px]"
|
|
65
|
-
},
|
|
65
|
+
}, _ = {
|
|
66
66
|
[B.Primary]: "bg-yellowLight hover:bg-yellowSaturated disabled:bg-yellowLight2 disabled:cursor-not-allowed",
|
|
67
67
|
[B.Secondary]: "bg-lightBlue hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
|
|
68
68
|
[B.SecondaryBlue]: "bg-lightBlue text-blue hover:bg-grayBlue disabled:bg-white disabled:text-lightBlue5 disabled:cursor-not-allowed",
|
|
@@ -76,7 +76,7 @@ const Ne = {
|
|
|
76
76
|
className: y(
|
|
77
77
|
"flex items-center justify-center gap-2 border-none font-i font-medium cursor-pointer w-fit ",
|
|
78
78
|
F[t],
|
|
79
|
-
|
|
79
|
+
_[i],
|
|
80
80
|
d
|
|
81
81
|
),
|
|
82
82
|
ref: L,
|
|
@@ -91,7 +91,7 @@ const Ne = {
|
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
I.displayName = "AppButton";
|
|
94
|
-
const
|
|
94
|
+
const Ai = {
|
|
95
95
|
type: "qr",
|
|
96
96
|
label: "QR Блок",
|
|
97
97
|
dataType: "object",
|
|
@@ -104,14 +104,14 @@ const Mi = {
|
|
|
104
104
|
button: Ne
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
},
|
|
107
|
+
}, Pi = [
|
|
108
108
|
"bg_image",
|
|
109
109
|
"image",
|
|
110
110
|
"title",
|
|
111
111
|
"text_color",
|
|
112
112
|
"description",
|
|
113
113
|
Lt,
|
|
114
|
-
|
|
114
|
+
Ai
|
|
115
115
|
], Dt = ({
|
|
116
116
|
bg_image: e,
|
|
117
117
|
image: t,
|
|
@@ -154,23 +154,23 @@ const Mi = {
|
|
|
154
154
|
children: n
|
|
155
155
|
}
|
|
156
156
|
),
|
|
157
|
-
!!s && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: s == null ? void 0 : s.map((
|
|
157
|
+
!!s && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: s == null ? void 0 : s.map((_, k) => /* @__PURE__ */ r(
|
|
158
158
|
"a",
|
|
159
159
|
{
|
|
160
|
-
href: (
|
|
160
|
+
href: (_ == null ? void 0 : _.link) || "#",
|
|
161
161
|
className: y("w-fit z-10 max-tablet:w-full"),
|
|
162
162
|
target: "_blank",
|
|
163
163
|
rel: "noopener noreferrer",
|
|
164
164
|
children: /* @__PURE__ */ r(
|
|
165
165
|
I,
|
|
166
166
|
{
|
|
167
|
-
variant:
|
|
167
|
+
variant: _.variant,
|
|
168
168
|
className: "w-[200px] max-tablet:w-full",
|
|
169
|
-
title:
|
|
169
|
+
title: _ == null ? void 0 : _.title
|
|
170
170
|
}
|
|
171
171
|
)
|
|
172
172
|
},
|
|
173
|
-
|
|
173
|
+
k
|
|
174
174
|
)) }),
|
|
175
175
|
!!d && (p ? /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ r(
|
|
176
176
|
"a",
|
|
@@ -233,7 +233,7 @@ const Mi = {
|
|
|
233
233
|
}
|
|
234
234
|
) });
|
|
235
235
|
};
|
|
236
|
-
Dt.propsToEdit =
|
|
236
|
+
Dt.propsToEdit = Pi;
|
|
237
237
|
const Oi = {
|
|
238
238
|
type: "banner_card",
|
|
239
239
|
label: "Баннер карточка",
|
|
@@ -616,7 +616,7 @@ const ta = [
|
|
|
616
616
|
"logo",
|
|
617
617
|
"grid",
|
|
618
618
|
Lt
|
|
619
|
-
],
|
|
619
|
+
], Mt = ({
|
|
620
620
|
title: e,
|
|
621
621
|
description: t,
|
|
622
622
|
buttons: i,
|
|
@@ -684,12 +684,12 @@ const ta = [
|
|
|
684
684
|
)
|
|
685
685
|
] });
|
|
686
686
|
};
|
|
687
|
-
|
|
687
|
+
Mt.propsToEdit = ta;
|
|
688
688
|
var Ce = (e) => e.type === "checkbox", be = (e) => e instanceof Date, U = (e) => e == null;
|
|
689
|
-
const
|
|
690
|
-
var
|
|
689
|
+
const At = (e) => typeof e == "object";
|
|
690
|
+
var P = (e) => !U(e) && !Array.isArray(e) && At(e) && !be(e), ia = (e) => P(e) && e.target ? Ce(e.target) ? e.target.checked : e.target.value : e, aa = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, la = (e, t) => e.has(aa(t)), ra = (e) => {
|
|
691
691
|
const t = e.constructor && e.constructor.prototype;
|
|
692
|
-
return
|
|
692
|
+
return P(t) && t.hasOwnProperty("isPrototypeOf");
|
|
693
693
|
}, We = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
694
694
|
function j(e) {
|
|
695
695
|
let t;
|
|
@@ -698,7 +698,7 @@ function j(e) {
|
|
|
698
698
|
t = new Date(e);
|
|
699
699
|
else if (e instanceof Set)
|
|
700
700
|
t = new Set(e);
|
|
701
|
-
else if (!(We && (e instanceof Blob || a)) && (i ||
|
|
701
|
+
else if (!(We && (e instanceof Blob || a)) && (i || P(e)))
|
|
702
702
|
if (t = i ? [] : {}, !i && !ra(e))
|
|
703
703
|
t = e;
|
|
704
704
|
else
|
|
@@ -708,20 +708,20 @@ function j(e) {
|
|
|
708
708
|
return e;
|
|
709
709
|
return t;
|
|
710
710
|
}
|
|
711
|
-
var
|
|
712
|
-
if (!t || !
|
|
711
|
+
var Ae = (e) => /^\w*$/.test(e), O = (e) => e === void 0, Qe = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Je = (e) => Qe(e.replace(/["|']|\]/g, "").split(/\.|\[/)), f = (e, t, i) => {
|
|
712
|
+
if (!t || !P(e))
|
|
713
713
|
return i;
|
|
714
|
-
const a = (
|
|
714
|
+
const a = (Ae(t) ? [t] : Je(t)).reduce((n, s) => U(n) ? n : n[s], e);
|
|
715
715
|
return O(a) || a === e ? O(e[t]) ? i : e[t] : a;
|
|
716
716
|
}, le = (e) => typeof e == "boolean", E = (e, t, i) => {
|
|
717
717
|
let a = -1;
|
|
718
|
-
const n =
|
|
718
|
+
const n = Ae(t) ? [t] : Je(t), s = n.length, d = s - 1;
|
|
719
719
|
for (; ++a < s; ) {
|
|
720
720
|
const p = n[a];
|
|
721
721
|
let v = i;
|
|
722
722
|
if (a !== d) {
|
|
723
723
|
const L = e[p];
|
|
724
|
-
v =
|
|
724
|
+
v = P(L) || Array.isArray(L) ? L : isNaN(+n[a + 1]) ? {} : [];
|
|
725
725
|
}
|
|
726
726
|
if (p === "__proto__" || p === "constructor" || p === "prototype")
|
|
727
727
|
return;
|
|
@@ -746,11 +746,11 @@ const ut = {
|
|
|
746
746
|
pattern: "pattern",
|
|
747
747
|
required: "required",
|
|
748
748
|
validate: "validate"
|
|
749
|
-
},
|
|
750
|
-
|
|
749
|
+
}, Pt = W.createContext(null);
|
|
750
|
+
Pt.displayName = "HookFormContext";
|
|
751
751
|
const na = (e) => {
|
|
752
752
|
const { children: t, ...i } = e;
|
|
753
|
-
return W.createElement(
|
|
753
|
+
return W.createElement(Pt.Provider, { value: i }, t);
|
|
754
754
|
};
|
|
755
755
|
var sa = (e, t, i, a = !0) => {
|
|
756
756
|
const n = {
|
|
@@ -791,7 +791,7 @@ var re = (e) => typeof e == "string", ca = (e, t, i, a, n) => re(e) ? (a && t.wa
|
|
|
791
791
|
e = [];
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
|
-
}, Ge = (e) => U(e) || !
|
|
794
|
+
}, Ge = (e) => U(e) || !At(e);
|
|
795
795
|
function ue(e, t) {
|
|
796
796
|
if (Ge(e) || Ge(t))
|
|
797
797
|
return e === t;
|
|
@@ -806,13 +806,13 @@ function ue(e, t) {
|
|
|
806
806
|
return !1;
|
|
807
807
|
if (n !== "ref") {
|
|
808
808
|
const d = t[n];
|
|
809
|
-
if (be(s) && be(d) ||
|
|
809
|
+
if (be(s) && be(d) || P(s) && P(d) || Array.isArray(s) && Array.isArray(d) ? !ue(s, d) : s !== d)
|
|
810
810
|
return !1;
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
813
|
return !0;
|
|
814
814
|
}
|
|
815
|
-
var Z = (e) =>
|
|
815
|
+
var Z = (e) => P(e) && !Object.keys(e).length, Xe = (e) => e.type === "file", ee = (e) => typeof e == "function", Ie = (e) => {
|
|
816
816
|
if (!We)
|
|
817
817
|
return !1;
|
|
818
818
|
const t = e ? e.ownerDocument : 0;
|
|
@@ -832,8 +832,8 @@ function ua(e) {
|
|
|
832
832
|
return !0;
|
|
833
833
|
}
|
|
834
834
|
function q(e, t) {
|
|
835
|
-
const i = Array.isArray(t) ? t :
|
|
836
|
-
return a && delete a[s], n !== 0 && (
|
|
835
|
+
const i = Array.isArray(t) ? t : Ae(t) ? [t] : Je(t), a = i.length === 1 ? e : ma(e, i), n = i.length - 1, s = i[n];
|
|
836
|
+
return a && delete a[s], n !== 0 && (P(a) && Z(a) || Array.isArray(a) && ua(a)) && q(e, i.slice(0, -1)), e;
|
|
837
837
|
}
|
|
838
838
|
var Rt = (e) => {
|
|
839
839
|
for (const t in e)
|
|
@@ -843,19 +843,19 @@ var Rt = (e) => {
|
|
|
843
843
|
};
|
|
844
844
|
function Ve(e, t = {}) {
|
|
845
845
|
const i = Array.isArray(e);
|
|
846
|
-
if (
|
|
846
|
+
if (P(e) || i)
|
|
847
847
|
for (const a in e)
|
|
848
|
-
Array.isArray(e[a]) ||
|
|
848
|
+
Array.isArray(e[a]) || P(e[a]) && !Rt(e[a]) ? (t[a] = Array.isArray(e[a]) ? [] : {}, Ve(e[a], t[a])) : U(e[a]) || (t[a] = !0);
|
|
849
849
|
return t;
|
|
850
850
|
}
|
|
851
851
|
function qt(e, t, i) {
|
|
852
852
|
const a = Array.isArray(e);
|
|
853
|
-
if (
|
|
853
|
+
if (P(e) || a)
|
|
854
854
|
for (const n in e)
|
|
855
|
-
Array.isArray(e[n]) ||
|
|
855
|
+
Array.isArray(e[n]) || P(e[n]) && !Rt(e[n]) ? O(t) || Ge(i[n]) ? i[n] = Array.isArray(e[n]) ? Ve(e[n], []) : { ...Ve(e[n]) } : qt(e[n], U(t) ? {} : t[n], i[n]) : i[n] = !ue(e[n], t[n]);
|
|
856
856
|
return i;
|
|
857
857
|
}
|
|
858
|
-
var
|
|
858
|
+
var ke = (e, t) => qt(e, t, Ve(t));
|
|
859
859
|
const xt = {
|
|
860
860
|
value: !1,
|
|
861
861
|
isValid: !1
|
|
@@ -897,15 +897,15 @@ var ga = (e, t, i, a) => {
|
|
|
897
897
|
fields: n,
|
|
898
898
|
shouldUseNativeValidation: a
|
|
899
899
|
};
|
|
900
|
-
},
|
|
900
|
+
}, Me = (e) => e instanceof RegExp, ye = (e) => O(e) ? e : Me(e) ? e.source : P(e) ? Me(e.value) ? e.value.source : e.value : e, _t = (e) => ({
|
|
901
901
|
isOnSubmit: !e || e === K.onSubmit,
|
|
902
902
|
isOnBlur: e === K.onBlur,
|
|
903
903
|
isOnChange: e === K.onChange,
|
|
904
904
|
isOnAll: e === K.all,
|
|
905
905
|
isOnTouch: e === K.onTouched
|
|
906
906
|
});
|
|
907
|
-
const
|
|
908
|
-
var xa = (e) => !!e && !!e.validate && !!(ee(e.validate) && e.validate.constructor.name ===
|
|
907
|
+
const kt = "AsyncFunction";
|
|
908
|
+
var xa = (e) => !!e && !!e.validate && !!(ee(e.validate) && e.validate.constructor.name === kt || P(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === kt)), ba = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), yt = (e, t, i) => !i && (t.watchAll || t.watch.has(e) || [...t.watch].some((a) => e.startsWith(a) && /^\.\w+/.test(e.slice(a.length))));
|
|
909
909
|
const ve = (e, t, i, a) => {
|
|
910
910
|
for (const n of i || Object.keys(e)) {
|
|
911
911
|
const s = f(e, n);
|
|
@@ -918,14 +918,14 @@ const ve = (e, t, i, a) => {
|
|
|
918
918
|
return !0;
|
|
919
919
|
if (ve(p, t))
|
|
920
920
|
break;
|
|
921
|
-
} else if (
|
|
921
|
+
} else if (P(p) && ve(p, t))
|
|
922
922
|
break;
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
925
|
};
|
|
926
926
|
function wt(e, t, i) {
|
|
927
927
|
const a = f(e, i);
|
|
928
|
-
if (a ||
|
|
928
|
+
if (a || Ae(i))
|
|
929
929
|
return {
|
|
930
930
|
error: a,
|
|
931
931
|
name: i
|
|
@@ -955,7 +955,7 @@ var fa = (e, t, i, a) => {
|
|
|
955
955
|
i(e);
|
|
956
956
|
const { name: n, ...s } = e;
|
|
957
957
|
return Z(s) || Object.keys(s).length >= Object.keys(t).length || Object.keys(s).find((d) => t[d] === (!a || K.all));
|
|
958
|
-
}, ha = (e, t, i) => !e || !t || e === t || we(e).some((a) => a && (i ? a === t : a.startsWith(t) || t.startsWith(a))),
|
|
958
|
+
}, ha = (e, t, i) => !e || !t || e === t || we(e).some((a) => a && (i ? a === t : a.startsWith(t) || t.startsWith(a))), _a = (e, t, i, a, n) => n.isOnAll ? !1 : !i && n.isOnTouch ? !(t || e) : (i ? a.isOnBlur : n.isOnBlur) ? !e : (i ? a.isOnChange : n.isOnChange) ? e : !0, ka = (e, t) => !Qe(f(e, t)).length && q(e, t), ya = (e, t, i) => {
|
|
959
959
|
const a = we(f(e, i));
|
|
960
960
|
return E(a, "root", t[i]), E(e, i, a), e;
|
|
961
961
|
}, Ee = (e) => re(e);
|
|
@@ -967,18 +967,18 @@ function vt(e, t, i = "validate") {
|
|
|
967
967
|
ref: t
|
|
968
968
|
};
|
|
969
969
|
}
|
|
970
|
-
var he = (e) =>
|
|
970
|
+
var he = (e) => P(e) && !Me(e) ? e : {
|
|
971
971
|
value: e,
|
|
972
972
|
message: ""
|
|
973
973
|
}, Ft = async (e, t, i, a, n, s) => {
|
|
974
|
-
const { ref: d, refs: p, required: v, maxLength: L, minLength: F, min:
|
|
975
|
-
if (!
|
|
974
|
+
const { ref: d, refs: p, required: v, maxLength: L, minLength: F, min: _, max: k, pattern: ge, validate: Q, name: M, valueAsNumber: de, mount: Pe } = e._f, C = f(i, M);
|
|
975
|
+
if (!Pe || t.has(M))
|
|
976
976
|
return {};
|
|
977
977
|
const oe = p ? p[0] : d, te = (N) => {
|
|
978
978
|
n && oe.reportValidity && (oe.setCustomValidity(le(N) ? "" : N || ""), oe.reportValidity());
|
|
979
|
-
}, R = {}, Le = Ye(d), pe = Ce(d), Oe = Le || pe, J = (de || Xe(d)) && O(d.value) && O(C) || Ie(d) && d.value === "" || C === "" || Array.isArray(C) && !C.length, xe = da.bind(null,
|
|
980
|
-
const ae = N ? T :
|
|
981
|
-
R[
|
|
979
|
+
}, R = {}, Le = Ye(d), pe = Ce(d), Oe = Le || pe, J = (de || Xe(d)) && O(d.value) && O(C) || Ie(d) && d.value === "" || C === "" || Array.isArray(C) && !C.length, xe = da.bind(null, M, a, R), ie = (N, T, A, H = ce.maxLength, G = ce.minLength) => {
|
|
980
|
+
const ae = N ? T : A;
|
|
981
|
+
R[M] = {
|
|
982
982
|
type: N ? H : G,
|
|
983
983
|
message: ae,
|
|
984
984
|
ref: d,
|
|
@@ -987,7 +987,7 @@ var he = (e) => A(e) && !Pe(e) ? e : {
|
|
|
987
987
|
};
|
|
988
988
|
if (s ? !Array.isArray(C) || !C.length : v && (!Oe && (J || U(C)) || le(C) && !C || pe && !$t(p).isValid || Le && !Ht(p).isValid)) {
|
|
989
989
|
const { value: N, message: T } = Ee(v) ? { value: !!v, message: v } : he(v);
|
|
990
|
-
if (N && (R[
|
|
990
|
+
if (N && (R[M] = {
|
|
991
991
|
type: ce.required,
|
|
992
992
|
message: T,
|
|
993
993
|
ref: oe,
|
|
@@ -995,27 +995,27 @@ var he = (e) => A(e) && !Pe(e) ? e : {
|
|
|
995
995
|
}, !a))
|
|
996
996
|
return te(T), R;
|
|
997
997
|
}
|
|
998
|
-
if (!J && (!U(
|
|
998
|
+
if (!J && (!U(_) || !U(k))) {
|
|
999
999
|
let N, T;
|
|
1000
|
-
const
|
|
1000
|
+
const A = he(k), H = he(_);
|
|
1001
1001
|
if (!U(C) && !isNaN(C)) {
|
|
1002
1002
|
const G = d.valueAsNumber || C && +C;
|
|
1003
|
-
U(
|
|
1003
|
+
U(A.value) || (N = G > A.value), U(H.value) || (T = G < H.value);
|
|
1004
1004
|
} else {
|
|
1005
|
-
const G = d.valueAsDate || new Date(C), ae = (De) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + De),
|
|
1006
|
-
re(
|
|
1005
|
+
const G = d.valueAsDate || new Date(C), ae = (De) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + De), _e = d.type == "time", fe = d.type == "week";
|
|
1006
|
+
re(A.value) && C && (N = _e ? ae(C) > ae(A.value) : fe ? C > A.value : G > new Date(A.value)), re(H.value) && C && (T = _e ? ae(C) < ae(H.value) : fe ? C < H.value : G < new Date(H.value));
|
|
1007
1007
|
}
|
|
1008
|
-
if ((N || T) && (ie(!!N,
|
|
1009
|
-
return te(R[
|
|
1008
|
+
if ((N || T) && (ie(!!N, A.message, H.message, ce.max, ce.min), !a))
|
|
1009
|
+
return te(R[M].message), R;
|
|
1010
1010
|
}
|
|
1011
1011
|
if ((L || F) && !J && (re(C) || s && Array.isArray(C))) {
|
|
1012
|
-
const N = he(L), T = he(F),
|
|
1013
|
-
if ((
|
|
1014
|
-
return te(R[
|
|
1012
|
+
const N = he(L), T = he(F), A = !U(N.value) && C.length > +N.value, H = !U(T.value) && C.length < +T.value;
|
|
1013
|
+
if ((A || H) && (ie(A, N.message, T.message), !a))
|
|
1014
|
+
return te(R[M].message), R;
|
|
1015
1015
|
}
|
|
1016
1016
|
if (ge && !J && re(C)) {
|
|
1017
1017
|
const { value: N, message: T } = he(ge);
|
|
1018
|
-
if (
|
|
1018
|
+
if (Me(N) && !C.match(N) && (R[M] = {
|
|
1019
1019
|
type: ce.pattern,
|
|
1020
1020
|
message: T,
|
|
1021
1021
|
ref: d,
|
|
@@ -1026,23 +1026,23 @@ var he = (e) => A(e) && !Pe(e) ? e : {
|
|
|
1026
1026
|
if (Q) {
|
|
1027
1027
|
if (ee(Q)) {
|
|
1028
1028
|
const N = await Q(C, i), T = vt(N, oe);
|
|
1029
|
-
if (T && (R[
|
|
1029
|
+
if (T && (R[M] = {
|
|
1030
1030
|
...T,
|
|
1031
1031
|
...xe(ce.validate, T.message)
|
|
1032
1032
|
}, !a))
|
|
1033
1033
|
return te(T.message), R;
|
|
1034
|
-
} else if (
|
|
1034
|
+
} else if (P(Q)) {
|
|
1035
1035
|
let N = {};
|
|
1036
1036
|
for (const T in Q) {
|
|
1037
1037
|
if (!Z(N) && !a)
|
|
1038
1038
|
break;
|
|
1039
|
-
const
|
|
1040
|
-
|
|
1041
|
-
...
|
|
1042
|
-
...xe(T,
|
|
1043
|
-
}, te(
|
|
1039
|
+
const A = vt(await Q[T](C, i), oe, T);
|
|
1040
|
+
A && (N = {
|
|
1041
|
+
...A,
|
|
1042
|
+
...xe(T, A.message)
|
|
1043
|
+
}, te(A.message), a && (R[M] = N));
|
|
1044
1044
|
}
|
|
1045
|
-
if (!Z(N) && (R[
|
|
1045
|
+
if (!Z(N) && (R[M] = {
|
|
1046
1046
|
ref: oe,
|
|
1047
1047
|
...N
|
|
1048
1048
|
}, !a))
|
|
@@ -1077,7 +1077,7 @@ function va(e = {}) {
|
|
|
1077
1077
|
disabled: t.disabled || !1
|
|
1078
1078
|
};
|
|
1079
1079
|
const a = {};
|
|
1080
|
-
let n =
|
|
1080
|
+
let n = P(t.defaultValues) || P(t.values) ? j(t.defaultValues || t.values) || {} : {}, s = t.shouldUnregister ? {} : j(n), d = {
|
|
1081
1081
|
action: !1,
|
|
1082
1082
|
mount: !1,
|
|
1083
1083
|
watch: !1
|
|
@@ -1097,29 +1097,29 @@ function va(e = {}) {
|
|
|
1097
1097
|
isValid: !1,
|
|
1098
1098
|
errors: !1
|
|
1099
1099
|
};
|
|
1100
|
-
let
|
|
1100
|
+
let _ = {
|
|
1101
1101
|
...F
|
|
1102
1102
|
};
|
|
1103
|
-
const
|
|
1103
|
+
const k = {
|
|
1104
1104
|
array: gt(),
|
|
1105
1105
|
state: gt()
|
|
1106
1106
|
}, ge = t.criteriaMode === K.all, Q = (l) => (o) => {
|
|
1107
1107
|
clearTimeout(L), L = setTimeout(l, o);
|
|
1108
|
-
},
|
|
1109
|
-
if (!t.disabled && (F.isValid ||
|
|
1108
|
+
}, M = async (l) => {
|
|
1109
|
+
if (!t.disabled && (F.isValid || _.isValid || l)) {
|
|
1110
1110
|
const o = t.resolver ? Z((await pe()).errors) : await J(a, !0);
|
|
1111
|
-
o !== i.isValid &&
|
|
1111
|
+
o !== i.isValid && k.state.next({
|
|
1112
1112
|
isValid: o
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
1115
|
}, de = (l, o) => {
|
|
1116
|
-
!t.disabled && (F.isValidating || F.validatingFields ||
|
|
1116
|
+
!t.disabled && (F.isValidating || F.validatingFields || _.isValidating || _.validatingFields) && ((l || Array.from(p.mount)).forEach((c) => {
|
|
1117
1117
|
c && (o ? E(i.validatingFields, c, o) : q(i.validatingFields, c));
|
|
1118
|
-
}),
|
|
1118
|
+
}), k.state.next({
|
|
1119
1119
|
validatingFields: i.validatingFields,
|
|
1120
1120
|
isValidating: !Z(i.validatingFields)
|
|
1121
1121
|
}));
|
|
1122
|
-
},
|
|
1122
|
+
}, Pe = (l, o = [], c, g, u = !0, m = !0) => {
|
|
1123
1123
|
if (g && c && !t.disabled) {
|
|
1124
1124
|
if (d.action = !0, m && Array.isArray(f(a, l))) {
|
|
1125
1125
|
const h = c(f(a, l), g.argA, g.argB);
|
|
@@ -1127,13 +1127,13 @@ function va(e = {}) {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
if (m && Array.isArray(f(i.errors, l))) {
|
|
1129
1129
|
const h = c(f(i.errors, l), g.argA, g.argB);
|
|
1130
|
-
u && E(i.errors, l, h),
|
|
1130
|
+
u && E(i.errors, l, h), ka(i.errors, l);
|
|
1131
1131
|
}
|
|
1132
|
-
if ((F.touchedFields ||
|
|
1132
|
+
if ((F.touchedFields || _.touchedFields) && m && Array.isArray(f(i.touchedFields, l))) {
|
|
1133
1133
|
const h = c(f(i.touchedFields, l), g.argA, g.argB);
|
|
1134
1134
|
u && E(i.touchedFields, l, h);
|
|
1135
1135
|
}
|
|
1136
|
-
(F.dirtyFields ||
|
|
1136
|
+
(F.dirtyFields || _.dirtyFields) && (i.dirtyFields = ke(n, s)), k.state.next({
|
|
1137
1137
|
name: l,
|
|
1138
1138
|
isDirty: ie(l, o),
|
|
1139
1139
|
dirtyFields: i.dirtyFields,
|
|
@@ -1143,11 +1143,11 @@ function va(e = {}) {
|
|
|
1143
1143
|
} else
|
|
1144
1144
|
E(s, l, o);
|
|
1145
1145
|
}, C = (l, o) => {
|
|
1146
|
-
E(i.errors, l, o),
|
|
1146
|
+
E(i.errors, l, o), k.state.next({
|
|
1147
1147
|
errors: i.errors
|
|
1148
1148
|
});
|
|
1149
1149
|
}, oe = (l) => {
|
|
1150
|
-
i.errors = l,
|
|
1150
|
+
i.errors = l, k.state.next({
|
|
1151
1151
|
errors: i.errors,
|
|
1152
1152
|
isValid: !1
|
|
1153
1153
|
});
|
|
@@ -1155,7 +1155,7 @@ function va(e = {}) {
|
|
|
1155
1155
|
const u = f(a, l);
|
|
1156
1156
|
if (u) {
|
|
1157
1157
|
const m = f(s, l, O(c) ? f(n, l) : c);
|
|
1158
|
-
O(m) || g && g.defaultChecked || o ? E(s, l, o ? m : ht(u._f)) :
|
|
1158
|
+
O(m) || g && g.defaultChecked || o ? E(s, l, o ? m : ht(u._f)) : A(l, m), d.mount && M();
|
|
1159
1159
|
}
|
|
1160
1160
|
}, R = (l, o, c, g, u) => {
|
|
1161
1161
|
let m = !1, h = !1;
|
|
@@ -1164,19 +1164,19 @@ function va(e = {}) {
|
|
|
1164
1164
|
};
|
|
1165
1165
|
if (!t.disabled) {
|
|
1166
1166
|
if (!c || g) {
|
|
1167
|
-
(F.isDirty ||
|
|
1167
|
+
(F.isDirty || _.isDirty) && (h = i.isDirty, i.isDirty = D.isDirty = ie(), m = h !== D.isDirty);
|
|
1168
1168
|
const S = ue(f(n, l), o);
|
|
1169
|
-
h = !!f(i.dirtyFields, l), S ? q(i.dirtyFields, l) : E(i.dirtyFields, l, !0), D.dirtyFields = i.dirtyFields, m = m || (F.dirtyFields ||
|
|
1169
|
+
h = !!f(i.dirtyFields, l), S ? q(i.dirtyFields, l) : E(i.dirtyFields, l, !0), D.dirtyFields = i.dirtyFields, m = m || (F.dirtyFields || _.dirtyFields) && h !== !S;
|
|
1170
1170
|
}
|
|
1171
1171
|
if (c) {
|
|
1172
1172
|
const S = f(i.touchedFields, l);
|
|
1173
|
-
S || (E(i.touchedFields, l, c), D.touchedFields = i.touchedFields, m = m || (F.touchedFields ||
|
|
1173
|
+
S || (E(i.touchedFields, l, c), D.touchedFields = i.touchedFields, m = m || (F.touchedFields || _.touchedFields) && S !== c);
|
|
1174
1174
|
}
|
|
1175
|
-
m && u &&
|
|
1175
|
+
m && u && k.state.next(D);
|
|
1176
1176
|
}
|
|
1177
1177
|
return m ? D : {};
|
|
1178
1178
|
}, Le = (l, o, c, g) => {
|
|
1179
|
-
const u = f(i.errors, l), m = (F.isValid ||
|
|
1179
|
+
const u = f(i.errors, l), m = (F.isValid || _.isValid) && le(o) && i.isValid !== o;
|
|
1180
1180
|
if (t.delayError && c ? (v = Q(() => C(l, c)), v(t.delayError)) : (clearTimeout(L), v = null, c ? E(i.errors, l, c) : q(i.errors, l)), (c ? !ue(u, c) : u) || !Z(g) || m) {
|
|
1181
1181
|
const h = {
|
|
1182
1182
|
...g,
|
|
@@ -1187,7 +1187,7 @@ function va(e = {}) {
|
|
|
1187
1187
|
i = {
|
|
1188
1188
|
...i,
|
|
1189
1189
|
...h
|
|
1190
|
-
},
|
|
1190
|
+
}, k.state.next(h);
|
|
1191
1191
|
}
|
|
1192
1192
|
}, pe = async (l) => {
|
|
1193
1193
|
de(l, !0);
|
|
@@ -1230,14 +1230,14 @@ function va(e = {}) {
|
|
|
1230
1230
|
p.unMount = /* @__PURE__ */ new Set();
|
|
1231
1231
|
}, ie = (l, o) => !t.disabled && (l && o && E(s, l, o), !ue(De(), n)), N = (l, o, c) => ca(l, p, {
|
|
1232
1232
|
...d.mount ? s : O(o) ? n : re(l) ? { [l]: o } : o
|
|
1233
|
-
}, c, o), T = (l) => Qe(f(d.mount ? s : n, l, t.shouldUnregister ? f(n, l, []) : [])),
|
|
1233
|
+
}, c, o), T = (l) => Qe(f(d.mount ? s : n, l, t.shouldUnregister ? f(n, l, []) : [])), A = (l, o, c = {}) => {
|
|
1234
1234
|
const g = f(a, l);
|
|
1235
1235
|
let u = o;
|
|
1236
1236
|
if (g) {
|
|
1237
1237
|
const m = g._f;
|
|
1238
1238
|
m && (!m.disabled && E(s, l, jt(o, m)), u = Ie(m.ref) && U(o) ? "" : o, Ot(m.ref) ? [...m.ref.options].forEach((h) => h.selected = u.includes(h.value)) : m.refs ? Ce(m.ref) ? m.refs.forEach((h) => {
|
|
1239
1239
|
(!h.defaultChecked || !h.disabled) && (Array.isArray(u) ? h.checked = !!u.find((D) => D === h.value) : h.checked = u === h.value || !!u);
|
|
1240
|
-
}) : m.refs.forEach((h) => h.checked = h.value === u) : Xe(m.ref) ? m.ref.value = "" : (m.ref.value = u, m.ref.type ||
|
|
1240
|
+
}) : m.refs.forEach((h) => h.checked = h.value === u) : Xe(m.ref) ? m.ref.value = "" : (m.ref.value = u, m.ref.type || k.state.next({
|
|
1241
1241
|
name: l,
|
|
1242
1242
|
values: j(s)
|
|
1243
1243
|
})));
|
|
@@ -1248,18 +1248,18 @@ function va(e = {}) {
|
|
|
1248
1248
|
if (!o.hasOwnProperty(g))
|
|
1249
1249
|
return;
|
|
1250
1250
|
const u = o[g], m = l + "." + g, h = f(a, m);
|
|
1251
|
-
(p.array.has(l) ||
|
|
1251
|
+
(p.array.has(l) || P(u) || h && !h._f) && !be(u) ? H(m, u, c) : A(m, u, c);
|
|
1252
1252
|
}
|
|
1253
1253
|
}, G = (l, o, c = {}) => {
|
|
1254
1254
|
const g = f(a, l), u = p.array.has(l), m = j(o);
|
|
1255
|
-
E(s, l, m), u ? (
|
|
1255
|
+
E(s, l, m), u ? (k.array.next({
|
|
1256
1256
|
name: l,
|
|
1257
1257
|
values: j(s)
|
|
1258
|
-
}), (F.isDirty || F.dirtyFields ||
|
|
1258
|
+
}), (F.isDirty || F.dirtyFields || _.isDirty || _.dirtyFields) && c.shouldDirty && k.state.next({
|
|
1259
1259
|
name: l,
|
|
1260
|
-
dirtyFields:
|
|
1260
|
+
dirtyFields: ke(n, s),
|
|
1261
1261
|
isDirty: ie(l, m)
|
|
1262
|
-
})) : g && !g._f && !U(m) ? H(l, m, c) :
|
|
1262
|
+
})) : g && !g._f && !U(m) ? H(l, m, c) : A(l, m, c), yt(l, p) && k.state.next({ ...i }), k.state.next({
|
|
1263
1263
|
name: d.mount ? l : void 0,
|
|
1264
1264
|
values: j(s)
|
|
1265
1265
|
});
|
|
@@ -1269,29 +1269,29 @@ function va(e = {}) {
|
|
|
1269
1269
|
let c = o.name, g = !0;
|
|
1270
1270
|
const u = f(a, c), m = (S) => {
|
|
1271
1271
|
g = Number.isNaN(S) || be(S) && isNaN(S.getTime()) || ue(S, f(s, c, S));
|
|
1272
|
-
}, h =
|
|
1272
|
+
}, h = _t(t.mode), D = _t(t.reValidateMode);
|
|
1273
1273
|
if (u) {
|
|
1274
1274
|
let S, z;
|
|
1275
|
-
const Te = o.type ? ht(u._f) : ia(l), me = l.type === ut.BLUR || l.type === ut.FOCUS_OUT, bi = !ba(u._f) && !t.resolver && !f(i.errors, c) && !u._f.deps ||
|
|
1275
|
+
const Te = o.type ? ht(u._f) : ia(l), me = l.type === ut.BLUR || l.type === ut.FOCUS_OUT, bi = !ba(u._f) && !t.resolver && !f(i.errors, c) && !u._f.deps || _a(me, f(i.touchedFields, c), i.isSubmitted, D, h), je = yt(c, p, me);
|
|
1276
1276
|
E(s, c, Te), me ? (u._f.onBlur && u._f.onBlur(l), v && v(0)) : u._f.onChange && u._f.onChange(l);
|
|
1277
1277
|
const He = R(c, Te, me), fi = !Z(He) || je;
|
|
1278
|
-
if (!me &&
|
|
1278
|
+
if (!me && k.state.next({
|
|
1279
1279
|
name: c,
|
|
1280
1280
|
type: l.type,
|
|
1281
1281
|
values: j(s)
|
|
1282
1282
|
}), bi)
|
|
1283
|
-
return (F.isValid ||
|
|
1284
|
-
if (!me && je &&
|
|
1283
|
+
return (F.isValid || _.isValid) && (t.mode === "onBlur" ? me && M() : me || M()), fi && k.state.next({ name: c, ...je ? {} : He });
|
|
1284
|
+
if (!me && je && k.state.next({ ...i }), t.resolver) {
|
|
1285
1285
|
const { errors: ct } = await pe([c]);
|
|
1286
1286
|
if (m(Te), g) {
|
|
1287
1287
|
const hi = wt(i.errors, a, c), dt = wt(ct, a, hi.name || c);
|
|
1288
1288
|
S = dt.error, c = dt.name, z = Z(ct);
|
|
1289
1289
|
}
|
|
1290
1290
|
} else
|
|
1291
|
-
de([c], !0), S = (await Ft(u, p.disabled, s, ge, t.shouldUseNativeValidation))[c], de([c]), m(Te), g && (S ? z = !1 : (F.isValid ||
|
|
1291
|
+
de([c], !0), S = (await Ft(u, p.disabled, s, ge, t.shouldUseNativeValidation))[c], de([c]), m(Te), g && (S ? z = !1 : (F.isValid || _.isValid) && (z = await J(a, !0)));
|
|
1292
1292
|
g && (u._f.deps && fe(u._f.deps), Le(c, z, S, He));
|
|
1293
1293
|
}
|
|
1294
|
-
},
|
|
1294
|
+
}, _e = (l, o) => {
|
|
1295
1295
|
if (f(i.errors, o) && l.focus)
|
|
1296
1296
|
return l.focus(), 1;
|
|
1297
1297
|
}, fe = async (l, o = {}) => {
|
|
@@ -1304,12 +1304,12 @@ function va(e = {}) {
|
|
|
1304
1304
|
l ? (g = (await Promise.all(u.map(async (m) => {
|
|
1305
1305
|
const h = f(a, m);
|
|
1306
1306
|
return await J(h && h._f ? { [m]: h } : h);
|
|
1307
|
-
}))).every(Boolean), !(!g && !i.isValid) &&
|
|
1308
|
-
return
|
|
1309
|
-
...!re(l) || (F.isValid ||
|
|
1307
|
+
}))).every(Boolean), !(!g && !i.isValid) && M()) : g = c = await J(a);
|
|
1308
|
+
return k.state.next({
|
|
1309
|
+
...!re(l) || (F.isValid || _.isValid) && c !== i.isValid ? {} : { name: l },
|
|
1310
1310
|
...t.resolver || !l ? { isValid: c } : {},
|
|
1311
1311
|
errors: i.errors
|
|
1312
|
-
}), o.shouldFocus && !g && ve(a,
|
|
1312
|
+
}), o.shouldFocus && !g && ve(a, _e, l ? u : p.mount), g;
|
|
1313
1313
|
}, De = (l) => {
|
|
1314
1314
|
const o = {
|
|
1315
1315
|
...d.mount ? s : n
|
|
@@ -1322,7 +1322,7 @@ function va(e = {}) {
|
|
|
1322
1322
|
isValidating: !!f(i.validatingFields, l),
|
|
1323
1323
|
isTouched: !!f((o || i).touchedFields, l)
|
|
1324
1324
|
}), ci = (l) => {
|
|
1325
|
-
l && we(l).forEach((o) => q(i.errors, o)),
|
|
1325
|
+
l && we(l).forEach((o) => q(i.errors, o)), k.state.next({
|
|
1326
1326
|
errors: l ? i.errors : {}
|
|
1327
1327
|
});
|
|
1328
1328
|
}, it = (l, o, c) => {
|
|
@@ -1331,14 +1331,14 @@ function va(e = {}) {
|
|
|
1331
1331
|
...S,
|
|
1332
1332
|
...o,
|
|
1333
1333
|
ref: g
|
|
1334
|
-
}),
|
|
1334
|
+
}), k.state.next({
|
|
1335
1335
|
name: l,
|
|
1336
1336
|
errors: i.errors,
|
|
1337
1337
|
isValid: !1
|
|
1338
1338
|
}), c && c.shouldFocus && g && g.focus && g.focus();
|
|
1339
|
-
}, di = (l, o) => ee(l) ?
|
|
1339
|
+
}, di = (l, o) => ee(l) ? k.state.subscribe({
|
|
1340
1340
|
next: (c) => l(N(void 0, o), c)
|
|
1341
|
-
}) : N(l, o, !0), at = (l) =>
|
|
1341
|
+
}) : N(l, o, !0), at = (l) => k.state.subscribe({
|
|
1342
1342
|
next: (o) => {
|
|
1343
1343
|
ha(l.name, o.name, l.exact) && fa(o, l.formState || F, xi, l.reRenderRoot) && l.callback({
|
|
1344
1344
|
values: { ...s },
|
|
@@ -1346,21 +1346,21 @@ function va(e = {}) {
|
|
|
1346
1346
|
...o
|
|
1347
1347
|
});
|
|
1348
1348
|
}
|
|
1349
|
-
}).unsubscribe, pi = (l) => (d.mount = !0,
|
|
1350
|
-
...
|
|
1349
|
+
}).unsubscribe, pi = (l) => (d.mount = !0, _ = {
|
|
1350
|
+
..._,
|
|
1351
1351
|
...l.formState
|
|
1352
1352
|
}, at({
|
|
1353
1353
|
...l,
|
|
1354
|
-
formState:
|
|
1354
|
+
formState: _
|
|
1355
1355
|
})), Re = (l, o = {}) => {
|
|
1356
1356
|
for (const c of l ? we(l) : p.mount)
|
|
1357
1357
|
p.mount.delete(c), p.array.delete(c), o.keepValue || (q(a, c), q(s, c)), !o.keepError && q(i.errors, c), !o.keepDirty && q(i.dirtyFields, c), !o.keepTouched && q(i.touchedFields, c), !o.keepIsValidating && q(i.validatingFields, c), !t.shouldUnregister && !o.keepDefaultValue && q(n, c);
|
|
1358
|
-
|
|
1358
|
+
k.state.next({
|
|
1359
1359
|
values: j(s)
|
|
1360
|
-
}),
|
|
1360
|
+
}), k.state.next({
|
|
1361
1361
|
...i,
|
|
1362
1362
|
...o.keepDirty ? { isDirty: ie() } : {}
|
|
1363
|
-
}), !o.keepIsValid &&
|
|
1363
|
+
}), !o.keepIsValid && M();
|
|
1364
1364
|
}, lt = ({ disabled: l, name: o }) => {
|
|
1365
1365
|
(le(l) && d.mount || l || p.disabled.has(o)) && (l ? p.disabled.add(o) : p.disabled.delete(o));
|
|
1366
1366
|
}, qe = (l, o = {}) => {
|
|
@@ -1413,8 +1413,8 @@ function va(e = {}) {
|
|
|
1413
1413
|
c = f(a, l, {}), c._f && (c._f.mount = !1), (t.shouldUnregister || o.shouldUnregister) && !(la(p.array, l) && d.action) && p.unMount.add(l);
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
|
-
}, $e = () => t.shouldFocusError && ve(a,
|
|
1417
|
-
le(l) && (
|
|
1416
|
+
}, $e = () => t.shouldFocusError && ve(a, _e, p.mount), mi = (l) => {
|
|
1417
|
+
le(l) && (k.state.next({ disabled: l }), ve(a, (o, c) => {
|
|
1418
1418
|
const g = f(a, c);
|
|
1419
1419
|
g && (o.disabled = g._f.disabled || l, Array.isArray(g._f.refs) && g._f.refs.forEach((u) => {
|
|
1420
1420
|
u.disabled = g._f.disabled || l;
|
|
@@ -1424,7 +1424,7 @@ function va(e = {}) {
|
|
|
1424
1424
|
let g;
|
|
1425
1425
|
c && (c.preventDefault && c.preventDefault(), c.persist && c.persist());
|
|
1426
1426
|
let u = j(s);
|
|
1427
|
-
if (
|
|
1427
|
+
if (k.state.next({
|
|
1428
1428
|
isSubmitting: !0
|
|
1429
1429
|
}), t.resolver) {
|
|
1430
1430
|
const { errors: m, values: h } = await pe();
|
|
@@ -1435,7 +1435,7 @@ function va(e = {}) {
|
|
|
1435
1435
|
for (const m of p.disabled)
|
|
1436
1436
|
E(u, m, void 0);
|
|
1437
1437
|
if (q(i.errors, "root"), Z(i.errors)) {
|
|
1438
|
-
|
|
1438
|
+
k.state.next({
|
|
1439
1439
|
errors: {}
|
|
1440
1440
|
});
|
|
1441
1441
|
try {
|
|
@@ -1445,7 +1445,7 @@ function va(e = {}) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
} else
|
|
1447
1447
|
o && await o({ ...i.errors }, c), $e(), setTimeout($e);
|
|
1448
|
-
if (
|
|
1448
|
+
if (k.state.next({
|
|
1449
1449
|
isSubmitted: !0,
|
|
1450
1450
|
isSubmitting: !1,
|
|
1451
1451
|
isSubmitSuccessful: Z(i.errors) && !g,
|
|
@@ -1454,14 +1454,14 @@ function va(e = {}) {
|
|
|
1454
1454
|
}), g)
|
|
1455
1455
|
throw g;
|
|
1456
1456
|
}, ui = (l, o = {}) => {
|
|
1457
|
-
f(a, l) && (O(o.defaultValue) ? G(l, j(f(n, l))) : (G(l, o.defaultValue), E(n, l, j(o.defaultValue))), o.keepTouched || q(i.touchedFields, l), o.keepDirty || (q(i.dirtyFields, l), i.isDirty = o.defaultValue ? ie(l, j(f(n, l))) : ie()), o.keepError || (q(i.errors, l), F.isValid &&
|
|
1457
|
+
f(a, l) && (O(o.defaultValue) ? G(l, j(f(n, l))) : (G(l, o.defaultValue), E(n, l, j(o.defaultValue))), o.keepTouched || q(i.touchedFields, l), o.keepDirty || (q(i.dirtyFields, l), i.isDirty = o.defaultValue ? ie(l, j(f(n, l))) : ie()), o.keepError || (q(i.errors, l), F.isValid && M()), k.state.next({ ...i }));
|
|
1458
1458
|
}, nt = (l, o = {}) => {
|
|
1459
1459
|
const c = l ? j(l) : n, g = j(c), u = Z(l), m = u ? n : g;
|
|
1460
1460
|
if (o.keepDefaultValues || (n = c), !o.keepValues) {
|
|
1461
1461
|
if (o.keepDirtyValues) {
|
|
1462
1462
|
const h = /* @__PURE__ */ new Set([
|
|
1463
1463
|
...p.mount,
|
|
1464
|
-
...Object.keys(
|
|
1464
|
+
...Object.keys(ke(n, s))
|
|
1465
1465
|
]);
|
|
1466
1466
|
for (const D of Array.from(h))
|
|
1467
1467
|
f(i.dirtyFields, D) ? E(m, D, f(s, D)) : G(D, f(m, D));
|
|
@@ -1483,9 +1483,9 @@ function va(e = {}) {
|
|
|
1483
1483
|
for (const h of p.mount)
|
|
1484
1484
|
G(h, f(m, h));
|
|
1485
1485
|
}
|
|
1486
|
-
s = j(m),
|
|
1486
|
+
s = j(m), k.array.next({
|
|
1487
1487
|
values: { ...m }
|
|
1488
|
-
}),
|
|
1488
|
+
}), k.state.next({
|
|
1489
1489
|
values: { ...m }
|
|
1490
1490
|
});
|
|
1491
1491
|
}
|
|
@@ -1497,11 +1497,11 @@ function va(e = {}) {
|
|
|
1497
1497
|
watch: /* @__PURE__ */ new Set(),
|
|
1498
1498
|
watchAll: !1,
|
|
1499
1499
|
focus: ""
|
|
1500
|
-
}, d.mount = !F.isValid || !!o.keepIsValid || !!o.keepDirtyValues, d.watch = !!t.shouldUnregister,
|
|
1500
|
+
}, d.mount = !F.isValid || !!o.keepIsValid || !!o.keepDirtyValues, d.watch = !!t.shouldUnregister, k.state.next({
|
|
1501
1501
|
submitCount: o.keepSubmitCount ? i.submitCount : 0,
|
|
1502
1502
|
isDirty: u ? !1 : o.keepDirty ? i.isDirty : !!(o.keepDefaultValues && !ue(l, n)),
|
|
1503
1503
|
isSubmitted: o.keepIsSubmitted ? i.isSubmitted : !1,
|
|
1504
|
-
dirtyFields: u ? {} : o.keepDirtyValues ? o.keepDefaultValues && s ?
|
|
1504
|
+
dirtyFields: u ? {} : o.keepDirtyValues ? o.keepDefaultValues && s ? ke(n, s) : i.dirtyFields : o.keepDefaultValues && l ? ke(n, l) : o.keepDirty ? i.dirtyFields : {},
|
|
1505
1505
|
touchedFields: o.keepTouched ? i.touchedFields : {},
|
|
1506
1506
|
errors: o.keepErrors ? i.errors : {},
|
|
1507
1507
|
isSubmitSuccessful: o.keepIsSubmitSuccessful ? i.isSubmitSuccessful : !1,
|
|
@@ -1530,20 +1530,20 @@ function va(e = {}) {
|
|
|
1530
1530
|
_focusError: $e,
|
|
1531
1531
|
_getWatch: N,
|
|
1532
1532
|
_getDirty: ie,
|
|
1533
|
-
_setValid:
|
|
1534
|
-
_setFieldArray:
|
|
1533
|
+
_setValid: M,
|
|
1534
|
+
_setFieldArray: Pe,
|
|
1535
1535
|
_setDisabledField: lt,
|
|
1536
1536
|
_setErrors: oe,
|
|
1537
1537
|
_getFieldArray: T,
|
|
1538
1538
|
_reset: nt,
|
|
1539
1539
|
_resetDefaultValues: () => ee(t.defaultValues) && t.defaultValues().then((l) => {
|
|
1540
|
-
st(l, t.resetOptions),
|
|
1540
|
+
st(l, t.resetOptions), k.state.next({
|
|
1541
1541
|
isLoading: !1
|
|
1542
1542
|
});
|
|
1543
1543
|
}),
|
|
1544
1544
|
_removeUnmounted: xe,
|
|
1545
1545
|
_disableForm: mi,
|
|
1546
|
-
_subjects:
|
|
1546
|
+
_subjects: k,
|
|
1547
1547
|
_proxyFormState: F,
|
|
1548
1548
|
get _fields() {
|
|
1549
1549
|
return a;
|
|
@@ -1663,20 +1663,20 @@ function Fa(e = {}) {
|
|
|
1663
1663
|
}), t.current.formState = sa(a, s), t.current;
|
|
1664
1664
|
}
|
|
1665
1665
|
const Na = ({ faqId: e, percent: t }) => {
|
|
1666
|
-
const [i, a] =
|
|
1666
|
+
const [i, a] = _i(!1), n = Fa({
|
|
1667
1667
|
defaultValues: {
|
|
1668
1668
|
faq: e
|
|
1669
1669
|
}
|
|
1670
|
-
}), { handleSubmit: s, setValue: d, getValues: p } = n, v = (
|
|
1670
|
+
}), { handleSubmit: s, setValue: d, getValues: p } = n, v = (_) => {
|
|
1671
1671
|
try {
|
|
1672
|
-
a(!0), console.log("Submitted:",
|
|
1673
|
-
} catch (
|
|
1674
|
-
console.error("Error submitting feedback:",
|
|
1672
|
+
a(!0), console.log("Submitted:", _);
|
|
1673
|
+
} catch (k) {
|
|
1674
|
+
console.error("Error submitting feedback:", k);
|
|
1675
1675
|
} finally {
|
|
1676
1676
|
a(!1);
|
|
1677
1677
|
}
|
|
1678
|
-
}, L = (
|
|
1679
|
-
d("rate",
|
|
1678
|
+
}, L = (_) => {
|
|
1679
|
+
d("rate", _), s(v)();
|
|
1680
1680
|
}, F = p("rate");
|
|
1681
1681
|
return /* @__PURE__ */ r(na, { ...n, children: /* @__PURE__ */ r("form", { children: /* @__PURE__ */ x("div", { className: "mt-6 flex items-center gap-6 max-tablet:flex-col max-tablet:items-start", children: [
|
|
1682
1682
|
/* @__PURE__ */ x("div", { className: "border-l-2 border-green pl-6 mr-14 shrink-0", children: [
|
|
@@ -1961,7 +1961,7 @@ const Sa = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1961
1961
|
}
|
|
1962
1962
|
)
|
|
1963
1963
|
}
|
|
1964
|
-
),
|
|
1964
|
+
), Ma = ({ size: e, ...t }) => /* @__PURE__ */ r(
|
|
1965
1965
|
"svg",
|
|
1966
1966
|
{
|
|
1967
1967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1981,10 +1981,10 @@ const Sa = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1981
1981
|
), Nt = {
|
|
1982
1982
|
infoDark: Va,
|
|
1983
1983
|
infoCrown: Sa,
|
|
1984
|
-
infoLight:
|
|
1984
|
+
infoLight: Ma,
|
|
1985
1985
|
download: Ea,
|
|
1986
1986
|
file: Ia
|
|
1987
|
-
},
|
|
1987
|
+
}, Aa = {
|
|
1988
1988
|
sm: 12,
|
|
1989
1989
|
mx: 16,
|
|
1990
1990
|
lx: 20,
|
|
@@ -1996,11 +1996,11 @@ const Sa = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1996
1996
|
size: i = "sm",
|
|
1997
1997
|
...a
|
|
1998
1998
|
}) => Nt[e] && Nt[e]({
|
|
1999
|
-
size: typeof i == "string" ?
|
|
1999
|
+
size: typeof i == "string" ? Aa[i] : i,
|
|
2000
2000
|
color: t,
|
|
2001
2001
|
name: e,
|
|
2002
2002
|
...a
|
|
2003
|
-
}),
|
|
2003
|
+
}), Pa = ["title", "description", "button_text", "variant"], Wt = ({
|
|
2004
2004
|
title: e,
|
|
2005
2005
|
description: t,
|
|
2006
2006
|
button_text: i,
|
|
@@ -2042,7 +2042,7 @@ const Sa = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
2042
2042
|
] })
|
|
2043
2043
|
}
|
|
2044
2044
|
) });
|
|
2045
|
-
Wt.propsToEdit =
|
|
2045
|
+
Wt.propsToEdit = Pa;
|
|
2046
2046
|
const Oa = ["data"], Qt = ({
|
|
2047
2047
|
id: e,
|
|
2048
2048
|
title: t,
|
|
@@ -2465,7 +2465,7 @@ const Ja = [
|
|
|
2465
2465
|
isDark: L,
|
|
2466
2466
|
linkClassName: F = ""
|
|
2467
2467
|
}) => {
|
|
2468
|
-
const
|
|
2468
|
+
const _ = Fe(960), Q = d === "big" ? _ ? 106 : 343 : _ ? 106 : 64, M = p === B.Brand;
|
|
2469
2469
|
return /* @__PURE__ */ x(
|
|
2470
2470
|
V,
|
|
2471
2471
|
{
|
|
@@ -2516,7 +2516,7 @@ const Ja = [
|
|
|
2516
2516
|
{
|
|
2517
2517
|
name: "download",
|
|
2518
2518
|
size: 20,
|
|
2519
|
-
color:
|
|
2519
|
+
color: M ? ne.white : ne.blackBG
|
|
2520
2520
|
}
|
|
2521
2521
|
)
|
|
2522
2522
|
]
|
|
@@ -2903,7 +2903,7 @@ const nl = {
|
|
|
2903
2903
|
isShadow: v = !1,
|
|
2904
2904
|
grid: L
|
|
2905
2905
|
}) => {
|
|
2906
|
-
const F = (
|
|
2906
|
+
const F = (_, k) => k.length % 2 !== 0 && _ === k.length - 1;
|
|
2907
2907
|
return /* @__PURE__ */ x("div", { children: [
|
|
2908
2908
|
/* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "flex flex-col items-center pt-[40px] max-tablet:pt-[32px]", children: [
|
|
2909
2909
|
n && /* @__PURE__ */ r(
|
|
@@ -2924,15 +2924,15 @@ const nl = {
|
|
|
2924
2924
|
{
|
|
2925
2925
|
className: `grid grid-cols-${L} items-center gap-[16px] mb-[60px]
|
|
2926
2926
|
max-tablet:grid-cols-1 max-tablet:w-full max-tablet:mb-[40px]`,
|
|
2927
|
-
children: p == null ? void 0 : p.map((
|
|
2927
|
+
children: p == null ? void 0 : p.map((_, k) => /* @__PURE__ */ r(
|
|
2928
2928
|
"a",
|
|
2929
2929
|
{
|
|
2930
|
-
href:
|
|
2930
|
+
href: _ == null ? void 0 : _.button_link,
|
|
2931
2931
|
className: y("flex items-center", {
|
|
2932
|
-
[`col-span-${L}`]: F(
|
|
2932
|
+
[`col-span-${L}`]: F(k, p)
|
|
2933
2933
|
}),
|
|
2934
2934
|
target: "_blank",
|
|
2935
|
-
children: /* @__PURE__ */ r(I, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children:
|
|
2935
|
+
children: /* @__PURE__ */ r(I, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: _ == null ? void 0 : _.button_text })
|
|
2936
2936
|
}
|
|
2937
2937
|
))
|
|
2938
2938
|
}
|
|
@@ -3036,7 +3036,7 @@ var w = /* @__PURE__ */ ((e) => (e.Banner = "Banner", e.CardImageList = "CardIma
|
|
|
3036
3036
|
const ol = {
|
|
3037
3037
|
key: w.Banner,
|
|
3038
3038
|
id: "1",
|
|
3039
|
-
|
|
3039
|
+
component_props: {
|
|
3040
3040
|
bg_image: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
3041
3041
|
bg_image_mob: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
3042
3042
|
image: "https://mbank.kg/_next/image?url=https%3A%2F%2Fmbank.kg%2Fmedia%2Fmarket%2FImage-2.webp&w=762&q=75",
|
|
@@ -3060,7 +3060,7 @@ const ol = {
|
|
|
3060
3060
|
}, fr = {
|
|
3061
3061
|
key: w.Banner,
|
|
3062
3062
|
id: "2",
|
|
3063
|
-
|
|
3063
|
+
component_props: {
|
|
3064
3064
|
bg_image: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
3065
3065
|
bg_image_mob: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
3066
3066
|
image: "https://mbank.kg/_next/image?url=https%3A%2F%2Fmbank.kg%2Fmedia%2Fmarket%2FImage-2.webp&w=762&q=75",
|
|
@@ -3083,7 +3083,7 @@ const ol = {
|
|
|
3083
3083
|
}, cl = {
|
|
3084
3084
|
key: w.CardImageList,
|
|
3085
3085
|
id: "3",
|
|
3086
|
-
|
|
3086
|
+
component_props: {
|
|
3087
3087
|
cards: [
|
|
3088
3088
|
{
|
|
3089
3089
|
id: 1,
|
|
@@ -3115,7 +3115,7 @@ const ol = {
|
|
|
3115
3115
|
}, dl = {
|
|
3116
3116
|
key: w.Stepper,
|
|
3117
3117
|
id: "4",
|
|
3118
|
-
|
|
3118
|
+
component_props: {
|
|
3119
3119
|
title: "Stepper",
|
|
3120
3120
|
button: [
|
|
3121
3121
|
{
|
|
@@ -3133,7 +3133,7 @@ const ol = {
|
|
|
3133
3133
|
}, pl = {
|
|
3134
3134
|
key: w.Segments,
|
|
3135
3135
|
id: "5",
|
|
3136
|
-
|
|
3136
|
+
component_props: {
|
|
3137
3137
|
data: [
|
|
3138
3138
|
{ title: "Segment 1", id: 1 },
|
|
3139
3139
|
{ title: "Segment 2", id: 2 }
|
|
@@ -3142,7 +3142,7 @@ const ol = {
|
|
|
3142
3142
|
}, ml = {
|
|
3143
3143
|
key: w.Video,
|
|
3144
3144
|
id: "6",
|
|
3145
|
-
|
|
3145
|
+
component_props: {
|
|
3146
3146
|
data: {
|
|
3147
3147
|
linkVideo: "https://www.youtube.com/watch?v=Uf4JAss1vEo",
|
|
3148
3148
|
title: "Заголовок1"
|
|
@@ -3151,7 +3151,7 @@ const ol = {
|
|
|
3151
3151
|
}, ul = {
|
|
3152
3152
|
key: w.VideoList,
|
|
3153
3153
|
id: "7",
|
|
3154
|
-
|
|
3154
|
+
component_props: {
|
|
3155
3155
|
data: [
|
|
3156
3156
|
{
|
|
3157
3157
|
linkVideo: "https://www.youtube.com/watch?v=Uf4JAss1vEo",
|
|
@@ -3166,7 +3166,7 @@ const ol = {
|
|
|
3166
3166
|
}, gl = {
|
|
3167
3167
|
key: w.VideoListMini,
|
|
3168
3168
|
id: "8",
|
|
3169
|
-
|
|
3169
|
+
component_props: {
|
|
3170
3170
|
data: [
|
|
3171
3171
|
{
|
|
3172
3172
|
linkVideo: "https://www.youtube.com/watch?v=Uf4JAss1vEo",
|
|
@@ -3185,7 +3185,7 @@ const ol = {
|
|
|
3185
3185
|
}, xl = {
|
|
3186
3186
|
key: w.ContentCardList,
|
|
3187
3187
|
id: "9",
|
|
3188
|
-
|
|
3188
|
+
component_props: {
|
|
3189
3189
|
data: {
|
|
3190
3190
|
title: "Content Card List",
|
|
3191
3191
|
cards: [
|
|
@@ -3252,7 +3252,7 @@ const ol = {
|
|
|
3252
3252
|
}, bl = {
|
|
3253
3253
|
key: w.Partners,
|
|
3254
3254
|
id: "10",
|
|
3255
|
-
|
|
3255
|
+
component_props: {
|
|
3256
3256
|
data: {
|
|
3257
3257
|
title: "Нам доверяют",
|
|
3258
3258
|
subtitle: "MARKET сотрудничает с проверенными брендами, чтобы предложить вам лучшие товары и условия",
|
|
@@ -3303,7 +3303,7 @@ const ol = {
|
|
|
3303
3303
|
}, fl = {
|
|
3304
3304
|
key: w.CardIconList,
|
|
3305
3305
|
id: "11",
|
|
3306
|
-
|
|
3306
|
+
component_props: {
|
|
3307
3307
|
title: "Card Icon List",
|
|
3308
3308
|
cards: [
|
|
3309
3309
|
{
|
|
@@ -3348,7 +3348,7 @@ const ol = {
|
|
|
3348
3348
|
}, hr = {
|
|
3349
3349
|
key: w.CardIconList,
|
|
3350
3350
|
id: "12",
|
|
3351
|
-
|
|
3351
|
+
component_props: {
|
|
3352
3352
|
title: "Card Icon List",
|
|
3353
3353
|
cards: [
|
|
3354
3354
|
{
|
|
@@ -3393,7 +3393,7 @@ const ol = {
|
|
|
3393
3393
|
}, hl = {
|
|
3394
3394
|
key: w.MultiCards,
|
|
3395
3395
|
id: "13",
|
|
3396
|
-
|
|
3396
|
+
component_props: {
|
|
3397
3397
|
title: "Multi Card List",
|
|
3398
3398
|
banner_card: {
|
|
3399
3399
|
image: "https://mbank.kg/media/mkassa3/Image_9.webp",
|
|
@@ -3444,10 +3444,10 @@ const ol = {
|
|
|
3444
3444
|
is_banner_first: !0,
|
|
3445
3445
|
is_cards_first: !0
|
|
3446
3446
|
}
|
|
3447
|
-
},
|
|
3447
|
+
}, _l = {
|
|
3448
3448
|
key: w.PartnersColors,
|
|
3449
3449
|
id: "14",
|
|
3450
|
-
|
|
3450
|
+
component_props: {
|
|
3451
3451
|
title: "С нами сотрудничают одни из самых крупных брендов",
|
|
3452
3452
|
subtitle: "Наши партнеры",
|
|
3453
3453
|
categories: [
|
|
@@ -3681,10 +3681,10 @@ const ol = {
|
|
|
3681
3681
|
}
|
|
3682
3682
|
]
|
|
3683
3683
|
}
|
|
3684
|
-
},
|
|
3684
|
+
}, kl = {
|
|
3685
3685
|
key: w.MainBanner,
|
|
3686
3686
|
id: "15",
|
|
3687
|
-
|
|
3687
|
+
component_props: {
|
|
3688
3688
|
id: 1,
|
|
3689
3689
|
buttons: [
|
|
3690
3690
|
{
|
|
@@ -3708,25 +3708,25 @@ const ol = {
|
|
|
3708
3708
|
}, yl = {
|
|
3709
3709
|
key: w.WarningCard,
|
|
3710
3710
|
id: "16",
|
|
3711
|
-
|
|
3711
|
+
component_props: {
|
|
3712
3712
|
title: "Test",
|
|
3713
3713
|
description: "test description",
|
|
3714
3714
|
button_text: "button text",
|
|
3715
3715
|
variant: "orange"
|
|
3716
3716
|
}
|
|
3717
|
-
},
|
|
3717
|
+
}, _r = {
|
|
3718
3718
|
key: w.WarningCard,
|
|
3719
3719
|
id: "17",
|
|
3720
|
-
|
|
3720
|
+
component_props: {
|
|
3721
3721
|
title: "Test",
|
|
3722
3722
|
description: "test description",
|
|
3723
3723
|
button_text: "button text",
|
|
3724
3724
|
variant: "gray"
|
|
3725
3725
|
}
|
|
3726
|
-
},
|
|
3726
|
+
}, kr = {
|
|
3727
3727
|
key: w.WarningCard,
|
|
3728
3728
|
id: "18",
|
|
3729
|
-
|
|
3729
|
+
component_props: {
|
|
3730
3730
|
title: "Test",
|
|
3731
3731
|
description: "test description",
|
|
3732
3732
|
button_text: "button text",
|
|
@@ -3735,7 +3735,7 @@ const ol = {
|
|
|
3735
3735
|
}, wl = {
|
|
3736
3736
|
key: w.Faq,
|
|
3737
3737
|
id: "19",
|
|
3738
|
-
|
|
3738
|
+
component_props: {
|
|
3739
3739
|
title: "Часто задаваемые вопросы",
|
|
3740
3740
|
data: [
|
|
3741
3741
|
{
|
|
@@ -3755,7 +3755,7 @@ const ol = {
|
|
|
3755
3755
|
}, vl = {
|
|
3756
3756
|
key: w.DownloadFileHalf,
|
|
3757
3757
|
id: "20",
|
|
3758
|
-
|
|
3758
|
+
component_props: {
|
|
3759
3759
|
data: [
|
|
3760
3760
|
{
|
|
3761
3761
|
id: "1",
|
|
@@ -3774,7 +3774,7 @@ const ol = {
|
|
|
3774
3774
|
}, Fl = {
|
|
3775
3775
|
key: w.DownloadFileBanner,
|
|
3776
3776
|
id: "21",
|
|
3777
|
-
|
|
3777
|
+
component_props: {
|
|
3778
3778
|
id: "1",
|
|
3779
3779
|
title: "Скачать приложение",
|
|
3780
3780
|
text: "Помогает научить ребенка контролировать свои траты, копить и обращаться с деньгами",
|
|
@@ -3783,7 +3783,7 @@ const ol = {
|
|
|
3783
3783
|
}, Nl = {
|
|
3784
3784
|
key: w.DownloadFileFull,
|
|
3785
3785
|
id: "22",
|
|
3786
|
-
|
|
3786
|
+
component_props: {
|
|
3787
3787
|
data: [
|
|
3788
3788
|
{
|
|
3789
3789
|
id: "1",
|
|
@@ -3808,7 +3808,7 @@ const ol = {
|
|
|
3808
3808
|
}, Cl = {
|
|
3809
3809
|
key: w.DownloadFileMini,
|
|
3810
3810
|
id: "23",
|
|
3811
|
-
|
|
3811
|
+
component_props: {
|
|
3812
3812
|
data: [
|
|
3813
3813
|
{
|
|
3814
3814
|
id: "1",
|
|
@@ -3839,7 +3839,7 @@ const ol = {
|
|
|
3839
3839
|
}, Ll = {
|
|
3840
3840
|
key: w.InstructionList,
|
|
3841
3841
|
id: "24",
|
|
3842
|
-
|
|
3842
|
+
component_props: {
|
|
3843
3843
|
title: "Hero stepper screen",
|
|
3844
3844
|
cards: [
|
|
3845
3845
|
{
|
|
@@ -3875,7 +3875,7 @@ const ol = {
|
|
|
3875
3875
|
}, Dl = {
|
|
3876
3876
|
key: w.PreviewList,
|
|
3877
3877
|
id: "25",
|
|
3878
|
-
|
|
3878
|
+
component_props: {
|
|
3879
3879
|
title: "Hero blog",
|
|
3880
3880
|
cards: [
|
|
3881
3881
|
{
|
|
@@ -3904,7 +3904,7 @@ const ol = {
|
|
|
3904
3904
|
}, Tl = {
|
|
3905
3905
|
key: w.SwiperList,
|
|
3906
3906
|
id: "26",
|
|
3907
|
-
|
|
3907
|
+
component_props: {
|
|
3908
3908
|
title: "Hero Gallery",
|
|
3909
3909
|
cards: [
|
|
3910
3910
|
{
|
|
@@ -3970,7 +3970,7 @@ const ol = {
|
|
|
3970
3970
|
}, Bl = {
|
|
3971
3971
|
key: w.AnimatedSwiper,
|
|
3972
3972
|
id: "27",
|
|
3973
|
-
|
|
3973
|
+
component_props: {
|
|
3974
3974
|
title: "Анимированный свайпер",
|
|
3975
3975
|
cards: [
|
|
3976
3976
|
{
|
|
@@ -4066,7 +4066,7 @@ const ol = {
|
|
|
4066
4066
|
}, Sl = {
|
|
4067
4067
|
key: w.InfoBannerList,
|
|
4068
4068
|
id: "28",
|
|
4069
|
-
|
|
4069
|
+
component_props: {
|
|
4070
4070
|
title: "Премиальная карта для самых первых",
|
|
4071
4071
|
cards: [
|
|
4072
4072
|
{
|
|
@@ -4154,7 +4154,7 @@ const ol = {
|
|
|
4154
4154
|
}, El = {
|
|
4155
4155
|
key: w.TasksBannerList,
|
|
4156
4156
|
id: "29",
|
|
4157
|
-
|
|
4157
|
+
component_props: {
|
|
4158
4158
|
title: "Задачи",
|
|
4159
4159
|
cards: [
|
|
4160
4160
|
{
|
|
@@ -4235,7 +4235,7 @@ const ol = {
|
|
|
4235
4235
|
}, Il = {
|
|
4236
4236
|
key: w.VideoMainBanner,
|
|
4237
4237
|
id: "30",
|
|
4238
|
-
|
|
4238
|
+
component_props: {
|
|
4239
4239
|
title: "Марафон призов от MBANK",
|
|
4240
4240
|
description: "Главный приз — квартира",
|
|
4241
4241
|
logo: null,
|
|
@@ -4261,13 +4261,13 @@ const ol = {
|
|
|
4261
4261
|
}, Vl = {
|
|
4262
4262
|
key: w.EmptyBox,
|
|
4263
4263
|
id: "31",
|
|
4264
|
-
|
|
4264
|
+
component_props: {
|
|
4265
4265
|
size: "100"
|
|
4266
4266
|
}
|
|
4267
|
-
},
|
|
4267
|
+
}, Ml = {
|
|
4268
4268
|
key: w.PromoPoster,
|
|
4269
4269
|
id: "32",
|
|
4270
|
-
|
|
4270
|
+
component_props: {
|
|
4271
4271
|
id: 1,
|
|
4272
4272
|
banner_bg_image: "https://mbank.kg/media/qr/Frame_2087327329_1_1.png",
|
|
4273
4273
|
banner_bg_image_mob: "https://mbank.kg/media/qr/mob/Frame_2087327334.png",
|
|
@@ -4290,10 +4290,10 @@ const ol = {
|
|
|
4290
4290
|
}
|
|
4291
4291
|
]
|
|
4292
4292
|
}
|
|
4293
|
-
},
|
|
4293
|
+
}, Al = {
|
|
4294
4294
|
key: w.CardImageSecondaryList,
|
|
4295
4295
|
id: "33",
|
|
4296
|
-
|
|
4296
|
+
component_props: {
|
|
4297
4297
|
title: "На какие цели можно получить финансирование?",
|
|
4298
4298
|
cards: [
|
|
4299
4299
|
{
|
|
@@ -4320,10 +4320,10 @@ const ol = {
|
|
|
4320
4320
|
],
|
|
4321
4321
|
isHorizontal: !1
|
|
4322
4322
|
}
|
|
4323
|
-
},
|
|
4323
|
+
}, Pl = {
|
|
4324
4324
|
key: w.CardInfoTable,
|
|
4325
4325
|
id: "34",
|
|
4326
|
-
|
|
4326
|
+
component_props: {
|
|
4327
4327
|
title: "Условия финансирования",
|
|
4328
4328
|
table: {
|
|
4329
4329
|
id: 2,
|
|
@@ -4430,7 +4430,7 @@ const ol = {
|
|
|
4430
4430
|
}, Ol = {
|
|
4431
4431
|
key: w.StandartTable,
|
|
4432
4432
|
id: "35",
|
|
4433
|
-
|
|
4433
|
+
component_props: {
|
|
4434
4434
|
title: "Ознакомьтесь с условиями",
|
|
4435
4435
|
table: {
|
|
4436
4436
|
id: 3,
|
|
@@ -4679,7 +4679,7 @@ const ol = {
|
|
|
4679
4679
|
}, Rl = {
|
|
4680
4680
|
key: w.IntroBanner,
|
|
4681
4681
|
id: "36",
|
|
4682
|
-
|
|
4682
|
+
component_props: {
|
|
4683
4683
|
title: "Откройте путь в Барселону с Visa и MBANK!",
|
|
4684
4684
|
description: "Оплачивайте картой Visa MBANK Gold и выиграйте встречу с Ламином Ямалем в Барселоне",
|
|
4685
4685
|
image: "https://mbank.kg/media/standard/images/Container.png",
|
|
@@ -4694,7 +4694,7 @@ const ol = {
|
|
|
4694
4694
|
}, ql = {
|
|
4695
4695
|
key: w.DownloadFileBright,
|
|
4696
4696
|
id: "37",
|
|
4697
|
-
|
|
4697
|
+
component_props: {
|
|
4698
4698
|
id: 1,
|
|
4699
4699
|
title: "Правила акции",
|
|
4700
4700
|
description: "Ознакомьтесь с полными условиями и правилами участия",
|
|
@@ -4703,11 +4703,11 @@ const ol = {
|
|
|
4703
4703
|
button_link: "https://mbank.kg/media/documents/%D0%9F%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5_1_%D0%9F%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0_%D0%B0%D0%BA%D1%86%D0%B8%D0%B8__C%D0%BE%D0%B2%D0%B5%D1%80%D1%88%D0%B0%D0%B9_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8-%D0%BE%D1%82%D0%BA%D1%80%D0%BE%D0%B9_%D0%BF%D1%83%D1%82%D1%8C_%D0%B2_%D0%91%D0%B0%D1%80%D1%81%D0%B5%D0%BB%D0%BE%D0%BD%D1%83__%D0%A4%D0%98%D0%9D%D0%90%D0%9B_YZc1tmj.pdf"
|
|
4704
4704
|
}
|
|
4705
4705
|
}, yr = {
|
|
4706
|
-
MainBanner: { key: "MainBanner", component:
|
|
4706
|
+
MainBanner: { key: "MainBanner", component: Mt },
|
|
4707
4707
|
Banner: { key: "Banner", component: Dt },
|
|
4708
4708
|
CardImageList: { key: "CardImageList", component: Vt },
|
|
4709
4709
|
Stepper: { key: "Stepper", component: Bt },
|
|
4710
|
-
Segments: { key: "Segments", component:
|
|
4710
|
+
Segments: { key: "Segments", component: ki },
|
|
4711
4711
|
VideoFull: { key: "VideoFull", component: yi },
|
|
4712
4712
|
VideoList: { key: "VideoList", component: wi },
|
|
4713
4713
|
VideoListMini: { key: "VideoListMini", component: vi },
|
|
@@ -4730,7 +4730,7 @@ const ol = {
|
|
|
4730
4730
|
SwiperList: { key: "SwiperList", component: Vi },
|
|
4731
4731
|
AnimatedSwiper: { key: "AnimatedSwiper", component: Bi },
|
|
4732
4732
|
InfoBannerList: { key: "InfoBannerList", component: ri },
|
|
4733
|
-
TasksBannerList: { key: "TasksBannerList", component:
|
|
4733
|
+
TasksBannerList: { key: "TasksBannerList", component: Mi },
|
|
4734
4734
|
VideoMainBanner: { key: "VideoMainBanner", component: oi },
|
|
4735
4735
|
Space: { key: "Space", component: Ei },
|
|
4736
4736
|
PromoPoster: { key: "PromoPoster", component: Si },
|
|
@@ -4746,49 +4746,49 @@ const ol = {
|
|
|
4746
4746
|
component: ai
|
|
4747
4747
|
}
|
|
4748
4748
|
}, wr = {
|
|
4749
|
-
MainBanner:
|
|
4750
|
-
Banner: ol.
|
|
4751
|
-
CardImageList: cl.
|
|
4752
|
-
Stepper: dl.
|
|
4753
|
-
Segments: pl.
|
|
4754
|
-
VideoFull: ml.
|
|
4755
|
-
VideoList: ul.
|
|
4756
|
-
VideoListMini: gl.
|
|
4757
|
-
ContentCardList: xl.
|
|
4758
|
-
CardIconList: fl.
|
|
4759
|
-
MultiCards: hl.
|
|
4760
|
-
Partners: bl.
|
|
4761
|
-
PartnersColors:
|
|
4762
|
-
WarningCard: yl.
|
|
4763
|
-
Faq: wl.
|
|
4764
|
-
DownloadFileBanner: Fl.
|
|
4765
|
-
DownloadFileHalf: vl.
|
|
4766
|
-
DownloadFileFull: Nl.
|
|
4767
|
-
DownloadFileMini: Cl.
|
|
4768
|
-
InstructionList: Ll.
|
|
4769
|
-
PreviewList: Dl.
|
|
4770
|
-
SwiperList: Tl.
|
|
4771
|
-
AnimatedSwiper: Bl.
|
|
4772
|
-
InfoBannerList: Sl.
|
|
4773
|
-
TasksBannerList: El.
|
|
4774
|
-
VideoMainBanner: Il.
|
|
4775
|
-
EmptyBox: Vl.
|
|
4776
|
-
PromoPoster:
|
|
4777
|
-
CardImageSecondaryList:
|
|
4778
|
-
CardInfoTable:
|
|
4779
|
-
StandartTable: Ol.
|
|
4780
|
-
IntroBanner: Rl.
|
|
4781
|
-
DownloadFileBright: ql.
|
|
4749
|
+
MainBanner: kl.component_props,
|
|
4750
|
+
Banner: ol.component_props,
|
|
4751
|
+
CardImageList: cl.component_props,
|
|
4752
|
+
Stepper: dl.component_props,
|
|
4753
|
+
Segments: pl.component_props,
|
|
4754
|
+
VideoFull: ml.component_props,
|
|
4755
|
+
VideoList: ul.component_props,
|
|
4756
|
+
VideoListMini: gl.component_props,
|
|
4757
|
+
ContentCardList: xl.component_props,
|
|
4758
|
+
CardIconList: fl.component_props,
|
|
4759
|
+
MultiCards: hl.component_props,
|
|
4760
|
+
Partners: bl.component_props,
|
|
4761
|
+
PartnersColors: _l.component_props,
|
|
4762
|
+
WarningCard: yl.component_props,
|
|
4763
|
+
Faq: wl.component_props,
|
|
4764
|
+
DownloadFileBanner: Fl.component_props,
|
|
4765
|
+
DownloadFileHalf: vl.component_props,
|
|
4766
|
+
DownloadFileFull: Nl.component_props,
|
|
4767
|
+
DownloadFileMini: Cl.component_props,
|
|
4768
|
+
InstructionList: Ll.component_props,
|
|
4769
|
+
PreviewList: Dl.component_props,
|
|
4770
|
+
SwiperList: Tl.component_props,
|
|
4771
|
+
AnimatedSwiper: Bl.component_props,
|
|
4772
|
+
InfoBannerList: Sl.component_props,
|
|
4773
|
+
TasksBannerList: El.component_props,
|
|
4774
|
+
VideoMainBanner: Il.component_props,
|
|
4775
|
+
EmptyBox: Vl.component_props,
|
|
4776
|
+
PromoPoster: Ml.component_props,
|
|
4777
|
+
CardImageSecondaryList: Al.component_props,
|
|
4778
|
+
CardInfoTable: Pl.component_props,
|
|
4779
|
+
StandartTable: Ol.component_props,
|
|
4780
|
+
IntroBanner: Rl.component_props,
|
|
4781
|
+
DownloadFileBright: ql.component_props
|
|
4782
4782
|
};
|
|
4783
4783
|
export {
|
|
4784
|
-
|
|
4784
|
+
Ml as $,
|
|
4785
4785
|
yl as A,
|
|
4786
4786
|
Dt as B,
|
|
4787
4787
|
Vt as C,
|
|
4788
4788
|
Qt as D,
|
|
4789
|
-
|
|
4789
|
+
_r as E,
|
|
4790
4790
|
Ut as F,
|
|
4791
|
-
|
|
4791
|
+
kr as G,
|
|
4792
4792
|
wl as H,
|
|
4793
4793
|
Gt as I,
|
|
4794
4794
|
vl as J,
|
|
@@ -4810,8 +4810,8 @@ export {
|
|
|
4810
4810
|
Il as Z,
|
|
4811
4811
|
Vl as _,
|
|
4812
4812
|
Et as a,
|
|
4813
|
-
|
|
4814
|
-
|
|
4813
|
+
Al as a0,
|
|
4814
|
+
Pl as a1,
|
|
4815
4815
|
Ol as a2,
|
|
4816
4816
|
Rl as a3,
|
|
4817
4817
|
ql as a4,
|
|
@@ -4827,7 +4827,7 @@ export {
|
|
|
4827
4827
|
li as ae,
|
|
4828
4828
|
il as af,
|
|
4829
4829
|
ze as b,
|
|
4830
|
-
|
|
4830
|
+
Mt as c,
|
|
4831
4831
|
Xt as d,
|
|
4832
4832
|
Jt as e,
|
|
4833
4833
|
Yt as f,
|
|
@@ -4837,7 +4837,7 @@ export {
|
|
|
4837
4837
|
si as j,
|
|
4838
4838
|
ni as k,
|
|
4839
4839
|
ai as l,
|
|
4840
|
-
|
|
4840
|
+
kl as m,
|
|
4841
4841
|
ol as n,
|
|
4842
4842
|
fr as o,
|
|
4843
4843
|
cl as p,
|
|
@@ -4850,5 +4850,5 @@ export {
|
|
|
4850
4850
|
bl as w,
|
|
4851
4851
|
fl as x,
|
|
4852
4852
|
hl as y,
|
|
4853
|
-
|
|
4853
|
+
_l as z
|
|
4854
4854
|
};
|