@lancom/shared 0.0.219 → 0.0.220

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.
@@ -94,7 +94,7 @@ export default {
94
94
  transition: 'from-right-to-left'
95
95
  };
96
96
  const AddReviewModal = await import('./add_review_modal/add-review-modal');
97
- this.$modal.show(AddReviewModal, {
97
+ this.$modal.show(AddReviewModal.default, {
98
98
  product: this.product
99
99
  }, params);
100
100
  }
package/mixins/modals.js CHANGED
@@ -30,7 +30,7 @@ const modals = {
30
30
  this.openedModal = 'cart-modal';
31
31
  this.onclose = onclose;
32
32
  this.$modal.show(
33
- CartModal,
33
+ CartModal.default,
34
34
  {
35
35
  switchModal: this.switchModal
36
36
  },
@@ -53,7 +53,7 @@ const modals = {
53
53
 
54
54
  this.openedModal = 'order-modal';
55
55
  this.$modal.show(
56
- OrderModal,
56
+ OrderModal.default,
57
57
  {
58
58
  switchModal: this.switchModal
59
59
  },
@@ -75,7 +75,7 @@ const modals = {
75
75
  const PaymentModal = await import('@lancom/shared/components/modals/payment_modal/payment-modal');
76
76
  this.openedModal = 'payment-modal';
77
77
  this.$modal.show(
78
- PaymentModal,
78
+ PaymentModal.default,
79
79
  {
80
80
  switchModal: this.switchModal,
81
81
  onSuccessPayment: () => {
@@ -100,7 +100,7 @@ const modals = {
100
100
  const LayersTemplatesModal = await import('@lancom/shared/components/modals/editor_layers_templates/editor-layers-templates');
101
101
 
102
102
  this.$modal.show(
103
- LayersTemplatesModal,
103
+ LayersTemplatesModal.default,
104
104
  {},
105
105
  {
106
106
  name: 'layers-templates-modal',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.219",
3
+ "version": "0.0.220",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {