tabexseriescomponents 0.2.1147 → 0.2.1150

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
@@ -7270,7 +7270,7 @@ var Article_itemtype = function Article_itemtype(props) {
7270
7270
  function ownKeys$2B(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; }
7271
7271
  function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7272
7272
  var Productinfo = function Productinfo(props) {
7273
- var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i28, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101;
7273
+ var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
7274
7274
  var _useState = React.useState({}),
7275
7275
  _useState2 = _slicedToArray__default["default"](_useState, 2),
7276
7276
  ProductInfoObj = _useState2[0],
@@ -10197,92 +10197,6 @@ var Productinfo = function Productinfo(props) {
10197
10197
  productinfo_cssstyles: productinfo_cssstyles,
10198
10198
  sectionproperties: sectionproperties
10199
10199
  })
10200
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
10201
- className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
10202
- style: {
10203
- paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
10204
- paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
10205
- display: 'flex'
10206
- }
10207
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10208
- "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
10209
- style: {
10210
- paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
10211
- paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
10212
- marginBottom: sectionproperties.tabsmb + 'px',
10213
- paddingTop: sectionproperties.tabsPt + 'px',
10214
- paddingBottom: sectionproperties.tabsPb + 'px'
10215
- }
10216
- }, /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
10217
- value: tabIndex,
10218
- onChange: handleTabChange,
10219
- scrollButtons: "auto",
10220
- TabIndicatorProps: {
10221
- style: {
10222
- background: sectionproperties.activetabbordercolor
10223
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
10224
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
10225
- }
10226
- },
10227
- sx: {
10228
- '& button': {
10229
- color: sectionproperties.tabtextcolor,
10230
- fontWeight: sectionproperties.tabtextfontweight,
10231
- background: sectionproperties.tabcontainerbgcolor,
10232
- textTransform: sectionproperties.tabtexttexttransform,
10233
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
10234
- fontFamily: 'Poppins',
10235
- transition: '.3s',
10236
- fontSize: sectionproperties.tabtextfontsize + 'px'
10237
- },
10238
- '& button:hover': {
10239
- color: sectionproperties.tabscoloronhover,
10240
- fontFamily: 'Poppins',
10241
- transition: '.3s'
10242
- },
10243
- '& button.Mui-selected': {
10244
- color: sectionproperties.tabtextactivecolor,
10245
- background: sectionproperties.activetabbgcolor,
10246
- fontFamily: 'Poppins',
10247
- transition: '.3s'
10248
- }
10249
- },
10250
- variant: 'fullWidth'
10251
- // tabsfullwidth
10252
- }, /*#__PURE__*/React__default["default"].createElement(material.Tab, {
10253
- label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
10254
- onClick: function onClick() {
10255
- settabname('descriptiontab');
10256
- }
10257
- }), /*#__PURE__*/React__default["default"].createElement(material.Tab, {
10258
- label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
10259
- onClick: function onClick() {
10260
- settabname('shortdescriptiontab');
10261
- }
10262
- }))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
10263
- "class": "w-100 mt-5 mb-4"
10264
- }, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
10265
- "class": "col-lg-12 p-0 d-flex justify-content-start"
10266
- }, /*#__PURE__*/React__default["default"].createElement("p", {
10267
- className: 'm-0 p-0 wordbreak',
10268
- style: {
10269
- textAlign: langdetect == 'en' ? 'left' : 'right',
10270
- color: '#000000'
10271
- },
10272
- dangerouslySetInnerHTML: {
10273
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.description_ar
10274
- }
10275
- })), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
10276
- "class": "col-lg-12 p-0"
10277
- }, /*#__PURE__*/React__default["default"].createElement("p", {
10278
- className: 'm-0 p-0 wordbreak',
10279
- style: {
10280
- textAlign: langdetect == 'en' ? 'left' : 'right',
10281
- color: sectionproperties.prodCatColor
10282
- },
10283
- dangerouslySetInnerHTML: {
10284
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.short_description_ar
10285
- }
10286
10200
  }))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
10287
10201
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
10288
10202
  style: {
@@ -55291,7 +55205,7 @@ var Footer5 = function Footer5(props) {
55291
55205
  width: '80%',
55292
55206
  height: '80%'
55293
55207
  }
55294
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '671fb5341ce93' && /*#__PURE__*/React__default["default"].createElement("div", {
55208
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '673c9cb0b9998' && /*#__PURE__*/React__default["default"].createElement("div", {
55295
55209
  "class": "col-12 d-flex d-md-none justify-content-center mt-3"
55296
55210
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55297
55211
  style: {
@@ -55396,7 +55310,7 @@ var Footer5 = function Footer5(props) {
55396
55310
  className: "h-100 allcentered"
55397
55311
  }, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
55398
55312
  size: sectionproperties.instgrambtniconfontsize
55399
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '671fb5341ce93' && /*#__PURE__*/React__default["default"].createElement("div", {
55313
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '673c9cb0b9998' && /*#__PURE__*/React__default["default"].createElement("div", {
55400
55314
  "class": "col-12 d-none d-md-flex justify-content-center mt-3"
55401
55315
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55402
55316
  style: {
@@ -86823,12 +86737,18 @@ var Card23 = function Card23(props) {
86823
86737
  style: {
86824
86738
  height: sectionproperties.image_height + 'px',
86825
86739
  marginBottom: sectionproperties.image_mb + 'px'
86740
+ },
86741
+ onClick: function onClick() {
86742
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86826
86743
  }
86827
86744
  }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
86828
86745
  "class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
86829
86746
  style: {
86830
86747
  height: sectionproperties.height_responsive + 'px',
86831
86748
  marginBottom: sectionproperties.image_mb + 'px'
86749
+ },
86750
+ onClick: function onClick() {
86751
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86832
86752
  }
86833
86753
  }, Image('responsive')), /*#__PURE__*/React__default["default"].createElement("div", {
86834
86754
  "class": sectionproperties.innersectionpaddinghorizontal == 0 ? 'row m-0 w-100' : 'row m-0 w-100 pl-sm-2 pr-sm-2',
package/dist/index.esm.js CHANGED
@@ -7219,7 +7219,7 @@ var Article_itemtype = function Article_itemtype(props) {
7219
7219
  function ownKeys$2B(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; }
7220
7220
  function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7221
7221
  var Productinfo = function Productinfo(props) {
7222
- var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i28, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101;
7222
+ var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
7223
7223
  var _useState = useState({}),
7224
7224
  _useState2 = _slicedToArray(_useState, 2),
7225
7225
  ProductInfoObj = _useState2[0],
@@ -10146,92 +10146,6 @@ var Productinfo = function Productinfo(props) {
10146
10146
  productinfo_cssstyles: productinfo_cssstyles,
10147
10147
  sectionproperties: sectionproperties
10148
10148
  })
10149
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
10150
- className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
10151
- style: {
10152
- paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
10153
- paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
10154
- display: 'flex'
10155
- }
10156
- }, /*#__PURE__*/React.createElement("div", {
10157
- "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
10158
- style: {
10159
- paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
10160
- paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
10161
- marginBottom: sectionproperties.tabsmb + 'px',
10162
- paddingTop: sectionproperties.tabsPt + 'px',
10163
- paddingBottom: sectionproperties.tabsPb + 'px'
10164
- }
10165
- }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Tabs, {
10166
- value: tabIndex,
10167
- onChange: handleTabChange,
10168
- scrollButtons: "auto",
10169
- TabIndicatorProps: {
10170
- style: {
10171
- background: sectionproperties.activetabbordercolor
10172
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
10173
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
10174
- }
10175
- },
10176
- sx: {
10177
- '& button': {
10178
- color: sectionproperties.tabtextcolor,
10179
- fontWeight: sectionproperties.tabtextfontweight,
10180
- background: sectionproperties.tabcontainerbgcolor,
10181
- textTransform: sectionproperties.tabtexttexttransform,
10182
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
10183
- fontFamily: 'Poppins',
10184
- transition: '.3s',
10185
- fontSize: sectionproperties.tabtextfontsize + 'px'
10186
- },
10187
- '& button:hover': {
10188
- color: sectionproperties.tabscoloronhover,
10189
- fontFamily: 'Poppins',
10190
- transition: '.3s'
10191
- },
10192
- '& button.Mui-selected': {
10193
- color: sectionproperties.tabtextactivecolor,
10194
- background: sectionproperties.activetabbgcolor,
10195
- fontFamily: 'Poppins',
10196
- transition: '.3s'
10197
- }
10198
- },
10199
- variant: 'fullWidth'
10200
- // tabsfullwidth
10201
- }, /*#__PURE__*/React.createElement(Tab, {
10202
- label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
10203
- onClick: function onClick() {
10204
- settabname('descriptiontab');
10205
- }
10206
- }), /*#__PURE__*/React.createElement(Tab, {
10207
- label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
10208
- onClick: function onClick() {
10209
- settabname('shortdescriptiontab');
10210
- }
10211
- }))), /*#__PURE__*/React.createElement(Box, {
10212
- "class": "w-100 mt-5 mb-4"
10213
- }, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
10214
- "class": "col-lg-12 p-0 d-flex justify-content-start"
10215
- }, /*#__PURE__*/React.createElement("p", {
10216
- className: 'm-0 p-0 wordbreak',
10217
- style: {
10218
- textAlign: langdetect == 'en' ? 'left' : 'right',
10219
- color: '#000000'
10220
- },
10221
- dangerouslySetInnerHTML: {
10222
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.description_ar
10223
- }
10224
- })), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
10225
- "class": "col-lg-12 p-0"
10226
- }, /*#__PURE__*/React.createElement("p", {
10227
- className: 'm-0 p-0 wordbreak',
10228
- style: {
10229
- textAlign: langdetect == 'en' ? 'left' : 'right',
10230
- color: sectionproperties.prodCatColor
10231
- },
10232
- dangerouslySetInnerHTML: {
10233
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.short_description_ar
10234
- }
10235
10149
  }))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
10236
10150
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
10237
10151
  style: {
@@ -55240,7 +55154,7 @@ var Footer5 = function Footer5(props) {
55240
55154
  width: '80%',
55241
55155
  height: '80%'
55242
55156
  }
55243
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '671fb5341ce93' && /*#__PURE__*/React.createElement("div", {
55157
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '673c9cb0b9998' && /*#__PURE__*/React.createElement("div", {
55244
55158
  "class": "col-12 d-flex d-md-none justify-content-center mt-3"
55245
55159
  }, /*#__PURE__*/React.createElement("p", {
55246
55160
  style: {
@@ -55345,7 +55259,7 @@ var Footer5 = function Footer5(props) {
55345
55259
  className: "h-100 allcentered"
55346
55260
  }, /*#__PURE__*/React.createElement(FaTelegramPlane, {
55347
55261
  size: sectionproperties.instgrambtniconfontsize
55348
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '671fb5341ce93' && /*#__PURE__*/React.createElement("div", {
55262
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '673c9cb0b9998' && /*#__PURE__*/React.createElement("div", {
55349
55263
  "class": "col-12 d-none d-md-flex justify-content-center mt-3"
55350
55264
  }, /*#__PURE__*/React.createElement("p", {
55351
55265
  style: {
@@ -86772,12 +86686,18 @@ var Card23 = function Card23(props) {
86772
86686
  style: {
86773
86687
  height: sectionproperties.image_height + 'px',
86774
86688
  marginBottom: sectionproperties.image_mb + 'px'
86689
+ },
86690
+ onClick: function onClick() {
86691
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86775
86692
  }
86776
86693
  }, Image('normal')), /*#__PURE__*/React.createElement("div", {
86777
86694
  "class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
86778
86695
  style: {
86779
86696
  height: sectionproperties.height_responsive + 'px',
86780
86697
  marginBottom: sectionproperties.image_mb + 'px'
86698
+ },
86699
+ onClick: function onClick() {
86700
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86781
86701
  }
86782
86702
  }, Image('responsive')), /*#__PURE__*/React.createElement("div", {
86783
86703
  "class": sectionproperties.innersectionpaddinghorizontal == 0 ? 'row m-0 w-100' : 'row m-0 w-100 pl-sm-2 pr-sm-2',
package/dist/index.umd.js CHANGED
@@ -7079,7 +7079,7 @@
7079
7079
  function ownKeys$2B(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; }
7080
7080
  function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7081
7081
  var Productinfo = function Productinfo(props) {
7082
- var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i28, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101;
7082
+ var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
7083
7083
  var _useState = React.useState({}),
7084
7084
  _useState2 = _slicedToArray__default["default"](_useState, 2),
7085
7085
  ProductInfoObj = _useState2[0],
@@ -10006,92 +10006,6 @@
10006
10006
  productinfo_cssstyles: productinfo_cssstyles,
10007
10007
  sectionproperties: sectionproperties
10008
10008
  })
10009
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
10010
- className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
10011
- style: {
10012
- paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
10013
- paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
10014
- display: 'flex'
10015
- }
10016
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10017
- "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
10018
- style: {
10019
- paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
10020
- paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
10021
- marginBottom: sectionproperties.tabsmb + 'px',
10022
- paddingTop: sectionproperties.tabsPt + 'px',
10023
- paddingBottom: sectionproperties.tabsPb + 'px'
10024
- }
10025
- }, /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
10026
- value: tabIndex,
10027
- onChange: handleTabChange,
10028
- scrollButtons: "auto",
10029
- TabIndicatorProps: {
10030
- style: {
10031
- background: sectionproperties.activetabbordercolor
10032
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
10033
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
10034
- }
10035
- },
10036
- sx: {
10037
- '& button': {
10038
- color: sectionproperties.tabtextcolor,
10039
- fontWeight: sectionproperties.tabtextfontweight,
10040
- background: sectionproperties.tabcontainerbgcolor,
10041
- textTransform: sectionproperties.tabtexttexttransform,
10042
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
10043
- fontFamily: 'Poppins',
10044
- transition: '.3s',
10045
- fontSize: sectionproperties.tabtextfontsize + 'px'
10046
- },
10047
- '& button:hover': {
10048
- color: sectionproperties.tabscoloronhover,
10049
- fontFamily: 'Poppins',
10050
- transition: '.3s'
10051
- },
10052
- '& button.Mui-selected': {
10053
- color: sectionproperties.tabtextactivecolor,
10054
- background: sectionproperties.activetabbgcolor,
10055
- fontFamily: 'Poppins',
10056
- transition: '.3s'
10057
- }
10058
- },
10059
- variant: 'fullWidth'
10060
- // tabsfullwidth
10061
- }, /*#__PURE__*/React__default["default"].createElement(material.Tab, {
10062
- label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
10063
- onClick: function onClick() {
10064
- settabname('descriptiontab');
10065
- }
10066
- }), /*#__PURE__*/React__default["default"].createElement(material.Tab, {
10067
- label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
10068
- onClick: function onClick() {
10069
- settabname('shortdescriptiontab');
10070
- }
10071
- }))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
10072
- "class": "w-100 mt-5 mb-4"
10073
- }, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
10074
- "class": "col-lg-12 p-0 d-flex justify-content-start"
10075
- }, /*#__PURE__*/React__default["default"].createElement("p", {
10076
- className: 'm-0 p-0 wordbreak',
10077
- style: {
10078
- textAlign: langdetect == 'en' ? 'left' : 'right',
10079
- color: '#000000'
10080
- },
10081
- dangerouslySetInnerHTML: {
10082
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.description_ar
10083
- }
10084
- })), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
10085
- "class": "col-lg-12 p-0"
10086
- }, /*#__PURE__*/React__default["default"].createElement("p", {
10087
- className: 'm-0 p-0 wordbreak',
10088
- style: {
10089
- textAlign: langdetect == 'en' ? 'left' : 'right',
10090
- color: sectionproperties.prodCatColor
10091
- },
10092
- dangerouslySetInnerHTML: {
10093
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.short_description_ar
10094
- }
10095
10009
  }))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
10096
10010
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
10097
10011
  style: {
@@ -55100,7 +55014,7 @@
55100
55014
  width: '80%',
55101
55015
  height: '80%'
55102
55016
  }
55103
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '671fb5341ce93' && /*#__PURE__*/React__default["default"].createElement("div", {
55017
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '673c9cb0b9998' && /*#__PURE__*/React__default["default"].createElement("div", {
55104
55018
  "class": "col-12 d-flex d-md-none justify-content-center mt-3"
55105
55019
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55106
55020
  style: {
@@ -55205,7 +55119,7 @@
55205
55119
  className: "h-100 allcentered"
55206
55120
  }, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
55207
55121
  size: sectionproperties.instgrambtniconfontsize
55208
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '671fb5341ce93' && /*#__PURE__*/React__default["default"].createElement("div", {
55122
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '673c9cb0b9998' && /*#__PURE__*/React__default["default"].createElement("div", {
55209
55123
  "class": "col-12 d-none d-md-flex justify-content-center mt-3"
55210
55124
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55211
55125
  style: {
@@ -86632,12 +86546,18 @@
86632
86546
  style: {
86633
86547
  height: sectionproperties.image_height + 'px',
86634
86548
  marginBottom: sectionproperties.image_mb + 'px'
86549
+ },
86550
+ onClick: function onClick() {
86551
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86635
86552
  }
86636
86553
  }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
86637
86554
  "class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
86638
86555
  style: {
86639
86556
  height: sectionproperties.height_responsive + 'px',
86640
86557
  marginBottom: sectionproperties.image_mb + 'px'
86558
+ },
86559
+ onClick: function onClick() {
86560
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86641
86561
  }
86642
86562
  }, Image('responsive')), /*#__PURE__*/React__default["default"].createElement("div", {
86643
86563
  "class": sectionproperties.innersectionpaddinghorizontal == 0 ? 'row m-0 w-100' : 'row m-0 w-100 pl-sm-2 pr-sm-2',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1147",
3
+ "version": "0.2.1150",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",