diy-template-components 2.0.54 → 2.0.55

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/build/index.es.js CHANGED
@@ -2168,29 +2168,30 @@ function NanumSquare() {
2168
2168
  }
2169
2169
 
2170
2170
  const TYPE_TO_COMPONENT_MAP$1 = {
2171
- BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$m; })),
2172
- GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
2173
- BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
2174
- BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
2175
- FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
2176
- TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
2177
- VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
2178
- VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
2179
- INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
2180
- TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
2181
- IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
2182
- FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
2183
- COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
2184
- TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
2185
- TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
2186
- CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
2187
- FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
2188
- WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
2189
- COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
2190
- FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
2191
- TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
2192
- EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
2193
- ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
2171
+ BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$n; })),
2172
+ GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$m; })),
2173
+ BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
2174
+ BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
2175
+ FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
2176
+ TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
2177
+ VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
2178
+ VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
2179
+ INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
2180
+ TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
2181
+ IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
2182
+ FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
2183
+ COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
2184
+ TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
2185
+ TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
2186
+ CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
2187
+ FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
2188
+ WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
2189
+ COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
2190
+ FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
2191
+ TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
2192
+ EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
2193
+ ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
2194
+ TIMER_AND_CALL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
2194
2195
  };
2195
2196
  const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
2196
2197
  const MemoisedSection$1 = /*#__PURE__*/memo(({
@@ -2308,8 +2309,7 @@ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2308
2309
  gradient = themeColor[1];
2309
2310
  darkMode = themeColor[2];
2310
2311
  }
2311
-
2312
- // console.log('color', allColors, gradient, darkMode);
2312
+ console.log('color', allColors, gradient, darkMode);
2313
2313
 
2314
2314
  // switch (color) {
2315
2315
  // case solidColors:
@@ -2942,7 +2942,7 @@ function BannerCarouselRight({
2942
2942
  })))));
2943
2943
  }
2944
2944
 
2945
- var index$m = /*#__PURE__*/Object.freeze({
2945
+ var index$n = /*#__PURE__*/Object.freeze({
2946
2946
  __proto__: null,
2947
2947
  'default': BannerCarouselRight
2948
2948
  });
@@ -3168,7 +3168,7 @@ function List({
3168
3168
  }))));
3169
3169
  }
3170
3170
 
3171
- var index$l = /*#__PURE__*/Object.freeze({
3171
+ var index$m = /*#__PURE__*/Object.freeze({
3172
3172
  __proto__: null,
3173
3173
  'default': List
3174
3174
  });
@@ -3463,7 +3463,7 @@ function BannerCarouselCenter({
3463
3463
  }))));
3464
3464
  }
3465
3465
 
3466
- var index$k = /*#__PURE__*/Object.freeze({
3466
+ var index$l = /*#__PURE__*/Object.freeze({
3467
3467
  __proto__: null,
3468
3468
  'default': BannerCarouselCenter
3469
3469
  });
@@ -3695,7 +3695,7 @@ function BannerCarouselLeft({
3695
3695
  })))));
3696
3696
  }
3697
3697
 
3698
- var index$j = /*#__PURE__*/Object.freeze({
3698
+ var index$k = /*#__PURE__*/Object.freeze({
3699
3699
  __proto__: null,
3700
3700
  'default': BannerCarouselLeft
3701
3701
  });
@@ -4091,7 +4091,7 @@ function SubscribeToNewsletter({
4091
4091
  })))))));
4092
4092
  }
4093
4093
 
4094
- var index$i = /*#__PURE__*/Object.freeze({
4094
+ var index$j = /*#__PURE__*/Object.freeze({
4095
4095
  __proto__: null,
4096
4096
  'default': SubscribeToNewsletter
4097
4097
  });
@@ -4379,7 +4379,7 @@ function Testimonials({
4379
4379
  }));
4380
4380
  }
4381
4381
 
4382
- var index$h = /*#__PURE__*/Object.freeze({
4382
+ var index$i = /*#__PURE__*/Object.freeze({
4383
4383
  __proto__: null,
4384
4384
  'default': Testimonials
4385
4385
  });
@@ -4785,7 +4785,7 @@ function VideoTestimonial({
4785
4785
  }))))));
4786
4786
  }
4787
4787
 
