md-components-mdigial-azamat 0.0.109 → 0.0.112

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.
Files changed (52) hide show
  1. package/dist/ActionCardList/ActionCardList.js +8 -6
  2. package/dist/ActionCardList/index.js +1 -1
  3. package/dist/ActionCardList/info.js +1 -1
  4. package/dist/ActionIconList/ActionIconList.js +5 -3
  5. package/dist/AllComponents.js +11 -8
  6. package/dist/AllComponentsInfo.js +83 -81
  7. package/dist/ButtonsList/ButtonsList.js +25 -19
  8. package/dist/CardImageList/CardImageList.js +87 -71
  9. package/dist/CardImageList/info.js +1 -1
  10. package/dist/CardImageList/schema.js +57 -0
  11. package/dist/Cards/CardImage/CardImage.js +102 -55
  12. package/dist/Cards/CardImage/index.js +6 -1
  13. package/dist/Cards/CardImage/info.js +1 -1
  14. package/dist/Cards/CardImage/schema.js +32 -0
  15. package/dist/Cards/CardImage/types.js +3 -2
  16. package/dist/Cards/WarningCard/WarningCard.js +7 -5
  17. package/dist/Cards/WarningCard/index.js +1 -1
  18. package/dist/Cards/WarningCard/info.js +1 -1
  19. package/dist/Flex-86aee720.js +78 -0
  20. package/dist/Footer/Footer.js +5 -5
  21. package/dist/Forms/FormDefault/index.js +1 -1
  22. package/dist/Forms/FormDefault/info.js +9 -7
  23. package/dist/Forms/helpers/renderFormFields.js +1 -1
  24. package/dist/Forms/model/components.js +7 -5
  25. package/dist/Header/Header.js +1 -1
  26. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +12 -12
  27. package/dist/Header/components/HeaderMobile/HeaderMobile.js +1 -1
  28. package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
  29. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -10
  30. package/dist/Header/components/HeaderWeb/HeaderWeb.js +15 -15
  31. package/dist/HeroIconsBanner/HeroIconsBanner.js +73 -56
  32. package/dist/IconList/IconList.js +53 -33
  33. package/dist/ModalBody/index.js +1 -1
  34. package/dist/PageViewer/renderComponents.js +1 -1
  35. package/dist/PreviewList/PreviewList.js +19 -19
  36. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
  37. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  38. package/dist/RenderAllComponents/const.js +1 -1
  39. package/dist/SearchBlock/SearchBlock.js +102 -0
  40. package/dist/SearchBlock/index.js +4 -0
  41. package/dist/SearchBlock/info.js +11 -0
  42. package/dist/SearchBlock/schema.js +36 -0
  43. package/dist/assets/index.css +1 -1
  44. package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
  45. package/dist/{componentsMap-855b1df7.js → componentsMap-cac6c316.js} +4 -3
  46. package/dist/{data.mock-182979d1.js → data.mock-ebc679ec.js} +107 -27
  47. package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
  48. package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
  49. package/dist/{info-34fbb2a8.js → info-d05a1f02.js} +171 -158
  50. package/dist/main.js +107 -104
  51. package/dist/trash/HeroLargeCards/index.js +7 -6
  52. package/package.json +1 -1
@@ -28,8 +28,9 @@ import "../HeroPossibilityBanner/index.js";
28
28
  import "../PartnersColors/PartnersColors.js";
29
29
  import "../PreviewList/PreviewList.js";
30
30
  import "../Cards/CardImage/CardImage.js";
31
+ import "../Cards/CardImage/info.js";
31
32
  import "../Cards/ContentCard/ContentCard.js";
32
- import { a as rr, d as tr, e as ir } from "../info-34fbb2a8.js";
33
+ import { a as ir, d as pr, e as mr } from "../info-d05a1f02.js";
33
34
  import "../Cards/ColoredCard/index.js";
34
35
  import "../Cards/FeaturesCard/index.js";
35
36
  import "../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -59,14 +60,12 @@ import "react-dom";
59
60
  import "../AnimatedSwiper/info.js";
60
61
  import "../Banner/info.js";
61
62
  import "../BannerAndText/info.js";
