@crystaldesign/diva-core 24.11.0-beta.4 → 24.11.0-beta.40
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/build/esm/{ModalsWrapper-e989440c.js → ModalsWrapper-99dc756f.js} +1 -1
- package/build/esm/{index-da1decd9.js → index-b39877fc.js} +16 -14
- package/build/esm/{index-c3023714.js → index-e01f76a5.js} +89 -86
- package/build/esm/index.js +1 -1
- package/build/types/core/src/elements/Auth/Input/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/Login/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/WelcomeScreen/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/WelcomeScreen/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Barrier/SimpleLogin.d.ts.map +1 -1
- package/build/types/core/src/elements/Barrier/index.d.ts.map +1 -1
- package/build/umd/89.diva-core.umd.min.js +1 -1
- package/build/umd/diva-core.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +12 -10
|
@@ -43,7 +43,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
43
43
|
import * as Styles from '@material-ui/styles';
|
|
44
44
|
|
|
45
45
|
(function() {
|
|
46
|
-
const env = {"STAGE":"production","VERSION":"24.11.0-beta.
|
|
46
|
+
const env = {"STAGE":"production","VERSION":"24.11.0-beta.40"};
|
|
47
47
|
try {
|
|
48
48
|
if (process) {
|
|
49
49
|
process.env = Object.assign({}, process.env);
|
|
@@ -632,7 +632,7 @@ var DivaFramework = /*#__PURE__*/function (_HTMLElement) {
|
|
|
632
632
|
return ['currentComponent', 'language'];
|
|
633
633
|
}
|
|
634
634
|
}]);
|
|
635
|
-
}(
|
|
635
|
+
}(/*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
636
636
|
var CoreWrapper = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
637
637
|
_ref.children;
|
|
638
638
|
var props = _objectWithoutProperties(_ref, _excluded$7);
|
|
@@ -1024,7 +1024,7 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
1024
1024
|
}, {
|
|
1025
1025
|
key: "fetchConfiguration",
|
|
1026
1026
|
value: function () {
|
|
1027
|
-
var _fetchConfiguration = _asyncToGenerator(
|
|
1027
|
+
var _fetchConfiguration = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref5) {
|
|
1028
1028
|
var identifier, type, domain, _ref5$organizationId, organizationId, configuration, types, settingsKeys, _i, _types, subType;
|
|
1029
1029
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1030
1030
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -1379,7 +1379,7 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1379
1379
|
}, {
|
|
1380
1380
|
key: "getSessionGuid",
|
|
1381
1381
|
value: function () {
|
|
1382
|
-
var _getSessionGuid = _asyncToGenerator(
|
|
1382
|
+
var _getSessionGuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(u, m, organizationId, api2Location) {
|
|
1383
1383
|
var result;
|
|
1384
1384
|
return _regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
1385
1385
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -1403,7 +1403,7 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1403
1403
|
}, {
|
|
1404
1404
|
key: "getApi2AuthLoginData",
|
|
1405
1405
|
value: function () {
|
|
1406
|
-
var _getApi2AuthLoginData = _asyncToGenerator(
|
|
1406
|
+
var _getApi2AuthLoginData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(u, m, organizationId, api2Location) {
|
|
1407
1407
|
return _regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
1408
1408
|
while (1) switch (_context3.prev = _context3.next) {
|
|
1409
1409
|
case 0:
|
|
@@ -1588,7 +1588,7 @@ function init(_x) {
|
|
|
1588
1588
|
return _init.apply(this, arguments);
|
|
1589
1589
|
}
|
|
1590
1590
|
function _init() {
|
|
1591
|
-
_init = _asyncToGenerator(
|
|
1591
|
+
_init = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
1592
1592
|
var url, namespace, available, defaultLng, apiConfig;
|
|
1593
1593
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1594
1594
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -1639,7 +1639,7 @@ function changeNamespace(_x2) {
|
|
|
1639
1639
|
return _changeNamespace.apply(this, arguments);
|
|
1640
1640
|
}
|
|
1641
1641
|
function _changeNamespace() {
|
|
1642
|
-
_changeNamespace = _asyncToGenerator(
|
|
1642
|
+
_changeNamespace = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(namespace) {
|
|
1643
1643
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
1644
1644
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1645
1645
|
case 0:
|
|
@@ -1762,7 +1762,8 @@ var Input = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
1762
1762
|
return /*#__PURE__*/jsx("input", _objectSpread$c({
|
|
1763
1763
|
ref: ref,
|
|
1764
1764
|
className: classnames(input, readOnly ? readonly : undefined, className),
|
|
1765
|
-
readOnly: readOnly
|
|
1765
|
+
readOnly: readOnly,
|
|
1766
|
+
"data-test-id": "barrier-input-text"
|
|
1766
1767
|
}, props));
|
|
1767
1768
|
});
|
|
1768
1769
|
|
|
@@ -1793,6 +1794,7 @@ function SimpleLogin (_ref) {
|
|
|
1793
1794
|
return setTos(!tos);
|
|
1794
1795
|
},
|
|
1795
1796
|
children: [/*#__PURE__*/jsx("input", {
|
|
1797
|
+
"data-test-id": "check-agb",
|
|
1796
1798
|
type: "checkbox",
|
|
1797
1799
|
style: {
|
|
1798
1800
|
marginRight: '12px',
|
|
@@ -1865,6 +1867,7 @@ function Barrier (_ref) {
|
|
|
1865
1867
|
setTos: setTosChecked
|
|
1866
1868
|
}), actions === null || actions === void 0 ? void 0 : actions.map(function (a, index) {
|
|
1867
1869
|
return /*#__PURE__*/jsx(Button, {
|
|
1870
|
+
"data-test-id": "barrier-action-button",
|
|
1868
1871
|
className: a.className,
|
|
1869
1872
|
disabled: disabledActions === null || disabledActions === void 0 ? void 0 : disabledActions[index],
|
|
1870
1873
|
onClick: disabledActions !== null && disabledActions !== void 0 && disabledActions[index] ? function () {} : function () {
|
|
@@ -2009,7 +2012,7 @@ function registerResizeObserver(_x, _x2) {
|
|
|
2009
2012
|
return _registerResizeObserver.apply(this, arguments);
|
|
2010
2013
|
}
|
|
2011
2014
|
function _registerResizeObserver() {
|
|
2012
|
-
_registerResizeObserver = _asyncToGenerator(
|
|
2015
|
+
_registerResizeObserver = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(ref, onResize) {
|
|
2013
2016
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
2014
2017
|
while (1) switch (_context.prev = _context.next) {
|
|
2015
2018
|
case 0:
|
|
@@ -2961,7 +2964,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2961
2964
|
actions: (_barrier$actions = barrier.actions) === null || _barrier$actions === void 0 ? void 0 : _barrier$actions.map(function (a) {
|
|
2962
2965
|
return _objectSpread$a(_objectSpread$a({}, a), {}, {
|
|
2963
2966
|
onClick: function () {
|
|
2964
|
-
var _onClick = _asyncToGenerator(
|
|
2967
|
+
var _onClick = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(email) {
|
|
2965
2968
|
var _this7$root$dataStore;
|
|
2966
2969
|
var doLogin;
|
|
2967
2970
|
return _regeneratorRuntime.wrap(function _callee$(_context3) {
|
|
@@ -3133,7 +3136,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3133
3136
|
}, {
|
|
3134
3137
|
key: "setContainer",
|
|
3135
3138
|
value: (function () {
|
|
3136
|
-
var _setContainer = _asyncToGenerator(
|
|
3139
|
+
var _setContainer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(ref) {
|
|
3137
3140
|
return _regeneratorRuntime.wrap(function _callee3$(_context5) {
|
|
3138
3141
|
while (1) switch (_context5.prev = _context5.next) {
|
|
3139
3142
|
case 0:
|
|
@@ -3777,7 +3780,7 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3777
3780
|
return _createClass(BrowserStateStore, [{
|
|
3778
3781
|
key: "loadUrlState",
|
|
3779
3782
|
value: (function () {
|
|
3780
|
-
var _loadUrlState = _asyncToGenerator(
|
|
3783
|
+
var _loadUrlState = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
3781
3784
|
var _currentUrl$pathname, _searchParams$get;
|
|
3782
3785
|
var searchParams, currentUrl, state, route;
|
|
3783
3786
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -4017,7 +4020,7 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4017
4020
|
}, {
|
|
4018
4021
|
key: "applyUrlStateChanges",
|
|
4019
4022
|
value: (function () {
|
|
4020
|
-
var _applyUrlStateChanges = _asyncToGenerator(
|
|
4023
|
+
var _applyUrlStateChanges = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
4021
4024
|
var state;
|
|
4022
4025
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
4023
4026
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -4252,7 +4255,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4252
4255
|
}, {
|
|
4253
4256
|
key: "showWelcomeScreen",
|
|
4254
4257
|
value: function () {
|
|
4255
|
-
var _showWelcomeScreen = _asyncToGenerator(
|
|
4258
|
+
var _showWelcomeScreen = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(isNewUser, invitationId, invitationOrgId) {
|
|
4256
4259
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4257
4260
|
while (1) switch (_context.prev = _context.next) {
|
|
4258
4261
|
case 0:
|
|
@@ -4310,7 +4313,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4310
4313
|
}, {
|
|
4311
4314
|
key: "openOAuthLogin",
|
|
4312
4315
|
value: function openOAuthLogin(provider, organizationId, invitationId) {
|
|
4313
|
-
var url = "".concat(this.root.configurationStore.apiConfig.authService, "/openid/").concat(provider, "?callbackUri=").concat(encodeURIComponent(this.getRedirectUrl(
|
|
4316
|
+
var url = "".concat(this.root.configurationStore.apiConfig.authService, "/openid/").concat(provider, "?callbackUri=").concat(encodeURIComponent(this.getRedirectUrl(organizationId, provider).toString()));
|
|
4314
4317
|
if (organizationId) {
|
|
4315
4318
|
url = url + "&organizationId=".concat(organizationId);
|
|
4316
4319
|
}
|
|
@@ -4670,7 +4673,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
4670
4673
|
}, {
|
|
4671
4674
|
key: "fetchConfiguration",
|
|
4672
4675
|
value: function () {
|
|
4673
|
-
var _fetchConfiguration = _asyncToGenerator(
|
|
4676
|
+
var _fetchConfiguration = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
4674
4677
|
var identifier, domain, organizationId, type, fullUrl, response;
|
|
4675
4678
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4676
4679
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -4755,7 +4758,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
4755
4758
|
}, {
|
|
4756
4759
|
key: "sendEmail",
|
|
4757
4760
|
value: function () {
|
|
4758
|
-
var _sendEmail = _asyncToGenerator(
|
|
4761
|
+
var _sendEmail = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref2) {
|
|
4759
4762
|
var content, organizationIds, url, body, kind, rest, _rest, response;
|
|
4760
4763
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
4761
4764
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -4832,7 +4835,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
4832
4835
|
}, {
|
|
4833
4836
|
key: "sendPasswordRecoveryMail",
|
|
4834
4837
|
value: function () {
|
|
4835
|
-
var _sendPasswordRecoveryMail = _asyncToGenerator(
|
|
4838
|
+
var _sendPasswordRecoveryMail = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref3) {
|
|
4836
4839
|
var email, response;
|
|
4837
4840
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
4838
4841
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -4887,7 +4890,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
4887
4890
|
}, {
|
|
4888
4891
|
key: "resetPassword",
|
|
4889
4892
|
value: function () {
|
|
4890
|
-
var _resetPassword = _asyncToGenerator(
|
|
4893
|
+
var _resetPassword = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data) {
|
|
4891
4894
|
var response, json;
|
|
4892
4895
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
4893
4896
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -4966,7 +4969,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
4966
4969
|
}, {
|
|
4967
4970
|
key: "sendVerificationEmail",
|
|
4968
4971
|
value: function () {
|
|
4969
|
-
var _sendVerificationEmail = _asyncToGenerator(
|
|
4972
|
+
var _sendVerificationEmail = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref4) {
|
|
4970
4973
|
var email, emailVariant, response;
|
|
4971
4974
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
4972
4975
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -5022,7 +5025,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5022
5025
|
}, {
|
|
5023
5026
|
key: "verifyEmail",
|
|
5024
5027
|
value: function () {
|
|
5025
|
-
var _verifyEmail = _asyncToGenerator(
|
|
5028
|
+
var _verifyEmail = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(data) {
|
|
5026
5029
|
var response, json;
|
|
5027
5030
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
5028
5031
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -5101,7 +5104,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5101
5104
|
}, {
|
|
5102
5105
|
key: "fetchOrganization",
|
|
5103
5106
|
value: function () {
|
|
5104
|
-
var _fetchOrganization = _asyncToGenerator(
|
|
5107
|
+
var _fetchOrganization = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(organizationId) {
|
|
5105
5108
|
var url, response;
|
|
5106
5109
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
5107
5110
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -5151,7 +5154,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5151
5154
|
}, {
|
|
5152
5155
|
key: "fetchProduct",
|
|
5153
5156
|
value: function () {
|
|
5154
|
-
var _fetchProduct = _asyncToGenerator(
|
|
5157
|
+
var _fetchProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(_ref5) {
|
|
5155
5158
|
var divaNr, _this$root$organizati, variantId, variantStart, filter, response, result;
|
|
5156
5159
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
5157
5160
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -5230,7 +5233,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5230
5233
|
}, {
|
|
5231
5234
|
key: "getRootOrganization",
|
|
5232
5235
|
value: function () {
|
|
5233
|
-
var _getRootOrganization = _asyncToGenerator(
|
|
5236
|
+
var _getRootOrganization = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(userId) {
|
|
5234
5237
|
var url, response;
|
|
5235
5238
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
5236
5239
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -5281,7 +5284,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5281
5284
|
}, {
|
|
5282
5285
|
key: "getOrganizationsChildren",
|
|
5283
5286
|
value: function () {
|
|
5284
|
-
var _getOrganizationsChildren = _asyncToGenerator(
|
|
5287
|
+
var _getOrganizationsChildren = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(userId, allowedOrganizationTypes) {
|
|
5285
5288
|
var organizationId,
|
|
5286
5289
|
skip,
|
|
5287
5290
|
allowed,
|
|
@@ -5348,7 +5351,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5348
5351
|
}, {
|
|
5349
5352
|
key: "getOrganizationRelatives",
|
|
5350
5353
|
value: function () {
|
|
5351
|
-
var _getOrganizationRelatives = _asyncToGenerator(
|
|
5354
|
+
var _getOrganizationRelatives = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(userId, allowedOrganizationTypes, organizationId) {
|
|
5352
5355
|
var skip,
|
|
5353
5356
|
allowed,
|
|
5354
5357
|
limit,
|
|
@@ -5411,7 +5414,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5411
5414
|
}, {
|
|
5412
5415
|
key: "getOrganizationHyrachy",
|
|
5413
5416
|
value: function () {
|
|
5414
|
-
var _getOrganizationHyrachy = _asyncToGenerator(
|
|
5417
|
+
var _getOrganizationHyrachy = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(userId, allowedOrganizationTypes, query, allowed) {
|
|
5415
5418
|
var skip,
|
|
5416
5419
|
organizationId,
|
|
5417
5420
|
url,
|
|
@@ -5477,7 +5480,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5477
5480
|
}, {
|
|
5478
5481
|
key: "getOrganizationBySearch",
|
|
5479
5482
|
value: function () {
|
|
5480
|
-
var _getOrganizationBySearch = _asyncToGenerator(
|
|
5483
|
+
var _getOrganizationBySearch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(userId, allowedOrganizationTypes, allowed, query) {
|
|
5481
5484
|
var skip,
|
|
5482
5485
|
url,
|
|
5483
5486
|
response,
|
|
@@ -5541,7 +5544,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5541
5544
|
}, {
|
|
5542
5545
|
key: "getOrganizationDataById",
|
|
5543
5546
|
value: function () {
|
|
5544
|
-
var _getOrganizationDataById = _asyncToGenerator(
|
|
5547
|
+
var _getOrganizationDataById = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14(organizationId) {
|
|
5545
5548
|
var url, response;
|
|
5546
5549
|
return _regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
5547
5550
|
while (1) switch (_context14.prev = _context14.next) {
|
|
@@ -5591,7 +5594,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5591
5594
|
}, {
|
|
5592
5595
|
key: "getOrganizationParentByType",
|
|
5593
5596
|
value: function () {
|
|
5594
|
-
var _getOrganizationParentByType = _asyncToGenerator(
|
|
5597
|
+
var _getOrganizationParentByType = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(organizationId, type) {
|
|
5595
5598
|
var url, response, _data$data, data;
|
|
5596
5599
|
return _regeneratorRuntime.wrap(function _callee15$(_context15) {
|
|
5597
5600
|
while (1) switch (_context15.prev = _context15.next) {
|
|
@@ -5645,7 +5648,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5645
5648
|
}, {
|
|
5646
5649
|
key: "getRetailerLocationsForArea",
|
|
5647
5650
|
value: function () {
|
|
5648
|
-
var _getRetailerLocationsForArea = _asyncToGenerator(
|
|
5651
|
+
var _getRetailerLocationsForArea = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(organizationId, location, radius) {
|
|
5649
5652
|
var url, response;
|
|
5650
5653
|
return _regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
5651
5654
|
while (1) switch (_context16.prev = _context16.next) {
|
|
@@ -5707,8 +5710,8 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
5707
5710
|
return _fetch.toString();
|
|
5708
5711
|
};
|
|
5709
5712
|
return fetch;
|
|
5710
|
-
}(
|
|
5711
|
-
var _ref7 = _asyncToGenerator(
|
|
5713
|
+
}(/*#__PURE__*/function () {
|
|
5714
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee17(_ref6) {
|
|
5712
5715
|
var url, _ref6$method, method, jwt, body, headers;
|
|
5713
5716
|
return _regeneratorRuntime.wrap(function _callee17$(_context17) {
|
|
5714
5717
|
while (1) switch (_context17.prev = _context17.next) {
|
|
@@ -5775,7 +5778,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5775
5778
|
}, {
|
|
5776
5779
|
key: "getOrganizationHirachy",
|
|
5777
5780
|
value: function () {
|
|
5778
|
-
var _getOrganizationHirachy = _asyncToGenerator(
|
|
5781
|
+
var _getOrganizationHirachy = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(query, skip, organizationId) {
|
|
5779
5782
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
5780
5783
|
while (1) switch (_context.prev = _context.next) {
|
|
5781
5784
|
case 0:
|
|
@@ -5803,7 +5806,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5803
5806
|
}, {
|
|
5804
5807
|
key: "getOrganizationsChildren",
|
|
5805
5808
|
value: function () {
|
|
5806
|
-
var _getOrganizationsChildren = _asyncToGenerator(
|
|
5809
|
+
var _getOrganizationsChildren = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(organizationId, skip, limit, filterText) {
|
|
5807
5810
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
5808
5811
|
while (1) switch (_context2.prev = _context2.next) {
|
|
5809
5812
|
case 0:
|
|
@@ -5835,7 +5838,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5835
5838
|
}, {
|
|
5836
5839
|
key: "getOrganizationRelatives",
|
|
5837
5840
|
value: function () {
|
|
5838
|
-
var _getOrganizationRelatives = _asyncToGenerator(
|
|
5841
|
+
var _getOrganizationRelatives = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(organizationId, skip, limit) {
|
|
5839
5842
|
var result;
|
|
5840
5843
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
5841
5844
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -5872,7 +5875,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5872
5875
|
}, {
|
|
5873
5876
|
key: "getOrganizationBySearch",
|
|
5874
5877
|
value: function () {
|
|
5875
|
-
var _getOrganizationBySearch = _asyncToGenerator(
|
|
5878
|
+
var _getOrganizationBySearch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(query, skip) {
|
|
5876
5879
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
5877
5880
|
while (1) switch (_context4.prev = _context4.next) {
|
|
5878
5881
|
case 0:
|
|
@@ -5900,7 +5903,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5900
5903
|
}, {
|
|
5901
5904
|
key: "getOrganizationDataById",
|
|
5902
5905
|
value: function () {
|
|
5903
|
-
var _getOrganizationDataById = _asyncToGenerator(
|
|
5906
|
+
var _getOrganizationDataById = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(organizationId) {
|
|
5904
5907
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
5905
5908
|
while (1) switch (_context5.prev = _context5.next) {
|
|
5906
5909
|
case 0:
|
|
@@ -5919,7 +5922,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5919
5922
|
}, {
|
|
5920
5923
|
key: "getOrganizationParentByType",
|
|
5921
5924
|
value: function () {
|
|
5922
|
-
var _getOrganizationParentByType = _asyncToGenerator(
|
|
5925
|
+
var _getOrganizationParentByType = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(organizationId, type) {
|
|
5923
5926
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
5924
5927
|
while (1) switch (_context6.prev = _context6.next) {
|
|
5925
5928
|
case 0:
|
|
@@ -5938,7 +5941,7 @@ var OrganizationHandler = /*#__PURE__*/function () {
|
|
|
5938
5941
|
}, {
|
|
5939
5942
|
key: "getRetailerLocationsForArea",
|
|
5940
5943
|
value: function () {
|
|
5941
|
-
var _getRetailerLocationsForArea = _asyncToGenerator(
|
|
5944
|
+
var _getRetailerLocationsForArea = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(organizationId, location, radius) {
|
|
5942
5945
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
5943
5946
|
while (1) switch (_context7.prev = _context7.next) {
|
|
5944
5947
|
case 0:
|
|
@@ -5995,7 +5998,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
5995
5998
|
}, {
|
|
5996
5999
|
key: "getMediaByIds",
|
|
5997
6000
|
value: function () {
|
|
5998
|
-
var _getMediaByIds = _asyncToGenerator(
|
|
6001
|
+
var _getMediaByIds = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(ids) {
|
|
5999
6002
|
var resultPromsies, i, result, finalRes;
|
|
6000
6003
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
6001
6004
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6029,7 +6032,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6029
6032
|
}, {
|
|
6030
6033
|
key: "getMediaById",
|
|
6031
6034
|
value: function () {
|
|
6032
|
-
var _getMediaById = _asyncToGenerator(
|
|
6035
|
+
var _getMediaById = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(id) {
|
|
6033
6036
|
var fullUrl, res, resData;
|
|
6034
6037
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
6035
6038
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -6077,7 +6080,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6077
6080
|
}, {
|
|
6078
6081
|
key: "getHQRenderScriptById",
|
|
6079
6082
|
value: function () {
|
|
6080
|
-
var _getHQRenderScriptById = _asyncToGenerator(
|
|
6083
|
+
var _getHQRenderScriptById = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(id) {
|
|
6081
6084
|
var fullUrl, res, resData;
|
|
6082
6085
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
6083
6086
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -6125,7 +6128,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6125
6128
|
}, {
|
|
6126
6129
|
key: "getRooms",
|
|
6127
6130
|
value: function () {
|
|
6128
|
-
var _getRooms = _asyncToGenerator(
|
|
6131
|
+
var _getRooms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(id, mainCategory, style, name) {
|
|
6129
6132
|
var fullUrl, filterParts, filter, res, resData;
|
|
6130
6133
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
6131
6134
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -6193,7 +6196,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6193
6196
|
}, {
|
|
6194
6197
|
key: "getRoomsNew",
|
|
6195
6198
|
value: function () {
|
|
6196
|
-
var _getRoomsNew = _asyncToGenerator(
|
|
6199
|
+
var _getRoomsNew = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(id, mainCategory, organizationId, hideStandardRooms) {
|
|
6197
6200
|
var fullUrl, filterParts, filter, res, resData;
|
|
6198
6201
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
6199
6202
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -6261,7 +6264,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6261
6264
|
}, {
|
|
6262
6265
|
key: "getRoomsGrouped",
|
|
6263
6266
|
value: function () {
|
|
6264
|
-
var _getRoomsGrouped = _asyncToGenerator(
|
|
6267
|
+
var _getRoomsGrouped = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mainCategory, style, organizationId, hideStandardRooms) {
|
|
6265
6268
|
var fullUrl, filterParts, filter, res, resData;
|
|
6266
6269
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
6267
6270
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -6332,7 +6335,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6332
6335
|
}, {
|
|
6333
6336
|
key: "getRoomColors",
|
|
6334
6337
|
value: function () {
|
|
6335
|
-
var _getRoomColors = _asyncToGenerator(
|
|
6338
|
+
var _getRoomColors = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(name) {
|
|
6336
6339
|
var fullUrl, res, resData;
|
|
6337
6340
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
6338
6341
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -6381,7 +6384,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6381
6384
|
}, {
|
|
6382
6385
|
key: "getRoomVariants",
|
|
6383
6386
|
value: function () {
|
|
6384
|
-
var _getRoomVariants = _asyncToGenerator(
|
|
6387
|
+
var _getRoomVariants = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(id) {
|
|
6385
6388
|
var fullUrl, res, resData;
|
|
6386
6389
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
6387
6390
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -6430,7 +6433,7 @@ var MediaHandler = /*#__PURE__*/function () {
|
|
|
6430
6433
|
}, {
|
|
6431
6434
|
key: "getRenderPackages",
|
|
6432
6435
|
value: function () {
|
|
6433
|
-
var _getRenderPackages = _asyncToGenerator(
|
|
6436
|
+
var _getRenderPackages = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(organizationId) {
|
|
6434
6437
|
var fullUrl, res, resData;
|
|
6435
6438
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
6436
6439
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -6498,7 +6501,7 @@ var AdminHandler = /*#__PURE__*/function () {
|
|
|
6498
6501
|
}, {
|
|
6499
6502
|
key: "getViewConfigsLoad",
|
|
6500
6503
|
value: function () {
|
|
6501
|
-
var _getViewConfigsLoad = _asyncToGenerator(
|
|
6504
|
+
var _getViewConfigsLoad = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(identifier, type, adminService) {
|
|
6502
6505
|
var fullUrl, res, resData;
|
|
6503
6506
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
6504
6507
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6567,7 +6570,7 @@ var AnalyticsHandler = /*#__PURE__*/function () {
|
|
|
6567
6570
|
}, {
|
|
6568
6571
|
key: "getAnalyticsData",
|
|
6569
6572
|
value: function () {
|
|
6570
|
-
var _getAnalyticsData = _asyncToGenerator(
|
|
6573
|
+
var _getAnalyticsData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
6571
6574
|
var path, props, url, res, resData;
|
|
6572
6575
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
6573
6576
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6767,7 +6770,7 @@ var ReportHandler = /*#__PURE__*/function () {
|
|
|
6767
6770
|
}, {
|
|
6768
6771
|
key: "createReport",
|
|
6769
6772
|
value: function () {
|
|
6770
|
-
var _createReport = _asyncToGenerator(
|
|
6773
|
+
var _createReport = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(basketId, type, useDefaultPdfField) {
|
|
6771
6774
|
var fullUrl, res, resData, patch, val;
|
|
6772
6775
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
6773
6776
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6845,7 +6848,7 @@ var ReportHandler = /*#__PURE__*/function () {
|
|
|
6845
6848
|
}, {
|
|
6846
6849
|
key: "shortenUrl",
|
|
6847
6850
|
value: function () {
|
|
6848
|
-
var _shortenUrl = _asyncToGenerator(
|
|
6851
|
+
var _shortenUrl = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url) {
|
|
6849
6852
|
var fullUrl, res, resData;
|
|
6850
6853
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
6851
6854
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -6920,7 +6923,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
6920
6923
|
}, {
|
|
6921
6924
|
key: "getCometChatApiToken",
|
|
6922
6925
|
value: function () {
|
|
6923
|
-
var _getCometChatApiToken = _asyncToGenerator(
|
|
6926
|
+
var _getCometChatApiToken = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
6924
6927
|
var response, resData;
|
|
6925
6928
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
6926
6929
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6968,7 +6971,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
6968
6971
|
}, {
|
|
6969
6972
|
key: "createCometChatGroup",
|
|
6970
6973
|
value: function () {
|
|
6971
|
-
var _createCometChatGroup = _asyncToGenerator(
|
|
6974
|
+
var _createCometChatGroup = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(divaNr) {
|
|
6972
6975
|
var participantEmail,
|
|
6973
6976
|
response,
|
|
6974
6977
|
_args2 = arguments;
|
|
@@ -7018,7 +7021,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7018
7021
|
}, {
|
|
7019
7022
|
key: "joinCometChatGroup",
|
|
7020
7023
|
value: function () {
|
|
7021
|
-
var _joinCometChatGroup = _asyncToGenerator(
|
|
7024
|
+
var _joinCometChatGroup = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(guid) {
|
|
7022
7025
|
var response;
|
|
7023
7026
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
7024
7027
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -7060,7 +7063,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7060
7063
|
}, {
|
|
7061
7064
|
key: "listCometChatConversations",
|
|
7062
7065
|
value: function () {
|
|
7063
|
-
var _listCometChatConversations = _asyncToGenerator(
|
|
7066
|
+
var _listCometChatConversations = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
7064
7067
|
var response, resData;
|
|
7065
7068
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
7066
7069
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -7108,7 +7111,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7108
7111
|
}, {
|
|
7109
7112
|
key: "sendCometChatMessage",
|
|
7110
7113
|
value: function () {
|
|
7111
|
-
var _sendCometChatMessage = _asyncToGenerator(
|
|
7114
|
+
var _sendCometChatMessage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(guid, message) {
|
|
7112
7115
|
var response;
|
|
7113
7116
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
7114
7117
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -7154,7 +7157,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7154
7157
|
}, {
|
|
7155
7158
|
key: "sendCometChatImage",
|
|
7156
7159
|
value: function () {
|
|
7157
|
-
var _sendCometChatImage = _asyncToGenerator(
|
|
7160
|
+
var _sendCometChatImage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(guid, imageUrl) {
|
|
7158
7161
|
var response;
|
|
7159
7162
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
7160
7163
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -7200,7 +7203,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7200
7203
|
}, {
|
|
7201
7204
|
key: "listFriends",
|
|
7202
7205
|
value: function () {
|
|
7203
|
-
var _listFriends = _asyncToGenerator(
|
|
7206
|
+
var _listFriends = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
7204
7207
|
var response, resData;
|
|
7205
7208
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
7206
7209
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -7248,7 +7251,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7248
7251
|
}, {
|
|
7249
7252
|
key: "createClientRequest",
|
|
7250
7253
|
value: function () {
|
|
7251
|
-
var _createClientRequest = _asyncToGenerator(
|
|
7254
|
+
var _createClientRequest = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(clientRequest) {
|
|
7252
7255
|
var response, resData;
|
|
7253
7256
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
7254
7257
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -7288,7 +7291,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7288
7291
|
}, {
|
|
7289
7292
|
key: "updateClientRequest",
|
|
7290
7293
|
value: function () {
|
|
7291
|
-
var _updateClientRequest = _asyncToGenerator(
|
|
7294
|
+
var _updateClientRequest = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(id, state) {
|
|
7292
7295
|
var response, resData;
|
|
7293
7296
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
7294
7297
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -7330,7 +7333,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7330
7333
|
}, {
|
|
7331
7334
|
key: "listClientRequests",
|
|
7332
7335
|
value: function () {
|
|
7333
|
-
var _listClientRequests = _asyncToGenerator(
|
|
7336
|
+
var _listClientRequests = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10() {
|
|
7334
7337
|
var response, resData;
|
|
7335
7338
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
7336
7339
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -7378,7 +7381,7 @@ var SupportHandler = /*#__PURE__*/function () {
|
|
|
7378
7381
|
}, {
|
|
7379
7382
|
key: "listActivePlannings",
|
|
7380
7383
|
value: function () {
|
|
7381
|
-
var _listActivePlannings = _asyncToGenerator(
|
|
7384
|
+
var _listActivePlannings = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11() {
|
|
7382
7385
|
var response, resData;
|
|
7383
7386
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
7384
7387
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -7451,7 +7454,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7451
7454
|
}, {
|
|
7452
7455
|
key: "setOnlineState",
|
|
7453
7456
|
value: function () {
|
|
7454
|
-
var _setOnlineState = _asyncToGenerator(
|
|
7457
|
+
var _setOnlineState = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(interval) {
|
|
7455
7458
|
var url, requestBody;
|
|
7456
7459
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
7457
7460
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7503,7 +7506,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7503
7506
|
}, {
|
|
7504
7507
|
key: "getOnlineStates",
|
|
7505
7508
|
value: function () {
|
|
7506
|
-
var _getOnlineStates = _asyncToGenerator(
|
|
7509
|
+
var _getOnlineStates = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(userIds) {
|
|
7507
7510
|
var userIdString, url, response, resData;
|
|
7508
7511
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
7509
7512
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -7553,7 +7556,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7553
7556
|
}, {
|
|
7554
7557
|
key: "authorize",
|
|
7555
7558
|
value: function () {
|
|
7556
|
-
var _authorize = _asyncToGenerator(
|
|
7559
|
+
var _authorize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref) {
|
|
7557
7560
|
var _errorCode;
|
|
7558
7561
|
var organizationId, nToken, validParents, validOrganizationTypes, force, url, response, result, error, errorCode, errorResponse;
|
|
7559
7562
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -7645,7 +7648,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7645
7648
|
}, {
|
|
7646
7649
|
key: "register",
|
|
7647
7650
|
value: function () {
|
|
7648
|
-
var _register = _asyncToGenerator(
|
|
7651
|
+
var _register = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(_ref2) {
|
|
7649
7652
|
var email, password, name, familyName, invitationId, validParents, validOrganizationTypes, otp, url, response, error;
|
|
7650
7653
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
7651
7654
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -7724,7 +7727,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7724
7727
|
}, {
|
|
7725
7728
|
key: "login",
|
|
7726
7729
|
value: function () {
|
|
7727
|
-
var _login = _asyncToGenerator(
|
|
7730
|
+
var _login = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref3) {
|
|
7728
7731
|
var organizationId, email, password, simple, validParents, validOrganizationTypes, invitationId, otp, url, queryParams, response, errorResponse, _errorResponse$error;
|
|
7729
7732
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
7730
7733
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -7829,7 +7832,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7829
7832
|
}, {
|
|
7830
7833
|
key: "logout",
|
|
7831
7834
|
value: function () {
|
|
7832
|
-
var _logout = _asyncToGenerator(
|
|
7835
|
+
var _logout = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(_ref4) {
|
|
7833
7836
|
var callbackUri, response;
|
|
7834
7837
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
7835
7838
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -7883,7 +7886,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7883
7886
|
}, {
|
|
7884
7887
|
key: "fetchLoginProvider",
|
|
7885
7888
|
value: function () {
|
|
7886
|
-
var _fetchLoginProvider = _asyncToGenerator(
|
|
7889
|
+
var _fetchLoginProvider = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(_ref5) {
|
|
7887
7890
|
var email, response;
|
|
7888
7891
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
7889
7892
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -7944,8 +7947,8 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7944
7947
|
return _fetch.toString();
|
|
7945
7948
|
};
|
|
7946
7949
|
return fetch;
|
|
7947
|
-
}(
|
|
7948
|
-
var _ref7 = _asyncToGenerator(
|
|
7950
|
+
}(/*#__PURE__*/function () {
|
|
7951
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(_ref6) {
|
|
7949
7952
|
var url, _ref6$method, method, jwt, body, headers;
|
|
7950
7953
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
7951
7954
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -7979,7 +7982,7 @@ var AuthorizationHandler = /*#__PURE__*/function () {
|
|
|
7979
7982
|
}, {
|
|
7980
7983
|
key: "getInvitationValue",
|
|
7981
7984
|
value: function () {
|
|
7982
|
-
var _getInvitationValue = _asyncToGenerator(
|
|
7985
|
+
var _getInvitationValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(what, value) {
|
|
7983
7986
|
var url, response, resData;
|
|
7984
7987
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
7985
7988
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -8052,7 +8055,7 @@ var ClientArticleHandler = /*#__PURE__*/function () {
|
|
|
8052
8055
|
}, {
|
|
8053
8056
|
key: "saveBasketProductsSMArticles",
|
|
8054
8057
|
value: function () {
|
|
8055
|
-
var _saveBasketProductsSMArticles = _asyncToGenerator(
|
|
8058
|
+
var _saveBasketProductsSMArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data, serverUrl, organizationId) {
|
|
8056
8059
|
var fullUrl;
|
|
8057
8060
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
8058
8061
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8141,7 +8144,7 @@ var ContentItemHandler = /*#__PURE__*/function () {
|
|
|
8141
8144
|
}, {
|
|
8142
8145
|
key: "getContentItem",
|
|
8143
8146
|
value: function () {
|
|
8144
|
-
var _getContentItem = _asyncToGenerator(
|
|
8147
|
+
var _getContentItem = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(id, lang) {
|
|
8145
8148
|
var _res;
|
|
8146
8149
|
var fullUrl, res, resData;
|
|
8147
8150
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -8567,7 +8570,7 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8567
8570
|
}, {
|
|
8568
8571
|
key: "initialize",
|
|
8569
8572
|
value: (function () {
|
|
8570
|
-
var _initialize = _asyncToGenerator(
|
|
8573
|
+
var _initialize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(telemetry, identifier, organizationId, domain, language, component) {
|
|
8571
8574
|
var _this4 = this;
|
|
8572
8575
|
var _this$_initalComponen, _this$_initalComponen2, _configuration$pwa, _this$contentStore$cu, urlState, storedLanguage, storedOrganization, initialOrganization, initalLanguage, configuration, initLocalesResult, telemetrySettings, enableApm, disableDivaAnalyticsLocalStorage, disableDivaAnalytics, enableBusinessMetrics, _configuration$enviro3, _configuration$enviro4, myUserAgentInfo, header, manifest, result, warningText, _this$contentStore, verifyEmailToken, authObject, _urlState$component, _initialOrganization, email, _this$contentStore$cu2;
|
|
8573
8576
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -9157,7 +9160,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9157
9160
|
}
|
|
9158
9161
|
}, [props.language]);
|
|
9159
9162
|
var logState = /*#__PURE__*/function () {
|
|
9160
|
-
var _ref2 = _asyncToGenerator(
|
|
9163
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(interval) {
|
|
9161
9164
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
9162
9165
|
while (1) switch (_context.prev = _context.next) {
|
|
9163
9166
|
case 0:
|
|
@@ -9174,7 +9177,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9174
9177
|
};
|
|
9175
9178
|
}();
|
|
9176
9179
|
useEffect(function () {
|
|
9177
|
-
_asyncToGenerator(
|
|
9180
|
+
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
9178
9181
|
var logOnlineState, tempIntervalId;
|
|
9179
9182
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
9180
9183
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -9191,7 +9194,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9191
9194
|
_context3.next = 5;
|
|
9192
9195
|
return logState(logOnlineState.intervalMS);
|
|
9193
9196
|
case 5:
|
|
9194
|
-
tempIntervalId = setInterval(
|
|
9197
|
+
tempIntervalId = setInterval(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
9195
9198
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
9196
9199
|
while (1) switch (_context2.prev = _context2.next) {
|
|
9197
9200
|
case 0:
|
|
@@ -9244,7 +9247,7 @@ function loadDependency(_x) {
|
|
|
9244
9247
|
return _loadDependency.apply(this, arguments);
|
|
9245
9248
|
}
|
|
9246
9249
|
function _loadDependency() {
|
|
9247
|
-
_loadDependency = _asyncToGenerator(
|
|
9250
|
+
_loadDependency = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
9248
9251
|
var ref, id, url, type, _ref$invalidateCache, invalidateCache;
|
|
9249
9252
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
9250
9253
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9438,7 +9441,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9438
9441
|
function ownKeys$3(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; }
|
|
9439
9442
|
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9440
9443
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9441
|
-
return import('./ModalsWrapper-
|
|
9444
|
+
return import('./ModalsWrapper-99dc756f.js');
|
|
9442
9445
|
});
|
|
9443
9446
|
function Fullscreen() {
|
|
9444
9447
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9885,10 +9888,10 @@ function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9885
9888
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9886
9889
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
9887
9890
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9888
|
-
return import('./index-
|
|
9891
|
+
return import('./index-b39877fc.js');
|
|
9889
9892
|
});
|
|
9890
9893
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9891
|
-
return import('./ModalsWrapper-
|
|
9894
|
+
return import('./ModalsWrapper-99dc756f.js');
|
|
9892
9895
|
});
|
|
9893
9896
|
function ContentComponent() {
|
|
9894
9897
|
var context = useDivaCoreContext();
|
|
@@ -9974,7 +9977,7 @@ var ProductHandler = /*#__PURE__*/function (_ProductHandlerAbstra) {
|
|
|
9974
9977
|
}, {
|
|
9975
9978
|
key: "saveProductMedia",
|
|
9976
9979
|
value: function () {
|
|
9977
|
-
var _saveProductMedia = _asyncToGenerator(
|
|
9980
|
+
var _saveProductMedia = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(productmedia, organizationId) {
|
|
9978
9981
|
var file;
|
|
9979
9982
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
9980
9983
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -10167,7 +10170,7 @@ var MockedRootStore = /*#__PURE__*/function () {
|
|
|
10167
10170
|
}, {
|
|
10168
10171
|
key: "initialize",
|
|
10169
10172
|
value: function () {
|
|
10170
|
-
var _initialize = _asyncToGenerator(
|
|
10173
|
+
var _initialize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
10171
10174
|
var _this$data$language;
|
|
10172
10175
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
10173
10176
|
while (1) switch (_context.prev = _context.next) {
|