@one-commerce/sdk-core 1.25.0-UNITYONE-13146.0 → 2.0.0
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 +2 -51
- 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 +2 -52
- 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/index.js +0 -6
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/shop/context.js +1 -53
- package/lib/cjs/shop/context.js.map +1 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/shop/context.js +0 -30
- package/lib/esm/shop/context.js.map +1 -1
- package/lib/types/index.d.ts +3 -3
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shop/context.d.ts +1 -13
- package/lib/types/shop/context.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
|
|
378
378
|
return AddToCartContext;
|
|
379
379
|
}(ContextCallClass);
|
|
380
|
-
var EditProductLinesOnCartContext
|
|
380
|
+
var EditProductLinesOnCartContext = /*#__PURE__*/function (_ContextCallClass2) {
|
|
381
381
|
_inherits(EditProductLinesOnCartContext, _ContextCallClass2);
|
|
382
382
|
|
|
383
383
|
var _super2 = _createSuper(EditProductLinesOnCartContext);
|
|
@@ -780,55 +780,6 @@
|
|
|
780
780
|
|
|
781
781
|
return AddToCartContext;
|
|
782
782
|
}(ContextCallClass);
|
|
783
|
-
var EditProductLinesOnCartContext = /*#__PURE__*/function (_ContextCallClass2) {
|
|
784
|
-
_inherits(EditProductLinesOnCartContext, _ContextCallClass2);
|
|
785
|
-
|
|
786
|
-
var _super2 = _createSuper(EditProductLinesOnCartContext);
|
|
787
|
-
|
|
788
|
-
function EditProductLinesOnCartContext() {
|
|
789
|
-
var _this2;
|
|
790
|
-
|
|
791
|
-
_classCallCheck(this, EditProductLinesOnCartContext);
|
|
792
|
-
|
|
793
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
794
|
-
args[_key2] = arguments[_key2];
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
798
|
-
|
|
799
|
-
_defineProperty(_assertThisInitialized(_this2), "productId", void 0);
|
|
800
|
-
|
|
801
|
-
_defineProperty(_assertThisInitialized(_this2), "cartId", void 0);
|
|
802
|
-
|
|
803
|
-
_defineProperty(_assertThisInitialized(_this2), "warehouses", void 0);
|
|
804
|
-
|
|
805
|
-
_defineProperty(_assertThisInitialized(_this2), "warehouseId", void 0);
|
|
806
|
-
|
|
807
|
-
_defineProperty(_assertThisInitialized(_this2), "meta", void 0);
|
|
808
|
-
|
|
809
|
-
_defineProperty(_assertThisInitialized(_this2), "productLineId", void 0);
|
|
810
|
-
|
|
811
|
-
_defineProperty(_assertThisInitialized(_this2), "productLines", void 0);
|
|
812
|
-
|
|
813
|
-
_defineProperty(_assertThisInitialized(_this2), "pluginProductLines", void 0);
|
|
814
|
-
|
|
815
|
-
return _this2;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
_createClass(EditProductLinesOnCartContext, [{
|
|
819
|
-
key: "closePlugin",
|
|
820
|
-
value: function closePlugin() {
|
|
821
|
-
return this.call('closePlugin');
|
|
822
|
-
}
|
|
823
|
-
}, {
|
|
824
|
-
key: "closePluginAndRefreshCart",
|
|
825
|
-
value: function closePluginAndRefreshCart() {
|
|
826
|
-
return this.call('closePluginAndRefreshCart');
|
|
827
|
-
}
|
|
828
|
-
}]);
|
|
829
|
-
|
|
830
|
-
return EditProductLinesOnCartContext;
|
|
831
|
-
}(ContextCallClass);
|
|
832
783
|
|
|
833
784
|
var ShopCatalog = /*#__PURE__*/function (_BaseCallClass) {
|
|
834
785
|
_inherits(ShopCatalog, _BaseCallClass);
|
|
@@ -1530,10 +1481,9 @@
|
|
|
1530
1481
|
}(Sdk);
|
|
1531
1482
|
|
|
1532
1483
|
exports.BackofficeAddToCartContext = AddToCartContext$1;
|
|
1533
|
-
exports.BackofficeEditProductLinesOnCartContext = EditProductLinesOnCartContext
|
|
1484
|
+
exports.BackofficeEditProductLinesOnCartContext = EditProductLinesOnCartContext;
|
|
1534
1485
|
exports.BackofficeSdk = BackofficeSdk;
|
|
1535
1486
|
exports.ShopAddToCartContext = AddToCartContext;
|
|
1536
|
-
exports.ShopEditProductLinesOnCartContext = EditProductLinesOnCartContext;
|
|
1537
1487
|
exports.ShopSdk = ShopSdk;
|
|
1538
1488
|
|
|
1539
1489
|
Object.defineProperty(exports, '__esModule', { value: true });
|