@snabcentr/vue-ui-lib 5.10.0 → 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 +26250 -32846
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +260 -300
- 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/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 +10 -8
- 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 +43 -53
- /package/dist/{tailwind.config.js → src/themes/tailwind.config.js} +0 -0
|
@@ -5,10 +5,10 @@ import { IUpdateValue } from '../../emits';
|
|
|
5
5
|
/**
|
|
6
6
|
* Компонент выпадающего списка значений справочника.
|
|
7
7
|
*/
|
|
8
|
-
declare const _default:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: <T extends IReference<any, any>>(__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<{
|
|
11
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(import('../../properties').IValue<T | T[] | null | undefined> & import('../../properties').IClearable & IDisabled & IConsistentMenuWidth & {
|
|
12
12
|
/**
|
|
13
13
|
* Список значений справочника.
|
|
14
14
|
*/
|
|
@@ -35,18 +35,23 @@ declare const _default: <T extends IReference<any, any>>(__VLS_props: NonNullabl
|
|
|
35
35
|
* Возвращает `true`, если пункт должен быть отключён для выбора.
|
|
36
36
|
*/
|
|
37
37
|
disabledItem?: (item: T) => boolean;
|
|
38
|
-
}) &
|
|
39
|
-
|
|
38
|
+
}) & {
|
|
39
|
+
"onUpdate:value"?: ((value: T | T[] | null | undefined, ...additionalParams: any[]) => any) | undefined;
|
|
40
|
+
}> & (typeof globalThis extends {
|
|
41
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
42
|
+
} ? P : {});
|
|
43
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
40
44
|
focus: () => void | undefined;
|
|
41
45
|
blur: () => void | undefined;
|
|
42
|
-
}>)
|
|
46
|
+
}>) => void;
|
|
43
47
|
attrs: any;
|
|
44
48
|
slots: {};
|
|
45
49
|
emit: IUpdateValue<T | T[] | null | undefined>;
|
|
46
50
|
}>) => import('vue').VNode & {
|
|
47
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
51
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
48
52
|
};
|
|
49
|
-
|
|
50
|
-
type __VLS_PrettifyLocal<T> = {
|
|
53
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
51
54
|
[K in keyof T]: T[K];
|
|
52
|
-
}
|
|
55
|
+
} : {
|
|
56
|
+
[K in keyof T as K]: T[K];
|
|
57
|
+
}) & {};
|
|
@@ -5,21 +5,26 @@ import { IProductOrCategorySearchType } from '../../properties/interfaces/i-prod
|
|
|
5
5
|
/**
|
|
6
6
|
* Компонент выпадающего списка товаров или категорий с возможностью поиска.
|
|
7
7
|
*/
|
|
8
|
-
declare const _default:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: <T extends IProduct | ICategory>(__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<{
|
|
11
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(ISearchableSelectWrapper<T | T[] | null> & IProductOrCategorySearchType) & {
|
|
12
|
+
"onUpdate:value"?: ((value: T | T[] | null, ...additionalParams: any[]) => any) | undefined;
|
|
13
|
+
}> & (typeof globalThis extends {
|
|
14
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
15
|
+
} ? P : {});
|
|
16
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
13
17
|
focus: () => void | undefined;
|
|
14
18
|
blur: () => void | undefined;
|
|
15
|
-
}>)
|
|
19
|
+
}>) => void;
|
|
16
20
|
attrs: any;
|
|
17
21
|
slots: {};
|
|
18
22
|
emit: IUpdateValue<T | T[] | null>;
|
|
19
23
|
}>) => import('vue').VNode & {
|
|
20
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
21
25
|
};
|
|
22
|
-
|
|
23
|
-
type __VLS_PrettifyLocal<T> = {
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
24
27
|
[K in keyof T]: T[K];
|
|
25
|
-
}
|
|
28
|
+
} : {
|
|
29
|
+
[K in keyof T as K]: T[K];
|
|
30
|
+
}) & {};
|
|
@@ -4,21 +4,26 @@ import { ISearchableSelect } from '../../properties';
|
|
|
4
4
|
/**
|
|
5
5
|
* Компонент выпадающего списка значений справочника с возможностью поиска.
|
|
6
6
|
*/
|
|
7
|
-
declare const _default:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare const __VLS_export: <T extends IReference>(__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<{
|
|
10
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<ISearchableSelect<T | T[] | null, T> & {
|
|
11
|
+
"onUpdate:value"?: ((value: T | T[] | null, ...additionalParams: any[]) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
12
16
|
focus: () => void | undefined;
|
|
13
17
|
blur: () => void | undefined;
|
|
14
|
-
}>)
|
|
18
|
+
}>) => void;
|
|
15
19
|
attrs: any;
|
|
16
20
|
slots: {};
|
|
17
21
|
emit: IUpdateValue<T | T[] | null>;
|
|
18
22
|
}>) => import('vue').VNode & {
|
|
19
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
23
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
20
24
|
};
|
|
21
|
-
|
|
22
|
-
type __VLS_PrettifyLocal<T> = {
|
|
25
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
23
26
|
[K in keyof T]: T[K];
|
|
24
|
-
}
|
|
27
|
+
} : {
|
|
28
|
+
[K in keyof T as K]: T[K];
|
|
29
|
+
}) & {};
|
|
@@ -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: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
5
7
|
/**
|
|
6
8
|
* Ширина всплывающей панели.
|
|
7
9
|
*/
|
|
@@ -36,13 +38,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
36
38
|
drawerWidth: number | (() => number);
|
|
37
39
|
showDrawer: boolean;
|
|
38
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
39
|
-
default
|
|
40
|
-
|
|
41
|
-
'drawer-
|
|
42
|
-
|
|
41
|
+
default?: (props: {}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
'drawer-header'?: (props: {}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
'drawer-content'?: (props: {}) => any;
|
|
46
|
+
} & {
|
|
47
|
+
'drawer-footer'?: (props: {}) => any;
|
|
43
48
|
}>;
|
|
44
|
-
|
|
45
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
50
|
new (): {
|
|
47
51
|
$slots: S;
|
|
48
52
|
};
|
|
@@ -2,7 +2,9 @@ import { IAddressSuggestion } 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
|
*/
|
|
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
22
|
* Признак, что подсказка выбрана.
|
|
21
23
|
*/
|
|
22
24
|
selected?: boolean;
|
|
23
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
24
|
-
export default _default;
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,7 +5,9 @@ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length
|
|
|
5
5
|
/**
|
|
6
6
|
* Компонент подсказки данных об адресе.
|
|
7
7
|
*/
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
|
|
9
11
|
field?: string;
|
|
10
12
|
} & IMinTermLength & IConsistentMenuWidth & {
|
|
11
13
|
/**
|
|
@@ -35,10 +37,7 @@ declare const _default: import('vue').DefineComponent<import('../../../propertie
|
|
|
35
37
|
disabled: boolean;
|
|
36
38
|
clearable: boolean;
|
|
37
39
|
minTermLength: number;
|
|
38
|
-
|
|
40
|
+
wrapContent: boolean;
|
|
39
41
|
searchDataHandler: SearchDataHandlerType<IAddressSuggestion[]>;
|
|
40
42
|
field: string;
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
-
autoCompleteElement: unknown;
|
|
43
|
-
}, any>;
|
|
44
|
-
export default _default;
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IBankSuggestion } 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
|
*/
|
|
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
22
|
* Признак, что подсказка выбрана.
|
|
21
23
|
*/
|
|
22
24
|
selected?: boolean;
|
|
23
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
24
|
-
export default _default;
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,9 @@ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length
|
|
|
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<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
|
|
8
10
|
field?: string;
|
|
9
11
|
} & IMinTermLength & IConsistentMenuWidth, {
|
|
10
12
|
/**
|
|
@@ -24,9 +26,6 @@ declare const _default: import('vue').DefineComponent<import('../../../propertie
|
|
|
24
26
|
disabled: boolean;
|
|
25
27
|
clearable: boolean;
|
|
26
28
|
minTermLength: number;
|
|
27
|
-
|
|
29
|
+
wrapContent: boolean;
|
|
28
30
|
field: string;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
-
autoCompleteElement: unknown;
|
|
31
|
-
}, any>;
|
|
32
|
-
export default _default;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IOrganizationSuggestion } 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
|
*/
|
|
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
22
|
* Признак, что подсказка выбрана.
|
|
21
23
|
*/
|
|
22
24
|
selected?: boolean;
|
|
23
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
24
|
-
export default _default;
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,7 +4,9 @@ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length
|
|
|
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<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
|
|
8
10
|
field?: string;
|
|
9
11
|
} & IMinTermLength & IConsistentMenuWidth & {
|
|
10
12
|
/**
|
|
@@ -34,9 +36,6 @@ declare const _default: import('vue').DefineComponent<import('../../../propertie
|
|
|
34
36
|
disabled: boolean;
|
|
35
37
|
clearable: boolean;
|
|
36
38
|
minTermLength: number;
|
|
37
|
-
|
|
39
|
+
wrapContent: boolean;
|
|
38
40
|
field: string;
|
|
39
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
40
|
-
autoCompleteElement: unknown;
|
|
41
|
-
}, any>;
|
|
42
|
-
export default _default;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,7 +2,9 @@ import { IUserShortInfo } 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
|
showUserType: boolean;
|
|
33
35
|
extraInfoOnSecondLine: boolean;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
35
|
-
export default _default;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/src/public-api.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './index'
|
|
1
|
+
export * from './index.js'
|
|
2
|
+
export {}
|
|
@@ -3,55 +3,55 @@ import { SelectOption } from 'naive-ui';
|
|
|
3
3
|
/**
|
|
4
4
|
* Список типов доставки.
|
|
5
5
|
*/
|
|
6
|
-
export declare const deliveryTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
6
|
+
export declare const deliveryTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IDeliveryType[]>;
|
|
7
7
|
/**
|
|
8
8
|
* Список менеджеров.
|
|
9
9
|
*/
|
|
10
|
-
export declare const managersReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
10
|
+
export declare const managersReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IManager[]>;
|
|
11
11
|
/**
|
|
12
12
|
* Список организационно-правовых форм.
|
|
13
13
|
*/
|
|
14
|
-
export declare const opfReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
14
|
+
export declare const opfReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOpf[]>;
|
|
15
15
|
/**
|
|
16
16
|
* Список групп партнеров.
|
|
17
17
|
*/
|
|
18
|
-
export declare const partnerGroupReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
18
|
+
export declare const partnerGroupReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IPartnerGroup[]>;
|
|
19
19
|
/**
|
|
20
20
|
* Список коэффициентов цен.
|
|
21
21
|
*/
|
|
22
|
-
export declare const priceCoefficientsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
22
|
+
export declare const priceCoefficientsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IPriceCoefficient[]>;
|
|
23
23
|
/**
|
|
24
24
|
* Список типов файлов продуктов/категорий.
|
|
25
25
|
*/
|
|
26
|
-
export declare const productFilesTypesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
26
|
+
export declare const productFilesTypesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IProductFileType[]>;
|
|
27
27
|
/**
|
|
28
28
|
* Список значений справочника типов ресурсов.
|
|
29
29
|
*/
|
|
30
|
-
export declare const resourceReferencesList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
30
|
+
export declare const resourceReferencesList: import('vue').ComputedRef<import('@snabcentr/common-core').IResourceType[] | undefined>;
|
|
31
31
|
/**
|
|
32
32
|
* Список направлений продаж.
|
|
33
33
|
*/
|
|
34
|
-
export declare const salesDirectionsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
34
|
+
export declare const salesDirectionsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').ISalesDirection[]>;
|
|
35
35
|
/**
|
|
36
36
|
* Список складов.
|
|
37
37
|
*/
|
|
38
|
-
export declare const warehousesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
38
|
+
export declare const warehousesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IWarehouse[]>;
|
|
39
39
|
/**
|
|
40
40
|
* Список типов оплаты.
|
|
41
41
|
*/
|
|
42
|
-
export declare const paymentTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
42
|
+
export declare const paymentTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IPaymentType[]>;
|
|
43
43
|
/**
|
|
44
44
|
* Список статусов заказов.
|
|
45
45
|
*/
|
|
46
|
-
export declare const orderStatusReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
46
|
+
export declare const orderStatusReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOrderStatus[]>;
|
|
47
47
|
/**
|
|
48
48
|
* Список детализирующих статусов заказов.
|
|
49
49
|
*/
|
|
50
|
-
export declare const orderStatusDetailReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
50
|
+
export declare const orderStatusDetailReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOrderStatusDetail[]>;
|
|
51
51
|
/**
|
|
52
52
|
* Список операторов.
|
|
53
53
|
*/
|
|
54
|
-
export declare const operatorReferenceList: import('vue').ComputedRef<import('@snabcentr/common-
|
|
54
|
+
export declare const operatorReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOperator[]>;
|
|
55
55
|
/**
|
|
56
56
|
* Справочник опций направлений продаж.
|
|
57
57
|
*/
|
package/package.json
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snabcentr/vue-ui-lib",
|
|
3
|
+
"version": "6.0.0",
|
|
3
4
|
"description": "Библиотека общих Vue3 компонентов, используемых во всех проектах Снабцентр.",
|
|
4
5
|
"keywords": [],
|
|
5
6
|
"author": "Sergey S. Smirnov <dev@snabcentr.com>",
|
|
6
7
|
"type": "module",
|
|
7
|
-
"version": "5.10.0",
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev": "vite",
|
|
11
11
|
"build": "vue-tsc -p tsconfig.build.json --noEmit && vite build && rm dist/vite.* && cp readme.md dist/readme.md",
|
|
12
12
|
"build:watch": "vite build -w",
|
|
13
|
-
"lint:files": "eslint --ignore-path
|
|
14
|
-
"lint": "eslint --ignore-path
|
|
15
|
-
"lint:fix": "eslint --fix --ignore-path
|
|
16
|
-
"lint:staged": "npx lint-staged",
|
|
13
|
+
"lint:files": "eslint --ignore-path ../../.gitignore",
|
|
14
|
+
"lint": "eslint --ignore-path ../../.gitignore src",
|
|
15
|
+
"lint:fix": "eslint --fix --ignore-path ../../.gitignore src",
|
|
17
16
|
"preview": "vite preview",
|
|
18
17
|
"test": "vitest",
|
|
19
18
|
"test:once": "vitest run",
|
|
20
19
|
"test:coverage": "mkdir -p coverage/.tmp && vitest run --coverage",
|
|
21
20
|
"test:ci": "mkdir -p junit coverage && vitest run --coverage --coverage.reporter=text-summary --coverage.reporter=cobertura --reporter=default --reporter=junit --outputFile.junit=junit/test_results.xml | tee coverage/coverage_report.txt && cp coverage/cobertura-coverage.xml coverage/coverage_report.xml",
|
|
22
|
-
"publish:lib": "npm publish"
|
|
23
|
-
"git:hooks:init": "husky",
|
|
24
|
-
"git:hooks:uninstall": "husky uninstall"
|
|
21
|
+
"publish:lib": "npm publish"
|
|
25
22
|
},
|
|
26
23
|
"files": [
|
|
27
24
|
"dist"
|
|
@@ -40,69 +37,62 @@
|
|
|
40
37
|
"require": "./dist/sc-vue-ui-lib.umd.cjs"
|
|
41
38
|
}
|
|
42
39
|
},
|
|
43
|
-
"lint-staged": {
|
|
44
|
-
"*.(js|jsx|ts|tsx|vue)": [
|
|
45
|
-
"npm run lint:files"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
40
|
"peerDependencies": {
|
|
49
41
|
"@iconify-json/fa6-brands": "^1.2.6",
|
|
50
|
-
"@iconify-json/fluent": "^1.2.
|
|
51
|
-
"@iconify-json/ion": "^1.2.
|
|
52
|
-
"@iconify-json/logos": "^1.2.
|
|
42
|
+
"@iconify-json/fluent": "^1.2.60",
|
|
43
|
+
"@iconify-json/ion": "^1.2.7",
|
|
44
|
+
"@iconify-json/logos": "^1.2.16",
|
|
53
45
|
"@iconify-json/mdi": "^1.2.3",
|
|
54
|
-
"@iconify-json/tabler": "^1.2.
|
|
55
|
-
"@snabcentr/common-lib": "^
|
|
46
|
+
"@iconify-json/tabler": "^1.2.42",
|
|
47
|
+
"@snabcentr/common-lib": "^4.0.0",
|
|
56
48
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
57
|
-
"date-fns": "^
|
|
58
|
-
"libphonenumber-js": "^1.
|
|
49
|
+
"date-fns": "^4.1.0",
|
|
50
|
+
"libphonenumber-js": "^1.13.15",
|
|
59
51
|
"lightgallery": "^2.9.0",
|
|
60
|
-
"lodash-es": "^4.
|
|
52
|
+
"lodash-es": "^4.18.1",
|
|
61
53
|
"mitt": "^3.0.1",
|
|
62
|
-
"naive-ui": "^2.
|
|
63
|
-
"pinia": "^
|
|
64
|
-
"postcss": "^8.5.
|
|
65
|
-
"sass": "^1.
|
|
66
|
-
"tailwindcss": "^3.4.
|
|
67
|
-
"ts-case-convert": "^2.1
|
|
68
|
-
"vue": "^3.5.
|
|
69
|
-
"vue-tel-input": "^9.
|
|
54
|
+
"naive-ui": "^2.45.3",
|
|
55
|
+
"pinia": "^4.1.0",
|
|
56
|
+
"postcss": "^8.5.30",
|
|
57
|
+
"sass": "^1.105.1",
|
|
58
|
+
"tailwindcss": "^3.4.19",
|
|
59
|
+
"ts-case-convert": "^2.3.1",
|
|
60
|
+
"vue": "^3.5.44",
|
|
61
|
+
"vue-tel-input": "^9.9.0"
|
|
70
62
|
},
|
|
71
63
|
"dependencies": {
|
|
72
|
-
"two.js": "^0.8.
|
|
64
|
+
"two.js": "^0.8.24"
|
|
73
65
|
},
|
|
74
66
|
"devDependencies": {
|
|
75
|
-
"@iconify/vue": "^5.0.
|
|
76
|
-
"@snabcentr/eslint-config": "^4.
|
|
67
|
+
"@iconify/vue": "^5.0.3",
|
|
68
|
+
"@snabcentr/eslint-config": "^4.3.0",
|
|
77
69
|
"@types/node": "^22.20.1",
|
|
78
|
-
"@types/vue-tel-input": "^2.1.
|
|
79
|
-
"@vitejs/plugin-vue": "^
|
|
80
|
-
"@vitest/coverage-v8": "^
|
|
81
|
-
"@vue/test-utils": "
|
|
82
|
-
"autoprefixer": "^10.
|
|
83
|
-
"baseline-browser-mapping": "^2.11.
|
|
84
|
-
"eslint-plugin-vue": "^
|
|
85
|
-
"happy-dom": "^
|
|
86
|
-
"
|
|
87
|
-
"lint-staged": "^16.4.0",
|
|
88
|
-
"rollup-plugin-visualizer": "^6.0.11",
|
|
70
|
+
"@types/vue-tel-input": "^2.1.7",
|
|
71
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
72
|
+
"@vitest/coverage-v8": "^5.0.4",
|
|
73
|
+
"@vue/test-utils": "~2.4.11",
|
|
74
|
+
"autoprefixer": "^10.6.1",
|
|
75
|
+
"baseline-browser-mapping": "^2.11.28",
|
|
76
|
+
"eslint-plugin-vue": "^10.11.1",
|
|
77
|
+
"happy-dom": "^21.0.1",
|
|
78
|
+
"rollup-plugin-visualizer": "^7.1.1",
|
|
89
79
|
"tailwindcss": "^3.4.19",
|
|
90
80
|
"typescript": "~5.9.3",
|
|
91
81
|
"unplugin-icons": "^23.0.1",
|
|
92
|
-
"unplugin-vue-components": "^
|
|
93
|
-
"vite": "^
|
|
94
|
-
"vite-plugin-dts": "^
|
|
82
|
+
"unplugin-vue-components": "^32.1.0",
|
|
83
|
+
"vite": "^8.3.4",
|
|
84
|
+
"vite-plugin-dts": "^5.1.2",
|
|
95
85
|
"vite-plugin-manifest-sri": "^0.2.0",
|
|
96
|
-
"vite-plugin-static-copy": "^
|
|
86
|
+
"vite-plugin-static-copy": "^4.1.1",
|
|
97
87
|
"vite-plugin-vue-devtools": "^8.2.1",
|
|
98
|
-
"vitest": "^
|
|
88
|
+
"vitest": "^5.0.4",
|
|
99
89
|
"vue-json-pretty": "^2.6.0",
|
|
100
|
-
"vue-router": "^4.
|
|
101
|
-
"vue-tsc": "^3.3.
|
|
90
|
+
"vue-router": "^5.4.0",
|
|
91
|
+
"vue-tsc": "^3.3.13"
|
|
102
92
|
},
|
|
103
93
|
"optionalDependencies": {
|
|
104
|
-
"@esbuild/linux-x64": "0.
|
|
105
|
-
"@rollup/rollup-darwin-arm64": "4.
|
|
106
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
94
|
+
"@esbuild/linux-x64": "0.28.2",
|
|
95
|
+
"@rollup/rollup-darwin-arm64": "4.64.6",
|
|
96
|
+
"@rollup/rollup-linux-x64-gnu": "4.64.6"
|
|
107
97
|
}
|
|
108
98
|
}
|
|
File without changes
|