4788
- var index$g = /*#__PURE__*/Object.freeze({
4788
+ var index$h = /*#__PURE__*/Object.freeze({
4789
4789
  __proto__: null,
4790
4790
  'default': VideoTestimonial
4791
4791
  });
@@ -5021,7 +5021,7 @@ function Video({
5021
5021
  }, carouselContent))));
5022
5022
  }
5023
5023
 
5024
- var index$f = /*#__PURE__*/Object.freeze({
5024
+ var index$g = /*#__PURE__*/Object.freeze({
5025
5025
  __proto__: null,
5026
5026
  'default': Video
5027
5027
  });
@@ -5258,7 +5258,7 @@ function Info({
5258
5258
  }, carouselContent))));
5259
5259
  }
5260
5260
 
5261
- var index$e = /*#__PURE__*/Object.freeze({
5261
+ var index$f = /*#__PURE__*/Object.freeze({
5262
5262
  __proto__: null,
5263
5263
  'default': Info
5264
5264
  });
@@ -5377,7 +5377,7 @@ const TextSection = ({
5377
5377
  })))));
5378
5378
  };
5379
5379
 
5380
- var index$d = /*#__PURE__*/Object.freeze({
5380
+ var index$e = /*#__PURE__*/Object.freeze({
5381
5381
  __proto__: null,
5382
5382
  'default': TextSection
5383
5383
  });
@@ -5602,7 +5602,7 @@ function PhotoGallery({
5602
5602
  }, carouselContent))));
5603
5603
  }
5604
5604
 
5605
- var index$c = /*#__PURE__*/Object.freeze({
5605
+ var index$d = /*#__PURE__*/Object.freeze({
5606
5606
  __proto__: null,
5607
5607
  'default': PhotoGallery
5608
5608
  });
@@ -5785,7 +5785,7 @@ const Accordion = ({
5785
5785
  })));
5786
5786
  };
5787
5787
 
5788
- var index$b = /*#__PURE__*/Object.freeze({
5788
+ var index$c = /*#__PURE__*/Object.freeze({
5789
5789
  __proto__: null,
5790
5790
  'default': FAQListing
5791
5791
  });
@@ -5956,7 +5956,7 @@ const TextGrid = ({
5956
5956
  }, carouselContent))));
5957
5957
  };
5958
5958
 
5959
- var index$a = /*#__PURE__*/Object.freeze({
5959
+ var index$b = /*#__PURE__*/Object.freeze({
5960
5960
  __proto__: null,
5961
5961
  'default': TextGrid
5962
5962
  });
@@ -6488,7 +6488,7 @@ function SimpleCardsContainer({
6488
6488
  }, children);
6489
6489
  }
6490
6490
 
6491
- var index$9 = /*#__PURE__*/Object.freeze({
6491
+ var index$a = /*#__PURE__*/Object.freeze({
6492
6492
  __proto__: null,
6493
6493
  'default': courses
6494
6494
  });
@@ -6807,7 +6807,7 @@ function TeamCard({
6807
6807
  }, " ", getCarouselContent())));
6808
6808
  }
6809
6809
 
6810
- var index$8 = /*#__PURE__*/Object.freeze({
6810
+ var index$9 = /*#__PURE__*/Object.freeze({
6811
6811
  __proto__: null,
6812
6812
  'default': TeamCard
6813
6813
  });
@@ -7232,7 +7232,7 @@ function FormEnquiry({
7232
7232
  })))))));
7233
7233
  }
7234
7234
 
7235
- var index$7 = /*#__PURE__*/Object.freeze({
7235
+ var index$8 = /*#__PURE__*/Object.freeze({
7236
7236
  __proto__: null,
7237
7237
  'default': FormEnquiry
7238
7238
  });
@@ -7656,7 +7656,7 @@ function Contact({
7656
7656
  })))))));
7657
7657
  }
7658
7658
 
7659
- var index$6 = /*#__PURE__*/Object.freeze({
7659
+ var index$7 = /*#__PURE__*/Object.freeze({
7660
7660
  __proto__: null,
7661
7661
  'default': Contact
7662
7662
  });
@@ -8135,13 +8135,13 @@ function CoursePromotionPage$1({
8135
8135
  }))));
8136
8136
  }
8137
8137
 
