tabexseriescomponents 0.2.781 → 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.esm.js CHANGED
@@ -18,6 +18,7 @@ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
18
18
  import { Modal, Offcanvas } from 'react-bootstrap';
19
19
  import { IKImage } from 'imagekitio-react';
20
20
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
21
+ import _extends from '@babel/runtime/helpers/extends';
21
22
  import ImageGallery from 'react-image-gallery';
22
23
  import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
23
24
  import { IoBagHandleOutline } from '@react-icons/all-files/io5/IoBagHandleOutline';
@@ -30,11 +31,11 @@ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
30
31
  import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar';
31
32
  import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
32
33
  import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
33
- import '@react-icons/all-files/io5/IoCall';
34
+ import { IoCall } from '@react-icons/all-files/io5/IoCall';
34
35
  import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
35
36
  import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
36
37
  import { FiBox as FiBox$1 } from '@react-icons/all-files/fi/FiBox';
37
- import { Fade, Slide, Zoom } from 'react-slideshow-image';
38
+ import { Slide, Fade, Zoom } from 'react-slideshow-image';
38
39
  import { RiArrowGoBackLine } from '@react-icons/all-files/ri/RiArrowGoBackLine';
39
40
  import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
40
41
  import { FacebookShareButton, FacebookIcon, EmailShareButton, EmailIcon, TwitterShareButton, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon, TwitterIcon } from 'react-share';
@@ -161,7 +162,6 @@ import { GoStar } from '@react-icons/all-files/go/GoStar';
161
162
  import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
162
163
  import { CountdownCircleTimer } from 'react-countdown-circle-timer';
163
164
  import BackgroundSlideshow from 'react-background-slideshow';
164
- import _extends from '@babel/runtime/helpers/extends';
165
165
  import { HiOutlineLocationMarker } from '@react-icons/all-files/hi/HiOutlineLocationMarker';
166
166
  import { FiPhoneCall } from '@react-icons/all-files/fi/FiPhoneCall';
167
167
  import { FaRegEye } from '@react-icons/all-files/fa/FaRegEye';
@@ -2467,7 +2467,7 @@ var DescriptionContent = function DescriptionContent(props) {
2467
2467
  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; }
2468
2468
  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(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; }
2469
2469
  var Product_itemtype = function Product_itemtype(props) {
2470
- 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$;
2470
+ 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$;
2471
2471
  var lang = props.actions.lang;
2472
2472
  var langdetect = props.actions.langdetect;
2473
2473
  var srcfromprops = props.actions.srcfromprops;
@@ -2529,6 +2529,12 @@ var Product_itemtype = function Product_itemtype(props) {
2529
2529
  _useState14 = _slicedToArray(_useState13, 2),
2530
2530
  gallery = _useState14[0],
2531
2531
  setGallery = _useState14[1]; // Store reference to the gallery
2532
+ var Slideshowsettings = {
2533
+ indicators: true,
2534
+ arrows: true,
2535
+ pauseOnHover: false,
2536
+ scale: 2
2537
+ };
2532
2538
  var toggleFullScreen = function toggleFullScreen() {
2533
2539
  if (gallery) {
2534
2540
  gallery.toggleFullScreen();
@@ -2772,7 +2778,7 @@ var Product_itemtype = function Product_itemtype(props) {
2772
2778
  }
2773
2779
  }, /*#__PURE__*/React.createElement("div", {
2774
2780
  "class": ' col-lg-12 p-0 '
2775
- }, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
2781
+ }, 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.createElement("div", {
2776
2782
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
2777
2783
  style: {
2778
2784
  minHeight: sectionproperties.height + 'vh'
@@ -3296,7 +3302,7 @@ var Product_itemtype = function Product_itemtype(props) {
3296
3302
  size: sectionproperties.remove_quantitybtn_textfontsize
3297
3303
  }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
3298
3304
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
3299
- }, (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.createElement("span", {
3305
+ }, (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.createElement("span", {
3300
3306
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
3301
3307
  onClick: function onClick() {
3302
3308
  var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
@@ -3968,7 +3974,7 @@ var Product_itemtype = function Product_itemtype(props) {
3968
3974
  "class": "my-3"
3969
3975
  })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
3970
3976
  "class": "col-lg-12 p-0 allcentered mt-2"
3971
- }, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && /*#__PURE__*/React.createElement("div", {
3977
+ }, 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.createElement("div", {
3972
3978
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
3973
3979
  style: {
3974
3980
  minHeight: sectionproperties.height + 'vh',
@@ -4095,7 +4101,348 @@ var Product_itemtype = function Product_itemtype(props) {
4095
4101
  dangerouslySetInnerHTML: {
4096
4102
  __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
4097
4103
  }
4098
- })))))), sizeguideimage.length != 0 && /*#__PURE__*/React.createElement(Modal, {
4104
+ }))))), 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.createElement("div", {
4105
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
4106
+ style: {
4107
+ minHeight: '100vh'
4108
+ }
4109
+ }, /*#__PURE__*/React.createElement("div", {
4110
+ "class": "row m-0 w-100"
4111
+ }, /*#__PURE__*/React.createElement("div", {
4112
+ "class": "col-lg-12 p-0 mb-3"
4113
+ }, /*#__PURE__*/React.createElement("div", {
4114
+ "class": "row m-0 w-100"
4115
+ }, /*#__PURE__*/React.createElement("div", {
4116
+ "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'
4117
+ // style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4118
+ ,
4119
+ style: {
4120
+ height: '60vh'
4121
+ }
4122
+ }, /*#__PURE__*/React.createElement("div", {
4123
+ "class": 'h-sm-auto',
4124
+ style: {
4125
+ position: 'relative',
4126
+ width: '100vw',
4127
+ // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4128
+ height: '60vh',
4129
+ overflow: 'hidden'
4130
+ }
4131
+ }, /*#__PURE__*/React.createElement(Slide, _extends({}, Slideshowsettings, {
4132
+ transitionDuration: 1500,
4133
+ duration: 1500,
4134
+ arrow: true,
4135
+ easing: "ease"
4136
+ }), (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) {
4137
+ if (item.is_size_guide != 1) {
4138
+ return /*#__PURE__*/React.createElement("div", {
4139
+ "class": "row m-0 w-100 h-sm-auto",
4140
+ style: {
4141
+ // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4142
+ height: '60vh'
4143
+ }
4144
+ }, /*#__PURE__*/React.createElement("div", {
4145
+ "class": 'p-0 align-items-center d-flex',
4146
+ key: index,
4147
+ style: _defineProperty({
4148
+ direction: langdetect == 'en' ? 'ltr' : 'rtl',
4149
+ width: '100%',
4150
+ height: '100%'
4151
+ }, "height", '60vh')
4152
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
4153
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4154
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4155
+ path: '/tr:w-2000,h-700/' + item.path,
4156
+ style: {
4157
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
4158
+ margin: 0,
4159
+ padding: 0,
4160
+ width: '100%',
4161
+ height: '100%'
4162
+ }
4163
+ })));
4164
+ }
4165
+ }))))))), /*#__PURE__*/React.createElement("div", {
4166
+ "class": "row m-0 w-100 px-5 mt-3 px-md-2"
4167
+ }, /*#__PURE__*/React.createElement("div", {
4168
+ "class": "col-lg-9"
4169
+ }, /*#__PURE__*/React.createElement("div", {
4170
+ "class": "row m-0 w-100 "
4171
+ }, sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), /*#__PURE__*/React.createElement("div", {
4172
+ "class": "col-lg-12 p-0 text-start mb-2"
4173
+ }, /*#__PURE__*/React.createElement("p", {
4174
+ className: "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex font-sm-15 ',
4175
+ style: {
4176
+ textAlign: langdetect == 'en' ? 'left' : 'right'
4177
+ }
4178
+ }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React.createElement("div", {
4179
+ "class": "col-lg-12 p-0 text-start mb-4"
4180
+ }, /*#__PURE__*/React.createElement(ProductHeaderPricing, {
4181
+ actions: props.actions
4182
+ })), /*#__PURE__*/React.createElement("div", {
4183
+ "class": "col-lg-12 p-0 text-start mb-4"
4184
+ }, /*#__PURE__*/React.createElement("p", {
4185
+ className: 'm-0 p-0 wordbreak',
4186
+ style: {
4187
+ textAlign: langdetect == 'en' ? 'left' : 'right',
4188
+ color: sectionproperties.prodCatColor
4189
+ },
4190
+ dangerouslySetInnerHTML: {
4191
+ __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
4192
+ }
4193
+ })), /*#__PURE__*/React.createElement("div", {
4194
+ "class": "col-lg-12 col-md-12 p-0 mb-4"
4195
+ }, /*#__PURE__*/React.createElement("div", {
4196
+ "class": "row m-0 w-100"
4197
+ }, /*#__PURE__*/React.createElement(Accordion, {
4198
+ allowMultipleExpanded: true,
4199
+ allowZeroExpanded: true,
4200
+ preExpanded: [0]
4201
+ }, /*#__PURE__*/React.createElement(AccordionItem, {
4202
+ uuid: 0
4203
+ }, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
4204
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
4205
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
4206
+ if (state.expanded == true) {
4207
+ return /*#__PURE__*/React.createElement("i", {
4208
+ className: ' h-100 d-flex align-items-center justify-content-end '
4209
+ }, /*#__PURE__*/React.createElement(FaMinus, {
4210
+ color: sectionproperties.prodCatColor,
4211
+ size: 20
4212
+ }));
4213
+ } else {
4214
+ return /*#__PURE__*/React.createElement("i", {
4215
+ className: ' h-100 d-flex align-items-center justify-content-end '
4216
+ }, /*#__PURE__*/React.createElement(FaPlus, {
4217
+ color: sectionproperties.prodCatColor,
4218
+ size: 20
4219
+ }));
4220
+ }
4221
+ }), /*#__PURE__*/React.createElement("p", {
4222
+ className: "m-0 p-0 mx-4",
4223
+ style: {
4224
+ textAlign: langdetect == 'en' ? 'left' : 'right',
4225
+ fontWeight: 500,
4226
+ // fontWeight: sectionproperties.prodCatFontWeight,
4227
+ color: sectionproperties.prodCatColor,
4228
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
4229
+ fontSize: '24px'
4230
+ }
4231
+ }, langdetect == 'en' ? 'Facilities' : 'Facilities')))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
4232
+ className: "p-0"
4233
+ }, /*#__PURE__*/React.createElement("div", {
4234
+ "class": "row m-0 w-100 pl-3 pr-3 mt-3"
4235
+ }, 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) {
4236
+ return /*#__PURE__*/React.createElement("div", {
4237
+ "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'
4238
+ }, /*#__PURE__*/React.createElement("div", {
4239
+ "class": "row m-0 w-100 text-start"
4240
+ }, /*#__PURE__*/React.createElement("div", {
4241
+ "class": "col-lg-12 text-start text-uppercase p-0"
4242
+ }, /*#__PURE__*/React.createElement("div", {
4243
+ style: {
4244
+ width: '30px'
4245
+ },
4246
+ "class": langdetect == 'en' ? 'mr-3' : 'ml-3'
4247
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
4248
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4249
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4250
+ path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
4251
+ loading: "lazy",
4252
+ style: {
4253
+ maxWidth: '100%',
4254
+ maxHeight: '100%'
4255
+ }
4256
+ })), /*#__PURE__*/React.createElement("p", {
4257
+ "class": "m-0 p-0",
4258
+ style: {
4259
+ color: sectionproperties.featurecolor,
4260
+ fontWeight: sectionproperties.featurefontweight,
4261
+ fontSize: 17
4262
+ // fontSize: sectionproperties.featurefontsize,
4263
+ }
4264
+ }, 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.createElement("div", {
4265
+ "class": "col-lg-12 text-start text-capitalize"
4266
+ }, /*#__PURE__*/React.createElement("p", {
4267
+ "class": "m-0 p-0",
4268
+ style: {
4269
+ color: sectionproperties.featurevaluecolor,
4270
+ fontWeight: sectionproperties.featurevaluefontweight,
4271
+ fontSize: sectionproperties.featurevaluefontsize
4272
+ }
4273
+ }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
4274
+ }))))))), /*#__PURE__*/React.createElement("div", {
4275
+ "class": "col-lg-12 col-md-12 p-0 mb-4"
4276
+ }, /*#__PURE__*/React.createElement("div", {
4277
+ "class": "row m-0 w-100"
4278
+ }, /*#__PURE__*/React.createElement(Accordion, {
4279
+ allowMultipleExpanded: true,
4280
+ allowZeroExpanded: true,
4281
+ preExpanded: [0]
4282
+ }, /*#__PURE__*/React.createElement(AccordionItem, {
4283
+ uuid: 0
4284
+ }, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
4285
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
4286
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
4287
+ if (state.expanded == true) {
4288
+ return /*#__PURE__*/React.createElement("i", {
4289
+ className: ' h-100 d-flex align-items-center justify-content-end '
4290
+ }, /*#__PURE__*/React.createElement(FaMinus, {
4291
+ color: sectionproperties.prodCatColor,
4292
+ size: 20
4293
+ }));
4294
+ } else {
4295
+ return /*#__PURE__*/React.createElement("i", {
4296
+ className: ' h-100 d-flex align-items-center justify-content-end '
4297
+ }, /*#__PURE__*/React.createElement(FaPlus, {
4298
+ color: sectionproperties.prodCatColor,
4299
+ size: 20
4300
+ }));
4301
+ }
4302
+ }), /*#__PURE__*/React.createElement("p", {
4303
+ className: "m-0 p-0 mx-4",
4304
+ style: {
4305
+ textAlign: langdetect == 'en' ? 'left' : 'right',
4306
+ fontWeight: 500,
4307
+ // fontWeight: sectionproperties.prodCatFontWeight,
4308
+ color: sectionproperties.prodCatColor,
4309
+ // fontSize: sectionproperties.prodCatFontSize + 'px',
4310
+ fontSize: '24px'
4311
+ }
4312
+ }, langdetect == 'en' ? 'Developer' : 'Developer')))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
4313
+ className: "p-0"
4314
+ }, /*#__PURE__*/React.createElement("div", {
4315
+ "class": "row m-0 w-100 px-2 mt-3 d-flex flex-row",
4316
+ style: {
4317
+ color: '#000'
4318
+ }
4319
+ }, /*#__PURE__*/React.createElement("div", {
4320
+ "class": "col-lg-2 col-md-12 mb-md-3"
4321
+ }, /*#__PURE__*/React.createElement("div", {
4322
+ style: {
4323
+ width: '100px',
4324
+ borderRadius: 100,
4325
+ border: '1px solid #ccc'
4326
+ },
4327
+ "class": langdetect == 'en' ? 'mr-3' : 'ml-3'
4328
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
4329
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4330
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4331
+ 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,
4332
+ loading: "lazy",
4333
+ style: {
4334
+ maxWidth: '100%',
4335
+ maxHeight: '100%',
4336
+ borderRadius: 100
4337
+ }
4338
+ }))), /*#__PURE__*/React.createElement("div", {
4339
+ "class": "col-lg-10 col-md-12"
4340
+ }, /*#__PURE__*/React.createElement("p", {
4341
+ "class": "m-0 p-0",
4342
+ style: {
4343
+ fontSize: 17
4344
+ }
4345
+ }, 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.createElement("div", {
4346
+ "class": "col-lg-3"
4347
+ }, /*#__PURE__*/React.createElement("div", {
4348
+ "class": "row m-0 w-100"
4349
+ }, /*#__PURE__*/React.createElement("div", {
4350
+ "class": "col-12 p-0 text-end text-md-center mb-5 mb-md-4"
4351
+ }, /*#__PURE__*/React.createElement("button", {
4352
+ className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
4353
+ onClick: function onClick() {
4354
+ var _fetchProductInfoQuer80;
4355
+ window.open('tel:' + ((_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.product_phonenumber), '_blank');
4356
+ },
4357
+ style: {
4358
+ width: '40%',
4359
+ borderRadius: 7,
4360
+ color: 'white',
4361
+ fontSize: 15,
4362
+ height: 43,
4363
+ background: '#005495'
4364
+ }
4365
+ }, /*#__PURE__*/React.createElement(IoCall, {
4366
+ size: 16
4367
+ }), /*#__PURE__*/React.createElement("span", {
4368
+ "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
4369
+ }, "Call Us")), /*#__PURE__*/React.createElement("a", {
4370
+ href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
4371
+ target: "_blank",
4372
+ rel: "noopener noreferrer",
4373
+ style: {
4374
+ width: '40%'
4375
+ },
4376
+ "class": "mx-md-2"
4377
+ }, /*#__PURE__*/React.createElement("button", {
4378
+ className: ' d-flex align-items-center justify-content-center ',
4379
+ style: {
4380
+ width: '100%',
4381
+ borderRadius: 7,
4382
+ color: 'white',
4383
+ fontSize: 15,
4384
+ height: 43,
4385
+ background: '#4cd964'
4386
+ }
4387
+ }, /*#__PURE__*/React.createElement(FaWhatsapp, {
4388
+ size: 16
4389
+ }), /*#__PURE__*/React.createElement("span", {
4390
+ "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
4391
+ }, "WhatsApp")))), /*#__PURE__*/React.createElement("div", {
4392
+ "class": "col-12 allcentered mb-3 p-md-0"
4393
+ }, /*#__PURE__*/React.createElement("button", {
4394
+ className: "".concat(productinfo_cssstyles.sizeguidebtn2, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
4395
+ onClick: function onClick() {
4396
+ setopensizeguidemodal(true);
4397
+ }
4398
+ }, /*#__PURE__*/React.createElement("p", {
4399
+ "class": ' m-0 p-0 cursor-pointer '
4400
+ }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React.createElement("div", {
4401
+ "class": "col-12 allcentered p-md-0 mb-md-5"
4402
+ }, /*#__PURE__*/React.createElement("button", {
4403
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
4404
+ onClick: function onClick() {
4405
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
4406
+ var _fetchProductInfoQuer81;
4407
+ window.open('tel:' + ((_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.product_phonenumber), '_blank');
4408
+ } else {
4409
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
4410
+ addtocartfunc();
4411
+ } else {
4412
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
4413
+ }
4414
+ }
4415
+ },
4416
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
4417
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
4418
+ className: ' d-flex align-items-center justify-content-center '
4419
+ }, /*#__PURE__*/React.createElement("i", {
4420
+ 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'
4421
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
4422
+ className: "",
4423
+ size: sectionproperties.cartBtn_iconFontSize
4424
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
4425
+ className: "",
4426
+ size: sectionproperties.cartBtn_iconFontSize
4427
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
4428
+ className: "",
4429
+ size: sectionproperties.cartBtn_iconFontSize
4430
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
4431
+ className: "",
4432
+ size: sectionproperties.cartBtn_iconFontSize
4433
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
4434
+ className: "",
4435
+ size: sectionproperties.cartBtn_iconFontSize
4436
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
4437
+ size: sectionproperties.cartBtn_iconFontSize
4438
+ })), 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.createElement("div", {
4439
+ className: ' d-flex align-items-center justify-content-center '
4440
+ }, /*#__PURE__*/React.createElement(CircularProgress, {
4441
+ color: sectionproperties.cartBtnTextcolor,
4442
+ width: "20px",
4443
+ height: "20px",
4444
+ duration: "1s"
4445
+ })))))))))), sizeguideimage.length != 0 && /*#__PURE__*/React.createElement(Modal, {
4099
4446
  show: opensizeguidemodal,
4100
4447
  onHide: function onHide() {
4101
4448
  setopensizeguidemodal(false);