tabexseriescomponents 0.0.518 → 0.0.520

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
@@ -16807,10 +16807,15 @@ var CardsSection = function CardsSection(props) {
16807
16807
  cardobj.name = arrayItem.productinfo.name_ar;
16808
16808
  }
16809
16809
  if (langdetect == 'en') {
16810
- cardobj.description = arrayItem.productinfo.description_en;
16810
+ cardobj.description = arrayItem.short_description_en;
16811
16811
  } else {
16812
16812
  cardobj.description = arrayItem.productinfo.description_ar;
16813
16813
  }
16814
+ if (langdetect == 'en') {
16815
+ cardobj.shortdescription = arrayItem.short_description_ar;
16816
+ } else {
16817
+ cardobj.shortdescription = arrayItem.productinfo.description_ar;
16818
+ }
16814
16819
  if (langdetect == 'en') {
16815
16820
  cardobj.shortdescription = arrayItem.short_description_en;
16816
16821
  } else {
@@ -28281,6 +28286,22 @@ var Simpleheader = function Simpleheader(props) {
28281
28286
  paddingTop: sectionproperties.header_paddingTop + 'px',
28282
28287
  paddingBottom: sectionproperties.header_paddingBottom + 'px',
28283
28288
  backgroundColor: sectionproperties.header_backgroundColor
28289
+ })), _defineProperty__default["default"](_header_cssstyles, "floatingbtn", glamor.css({
28290
+ width: sectionproperties.floatingbtnwidth + '%',
28291
+ height: sectionproperties.floatingbtnheight + 'px',
28292
+ background: sectionproperties.floatingbtnbg,
28293
+ fontSize: sectionproperties.floatingbtnfontsize + 'px',
28294
+ color: sectionproperties.floatingbtncolor,
28295
+ borderRadius: 10,
28296
+ ':hover': {
28297
+ color: sectionproperties.floatingbtncolorhover,
28298
+ backgroundColor: sectionproperties.floatingbtnbghover,
28299
+ transitions: '.3s',
28300
+ cursor: 'pointer'
28301
+ },
28302
+ '@media (max-width: 800px)': {
28303
+ width: '50%'
28304
+ }
28284
28305
  })), _header_cssstyles);
28285
28306
  return /*#__PURE__*/React__default["default"].createElement("div", {
28286
28307
  "class": "row m-0 w-100 d-flex align-items-center justify-content-center ",
@@ -28288,7 +28309,25 @@ var Simpleheader = function Simpleheader(props) {
28288
28309
  marginTop: sectionproperties.header_marginTop + 'px',
28289
28310
  marginBottom: sectionproperties.header_marginBottom + 'px'
28290
28311
  }
28291
- }, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
28312
+ }, sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
28313
+ style: {
28314
+ position: 'fixed',
28315
+ bottom: 15,
28316
+ right: 15,
28317
+ zIndex: 999999,
28318
+ transition: 'all 0.3s ease-out',
28319
+ width: '100%'
28320
+ },
28321
+ "class": "text-end"
28322
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28323
+ "class": header_cssstyles.floatingbtn + ' allcentered ',
28324
+ style: {},
28325
+ onClick: function onClick() {
28326
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
28327
+ }
28328
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
28329
+ "class": "m-0 p-0"
28330
+ }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
28292
28331
  href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
28293
28332
  target: '_blank',
28294
28333
  style: {
@@ -73092,7 +73131,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
73092
73131
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
73093
73132
  },
73094
73133
  dangerouslySetInnerHTML: {
73095
- __html: item.description
73134
+ __html: item.shortdescription
73096
73135
  }
73097
73136
  }), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
73098
73137
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak2 p-0 ',
package/dist/index.esm.js CHANGED
@@ -16758,10 +16758,15 @@ var CardsSection = function CardsSection(props) {
16758
16758
  cardobj.name = arrayItem.productinfo.name_ar;
16759
16759
  }
16760
16760
  if (langdetect == 'en') {
16761
- cardobj.description = arrayItem.productinfo.description_en;
16761
+ cardobj.description = arrayItem.short_description_en;
16762
16762
  } else {
16763
16763
  cardobj.description = arrayItem.productinfo.description_ar;
16764
16764
  }
16765
+ if (langdetect == 'en') {
16766
+ cardobj.shortdescription = arrayItem.short_description_ar;
16767
+ } else {
16768
+ cardobj.shortdescription = arrayItem.productinfo.description_ar;
16769
+ }
16765
16770
  if (langdetect == 'en') {
16766
16771
  cardobj.shortdescription = arrayItem.short_description_en;
16767
16772
  } else {
@@ -28232,6 +28237,22 @@ var Simpleheader = function Simpleheader(props) {
28232
28237
  paddingTop: sectionproperties.header_paddingTop + 'px',
28233
28238
  paddingBottom: sectionproperties.header_paddingBottom + 'px',
28234
28239
  backgroundColor: sectionproperties.header_backgroundColor
28240
+ })), _defineProperty(_header_cssstyles, "floatingbtn", css({
28241
+ width: sectionproperties.floatingbtnwidth + '%',
28242
+ height: sectionproperties.floatingbtnheight + 'px',
28243
+ background: sectionproperties.floatingbtnbg,
28244
+ fontSize: sectionproperties.floatingbtnfontsize + 'px',
28245
+ color: sectionproperties.floatingbtncolor,
28246
+ borderRadius: 10,
28247
+ ':hover': {
28248
+ color: sectionproperties.floatingbtncolorhover,
28249
+ backgroundColor: sectionproperties.floatingbtnbghover,
28250
+ transitions: '.3s',
28251
+ cursor: 'pointer'
28252
+ },
28253
+ '@media (max-width: 800px)': {
28254
+ width: '50%'
28255
+ }
28235
28256
  })), _header_cssstyles);
28236
28257
  return /*#__PURE__*/React.createElement("div", {
28237
28258
  "class": "row m-0 w-100 d-flex align-items-center justify-content-center ",
@@ -28239,7 +28260,25 @@ var Simpleheader = function Simpleheader(props) {
28239
28260
  marginTop: sectionproperties.header_marginTop + 'px',
28240
28261
  marginBottom: sectionproperties.header_marginBottom + 'px'
28241
28262
  }
28242
- }, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("a", {
28263
+ }, sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
28264
+ style: {
28265
+ position: 'fixed',
28266
+ bottom: 15,
28267
+ right: 15,
28268
+ zIndex: 999999,
28269
+ transition: 'all 0.3s ease-out',
28270
+ width: '100%'
28271
+ },
28272
+ "class": "text-end"
28273
+ }, /*#__PURE__*/React.createElement("div", {
28274
+ "class": header_cssstyles.floatingbtn + ' allcentered ',
28275
+ style: {},
28276
+ onClick: function onClick() {
28277
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
28278
+ }
28279
+ }, /*#__PURE__*/React.createElement("p", {
28280
+ "class": "m-0 p-0"
28281
+ }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("a", {
28243
28282
  href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
28244
28283
  target: '_blank',
28245
28284
  style: {
@@ -73043,7 +73082,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
73043
73082
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
73044
73083
  },
73045
73084
  dangerouslySetInnerHTML: {
73046
- __html: item.description
73085
+ __html: item.shortdescription
73047
73086
  }
73048
73087
  }), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React.createElement("p", {
73049
73088
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak2 p-0 ',
package/dist/index.umd.js CHANGED
@@ -16633,10 +16633,15 @@
16633
16633
  cardobj.name = arrayItem.productinfo.name_ar;
16634
16634
  }
16635
16635
  if (langdetect == 'en') {
16636
- cardobj.description = arrayItem.productinfo.description_en;
16636
+ cardobj.description = arrayItem.short_description_en;
16637
16637
  } else {
16638
16638
  cardobj.description = arrayItem.productinfo.description_ar;
16639
16639
  }
16640
+ if (langdetect == 'en') {
16641
+ cardobj.shortdescription = arrayItem.short_description_ar;
16642
+ } else {
16643
+ cardobj.shortdescription = arrayItem.productinfo.description_ar;
16644
+ }
16640
16645
  if (langdetect == 'en') {
16641
16646
  cardobj.shortdescription = arrayItem.short_description_en;
16642
16647
  } else {
@@ -28107,6 +28112,22 @@
28107
28112
  paddingTop: sectionproperties.header_paddingTop + 'px',
28108
28113
  paddingBottom: sectionproperties.header_paddingBottom + 'px',
28109
28114
  backgroundColor: sectionproperties.header_backgroundColor
28115
+ })), _defineProperty__default["default"](_header_cssstyles, "floatingbtn", glamor.css({
28116
+ width: sectionproperties.floatingbtnwidth + '%',
28117
+ height: sectionproperties.floatingbtnheight + 'px',
28118
+ background: sectionproperties.floatingbtnbg,
28119
+ fontSize: sectionproperties.floatingbtnfontsize + 'px',
28120
+ color: sectionproperties.floatingbtncolor,
28121
+ borderRadius: 10,
28122
+ ':hover': {
28123
+ color: sectionproperties.floatingbtncolorhover,
28124
+ backgroundColor: sectionproperties.floatingbtnbghover,
28125
+ transitions: '.3s',
28126
+ cursor: 'pointer'
28127
+ },
28128
+ '@media (max-width: 800px)': {
28129
+ width: '50%'
28130
+ }
28110
28131
  })), _header_cssstyles);
28111
28132
  return /*#__PURE__*/React__default["default"].createElement("div", {
28112
28133
  "class": "row m-0 w-100 d-flex align-items-center justify-content-center ",
@@ -28114,7 +28135,25 @@
28114
28135
  marginTop: sectionproperties.header_marginTop + 'px',
28115
28136
  marginBottom: sectionproperties.header_marginBottom + 'px'
28116
28137
  }
28117
- }, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
28138
+ }, sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
28139
+ style: {
28140
+ position: 'fixed',
28141
+ bottom: 15,
28142
+ right: 15,
28143
+ zIndex: 999999,
28144
+ transition: 'all 0.3s ease-out',
28145
+ width: '100%'
28146
+ },
28147
+ "class": "text-end"
28148
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28149
+ "class": header_cssstyles.floatingbtn + ' allcentered ',
28150
+ style: {},
28151
+ onClick: function onClick() {
28152
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
28153
+ }
28154
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
28155
+ "class": "m-0 p-0"
28156
+ }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("a", {
28118
28157
  href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
28119
28158
  target: '_blank',
28120
28159
  style: {
@@ -72918,7 +72957,7 @@
72918
72957
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
72919
72958
  },
72920
72959
  dangerouslySetInnerHTML: {
72921
- __html: item.description
72960
+ __html: item.shortdescription
72922
72961
  }
72923
72962
  }), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
72924
72963
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak2 p-0 ',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.518",
3
+ "version": "0.0.520",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {