tabexseriescomponents 0.0.382 → 0.0.383

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/index.cjs.js CHANGED
@@ -35835,7 +35835,7 @@ styleInject(css_248z$m);
35835
35835
  function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
35836
35836
  function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
35837
35837
  var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
35838
- var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
35838
+ var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
35839
35839
  var _useState = React.useState(''),
35840
35840
  _useState2 = _slicedToArray__default["default"](_useState, 2),
35841
35841
  sectionproperties = _useState2[0],
@@ -35856,6 +35856,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
35856
35856
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
35857
35857
  var ikimagecredcontext = props.actions.ikimagecredcontext;
35858
35858
  var actions = props.actions;
35859
+ var _useState3 = React.useState([]),
35860
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
35861
+ textarray = _useState4[0],
35862
+ settextarray = _useState4[1];
35859
35863
  React.useEffect(function () {
35860
35864
  var secpropobj = {};
35861
35865
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -35872,10 +35876,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
35872
35876
  }
35873
35877
  setsectionproperties(_objectSpread$1B({}, secpropobj));
35874
35878
  }, [StatePagePropertiesContext]);
35875
- var _useState3 = React.useState([]),
35876
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
35877
- logoarrayofobjects = _useState4[0],
35878
- setlogoarrayofobjects = _useState4[1];
35879
+ var _useState5 = React.useState([]),
35880
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
35881
+ logoarrayofobjects = _useState6[0],
35882
+ setlogoarrayofobjects = _useState6[1];
35879
35883
  React.useEffect(function () {
35880
35884
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
35881
35885
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -36164,12 +36168,53 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
36164
36168
  }
36165
36169
  })
36166
36170
  };
36171
+ React.useEffect(function () {
36172
+ if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
36173
+ var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
36174
+ if (Array.isArray(textarrayparsed)) {
36175
+ settextarray(_toConsumableArray__default["default"](textarrayparsed));
36176
+ }
36177
+ }
36178
+ }, [templateproperties_context]);
36167
36179
  return /*#__PURE__*/React__default["default"].createElement("div", {
36168
36180
  "class": "row m-0 w-100 d-flex align-items-center justify-content-center "
36169
36181
  }, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
36170
36182
  sectionpropertiesprops: sectionproperties,
36171
36183
  actions: actions
36172
- }), /*#__PURE__*/React__default["default"].createElement("div", {
36184
+ }), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36185
+ "class": "col-lg-12 px-0 allcentered",
36186
+ style: {
36187
+ background: templateproperties_context.textsliderbgcolor,
36188
+ paddingTop: templateproperties_context.paddinghorizontal + 'px',
36189
+ paddingBottom: templateproperties_context.paddinghorizontal + 'px'
36190
+ }
36191
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36192
+ "class": "col-lg-4 col-md-6"
36193
+ }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
36194
+ "class": "d-flex flex-row align-items-center"
36195
+ }, textarray.map(function (item, index) {
36196
+ return /*#__PURE__*/React__default["default"].createElement("p", {
36197
+ "class": header_cssstyles.textSlider + ' mb-0 p-0 ',
36198
+ style: {
36199
+ fontSize: templateproperties_context.textsliderfontsize + 'px',
36200
+ color: templateproperties_context.textsliderfontcolor,
36201
+ fontWeight: templateproperties_context.textsliderfontweight,
36202
+ marginLeft: 100,
36203
+ marginRight: 100
36204
+ }
36205
+ }, langdetect == 'en' ? item.textEnglish : item.textArabic);
36206
+ }))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
36207
+ "class": "w-100 allcentered"
36208
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
36209
+ "class": header_cssstyles.textSlider + ' mb-0 p-0 ',
36210
+ style: {
36211
+ fontSize: templateproperties_context.textsliderfontsize + 'px',
36212
+ color: templateproperties_context.textsliderfontcolor,
36213
+ fontWeight: templateproperties_context.textsliderfontweight
36214
+ }
36215
+ }, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
36216
+ // <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
36217
+ , /*#__PURE__*/React__default["default"].createElement("div", {
36173
36218
  "class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
36174
36219
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36175
36220
  "class": "row m-0 w-100 "
@@ -44910,7 +44955,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
44910
44955
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44911
44956
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44912
44957
  borderColor: sectionproperties.sectioncardbordercolor,
44913
- border: sectionproperties.sectioncardborderwidth + 'px solid'
44958
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
44959
+ '@media (max-width: 800px)': {
44960
+ paddingTop: sectionproperties.paddingverticalresponsive + 'px',
44961
+ paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
44962
+ }
44914
44963
  }),
