@snabcentr/vue-ui-lib 4.3.2 → 4.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.
@@ -1,6 +1,7 @@
1
1
  import { OrderItemBase, IConfiguratorSettingsBase, ICartItemConfiguratorParamsBase, CategoryData } from '@snabcentr/common-lib';
2
2
  import { ICatalogEmits } from '../../catalog';
3
3
  import { Emitter } from 'mitt';
4
+ import { IConfiguratorParamsStrip } from './strip/interfaces/i-configurator-params-strip';
4
5
  import { ConfiguratorsEnum } from './enums/configurators-enum';
5
6
  /**
6
7
  * Динамический компонент для отображения конфигураторов на основе данных категории.
@@ -22,6 +23,10 @@ declare const _default: import('vue').DefineComponent<{
22
23
  * Данные о товаре в корзине.
23
24
  */
24
25
  cartItem?: OrderItemBase<ICartItemConfiguratorParamsBase> | null;
26
+ /**
27
+ * Данные о товарах в корзине.
28
+ */
29
+ cartItems?: OrderItemBase<IConfiguratorParamsStrip>[] | null;
25
30
  /**
26
31
  * Данные о категории.
27
32
  */
@@ -43,6 +48,10 @@ declare const _default: import('vue').DefineComponent<{
43
48
  * Данные о товаре в корзине.
44
49
  */
45
50
  cartItem?: OrderItemBase<ICartItemConfiguratorParamsBase> | null;
51
+ /**
52
+ * Данные о товарах в корзине.
53
+ */
54
+ cartItems?: OrderItemBase<IConfiguratorParamsStrip>[] | null;
46
55
  /**
47
56
  * Данные о категории.
48
57
  */
@@ -1,2 +1,3 @@
1
+ export * from './interfaces';
1
2
  export { default as ScMetalForDoorsConfiguratorForm } from './metal-for-doors-configurator-form.vue';
2
3
  export { default as ScMetalForDoorsConfigurator } from './metal-for-doors-configurator.vue';
@@ -1,5 +1,6 @@
1
1
  export * from './classes/configurator-settings-mosquito';
2
2
  export * from './interfaces/i-configurator-settings-mosquito';
3
+ export * from './interfaces/i-configurator-params-mosquito';
3
4
  export { default as ScMosquitoConfiguratorForm } from './mosquito-configurator-form.vue';
4
5
  export { default as ScMosquitoConfiguratorMeasurementInstructions } from './mosquito-configurator-measurement-instructions.vue';
5
6
  export { default as ScMosquitoConfiguratorPreview } from './mosquito-configurator-preview.vue';
@@ -1,3 +1,4 @@
1
+ export * from './interfaces';
1
2
  export { default as ScStripConfiguratorForm } from './strip-configurator-form.vue';
2
3
  export { default as ScStripConfiguratorLineItem } from './strip-configurator-line-item.vue';
3
4
  export { default as ScStripConfiguratorPreview } from './strip-configurator-preview.vue';
@@ -47,4 +47,13 @@ export interface IOrderItemEmits {
47
47
  */
48
48
  item: Readonly<IOrderItemBase>;
49
49
  };
50
+ /**
51
+ * Событие удаления позиции заказа.
52
+ */
53
+ 'order-item:delete': {
54
+ /**
55
+ * Данные о позиции заказа.
56
+ */
57
+ item: Readonly<IOrderItemBase>;
58
+ };
50
59
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [],
5
5
  "author": "Sergey S. Smirnov <dev@snabcentr.com>",
6
6
  "type": "module",
7
- "version": "4.3.2",
7
+ "version": "4.3.3",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",
@@ -45,7 +45,7 @@
45
45
  "@iconify-json/logos": "^1.2.9",
46
46
  "@iconify-json/mdi": "^1.2.3",
47
47
  "@iconify-json/tabler": "^1.2.23",
48
- "@snabcentr/common-lib": "^1.89.0 || ^2.4.0",
48
+ "@snabcentr/common-lib": "^1.89.0 || ^2.6.0",
49
49
  "@tailwindcss/container-queries": "^0.1.1",
50
50
  "date-fns": "^3.6.0",
51
51
  "libphonenumber-js": "^1.12.23",