@one-commerce/sdk-core 2.3.1 → 2.3.3
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/lib/bundles/bundle.esm.js +61 -16
- package/lib/bundles/bundle.esm.js.map +1 -1
- package/lib/bundles/bundle.esm.min.js +1 -1
- package/lib/bundles/bundle.esm.min.js.map +1 -1
- package/lib/bundles/bundle.umd.js +61 -15
- package/lib/bundles/bundle.umd.js.map +1 -1
- package/lib/bundles/bundle.umd.min.js +1 -1
- package/lib/bundles/bundle.umd.min.js.map +1 -1
- package/lib/cjs/backoffice/context.js +64 -16
- package/lib/cjs/backoffice/context.js.map +1 -1
- package/lib/cjs/index.js +6 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/backoffice/context.js +26 -0
- package/lib/esm/backoffice/context.js.map +1 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/types/backoffice/context.d.ts +34 -0
- package/lib/types/backoffice/context.d.ts.map +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -373,15 +373,15 @@ var AddToCartContext$1 = /*#__PURE__*/function (_ContextCallClass) {
|
|
|
373
373
|
|
|
374
374
|
return AddToCartContext;
|
|
375
375
|
}(ContextCallClass);
|
|
376
|
-
var
|
|
377
|
-
_inherits(
|
|
376
|
+
var DocumentsContext = /*#__PURE__*/function (_ContextCallClass2) {
|
|
377
|
+
_inherits(DocumentsContext, _ContextCallClass2);
|
|
378
378
|
|
|
379
|
-
var _super2 = _createSuper(
|
|
379
|
+
var _super2 = _createSuper(DocumentsContext);
|
|
380
380
|
|
|
381
|
-
function
|
|
381
|
+
function DocumentsContext() {
|
|
382
382
|
var _this2;
|
|
383
383
|
|
|
384
|
-
_classCallCheck(this,
|
|
384
|
+
_classCallCheck(this, DocumentsContext);
|
|
385
385
|
|
|
386
386
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
387
387
|
args[_key2] = arguments[_key2];
|
|
@@ -389,27 +389,72 @@ var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass2)
|
|
|
389
389
|
|
|
390
390
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
391
391
|
|
|
392
|
-
_defineProperty(_assertThisInitialized(_this2), "
|
|
392
|
+
_defineProperty(_assertThisInitialized(_this2), "orderDetails", void 0);
|
|
393
393
|
|
|
394
|
-
_defineProperty(_assertThisInitialized(_this2), "
|
|
394
|
+
_defineProperty(_assertThisInitialized(_this2), "invoiceDetails", void 0);
|
|
395
395
|
|
|
396
|
-
_defineProperty(_assertThisInitialized(_this2), "
|
|
396
|
+
_defineProperty(_assertThisInitialized(_this2), "selectedInvoices", void 0);
|
|
397
397
|
|
|
398
|
-
_defineProperty(_assertThisInitialized(_this2), "
|
|
398
|
+
_defineProperty(_assertThisInitialized(_this2), "clientContextId", void 0);
|
|
399
399
|
|
|
400
|
-
_defineProperty(_assertThisInitialized(_this2), "
|
|
400
|
+
_defineProperty(_assertThisInitialized(_this2), "operatorId", void 0);
|
|
401
401
|
|
|
402
402
|
_defineProperty(_assertThisInitialized(_this2), "meta", void 0);
|
|
403
403
|
|
|
404
|
-
|
|
404
|
+
return _this2;
|
|
405
|
+
}
|
|
405
406
|
|
|
406
|
-
|
|
407
|
+
_createClass(DocumentsContext, [{
|
|
408
|
+
key: "closePlugin",
|
|
409
|
+
value: function closePlugin() {
|
|
410
|
+
return this.call('closePlugin');
|
|
411
|
+
}
|
|
412
|
+
}, {
|
|
413
|
+
key: "closePluginAndRefreshView",
|
|
414
|
+
value: function closePluginAndRefreshView() {
|
|
415
|
+
return this.call('closePluginAndRefreshView');
|
|
416
|
+
}
|
|
417
|
+
}]);
|
|
407
418
|
|
|
408
|
-
|
|
419
|
+
return DocumentsContext;
|
|
420
|
+
}(ContextCallClass);
|
|
421
|
+
var EditProductLinesOnCartContext$1 = /*#__PURE__*/function (_ContextCallClass3) {
|
|
422
|
+
_inherits(EditProductLinesOnCartContext, _ContextCallClass3);
|
|
409
423
|
|
|
410
|
-
|
|
424
|
+
var _super3 = _createSuper(EditProductLinesOnCartContext);
|
|
411
425
|
|
|
412
|
-
|
|
426
|
+
function EditProductLinesOnCartContext() {
|
|
427
|
+
var _this3;
|
|
428
|
+
|
|
429
|
+
_classCallCheck(this, EditProductLinesOnCartContext);
|
|
430
|
+
|
|
431
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
432
|
+
args[_key3] = arguments[_key3];
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
_this3 = _super3.call.apply(_super3, [this].concat(args));
|
|
436
|
+
|
|
437
|
+
_defineProperty(_assertThisInitialized(_this3), "productId", void 0);
|
|
438
|
+
|
|
439
|
+
_defineProperty(_assertThisInitialized(_this3), "cartId", void 0);
|
|
440
|
+
|
|
441
|
+
_defineProperty(_assertThisInitialized(_this3), "offerId", void 0);
|
|
442
|
+
|
|
443
|
+
_defineProperty(_assertThisInitialized(_this3), "warehouses", void 0);
|
|
444
|
+
|
|
445
|
+
_defineProperty(_assertThisInitialized(_this3), "warehouseId", void 0);
|
|
446
|
+
|
|
447
|
+
_defineProperty(_assertThisInitialized(_this3), "meta", void 0);
|
|
448
|
+
|
|
449
|
+
_defineProperty(_assertThisInitialized(_this3), "productLineId", void 0);
|
|
450
|
+
|
|
451
|
+
_defineProperty(_assertThisInitialized(_this3), "productLines", void 0);
|
|
452
|
+
|
|
453
|
+
_defineProperty(_assertThisInitialized(_this3), "pluginProductLines", void 0);
|
|
454
|
+
|
|
455
|
+
_defineProperty(_assertThisInitialized(_this3), "productAmount", void 0);
|
|
456
|
+
|
|
457
|
+
return _this3;
|
|
413
458
|
}
|
|
414
459
|
|
|
415
460
|
_createClass(EditProductLinesOnCartContext, [{
|
|
@@ -1528,5 +1573,5 @@ var ShopSdk = /*#__PURE__*/function (_Sdk2) {
|
|
|
1528
1573
|
return _createClass(ShopSdk);
|
|
1529
1574
|
}(Sdk);
|
|
1530
1575
|
|
|
1531
|
-
export { AddToCartContext$1 as BackofficeAddToCartContext, EditProductLinesOnCartContext$1 as BackofficeEditProductLinesOnCartContext, BackofficeSdk, SdkEvents, AddToCartContext as ShopAddToCartContext, EditProductLinesOnCartContext as ShopEditProductLinesOnCartContext, ShopSdk };
|
|
1576
|
+
export { AddToCartContext$1 as BackofficeAddToCartContext, DocumentsContext as BackofficeDocumentsContext, EditProductLinesOnCartContext$1 as BackofficeEditProductLinesOnCartContext, BackofficeSdk, SdkEvents, AddToCartContext as ShopAddToCartContext, EditProductLinesOnCartContext as ShopEditProductLinesOnCartContext, ShopSdk };
|
|
1532
1577
|
//# sourceMappingURL=bundle.esm.js.map
|