@snabcentr/vue-ui-lib 5.9.1 → 6.0.0
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/release_notes.tmp +0 -6
- package/dist/sc-vue-ui-lib.css +2 -1
- package/dist/sc-vue-ui-lib.js +26242 -40677
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +259 -299
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/buttons/button-with-confirm-action.vue.d.ts +13 -12
- package/dist/src/components/buttons/chip-group.vue.d.ts +15 -10
- package/dist/src/components/catalog/category-collapse-item.vue.d.ts +5 -111
- package/dist/src/components/catalog/category-collapse.vue.d.ts +5 -14
- package/dist/src/components/catalog/dialogs/add-product-to-cart-dialog.vue.d.ts +4 -439
- package/dist/src/components/catalog/dialogs/product-info-dialog.vue.d.ts +3 -2
- package/dist/src/components/catalog/forms/set-client-price-form-item.vue.d.ts +3 -2
- package/dist/src/components/catalog/product-details/product-actions.vue.d.ts +4 -3
- package/dist/src/components/catalog/product-details/product-cost.vue.d.ts +4 -3
- package/dist/src/components/catalog/product-details/product-info-content.vue.d.ts +3 -2
- package/dist/src/components/catalog/product-details/product-info-popover.vue.d.ts +5 -4
- package/dist/src/components/catalog/product-details/product-name.vue.d.ts +4 -57
- package/dist/src/components/catalog/product-details/product-stock-count.vue.d.ts +5 -4
- package/dist/src/components/clients/client-name-with-short-info.vue.d.ts +6 -5
- package/dist/src/components/clients/contragent-with-short-info.vue.d.ts +4 -3
- package/dist/src/components/collapse/collapse-item.vue.d.ts +5 -29
- package/dist/src/components/collapse/collapse.vue.d.ts +8 -7
- package/dist/src/components/configurators/configurators-product-info.vue.d.ts +3 -2
- package/dist/src/components/configurators/dynamic-configurator.vue.d.ts +3 -2
- package/dist/src/components/configurators/kozyrek/classes/kozyrek-template.d.ts +1 -1
- package/dist/src/components/configurators/kozyrek/kozyrek-configurator-params-form.vue.d.ts +18 -492
- package/dist/src/components/configurators/kozyrek/kozyrek-configurator-preview.vue.d.ts +4 -5
- package/dist/src/components/configurators/kozyrek/kozyrek-configurator-templates.vue.d.ts +3 -2
- package/dist/src/components/configurators/kozyrek/kozyrek-configurator.vue.d.ts +4 -932
- package/dist/src/components/configurators/metal-for-doors/metal-for-doors-configurator-form.vue.d.ts +18 -3154
- package/dist/src/components/configurators/metal-for-doors/metal-for-doors-configurator.vue.d.ts +4 -3574
- package/dist/src/components/configurators/mosquito/mosquito-configurator-form.vue.d.ts +18 -3922
- package/dist/src/components/configurators/mosquito/mosquito-configurator-measurement-instructions.vue.d.ts +3 -2
- package/dist/src/components/configurators/mosquito/mosquito-configurator-preview.vue.d.ts +4 -3
- package/dist/src/components/configurators/mosquito/mosquito-configurator.vue.d.ts +4 -4348
- package/dist/src/components/configurators/sandwich/sandwich-configurator-form.vue.d.ts +18 -492
- package/dist/src/components/configurators/sandwich/sandwich-configurator.vue.d.ts +4 -918
- package/dist/src/components/configurators/sandwich_m2/sandwich-m2-configurator-form.vue.d.ts +18 -3154
- package/dist/src/components/configurators/sandwich_m2/sandwich-m2-configurator.vue.d.ts +4 -3585
- package/dist/src/components/configurators/strip/strip-configurator-form.vue.d.ts +18 -4367
- package/dist/src/components/configurators/strip/strip-configurator-line-item.vue.d.ts +37 -3301
- package/dist/src/components/configurators/strip/strip-configurator-preview.vue.d.ts +4 -3
- package/dist/src/components/configurators/strip/strip-configurator.vue.d.ts +4 -4789
- package/dist/src/components/contacts/email.vue.d.ts +4 -3
- package/dist/src/components/contacts/person-contacts-block.vue.d.ts +4 -3
- package/dist/src/components/contacts/phone.vue.d.ts +4 -3
- package/dist/src/components/dates/date-range/date-range-dialog.vue.d.ts +3 -2
- package/dist/src/components/dates/date-range/date-range-fields.vue.d.ts +3 -2
- package/dist/src/components/dates/date-range/date-range-input.vue.d.ts +5 -6
- package/dist/src/components/dates/date-range/day-range-grid.vue.d.ts +6 -5
- package/dist/src/components/dates/date-range/month-range-grid.vue.d.ts +6 -5
- package/dist/src/components/dates/date-range/month-year-sidebar.vue.d.ts +4 -3
- package/dist/src/components/dates/date-range/quick-periods-settings.vue.d.ts +3 -2
- package/dist/src/components/dates/date-range/quick-periods.vue.d.ts +4 -3
- package/dist/src/components/dates/date-range/standard-periods.vue.d.ts +4 -3
- package/dist/src/components/dates/date-range.vue.d.ts +4 -3
- package/dist/src/components/dates/date-time-label.vue.d.ts +4 -3
- package/dist/src/components/debt/debt.vue.d.ts +3 -2
- package/dist/src/components/dialog/base-dialog.vue.d.ts +12 -8
- package/dist/src/components/dialog/dialog-header.vue.d.ts +8 -6
- package/dist/src/components/editors/comment-editor.vue.d.ts +4 -3
- package/dist/src/components/files/single-file-upload-selector.vue.d.ts +5 -4
- package/dist/src/components/icons/warning-icon.vue.d.ts +3 -2
- package/dist/src/components/images/image-gallery.vue.d.ts +5 -4
- package/dist/src/components/images/lightgallery.vue.d.ts +6 -7
- package/dist/src/components/inline/inline-editable-item.vue.d.ts +12 -8
- package/dist/src/components/inline/inline-view.vue.d.ts +8 -6
- package/dist/src/components/inputs/debounced-input-number.vue.d.ts +7 -2669
- package/dist/src/components/inputs/debounced-input.vue.d.ts +6 -5
- package/dist/src/components/inputs/phone-input.vue.d.ts +4 -3
- package/dist/src/components/kpi/kpi-grid.vue.d.ts +4 -3
- package/dist/src/components/links/external-link.vue.d.ts +3 -2
- package/dist/src/components/lists/compact-card-list.vue.d.ts +5 -4
- package/dist/src/components/lists/products-list.vue.d.ts +18 -12
- package/dist/src/components/orders/blocks/order-details.vue.d.ts +4 -3
- package/dist/src/components/orders/blocks/order-external-links.vue.d.ts +2 -1
- package/dist/src/components/orders/blocks/order-items-list.vue.d.ts +17 -8
- package/dist/src/components/orders/blocks/order-status-history.vue.d.ts +2 -1
- package/dist/src/components/orders/order-actions.vue.d.ts +3 -2
- package/dist/src/components/orders/order-highlight-settings.vue.d.ts +4 -3
- package/dist/src/components/orders/order-info.vue.d.ts +3 -2
- package/dist/src/components/orders/orders-list.vue.d.ts +14 -7
- package/dist/src/components/orders/short-text-order-info.vue.d.ts +3 -2
- package/dist/src/components/orders/simple/creator-user-type-tag.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-color-swatch.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-common-info.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-delivery-label.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-item-name.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-item-params.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-item-specification.vue.d.ts +4 -370
- package/dist/src/components/orders/simple/order-payment.vue.d.ts +4 -3
- package/dist/src/components/orders/simple/order-product-info.vue.d.ts +6 -5
- package/dist/src/components/orders/simple/order-status-tag.vue.d.ts +5 -4
- package/dist/src/components/page/page-with-sliding-panel.vue.d.ts +25 -17
- package/dist/src/components/page/page.vue.d.ts +14 -9
- package/dist/src/components/selects/curator-select.vue.d.ts +4 -1848
- package/dist/src/components/selects/manager-operator-select.vue.d.ts +9 -1854
- package/dist/src/components/selects/manager-select.vue.d.ts +8 -1852
- package/dist/src/components/selects/reference-select.vue.d.ts +16 -11
- package/dist/src/components/selects/searchable-product-select.vue.d.ts +15 -10
- package/dist/src/components/selects/searchable-reference-select.vue.d.ts +15 -10
- package/dist/src/components/sliding-content/sliding-content-with-drawer.vue.d.ts +11 -7
- package/dist/src/components/suggestions/address/address-suggestion-label.vue.d.ts +4 -3
- package/dist/src/components/suggestions/address/address-suggestion.vue.d.ts +5 -6
- package/dist/src/components/suggestions/bank/bank-suggestion-label.vue.d.ts +4 -3
- package/dist/src/components/suggestions/bank/bank-suggestion.vue.d.ts +5 -6
- package/dist/src/components/suggestions/org/org-suggestion-label.vue.d.ts +4 -3
- package/dist/src/components/suggestions/org/org-suggestion.vue.d.ts +5 -6
- package/dist/src/components/users/user-short-info.vue.d.ts +4 -3
- package/dist/src/public-api.d.ts +2 -1
- package/dist/src/values/reference-lists.d.ts +13 -13
- package/package.json +49 -56
- /package/dist/{tailwind.config.js → src/themes/tailwind.config.js} +0 -0
|
@@ -2,20 +2,21 @@ import { IDebounced, IPlaceholder } from '../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент поля ввода с устранением дребезга.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<import('../../properties').IValue<string | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
8
|
"update:value": (value: string | undefined, ...additionalParams: any[]) => any;
|
|
7
9
|
}, string, import('vue').PublicProps, Readonly<import('../../properties').IValue<string | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder> & Readonly<{
|
|
8
10
|
"onUpdate:value"?: ((value: string | undefined, ...additionalParams: any[]) => any) | undefined;
|
|
9
11
|
}>, {
|
|
10
12
|
value: string | undefined;
|
|
11
|
-
placeholder: string;
|
|
12
13
|
clearable: boolean;
|
|
14
|
+
placeholder: string;
|
|
13
15
|
debounceTime: number;
|
|
14
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
15
|
-
prefix
|
|
17
|
+
prefix?: (props: {}) => any;
|
|
16
18
|
}>;
|
|
17
|
-
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
20
21
|
$slots: S;
|
|
21
22
|
};
|
|
@@ -6,7 +6,9 @@ import { CountryCode } from 'libphonenumber-js';
|
|
|
6
6
|
* Данный компонент является оберткой над {@link node_modules/vue3-reactive-tel-input/src/lib-components/vue3-reactive-tel-input.vue}.
|
|
7
7
|
* При необходимости можно доработать/переработать исходный компонент.
|
|
8
8
|
*/
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<IValue<string> & IDebounced & IDisabled & IPlaceholder & IDefaultCountry & {
|
|
10
12
|
/**
|
|
11
13
|
* Список предпочитаемых стран которые следует отображать вверху списка.
|
|
12
14
|
*/
|
|
@@ -28,5 +30,4 @@ declare const _default: import('vue').DefineComponent<IValue<string> & IDebounce
|
|
|
28
30
|
onlyCountries?: CountryCode[];
|
|
29
31
|
}> & Readonly<{
|
|
30
32
|
"onUpdate:value"?: ((value: string, ...additionalParams: any[]) => any) | undefined;
|
|
31
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
32
|
-
export default _default;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IKpiGridItem } from './interfaces/i-kpi-grid-item';
|
|
|
2
2
|
/**
|
|
3
3
|
* Сетка KPI-плашек: подпись, значение и примечание.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
8
|
/**
|
|
7
9
|
* Элементы KPI-плашек.
|
|
8
10
|
*/
|
|
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
22
|
* Признак загрузки сводки.
|
|
21
23
|
*/
|
|
22
24
|
isLoading?: boolean;
|
|
23
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
24
|
-
export default _default;
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Компонент внешней ссылки.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
5
7
|
/**
|
|
6
8
|
* Текст ссылки.
|
|
7
9
|
*/
|
|
@@ -28,4 +30,3 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
28
30
|
*/
|
|
29
31
|
description?: string;
|
|
30
32
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
export default _default;
|
|
@@ -2,7 +2,9 @@ import { IPagination } from '@snabcentr/common-lib';
|
|
|
2
2
|
/**
|
|
3
3
|
* Список карточек для узкого экрана: загрузка, пустое состояние и пагинация.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
6
8
|
/**
|
|
7
9
|
* Признак загрузки данных.
|
|
8
10
|
*/
|
|
@@ -43,10 +45,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
43
45
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
44
46
|
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
45
47
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
46
|
-
default
|
|
48
|
+
default?: (props: {}) => any;
|
|
47
49
|
}>;
|
|
48
|
-
|
|
49
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
51
|
new (): {
|
|
51
52
|
$slots: S;
|
|
52
53
|
};
|
|
@@ -7,24 +7,30 @@ import { ProductOrCategoryType } from '../../properties/types/product-or-categor
|
|
|
7
7
|
/**
|
|
8
8
|
* Компонент списка продуктов или категорий.
|
|
9
9
|
*/
|
|
10
|
-
declare const _default:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: <T extends ProductOrCategoryType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
13
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(IValue<T[]> & IProductOrCategorySearchType & IMinTermLength & IDisabled) & {
|
|
14
|
+
"onUpdate:value"?: ((value: T[], ...additionalParams: any[]) => any) | undefined;
|
|
15
|
+
}> & (typeof globalThis extends {
|
|
16
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
17
|
+
} ? P : {});
|
|
18
|
+
expose: (exposed: {}) => void;
|
|
15
19
|
attrs: any;
|
|
16
20
|
slots: {
|
|
17
|
-
header
|
|
18
|
-
|
|
21
|
+
header?: (props: {}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
'item-extra'?: (props: {
|
|
19
24
|
item: import('@vue/reactivity').UnwrapRefSimple<T>;
|
|
20
25
|
updateItemCallback: (item: T) => void;
|
|
21
|
-
})
|
|
26
|
+
}) => any;
|
|
22
27
|
};
|
|
23
28
|
emit: IUpdateValue<T[]>;
|
|
24
29
|
}>) => import('vue').VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
30
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
31
|
};
|
|
27
|
-
|
|
28
|
-
type __VLS_PrettifyLocal<T> = {
|
|
32
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
29
33
|
[K in keyof T]: T[K];
|
|
30
|
-
}
|
|
34
|
+
} : {
|
|
35
|
+
[K in keyof T as K]: T[K];
|
|
36
|
+
}) & {};
|
|
@@ -2,9 +2,10 @@ import { IOrderProperty } from '../../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент представления деталей заказа.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrderProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
8
|
"click:client-name": (client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any;
|
|
7
9
|
}, string, import('vue').PublicProps, Readonly<IOrderProperty> & Readonly<{
|
|
8
10
|
"onClick:client-name"?: ((client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
10
|
-
export default _default;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,5 +2,6 @@ import { IOrderExternalLinksProperty } from '../../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент представления внешних ссылок заказа (ERP, счета, онлайн оплата).
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
6
|
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrderExternalLinksProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IOrderExternalLinksProperty> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,9 +7,9 @@ import { Emitter } from 'mitt';
|
|
|
7
7
|
/**
|
|
8
8
|
* Компонент списка позиций из заказа.
|
|
9
9
|
*/
|
|
10
|
-
declare const _default:
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
13
13
|
/**
|
|
14
14
|
* Список позиций.
|
|
15
15
|
*/
|
|
@@ -57,11 +57,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
57
57
|
* по завершении ввода, и на каждый введённый символ запрос не уходит.
|
|
58
58
|
*/
|
|
59
59
|
updateQuantityOnInput?: boolean;
|
|
60
|
+
} & {
|
|
61
|
+
/**
|
|
62
|
+
* Ключи выбранных позиций (`id`). Используется при включённом `selectable`
|
|
63
|
+
* для выбора подмножества позиций заказа (частичное оформление).
|
|
64
|
+
*/
|
|
65
|
+
selectedRowKeys?: Array<string | number>;
|
|
60
66
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
67
|
"update:selectedRowKeys": (value: (string | number)[]) => any;
|
|
62
68
|
}, string, import('vue').PublicProps, Readonly<{
|
|
63
|
-
selectedRowKeys?: Array<string | number>;
|
|
64
|
-
} & {
|
|
65
69
|
/**
|
|
66
70
|
* Список позиций.
|
|
67
71
|
*/
|
|
@@ -109,18 +113,23 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
109
113
|
* по завершении ввода, и на каждый введённый символ запрос не уходит.
|
|
110
114
|
*/
|
|
111
115
|
updateQuantityOnInput?: boolean;
|
|
116
|
+
} & {
|
|
117
|
+
/**
|
|
118
|
+
* Ключи выбранных позиций (`id`). Используется при включённом `selectable`
|
|
119
|
+
* для выбора подмножества позиций заказа (частичное оформление).
|
|
120
|
+
*/
|
|
121
|
+
selectedRowKeys?: Array<string | number>;
|
|
112
122
|
}> & Readonly<{
|
|
113
123
|
"onUpdate:selectedRowKeys"?: ((value: (string | number)[]) => any) | undefined;
|
|
114
124
|
}>, {
|
|
115
125
|
title: string;
|
|
116
126
|
eventEmitter: Emitter<IOrderEmits>;
|
|
117
127
|
maxHeight: number;
|
|
118
|
-
groups: Array<IOrderItemsGroup>;
|
|
119
128
|
allowEdit: boolean;
|
|
120
129
|
updateQuantityOnInput: boolean;
|
|
121
130
|
selectable: boolean;
|
|
122
|
-
|
|
131
|
+
groups: IOrderItemsGroup[];
|
|
132
|
+
extraColumns: DataTableColumn<OrderItem<undefined, string | number>>[];
|
|
123
133
|
isItemInactive: (item: IOrderItemsListItem) => boolean;
|
|
124
134
|
isItemSelectable: (item: IOrderItemsListItem) => boolean;
|
|
125
135
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
126
|
-
export default _default;
|
|
@@ -2,5 +2,6 @@ import { IOrderProperty } from '../../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент представления истории изменений статусов заказа.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
6
|
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrderProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IOrderProperty> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,7 +3,9 @@ import { IOrdersTableFields } from '../../properties/interfaces/i-orders-table-f
|
|
|
3
3
|
/**
|
|
4
4
|
* Компонент контекстного меню заказа.
|
|
5
5
|
*/
|
|
6
|
-
declare const _default:
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<Pick<IOrdersTableFields, "orderContextButtonsConfig" | "onOrderContextSelect"> & {
|
|
7
9
|
/**
|
|
8
10
|
* Данные о заказе.
|
|
9
11
|
*/
|
|
@@ -17,4 +19,3 @@ declare const _default: import('vue').DefineComponent<Pick<IOrdersTableFields, "
|
|
|
17
19
|
orderContextButtonsConfig: (order: IOrderInfo) => Array<import('naive-ui').DropdownOption | import('naive-ui').DropdownGroupOption | import('naive-ui').DropdownDividerOption | import('naive-ui').DropdownRenderOption>;
|
|
18
20
|
onOrderContextSelect: (order: IOrderInfo, key: string | number) => void;
|
|
19
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
export default _default;
|
|
@@ -3,7 +3,9 @@ import { IOrderStatus } from '@snabcentr/common-lib';
|
|
|
3
3
|
/**
|
|
4
4
|
* Компонент настройки выделения заказов цветом.
|
|
5
5
|
*/
|
|
6
|
-
declare const _default:
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
7
9
|
/**
|
|
8
10
|
* Текущие настройки выделения.
|
|
9
11
|
*/
|
|
@@ -27,5 +29,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
29
|
"onUpdate:settings"?: ((value: IOrderHighlightSettings) => any) | undefined;
|
|
28
30
|
}>, {
|
|
29
31
|
statuses: IOrderStatus[];
|
|
30
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
31
|
-
export default _default;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IOrderInfoProperty } from '../../properties';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент представления данных о заказе.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrderInfoProperty, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
8
|
"click:client-name": (client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any;
|
|
7
9
|
}, string, import('vue').PublicProps, Readonly<IOrderInfoProperty> & Readonly<{
|
|
8
10
|
"onClick:client-name"?: ((client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any) | undefined;
|
|
@@ -10,4 +12,3 @@ declare const _default: import('vue').DefineComponent<IOrderInfoProperty, {}, {}
|
|
|
10
12
|
eventEmitter: import('mitt').Emitter<import('../..').IOrderEmits>;
|
|
11
13
|
allowEdit: boolean;
|
|
12
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|
|
@@ -4,9 +4,9 @@ import { IOrderHighlightSettings } from '../../orders/interfaces/i-order-highlig
|
|
|
4
4
|
/**
|
|
5
5
|
* Компонент представления списка заказов.
|
|
6
6
|
*/
|
|
7
|
-
declare const _default:
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrdersTableFields & {
|
|
10
10
|
/**
|
|
11
11
|
* URL страницы заказов. В качестве указания идентификатора заказа необходимо использовать значение `:id`.
|
|
12
12
|
*/
|
|
@@ -61,6 +61,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
61
61
|
* выбора не отображается (например, заказ с информацией об оплате). По умолчанию выбор доступен.
|
|
62
62
|
*/
|
|
63
63
|
isRowSelectable?: (row: IOrderInfo) => boolean;
|
|
64
|
+
} & {
|
|
65
|
+
/**
|
|
66
|
+
* Ключи выбранных строк (идентификаторы заказов). Используется при включённом `selectable`.
|
|
67
|
+
*/
|
|
68
|
+
checkedRowKeys?: Array<string | number>;
|
|
64
69
|
}, {
|
|
65
70
|
/**
|
|
66
71
|
* Перезагружает список заказов с индикатором загрузки, сохраняя текущие фильтры, сортировку и страницу
|
|
@@ -86,9 +91,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
86
91
|
"dblclick:row": (order: IOrderInfo) => any;
|
|
87
92
|
"update:pagination": (pagination: IPagination) => any;
|
|
88
93
|
"update:sort": (sort: ISortRequestParams[]) => any;
|
|
89
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
90
|
-
checkedRowKeys?: Array<string | number>;
|
|
91
|
-
} & IOrdersTableFields & {
|
|
94
|
+
}, string, import('vue').PublicProps, Readonly<IOrdersTableFields & {
|
|
92
95
|
/**
|
|
93
96
|
* URL страницы заказов. В качестве указания идентификатора заказа необходимо использовать значение `:id`.
|
|
94
97
|
*/
|
|
@@ -143,6 +146,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
143
146
|
* выбора не отображается (например, заказ с информацией об оплате). По умолчанию выбор доступен.
|
|
144
147
|
*/
|
|
145
148
|
isRowSelectable?: (row: IOrderInfo) => boolean;
|
|
149
|
+
} & {
|
|
150
|
+
/**
|
|
151
|
+
* Ключи выбранных строк (идентификаторы заказов). Используется при включённом `selectable`.
|
|
152
|
+
*/
|
|
153
|
+
checkedRowKeys?: Array<string | number>;
|
|
146
154
|
}> & Readonly<{
|
|
147
155
|
"onClick:client-name"?: ((client: import('@snabcentr/common-lib').IClientShortInfo, event: any) => any) | undefined;
|
|
148
156
|
"onDblclick:row"?: ((order: IOrderInfo) => any) | undefined;
|
|
@@ -163,4 +171,3 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
163
171
|
stickyHeaderOnMobile: boolean;
|
|
164
172
|
isRowSelectable: (row: IOrderInfo) => boolean;
|
|
165
173
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
166
|
-
export default _default;
|
|
@@ -2,7 +2,9 @@ import { IOrderShortInfoProperty } from '../../properties/interfaces/i-order-sho
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент краткого текстового представления данных о заказе.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrderShortInfoProperty & {
|
|
6
8
|
/**
|
|
7
9
|
* URL ссылки, при клике по номеру заказа.
|
|
8
10
|
*/
|
|
@@ -17,4 +19,3 @@ declare const _default: import('vue').DefineComponent<IOrderShortInfoProperty &
|
|
|
17
19
|
}> & Readonly<{
|
|
18
20
|
"onClick:order-id"?: ((client: import('@snabcentr/common-lib').IOrderShortInfo, event: any) => any) | undefined;
|
|
19
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
export default _default;
|
|
@@ -2,7 +2,9 @@ import { UserTypeEnum } from '@snabcentr/common-lib';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент отображения информации о том, кем добавлено/удалено/изменено.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
8
|
/**
|
|
7
9
|
* Тип пользователя.
|
|
8
10
|
*/
|
|
@@ -43,5 +45,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
45
|
prefixText: string;
|
|
44
46
|
variant: "info" | "danger";
|
|
45
47
|
changedFields: string[];
|
|
46
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
47
|
-
export default _default;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IOrderStatusColors } from '../../../orders/interfaces/i-order-status-co
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент цветной плашки-образца статуса или маркера заказа.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
8
|
/**
|
|
7
9
|
* Цвета статуса или маркера заказа.
|
|
8
10
|
*/
|
|
@@ -12,5 +14,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
14
|
* Цвета статуса или маркера заказа.
|
|
13
15
|
*/
|
|
14
16
|
colors: IOrderStatusColors;
|
|
15
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
16
|
-
export default _default;
|
|
17
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,9 @@ import { IOrderHighlightSettings } from '../../../orders/interfaces/i-order-high
|
|
|
4
4
|
/**
|
|
5
5
|
* Компонент общего представления данных о заказе.
|
|
6
6
|
*/
|
|
7
|
-
declare const _default:
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<IOrderInfoProperty & IOrdersTableFields & {
|
|
8
10
|
/**
|
|
9
11
|
* URL страницы заказов. В качестве указания идентификатора заказа необходимо использовать значение `:id`.
|
|
10
12
|
*/
|
|
@@ -22,5 +24,4 @@ declare const _default: import('vue').DefineComponent<IOrderInfoProperty & IOrde
|
|
|
22
24
|
* Настройки выделения: какие статусы и маркеры подсвечивать цветом из единой палитры.
|
|
23
25
|
*/
|
|
24
26
|
highlightSettings?: IOrderHighlightSettings;
|
|
25
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
26
|
-
export default _default;
|
|
27
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IOrderInfo } from '@snabcentr/common-lib';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент текстового представления способа доставки.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
8
|
/**
|
|
7
9
|
* Данные о доставке.
|
|
8
10
|
*/
|
|
@@ -31,5 +33,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
33
|
}> & Readonly<{}>, {
|
|
32
34
|
showType: boolean;
|
|
33
35
|
showDetails: boolean;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
35
|
-
export default _default;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { OrderItemBase } from '@snabcentr/common-lib';
|
|
|
2
2
|
/**
|
|
3
3
|
* Компонент отображения наименования позиции заказа в таблице.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
8
|
/**
|
|
7
9
|
* Данные о позиции заказа.
|
|
8
10
|
*/
|
|
@@ -31,5 +33,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
33
|
}> & Readonly<{}>, {
|
|
32
34
|
showCode: boolean;
|
|
33
35
|
inactive: boolean;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
35
|
-
export default _default;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,9 @@ import { IOrderEmits } from '../../../orders/interfaces/events/i-order-emits';
|
|
|
4
4
|
/**
|
|
5
5
|
* Компонент отображения и редактирования параметров позиции заказа.
|
|
6
6
|
*/
|
|
7
|
-
declare const _default:
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
8
10
|
/**
|
|
9
11
|
* Данные о позиции заказа.
|
|
10
12
|
*/
|
|
@@ -44,5 +46,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
44
46
|
eventEmitter: Emitter<IOrderEmits>;
|
|
45
47
|
allowEdit: boolean;
|
|
46
48
|
updateQuantityOnInput: boolean;
|
|
47
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
48
|
-
export default _default;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|