44915
44964
  viewmorebtn: glamor.css({
44916
44965
  width: sectionproperties.viewmorebtn_Width + 'px',
@@ -50176,6 +50225,12 @@ var Twobgimages = function Twobgimages(props) {
50176
50225
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
50177
50226
  borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
50178
50227
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
50228
+ },
50229
+ height: '100%',
50230
+ width: '100%',
50231
+ '@media (max-width: 800px)': {
50232
+ width: sectionproperties.innerwidthheightresp + '%',
50233
+ height: sectionproperties.innerwidthheightresp + '%'
50179
50234
  }
50180
50235
  }),
50181
50236
  text1styles: glamor.css({
@@ -50254,7 +50309,7 @@ var Twobgimages = function Twobgimages(props) {
50254
50309
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50255
50310
  className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
50256
50311
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50257
- className: "row m-0 w-100"
50312
+ className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
50258
50313
  }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
50259
50314
  return /*#__PURE__*/React__default["default"].createElement("div", {
50260
50315
  className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
@@ -50280,16 +50335,13 @@ var Twobgimages = function Twobgimages(props) {
50280
50335
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50281
50336
  className: "row ml-0 mr-0 d-flex justify-content-center w-100"
50282
50337
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50283
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
50338
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
50284
50339
  style: {
50285
50340
  height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
50286
50341
  }
50287
50342
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50288
50343
  className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
50289
- style: {
50290
- height: '100%',
50291
- width: '100%'
50292
- }
50344
+ style: {}
50293
50345
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
50294
50346
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
50295
50347
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -50306,10 +50358,7 @@ var Twobgimages = function Twobgimages(props) {
50306
50358
  }
50307
50359
  })), /*#__PURE__*/React__default["default"].createElement("div", {
50308
50360
  className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
50309
- style: {
50310
- height: '100%',
50311
- width: '100%'
50312
- }
50361
+ style: {}
50313
50362
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
50314
50363
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
50315
50364
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -52266,6 +52315,32 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52266
52315
  backgroundColor: sectionproperties.linebgcolor,
52267
52316
  borderRadius: '5px'
52268
52317
  }
52318
+ }),
52319
+ imageimage: glamor.css({
52320
+ width: '100%',
52321
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52322
+ margin: 0,
52323
+ padding: 0,
52324
+ objectFit: sectionproperties.bgcovercontain,
52325
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
52326
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
52327
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
52328
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
52329
+ '@media (max-width: 800px)': {
52330
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
52331
+ }
52332
+ }),
52333
+ editortext: glamor.css({
52334
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
52335
+ color: sectionproperties.slideshowText2ContentColor,
52336
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
52337
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
52338
+ paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
52339
+ paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
52340
+ '@media (max-width: 800px)': {
52341
+ fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
52342
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
52343
+ }
52269
52344
  })
52270
52345
  };
52271
52346
  var SectionTitle = function SectionTitle() {
@@ -52350,15 +52425,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52350
52425
  justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
52351
52426
  }
52352
52427
  }, /*#__PURE__*/React__default["default"].createElement("p", {
52353
- "class": "pb-0 text-md-center pl-md-2 pr-md-2",
52354
- style: {
52355
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
52356
- color: sectionproperties.slideshowText2ContentColor,
52357
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
52358
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
52359
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
52360
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
52361
- },
52428
+ "class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
52429
+ style: {},
52362
52430
  dangerouslySetInnerHTML: {
52363
52431
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
52364
52432
  }
@@ -52441,20 +52509,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52441
52509
  }
52442
52510
  }
