tabexseriescomponents 0.0.728 → 0.0.730
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 +51 -15
- package/dist/index.esm.js +51 -15
- package/dist/index.umd.js +51 -15
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19271,6 +19271,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19271
19271
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19272
19272
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
19273
19273
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19274
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19275
|
+
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19274
19276
|
} else if (item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg') {
|
|
19275
19277
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19276
19278
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
@@ -19303,6 +19305,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19303
19305
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19304
19306
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
19305
19307
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19308
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19309
|
+
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19306
19310
|
} else if (item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg') {
|
|
19307
19311
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19308
19312
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
@@ -19331,6 +19335,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19331
19335
|
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19332
19336
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19333
19337
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19338
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19339
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19334
19340
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
19335
19341
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19336
19342
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
@@ -19358,6 +19364,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19358
19364
|
}
|
|
19359
19365
|
if (item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft') {
|
|
19360
19366
|
bootstapclass = ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19367
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19368
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19361
19369
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19362
19370
|
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19363
19371
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
@@ -19388,6 +19396,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19388
19396
|
bootstapclass = ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19389
19397
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19390
19398
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19399
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19400
|
+
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19391
19401
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
19392
19402
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19393
19403
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
@@ -60229,7 +60239,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
60229
60239
|
function ownKeys$10(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; }
|
|
60230
60240
|
function _objectSpread$10(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$10(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$10(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60231
60241
|
var DynamicForm = function DynamicForm(props) {
|
|
60232
|
-
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2;
|
|
60242
|
+
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2, _authdetailsContext$i;
|
|
60233
60243
|
props.actions.lang;
|
|
60234
60244
|
var langdetect = props.actions.langdetect;
|
|
60235
60245
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -60266,6 +60276,8 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60266
60276
|
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
60267
60277
|
_useState14[0];
|
|
60268
60278
|
_useState14[1];
|
|
60279
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
60280
|
+
|
|
60269
60281
|
// const [numberoffields, setnumberoffields] = useState('');
|
|
60270
60282
|
// const [numberofslides, setnumberofslides] = useState(0);
|
|
60271
60283
|
// const [numberoffieldsinslides, setnumberoffieldsinslides] = useState(0);
|
|
@@ -60379,11 +60391,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60379
60391
|
}
|
|
60380
60392
|
if (item.type == 'date') {
|
|
60381
60393
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60382
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60394
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? ' col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60383
60395
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60384
60396
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60385
60397
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60386
|
-
"class": "col-lg-12 text-start mb-2"
|
|
60398
|
+
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60387
60399
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60388
60400
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60389
60401
|
style: {}
|
|
@@ -60400,7 +60412,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60400
60412
|
min: currentDate,
|
|
60401
60413
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60402
60414
|
})), sectionproperties.datestartdate == 'All' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60403
|
-
"class": "col-lg-12 text-start"
|
|
60415
|
+
"class": "col-lg-12 text-start p-0"
|
|
60404
60416
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
60405
60417
|
type: type,
|
|
60406
60418
|
value: item.value,
|
|
@@ -60411,11 +60423,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60411
60423
|
}))));
|
|
60412
60424
|
} else {
|
|
60413
60425
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60414
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60426
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60415
60427
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60416
60428
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60417
60429
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60418
|
-
"class":
|
|
60430
|
+
"class": 'col-lg-12 text-start mb-2 p-0'
|
|
60419
60431
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60420
60432
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60421
60433
|
style: {}
|
|
@@ -60470,7 +60482,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60470
60482
|
};
|
|
60471
60483
|
var textareaitem = function textareaitem(item, index) {
|
|
60472
60484
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60473
|
-
"class": 'col-md-12 col-lg-12 p-0'
|
|
60485
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? 'col-md-12 col-lg-12 ' : 'col-md-12 col-lg-12 p-0'
|
|
60474
60486
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60475
60487
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60476
60488
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -60497,11 +60509,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60497
60509
|
var decoditems = JSON.parse(itemsarr);
|
|
60498
60510
|
if (decoditems != undefined && Array.isArray(decoditems)) {
|
|
60499
60511
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60500
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60512
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? ' col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60501
60513
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60502
60514
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60503
60515
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60504
|
-
"class": "col-lg-12 text-start mb-2"
|
|
60516
|
+
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60505
60517
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60506
60518
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60507
60519
|
style: {}
|
|
@@ -60514,7 +60526,10 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60514
60526
|
onChange: function onChange(event) {
|
|
60515
60527
|
updateformfield(event.target.value, index);
|
|
60516
60528
|
},
|
|
60517
|
-
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60529
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control),
|
|
60530
|
+
style: {
|
|
60531
|
+
borderRadius: 0
|
|
60532
|
+
}
|
|
60518
60533
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
60519
60534
|
value: ""
|
|
60520
60535
|
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
@@ -60615,7 +60630,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60615
60630
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60616
60631
|
"class": "row m-0 w-100"
|
|
60617
60632
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60618
|
-
"class": sectionproperties.
|
|
60633
|
+
"class": sectionproperties.showimageormap != 'Hide' ? 'col-lg-6 p-0' : 'col-lg-12 p-0'
|
|
60619
60634
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60620
60635
|
"class": "row m-0 w-100 d-flex align-items-center",
|
|
60621
60636
|
style: {
|
|
@@ -60693,9 +60708,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60693
60708
|
dangerouslySetInnerHTML: {
|
|
60694
60709
|
__html: langdetect == 'en' ? sectionproperties.textstylesen_editor : sectionproperties.textstylesar_editor
|
|
60695
60710
|
}
|
|
60696
|
-
}))))), sectionproperties.
|
|
60711
|
+
}))))), sectionproperties.showimageormap != 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60697
60712
|
"class": 'col-lg-6 p-0'
|
|
60698
|
-
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp
|
|
60713
|
+
}, sectionproperties.showimageormap == 'Show Image' && imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp
|
|
60699
60714
|
// class={imagesarray.imageimage}
|
|
60700
60715
|
, {
|
|
60701
60716
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -60705,6 +60720,13 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60705
60720
|
width: '100%',
|
|
60706
60721
|
height: '100%'
|
|
60707
60722
|
}
|
|
60723
|
+
}), sectionproperties.showimageormap == 'Show Map' && /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
60724
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.googlemapslink,
|
|
60725
|
+
width: "100%",
|
|
60726
|
+
height: "100%",
|
|
60727
|
+
allowfullscreen: "",
|
|
60728
|
+
loading: "lazy",
|
|
60729
|
+
referrerpolicy: "no-referrer-when-downgrade"
|
|
60708
60730
|
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
60709
60731
|
show: showpopup,
|
|
60710
60732
|
onHide: function onHide() {
|
|
@@ -72878,8 +72900,22 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
72878
72900
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72879
72901
|
"class": "col-lg-12 d-flex justify-content-center align-items-center flex-column"
|
|
72880
72902
|
}, sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72881
|
-
"class": 'm-0 p-0 text-center'
|
|
72882
|
-
|
|
72903
|
+
"class": 'm-0 p-0 text-center',
|
|
72904
|
+
style: {
|
|
72905
|
+
fontSize: 15,
|
|
72906
|
+
fontWeight: 500
|
|
72907
|
+
}
|
|
72908
|
+
}, item.name), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72909
|
+
"class": 'm-0 p-0 text-center',
|
|
72910
|
+
dangerouslySetInnerHTML: {
|
|
72911
|
+
__html: item.description
|
|
72912
|
+
},
|
|
72913
|
+
style: _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
72914
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
72915
|
+
color: sectionproperties.prodCatColor,
|
|
72916
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
72917
|
+
}, "fontSize", 18), "fontWeight", 600), "color", '#fff')
|
|
72918
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
72883
72919
|
"class": "".concat(categorycard_cssstyles.cardbtn, " ").concat(cardstyles$2.cardbtn) + ' font-md-13 ',
|
|
72884
72920
|
onClick: function onClick(e) {
|
|
72885
72921
|
e.stopPropagation();
|
package/dist/index.esm.js
CHANGED
|
@@ -19222,6 +19222,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19222
19222
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19223
19223
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
19224
19224
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19225
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19226
|
+
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19225
19227
|
} else if (item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg') {
|
|
19226
19228
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19227
19229
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
@@ -19254,6 +19256,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19254
19256
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19255
19257
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
19256
19258
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19259
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19260
|
+
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19257
19261
|
} else if (item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg') {
|
|
19258
19262
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19259
19263
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
@@ -19282,6 +19286,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19282
19286
|
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19283
19287
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19284
19288
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19289
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19290
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19285
19291
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
19286
19292
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19287
19293
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
@@ -19309,6 +19315,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19309
19315
|
}
|
|
19310
19316
|
if (item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft') {
|
|
19311
19317
|
bootstapclass = ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19318
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19319
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19312
19320
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19313
19321
|
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19314
19322
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
@@ -19339,6 +19347,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
19339
19347
|
bootstapclass = ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19340
19348
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19341
19349
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19350
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19351
|
+
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19342
19352
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
19343
19353
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19344
19354
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
@@ -60180,7 +60190,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
60180
60190
|
function ownKeys$10(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; }
|
|
60181
60191
|
function _objectSpread$10(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$10(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$10(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60182
60192
|
var DynamicForm = function DynamicForm(props) {
|
|
60183
|
-
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2;
|
|
60193
|
+
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2, _authdetailsContext$i;
|
|
60184
60194
|
props.actions.lang;
|
|
60185
60195
|
var langdetect = props.actions.langdetect;
|
|
60186
60196
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -60217,6 +60227,8 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60217
60227
|
_useState14 = _slicedToArray(_useState13, 2);
|
|
60218
60228
|
_useState14[0];
|
|
60219
60229
|
_useState14[1];
|
|
60230
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
60231
|
+
|
|
60220
60232
|
// const [numberoffields, setnumberoffields] = useState('');
|
|
60221
60233
|
// const [numberofslides, setnumberofslides] = useState(0);
|
|
60222
60234
|
// const [numberoffieldsinslides, setnumberoffieldsinslides] = useState(0);
|
|
@@ -60330,11 +60342,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60330
60342
|
}
|
|
60331
60343
|
if (item.type == 'date') {
|
|
60332
60344
|
return /*#__PURE__*/React.createElement("div", {
|
|
60333
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60345
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? ' col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60334
60346
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60335
60347
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60336
60348
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60337
|
-
"class": "col-lg-12 text-start mb-2"
|
|
60349
|
+
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60338
60350
|
}, /*#__PURE__*/React.createElement("p", {
|
|
60339
60351
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60340
60352
|
style: {}
|
|
@@ -60351,7 +60363,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60351
60363
|
min: currentDate,
|
|
60352
60364
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60353
60365
|
})), sectionproperties.datestartdate == 'All' && /*#__PURE__*/React.createElement("div", {
|
|
60354
|
-
"class": "col-lg-12 text-start"
|
|
60366
|
+
"class": "col-lg-12 text-start p-0"
|
|
60355
60367
|
}, /*#__PURE__*/React.createElement("input", {
|
|
60356
60368
|
type: type,
|
|
60357
60369
|
value: item.value,
|
|
@@ -60362,11 +60374,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60362
60374
|
}))));
|
|
60363
60375
|
} else {
|
|
60364
60376
|
return /*#__PURE__*/React.createElement("div", {
|
|
60365
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60377
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60366
60378
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60367
60379
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60368
60380
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60369
|
-
"class":
|
|
60381
|
+
"class": 'col-lg-12 text-start mb-2 p-0'
|
|
60370
60382
|
}, /*#__PURE__*/React.createElement("p", {
|
|
60371
60383
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60372
60384
|
style: {}
|
|
@@ -60421,7 +60433,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60421
60433
|
};
|
|
60422
60434
|
var textareaitem = function textareaitem(item, index) {
|
|
60423
60435
|
return /*#__PURE__*/React.createElement("div", {
|
|
60424
|
-
"class": 'col-md-12 col-lg-12 p-0'
|
|
60436
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? 'col-md-12 col-lg-12 ' : 'col-md-12 col-lg-12 p-0'
|
|
60425
60437
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60426
60438
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60427
60439
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -60448,11 +60460,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60448
60460
|
var decoditems = JSON.parse(itemsarr);
|
|
60449
60461
|
if (decoditems != undefined && Array.isArray(decoditems)) {
|
|
60450
60462
|
return /*#__PURE__*/React.createElement("div", {
|
|
60451
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60463
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? ' col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60452
60464
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60453
60465
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60454
60466
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60455
|
-
"class": "col-lg-12 text-start mb-2"
|
|
60467
|
+
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60456
60468
|
}, /*#__PURE__*/React.createElement("p", {
|
|
60457
60469
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60458
60470
|
style: {}
|
|
@@ -60465,7 +60477,10 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60465
60477
|
onChange: function onChange(event) {
|
|
60466
60478
|
updateformfield(event.target.value, index);
|
|
60467
60479
|
},
|
|
60468
|
-
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60480
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control),
|
|
60481
|
+
style: {
|
|
60482
|
+
borderRadius: 0
|
|
60483
|
+
}
|
|
60469
60484
|
}, /*#__PURE__*/React.createElement("option", {
|
|
60470
60485
|
value: ""
|
|
60471
60486
|
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
@@ -60566,7 +60581,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60566
60581
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60567
60582
|
"class": "row m-0 w-100"
|
|
60568
60583
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60569
|
-
"class": sectionproperties.
|
|
60584
|
+
"class": sectionproperties.showimageormap != 'Hide' ? 'col-lg-6 p-0' : 'col-lg-12 p-0'
|
|
60570
60585
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60571
60586
|
"class": "row m-0 w-100 d-flex align-items-center",
|
|
60572
60587
|
style: {
|
|
@@ -60644,9 +60659,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60644
60659
|
dangerouslySetInnerHTML: {
|
|
60645
60660
|
__html: langdetect == 'en' ? sectionproperties.textstylesen_editor : sectionproperties.textstylesar_editor
|
|
60646
60661
|
}
|
|
60647
|
-
}))))), sectionproperties.
|
|
60662
|
+
}))))), sectionproperties.showimageormap != 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
60648
60663
|
"class": 'col-lg-6 p-0'
|
|
60649
|
-
}, imagesarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp
|
|
60664
|
+
}, sectionproperties.showimageormap == 'Show Image' && imagesarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp
|
|
60650
60665
|
// class={imagesarray.imageimage}
|
|
60651
60666
|
, {
|
|
60652
60667
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -60656,6 +60671,13 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60656
60671
|
width: '100%',
|
|
60657
60672
|
height: '100%'
|
|
60658
60673
|
}
|
|
60674
|
+
}), sectionproperties.showimageormap == 'Show Map' && /*#__PURE__*/React.createElement("iframe", {
|
|
60675
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.googlemapslink,
|
|
60676
|
+
width: "100%",
|
|
60677
|
+
height: "100%",
|
|
60678
|
+
allowfullscreen: "",
|
|
60679
|
+
loading: "lazy",
|
|
60680
|
+
referrerpolicy: "no-referrer-when-downgrade"
|
|
60659
60681
|
}))), /*#__PURE__*/React.createElement(Modal, {
|
|
60660
60682
|
show: showpopup,
|
|
60661
60683
|
onHide: function onHide() {
|
|
@@ -72829,8 +72851,22 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
72829
72851
|
}, /*#__PURE__*/React.createElement("div", {
|
|
72830
72852
|
"class": "col-lg-12 d-flex justify-content-center align-items-center flex-column"
|
|
72831
72853
|
}, sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
72832
|
-
"class": 'm-0 p-0 text-center'
|
|
72833
|
-
|
|
72854
|
+
"class": 'm-0 p-0 text-center',
|
|
72855
|
+
style: {
|
|
72856
|
+
fontSize: 15,
|
|
72857
|
+
fontWeight: 500
|
|
72858
|
+
}
|
|
72859
|
+
}, item.name), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
72860
|
+
"class": 'm-0 p-0 text-center',
|
|
72861
|
+
dangerouslySetInnerHTML: {
|
|
72862
|
+
__html: item.description
|
|
72863
|
+
},
|
|
72864
|
+
style: _defineProperty(_defineProperty(_defineProperty({
|
|
72865
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
72866
|
+
color: sectionproperties.prodCatColor,
|
|
72867
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
72868
|
+
}, "fontSize", 18), "fontWeight", 600), "color", '#fff')
|
|
72869
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("button", {
|
|
72834
72870
|
"class": "".concat(categorycard_cssstyles.cardbtn, " ").concat(cardstyles$2.cardbtn) + ' font-md-13 ',
|
|
72835
72871
|
onClick: function onClick(e) {
|
|
72836
72872
|
e.stopPropagation();
|
package/dist/index.umd.js
CHANGED
|
@@ -19095,6 +19095,8 @@
|
|
|
19095
19095
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19096
19096
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
19097
19097
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19098
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19099
|
+
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19098
19100
|
} else if (item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg') {
|
|
19099
19101
|
bootstapclass = ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19100
19102
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
@@ -19127,6 +19129,8 @@
|
|
|
19127
19129
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19128
19130
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
19129
19131
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19132
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19133
|
+
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19130
19134
|
} else if (item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg') {
|
|
19131
19135
|
bootstapclass = ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19132
19136
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
@@ -19155,6 +19159,8 @@
|
|
|
19155
19159
|
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19156
19160
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19157
19161
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19162
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19163
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19158
19164
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
19159
19165
|
bootstapclass = ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19160
19166
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
@@ -19182,6 +19188,8 @@
|
|
|
19182
19188
|
}
|
|
19183
19189
|
if (item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft') {
|
|
19184
19190
|
bootstapclass = ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19191
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19192
|
+
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19185
19193
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19186
19194
|
bootstapclass = ' col-xl-3 p-0 col-lg-4 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19187
19195
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
@@ -19212,6 +19220,8 @@
|
|
|
19212
19220
|
bootstapclass = ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
|
|
19213
19221
|
} else if (item.tabexsectioninfo.sectioncompname == 'MenuCard') {
|
|
19214
19222
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19223
|
+
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext') {
|
|
19224
|
+
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
19215
19225
|
} else if (item.tabexsectioninfo.sectioncompname == 'ServiceCard') {
|
|
19216
19226
|
bootstapclass = ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 ';
|
|
19217
19227
|
} else if (item.tabexsectioninfo.sectioncompname == 'StylishProductCard') {
|
|
@@ -60053,7 +60063,7 @@
|
|
|
60053
60063
|
function ownKeys$10(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; }
|
|
60054
60064
|
function _objectSpread$10(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$10(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$10(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60055
60065
|
var DynamicForm = function DynamicForm(props) {
|
|
60056
|
-
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2;
|
|
60066
|
+
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2, _authdetailsContext$i;
|
|
60057
60067
|
props.actions.lang;
|
|
60058
60068
|
var langdetect = props.actions.langdetect;
|
|
60059
60069
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -60090,6 +60100,8 @@
|
|
|
60090
60100
|
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
60091
60101
|
_useState14[0];
|
|
60092
60102
|
_useState14[1];
|
|
60103
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
60104
|
+
|
|
60093
60105
|
// const [numberoffields, setnumberoffields] = useState('');
|
|
60094
60106
|
// const [numberofslides, setnumberofslides] = useState(0);
|
|
60095
60107
|
// const [numberoffieldsinslides, setnumberoffieldsinslides] = useState(0);
|
|
@@ -60203,11 +60215,11 @@
|
|
|
60203
60215
|
}
|
|
60204
60216
|
if (item.type == 'date') {
|
|
60205
60217
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60206
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60218
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? ' col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60207
60219
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60208
60220
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60209
60221
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60210
|
-
"class": "col-lg-12 text-start mb-2"
|
|
60222
|
+
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60211
60223
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60212
60224
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60213
60225
|
style: {}
|
|
@@ -60224,7 +60236,7 @@
|
|
|
60224
60236
|
min: currentDate,
|
|
60225
60237
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60226
60238
|
})), sectionproperties.datestartdate == 'All' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60227
|
-
"class": "col-lg-12 text-start"
|
|
60239
|
+
"class": "col-lg-12 text-start p-0"
|
|
60228
60240
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
60229
60241
|
type: type,
|
|
60230
60242
|
value: item.value,
|
|
@@ -60235,11 +60247,11 @@
|
|
|
60235
60247
|
}))));
|
|
60236
60248
|
} else {
|
|
60237
60249
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60238
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60250
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60239
60251
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60240
60252
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60241
60253
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60242
|
-
"class":
|
|
60254
|
+
"class": 'col-lg-12 text-start mb-2 p-0'
|
|
60243
60255
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60244
60256
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60245
60257
|
style: {}
|
|
@@ -60294,7 +60306,7 @@
|
|
|
60294
60306
|
};
|
|
60295
60307
|
var textareaitem = function textareaitem(item, index) {
|
|
60296
60308
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60297
|
-
"class": 'col-md-12 col-lg-12 p-0'
|
|
60309
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? 'col-md-12 col-lg-12 ' : 'col-md-12 col-lg-12 p-0'
|
|
60298
60310
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60299
60311
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60300
60312
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -60321,11 +60333,11 @@
|
|
|
60321
60333
|
var decoditems = JSON.parse(itemsarr);
|
|
60322
60334
|
if (decoditems != undefined && Array.isArray(decoditems)) {
|
|
60323
60335
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60324
|
-
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60336
|
+
"class": sectionproperties.numberofcolsperrow != '12' ? ' col-md-12 col-lg-' + sectionproperties.numberofcolsperrow : 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60325
60337
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60326
60338
|
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60327
60339
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60328
|
-
"class": "col-lg-12 text-start mb-2"
|
|
60340
|
+
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60329
60341
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60330
60342
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60331
60343
|
style: {}
|
|
@@ -60338,7 +60350,10 @@
|
|
|
60338
60350
|
onChange: function onChange(event) {
|
|
60339
60351
|
updateformfield(event.target.value, index);
|
|
60340
60352
|
},
|
|
60341
|
-
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60353
|
+
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control),
|
|
60354
|
+
style: {
|
|
60355
|
+
borderRadius: 0
|
|
60356
|
+
}
|
|
60342
60357
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
60343
60358
|
value: ""
|
|
60344
60359
|
}, langdetect == 'en' ? 'Choose' : 'إختر'), decoditems === null || decoditems === void 0 ? void 0 : decoditems.map(function (sitem) {
|
|
@@ -60439,7 +60454,7 @@
|
|
|
60439
60454
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60440
60455
|
"class": "row m-0 w-100"
|
|
60441
60456
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60442
|
-
"class": sectionproperties.
|
|
60457
|
+
"class": sectionproperties.showimageormap != 'Hide' ? 'col-lg-6 p-0' : 'col-lg-12 p-0'
|
|
60443
60458
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60444
60459
|
"class": "row m-0 w-100 d-flex align-items-center",
|
|
60445
60460
|
style: {
|
|
@@ -60517,9 +60532,9 @@
|
|
|
60517
60532
|
dangerouslySetInnerHTML: {
|
|
60518
60533
|
__html: langdetect == 'en' ? sectionproperties.textstylesen_editor : sectionproperties.textstylesar_editor
|
|
60519
60534
|
}
|
|
60520
|
-
}))))), sectionproperties.
|
|
60535
|
+
}))))), sectionproperties.showimageormap != 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60521
60536
|
"class": 'col-lg-6 p-0'
|
|
60522
|
-
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp
|
|
60537
|
+
}, sectionproperties.showimageormap == 'Show Image' && imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp
|
|
60523
60538
|
// class={imagesarray.imageimage}
|
|
60524
60539
|
, {
|
|
60525
60540
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -60529,6 +60544,13 @@
|
|
|
60529
60544
|
width: '100%',
|
|
60530
60545
|
height: '100%'
|
|
60531
60546
|
}
|
|
60547
|
+
}), sectionproperties.showimageormap == 'Show Map' && /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
60548
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.googlemapslink,
|
|
60549
|
+
width: "100%",
|
|
60550
|
+
height: "100%",
|
|
60551
|
+
allowfullscreen: "",
|
|
60552
|
+
loading: "lazy",
|
|
60553
|
+
referrerpolicy: "no-referrer-when-downgrade"
|
|
60532
60554
|
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
60533
60555
|
show: showpopup,
|
|
60534
60556
|
onHide: function onHide() {
|
|
@@ -72702,8 +72724,22 @@
|
|
|
72702
72724
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72703
72725
|
"class": "col-lg-12 d-flex justify-content-center align-items-center flex-column"
|
|
72704
72726
|
}, sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72705
|
-
"class": 'm-0 p-0 text-center'
|
|
72706
|
-
|
|
72727
|
+
"class": 'm-0 p-0 text-center',
|
|
72728
|
+
style: {
|
|
72729
|
+
fontSize: 15,
|
|
72730
|
+
fontWeight: 500
|
|
72731
|
+
}
|
|
72732
|
+
}, item.name), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72733
|
+
"class": 'm-0 p-0 text-center',
|
|
72734
|
+
dangerouslySetInnerHTML: {
|
|
72735
|
+
__html: item.description
|
|
72736
|
+
},
|
|
72737
|
+
style: _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
72738
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
72739
|
+
color: sectionproperties.prodCatColor,
|
|
72740
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
72741
|
+
}, "fontSize", 18), "fontWeight", 600), "color", '#fff')
|
|
72742
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
72707
72743
|
"class": "".concat(categorycard_cssstyles.cardbtn, " ").concat(cardstyles$2.cardbtn) + ' font-md-13 ',
|
|
72708
72744
|
onClick: function onClick(e) {
|
|
72709
72745
|
e.stopPropagation();
|