@snabcentr/vue-ui-lib 2.17.1 → 2.18.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.
@@ -2,7 +2,7 @@ import { IDebounced, IPlaceholder } from '../../properties';
2
2
  /**
3
3
  * Компонент числового поля ввода с устранением дребезга.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<import('../../properties').IValue<number | null | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder & {
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('../../properties').IValue<number | null | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder & {
6
6
  /**
7
7
  * Минимальное значение.
8
8
  */
@@ -2590,5 +2590,12 @@ declare const _default: import('vue').DefineComponent<import('../../properties')
2590
2590
  buttonPlacement: "right" | "both";
2591
2591
  updateValueOnInput: boolean;
2592
2592
  }> | null;
2593
- }, any>;
2593
+ }, any>, {
2594
+ prefix?(_: {}): any;
2595
+ }>;
2594
2596
  export default _default;
2597
+ type __VLS_WithTemplateSlots<T, S> = T & {
2598
+ new (): {
2599
+ $slots: S;
2600
+ };
2601
+ };
@@ -2,7 +2,7 @@ import { IDebounced, IPlaceholder } from '../../properties';
2
2
  /**
3
3
  * Компонент поля ввода с устранением дребезга.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<import('../../properties').IValue<string | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('../../properties').IValue<string | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
6
  "update:value": (value: string | undefined, ...additionalParams: any[]) => any;
7
7
  }, string, import('vue').PublicProps, Readonly<import('../../properties').IValue<string | undefined> & import('../../properties').IClearable & IDebounced & IPlaceholder> & Readonly<{
8
8
  "onUpdate:value"?: ((value: string | undefined, ...additionalParams: any[]) => any) | undefined;
@@ -11,5 +11,12 @@ declare const _default: import('vue').DefineComponent<import('../../properties')
11
11
  clearable: boolean;
12
12
  placeholder: string;
13
13
  debounceTime: number;
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
15
+ prefix?(_: {}): any;
16
+ }>;
15
17
  export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -7,4 +7,5 @@ export * from './components';
7
7
  export * from './configs';
8
8
  export * from './providers';
9
9
  export * from './themes';
10
+ export * from './values';
10
11
  export * from './window';
@@ -0,0 +1 @@
1
+ export * from './reference-lists';
@@ -0,0 +1,58 @@
1
+ import { ICityWithRegionAndCountry } from '@snabcentr/common-lib';
2
+ import { SelectOption } from 'naive-ui';
3
+ /**
4
+ * Список типов доставки.
5
+ */
6
+ export declare const deliveryTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IDeliveryType[]>;
7
+ /**
8
+ * Список менеджеров.
9
+ */
10
+ export declare const managersReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IManager[]>;
11
+ /**
12
+ * Список организационно-правовых форм.
13
+ */
14
+ export declare const opfReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IOpf[]>;
15
+ /**
16
+ * Список групп партнеров.
17
+ */
18
+ export declare const partnerGroupReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IPartnerGroup[]>;
19
+ /**
20
+ * Список коэффициентов цен.
21
+ */
22
+ export declare const priceCoefficientsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IPriceCoefficient[]>;
23
+ /**
24
+ * Список типов файлов продуктов/категорий.
25
+ */
26
+ export declare const productFilesTypesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IProductFileType[]>;
27
+ /**
28
+ * Список значений справочника типов ресурсов.
29
+ */
30
+ export declare const resourceReferencesList: import('vue').ComputedRef<import('@snabcentr/common-lib').IResourceType[] | undefined>;
31
+ /**
32
+ * Список направлений продаж.
33
+ */
34
+ export declare const salesDirectionsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').ISalesDirection[]>;
35
+ /**
36
+ * Список складов.
37
+ */
38
+ export declare const warehousesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IWarehouse[]>;
39
+ /**
40
+ * Справочник опций направлений продаж.
41
+ */
42
+ export declare const channelPrimaryInterestOptionsList: import('vue').ComputedRef<SelectOption[]>;
43
+ /**
44
+ * Справочник опций направлений продаж.
45
+ */
46
+ export declare const sourcePrimaryInterestOptionsList: import('vue').ComputedRef<SelectOption[]>;
47
+ /**
48
+ * Обработчик события поиска города по названию.
49
+ *
50
+ * @param term Терм поиска.
51
+ */
52
+ export declare const searchCityReferenceDataHandler: (term: string) => Promise<ICityWithRegionAndCountry[]>;
53
+ /**
54
+ * Функция рендеринга представления пункта выпадающего списка с данными о городе.
55
+ *
56
+ * @param items Список данных о городах.
57
+ */
58
+ export declare const searchCityReferenceLabelRenderer: (items: ICityWithRegionAndCountry[]) => SelectOption[];
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": "2.17.1",
7
+ "version": "2.18.0",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",