@snabcentr/vue-ui-lib 2.16.2 → 2.17.2

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
+ };
@@ -1,11 +1,12 @@
1
1
  import { IAddressSuggestion } from '@snabcentr/common-lib';
2
2
  import { SearchDataHandlerType } from '../../../properties/types/search-data-handler-type';
3
+ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length';
3
4
  /**
4
5
  * Компонент подсказки данных об адресе.
5
6
  */
6
7
  declare const _default: import('vue').DefineComponent<import('../../..').IDisabled & import('../../..').IValue<string | undefined> & import('../../..').IClearable & {
7
8
  field?: string;
8
- } & {
9
+ } & IMinTermLength & {
9
10
  /**
10
11
  * Обработчик события поиска товаров.
11
12
  */
@@ -20,7 +21,7 @@ declare const _default: import('vue').DefineComponent<import('../../..').IDisabl
20
21
  select: (selectedItem: IAddressSuggestion) => any;
21
22
  }, string, import('vue').PublicProps, Readonly<import('../../..').IDisabled & import('../../..').IValue<string | undefined> & import('../../..').IClearable & {
22
23
  field?: string;
23
- } & {
24
+ } & IMinTermLength & {
24
25
  /**
25
26
  * Обработчик события поиска товаров.
26
27
  */
@@ -32,6 +33,7 @@ declare const _default: import('vue').DefineComponent<import('../../..').IDisabl
32
33
  value: string | undefined;
33
34
  clearable: boolean;
34
35
  disabled: boolean;
36
+ minTermLength: number;
35
37
  searchDataHandler: SearchDataHandlerType<IAddressSuggestion[]>;
36
38
  field: string;
37
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1,9 +1,11 @@
1
1
  import { IBankSuggestion } from '@snabcentr/common-lib';
2
- import { IProperties } from '../suggestion-common-definitions';
2
+ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length';
3
3
  /**
4
4
  * Компонент подсказки данных о банке.
5
5
  */
6
- declare const _default: import('vue').DefineComponent<IProperties, {
6
+ declare const _default: import('vue').DefineComponent<import('../../..').IDisabled & import('../../..').IValue<string | undefined> & import('../../..').IClearable & {
7
+ field?: string;
8
+ } & IMinTermLength, {
7
9
  /**
8
10
  * Устанавливает фокус в поле ввода.
9
11
  */
@@ -11,13 +13,16 @@ declare const _default: import('vue').DefineComponent<IProperties, {
11
13
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
14
  "update:value": (value: string | undefined, ...additionalParams: any[]) => any;
13
15
  select: (selectedItem: IBankSuggestion) => any;
14
- }, string, import('vue').PublicProps, Readonly<IProperties> & Readonly<{
16
+ }, string, import('vue').PublicProps, Readonly<import('../../..').IDisabled & import('../../..').IValue<string | undefined> & import('../../..').IClearable & {
17
+ field?: string;
18
+ } & IMinTermLength> & Readonly<{
15
19
  "onUpdate:value"?: ((value: string | undefined, ...additionalParams: any[]) => any) | undefined;
16
20
  onSelect?: ((selectedItem: IBankSuggestion) => any) | undefined;
17
21
  }>, {
18
22
  value: string | undefined;
19
23
  clearable: boolean;
20
24
  disabled: boolean;
25
+ minTermLength: number;
21
26
  field: string;
22
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
28
  autoCompleteElement: unknown;
@@ -1,10 +1,11 @@
1
1
  import { IOrganizationSuggestion } from '@snabcentr/common-lib';
2
+ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length';
2
3
  /**
3
4
  * Компонент подсказки данных об организации.
4
5
  */
5
6
  declare const _default: import('vue').DefineComponent<import('../../..').IDisabled & import('../../..').IValue<string | undefined> & import('../../..').IClearable & {
6
7
  field?: string;
7
- } & {
8
+ } & IMinTermLength & {
8
9
  /**
9
10
  * Признак, что разрешено выбирать записи ликвидированных организаций.
10
11
  */
@@ -19,7 +20,7 @@ declare const _default: import('vue').DefineComponent<import('../../..').IDisabl
19
20
  select: (selectedItem: IOrganizationSuggestion) => any;
20
21
  }, string, import('vue').PublicProps, Readonly<import('../../..').IDisabled & import('../../..').IValue<string | undefined> & import('../../..').IClearable & {
21
22
  field?: string;
22
- } & {
23
+ } & IMinTermLength & {
23
24
  /**
24
25
  * Признак, что разрешено выбирать записи ликвидированных организаций.
25
26
  */
@@ -31,6 +32,7 @@ declare const _default: import('vue').DefineComponent<import('../../..').IDisabl
31
32
  value: string | undefined;
32
33
  clearable: boolean;
33
34
  disabled: boolean;
35
+ minTermLength: number;
34
36
  field: string;
35
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
36
38
  autoCompleteElement: unknown;
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.16.2",
7
+ "version": "2.17.2",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",
@@ -45,11 +45,11 @@
45
45
  "@iconify-json/logos": "^1.2.4",
46
46
  "@iconify-json/mdi": "^1.2.3",
47
47
  "@iconify-json/tabler": "^1.2.16",
48
- "@snabcentr/common-lib": "^1.53.5",
48
+ "@snabcentr/common-lib": "^1.54.1",
49
49
  "@tailwindcss/container-queries": "^0.1.1",
50
50
  "date-fns": "^3.6.0",
51
- "lightgallery": "^2.8.3",
52
51
  "libphonenumber-js": "^1.12.4",
52
+ "lightgallery": "^2.8.3",
53
53
  "lodash-es": "^4.17.21",
54
54
  "mitt": "^3.0.1",
55
55
  "naive-ui": "^2.41.0",
@@ -84,5 +84,9 @@
84
84
  "vue-json-pretty": "^2.4.0",
85
85
  "vue-router": "^4.5.0",
86
86
  "vue-tsc": "^2.2.8"
87
+ },
88
+ "optionalDependencies": {
89
+ "@esbuild/linux-x64": "0.25.0",
90
+ "@rollup/rollup-linux-x64-gnu": "4.34.9"
87
91
  }
88
92
  }