52443
52511
  }, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
52512
+ "class": section_styles.imageimage,
52444
52513
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
52445
52514
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
52446
52515
  path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
52447
- style: {
52448
- width: '100%',
52449
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52450
- margin: 0,
52451
- padding: 0,
52452
- objectFit: sectionproperties.bgcovercontain,
52453
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
52454
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
52455
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
52456
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
52457
- }
52516
+ style: {}
52458
52517
  }));
52459
52518
  };
52460
52519
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -52472,12 +52531,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52472
52531
  width: sectionproperties.width + 'vw'
52473
52532
  }
52474
52533
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52475
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
52534
+ "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
52476
52535
  style: {
52477
52536
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
52478
52537
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
52479
- paddingTop: sectionproperties.paddingTop + 'px',
52480
- paddingBottom: sectionproperties.paddingBottom + 'px',
52538
+ // paddingTop: sectionproperties.paddingTop + 'px',
52539
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
52481
52540
  marginTop: sectionproperties.marginTop + 'px',
52482
52541
  marginBottom: sectionproperties.marginBottom + 'px',
52483
52542
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
package/dist/index.esm.js CHANGED
@@ -35786,7 +35786,7 @@ styleInject(css_248z$m);
35786
35786
  function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
35787
35787
  function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
35788
35788
  var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
35789
- var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
35789
+ var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
35790
35790
  var _useState = useState(''),
35791
35791
  _useState2 = _slicedToArray(_useState, 2),
35792
35792
  sectionproperties = _useState2[0],
@@ -35807,6 +35807,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
35807
35807
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
35808
35808
  var ikimagecredcontext = props.actions.ikimagecredcontext;
35809
35809
  var actions = props.actions;
35810
+ var _useState3 = useState([]),
35811
+ _useState4 = _slicedToArray(_useState3, 2),
35812
+ textarray = _useState4[0],
35813
+ settextarray = _useState4[1];
35810
35814
  useEffect(function () {
35811
35815
  var secpropobj = {};
35812
35816
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -35823,10 +35827,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
35823
35827
  }
35824
35828
  setsectionproperties(_objectSpread$1B({}, secpropobj));
35825
35829
  }, [StatePagePropertiesContext]);
35826
- var _useState3 = useState([]),
35827
- _useState4 = _slicedToArray(_useState3, 2),
35828
- logoarrayofobjects = _useState4[0],
35829
- setlogoarrayofobjects = _useState4[1];
35830
+ var _useState5 = useState([]),
35831
+ _useState6 = _slicedToArray(_useState5, 2),
35832
+ logoarrayofobjects = _useState6[0],
35833
+ setlogoarrayofobjects = _useState6[1];
35830
35834
  useEffect(function () {
35831
35835
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
35832
35836
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -36115,12 +36119,53 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
36115
36119
  }
36116
36120
  })
36117
36121
  };
