@snabcentr/vue-ui-lib 3.56.1 → 3.56.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.
- package/dist/manifest.json +2 -2
- package/dist/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +3525 -3491
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +31 -31
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/orders/blocks/order-details.vue.d.ts +5 -1
- package/dist/src/components/orders/order-info.vue.d.ts +5 -1
- package/dist/src/components/orders/orders-list.vue.d.ts +3 -1
- package/dist/src/emits/interfaces/clicks/i-order-row-dblclick-event.d.ts +13 -0
- package/dist/src/emits/interfaces/clicks/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -2,5 +2,9 @@ import { IOrderProperty } from '../../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент представления деталей заказа.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default: import('vue').DefineComponent<IOrderProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<IOrderProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
"click:client-name": (client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<IOrderProperty> & Readonly<{
|
|
8
|
+
"onClick:client-name"?: ((client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
10
|
export default _default;
|
|
@@ -2,5 +2,9 @@ import { IOrderInfoProperty } from '../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент представления данных о заказе.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default: import('vue').DefineComponent<IOrderInfoProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<IOrderInfoProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
"click:client-name": (client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<IOrderInfoProperty> & Readonly<{
|
|
8
|
+
"onClick:client-name"?: ((client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFilterGroup, IPagination, ISortRequestParams } from '@snabcentr/common-lib';
|
|
1
|
+
import { IFilterGroup, IOrderInfo, IPagination, ISortRequestParams } from '@snabcentr/common-lib';
|
|
2
2
|
import { IOrdersTableFields } from '../../properties/interfaces/i-orders-table-fields';
|
|
3
3
|
/**
|
|
4
4
|
* Компонент представления списка заказов.
|
|
@@ -30,6 +30,7 @@ declare const _default: import('vue').DefineComponent<IOrdersTableFields & {
|
|
|
30
30
|
useCellIndication?: boolean;
|
|
31
31
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
32
|
"click:client-name": (client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any;
|
|
33
|
+
"dblclick:row": (order: IOrderInfo) => any;
|
|
33
34
|
}, string, import('vue').PublicProps, Readonly<IOrdersTableFields & {
|
|
34
35
|
/**
|
|
35
36
|
* URL страницы заказов. В качестве указания идентификатора заказа необходимо использовать значение `:id`.
|
|
@@ -57,6 +58,7 @@ declare const _default: import('vue').DefineComponent<IOrdersTableFields & {
|
|
|
57
58
|
useCellIndication?: boolean;
|
|
58
59
|
}> & Readonly<{
|
|
59
60
|
"onClick:client-name"?: ((client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any) | undefined;
|
|
61
|
+
"onDblclick:row"?: ((order: IOrderInfo) => any) | undefined;
|
|
60
62
|
}>, {
|
|
61
63
|
sort: ISortRequestParams;
|
|
62
64
|
filters: IFilterGroup;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IOrderInfo } from '@snabcentr/common-lib';
|
|
2
|
+
/**
|
|
3
|
+
* Событие двойного клика по строке заказа.
|
|
4
|
+
*/
|
|
5
|
+
export interface IOrderRowDblclickEvent {
|
|
6
|
+
/**
|
|
7
|
+
* Событие двойного клика по строке заказа.
|
|
8
|
+
*
|
|
9
|
+
* @param e Название события.
|
|
10
|
+
* @param order Данные заказа.
|
|
11
|
+
*/
|
|
12
|
+
(e: 'dblclick:row', order: IOrderInfo): void;
|
|
13
|
+
}
|
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": "3.56.
|
|
7
|
+
"version": "3.56.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.86.
|
|
48
|
+
"@snabcentr/common-lib": "^1.86.1 || ^2.2.1",
|
|
49
49
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
50
50
|
"date-fns": "^3.6.0",
|
|
51
51
|
"libphonenumber-js": "^1.12.23",
|