tabexseriescomponents 0.0.409 → 0.0.410
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 +248 -57
- package/dist/index.esm.js +248 -57
- package/dist/index.umd.js +248 -57
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -28834,9 +28834,9 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28834
28834
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28835
28835
|
"class": "col-lg-12 p-0"
|
|
28836
28836
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28837
|
-
"class": "".concat(headerstyles$8.header_innercontainer, " ").concat(header_cssstyles.header_innercontainer) + ' row m-0 w-100 d-flex d-md-none align-items-center '
|
|
28837
|
+
"class": "".concat(headerstyles$8.header_innercontainer, " ").concat(header_cssstyles.header_innercontainer) + ' row m-0 w-100 d-flex d-md-none align-items-center px-1025-1 '
|
|
28838
28838
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28839
|
-
"class": "col-lg-
|
|
28839
|
+
"class": "col-lg-2 p-0 d-flex align-items-center"
|
|
28840
28840
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28841
28841
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
28842
28842
|
style: {
|
|
@@ -28854,7 +28854,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28854
28854
|
maxHeight: '100%'
|
|
28855
28855
|
}
|
|
28856
28856
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28857
|
-
"class":
|
|
28857
|
+
"class": sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.icontextfontsize == 0 ? 'col-lg-9 p-0 d-flex align-items-center justify-content-center' : 'col-lg-7 p-0 d-flex align-items-center justify-content-center'
|
|
28858
28858
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28859
28859
|
"class": "scrollhorizontal w-100 align-items-center justify-content-center",
|
|
28860
28860
|
style: {
|
|
@@ -28886,12 +28886,12 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28886
28886
|
actions: actions,
|
|
28887
28887
|
subheaderpropertiesprops: {
|
|
28888
28888
|
subheaderpositionprops: 'in nav',
|
|
28889
|
-
paddingLeftprops: '
|
|
28890
|
-
paddingRightprops: '
|
|
28889
|
+
paddingLeftprops: '15px',
|
|
28890
|
+
paddingRightprops: '15px',
|
|
28891
28891
|
subheadercontentpositionprops: 'center'
|
|
28892
28892
|
}
|
|
28893
28893
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28894
|
-
"class":
|
|
28894
|
+
"class": sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.icontextfontsize == 0 ? 'col-lg-1 p-0 d-flex align-items-center justify-content-end' : 'col-lg-3 p-0 d-flex align-items-center justify-content-end'
|
|
28895
28895
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], {
|
|
28896
28896
|
style: {
|
|
28897
28897
|
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
@@ -29024,7 +29024,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
29024
29024
|
}
|
|
29025
29025
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29026
29026
|
"class": "".concat(headerstyles$8.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.wishlistbadge) + ' d-flex justify-content-center text-center '
|
|
29027
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29027
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29028
29028
|
"class": !authdetailsContext.loggedin ? langdetect == 'en' ? "".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ml-3 mr-4 ' : "".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ml-4 mr-3 ' : "".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
29029
29029
|
onClick: function onClick() {
|
|
29030
29030
|
setsidecartnavshowcontext(true);
|
|
@@ -29064,7 +29064,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
29064
29064
|
top: sectionproperties.cartbadgetop + 'px',
|
|
29065
29065
|
right: sectionproperties.cartbadgeright + 'px'
|
|
29066
29066
|
}
|
|
29067
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29067
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), sectionproperties.icontextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29068
29068
|
"class": langdetect == 'en' ? 'informationdropdown informationdropdown_en' : 'informationdropdown informationdropdown_ar'
|
|
29069
29069
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29070
29070
|
"class": header_cssstyles.infoiconcontainer + ' allcentered '
|
|
@@ -29125,15 +29125,13 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
29125
29125
|
size: sectionproperties.youtubebtniconfontsize
|
|
29126
29126
|
})))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29127
29127
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
29128
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
29129
|
-
style: {
|
|
29130
|
-
marginLeft: langdetect == 'en' ? '25px' : 0,
|
|
29131
|
-
marginRight: langdetect == 'ar' ? '25px' : 0
|
|
29132
|
-
}
|
|
29133
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
29128
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
29134
29129
|
"class": ' d-flex align-items-center justify-content-center '
|
|
29135
29130
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29136
|
-
"class": "".concat(header_cssstyles.language_container) + ' row m-0 allcentered '
|
|
29131
|
+
"class": "".concat(header_cssstyles.language_container) + ' row m-0 allcentered ',
|
|
29132
|
+
onClick: function onClick() {
|
|
29133
|
+
setlang('en');
|
|
29134
|
+
}
|
|
29137
29135
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
29138
29136
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
29139
29137
|
style: {
|
|
@@ -29150,7 +29148,10 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
29150
29148
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29151
29149
|
"class": "m-0 p-0"
|
|
29152
29150
|
}, "\u0639")), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29153
|
-
"class": "".concat(header_cssstyles.language_container) + ' row m-0 allcentered '
|
|
29151
|
+
"class": "".concat(header_cssstyles.language_container) + ' row m-0 allcentered ',
|
|
29152
|
+
onClick: function onClick() {
|
|
29153
|
+
setlang('ar');
|
|
29154
|
+
}
|
|
29154
29155
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
29155
29156
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
29156
29157
|
style: {
|
|
@@ -29166,39 +29167,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
29166
29167
|
"class": "ml-2 mr-2"
|
|
29167
29168
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29168
29169
|
"class": "m-0 p-0"
|
|
29169
|
-
}, "En")))), /*#__PURE__*/React__default["default"].createElement(
|
|
29170
|
-
onClick: function onClick() {
|
|
29171
|
-
setlang('ar');
|
|
29172
|
-
}
|
|
29173
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29174
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
29175
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29176
|
-
"class": ' d-flex align-items-center m-0 p-0 '
|
|
29177
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
29178
|
-
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
29179
|
-
style: {
|
|
29180
|
-
maxWidth: '2.5vh',
|
|
29181
|
-
maxHeight: '2.5vh'
|
|
29182
|
-
}
|
|
29183
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29184
|
-
"class": "ml-2 mr-2"
|
|
29185
|
-
}, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
29186
|
-
onClick: function onClick() {
|
|
29187
|
-
setlang('en');
|
|
29188
|
-
}
|
|
29189
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29190
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
29191
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29192
|
-
"class": ' d-flex align-items-center m-0 p-0 '
|
|
29193
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
29194
|
-
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
29195
|
-
style: {
|
|
29196
|
-
maxWidth: '2.5vh',
|
|
29197
|
-
maxHeight: '2.5vh'
|
|
29198
|
-
}
|
|
29199
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29200
|
-
"class": "ml-2 mr-2"
|
|
29201
|
-
}, lang.english)))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29170
|
+
}, "En"))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29202
29171
|
"class": "col-lg-12 p-0"
|
|
29203
29172
|
}, sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
29204
29173
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -52652,8 +52621,9 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
|
|
|
52652
52621
|
|
|
52653
52622
|
function ownKeys$_(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; }
|
|
52654
52623
|
function _objectSpread$_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
52624
|
+
// 49
|
|
52655
52625
|
var DynamicForm = function DynamicForm(props) {
|
|
52656
|
-
var _css, _dynamicform$fields;
|
|
52626
|
+
var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
|
|
52657
52627
|
props.actions.lang;
|
|
52658
52628
|
var langdetect = props.actions.langdetect;
|
|
52659
52629
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -52681,6 +52651,30 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52681
52651
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
52682
52652
|
confirmationtext = _useState10[0],
|
|
52683
52653
|
setconfirmationtext = _useState10[1];
|
|
52654
|
+
var _useState11 = React.useState(25),
|
|
52655
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
52656
|
+
percentage = _useState12[0],
|
|
52657
|
+
setpercentage = _useState12[1];
|
|
52658
|
+
var _useState13 = React.useState(''),
|
|
52659
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
52660
|
+
_useState14[0];
|
|
52661
|
+
var setnumberoffields = _useState14[1];
|
|
52662
|
+
var _useState15 = React.useState(0),
|
|
52663
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
52664
|
+
_useState16[0];
|
|
52665
|
+
var setnumberofslides = _useState16[1];
|
|
52666
|
+
var _useState17 = React.useState(0),
|
|
52667
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
52668
|
+
_useState18[0];
|
|
52669
|
+
_useState18[1];
|
|
52670
|
+
var _useState19 = React.useState(0),
|
|
52671
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
52672
|
+
currentindex = _useState20[0],
|
|
52673
|
+
setcurrentindex = _useState20[1];
|
|
52674
|
+
var _useState21 = React.useState(0),
|
|
52675
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2);
|
|
52676
|
+
_useState22[0];
|
|
52677
|
+
var setnumberoffiledinslide = _useState22[1];
|
|
52684
52678
|
React.useEffect(function () {
|
|
52685
52679
|
var secpropobj = {};
|
|
52686
52680
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -52697,7 +52691,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52697
52691
|
var _fetchdynamicformfeil;
|
|
52698
52692
|
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) {
|
|
52699
52693
|
if (item.id == dynamicformid) {
|
|
52700
|
-
var _tempitem$fields;
|
|
52694
|
+
var _tempitem$fields, _tempitem$fields2;
|
|
52701
52695
|
var tempitem = item;
|
|
52702
52696
|
tempitem === null || tempitem === void 0 || (_tempitem$fields = tempitem.fields) === null || _tempitem$fields === void 0 || _tempitem$fields.forEach(function (fielditem) {
|
|
52703
52697
|
fielditem.value = '';
|
|
@@ -52705,8 +52699,15 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52705
52699
|
setdynamicform(tempitem);
|
|
52706
52700
|
var temptitleen = tempitem.title_en;
|
|
52707
52701
|
var temptitlear = tempitem.title_ar;
|
|
52702
|
+
var tempnumberoffields = tempitem === null || tempitem === void 0 || (_tempitem$fields2 = tempitem.fields) === null || _tempitem$fields2 === void 0 ? void 0 : _tempitem$fields2.length; //12
|
|
52703
|
+
var tempnumberoffiledinslide = sectionproperties.numberofslides; //4
|
|
52704
|
+
var tempnumberofslides = Math.ceil(tempnumberoffields / tempnumberoffiledinslide); //3
|
|
52705
|
+
|
|
52708
52706
|
setformtitleen(temptitleen);
|
|
52709
52707
|
setformtitlear(temptitlear);
|
|
52708
|
+
setnumberoffields(tempnumberoffields);
|
|
52709
|
+
setnumberoffiledinslide(tempnumberoffiledinslide);
|
|
52710
|
+
setnumberofslides(tempnumberofslides);
|
|
52710
52711
|
}
|
|
52711
52712
|
});
|
|
52712
52713
|
}
|
|
@@ -52747,9 +52748,9 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52747
52748
|
}
|
|
52748
52749
|
};
|
|
52749
52750
|
var clearform = function clearform() {
|
|
52750
|
-
var _tempitem$
|
|
52751
|
+
var _tempitem$fields3;
|
|
52751
52752
|
var tempitem = _objectSpread$_({}, dynamicform);
|
|
52752
|
-
tempitem === null || tempitem === void 0 || (_tempitem$
|
|
52753
|
+
tempitem === null || tempitem === void 0 || (_tempitem$fields3 = tempitem.fields) === null || _tempitem$fields3 === void 0 || _tempitem$fields3.forEach(function (fielditem) {
|
|
52753
52754
|
fielditem.value = '';
|
|
52754
52755
|
});
|
|
52755
52756
|
setdynamicform(tempitem);
|
|
@@ -52839,7 +52840,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52839
52840
|
position: 'relative',
|
|
52840
52841
|
display: 'flex',
|
|
52841
52842
|
alignItems: 'center'
|
|
52842
|
-
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 30px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty__default["default"](_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty__default["default"](_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_css, "fontSize", sectionproperties.inputfieldfontsize + 'px'), _defineProperty__default["default"](_css, ':focus', {
|
|
52843
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 30px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty__default["default"](_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty__default["default"](_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_css, "fontSize", sectionproperties.inputfieldfontsize + 'px'), _defineProperty__default["default"](_css, "marginBottom", sectionproperties.inputfieldbordertype == 'All' ? 20 : 0), _defineProperty__default["default"](_css, ':focus', {
|
|
52843
52844
|
borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
52844
52845
|
boxShadow: 'none',
|
|
52845
52846
|
transition: '.3s'
|
|
@@ -52857,10 +52858,41 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52857
52858
|
color: sectionproperties.generalbtn_textColoronhover,
|
|
52858
52859
|
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
52859
52860
|
}
|
|
52861
|
+
}),
|
|
52862
|
+
btnLeft: glamor.css({
|
|
52863
|
+
width: 40,
|
|
52864
|
+
height: 40,
|
|
52865
|
+
// borderRadius: 20,
|
|
52866
|
+
borderRight: langdetect == 'en' ? '1px solid #ccc' : 0,
|
|
52867
|
+
backgroundColor: '#000',
|
|
52868
|
+
cursor: 'pointer',
|
|
52869
|
+
borderTopLeftRadius: langdetect == 'en' ? 5 : 0,
|
|
52870
|
+
borderBottomLeftRadius: langdetect == 'en' ? 5 : 0,
|
|
52871
|
+
borderTopRightRadius: langdetect == 'ar' ? 5 : 0,
|
|
52872
|
+
borderBottomRightRadius: langdetect == 'ar' ? 5 : 0,
|
|
52873
|
+
':hover': {
|
|
52874
|
+
transition: '.3s',
|
|
52875
|
+
backgroundColor: '#044da6'
|
|
52876
|
+
}
|
|
52877
|
+
}),
|
|
52878
|
+
btnRight: glamor.css({
|
|
52879
|
+
width: 40,
|
|
52880
|
+
height: 40,
|
|
52881
|
+
borderLeft: langdetect == 'en' ? '1px solid #ccc' : 0,
|
|
52882
|
+
backgroundColor: '#000',
|
|
52883
|
+
cursor: 'pointer',
|
|
52884
|
+
borderTopRightRadius: langdetect == 'en' ? 5 : 0,
|
|
52885
|
+
borderBottomRightRadius: langdetect == 'en' ? 5 : 0,
|
|
52886
|
+
borderTopLeftRadius: langdetect == 'ar' ? 5 : 0,
|
|
52887
|
+
borderBottomLeftRadius: langdetect == 'ar' ? 5 : 0,
|
|
52888
|
+
':hover': {
|
|
52889
|
+
transition: '.3s',
|
|
52890
|
+
backgroundColor: '#044da6'
|
|
52891
|
+
}
|
|
52860
52892
|
})
|
|
52861
52893
|
};
|
|
52862
52894
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52863
|
-
"class": 'row m-0 w-100 h-100 px-md-2',
|
|
52895
|
+
"class": 'row m-0 w-100 h-100 px-md-2 allcentered',
|
|
52864
52896
|
style: {
|
|
52865
52897
|
background: sectionproperties.backgroundColor,
|
|
52866
52898
|
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
@@ -52868,6 +52900,165 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52868
52900
|
paddingTop: sectionproperties.cardpaddingvertical + 'px',
|
|
52869
52901
|
paddingBottom: sectionproperties.cardpaddingvertical + 'px'
|
|
52870
52902
|
}
|
|
52903
|
+
}, dynamicformid == '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52904
|
+
"class": "col-lg-10 m-0 w-100 allcentered"
|
|
52905
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52906
|
+
"class": "row m-0 w-100",
|
|
52907
|
+
style: {
|
|
52908
|
+
border: '1px solid #ccc',
|
|
52909
|
+
borderRadius: 20,
|
|
52910
|
+
overflow: 'hidden'
|
|
52911
|
+
}
|
|
52912
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52913
|
+
style: {
|
|
52914
|
+
width: '100%',
|
|
52915
|
+
height: '5.5px'
|
|
52916
|
+
}
|
|
52917
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52918
|
+
"class": 'ratingbar',
|
|
52919
|
+
style: {
|
|
52920
|
+
backgroundColor: 'rgb(226, 226, 226)'
|
|
52921
|
+
}
|
|
52922
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52923
|
+
"class": 'ratingbar',
|
|
52924
|
+
style: {
|
|
52925
|
+
backgroundColor: '#044da6',
|
|
52926
|
+
width: percentage + '%'
|
|
52927
|
+
}
|
|
52928
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52929
|
+
"class": "col-lg-12 text-start mt-5 px-4",
|
|
52930
|
+
style: {
|
|
52931
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
52932
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
52933
|
+
}
|
|
52934
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
52935
|
+
"class": "m-0 p-0",
|
|
52936
|
+
style: {
|
|
52937
|
+
color: sectionproperties.sectionTitleColor,
|
|
52938
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
52939
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
52940
|
+
}
|
|
52941
|
+
}, langdetect == 'en' ? formtitleen : formtitlear)), (dynamicform === null || dynamicform === void 0 ? void 0 : dynamicform.id) != undefined && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52942
|
+
"class": 'row m-0 w-100 p-3 mt-3'
|
|
52943
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52944
|
+
"class": "col-lg-12 text-start"
|
|
52945
|
+
}, currentindex == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52946
|
+
"class": 'row m-0 w-100 '
|
|
52947
|
+
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields = dynamicform.fields) === null || _dynamicform$fields === void 0 ? void 0 : _dynamicform$fields.map(function (item, index) {
|
|
52948
|
+
if (index <= 2) {
|
|
52949
|
+
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
52950
|
+
return inputitem(item, index);
|
|
52951
|
+
} else if (item.type == 'textarea') {
|
|
52952
|
+
return textareaitem(item, index);
|
|
52953
|
+
} else if (item.type == 'selectbox') {
|
|
52954
|
+
return selectboxitem(item, index);
|
|
52955
|
+
}
|
|
52956
|
+
}
|
|
52957
|
+
})), currentindex == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52958
|
+
"class": 'row m-0 w-100 '
|
|
52959
|
+
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields2 = dynamicform.fields) === null || _dynamicform$fields2 === void 0 ? void 0 : _dynamicform$fields2.map(function (item, index) {
|
|
52960
|
+
if (index > 2 && index <= 5) {
|
|
52961
|
+
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
52962
|
+
return inputitem(item, index);
|
|
52963
|
+
} else if (item.type == 'textarea') {
|
|
52964
|
+
return textareaitem(item, index);
|
|
52965
|
+
} else if (item.type == 'selectbox') {
|
|
52966
|
+
return selectboxitem(item, index);
|
|
52967
|
+
}
|
|
52968
|
+
}
|
|
52969
|
+
})), currentindex == 2 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52970
|
+
"class": 'row m-0 w-100 '
|
|
52971
|
+
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields3 = dynamicform.fields) === null || _dynamicform$fields3 === void 0 ? void 0 : _dynamicform$fields3.map(function (item, index) {
|
|
52972
|
+
if (index > 5 && index <= 8) {
|
|
52973
|
+
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
52974
|
+
return inputitem(item, index);
|
|
52975
|
+
} else if (item.type == 'textarea') {
|
|
52976
|
+
return textareaitem(item, index);
|
|
52977
|
+
} else if (item.type == 'selectbox') {
|
|
52978
|
+
return selectboxitem(item, index);
|
|
52979
|
+
}
|
|
52980
|
+
}
|
|
52981
|
+
})), currentindex == 3 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52982
|
+
"class": 'row m-0 w-100 '
|
|
52983
|
+
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields4 = dynamicform.fields) === null || _dynamicform$fields4 === void 0 ? void 0 : _dynamicform$fields4.map(function (item, index) {
|
|
52984
|
+
if (index > 8 && index <= 11) {
|
|
52985
|
+
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
52986
|
+
return inputitem(item, index);
|
|
52987
|
+
} else if (item.type == 'textarea') {
|
|
52988
|
+
return textareaitem(item, index);
|
|
52989
|
+
} else if (item.type == 'selectbox') {
|
|
52990
|
+
return selectboxitem(item, index);
|
|
52991
|
+
}
|
|
52992
|
+
}
|
|
52993
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52994
|
+
"class": "col-lg-12 text-end flex-row px-4 mt-4"
|
|
52995
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52996
|
+
"class": form_cssstyles.btnLeft + ' allcentered ',
|
|
52997
|
+
style: {},
|
|
52998
|
+
onClick: function onClick() {
|
|
52999
|
+
if (currentindex == 1) {
|
|
53000
|
+
setcurrentindex(0);
|
|
53001
|
+
setpercentage(25);
|
|
53002
|
+
} else if (currentindex == 2) {
|
|
53003
|
+
setcurrentindex(1);
|
|
53004
|
+
setpercentage(50);
|
|
53005
|
+
} else if (currentindex == 3) {
|
|
53006
|
+
setcurrentindex(2);
|
|
53007
|
+
setpercentage(75);
|
|
53008
|
+
} else ;
|
|
53009
|
+
}
|
|
53010
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
53011
|
+
color: '#fff',
|
|
53012
|
+
size: 18
|
|
53013
|
+
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
53014
|
+
color: '#fff',
|
|
53015
|
+
size: 18
|
|
53016
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53017
|
+
"class": form_cssstyles.btnRight + ' allcentered ',
|
|
53018
|
+
onClick: function onClick() {
|
|
53019
|
+
if (currentindex == 0) {
|
|
53020
|
+
setcurrentindex(1);
|
|
53021
|
+
setpercentage(50);
|
|
53022
|
+
} else if (currentindex == 1) {
|
|
53023
|
+
setcurrentindex(2);
|
|
53024
|
+
setpercentage(75);
|
|
53025
|
+
} else if (currentindex == 2) {
|
|
53026
|
+
setcurrentindex(3);
|
|
53027
|
+
setpercentage(100);
|
|
53028
|
+
} else ;
|
|
53029
|
+
}
|
|
53030
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
53031
|
+
color: '#fff',
|
|
53032
|
+
size: 18
|
|
53033
|
+
}), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
53034
|
+
color: '#fff',
|
|
53035
|
+
size: 18
|
|
53036
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53037
|
+
"class": "col-lg-12 allcentered my-4",
|
|
53038
|
+
style: {
|
|
53039
|
+
visibility: currentindex == 3 ? 'visible' : 'hidden'
|
|
53040
|
+
}
|
|
53041
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
53042
|
+
onClick: function onClick() {
|
|
53043
|
+
submitform();
|
|
53044
|
+
},
|
|
53045
|
+
disabled: GeneralAPIMutationContext.isLoading,
|
|
53046
|
+
"class": form_cssstyles.generalbtn + ' allcentered '
|
|
53047
|
+
}, GeneralAPIMutationContext.isLoading ? /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
53048
|
+
color: sectionproperties.generalbtn_textColor,
|
|
53049
|
+
width: "20px",
|
|
53050
|
+
height: "20px",
|
|
53051
|
+
duration: "1s"
|
|
53052
|
+
}) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53053
|
+
"class": "col-lg-12 allcentered my-4"
|
|
53054
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53055
|
+
"class": "m-0 p-0",
|
|
53056
|
+
style: {
|
|
53057
|
+
fontSize: 20,
|
|
53058
|
+
color: '#000'
|
|
53059
|
+
}
|
|
53060
|
+
}, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53061
|
+
"class": "row m-0 w-100"
|
|
52871
53062
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52872
53063
|
"class": "col-lg-12 text-start",
|
|
52873
53064
|
style: {
|
|
@@ -52887,7 +53078,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52887
53078
|
"class": "col-lg-12 text-start"
|
|
52888
53079
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52889
53080
|
"class": 'row m-0 w-100 '
|
|
52890
|
-
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$
|
|
53081
|
+
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields5 = dynamicform.fields) === null || _dynamicform$fields5 === void 0 ? void 0 : _dynamicform$fields5.map(function (item, index) {
|
|
52891
53082
|
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
52892
53083
|
return inputitem(item, index);
|
|
52893
53084
|
} else if (item.type == 'textarea') {
|
|
@@ -52916,7 +53107,7 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
52916
53107
|
fontSize: 20,
|
|
52917
53108
|
color: '#000'
|
|
52918
53109
|
}
|
|
52919
|
-
}, confirmationtext))));
|
|
53110
|
+
}, confirmationtext)))));
|
|
52920
53111
|
};
|
|
52921
53112
|
|
|
52922
53113
|
function ownKeys$Z(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; }
|