62
- import "../HeroIconsBanner/info.js";
63
63
  import "../ButtonsList/info.js";
64
64
  import "../CardIconList/info.js";
65
65
  import "../CardImageList/info.js";
66
66
  import "../CardImageSecondary/info.js";
67
67
  import "../CardImageSecondaryList/info.js";
68
68
  import "../CardInfoTable/info.js";
69
- import "../Cards/CardImage/info.js";
70
69
  import "../Cards/ColoredCard/info.js";
71
70
  import "../Cards/ContentCard/info.js";
72
71
  import "../Cards/FeaturesCard/info.js";
@@ -79,6 +78,7 @@ import "../DownloadFile/components/DownloadFileMini/info.js";
79
78
  import "../Faq/info.js";
80
79
  import "../Footer/info.js";
81
80
  import "../Header/info.js";
81
+ import "../HeroIconsBanner/info.js";
82
82
  import "../HeroPossibilityBanner/info.js";
83
83
  import "../IconList/info.js";
84
84
  import "../InfoBanner/info.js";
@@ -91,6 +91,7 @@ import "../Partners/info.js";
91
91
  import "../PartnersColors/info.js";
92
92
  import "../PreviewList/info.js";
93
93
  import "../PromoPoster/info.js";
94
+ import "../SearchBlock/info.js";
94
95
  import "../Segments/info.js";
95
96
  import "../Space/info.js";
96
97
  import "../StandartTable/info.js";
@@ -104,9 +105,10 @@ import "../Video/VideoListMini/info.js";
104
105
  import "../VideoMainBanner/info.js";
105
106
  import "../Actions/types.js";
106
107
  import "../Actions/projectActions.js";
108
+ import "../Flex-86aee720.js";
107
109
  import "../HeroIconsBanner/HeroIconsBanner.js";
108
110
  export {
109
- rr as ActionCardList,
110
- tr as cards,
111
- ir as propsToEdit
111
+ ir as ActionCardList,
112
+ pr as cards,
113
+ mr as propsToEdit
112
114
  };
@@ -1,4 +1,4 @@
1
- import { a as r } from "../info-34fbb2a8.js";
1
+ import { a as r } from "../info-d05a1f02.js";
2
2
  export {
3
3
  r as ActionCardList
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "../index-0a5f313c.js";
2
- import { c as a } from "../info-34fbb2a8.js";
2
+ import { c as a } from "../info-d05a1f02.js";
3
3
  export {
4
4
  a as actionCardListInfo
5
5
  };
@@ -30,8 +30,9 @@ import "../HeroPossibilityBanner/index.js";
30
30
  import "../PartnersColors/PartnersColors.js";
31
31
  import "../PreviewList/PreviewList.js";
32
32
  import "../Cards/CardImage/CardImage.js";
33
+ import "../Cards/CardImage/info.js";
33
34
  import "../Cards/ContentCard/ContentCard.js";
34
- import "../info-34fbb2a8.js";
35
+ import "../info-d05a1f02.js";
35
36
  import "../Cards/ColoredCard/index.js";
36
37
  import "../Cards/FeaturesCard/index.js";
37
38
  import "../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -61,14 +62,12 @@ import { S as E } from "../size-b1291031.js";
61
62
  import "../AnimatedSwiper/info.js";
62
63
  import "../Banner/info.js";
63
64
  import "../BannerAndText/info.js";
64
- import "../HeroIconsBanner/info.js";
65
65
  import "../ButtonsList/info.js";
66
66
  import "../CardIconList/info.js";
67
67
  import "../CardImageList/info.js";
68
68
  import "../CardImageSecondary/info.js";
69
69
  import "../CardImageSecondaryList/info.js";
70
70
  import "../CardInfoTable/info.js";
71
- import "../Cards/CardImage/info.js";
72
71
  import "../Cards/ColoredCard/info.js";
73
72
  import "../Cards/ContentCard/info.js";
74
73
  import "../Cards/FeaturesCard/info.js";
@@ -81,6 +80,7 @@ import "../DownloadFile/components/DownloadFileMini/info.js";
81
80
  import "../Faq/info.js";
82
81
  import "../Footer/info.js";
83
82
  import "../Header/info.js";
83
+ import "../HeroIconsBanner/info.js";
84
84
  import "../HeroPossibilityBanner/info.js";
85
85
  import "../IconList/info.js";
86
86
  import "../InfoBanner/info.js";
@@ -93,6 +93,7 @@ import "../Partners/info.js";
93
93
  import "../PartnersColors/info.js";
94
94
  import "../PreviewList/info.js";
95
95
  import "../PromoPoster/info.js";
96
+ import "../SearchBlock/info.js";
96
97
  import "../Segments/info.js";
97
98
  import "../Space/info.js";
98
99
  import "../StandartTable/info.js";
@@ -106,6 +107,7 @@ import "../Video/VideoListMini/info.js";
106
107
  import "../VideoMainBanner/info.js";
107
108
  import "../Actions/types.js";
108
109
  import "../Actions/projectActions.js";
110
+ import "../Flex-86aee720.js";
109
111
  import "../HeroIconsBanner/HeroIconsBanner.js";
110
112
  const O = {
111
113
  type: "icon_cards",
@@ -1,6 +1,7 @@
1
- import "./data.mock-182979d1.js";
1
+ import "./data.mock-ebc679ec.js";
2
2
  import "./AnimatedSwiper/index.js";
3
3
  import "./Banner/Banner.js";
4
+ import "./ButtonsList/ButtonsList.js";
4
5
  import "./CardIconList/CardIconList.js";
5
6
  import "./CardImageList/CardImageList.js";
6
7
  import "./CardImageSecondaryList/CardImageSecondaryList.js";
@@ -8,7 +9,9 @@ import "./CardInfoTable/index.js";
8
9
  import "./ContentCardList/ContentCardList.js";
9
10
  import "./DownloadFile/components/DownloadFileBright/index.js";
10
11
  import "./Faq/Faq.js";
11
- import { b as ot, A as tt } from "./info-34fbb2a8.js";
12
+ import { b as pt, A as rt } from "./info-d05a1f02.js";
13
+ import "./HeroIconsBanner/HeroIconsBanner.js";
14
+ import "./IconList/IconList.js";
12
15
  import "./InfoBannerList/InfoBannerList.js";
13
16
  import "./IntroBanner/IntroBanner.js";
14
17
  import "./MainBanner/MainBanner.js";
@@ -16,6 +19,7 @@ import "./MultiCards/index.js";
16
19
  import "./Partners/Partners.js";
17
20
  import "./PartnersColors/PartnersColors.js";
18
21
  import "./PromoPoster/PromoPoster.js";
22
+ import "./SearchBlock/SearchBlock.js";
19
23
  import "./Segments/Segments.js";
20
24
  import "./StandartTable/index.js";
21
25
  import "./Stepper/Stepper.js";
@@ -34,6 +38,7 @@ import "./InstructionList/InstructionList.js";
34
38
  import "./HeroPossibilityBanner/index.js";
35
39
  import "./PreviewList/PreviewList.js";
36
40
  import "./Cards/CardImage/CardImage.js";
41
+ import "./Cards/CardImage/info.js";
37
42
  import "./Cards/ContentCard/ContentCard.js";
38
43
  import "./Cards/ColoredCard/index.js";
39
44
  import "./Cards/FeaturesCard/index.js";
@@ -58,14 +63,12 @@ import "react-dom";
58
63
  import "./AnimatedSwiper/info.js";
59
64
  import "./Banner/info.js";
60
65
  import "./BannerAndText/info.js";
61
- import "./HeroIconsBanner/info.js";
62
66
  import "./ButtonsList/info.js";
63
67
  import "./CardIconList/info.js";
64
68
  import "./CardImageList/info.js";
65
69
  import "./CardImageSecondary/info.js";
66
70
  import "./CardImageSecondaryList/info.js";
67
71
  import "./CardInfoTable/info.js";
68
- import "./Cards/CardImage/info.js";
69
72
  import "./Cards/ColoredCard/info.js";
70
73
  import "./Cards/ContentCard/info.js";
71
74
  import "./Cards/FeaturesCard/info.js";
@@ -78,6 +81,7 @@ import "./DownloadFile/components/DownloadFileMini/info.js";
78
81
  import "./Faq/info.js";
79
82
  import "./Footer/info.js";
80
83
  import "./Header/info.js";
84
+ import "./HeroIconsBanner/info.js";
81
85
  import "./HeroPossibilityBanner/info.js";
82
86
  import "./IconList/info.js";
83
87
  import "./InfoBanner/info.js";
@@ -90,6 +94,7 @@ import "./Partners/info.js";
90
94
  import "./PartnersColors/info.js";
91
95
  import "./PreviewList/info.js";
92
96
  import "./PromoPoster/info.js";
97
+ import "./SearchBlock/info.js";
93
98
  import "./Segments/info.js";
94
99
  import "./Space/info.js";
95
100
  import "./StandartTable/info.js";
@@ -102,9 +107,7 @@ import "./Video/VideoList/info.js";
102
107
  import "./Video/VideoListMini/info.js";
103
108
  import "./VideoMainBanner/info.js";
104
109
  import "./Actions/types.js";
105
- import "./Actions/projectActions.js";
106
- import "./HeroIconsBanner/HeroIconsBanner.js";
107
110
  export {
108
- ot as AllComponents,
109
- tt as AllComponentsData
111
+ pt as AllComponents,
112
+ rt as AllComponentsData
110
113
  };
@@ -1,103 +1,105 @@
1
- import { w as o, f as r, c as n } from "./info-34fbb2a8.js";
1
+ import { w as o, f as r, c as n } from "./info-d05a1f02.js";
2
2
  import { animatedSwiperInfo as t } from "./AnimatedSwiper/info.js";
3
3
  import { bannerInfo as i } from "./Banner/info.js";
4
4
  import { bannerAndTextInfo as m } from "./BannerAndText/info.js";
5
- import { heroIconsBannerInfo as f } from "./HeroIconsBanner/info.js";
6
- import { buttonsListInfo as a } from "./ButtonsList/info.js";
7
- import { cardIconListInfo as e } from "./CardIconList/info.js";
8
- import { cardImageListInfo as s } from "./CardImageList/info.js";
9
- import { cardImageSecondaryInfo as I } from "./CardImageSecondary/info.js";
10
- import { cardImageSecondaryListInfo as p } from "./CardImageSecondaryList/info.js";
11
- import { cardInfoTableInfo as d } from "./CardInfoTable/info.js";
12
- import { cardImageInfo as l } from "./Cards/CardImage/info.js";
13
- import { coloredCardInfo as C } from "./Cards/ColoredCard/info.js";
14
- import { contentCardInfo as L } from "./Cards/ContentCard/info.js";
15
- import { featuresCardInfo as c } from "./Cards/FeaturesCard/info.js";
16
- import { contentCardListInfo as B } from "./ContentCardList/info.js";
17
- import { downloadFileBannerInfo as w } from "./DownloadFile/components/DownloadFileBanner/info.js";
18
- import { downloadFileBrightInfo as F } from "./DownloadFile/components/DownloadFileBright/info.js";
19
- import { downloadFileFullInfo as g } from "./DownloadFile/components/DownloadFileFull/info.js";
20
- import { downloadFileHalfInfo as u } from "./DownloadFile/components/DownloadFileHalf/info.js";
21
- import { downloadFileMiniInfo as S } from "./DownloadFile/components/DownloadFileMini/info.js";
22
- import { faqInfo as b } from "./Faq/info.js";
23
- import { footerInfo as M } from "./Footer/info.js";
24
- import { headerInfo as P } from "./Header/info.js";
25
- import { heroPossibilityBannerInfo as T } from "./HeroPossibilityBanner/info.js";
26
- import { htmlContentInfo as D } from "./HtmlContent/info.js";
27
- import { iconListInfo as h } from "./IconList/info.js";
28
- import { infoBannerInfo as v } from "./InfoBanner/info.js";
29
- import { infoBannerListInfo as y } from "./InfoBannerList/info.js";
30
- import { instructionListInfo as H } from "./InstructionList/info.js";
31
- import { introBannerInfo as A } from "./IntroBanner/info.js";
32
- import { mainBannerInfo as k } from "./MainBanner/info.js";
5
+ import { buttonsListInfo as f } from "./ButtonsList/info.js";
6
+ import { cardIconListInfo as a } from "./CardIconList/info.js";
7
+ import { cardImageListInfo as e } from "./CardImageList/info.js";
8
+ import { cardImageSecondaryInfo as s } from "./CardImageSecondary/info.js";
9
+ import { cardImageSecondaryListInfo as I } from "./CardImageSecondaryList/info.js";
10
+ import { cardInfoTableInfo as p } from "./CardInfoTable/info.js";
11
+ import { cardImageInfo as d } from "./Cards/CardImage/info.js";
12
+ import { coloredCardInfo as l } from "./Cards/ColoredCard/info.js";
13
+ import { contentCardInfo as c } from "./Cards/ContentCard/info.js";
14
+ import { featuresCardInfo as C } from "./Cards/FeaturesCard/info.js";
15
+ import { contentCardListInfo as L } from "./ContentCardList/info.js";
16
+ import { downloadFileBannerInfo as B } from "./DownloadFile/components/DownloadFileBanner/info.js";
17
+ import { downloadFileBrightInfo as w } from "./DownloadFile/components/DownloadFileBright/info.js";
18
+ import { downloadFileFullInfo as F } from "./DownloadFile/components/DownloadFileFull/info.js";
19
+ import { downloadFileHalfInfo as g } from "./DownloadFile/components/DownloadFileHalf/info.js";
20
+ import { downloadFileMiniInfo as u } from "./DownloadFile/components/DownloadFileMini/info.js";
21
+ import { faqInfo as S } from "./Faq/info.js";
22
+ import { footerInfo as b } from "./Footer/info.js";
23
+ import { headerInfo as h } from "./Header/info.js";
24
+ import { heroIconsBannerInfo as M } from "./HeroIconsBanner/info.js";
25
+ import { heroPossibilityBannerInfo as P } from "./HeroPossibilityBanner/info.js";
26
+ import { htmlContentInfo as T } from "./HtmlContent/info.js";
27
+ import { iconListInfo as D } from "./IconList/info.js";
28
+ import { infoBannerInfo as k } from "./InfoBanner/info.js";
29
+ import { infoBannerListInfo as v } from "./InfoBannerList/info.js";
30
+ import { instructionListInfo as y } from "./InstructionList/info.js";
31
+ import { introBannerInfo as H } from "./IntroBanner/info.js";
32
+ import { mainBannerInfo as A } from "./MainBanner/info.js";
33
33
  import { multiCardsInfo as V } from "./MultiCards/info.js";
34
34
  import { partnersInfo as x } from "./Partners/info.js";
35
35
  import { partnersColorsInfo as q } from "./PartnersColors/info.js";
36
36
  import { previewListInfo as W } from "./PreviewList/info.js";
37
37
  import { promoPosterInfo as j } from "./PromoPoster/info.js";
38
- import { segmentsInfo as z } from "./Segments/info.js";
39
- import { spaceInfo as E } from "./Space/info.js";
40
- import { standartTableInfo as G } from "./StandartTable/info.js";
41
- import { stepperInfo as J } from "./Stepper/info.js";
42
- import { swiperListInfo as K } from "./SwiperList/info.js";
43
- import { tasksBannerInfo as N } from "./TasksBanner/info.js";
44
- import { tasksBannerListInfo as O } from "./TasksBannerList/info.js";
45
- import { videoFullInfo as Q } from "./Video/VideoFull/info.js";
46
- import { videoListInfo as R } from "./Video/VideoList/info.js";
47
- import { videoListMiniInfo as U } from "./Video/VideoListMini/info.js";
48
- import { videoMainBannerInfo as X } from "./VideoMainBanner/info.js";
49
- const Oo = {
50
- MainBanner: k,
38
+ import { searchBlockInfo as z } from "./SearchBlock/info.js";
39
+ import { segmentsInfo as E } from "./Segments/info.js";
40
+ import { spaceInfo as G } from "./Space/info.js";
41
+ import { standartTableInfo as J } from "./StandartTable/info.js";
42
+ import { stepperInfo as K } from "./Stepper/info.js";
43
+ import { swiperListInfo as N } from "./SwiperList/info.js";
44
+ import { tasksBannerInfo as O } from "./TasksBanner/info.js";
45
+ import { tasksBannerListInfo as Q } from "./TasksBannerList/info.js";
46
+ import { videoFullInfo as R } from "./Video/VideoFull/info.js";
47
+ import { videoListInfo as U } from "./Video/VideoList/info.js";
48
+ import { videoListMiniInfo as X } from "./Video/VideoListMini/info.js";
49
+ import { videoMainBannerInfo as Y } from "./VideoMainBanner/info.js";
50
+ const Ro = {
51
+ MainBanner: A,
51
52
  Banner: i,
52
53
  BannerAndText: m,
53
- CardImageList: s,
54
- Stepper: J,
55
- Segments: z,
56
- VideoFull: Q,
57
- VideoList: R,
58
- VideoListMini: U,
59
- ContentCardList: B,
60
- CardIconList: e,
54
+ CardImageList: e,
55
+ Stepper: K,
56
+ Segments: E,
57
+ VideoFull: R,
58
+ VideoList: U,
59
+ VideoListMini: X,
60
+ ContentCardList: L,
61
+ CardIconList: a,
61
62
  MultiCards: V,
62
63
  Partners: x,
63
64
  PartnersColors: q,
64
65
  WarningCard: o,
65
- Faq: b,
66
- DownloadFileBanner: w,
67
- DownloadFileHalf: u,
68
- DownloadFileFull: g,
69
- DownloadFileMini: S,
70
- InstructionList: H,
66
+ Faq: S,
67
+ DownloadFileBanner: B,
68
+ DownloadFileHalf: g,
69
+ DownloadFileFull: F,
70
+ DownloadFileMini: u,
71
+ InstructionList: y,
71
72
  PreviewList: W,
72
- SwiperList: K,
73
+ SwiperList: N,
73
74
  AnimatedSwiper: t,
74
- InfoBannerList: y,
75
- TasksBannerList: O,
76
- VideoMainBanner: X,
77
- Space: E,
75
+ InfoBannerList: v,
76
+ TasksBannerList: Q,
77
+ VideoMainBanner: Y,
78
+ Space: G,
78
79
  PromoPoster: j,
79
- CardImageSecondaryList: p,
80
- CardInfoTable: d,
81
- StandartTable: G,
82
- IntroBanner: A,
83
- DownloadFileBright: F,
84
- Header: P,
85
- Footer: M,
86
- HtmlContent: D,
87
- HeroPossibilityBanner: T,
88
- CardImage: l,
89
- ContentCard: L,
90
- ColoredCard: C,
91
- FeaturesCard: c,
92
- InfoBanner: v,
93
- TasksBanner: N,
94
- CardImageSecondary: I,
80
+ CardImageSecondaryList: I,
81
+ CardInfoTable: p,
82
+ StandartTable: J,
83
+ IntroBanner: H,
84
+ DownloadFileBright: w,
85
+ Header: h,
86
+ Footer: b,
87
+ HtmlContent: T,
88
+ HeroPossibilityBanner: P,
89
+ CardImage: d,
90
+ ContentCard: c,
91
+ ColoredCard: l,
92
+ FeaturesCard: C,
93
+ InfoBanner: k,
94
+ TasksBanner: O,
95
+ CardImageSecondary: s,
95
96
  FormDefault: r,
96
97
  ActionCardList: n,
97
- HeroIconsBanner: f,
98
- ButtonsList: a,
99
- IconList: h
98
+ HeroIconsBanner: M,
99
+ ButtonsList: f,
100
+ IconList: D,
101
+ SearchBlock: z
100
102
  };
101
103
  export {
102
- Oo as AllComponentsInfo
104
+ Ro as AllComponentsInfo
103
105
  };
@@ -1,26 +1,32 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { actionsGenerator as p } from "../Actions/actionsGenerator.js";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { actionsGenerator as c } from "../Actions/actionsGenerator.js";
3
3
  import "../Actions/projectActions.js";
4
4
  import "../Actions/types.js";
5
- import { B as c } from "../index-875e92ce.js";
5
+ import { B as l } from "../index-875e92ce.js";
6
6
  import { b as f, a as u } from "../const-53dff524.js";
7
- const d = ({
8
- buttons: t,
9
- className: e,
10
- gap: n = 4
11
- }) => !t || t.length === 0 ? null : /* @__PURE__ */ a(
12
- "div",
7
+ import { F as B } from "../Flex-86aee720.js";
8
+ import { c as g } from "../cn-6a4bf187.js";
9
+ const C = ({
10
+ buttons: r,
11
+ className: n,
12
+ gap: a = 4
13
+ }) => !r || r.length === 0 ? null : /* @__PURE__ */ i(
14
+ B,
13
15
  {
14
- className: e || `flex flex-wrap items-center justify-center gap-${n} mb-16 max-tablet:mb-10 max-tablet:w-full`,
15
- children: t.map((o, m) => {
16
- const { action: l, link: s, ...r } = o, i = p(l, s);
17
- return /* @__PURE__ */ a(
18
- c,
16
+ wrap: !0,
17
+ align: "center",
18
+ justify: "center",
19
+ gap: `${a * 0.25}rem`,
20
+ className: g("w-full", n),
21
+ children: r.map((e, m) => {
22
+ const { action: s, link: p, ...t } = e, o = c(s, p);
23
+ return /* @__PURE__ */ i(
24
+ l,
19
25
  {
20
- variant: r.variant || f.Primary,
21
- size: r.size || u.XL,
22
- onClick: i == null ? void 0 : i.onClick,
23
- ...r
26
+ variant: t.variant || f.Primary,
27
+ size: t.size || u.XL,
28
+ onClick: o == null ? void 0 : o.onClick,
29
+ ...t
24
30
  },
25
31
  m
26
32
  );
@@ -28,5 +34,5 @@ const d = ({
28
34
  }
29
35
  );
30
36
  export {
31
- d as ButtonsList
37
+ C as ButtonsList
32
38
  };
@@ -1,78 +1,94 @@
1
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
- import { AllActionsObject as c } from "../Actions/types.js";
3
- import { CardImage as x } from "../Cards/CardImage/CardImage.js";
4
- import { CardImageVariant as m } from "../Cards/CardImage/types.js";
5
- import { FieldTypes as e } from "../Types/FiledTypes.js";
6
- import { B as f } from "../index-875e92ce.js";
7
- import { B as d } from "../const-53dff524.js";
8
- import { C as g } from "../ComponentContainer-dca711c6.js";
9
- import { c as p } from "../cn-6a4bf187.js";
10
- const b = {
11
- type: "cards",
12
- dataType: "array",
13
- label: "Карточки",
14
- data: {
15
- action: c,
16
- title: e.TITLE,
17
- description: e.DESCRIPTION,
18
- image: e.FILE,
19
- is_black: e.BOOLEAN,
20
- variant: {
21
- options: [
1
+ import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
+ import { CardImage as g } from "../Cards/CardImage/CardImage.js";
3
+ import "../Cards/CardImage/info.js";
4
+ import { CardImageVariant as m, CardImageSize as n } from "../Cards/CardImage/types.js";
5
+ import { B as h } from "../index-875e92ce.js";
6
+ import { C as b } from "../ComponentContainer-dca711c6.js";
7
+ import { F as d } from "../Flex-86aee720.js";
8
+ import { c as i } from "../cn-6a4bf187.js";
9
+ import { propsToEdit as w } from "./schema.js";
10
+ const o = {
11
+ [m.PRIMARY]: {
12
+ title: "text-black",
13
+ description: "text-graySoft",
14
+ container: ""
15
+ },
16
+ [m.SECONDARY]: {
17
+ title: "text-white",
18
+ description: "text-white/80",
19
+ container: "max-w-[1440px]"
20
+ }
21
+ }, C = {
22
+ [n.SMALL]: "font-extrabold text-[52px] leading-none",
23
+ [n.LARGE]: "font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]"
24
+ }, N = ({
25
+ cards: l,
26
+ title: s,
27
+ description: p,
28
+ grid: c,
29
+ button: x,
30
+ variant: r = m.PRIMARY,
31
+ size: a = n.LARGE
32
+ }) => /* @__PURE__ */ t(b, { className: i(o[r].container), children: /* @__PURE__ */ f(
33
+ d,
34
+ {
35
+ vertical: !0,
36
+ align: "center",
37
+ gap: 24,
38
+ className: "w-full",
39
+ children: [
40
+ s && /* @__PURE__ */ t(
41
+ "h2",
22
42
  {
23
- label: "Large",
24
- value: m.LARGE
25
- },
43
+ className: i(
44
+ "mb-6 max-tablet:mb-2 font-variant-numeric font-feature-settings",
45
+ C[a],
46
+ o[r].title
47
+ ),
48
+ children: s
49
+ }
50
+ ),
51
+ p && /* @__PURE__ */ t(
52
+ "p",
26
53
  {
27
- label: "Small",
28
- value: m.SMALL
54
+ className: i(
55
+ "text-lg leading-[26px] text-center",
56
+ o[r].description
57
+ ),
58
+ children: p
29
59
  }
30
- ],
31
- type: e.VARIANT
32
- }
33
- }
34
- }, u = ["title", "description", b, "grid", d], N = ({
35
- cards: r,
36
- title: l,
37
- description: i,
38
- grid: s,
39
- button: o
40
- }) => /* @__PURE__ */ t(g, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-[24px]", children: [
41
- l && /* @__PURE__ */ t(
42
- "h2",
43
- {
44
- className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
45
- mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
46
- children: l
47
- }
48
- ),
49
- i && /* @__PURE__ */ t("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: i }),
50
- /* @__PURE__ */ t(
51
- "div",
52
- {
53
- className: p(
54
- `w-full grid grid-cols-${s} items-stretch gap-6`,
55
- "max-tablet:grid-cols-1"
56
60
  ),
57
- children: r == null ? void 0 : r.map((a) => /* @__PURE__ */ t(
58
- x,
61
+ /* @__PURE__ */ t(
62
+ "div",
59
63
  {
60
- data: a
61
- },
62
- a == null ? void 0 : a.id
63
- ))
64
- }
65
- ),
66
- o && /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-4", children: /* @__PURE__ */ t(
67
- f,
68
- {
69
- className: p("w-fit z-10 max-tablet:w-full"),
70
- ...o
71
- }
72
- ) })
73
- ] }) });
74
- N.propsToEdit = u;
64
+ className: i(
65
+ `w-full grid grid-cols-${c} items-stretch gap-6`,
66
+ "max-tablet:grid-cols-1"
67
+ ),
68
+ children: l == null ? void 0 : l.map((e) => /* @__PURE__ */ t(
69
+ g,
70
+ {
71
+ data: {
72
+ ...e,
73
+ variant: r || (e == null ? void 0 : e.variant),
74
+ size: a || (e == null ? void 0 : e.size)
75
+ }
76
+ },
77
+ e == null ? void 0 : e.id
78
+ ))
79
+ }
80
+ ),
81
+ x && /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-4", children: /* @__PURE__ */ t(
82
+ h,
83
+ {
84
+ className: i("w-fit z-10 max-tablet:w-full"),
85
+ ...x
86
+ }
87
+ ) })
88
+ ]
89
+ }
90
+ ) });
91
+ N.propsToEdit = w;
75
92
  export {
76
- N as CardImageList,
77
- u as propsToEdit
93
+ N as CardImageList
78
94
  };
@@ -1,5 +1,5 @@
1
1
  import { C as o } from "../index-0a5f313c.js";
2
- import { propsToEdit as t } from "./CardImageList.js";
2
+ import { propsToEdit as t } from "./schema.js";
3
3
  const i = {
4
4
  title: "Список карточек с изображениями",
5
5
  description: "Компонент для отображения списка карточек с изображениями, заголовками, описаниями и кнопками действий. Используется для представления продуктов, услуг или других элементов в виде сетки карточек.",