tabexseriescomponents 0.0.722 → 0.0.724
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 +142 -227
- package/dist/index.esm.js +142 -227
- package/dist/index.umd.js +142 -227
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -30883,7 +30883,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30883
30883
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
30884
30884
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
30885
30885
|
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
30886
|
-
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
|
|
30886
|
+
backgroundColor: sectionproperties.keepheadertransparent == 'Yes' ? 'transparent' : sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.header_backgroundColor : 'transparent' : sectionproperties.header_backgroundColor,
|
|
30887
30887
|
':hover': {
|
|
30888
30888
|
backgroundColor: sectionproperties.header_backgroundColor,
|
|
30889
30889
|
transition: '.3s ease-in-out'
|
|
@@ -30925,8 +30925,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30925
30925
|
}), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30926
30926
|
style: {
|
|
30927
30927
|
position: 'fixed',
|
|
30928
|
-
bottom:
|
|
30929
|
-
right:
|
|
30928
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
30929
|
+
right: sectionproperties.floatingbtnfromright + 'px',
|
|
30930
30930
|
zIndex: 2000,
|
|
30931
30931
|
transition: 'all 0.3s ease-out',
|
|
30932
30932
|
width: '100%',
|
|
@@ -30976,8 +30976,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30976
30976
|
target: '_blank',
|
|
30977
30977
|
style: {
|
|
30978
30978
|
position: 'fixed',
|
|
30979
|
-
bottom: sectionproperties.
|
|
30980
|
-
right:
|
|
30979
|
+
bottom: sectionproperties.whatsapppositionfrombottom + 'px',
|
|
30980
|
+
right: sectionproperties.whatsapppositionfromright + 'px',
|
|
30981
30981
|
zIndex: 2000,
|
|
30982
30982
|
transition: 'all 0.3s ease-out'
|
|
30983
30983
|
}
|
|
@@ -30993,8 +30993,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30993
30993
|
target: '_self',
|
|
30994
30994
|
style: {
|
|
30995
30995
|
position: 'fixed',
|
|
30996
|
-
bottom:
|
|
30997
|
-
right:
|
|
30996
|
+
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
30997
|
+
right: sectionproperties.callppositionfromright + 'px',
|
|
30998
30998
|
zIndex: 2000,
|
|
30999
30999
|
transition: 'all 0.3s ease-out'
|
|
31000
31000
|
}
|
|
@@ -32032,8 +32032,8 @@ var Header8 = function Header8(props) {
|
|
|
32032
32032
|
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32033
32033
|
style: {
|
|
32034
32034
|
position: 'fixed',
|
|
32035
|
-
bottom:
|
|
32036
|
-
right:
|
|
32035
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32036
|
+
right: sectionproperties.floatingbtnfromright + 'px',
|
|
32037
32037
|
zIndex: 2000,
|
|
32038
32038
|
transition: 'all 0.3s ease-out',
|
|
32039
32039
|
width: '100%',
|
|
@@ -32053,8 +32053,8 @@ var Header8 = function Header8(props) {
|
|
|
32053
32053
|
target: '_self',
|
|
32054
32054
|
style: {
|
|
32055
32055
|
position: 'fixed',
|
|
32056
|
-
bottom:
|
|
32057
|
-
right:
|
|
32056
|
+
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
32057
|
+
right: sectionproperties.callppositionfromright + 'px',
|
|
32058
32058
|
zIndex: 999999,
|
|
32059
32059
|
transition: 'all 0.3s ease-out'
|
|
32060
32060
|
}
|
|
@@ -32066,13 +32066,13 @@ var Header8 = function Header8(props) {
|
|
|
32066
32066
|
style: {
|
|
32067
32067
|
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
32068
32068
|
}
|
|
32069
|
-
}))), sectionproperties.
|
|
32069
|
+
}))), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32070
32070
|
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber),
|
|
32071
32071
|
target: '_blank',
|
|
32072
32072
|
style: {
|
|
32073
32073
|
position: 'fixed',
|
|
32074
|
-
bottom:
|
|
32075
|
-
right:
|
|
32074
|
+
bottom: sectionproperties.whatsapppositionfrombottom + 'px',
|
|
32075
|
+
right: sectionproperties.whatsapppositionfromright + 'px',
|
|
32076
32076
|
zIndex: 999999,
|
|
32077
32077
|
transition: 'all 0.3s ease-out'
|
|
32078
32078
|
}
|
|
@@ -60109,7 +60109,7 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
60109
60109
|
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; }
|
|
60110
60110
|
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; }
|
|
60111
60111
|
var DynamicForm = function DynamicForm(props) {
|
|
60112
|
-
var _css, _dynamicform$fields,
|
|
60112
|
+
var _css, _dynamicform$fields, _imagesarray$, _imagesarray$2;
|
|
60113
60113
|
props.actions.lang;
|
|
60114
60114
|
var langdetect = props.actions.langdetect;
|
|
60115
60115
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -60117,6 +60117,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60117
60117
|
var dynamicformid = props.actions.dynamicformid;
|
|
60118
60118
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
60119
60119
|
var fetchdynamicformfeildsQueryContext = props.actions.fetchdynamicformfeildsQueryContext;
|
|
60120
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
60120
60121
|
var _useState = React.useState(''),
|
|
60121
60122
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
60122
60123
|
sectionproperties = _useState2[0],
|
|
@@ -60142,33 +60143,22 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60142
60143
|
_useState12[0];
|
|
60143
60144
|
_useState12[1];
|
|
60144
60145
|
var _useState13 = React.useState(25),
|
|
60145
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
60146
|
-
|
|
60147
|
-
|
|
60148
|
-
|
|
60149
|
-
|
|
60150
|
-
|
|
60151
|
-
|
|
60152
|
-
|
|
60153
|
-
|
|
60154
|
-
|
|
60155
|
-
|
|
60156
|
-
|
|
60157
|
-
|
|
60158
|
-
|
|
60159
|
-
|
|
60160
|
-
|
|
60161
|
-
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
60162
|
-
currentindex = _useState22[0],
|
|
60163
|
-
setcurrentindex = _useState22[1];
|
|
60164
|
-
var _useState23 = React.useState(0),
|
|
60165
|
-
_useState24 = _slicedToArray__default["default"](_useState23, 2);
|
|
60166
|
-
_useState24[0];
|
|
60167
|
-
var setnumberoffiledinslide = _useState24[1];
|
|
60168
|
-
var _useState25 = React.useState(false),
|
|
60169
|
-
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
60170
|
-
showpopup = _useState26[0],
|
|
60171
|
-
setshowpopup = _useState26[1];
|
|
60146
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
60147
|
+
_useState14[0];
|
|
60148
|
+
_useState14[1];
|
|
60149
|
+
// const [numberoffields, setnumberoffields] = useState('');
|
|
60150
|
+
// const [numberofslides, setnumberofslides] = useState(0);
|
|
60151
|
+
// const [numberoffieldsinslides, setnumberoffieldsinslides] = useState(0);
|
|
60152
|
+
// const [currentindex, setcurrentindex] = useState(0);
|
|
60153
|
+
// const [numberoffiledinslide, setnumberoffiledinslide] = useState(0);
|
|
60154
|
+
var _useState15 = React.useState(false),
|
|
60155
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
60156
|
+
showpopup = _useState16[0],
|
|
60157
|
+
setshowpopup = _useState16[1];
|
|
60158
|
+
var _useState17 = React.useState([]),
|
|
60159
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
60160
|
+
imagesarray = _useState18[0],
|
|
60161
|
+
setimagesarray = _useState18[1];
|
|
60172
60162
|
React.useEffect(function () {
|
|
60173
60163
|
var secpropobj = {};
|
|
60174
60164
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -60185,7 +60175,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60185
60175
|
var _fetchdynamicformfeil;
|
|
60186
60176
|
fetchdynamicformfeildsQueryContext === null || fetchdynamicformfeildsQueryContext === void 0 || (_fetchdynamicformfeil = fetchdynamicformfeildsQueryContext.data) === null || _fetchdynamicformfeil === void 0 || (_fetchdynamicformfeil = _fetchdynamicformfeil.data) === null || _fetchdynamicformfeil === void 0 || (_fetchdynamicformfeil = _fetchdynamicformfeil.dynamicforms) === null || _fetchdynamicformfeil === void 0 || _fetchdynamicformfeil.forEach(function (item, index) {
|
|
60187
60177
|
if (item.id == dynamicformid) {
|
|
60188
|
-
var _tempitem$fields
|
|
60178
|
+
var _tempitem$fields;
|
|
60189
60179
|
var tempitem = item;
|
|
60190
60180
|
tempitem === null || tempitem === void 0 || (_tempitem$fields = tempitem.fields) === null || _tempitem$fields === void 0 || _tempitem$fields.forEach(function (fielditem) {
|
|
60191
60181
|
fielditem.value = '';
|
|
@@ -60193,15 +60183,15 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60193
60183
|
setdynamicform(tempitem);
|
|
60194
60184
|
var temptitleen = tempitem.title_en;
|
|
60195
60185
|
var temptitlear = tempitem.title_ar;
|
|
60196
|
-
var tempnumberoffields = tempitem
|
|
60197
|
-
var tempnumberoffiledinslide = sectionproperties.numberofslides; //4
|
|
60198
|
-
var tempnumberofslides = Math.ceil(tempnumberoffields / tempnumberoffiledinslide); //3
|
|
60186
|
+
// var tempnumberoffields = tempitem?.fields?.length; //12
|
|
60187
|
+
// var tempnumberoffiledinslide = sectionproperties.numberofslides; //4
|
|
60188
|
+
// var tempnumberofslides = Math.ceil(tempnumberoffields / tempnumberoffiledinslide); //3
|
|
60199
60189
|
|
|
60200
60190
|
setformtitleen(temptitleen);
|
|
60201
60191
|
setformtitlear(temptitlear);
|
|
60202
|
-
setnumberoffields(tempnumberoffields);
|
|
60203
|
-
setnumberoffiledinslide(tempnumberoffiledinslide);
|
|
60204
|
-
setnumberofslides(tempnumberofslides);
|
|
60192
|
+
// setnumberoffields(tempnumberoffields);
|
|
60193
|
+
// setnumberoffiledinslide(tempnumberoffiledinslide);
|
|
60194
|
+
// setnumberofslides(tempnumberofslides);
|
|
60205
60195
|
}
|
|
60206
60196
|
});
|
|
60207
60197
|
}
|
|
@@ -60243,9 +60233,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60243
60233
|
}
|
|
60244
60234
|
};
|
|
60245
60235
|
var clearform = function clearform() {
|
|
60246
|
-
var _tempitem$
|
|
60236
|
+
var _tempitem$fields2;
|
|
60247
60237
|
var tempitem = _objectSpread$10({}, dynamicform);
|
|
60248
|
-
tempitem === null || tempitem === void 0 || (_tempitem$
|
|
60238
|
+
tempitem === null || tempitem === void 0 || (_tempitem$fields2 = tempitem.fields) === null || _tempitem$fields2 === void 0 || _tempitem$fields2.forEach(function (fielditem) {
|
|
60249
60239
|
fielditem.value = '';
|
|
60250
60240
|
});
|
|
60251
60241
|
setdynamicform(tempitem);
|
|
@@ -60269,9 +60259,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60269
60259
|
}
|
|
60270
60260
|
if (item.type == 'date') {
|
|
60271
60261
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60272
|
-
"class": 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60262
|
+
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60273
60263
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60274
|
-
"class":
|
|
60264
|
+
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60275
60265
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60276
60266
|
"class": "col-lg-12 text-start mb-2"
|
|
60277
60267
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -60280,7 +60270,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60280
60270
|
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
60281
60271
|
"class": "text-danger"
|
|
60282
60272
|
}, item.isrequired == 1 ? '*' : ''))), sectionproperties.datestartdate == 'Today' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60283
|
-
"class": "col-lg-12 text-start"
|
|
60273
|
+
"class": "col-lg-12 text-start p-0"
|
|
60284
60274
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
60285
60275
|
type: type,
|
|
60286
60276
|
value: item.value,
|
|
@@ -60301,9 +60291,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60301
60291
|
}))));
|
|
60302
60292
|
} else {
|
|
60303
60293
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60304
|
-
"class": 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60294
|
+
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60305
60295
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60306
|
-
"class":
|
|
60296
|
+
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60307
60297
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60308
60298
|
"class": "col-lg-12 text-start mb-2"
|
|
60309
60299
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -60312,13 +60302,14 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60312
60302
|
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
60313
60303
|
"class": "text-danger"
|
|
60314
60304
|
}, item.isrequired == 1 ? '*' : ''))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60315
|
-
"class": "col-lg-12 text-start"
|
|
60305
|
+
"class": "col-lg-12 text-start p-0"
|
|
60316
60306
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
60317
60307
|
type: type,
|
|
60318
60308
|
value: item.value,
|
|
60319
60309
|
onChange: function onChange(event) {
|
|
60320
60310
|
updateformfield(event.target.value, index);
|
|
60321
60311
|
},
|
|
60312
|
+
placeholder: langdetect == 'en' ? item.title_en : item.title_ar,
|
|
60322
60313
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60323
60314
|
}))));
|
|
60324
60315
|
}
|
|
@@ -60327,7 +60318,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60327
60318
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60328
60319
|
"class": 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60329
60320
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60330
|
-
"class":
|
|
60321
|
+
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60331
60322
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60332
60323
|
"class": "col-lg-12 text-start mb-2 p-0"
|
|
60333
60324
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -60359,23 +60350,24 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60359
60350
|
};
|
|
60360
60351
|
var textareaitem = function textareaitem(item, index) {
|
|
60361
60352
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60362
|
-
"class": 'col-md-12 col-lg-12'
|
|
60353
|
+
"class": 'col-md-12 col-lg-12 p-0'
|
|
60363
60354
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60364
|
-
"class":
|
|
60355
|
+
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60365
60356
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60366
|
-
"class":
|
|
60357
|
+
"class": 'row m-0 w-100 mb-3'
|
|
60367
60358
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60368
60359
|
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
60369
60360
|
style: {}
|
|
60370
60361
|
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
60371
60362
|
"class": "text-danger"
|
|
60372
60363
|
}, item.isrequired == 1 ? '*' : ''))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60373
|
-
"class": "col-lg-12 text-start"
|
|
60364
|
+
"class": "col-lg-12 text-start p-0"
|
|
60374
60365
|
}, /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
60375
60366
|
value: item.value,
|
|
60376
60367
|
onChange: function onChange(event) {
|
|
60377
60368
|
updateformfield(event.target.value, index);
|
|
60378
60369
|
},
|
|
60370
|
+
placeholder: langdetect == 'en' ? item.title_en : item.title_ar,
|
|
60379
60371
|
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control)
|
|
60380
60372
|
}))));
|
|
60381
60373
|
};
|
|
@@ -60385,9 +60377,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60385
60377
|
var decoditems = JSON.parse(itemsarr);
|
|
60386
60378
|
if (decoditems != undefined && Array.isArray(decoditems)) {
|
|
60387
60379
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60388
|
-
"class": 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60380
|
+
"class": 'p-0 col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
60389
60381
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60390
|
-
"class":
|
|
60382
|
+
"class": sectionproperties.form_labelfontsize == 0 ? 'row m-0 w-100 mb-5' : 'row m-0 w-100 mb-3'
|
|
60391
60383
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60392
60384
|
"class": "col-lg-12 text-start mb-2"
|
|
60393
60385
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -60396,7 +60388,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60396
60388
|
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
60397
60389
|
"class": "text-danger"
|
|
60398
60390
|
}, item.isrequired == 1 ? '*' : ''))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60399
|
-
"class": "col-lg-12 text-start"
|
|
60391
|
+
"class": "col-lg-12 text-start p-0"
|
|
60400
60392
|
}, /*#__PURE__*/React__default["default"].createElement("select", {
|
|
60401
60393
|
value: item.value,
|
|
60402
60394
|
onChange: function onChange(event) {
|
|
@@ -60413,6 +60405,16 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60413
60405
|
}
|
|
60414
60406
|
}
|
|
60415
60407
|
};
|
|
60408
|
+
React.useEffect(function () {
|
|
60409
|
+
if (sectionproperties.length != 0) {
|
|
60410
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
60411
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
60412
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
60413
|
+
setimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
60414
|
+
}
|
|
60415
|
+
}
|
|
60416
|
+
}
|
|
60417
|
+
}, [sectionproperties]);
|
|
60416
60418
|
var form_cssstyles = {
|
|
60417
60419
|
formlabel: glamor.css({
|
|
60418
60420
|
color: sectionproperties.form_labelcolor,
|
|
@@ -60423,20 +60425,20 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60423
60425
|
position: 'relative',
|
|
60424
60426
|
display: 'flex',
|
|
60425
60427
|
alignItems: 'center'
|
|
60426
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "display", 'block'), "width", '100%'), "padding", '0 30px'), "transition", '.3s'), "fontWeight", 500), "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), "borderRadius", sectionproperties.inputfieldborderradius + 'px'), "height", sectionproperties.inputfieldheight + 'px'), "background", 'transparent'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), "fontSize", sectionproperties.inputfieldfontsize + 'px'), "marginBottom", sectionproperties.inputfieldbordertype == 'All' ? 20 : 0), ':focus', {
|
|
60428
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "display", 'block'), "width", '100%'), "padding", sectionproperties.form_labelfontsize == 0 ? 0 : '0 30px'), "transition", '.3s'), "fontWeight", 500), "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), "borderRadius", sectionproperties.inputfieldborderradius + 'px'), "height", sectionproperties.inputfieldheight + 'px'), "background", 'transparent'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), "fontSize", sectionproperties.inputfieldfontsize + 'px'), "marginBottom", sectionproperties.inputfieldbordertype == 'All' ? 20 : 0), ':focus', {
|
|
60427
60429
|
borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
60428
60430
|
boxShadow: 'none',
|
|
60429
60431
|
transition: '.3s'
|
|
60430
60432
|
}))),
|
|
60431
|
-
generalbtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
60432
|
-
width: sectionproperties.generalbtn_width + '%',
|
|
60433
|
+
generalbtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
60434
|
+
width: sectionproperties.generalbtn_width == 0 ? 'auto' : sectionproperties.generalbtn_width + '%',
|
|
60433
60435
|
height: sectionproperties.generalbtn_height + 'px',
|
|
60434
60436
|
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
60435
60437
|
borderRadius: sectionproperties.generalbtn_bgColor,
|
|
60436
60438
|
color: sectionproperties.generalbtn_textColor,
|
|
60437
60439
|
fontSize: sectionproperties.generalbtn_fontsize,
|
|
60438
60440
|
fontWeight: sectionproperties.generalbtn_fontweight
|
|
60439
|
-
}, "borderRadius", sectionproperties.generalbtnborderradius + 'px'), ':hover', {
|
|
60441
|
+
}, "borderRadius", sectionproperties.generalbtnborderradius + 'px'), "textDecoration", sectionproperties.textdecoration == 'Underline' ? 'underline' : 'none'), ':hover', {
|
|
60440
60442
|
transition: '.3s',
|
|
60441
60443
|
color: sectionproperties.generalbtn_textColoronhover,
|
|
60442
60444
|
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
@@ -60471,44 +60473,37 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60471
60473
|
transition: '.3s',
|
|
60472
60474
|
backgroundColor: '#044da6'
|
|
60473
60475
|
}
|
|
60476
|
+
}),
|
|
60477
|
+
descriptioncontent: glamor.css({
|
|
60478
|
+
color: sectionproperties.prodCatColor,
|
|
60479
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
60480
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
60481
|
+
'@media (max-width: 800px)': {
|
|
60482
|
+
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
60483
|
+
}
|
|
60474
60484
|
})
|
|
60475
60485
|
};
|
|
60476
60486
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60477
60487
|
"class": 'row m-0 w-100 h-100 px-md-2 allcentered',
|
|
60478
60488
|
style: {
|
|
60479
60489
|
background: sectionproperties.backgroundColor,
|
|
60480
|
-
paddingLeft: sectionproperties.
|
|
60481
|
-
paddingRight: sectionproperties.
|
|
60490
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
60491
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
60482
60492
|
paddingTop: sectionproperties.cardpaddingvertical + 'px',
|
|
60483
60493
|
paddingBottom: sectionproperties.cardpaddingvertical + 'px'
|
|
60484
60494
|
}
|
|
60485
|
-
}, dynamicformid == '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60486
|
-
"class": "col-lg-10 m-0 w-100 allcentered"
|
|
60487
60495
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60488
|
-
"class": "row m-0 w-100"
|
|
60489
|
-
style: {
|
|
60490
|
-
border: '1px solid #ccc',
|
|
60491
|
-
borderRadius: 20,
|
|
60492
|
-
overflow: 'hidden'
|
|
60493
|
-
}
|
|
60496
|
+
"class": "row m-0 w-100"
|
|
60494
60497
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60495
|
-
|
|
60496
|
-
width: '100%',
|
|
60497
|
-
height: '5.5px'
|
|
60498
|
-
}
|
|
60498
|
+
"class": sectionproperties.image_show == 'show' ? 'col-lg-6 p-0' : 'col-lg-12 p-0'
|
|
60499
60499
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60500
|
-
"class":
|
|
60500
|
+
"class": "row m-0 w-100 d-flex align-items-center",
|
|
60501
60501
|
style: {
|
|
60502
|
-
|
|
60502
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
60503
|
+
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px'
|
|
60503
60504
|
}
|
|
60504
60505
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60505
|
-
"class":
|
|
60506
|
-
style: {
|
|
60507
|
-
backgroundColor: '#044da6',
|
|
60508
|
-
width: percentage + '%'
|
|
60509
|
-
}
|
|
60510
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60511
|
-
"class": "col-lg-12 text-start mt-5 px-4",
|
|
60506
|
+
"class": "col-lg-12 text-start",
|
|
60512
60507
|
style: {
|
|
60513
60508
|
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
60514
60509
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
@@ -60520,139 +60515,21 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60520
60515
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
60521
60516
|
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
60522
60517
|
}
|
|
60523
|
-
}, langdetect == 'en' ? formtitleen : formtitlear)),
|
|
60524
|
-
"class": 'row m-0 w-100 p-3 mt-3'
|
|
60525
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60526
|
-
"class": "col-lg-12 text-start"
|
|
60527
|
-
}, currentindex == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60528
|
-
"class": 'row m-0 w-100 '
|
|
60529
|
-
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields = dynamicform.fields) === null || _dynamicform$fields === void 0 ? void 0 : _dynamicform$fields.map(function (item, index) {
|
|
60530
|
-
if (index <= 2) {
|
|
60531
|
-
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
60532
|
-
return inputitem(item, index);
|
|
60533
|
-
} else if (item.type == 'textarea') {
|
|
60534
|
-
return textareaitem(item, index);
|
|
60535
|
-
} else if (item.type == 'selectbox') {
|
|
60536
|
-
return selectboxitem(item, index);
|
|
60537
|
-
}
|
|
60538
|
-
}
|
|
60539
|
-
})), currentindex == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60540
|
-
"class": 'row m-0 w-100 '
|
|
60541
|
-
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields2 = dynamicform.fields) === null || _dynamicform$fields2 === void 0 ? void 0 : _dynamicform$fields2.map(function (item, index) {
|
|
60542
|
-
if (index > 2 && index <= 5) {
|
|
60543
|
-
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
60544
|
-
return inputitem(item, index);
|
|
60545
|
-
} else if (item.type == 'textarea') {
|
|
60546
|
-
return textareaitem(item, index);
|
|
60547
|
-
} else if (item.type == 'selectbox') {
|
|
60548
|
-
return selectboxitem(item, index);
|
|
60549
|
-
}
|
|
60550
|
-
}
|
|
60551
|
-
})), currentindex == 2 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60552
|
-
"class": 'row m-0 w-100 '
|
|
60553
|
-
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields3 = dynamicform.fields) === null || _dynamicform$fields3 === void 0 ? void 0 : _dynamicform$fields3.map(function (item, index) {
|
|
60554
|
-
if (index > 5 && index <= 8) {
|
|
60555
|
-
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
60556
|
-
return inputitem(item, index);
|
|
60557
|
-
} else if (item.type == 'textarea') {
|
|
60558
|
-
return textareaitem(item, index);
|
|
60559
|
-
} else if (item.type == 'selectbox') {
|
|
60560
|
-
return selectboxitem(item, index);
|
|
60561
|
-
}
|
|
60562
|
-
}
|
|
60563
|
-
})), currentindex == 3 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60564
|
-
"class": 'row m-0 w-100 '
|
|
60565
|
-
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields4 = dynamicform.fields) === null || _dynamicform$fields4 === void 0 ? void 0 : _dynamicform$fields4.map(function (item, index) {
|
|
60566
|
-
if (index > 8 && index <= 11) {
|
|
60567
|
-
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
60568
|
-
return inputitem(item, index);
|
|
60569
|
-
} else if (item.type == 'textarea') {
|
|
60570
|
-
return textareaitem(item, index);
|
|
60571
|
-
} else if (item.type == 'selectbox') {
|
|
60572
|
-
return selectboxitem(item, index);
|
|
60573
|
-
}
|
|
60574
|
-
}
|
|
60575
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60576
|
-
"class": "col-lg-12 text-end flex-row px-4 mt-4"
|
|
60577
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60578
|
-
"class": form_cssstyles.btnLeft + ' allcentered ',
|
|
60579
|
-
style: {},
|
|
60580
|
-
onClick: function onClick() {
|
|
60581
|
-
if (currentindex == 1) {
|
|
60582
|
-
setcurrentindex(0);
|
|
60583
|
-
setpercentage(25);
|
|
60584
|
-
} else if (currentindex == 2) {
|
|
60585
|
-
setcurrentindex(1);
|
|
60586
|
-
setpercentage(50);
|
|
60587
|
-
} else if (currentindex == 3) {
|
|
60588
|
-
setcurrentindex(2);
|
|
60589
|
-
setpercentage(75);
|
|
60590
|
-
} else ;
|
|
60591
|
-
}
|
|
60592
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
60593
|
-
color: '#fff',
|
|
60594
|
-
size: 18
|
|
60595
|
-
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
60596
|
-
color: '#fff',
|
|
60597
|
-
size: 18
|
|
60598
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60599
|
-
"class": form_cssstyles.btnRight + ' allcentered ',
|
|
60600
|
-
onClick: function onClick() {
|
|
60601
|
-
if (currentindex == 0) {
|
|
60602
|
-
setcurrentindex(1);
|
|
60603
|
-
setpercentage(50);
|
|
60604
|
-
} else if (currentindex == 1) {
|
|
60605
|
-
setcurrentindex(2);
|
|
60606
|
-
setpercentage(75);
|
|
60607
|
-
} else if (currentindex == 2) {
|
|
60608
|
-
setcurrentindex(3);
|
|
60609
|
-
setpercentage(100);
|
|
60610
|
-
} else ;
|
|
60611
|
-
}
|
|
60612
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
60613
|
-
color: '#fff',
|
|
60614
|
-
size: 18
|
|
60615
|
-
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
60616
|
-
color: '#fff',
|
|
60617
|
-
size: 18
|
|
60618
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60619
|
-
"class": "col-lg-12 allcentered my-4",
|
|
60620
|
-
style: {
|
|
60621
|
-
visibility: currentindex == 3 ? 'visible' : 'hidden'
|
|
60622
|
-
}
|
|
60623
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
60624
|
-
onClick: function onClick() {
|
|
60625
|
-
submitform();
|
|
60626
|
-
},
|
|
60627
|
-
disabled: GeneralAPIMutationContext.isLoading,
|
|
60628
|
-
"class": form_cssstyles.generalbtn + ' allcentered '
|
|
60629
|
-
}, GeneralAPIMutationContext.isLoading ? /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
60630
|
-
color: sectionproperties.generalbtn_textColor,
|
|
60631
|
-
width: "20px",
|
|
60632
|
-
height: "20px",
|
|
60633
|
-
duration: "1s"
|
|
60634
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60635
|
-
"class": "row m-0 w-100"
|
|
60636
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60518
|
+
}, langdetect == 'en' ? formtitleen : formtitlear)), sectionproperties.prodCatFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60637
60519
|
"class": "col-lg-12 text-start",
|
|
60638
60520
|
style: {
|
|
60639
|
-
|
|
60640
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
60521
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
60641
60522
|
}
|
|
60642
60523
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60643
|
-
"class":
|
|
60644
|
-
style: {
|
|
60645
|
-
|
|
60646
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
60647
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
60648
|
-
}
|
|
60649
|
-
}, langdetect == 'en' ? formtitleen : formtitlear)), (dynamicform === null || dynamicform === void 0 ? void 0 : dynamicform.id) != undefined && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60524
|
+
"class": form_cssstyles.descriptioncontent + ' m-0 p-0 ',
|
|
60525
|
+
style: {}
|
|
60526
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), (dynamicform === null || dynamicform === void 0 ? void 0 : dynamicform.id) != undefined && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60650
60527
|
"class": 'row m-0 w-100 '
|
|
60651
60528
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60652
60529
|
"class": "col-lg-12 text-start"
|
|
60653
60530
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60654
60531
|
"class": 'row m-0 w-100 '
|
|
60655
|
-
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$
|
|
60532
|
+
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields = dynamicform.fields) === null || _dynamicform$fields === void 0 ? void 0 : _dynamicform$fields.map(function (item, index) {
|
|
60656
60533
|
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
60657
60534
|
return inputitem(item, index);
|
|
60658
60535
|
} else if (item.type == 'phone number') {
|
|
@@ -60663,7 +60540,10 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60663
60540
|
return selectboxitem(item, index);
|
|
60664
60541
|
}
|
|
60665
60542
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60666
|
-
"class": "col-lg-12
|
|
60543
|
+
"class": "col-lg-12 d-flex align-items-cemter my-4",
|
|
60544
|
+
style: {
|
|
60545
|
+
justifyContent: sectionproperties.generalbtn_position == 'Centered' ? 'center' : 'start'
|
|
60546
|
+
}
|
|
60667
60547
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
60668
60548
|
onClick: function onClick() {
|
|
60669
60549
|
submitform();
|
|
@@ -60675,7 +60555,37 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
60675
60555
|
width: "20px",
|
|
60676
60556
|
height: "20px",
|
|
60677
60557
|
duration: "1s"
|
|
60678
|
-
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))
|
|
60558
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), sectionproperties.generaltext_fontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60559
|
+
"class": "col-lg-12 d-flex align-items-cemter my-4",
|
|
60560
|
+
style: {
|
|
60561
|
+
justifyContent: sectionproperties.general_text_content == 'Centered' ? 'center' : 'start'
|
|
60562
|
+
}
|
|
60563
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
60564
|
+
"class": 'p-md-0 wordbreak ',
|
|
60565
|
+
style: {
|
|
60566
|
+
position: 'relative',
|
|
60567
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
60568
|
+
color: sectionproperties.generaltext_fontColor,
|
|
60569
|
+
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
60570
|
+
marginBottom: sectionproperties.text_styles_marginBottom + 'px',
|
|
60571
|
+
textAlign: sectionproperties.general_text_content == 'Centered' ? 'center' : 'start'
|
|
60572
|
+
},
|
|
60573
|
+
dangerouslySetInnerHTML: {
|
|
60574
|
+
__html: langdetect == 'en' ? sectionproperties.textstylesen_editor : sectionproperties.textstylesar_editor
|
|
60575
|
+
}
|
|
60576
|
+
}))))), sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60577
|
+
"class": 'col-lg-6 p-0'
|
|
60578
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp
|
|
60579
|
+
// class={imagesarray.imageimage}
|
|
60580
|
+
, {
|
|
60581
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
60582
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
60583
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.bgsection_image_ar),
|
|
60584
|
+
style: {
|
|
60585
|
+
width: '100%',
|
|
60586
|
+
height: '100%'
|
|
60587
|
+
}
|
|
60588
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
60679
60589
|
show: showpopup,
|
|
60680
60590
|
onHide: function onHide() {
|
|
60681
60591
|
setshowpopup(false);
|
|
@@ -63329,7 +63239,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
63329
63239
|
background: sectionproperties.linebgcolor
|
|
63330
63240
|
}),
|
|
63331
63241
|
text1Styles: glamor.css({
|
|
63332
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
63242
|
+
// color: sectionproperties.slideshowText1ContentColor,
|
|
63333
63243
|
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
63334
63244
|
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
63335
63245
|
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
@@ -63352,8 +63262,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
63352
63262
|
backgroundColor: sectionproperties.activedotcolor
|
|
63353
63263
|
},
|
|
63354
63264
|
'@media (max-width: 800px)': {
|
|
63355
|
-
width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.
|
|
63356
|
-
height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.
|
|
63265
|
+
width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_width_resp + '%' : sectionproperties.image_width_resp + 'px',
|
|
63266
|
+
height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.height_responsive + '%' : sectionproperties.height_responsive + 'px'
|
|
63357
63267
|
}
|
|
63358
63268
|
}),
|
|
63359
63269
|
cardContainer: glamor.css({
|
|
@@ -63480,7 +63390,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
63480
63390
|
"class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto ',
|
|
63481
63391
|
style: {
|
|
63482
63392
|
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
|
|
63483
|
-
background: sectionproperties.reservation_bgcolor,
|
|
63393
|
+
// background: sectionproperties.reservation_bgcolor,
|
|
63394
|
+
background: cardinfoitem.cardbgcolorfromarray,
|
|
63484
63395
|
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
63485
63396
|
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
63486
63397
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
@@ -63511,14 +63422,16 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
63511
63422
|
}
|
|
63512
63423
|
}
|
|
63513
63424
|
}, sectionproperties.imageposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63514
|
-
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
63425
|
+
"class": "col-lg-12 d-flex align-items-center p-0 w-100 h-100",
|
|
63515
63426
|
style: {
|
|
63516
63427
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
63517
63428
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
63518
63429
|
}
|
|
63519
63430
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63520
63431
|
"class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
|
|
63521
|
-
style: {
|
|
63432
|
+
style: {
|
|
63433
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
63434
|
+
}
|
|
63522
63435
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
63523
63436
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
63524
63437
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -63566,7 +63479,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
63566
63479
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
63567
63480
|
"class": sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles ',
|
|
63568
63481
|
style: {
|
|
63569
|
-
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default'
|
|
63482
|
+
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
|
|
63483
|
+
color: cardinfoitem.text1colorfromarray
|
|
63570
63484
|
}
|
|
63571
63485
|
}, langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63572
63486
|
"class": "col-lg-12 d-flex p-0",
|
|
@@ -63576,10 +63490,11 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
63576
63490
|
}, sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
63577
63491
|
"class": "m-0 wordbreak",
|
|
63578
63492
|
style: {
|
|
63579
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
63493
|
+
// color: sectionproperties.slideshowText2ContentColor,
|
|
63580
63494
|
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
63581
63495
|
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
63582
|
-
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
63496
|
+
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
63497
|
+
color: cardinfoitem.text2colorfromarray
|
|
63583
63498
|
}
|
|
63584
63499
|
}, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar)), sectionproperties.imageposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63585
63500
|
"class": "col-lg-12 d-flex align-items-center p-0",
|