tabexseriescomponents 0.2.780 → 0.2.782

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
@@ -20,6 +20,7 @@ var IoMdClose = require('@react-icons/all-files/io/IoMdClose');
20
20
  var reactBootstrap = require('react-bootstrap');
21
21
  var imagekitioReact = require('imagekitio-react');
22
22
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
23
+ var _extends = require('@babel/runtime/helpers/extends');
23
24
  var ImageGallery = require('react-image-gallery');
24
25
  var MdAddShoppingCart = require('@react-icons/all-files/md/MdAddShoppingCart');
25
26
  var IoBagHandleOutline = require('@react-icons/all-files/io5/IoBagHandleOutline');
@@ -32,7 +33,7 @@ var FiShoppingCart = require('@react-icons/all-files/fi/FiShoppingCart');
32
33
  var AiFillStar$1 = require('@react-icons/all-files/ai/AiFillStar');
33
34
  var AiOutlineStar = require('@react-icons/all-files/ai/AiOutlineStar');
34
35
  var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
35
- require('@react-icons/all-files/io5/IoCall');
36
+ var IoCall = require('@react-icons/all-files/io5/IoCall');
36
37
  var FaPlus = require('@react-icons/all-files/fa/FaPlus');
37
38
  var FaMinus = require('@react-icons/all-files/fa/FaMinus');
38
39
  var FiBox$1 = require('@react-icons/all-files/fi/FiBox');
@@ -163,7 +164,6 @@ var GoStar = require('@react-icons/all-files/go/GoStar');
163
164
  var IoIosStar = require('@react-icons/all-files/io/IoIosStar');
164
165
  var reactCountdownCircleTimer = require('react-countdown-circle-timer');
165
166
  var BackgroundSlideshow = require('react-background-slideshow');
166
- var _extends = require('@babel/runtime/helpers/extends');
167
167
  var HiOutlineLocationMarker = require('@react-icons/all-files/hi/HiOutlineLocationMarker');
168
168
  var FiPhoneCall = require('@react-icons/all-files/fi/FiPhoneCall');
169
169
  var FaRegEye = require('@react-icons/all-files/fa/FaRegEye');
@@ -205,6 +205,7 @@ var Cookies__default = /*#__PURE__*/_interopDefaultLegacy(Cookies);
205
205
  var jwtDecode__default = /*#__PURE__*/_interopDefaultLegacy(jwtDecode);
206
206
  var FacebookLogin__default = /*#__PURE__*/_interopDefaultLegacy(FacebookLogin);
207
207
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
208
+ var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
208
209
  var ImageGallery__default = /*#__PURE__*/_interopDefaultLegacy(ImageGallery);
209
210
  var ReactStars__default = /*#__PURE__*/_interopDefaultLegacy(ReactStars);
210
211
  var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
@@ -218,7 +219,6 @@ var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
218
219
  var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
219
220
  var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
220
221
  var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
221
- var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
222
222
 
223
223
  // import './index.module.css'
224
224
  // import asd from './index2.module.css'
