md-components-mdigial-azamat 0.0.64 → 0.0.66
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 +2 -2
- package/dist/CardIconList/CardIconList.js +1 -1
- package/dist/CardImageList/CardImageList.js +23 -21
- package/dist/Cards/FeaturesCard/index.js +4 -3
- package/dist/Cards/FeaturesCard/info.js +1 -1
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/{componentsMap-b362ea08.js → componentsMap-153c7a30.js} +1 -1
- package/dist/{data.mock-8d89834d.js → data.mock-8db3fb9a.js} +95 -77
- package/dist/index-04224eb4.js +106 -0
- package/dist/main.js +1 -1
- package/dist/{palette-6c943596.js → palette-c2fe86ec.js} +1 -1
- package/package.json +1 -1
- package/dist/index-dbe5f044.js +0 -67
|
@@ -9,7 +9,7 @@ import { CardInfoTable as e } from "./CardInfoTable/index.js";
|
|
|
9
9
|
import { CardImage as p } from "./Cards/CardImage/CardImage.js";
|
|
10
10
|
import { ColoredCard as f } from "./Cards/ColoredCard/index.js";
|
|
11
11
|
import { ContentCard as s } from "./Cards/ContentCard/ContentCard.js";
|
|
12
|
-
import { F as d } from "./index-
|
|
12
|
+
import { F as d } from "./index-04224eb4.js";
|
|
13
13
|
import { WarningCard as l } from "./Cards/WarningCard/WarningCard.js";
|
|
14
14
|
import { ContentCardList as C } from "./ContentCardList/ContentCardList.js";
|
|
15
15
|
import { DownloadFileBanner as B } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { p as a } from "./palette-c2fe86ec.js";
|
|
1
2
|
import { b as e } from "./const-53dff524.js";
|
|
2
3
|
var t = /* @__PURE__ */ ((i) => (i.Header = "Header", i.Banner = "Banner", i.CardImageList = "CardImageList", i.Stepper = "Stepper", i.Segments = "Segments", i.Video = "VideoFull", i.VideoList = "VideoList", i.VideoListMini = "VideoListMini", i.ContentCardList = "ContentCardList", i.CardIconList = "CardIconList", i.MultiCards = "MultiCards", i.Partners = "Partners", i.PartnersColors = "PartnersColors", i.MainBanner = "MainBanner", i.WarningCard = "WarningCard", i.Faq = "Faq", i.DownloadFileBanner = "DownloadFileBanner", i.DownloadFileFull = "DownloadFileFull", i.DownloadFileHalf = "DownloadFileHalf", i.DownloadFileMini = "DownloadFileMini", i.InstructionList = "InstructionList", i.PreviewList = "PreviewList", i.SwiperList = "SwiperList", i.AnimatedSwiper = "AnimatedSwiper", i.InfoBannerList = "InfoBannerList", i.TasksBannerList = "TasksBannerList", i.VideoMainBanner = "VideoMainBanner", i.EmptyBox = "EmptyBox", i.PromoPoster = "PromoPoster", i.CardImageSecondaryList = "CardImageSecondaryList", i.CardInfoTable = "CardInfoTable", i.StandartTable = "StandartTable", i.IntroBanner = "IntroBanner", i.DownloadFileBright = "DownloadFileBright", i.Footer = "Footer", i))(t || {});
|
|
3
|
-
const
|
|
4
|
+
const l = {
|
|
4
5
|
key: t.Banner,
|
|
5
6
|
id: "1",
|
|
6
7
|
component_props: {
|
|
@@ -24,7 +25,7 @@ const n = {
|
|
|
24
25
|
}
|
|
25
26
|
]
|
|
26
27
|
}
|
|
27
|
-
},
|
|
28
|
+
}, r = {
|
|
28
29
|
key: t.Banner,
|
|
29
30
|
id: "2",
|
|
30
31
|
component_props: {
|
|
@@ -47,7 +48,7 @@ const n = {
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
|
-
},
|
|
51
|
+
}, o = {
|
|
51
52
|
key: t.CardImageList,
|
|
52
53
|
id: "3",
|
|
53
54
|
component_props: {
|
|
@@ -79,7 +80,7 @@ const n = {
|
|
|
79
80
|
}
|
|
80
81
|
]
|
|
81
82
|
}
|
|
82
|
-
},
|
|
83
|
+
}, m = {
|
|
83
84
|
key: t.Stepper,
|
|
84
85
|
id: "4",
|
|
85
86
|
component_props: {
|
|
@@ -99,7 +100,7 @@ const n = {
|
|
|
99
100
|
{ text: "Выберите товар, который Вы хотите взять в рассрочку", id: 3 }
|
|
100
101
|
]
|
|
101
102
|
}
|
|
102
|
-
},
|
|
103
|
+
}, d = {
|
|
103
104
|
key: t.Segments,
|
|
104
105
|
id: "5",
|
|
105
106
|
component_props: {
|
|
@@ -108,7 +109,7 @@ const n = {
|
|
|
108
109
|
{ title: "Segment 2", id: 2 }
|
|
109
110
|
]
|
|
110
111
|
}
|
|
111
|
-
},
|
|
112
|
+
}, p = {
|
|
112
113
|
key: t.Video,
|
|
113
114
|
id: "6",
|
|
114
115
|
component_props: {
|
|
@@ -117,7 +118,7 @@ const n = {
|
|
|
117
118
|
title: "Заголовок1"
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
|
-
},
|
|
121
|
+
}, g = {
|
|
121
122
|
key: t.VideoList,
|
|
122
123
|
id: "7",
|
|
123
124
|
component_props: {
|
|
@@ -132,7 +133,7 @@ const n = {
|
|
|
132
133
|
}
|
|
133
134
|
]
|
|
134
135
|
}
|
|
135
|
-
},
|
|
136
|
+
}, k = {
|
|
136
137
|
key: t.VideoListMini,
|
|
137
138
|
id: "8",
|
|
138
139
|
component_props: {
|
|
@@ -151,7 +152,7 @@ const n = {
|
|
|
151
152
|
}
|
|
152
153
|
]
|
|
153
154
|
}
|
|
154
|
-
},
|
|
155
|
+
}, c = {
|
|
155
156
|
key: t.ContentCardList,
|
|
156
157
|
id: "9",
|
|
157
158
|
component_props: {
|
|
@@ -214,7 +215,7 @@ const n = {
|
|
|
214
215
|
}
|
|
215
216
|
]
|
|
216
217
|
}
|
|
217
|
-
},
|
|
218
|
+
}, _ = {
|
|
218
219
|
key: t.Partners,
|
|
219
220
|
id: "10",
|
|
220
221
|
component_props: {
|
|
@@ -265,7 +266,7 @@ const n = {
|
|
|
265
266
|
]
|
|
266
267
|
}
|
|
267
268
|
}
|
|
268
|
-
},
|
|
269
|
+
}, b = {
|
|
269
270
|
key: t.CardIconList,
|
|
270
271
|
id: "11",
|
|
271
272
|
component_props: {
|
|
@@ -310,7 +311,7 @@ const n = {
|
|
|
310
311
|
],
|
|
311
312
|
size: "medium"
|
|
312
313
|
}
|
|
313
|
-
},
|
|
314
|
+
}, u = {
|
|
314
315
|
key: t.CardIconList,
|
|
315
316
|
id: "12",
|
|
316
317
|
component_props: {
|
|
@@ -326,7 +327,14 @@ const n = {
|
|
|
326
327
|
link_text: "Text1",
|
|
327
328
|
is_black: !0,
|
|
328
329
|
is_promo: !1,
|
|
329
|
-
is_yellow: !1
|
|
330
|
+
is_yellow: !1,
|
|
331
|
+
badge: "Promo",
|
|
332
|
+
badge_bg_hex: a.white,
|
|
333
|
+
bg_hex: a.yellowLight,
|
|
334
|
+
button_link: "/",
|
|
335
|
+
button_text: "string",
|
|
336
|
+
button_type: "button",
|
|
337
|
+
button_variant: "primary"
|
|
330
338
|
},
|
|
331
339
|
{
|
|
332
340
|
id: 2,
|
|
@@ -338,7 +346,13 @@ const n = {
|
|
|
338
346
|
link_text: "Text1",
|
|
339
347
|
is_black: !1,
|
|
340
348
|
is_promo: !0,
|
|
341
|
-
is_yellow: !1
|
|
349
|
+
is_yellow: !1,
|
|
350
|
+
badge: "Promo",
|
|
351
|
+
badge_bg_hex: a.yellowLight,
|
|
352
|
+
button_link: "/",
|
|
353
|
+
button_text: "string",
|
|
354
|
+
button_type: "button",
|
|
355
|
+
button_variant: "primary"
|
|
342
356
|
},
|
|
343
357
|
{
|
|
344
358
|
id: 3,
|
|
@@ -350,12 +364,16 @@ const n = {
|
|
|
350
364
|
link_text: "Text1",
|
|
351
365
|
is_black: !1,
|
|
352
366
|
is_promo: !1,
|
|
353
|
-
is_yellow: !0
|
|
367
|
+
is_yellow: !0,
|
|
368
|
+
button_link: "/",
|
|
369
|
+
button_text: "string",
|
|
370
|
+
button_type: "button",
|
|
371
|
+
button_variant: "primary"
|
|
354
372
|
}
|
|
355
373
|
],
|
|
356
374
|
size: "large"
|
|
357
375
|
}
|
|
358
|
-
},
|
|
376
|
+
}, h = {
|
|
359
377
|
key: t.MultiCards,
|
|
360
378
|
id: "13",
|
|
361
379
|
component_props: {
|
|
@@ -409,7 +427,7 @@ const n = {
|
|
|
409
427
|
is_banner_first: !0,
|
|
410
428
|
is_cards_first: !0
|
|
411
429
|
}
|
|
412
|
-
},
|
|
430
|
+
}, F = {
|
|
413
431
|
key: t.PartnersColors,
|
|
414
432
|
id: "14",
|
|
415
433
|
component_props: {
|
|
@@ -646,7 +664,7 @@ const n = {
|
|
|
646
664
|
}
|
|
647
665
|
]
|
|
648
666
|
}
|
|
649
|
-
},
|
|
667
|
+
}, y = {
|
|
650
668
|
key: t.MainBanner,
|
|
651
669
|
id: "15",
|
|
652
670
|
component_props: {
|
|
@@ -670,7 +688,7 @@ const n = {
|
|
|
670
688
|
logo: "https://mbank.kg/media/market/item-hero-image-logos.svg",
|
|
671
689
|
grid: 2
|
|
672
690
|
}
|
|
673
|
-
},
|
|
691
|
+
}, w = {
|
|
674
692
|
key: t.WarningCard,
|
|
675
693
|
id: "16",
|
|
676
694
|
component_props: {
|
|
@@ -679,7 +697,7 @@ const n = {
|
|
|
679
697
|
button_text: "button text",
|
|
680
698
|
variant: "orange"
|
|
681
699
|
}
|
|
682
|
-
},
|
|
700
|
+
}, D = {
|
|
683
701
|
key: t.WarningCard,
|
|
684
702
|
id: "17",
|
|
685
703
|
component_props: {
|
|
@@ -688,7 +706,7 @@ const n = {
|
|
|
688
706
|
button_text: "button text",
|
|
689
707
|
variant: "gray"
|
|
690
708
|
}
|
|
691
|
-
},
|
|
709
|
+
}, v = {
|
|
692
710
|
key: t.WarningCard,
|
|
693
711
|
id: "18",
|
|
694
712
|
component_props: {
|
|
@@ -697,7 +715,7 @@ const n = {
|
|
|
697
715
|
button_text: "button text",
|
|
698
716
|
variant: "black"
|
|
699
717
|
}
|
|
700
|
-
},
|
|
718
|
+
}, B = {
|
|
701
719
|
key: t.Faq,
|
|
702
720
|
id: "19",
|
|
703
721
|
component_props: {
|
|
@@ -717,7 +735,7 @@ const n = {
|
|
|
717
735
|
}
|
|
718
736
|
]
|
|
719
737
|
}
|
|
720
|
-
},
|
|
738
|
+
}, f = {
|
|
721
739
|
key: t.DownloadFileHalf,
|
|
722
740
|
id: "20",
|
|
723
741
|
component_props: {
|
|
@@ -736,7 +754,7 @@ const n = {
|
|
|
736
754
|
}
|
|
737
755
|
]
|
|
738
756
|
}
|
|
739
|
-
},
|
|
757
|
+
}, x = {
|
|
740
758
|
key: t.DownloadFileBanner,
|
|
741
759
|
id: "21",
|
|
742
760
|
component_props: {
|
|
@@ -745,7 +763,7 @@ const n = {
|
|
|
745
763
|
text: "Помогает научить ребенка контролировать свои траты, копить и обращаться с деньгами",
|
|
746
764
|
link: "#"
|
|
747
765
|
}
|
|
748
|
-
},
|
|
766
|
+
}, q = {
|
|
749
767
|
key: t.DownloadFileFull,
|
|
750
768
|
id: "22",
|
|
751
769
|
component_props: {
|
|
@@ -770,7 +788,7 @@ const n = {
|
|
|
770
788
|
}
|
|
771
789
|
]
|
|
772
790
|
}
|
|
773
|
-
},
|
|
791
|
+
}, M = {
|
|
774
792
|
key: t.DownloadFileMini,
|
|
775
793
|
id: "23",
|
|
776
794
|
component_props: {
|
|
@@ -801,7 +819,7 @@ const n = {
|
|
|
801
819
|
}
|
|
802
820
|
]
|
|
803
821
|
}
|
|
804
|
-
},
|
|
822
|
+
}, I = {
|
|
805
823
|
key: t.InstructionList,
|
|
806
824
|
id: "24",
|
|
807
825
|
component_props: {
|
|
@@ -837,7 +855,7 @@ const n = {
|
|
|
837
855
|
link: "https://www.youtube.com/"
|
|
838
856
|
}
|
|
839
857
|
}
|
|
840
|
-
},
|
|
858
|
+
}, L = {
|
|
841
859
|
key: t.PreviewList,
|
|
842
860
|
id: "25",
|
|
843
861
|
component_props: {
|
|
@@ -866,7 +884,7 @@ const n = {
|
|
|
866
884
|
],
|
|
867
885
|
grid: 2
|
|
868
886
|
}
|
|
869
|
-
},
|
|
887
|
+
}, S = {
|
|
870
888
|
key: t.SwiperList,
|
|
871
889
|
id: "26",
|
|
872
890
|
component_props: {
|
|
@@ -932,7 +950,7 @@ const n = {
|
|
|
932
950
|
autoplayDelay: 2e3,
|
|
933
951
|
perViewScreens: 4
|
|
934
952
|
}
|
|
935
|
-
},
|
|
953
|
+
}, A = {
|
|
936
954
|
key: t.AnimatedSwiper,
|
|
937
955
|
id: "27",
|
|
938
956
|
component_props: {
|
|
@@ -1028,7 +1046,7 @@ const n = {
|
|
|
1028
1046
|
isLight: !1,
|
|
1029
1047
|
isButton: !1
|
|
1030
1048
|
}
|
|
1031
|
-
},
|
|
1049
|
+
}, V = {
|
|
1032
1050
|
key: t.InfoBannerList,
|
|
1033
1051
|
id: "28",
|
|
1034
1052
|
component_props: {
|
|
@@ -1116,7 +1134,7 @@ const n = {
|
|
|
1116
1134
|
isLight: !1,
|
|
1117
1135
|
isLightTitle: !1
|
|
1118
1136
|
}
|
|
1119
|
-
},
|
|
1137
|
+
}, P = {
|
|
1120
1138
|
key: t.TasksBannerList,
|
|
1121
1139
|
id: "29",
|
|
1122
1140
|
component_props: {
|
|
@@ -1197,7 +1215,7 @@ const n = {
|
|
|
1197
1215
|
}
|
|
1198
1216
|
]
|
|
1199
1217
|
}
|
|
1200
|
-
},
|
|
1218
|
+
}, T = {
|
|
1201
1219
|
key: t.VideoMainBanner,
|
|
1202
1220
|
id: "30",
|
|
1203
1221
|
component_props: {
|
|
@@ -1223,13 +1241,13 @@ const n = {
|
|
|
1223
1241
|
grid: 2,
|
|
1224
1242
|
isShadow: !0
|
|
1225
1243
|
}
|
|
1226
|
-
},
|
|
1244
|
+
}, N = {
|
|
1227
1245
|
key: t.EmptyBox,
|
|
1228
1246
|
id: "31",
|
|
1229
1247
|
component_props: {
|
|
1230
1248
|
size: "100"
|
|
1231
1249
|
}
|
|
1232
|
-
},
|
|
1250
|
+
}, C = {
|
|
1233
1251
|
key: t.PromoPoster,
|
|
1234
1252
|
id: "32",
|
|
1235
1253
|
component_props: {
|
|
@@ -1255,7 +1273,7 @@ const n = {
|
|
|
1255
1273
|
}
|
|
1256
1274
|
]
|
|
1257
1275
|
}
|
|
1258
|
-
},
|
|
1276
|
+
}, E = {
|
|
1259
1277
|
key: t.CardImageSecondaryList,
|
|
1260
1278
|
id: "33",
|
|
1261
1279
|
component_props: {
|
|
@@ -1285,7 +1303,7 @@ const n = {
|
|
|
1285
1303
|
],
|
|
1286
1304
|
isHorizontal: !1
|
|
1287
1305
|
}
|
|
1288
|
-
},
|
|
1306
|
+
}, G = {
|
|
1289
1307
|
key: t.CardInfoTable,
|
|
1290
1308
|
id: "34",
|
|
1291
1309
|
component_props: {
|
|
@@ -1392,7 +1410,7 @@ const n = {
|
|
|
1392
1410
|
}
|
|
1393
1411
|
]
|
|
1394
1412
|
}
|
|
1395
|
-
},
|
|
1413
|
+
}, H = {
|
|
1396
1414
|
key: t.StandartTable,
|
|
1397
1415
|
id: "35",
|
|
1398
1416
|
component_props: {
|
|
@@ -1641,7 +1659,7 @@ const n = {
|
|
|
1641
1659
|
}
|
|
1642
1660
|
]
|
|
1643
1661
|
}
|
|
1644
|
-
},
|
|
1662
|
+
}, U = {
|
|
1645
1663
|
key: t.IntroBanner,
|
|
1646
1664
|
id: "36",
|
|
1647
1665
|
component_props: {
|
|
@@ -1656,7 +1674,7 @@ const n = {
|
|
|
1656
1674
|
logo: "https://mbank.kg/media/standard/logo/Vector_1.svg",
|
|
1657
1675
|
logo_second: "https://mbank.kg/media/standard/logo_second/mbank_logo_full_tNoEfG4.svg"
|
|
1658
1676
|
}
|
|
1659
|
-
},
|
|
1677
|
+
}, R = {
|
|
1660
1678
|
key: t.DownloadFileBright,
|
|
1661
1679
|
id: "37",
|
|
1662
1680
|
component_props: {
|
|
@@ -1671,41 +1689,41 @@ const n = {
|
|
|
1671
1689
|
t.Header;
|
|
1672
1690
|
t.Footer;
|
|
1673
1691
|
export {
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
w,
|
|
1710
|
-
|
|
1692
|
+
A,
|
|
1693
|
+
l as B,
|
|
1694
|
+
o as C,
|
|
1695
|
+
x as D,
|
|
1696
|
+
N as E,
|
|
1697
|
+
B as F,
|
|
1698
|
+
I,
|
|
1699
|
+
y as M,
|
|
1700
|
+
_ as P,
|
|
1701
|
+
m as S,
|
|
1702
|
+
P as T,
|
|
1703
|
+
p as V,
|
|
1704
|
+
w as W,
|
|
1705
|
+
d as a,
|
|
1706
|
+
g as b,
|
|
1707
|
+
k as c,
|
|
1708
|
+
c as d,
|
|
1709
|
+
b as e,
|
|
1710
|
+
h as f,
|
|
1711
|
+
F as g,
|
|
1712
|
+
f as h,
|
|
1713
|
+
q as i,
|
|
1714
|
+
M as j,
|
|
1715
|
+
L as k,
|
|
1716
|
+
S as l,
|
|
1717
|
+
V as m,
|
|
1718
|
+
T as n,
|
|
1719
|
+
C as o,
|
|
1720
|
+
E as p,
|
|
1721
|
+
G as q,
|
|
1722
|
+
H as r,
|
|
1723
|
+
U as s,
|
|
1724
|
+
R as t,
|
|
1725
|
+
r as u,
|
|
1726
|
+
D as v,
|
|
1727
|
+
v as w,
|
|
1728
|
+
u as x
|
|
1711
1729
|
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { jsxs as s, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { FieldTypes as o } from "./Types/FiledTypes.js";
|
|
3
|
+
import { B as c } from "./index-875e92ce.js";
|
|
4
|
+
import { I as x } from "./index-9384c6d6.js";
|
|
5
|
+
import { c as m } from "./cn-6a4bf187.js";
|
|
6
|
+
const r = {
|
|
7
|
+
SMALL: "small",
|
|
8
|
+
MEDIUM: "medium",
|
|
9
|
+
LARGE: "large"
|
|
10
|
+
}, g = {
|
|
11
|
+
type: "data",
|
|
12
|
+
label: "Данные карточки функции",
|
|
13
|
+
dataType: "object",
|
|
14
|
+
data: {
|
|
15
|
+
keys: {
|
|
16
|
+
title: o.TITLE,
|
|
17
|
+
description: o.DESCRIPTION,
|
|
18
|
+
image: o.FILE,
|
|
19
|
+
link: o.LINK,
|
|
20
|
+
link_text: o.TITLE,
|
|
21
|
+
color_bg: o.COLOR,
|
|
22
|
+
item_color_text: o.COLOR,
|
|
23
|
+
color: o.COLOR,
|
|
24
|
+
color_text: o.COLOR
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, b = [g, "size", "className"], f = ({ data: e, size: i, className: p }) => {
|
|
28
|
+
const n = i === r.SMALL ? 32 : 40;
|
|
29
|
+
return /* @__PURE__ */ s(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: m(
|
|
33
|
+
"relative bg-white rounded-[20px] flex flex-col items-start justify-between gap-[32px] w-full box-border",
|
|
34
|
+
i === r.LARGE && "min-h-[300px]",
|
|
35
|
+
i === r.SMALL ? "p-[24px]" : "p-[32px]",
|
|
36
|
+
p
|
|
37
|
+
),
|
|
38
|
+
style: { background: e == null ? void 0 : e.color_bg },
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ s("div", { className: "flex flex-col items-start gap-[32px]", children: [
|
|
41
|
+
(e == null ? void 0 : e.badge) && /* @__PURE__ */ l(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
className: "absolute top-[32px] right-[32px] rounded-[24px] text-[16px] leading-[20px] font-bold py-[7px] px-[18px] bg-yellowLight",
|
|
45
|
+
style: {
|
|
46
|
+
background: e == null ? void 0 : e.color,
|
|
47
|
+
color: e == null ? void 0 : e.color_text
|
|
48
|
+
},
|
|
49
|
+
children: e == null ? void 0 : e.badge
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
(e == null ? void 0 : e.image) && /* @__PURE__ */ l(
|
|
53
|
+
x,
|
|
54
|
+
{
|
|
55
|
+
src: e == null ? void 0 : e.image,
|
|
56
|
+
alt: e == null ? void 0 : e.title,
|
|
57
|
+
width: n,
|
|
58
|
+
height: n
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
/* @__PURE__ */ s("div", { className: "flex items-start flex-col gap-[12px]", children: [
|
|
62
|
+
/* @__PURE__ */ l(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
className: "text-[24px] leading-[32px] font-bold",
|
|
66
|
+
style: { color: e == null ? void 0 : e.item_color_text },
|
|
67
|
+
children: e == null ? void 0 : e.title
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ l(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: "text-[14px] leading-[20px] text-graySoft",
|
|
74
|
+
style: { color: e == null ? void 0 : e.color_description },
|
|
75
|
+
children: e == null ? void 0 : e.description
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
] })
|
|
79
|
+
] }),
|
|
80
|
+
i === r.LARGE && ((e == null ? void 0 : e.button_type) === "button" ? /* @__PURE__ */ l(
|
|
81
|
+
"a",
|
|
82
|
+
{
|
|
83
|
+
href: e == null ? void 0 : e.link,
|
|
84
|
+
target: "_blank",
|
|
85
|
+
className: "font-inter text-[16px] leading-[24px] font-semibold",
|
|
86
|
+
children: /* @__PURE__ */ l(c, { variant: e == null ? void 0 : e.button_variant, children: e == null ? void 0 : e.button_text })
|
|
87
|
+
}
|
|
88
|
+
) : /* @__PURE__ */ l(
|
|
89
|
+
"a",
|
|
90
|
+
{
|
|
91
|
+
href: e == null ? void 0 : e.link,
|
|
92
|
+
target: "_blank",
|
|
93
|
+
className: "text-deepBlue font-inter text-[16px] leading-[24px] font-semibold",
|
|
94
|
+
children: e == null ? void 0 : e.link_text
|
|
95
|
+
}
|
|
96
|
+
))
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
};
|
|
101
|
+
f.propsToEdit = b;
|
|
102
|
+
export {
|
|
103
|
+
f as F,
|
|
104
|
+
r as S,
|
|
105
|
+
b as p
|
|
106
|
+
};
|
package/dist/main.js
CHANGED
|
@@ -24,7 +24,7 @@ import { CardImage as O } from "./Cards/CardImage/CardImage.js";
|
|
|
24
24
|
import { ContentCard as R } from "./Cards/ContentCard/ContentCard.js";
|
|
25
25
|
import { WarningCard as X } from "./Cards/WarningCard/WarningCard.js";
|
|
26
26
|
import { ColoredCard as _ } from "./Cards/ColoredCard/index.js";
|
|
27
|
-
import { F as rr, S as or } from "./index-
|
|
27
|
+
import { F as rr, S as or } from "./index-04224eb4.js";
|
|
28
28
|
import { DownloadFileBanner as tr } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
29
29
|
import { DownloadFileFull as pr } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
30
30
|
import { DownloadFileHalf as nr } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
package/package.json
CHANGED
package/dist/index-dbe5f044.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { FieldTypes as i } from "./Types/FiledTypes.js";
|
|
3
|
-
import { I as t } from "./index-9384c6d6.js";
|
|
4
|
-
import { c as x } from "./cn-6a4bf187.js";
|
|
5
|
-
const r = {
|
|
6
|
-
SMALL: "small",
|
|
7
|
-
MEDIUM: "medium",
|
|
8
|
-
LARGE: "large"
|
|
9
|
-
}, m = {
|
|
10
|
-
type: "data",
|
|
11
|
-
label: "Данные карточки функции",
|
|
12
|
-
dataType: "object",
|
|
13
|
-
data: {
|
|
14
|
-
keys: {
|
|
15
|
-
title: i.TITLE,
|
|
16
|
-
description: i.DESCRIPTION,
|
|
17
|
-
image: i.FILE,
|
|
18
|
-
link: i.LINK,
|
|
19
|
-
link_text: i.TITLE
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}, c = [m, "size", "className"], f = ({ data: e, size: l, className: n }) => {
|
|
23
|
-
const o = l === r.SMALL ? 32 : 40;
|
|
24
|
-
return /* @__PURE__ */ p(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
className: x(
|
|
28
|
-
"bg-white rounded-[20px] flex flex-col items-start justify-between gap-[32px] w-full box-border",
|
|
29
|
-
l === r.LARGE && "min-h-[300px]",
|
|
30
|
-
l === r.SMALL ? "p-[24px]" : "p-[32px]",
|
|
31
|
-
n
|
|
32
|
-
),
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ p("div", { className: "flex flex-col items-start gap-[32px]", children: [
|
|
35
|
-
(e == null ? void 0 : e.image) && /* @__PURE__ */ s(
|
|
36
|
-
t,
|
|
37
|
-
{
|
|
38
|
-
src: e == null ? void 0 : e.image,
|
|
39
|
-
alt: e == null ? void 0 : e.title,
|
|
40
|
-
width: o,
|
|
41
|
-
height: o
|
|
42
|
-
}
|
|
43
|
-
),
|
|
44
|
-
/* @__PURE__ */ p("div", { className: "flex items-start flex-col gap-[12px]", children: [
|
|
45
|
-
/* @__PURE__ */ s("div", { className: "text-[24px] leading-[32px] font-bold", children: e == null ? void 0 : e.title }),
|
|
46
|
-
/* @__PURE__ */ s("div", { className: "text-[14px] leading-[20px] text-graySoft", children: e == null ? void 0 : e.description })
|
|
47
|
-
] })
|
|
48
|
-
] }),
|
|
49
|
-
l === r.LARGE && /* @__PURE__ */ s(
|
|
50
|
-
"a",
|
|
51
|
-
{
|
|
52
|
-
href: e == null ? void 0 : e.link,
|
|
53
|
-
target: "_blank",
|
|
54
|
-
className: "text-deepBlue font-inter text-[16px] leading-[24px] font-semibold",
|
|
55
|
-
children: e == null ? void 0 : e.link_text
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
f.propsToEdit = c;
|
|
63
|
-
export {
|
|
64
|
-
f as F,
|
|
65
|
-
r as S,
|
|
66
|
-
c as p
|
|
67
|
-
};
|