@snabcentr/vue-ui-lib 6.2.0-dev → 6.2.2-dev

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.
@@ -2,6 +2,7 @@ import { OrderItem } from '@snabcentr/common-lib';
2
2
  import { DataTableColumn } from 'naive-ui';
3
3
  import { IOrderItemsGroup } from '../../../orders/interfaces/i-order-items-group';
4
4
  import { IOrderItemsListItem } from '../../../orders/types/order-items-list-item-type';
5
+ import { VNode } from 'vue';
5
6
  import { IOrderEmits } from '../../../orders/interfaces/events/i-order-emits';
6
7
  import { Emitter } from 'mitt';
7
8
  /**
@@ -9,7 +10,7 @@ import { Emitter } from 'mitt';
9
10
  */
10
11
  declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
- declare const __VLS_export: import('vue').DefineComponent<{
13
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
13
14
  /**
14
15
  * Список позиций.
15
16
  */
@@ -141,4 +142,17 @@ declare const __VLS_export: import('vue').DefineComponent<{
141
142
  isItemInactive: (item: IOrderItemsListItem) => boolean;
142
143
  isItemSelectable: (item: IOrderItemsListItem) => boolean;
143
144
  isItemRemovable: (item: IOrderItemsListItem) => boolean;
144
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
145
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
146
+ /**
147
+ * Действия с группой позиций в правой части её заголовка, например удаление всех позиций группы.
148
+ * Получает группу позиций в свойстве `group`.
149
+ */
150
+ 'group-actions'?: (props: {
151
+ group: IOrderItemsGroup;
152
+ }) => VNode[];
153
+ }>;
154
+ type __VLS_WithSlots<T, S> = T & {
155
+ new (): {
156
+ $slots: S;
157
+ };
158
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/vue-ui-lib",
3
- "version": "6.2.0-dev",
3
+ "version": "6.2.2-dev",
4
4
  "description": "Библиотека общих Vue3 компонентов, используемых во всех проектах Снабцентр.",
5
5
  "keywords": [],
6
6
  "author": "Sergey S. Smirnov <dev@snabcentr.com>",
@@ -44,7 +44,7 @@
44
44
  "@iconify-json/logos": "^1.2.16",
45
45
  "@iconify-json/mdi": "^1.2.3",
46
46
  "@iconify-json/tabler": "^1.2.42",
47
- "@snabcentr/common-lib": "^4.2.0-0",
47
+ "@snabcentr/common-lib": "^4.4.0-0",
48
48
  "@tailwindcss/container-queries": "^0.1.1",
49
49
  "date-fns": "^4.4.0",
50
50
  "libphonenumber-js": "^1.13.15",