36122
+ useEffect(function () {
36123
+ if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
36124
+ var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
36125
+ if (Array.isArray(textarrayparsed)) {
36126
+ settextarray(_toConsumableArray(textarrayparsed));
36127
+ }
36128
+ }
36129
+ }, [templateproperties_context]);
36118
36130
  return /*#__PURE__*/React.createElement("div", {
36119
36131
  "class": "row m-0 w-100 d-flex align-items-center justify-content-center "
36120
36132
  }, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement(DownloadApp, {
36121
36133
  sectionpropertiesprops: sectionproperties,
36122
36134
  actions: actions
36123
- }), /*#__PURE__*/React.createElement("div", {
36135
+ }), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
36136
+ "class": "col-lg-12 px-0 allcentered",
36137
+ style: {
36138
+ background: templateproperties_context.textsliderbgcolor,
36139
+ paddingTop: templateproperties_context.paddinghorizontal + 'px',
36140
+ paddingBottom: templateproperties_context.paddinghorizontal + 'px'
36141
+ }
36142
+ }, /*#__PURE__*/React.createElement("div", {
36143
+ "class": "col-lg-4 col-md-6"
36144
+ }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React.createElement("marquee", null, /*#__PURE__*/React.createElement("span", {
36145
+ "class": "d-flex flex-row align-items-center"
36146
+ }, textarray.map(function (item, index) {
36147
+ return /*#__PURE__*/React.createElement("p", {
36148
+ "class": header_cssstyles.textSlider + ' mb-0 p-0 ',
36149
+ style: {
36150
+ fontSize: templateproperties_context.textsliderfontsize + 'px',
36151
+ color: templateproperties_context.textsliderfontcolor,
36152
+ fontWeight: templateproperties_context.textsliderfontweight,
36153
+ marginLeft: 100,
36154
+ marginRight: 100
36155
+ }
36156
+ }, langdetect == 'en' ? item.textEnglish : item.textArabic);
36157
+ }))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React.createElement("div", {
36158
+ "class": "w-100 allcentered"
36159
+ }, /*#__PURE__*/React.createElement("p", {
36160
+ "class": header_cssstyles.textSlider + ' mb-0 p-0 ',
36161
+ style: {
36162
+ fontSize: templateproperties_context.textsliderfontsize + 'px',
36163
+ color: templateproperties_context.textsliderfontcolor,
36164
+ fontWeight: templateproperties_context.textsliderfontweight
36165
+ }
36166
+ }, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
36167
+ // <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
36168
+ , /*#__PURE__*/React.createElement("div", {
36124
36169
  "class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
36125
36170
  }, /*#__PURE__*/React.createElement("div", {
36126
36171
  "class": "row m-0 w-100 "
@@ -44861,7 +44906,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
44861
44906
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44862
44907
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44863
44908
  borderColor: sectionproperties.sectioncardbordercolor,
44864
- border: sectionproperties.sectioncardborderwidth + 'px solid'
44909
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
44910
+ '@media (max-width: 800px)': {
44911
+ paddingTop: sectionproperties.paddingverticalresponsive + 'px',
44912
+ paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
44913
+ }
44865
44914
  }),
44866
44915
  viewmorebtn: css({
44867
44916
  width: sectionproperties.viewmorebtn_Width + 'px',
@@ -50127,6 +50176,12 @@ var Twobgimages = function Twobgimages(props) {
50127
50176
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
50128
50177
  borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
50129
50178
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
50179
+ },
50180
+ height: '100%',
50181
+ width: '100%',
50182
+ '@media (max-width: 800px)': {
50183
+ width: sectionproperties.innerwidthheightresp + '%',
50184
+ height: sectionproperties.innerwidthheightresp + '%'
50130
50185
  }
50131
50186
  }),
50132
50187
  text1styles: css({
@@ -50205,7 +50260,7 @@ var Twobgimages = function Twobgimages(props) {
50205
50260
  }, /*#__PURE__*/React.createElement("div", {
50206
50261
  className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
50207
50262
  }, /*#__PURE__*/React.createElement("div", {
50208
- className: "row m-0 w-100"
50263
+ className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
50209
50264
  }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
50210
50265
  return /*#__PURE__*/React.createElement("div", {
50211
50266
  className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
@@ -50231,16 +50286,13 @@ var Twobgimages = function Twobgimages(props) {
50231
50286
  }, /*#__PURE__*/React.createElement("div", {
50232
50287
  className: "row ml-0 mr-0 d-flex justify-content-center w-100"
50233
50288
  }, /*#__PURE__*/React.createElement("div", {
50234
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
50289
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
50235
50290
  style: {
50236
50291
  height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
50237
50292
  }
50238
50293
  }, /*#__PURE__*/React.createElement("div", {
50239
50294
  className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
50240
- style: {
50241
- height: '100%',
50242
- width: '100%'
50243
- }
50295
+ style: {}
50244
50296
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
50245
50297
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
50246
50298
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -50257,10 +50309,7 @@ var Twobgimages = function Twobgimages(props) {
50257
50309
  }
50258
50310
  })), /*#__PURE__*/React.createElement("div", {
50259
50311
  className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
50260
- style: {
50261
- height: '100%',
50262
- width: '100%'
50263
- }
50312
+ style: {}
50264
50313
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
50265
50314
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
50266
50315
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -52217,6 +52266,32 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52217
52266
  backgroundColor: sectionproperties.linebgcolor,
52218
52267
  borderRadius: '5px'
52219
52268
  }
52269
+ }),
52270
+ imageimage: css({
52271
+ width: '100%',
52272
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52273
+ margin: 0,
52274
+ padding: 0,
52275
+ objectFit: sectionproperties.bgcovercontain,
52276
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
52277
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
52278
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
52279
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
52280
+ '@media (max-width: 800px)': {
52281
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
52282
+ }
52283
+ }),
52284
+ editortext: css({
52285
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
52286
+ color: sectionproperties.slideshowText2ContentColor,
52287
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
52288
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
52289
+ paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
52290
+ paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
52291
+ '@media (max-width: 800px)': {
52292
+ fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
52293
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
52294
+ }
52220
52295
  })
52221
52296
  };
52222
52297
  var SectionTitle = function SectionTitle() {
@@ -52301,15 +52376,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52301
52376
  justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
52302
52377
  }
52303
52378
  }, /*#__PURE__*/React.createElement("p", {
52304
- "class": "pb-0 text-md-center pl-md-2 pr-md-2",
52305
- style: {
52306
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
52307
- color: sectionproperties.slideshowText2ContentColor,
52308
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
52309
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
52310
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
52311
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
52312
- },
52379
+ "class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
52380
+ style: {},
52313
52381
  dangerouslySetInnerHTML: {
52314
52382
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
52315
52383
  }
@@ -52392,20 +52460,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52392
52460
  }
52393
52461
  }
52394
52462
  }, imagesarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
52463
+ "class": section_styles.imageimage,
52395
52464
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
52396
52465
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
52397
52466
  path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
52398
- style: {
52399
- width: '100%',
52400
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52401
- margin: 0,
52402
- padding: 0,
52403
- objectFit: sectionproperties.bgcovercontain,
52404
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
52405
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
52406
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
52407
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
52408
- }
52467
+ style: {}
52409
52468
  }));
52410
52469
  };
52411
52470
  return /*#__PURE__*/React.createElement("div", {
@@ -52423,12 +52482,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52423
52482
  width: sectionproperties.width + 'vw'
52424
52483
  }
52425
52484
  }, /*#__PURE__*/React.createElement("div", {
52426
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
52485
+ "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
52427
52486
  style: {
52428
52487
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
52429
52488
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
52430
- paddingTop: sectionproperties.paddingTop + 'px',
52431
- paddingBottom: sectionproperties.paddingBottom + 'px',
52489
+ // paddingTop: sectionproperties.paddingTop + 'px',
52490
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
52432
52491
  marginTop: sectionproperties.marginTop + 'px',
52433
52492
  marginBottom: sectionproperties.marginBottom + 'px',
52434
52493
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
package/dist/index.umd.js CHANGED
@@ -35667,7 +35667,7 @@
35667
35667
  function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
35668
35668
  function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
35669
35669
  var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
35670
- var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
35670
+ var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
35671
35671
  var _useState = React.useState(''),
35672
35672
  _useState2 = _slicedToArray__default["default"](_useState, 2),
35673
35673
  sectionproperties = _useState2[0],
@@ -35688,6 +35688,10 @@
35688
35688
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
35689
35689
  var ikimagecredcontext = props.actions.ikimagecredcontext;
35690
35690
  var actions = props.actions;
35691
+ var _useState3 = React.useState([]),
35692
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
35693
+ textarray = _useState4[0],
35694
+ settextarray = _useState4[1];
35691
35695
  React.useEffect(function () {
35692
35696
  var secpropobj = {};
35693
35697
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -35704,10 +35708,10 @@
35704
35708
  }
35705
35709
  setsectionproperties(_objectSpread$1B({}, secpropobj));
35706
35710
  }, [StatePagePropertiesContext]);
35707
- var _useState3 = React.useState([]),
35708
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
35709
- logoarrayofobjects = _useState4[0],
35710
- setlogoarrayofobjects = _useState4[1];
35711
+ var _useState5 = React.useState([]),
35712
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
35713
+ logoarrayofobjects = _useState6[0],
35714
+ setlogoarrayofobjects = _useState6[1];
35711
35715
  React.useEffect(function () {
35712
35716
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
35713
35717
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -35996,12 +36000,53 @@
35996
36000
  }
35997
36001
  })
35998
36002
  };
36003
+ React.useEffect(function () {
36004
+ if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
36005
+ var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
36006
+ if (Array.isArray(textarrayparsed)) {
36007
+ settextarray(_toConsumableArray__default["default"](textarrayparsed));
36008
+ }
36009
+ }
36010
+ }, [templateproperties_context]);
35999
36011
  return /*#__PURE__*/React__default["default"].createElement("div", {
36000
36012
  "class": "row m-0 w-100 d-flex align-items-center justify-content-center "
36001
36013
  }, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
36002
36014
  sectionpropertiesprops: sectionproperties,
36003
36015
  actions: actions
36004
- }), /*#__PURE__*/React__default["default"].createElement("div", {
36016
+ }), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36017
+ "class": "col-lg-12 px-0 allcentered",
36018
+ style: {
36019
+ background: templateproperties_context.textsliderbgcolor,
36020
+ paddingTop: templateproperties_context.paddinghorizontal + 'px',
36021
+ paddingBottom: templateproperties_context.paddinghorizontal + 'px'
36022
+ }
36023
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36024
+ "class": "col-lg-4 col-md-6"
36025
+ }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
36026
+ "class": "d-flex flex-row align-items-center"
36027
+ }, textarray.map(function (item, index) {
36028
+ return /*#__PURE__*/React__default["default"].createElement("p", {
36029
+ "class": header_cssstyles.textSlider + ' mb-0 p-0 ',
36030
+ style: {
36031
+ fontSize: templateproperties_context.textsliderfontsize + 'px',
36032
+ color: templateproperties_context.textsliderfontcolor,
36033
+ fontWeight: templateproperties_context.textsliderfontweight,
36034
+ marginLeft: 100,
36035
+ marginRight: 100
36036
+ }
36037
+ }, langdetect == 'en' ? item.textEnglish : item.textArabic);
36038
+ }))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
36039
+ "class": "w-100 allcentered"
36040
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
36041
+ "class": header_cssstyles.textSlider + ' mb-0 p-0 ',
36042
+ style: {
36043
+ fontSize: templateproperties_context.textsliderfontsize + 'px',
36044
+ color: templateproperties_context.textsliderfontcolor,
36045
+ fontWeight: templateproperties_context.textsliderfontweight
36046
+ }
36047
+ }, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
36048
+ // <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
36049
+ , /*#__PURE__*/React__default["default"].createElement("div", {
36005
36050
  "class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
36006
36051
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36007
36052
  "class": "row m-0 w-100 "
@@ -44742,7 +44787,11 @@
44742
44787
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44743
44788
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
44744
44789
  borderColor: sectionproperties.sectioncardbordercolor,
44745
- border: sectionproperties.sectioncardborderwidth + 'px solid'
44790
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
44791
+ '@media (max-width: 800px)': {
44792
+ paddingTop: sectionproperties.paddingverticalresponsive + 'px',
44793
+ paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
44794
+ }
44746
44795
  }),
44747
44796
  viewmorebtn: glamor.css({
44748
44797
  width: sectionproperties.viewmorebtn_Width + 'px',
@@ -50008,6 +50057,12 @@
50008
50057
  borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
50009
50058
  borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
50010
50059
  borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
50060
+ },
50061
+ height: '100%',
50062
+ width: '100%',
50063
+ '@media (max-width: 800px)': {
50064
+ width: sectionproperties.innerwidthheightresp + '%',
50065
+ height: sectionproperties.innerwidthheightresp + '%'
50011
50066
  }
50012
50067
  }),
50013
50068
  text1styles: glamor.css({
@@ -50086,7 +50141,7 @@
50086
50141
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50087
50142
  className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
50088
50143
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50089
- className: "row m-0 w-100"
50144
+ className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
50090
50145
  }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
50091
50146
  return /*#__PURE__*/React__default["default"].createElement("div", {
50092
50147
  className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
@@ -50112,16 +50167,13 @@
50112
50167
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50113
50168
  className: "row ml-0 mr-0 d-flex justify-content-center w-100"
50114
50169
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50115
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
50170
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
50116
50171
  style: {
50117
50172
  height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
50118
50173
  }
50119
50174
  }, /*#__PURE__*/React__default["default"].createElement("div", {
50120
50175
  className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
50121
- style: {
50122
- height: '100%',
50123
- width: '100%'
50124
- }
50176
+ style: {}
50125
50177
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
50126
50178
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
50127
50179
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -50138,10 +50190,7 @@
50138
50190
  }
50139
50191
  })), /*#__PURE__*/React__default["default"].createElement("div", {
50140
50192
  className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
50141
- style: {
50142
- height: '100%',
50143
- width: '100%'
50144
- }
50193
+ style: {}
50145
50194
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
50146
50195
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
50147
50196
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
@@ -52098,6 +52147,32 @@
52098
52147
  backgroundColor: sectionproperties.linebgcolor,
52099
52148
  borderRadius: '5px'
52100
52149
  }
52150
+ }),
52151
+ imageimage: glamor.css({
52152
+ width: '100%',
52153
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52154
+ margin: 0,
52155
+ padding: 0,
52156
+ objectFit: sectionproperties.bgcovercontain,
52157
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
52158
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
52159
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
52160
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
52161
+ '@media (max-width: 800px)': {
52162
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
52163
+ }
52164
+ }),
52165
+ editortext: glamor.css({
52166
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
52167
+ color: sectionproperties.slideshowText2ContentColor,
52168
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
52169
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
52170
+ paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
52171
+ paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
52172
+ '@media (max-width: 800px)': {
52173
+ fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
52174
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
52175
+ }
52101
52176
  })
