@snabcentr/vue-ui-lib 6.0.2 → 6.0.4
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/dist/manifest.json +2 -2
- package/dist/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +117 -109
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +2 -2
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/orders/blocks/order-items-list.vue.d.ts +16 -2
- package/package.json +1 -1
|
@@ -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