@@ -2516,7 +2516,7 @@ var DescriptionContent = function DescriptionContent(props) {
2516
2516
  function ownKeys$2A(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; }
2517
2517
  function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2518
2518
  var Product_itemtype = function Product_itemtype(props) {
2519
- var _authdetailsContext$i, _authdetailsContext$i2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i3, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _sizeguideimage$;
2519
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i4, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _authdetailsContext$i5, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i6, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _sizeguideimage$;
2520
2520
  var lang = props.actions.lang;
2521
2521
  var langdetect = props.actions.langdetect;
2522
2522
  var srcfromprops = props.actions.srcfromprops;
@@ -2578,6 +2578,12 @@ var Product_itemtype = function Product_itemtype(props) {
2578
2578
  _useState14 = _slicedToArray__default["default"](_useState13, 2),
2579
2579
  gallery = _useState14[0],
2580
2580
  setGallery = _useState14[1]; // Store reference to the gallery
2581
+ var Slideshowsettings = {
2582
+ indicators: true,
2583
+ arrows: true,
2584
+ pauseOnHover: false,
2585
+ scale: 2
2586
+ };
2581
2587
  var toggleFullScreen = function toggleFullScreen() {
2582
2588
  if (gallery) {
2583
2589
  gallery.toggleFullScreen();
@@ -2821,7 +2827,7 @@ var Product_itemtype = function Product_itemtype(props) {
2821
2827
  }
2822
2828
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2823
2829
  "class": ' col-lg-12 p-0 '
2824
- }, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2830
+ }, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
2825
2831
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
2826
2832
  style: {
2827
2833
  minHeight: sectionproperties.height + 'vh'
@@ -3345,7 +3351,7 @@ var Product_itemtype = function Product_itemtype(props) {
3345
3351
  size: sectionproperties.remove_quantitybtn_textfontsize
3346
3352
  }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
3347
3353
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
3348
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(2) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
3354
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(2) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
3349
3355
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
3350
3356
  onClick: function onClick() {
3351
3357
  var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
@@ -4017,7 +4023,7 @@ var Product_itemtype = function Product_itemtype(props) {
4017
4023
  "class": "my-3"
4018
4024
  })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
4019
4025
  "class": "col-lg-12 p-0 allcentered mt-2"
4020
- }, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && /*#__PURE__*/React__default["default"].createElement("div", {
4026
+ }, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
4021
4027
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
4022
4028
  style: {
4023
4029
  minHeight: sectionproperties.height + 'vh',
@@ -4144,7 +4150,348 @@ var Product_itemtype = function Product_itemtype(props) {
4144
4150
  dangerouslySetInnerHTML: {
4145
4151
  __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_ar
4146
4152
  }
4147
- })))))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
4153
+ }))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
4154
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
4155
+ style: {
4156
+ minHeight: '100vh'
4157
+ }
4158
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4159
+ "class": "row m-0 w-100"
4160
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4161
+ "class": "col-lg-12 p-0 mb-3"
4162
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4163
+ "class": "row m-0 w-100"
4164
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4165
+ "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'
4166
+ // style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4167
+ ,
4168
+ style: {
4169
+ height: '60vh'
4170
+ }
4171
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4172
+ "class": 'h-sm-auto',
4173
+ style: {
4174
+ position: 'relative',
4175
+ width: '100vw',
4176
+ // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4177
+ height: '60vh',
4178
+ overflow: 'hidden'
4179
+ }
4180
+ }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
4181
+ transitionDuration: 1500,
4182
+ duration: 1500,
4183
+ arrow: true,
4184
+ easing: "ease"
4185
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productimages) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.productimages.map(function (item, index) {
4186
+ if (item.is_size_guide != 1) {
4187
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4188
+ "class": "row m-0 w-100 h-sm-auto",
4189
+ style: {
4190
+ // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4191
+ height: '60vh'
4192
+ }
4193
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4194
+ "class": 'p-0 align-items-center d-flex',
4195
+ key: index,
4196
+ style: _defineProperty__default["default"]({
4197
+ direction: langdetect == 'en' ? 'ltr' : 'rtl',
4198
+ width: '100%',
4199
+ height: '100%'
4200
+ }, "height", '60vh')
4201
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
4202
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4203
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4204
+ path: '/tr:w-2000,h-700/' + item.path,
4205
+ style: {
4206
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
4207
+ margin: 0,
4208
+ padding: 0,
4209
+ width: '100%',
4210
+ height: '100%'
4211
+ }
4212
+ })));
4213
+ }
4214
+ }))))))), /*#__PURE__*/React__default["default"].createElement("div", {
4215
+ "class": "row m-0 w-100 px-5 mt-3 px-md-2"
4216
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4217
+ "class": "col-lg-9"
4218
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4219
+ "class": "row m-0 w-100 "
4220
+ }, sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), /*#__PURE__*/React__default["default"].createElement("div", {
4221
+ "class": "col-lg-12 p-0 text-start mb-2"
4222
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4223
+ className: "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex font-sm-15 ',
4224
+ style: {
4225
+ textAlign: langdetect == 'en' ? 'left' : 'right'
4226
+ }
4227
+ }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
4228
+ "class": "col-lg-12 p-0 text-start mb-4"
4229
+ }, /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
4230
+ actions: props.actions
4231
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4232
+ "class": "col-lg-12 p-0 text-start mb-4"
4233
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4234
+ className: 'm-0 p-0 wordbreak',
4235
+ style: {
4236
+ textAlign: langdetect == 'en' ? 'left' : 'right',
4237
+ color: sectionproperties.prodCatColor
4238
+ },
4239
+ dangerouslySetInnerHTML: {
4240
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.description_ar
4241
+ }
4242
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4243
+ "class": "col-lg-12 col-md-12 p-0 mb-4"
4244
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4245
+ "class": "row m-0 w-100"
4246
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
4247
+ allowMultipleExpanded: true,
4248
+ allowZeroExpanded: true,
4249
+ preExpanded: [0]
4250
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
4251
+ uuid: 0
4252
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
4253
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
4254
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
4255
+ if (state.expanded == true) {
4256
+ return /*#__PURE__*/React__default["default"].createElement("i", {
4257
+ className: ' h-100 d-flex align-items-center justify-content-end '
4258
+ }, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
4259
+ color: sectionproperties.prodCatColor,
4260
+ size: 20
4261
+ }));
4262
+ } else {
4263
+ return /*#__PURE__*/React__default["default"].createElement("i", {
4264
+ className: ' h-100 d-flex align-items-center justify-content-end '
4265
+ }, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
4266
+ color: sectionproperties.prodCatColor,
4267
+ size: 20
4268
+ }));
4269
+ }
4270
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
4271
+ className: "m-0 p-0 mx-4",
4272
+ style: {
4273
+ textAlign: langdetect == 'en' ? 'left' : 'right',
4274
+ fontWeight: 500,
4275
+ // fontWeight: sectionproperties.prodCatFontWeight,
4276
+ color: sectionproperties.prodCatColor,
4277
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
4278
+ fontSize: '24px'
4279
+ }
4280
+ }, langdetect == 'en' ? 'Facilities' : 'Facilities')))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
4281
+ className: "p-0"
4282
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4283
+ "class": "row m-0 w-100 pl-3 pr-3 mt-3"
4284
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productfeatures) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.map(function (fitem, findex) {
4285
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4286
+ "class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
4287
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4288
+ "class": "row m-0 w-100 text-start"
4289
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4290
+ "class": "col-lg-12 text-start text-uppercase p-0"
4291
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4292
+ style: {
4293
+ width: '30px'
4294
+ },
4295
+ "class": langdetect == 'en' ? 'mr-3' : 'ml-3'
4296
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
4297
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4298
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4299
+ path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
4300
+ loading: "lazy",
4301
+ style: {
4302
+ maxWidth: '100%',
4303
+ maxHeight: '100%'
4304
+ }
4305
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
4306
+ "class": "m-0 p-0",
4307
+ style: {
4308
+ color: sectionproperties.featurecolor,
4309
+ fontWeight: sectionproperties.featurefontweight,
4310
+ fontSize: 17
4311
+ // fontSize: sectionproperties.featurefontsize,
4312
+ }
4313
+ }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), fitem.type != 'Checkbox' && /*#__PURE__*/React__default["default"].createElement("div", {
4314
+ "class": "col-lg-12 text-start text-capitalize"
4315
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4316
+ "class": "m-0 p-0",
4317
+ style: {
4318
+ color: sectionproperties.featurevaluecolor,
4319
+ fontWeight: sectionproperties.featurevaluefontweight,
4320
+ fontSize: sectionproperties.featurevaluefontsize
4321
+ }
4322
+ }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
4323
+ }))))))), /*#__PURE__*/React__default["default"].createElement("div", {
4324
+ "class": "col-lg-12 col-md-12 p-0 mb-4"
4325
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4326
+ "class": "row m-0 w-100"
4327
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
4328
+ allowMultipleExpanded: true,
4329
+ allowZeroExpanded: true,
4330
+ preExpanded: [0]
4331
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
4332
+ uuid: 0
4333
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
4334
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
4335
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
4336
+ if (state.expanded == true) {
4337
+ return /*#__PURE__*/React__default["default"].createElement("i", {
4338
+ className: ' h-100 d-flex align-items-center justify-content-end '
4339
+ }, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
4340
+ color: sectionproperties.prodCatColor,
4341
+ size: 20
4342
+ }));
4343
+ } else {
4344
+ return /*#__PURE__*/React__default["default"].createElement("i", {
4345
+ className: ' h-100 d-flex align-items-center justify-content-end '
4346
+ }, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
4347
+ color: sectionproperties.prodCatColor,
4348
+ size: 20
4349
+ }));
4350
+ }
4351
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
4352
+ className: "m-0 p-0 mx-4",
4353
+ style: {
4354
+ textAlign: langdetect == 'en' ? 'left' : 'right',
4355
+ fontWeight: 500,
4356
+ // fontWeight: sectionproperties.prodCatFontWeight,
4357
+ color: sectionproperties.prodCatColor,
4358
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
4359
+ fontSize: '24px'
4360
+ }
4361
+ }, langdetect == 'en' ? 'Developer' : 'Developer')))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
4362
+ className: "p-0"
4363
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4364
+ "class": "row m-0 w-100 px-2 mt-3 d-flex flex-row",
4365
+ style: {
4366
+ color: '#000'
4367
+ }
4368
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4369
+ "class": "col-lg-2 col-md-12 mb-md-3"
4370
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4371
+ style: {
4372
+ width: '100px',
4373
+ borderRadius: 100,
4374
+ border: '1px solid #ccc'
4375
+ },
4376
+ "class": langdetect == 'en' ? 'mr-3' : 'ml-3'
4377
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
4378
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4379
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4380
+ path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.vendorinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.vendorlogourl,
4381
+ loading: "lazy",
4382
+ style: {
4383
+ maxWidth: '100%',
4384
+ maxHeight: '100%',
4385
+ borderRadius: 100
4386
+ }
4387
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
4388
+ "class": "col-lg-10 col-md-12"
4389
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4390
+ "class": "m-0 p-0",
4391
+ style: {
4392
+ fontSize: 17
4393
+ }
4394
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.vendorinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
4395
+ "class": "col-lg-3"
4396
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4397
+ "class": "row m-0 w-100"
4398
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4399
+ "class": "col-12 p-0 text-end text-md-center mb-5 mb-md-4"
4400
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
4401
+ className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
4402
+ onClick: function onClick() {
4403
+ var _fetchProductInfoQuer80;
4404
+ window.open('tel:' + ((_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.product_phonenumber), '_blank');
4405
+ },
4406
+ style: {
4407
+ width: '40%',
4408
+ borderRadius: 7,
4409
+ color: 'white',
4410
+ fontSize: 15,
4411
+ height: 43,
4412
+ background: '#005495'
4413
+ }
4414
+ }, /*#__PURE__*/React__default["default"].createElement(IoCall.IoCall, {
4415
+ size: 16
4416
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
4417
+ "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
4418
+ }, "Call Us")), /*#__PURE__*/React__default["default"].createElement("a", {
4419
+ href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
4420
+ target: "_blank",
4421
+ rel: "noopener noreferrer",
4422
+ style: {
4423
+ width: '40%'
4424
+ },
4425
+ "class": "mx-md-2"
4426
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
4427
+ className: ' d-flex align-items-center justify-content-center ',
4428
+ style: {
4429
+ width: '100%',
4430
+ borderRadius: 7,
4431
+ color: 'white',
4432
+ fontSize: 15,
4433
+ height: 43,
4434
+ background: '#4cd964'
4435
+ }
4436
+ }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
4437
+ size: 16
4438
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
4439
+ "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
4440
+ }, "WhatsApp")))), /*#__PURE__*/React__default["default"].createElement("div", {
4441
+ "class": "col-12 allcentered mb-3 p-md-0"
4442
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
4443
+ className: "".concat(productinfo_cssstyles.sizeguidebtn2, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
4444
+ onClick: function onClick() {
4445
+ setopensizeguidemodal(true);
4446
+ }
4447
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4448
+ "class": ' m-0 p-0 cursor-pointer '
4449
+ }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React__default["default"].createElement("div", {
4450
+ "class": "col-12 allcentered p-md-0 mb-md-5"
4451
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
4452
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
4453
+ onClick: function onClick() {
4454
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
4455
+ var _fetchProductInfoQuer81;
4456
+ window.open('tel:' + ((_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.product_phonenumber), '_blank');
4457
+ } else {
4458
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
4459
+ addtocartfunc();
4460
+ } else {
4461
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
4462
+ }
4463
+ }
4464
+ },
4465
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
4466
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
4467
+ className: ' d-flex align-items-center justify-content-center '
4468
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
4469
+ className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
4470
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
4471
+ className: "",
4472
+ size: sectionproperties.cartBtn_iconFontSize
4473
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
4474
+ className: "",
4475
+ size: sectionproperties.cartBtn_iconFontSize
4476
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
4477
+ className: "",
4478
+ size: sectionproperties.cartBtn_iconFontSize
4479
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
4480
+ className: "",
4481
+ size: sectionproperties.cartBtn_iconFontSize
4482
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
4483
+ className: "",
4484
+ size: sectionproperties.cartBtn_iconFontSize
4485
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
4486
+ size: sectionproperties.cartBtn_iconFontSize
4487
+ })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
4488
+ className: ' d-flex align-items-center justify-content-center '
4489
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
4490
+ color: sectionproperties.cartBtnTextcolor,
4491
+ width: "20px",
4492
+ height: "20px",
4493
+ duration: "1s"
4494
+ })))))))))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
4148
4495
  show: opensizeguidemodal,
4149
4496
  onHide: function onHide() {
4150
4497
  setopensizeguidemodal(false);
@@ -48070,7 +48417,7 @@ var Footer2 = function Footer2(props) {
48070
48417
  onClick: function onClick() {
48071
48418
  routingcountext(StaticPagesLinksContext.Wishlist);
48072
48419
  }
48073
- }, lang.wishlist), authdetailsContext.loggedin && sectionproperties.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48420
+ }, lang.wishlist), sectionproperties.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48074
48421
  "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
48075
48422
  }), authdetailsContext.loggedin && sectionproperties.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
48076
48423
  "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
@@ -84334,7 +84681,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
84334
84681
  _useState6 = _slicedToArray__default["default"](_useState5, 2);
84335
84682
  _useState6[0];
84336
84683
  _useState6[1];
84337
- props.actions.cardonclickfunctionContext;
84684
+ var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
84338
84685
  var _useState7 = React.useState({}),
84339
84686
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
84340
84687
  variants_iteminfo = _useState8[0],
@@ -84689,7 +85036,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
84689
85036
  cursor: 'pointer'
84690
85037
  },
84691
85038
  onClick: function onClick() {
84692
- // cardonclickfunctionContext('/productinfo/' + props.actions.productid, false, '');
85039
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, props.actions.item.productid, props.actions.fetchingtypeprops, null);
84693
85040
  }
84694
85041
  }, "+", (item === null || item === void 0 || (_item$values7 = item.values) === null || _item$values7 === void 0 ? void 0 : _item$values7.length) - 4));
84695
85042
  })));
@@ -85493,7 +85840,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
85493
85840
  sectionproperties: sectionproperties,
85494
85841
  item: item,
85495
85842
  cardonclickfunctionContext: cardonclickfunctionContext,
85496
- productid: item.productid
85843
+ fetchingtypeprops: props.fetchingtypeprops
85497
85844
  },
85498
85845
  foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
85499
85846
  setvariantObj(variantCompletedObj);