8138
- var index$5 = /*#__PURE__*/Object.freeze({
8138
+ var index$6 = /*#__PURE__*/Object.freeze({
8139
8139
  __proto__: null,
8140
8140
  'default': CoursePromotionPage$1
8141
8141
  });
8142
8142
 
8143
8143
  const useCoursePromotionPage = createUseStyles(theme => {
8144
- // console.log(theme, 'themere');
8144
+ console.log(theme, 'themere');
8145
8145
  return {
8146
8146
  courseSuperContainer: {
8147
8147
  display: 'flex',
@@ -8727,7 +8727,7 @@ function CoursePromotionPage({
8727
8727
  }))));
8728
8728
  }
8729
8729
 
8730
- var index$4 = /*#__PURE__*/Object.freeze({
8730
+ var index$5 = /*#__PURE__*/Object.freeze({
8731
8731
  __proto__: null,
8732
8732
  'default': CoursePromotionPage
8733
8733
  });
@@ -9092,7 +9092,7 @@ const FormPage = ({
9092
9092
  })))));
9093
9093
  };
9094
9094
 
9095
- var index$3 = /*#__PURE__*/Object.freeze({
9095
+ var index$4 = /*#__PURE__*/Object.freeze({
9096
9096
  __proto__: null,
9097
9097
  'default': FormPage
9098
9098
  });
@@ -9240,7 +9240,7 @@ function Tiles({
9240
9240
  }, TileDiv)));
9241
9241
  }
9242
9242
 
9243
- var index$2 = /*#__PURE__*/Object.freeze({
9243
+ var index$3 = /*#__PURE__*/Object.freeze({
9244
9244
  __proto__: null,
9245
9245
  'default': Tiles
9246
9246
  });
@@ -9715,7 +9715,7 @@ function EmailDripMarket({
9715
9715
  })));
9716
9716
  }
9717
9717
 
9718
- var index$1 = /*#__PURE__*/Object.freeze({
9718
+ var index$2 = /*#__PURE__*/Object.freeze({
9719
9719
  __proto__: null,
9720
9720
  'default': EmailDripMarket
9721
9721
  });
@@ -10084,11 +10084,36 @@ function ABOUT_INSTITUTE({
10084
10084
  }, /*#__PURE__*/React.createElement(ImageJSX, null), /*#__PURE__*/React.createElement(ContentJSX, null)), /*#__PURE__*/React.createElement(HighlightJSX, null)));
10085
10085
  }
10086
10086
 
10087
- var index = /*#__PURE__*/Object.freeze({
10087
+ var index$1 = /*#__PURE__*/Object.freeze({
10088
10088
  __proto__: null,
10089
10089
  'default': ABOUT_INSTITUTE
10090
10090
  });
10091
10091
 
10092
+ const TimerAndCall = ({
10093
+ sectionData,
10094
+ extraProps = {}
10095
+ }) => {
10096
+ console.log('sid sectionData', sectionData, extraProps);
10097
+ const [nodeData] = sectionData?.components;
10098
+ return /*#__PURE__*/React.createElement("section", {
10099
+ className: classes.timerAndCallSection
10100
+ }, /*#__PURE__*/React.createElement("div", {
10101
+ className: classes.timerAndCallContainer
10102
+ }, /*#__PURE__*/React.createElement("div", {
10103
+ className: classes.timerAndCallBox
10104
+ }, nodeData?.showOffer?.metadata?.value ? /*#__PURE__*/React.createElement(React.Fragment, null) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
10105
+ ref: nodeData?.heading?.refSetter,
10106
+ dangerouslySetInnerHTML: {
10107
+ __html: nodeData?.title?.metadata?.value
10108
+ }
10109
+ })) : null)));
10110
+ };
10111
+
10112
+ var index = /*#__PURE__*/Object.freeze({
10113
+ __proto__: null,
10114
+ 'default': TimerAndCall
10115
+ });
10116
+
10092
10117
  const TYPE_TO_COMPONENT_MAP = {
10093
10118
  BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
10094
10119
  GRID_CARD: List,
@@ -10112,7 +10137,8 @@ const TYPE_TO_COMPONENT_MAP = {
10112
10137
  FORM_LANDING_PAGE: FormPage,
10113
10138
  TILES_SECTION: Tiles,
10114
10139
  EMAIL_DRIP_MARKET: EmailDripMarket,
10115
- ABOUT_INSTITUTE
10140
+ ABOUT_INSTITUTE,
10141
+ TIMER_AND_CALL: TimerAndCall
10116
10142
  };
10117
10143
  const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
10118
10144
  const MemoisedSection = /*#__PURE__*/memo(({