52102
52177
  };
52103
52178
  var SectionTitle = function SectionTitle() {
@@ -52182,15 +52257,8 @@
52182
52257
  justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
52183
52258
  }
52184
52259
  }, /*#__PURE__*/React__default["default"].createElement("p", {
52185
- "class": "pb-0 text-md-center pl-md-2 pr-md-2",
52186
- style: {
52187
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
52188
- color: sectionproperties.slideshowText2ContentColor,
52189
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
52190
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
52191
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
52192
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
52193
- },
52260
+ "class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
52261
+ style: {},
52194
52262
  dangerouslySetInnerHTML: {
52195
52263
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
52196
52264
  }
@@ -52273,20 +52341,11 @@
52273
52341
  }
52274
52342
  }
52275
52343
  }, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
52344
+ "class": section_styles.imageimage,
52276
52345
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
52277
52346
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
52278
52347
  path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
52279
- style: {
52280
- width: '100%',
52281
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52282
- margin: 0,
52283
- padding: 0,
52284
- objectFit: sectionproperties.bgcovercontain,
52285
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
52286
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
52287
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
52288
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
52289
- }
52348
+ style: {}
52290
52349
  }));
52291
52350
  };
52292
52351
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -52304,12 +52363,12 @@
52304
52363
  width: sectionproperties.width + 'vw'
52305
52364
  }
52306
52365
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52307
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
52366
+ "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
52308
52367
  style: {
52309
52368
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
52310
52369
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
52311
- paddingTop: sectionproperties.paddingTop + 'px',
52312
- paddingBottom: sectionproperties.paddingBottom + 'px',
52370
+ // paddingTop: sectionproperties.paddingTop + 'px',
52371
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
52313
52372
  marginTop: sectionproperties.marginTop + 'px',
52314
52373
  marginBottom: sectionproperties.marginBottom + 'px',
52315
52374
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.382",
3
+ "version": "0.0.383",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {