@bonlineza/luxity-lib 2.36.1-beta.3 → 2.36.1-uk-platform.1
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/GraphQLDropdownSelector.js +5 -6
- package/Interests.js +5 -6
- package/LuxityAppSideNav.js +1 -1
- package/LuxityDesktopHeader.js +345 -384
- package/LuxityFooter.js +4 -4
- package/LuxityGraphQLDropdownSelector.js +5 -6
- package/LuxityMobileHeader.js +386 -449
- package/LuxitySideNav.js +79 -219
- package/MaterialSelector.js +5 -6
- package/ModelSelector.js +5 -6
- package/NotificationDropDown.js +5 -6
- package/build/bundle.css +1 -1
- package/build/bundle.js +520 -644
- package/package.json +2 -3
|
@@ -9382,11 +9382,10 @@
|
|
|
9382
9382
|
var _data$data$user = data.data.user,
|
|
9383
9383
|
email_interest_send_schedule = _data$data$user.email_interest_send_schedule,
|
|
9384
9384
|
whatsapp_interest_send_schedule = _data$data$user.whatsapp_interest_send_schedule,
|
|
9385
|
-
|
|
9386
|
-
is_exclusive = _data$data$user.is_exclusive;
|
|
9385
|
+
vip = _data$data$user.vip;
|
|
9387
9386
|
_this.setState({
|
|
9388
9387
|
options: options,
|
|
9389
|
-
|
|
9388
|
+
isVip: vip,
|
|
9390
9389
|
emailSelectedOption: options.find(function (item) {
|
|
9391
9390
|
return item.value === email_interest_send_schedule;
|
|
9392
9391
|
}),
|
|
@@ -9400,7 +9399,7 @@
|
|
|
9400
9399
|
options = _this$state.options,
|
|
9401
9400
|
emailSelectedOption = _this$state.emailSelectedOption,
|
|
9402
9401
|
whatsappSelectedOption = _this$state.whatsappSelectedOption,
|
|
9403
|
-
|
|
9402
|
+
isVip = _this$state.isVip,
|
|
9404
9403
|
updating = _this$state.request.fetching;
|
|
9405
9404
|
return /*#__PURE__*/React__default.createElement(NotifyContainer, null, /*#__PURE__*/React__default.createElement(LuxityNotifications, null), /*#__PURE__*/React__default.createElement(LuxityPageReady, {
|
|
9406
9405
|
getRequestPromise: _this.props.getSchedule,
|
|
@@ -9409,7 +9408,7 @@
|
|
|
9409
9408
|
}
|
|
9410
9409
|
}, /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
9411
9410
|
className: "notification-settings"
|
|
9412
|
-
},
|
|
9411
|
+
}, isVip && /*#__PURE__*/React__default.createElement("div", {
|
|
9413
9412
|
className: "notification-row-wrapper"
|
|
9414
9413
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
9415
9414
|
className: "notification-dropdown-label"
|
|
@@ -9453,7 +9452,7 @@
|
|
|
9453
9452
|
options: [],
|
|
9454
9453
|
emailSelectedOption: null,
|
|
9455
9454
|
whatsappSelectedOption: null,
|
|
9456
|
-
|
|
9455
|
+
isVip: false,
|
|
9457
9456
|
request: _objectSpread2({}, request)
|
|
9458
9457
|
};
|
|
9459
9458
|
return _this;
|
package/Interests.js
CHANGED
|
@@ -7430,11 +7430,10 @@
|
|
|
7430
7430
|
var _data$data$user = data.data.user,
|
|
7431
7431
|
email_interest_send_schedule = _data$data$user.email_interest_send_schedule,
|
|
7432
7432
|
whatsapp_interest_send_schedule = _data$data$user.whatsapp_interest_send_schedule,
|
|
7433
|
-
|
|
7434
|
-
is_exclusive = _data$data$user.is_exclusive;
|
|
7433
|
+
vip = _data$data$user.vip;
|
|
7435
7434
|
_this.setState({
|
|
7436
7435
|
options: options,
|
|
7437
|
-
|
|
7436
|
+
isVip: vip,
|
|
7438
7437
|
emailSelectedOption: options.find(function (item) {
|
|
7439
7438
|
return item.value === email_interest_send_schedule;
|
|
7440
7439
|
}),
|
|
@@ -7448,7 +7447,7 @@
|
|
|
7448
7447
|
options = _this$state.options,
|
|
7449
7448
|
emailSelectedOption = _this$state.emailSelectedOption,
|
|
7450
7449
|
whatsappSelectedOption = _this$state.whatsappSelectedOption,
|
|
7451
|
-
|
|
7450
|
+
isVip = _this$state.isVip,
|
|
7452
7451
|
updating = _this$state.request.fetching;
|
|
7453
7452
|
return /*#__PURE__*/React__default.createElement(NotifyContainer, null, /*#__PURE__*/React__default.createElement(LuxityNotifications, null), /*#__PURE__*/React__default.createElement(LuxityPageReady, {
|
|
7454
7453
|
getRequestPromise: _this.props.getSchedule,
|
|
@@ -7457,7 +7456,7 @@
|
|
|
7457
7456
|
}
|
|
7458
7457
|
}, /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7459
7458
|
className: "notification-settings"
|
|
7460
|
-
},
|
|
7459
|
+
}, isVip && /*#__PURE__*/React__default.createElement("div", {
|
|
7461
7460
|
className: "notification-row-wrapper"
|
|
7462
7461
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
7463
7462
|
className: "notification-dropdown-label"
|
|
@@ -7501,7 +7500,7 @@
|
|
|
7501
7500
|
options: [],
|
|
7502
7501
|
emailSelectedOption: null,
|
|
7503
7502
|
whatsappSelectedOption: null,
|
|
7504
|
-
|
|
7503
|
+
isVip: false,
|
|
7505
7504
|
request: _objectSpread2({}, request)
|
|
7506
7505
|
};
|
|
7507
7506
|
return _this;
|
package/LuxityAppSideNav.js
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
src: accountIcon,
|
|
64
64
|
alt: "close-icon",
|
|
65
65
|
className: "side-nav__menu-icon"
|
|
66
|
-
}), "Account"))), /*#__PURE__*/React.createElement("div", {
|
|
66
|
+
}), "Account"))), onInterestClick && /*#__PURE__*/React.createElement("div", {
|
|
67
67
|
className: "side-nav__menu-item"
|
|
68
68
|
}, /*#__PURE__*/React.createElement("button", {
|
|
69
69
|
type: "button",
|