@snabcentr/vue-ui-lib 4.19.13 → 5.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 +6 -2
- package/dist/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +3117 -3116
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +26 -26
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/suggestions/address/address-suggestion.vue.d.ts +1 -1
- package/dist/src/components/suggestions/suggestion-common-definitions.d.ts +26 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAddressSuggestion } from '@snabcentr/common-lib';
|
|
2
|
-
import { IConsistentMenuWidth } from '../../../properties';
|
|
3
2
|
import { SearchDataHandlerType } from '../../../properties/types/search-data-handler-type';
|
|
4
3
|
import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length';
|
|
4
|
+
import { IConsistentMenuWidth } from '../../../properties';
|
|
5
5
|
/**
|
|
6
6
|
* Компонент подсказки данных об адресе.
|
|
7
7
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IUpdateValue } from '../../emits';
|
|
2
|
-
import { IClearableValue } from '../../properties';
|
|
2
|
+
import { IClearableValue, IConsistentMenuWidth } from '../../properties';
|
|
3
3
|
import { IDisabled } from '../../properties/interfaces/i-disabled';
|
|
4
|
+
import { HTMLAttributes } from 'vue';
|
|
4
5
|
/**
|
|
5
6
|
* Тип списка свойств.
|
|
6
7
|
*/
|
|
@@ -10,6 +11,10 @@ export type IProperties = IDisabled & IClearableValue<string | undefined> & {
|
|
|
10
11
|
*/
|
|
11
12
|
field?: string;
|
|
12
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Тип списка свойств компонентов подсказок с автозавершением.
|
|
16
|
+
*/
|
|
17
|
+
export type ISuggestionProperties = IProperties & IConsistentMenuWidth;
|
|
13
18
|
/**
|
|
14
19
|
* Значения свойств по умолчанию.
|
|
15
20
|
*/
|
|
@@ -19,6 +24,26 @@ export declare const propertyDefaults: {
|
|
|
19
24
|
field: undefined;
|
|
20
25
|
disabled: boolean;
|
|
21
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Значения свойств по умолчанию для компонентов подсказок с автозавершением.
|
|
29
|
+
*/
|
|
30
|
+
export declare const suggestionPropertyDefaults: {
|
|
31
|
+
wrapContent: boolean;
|
|
32
|
+
clearable: boolean;
|
|
33
|
+
value: string;
|
|
34
|
+
field: undefined;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Класс меню подсказок с переносом текста опций.
|
|
39
|
+
*/
|
|
40
|
+
export declare const SUGGESTION_MENU_WRAP_CLASS = "consistent-menu-width";
|
|
41
|
+
/**
|
|
42
|
+
* Формирует свойства выпадающего меню подсказок автозавершения.
|
|
43
|
+
*
|
|
44
|
+
* @param wrapContent Признак переноса текста в опциях меню.
|
|
45
|
+
*/
|
|
46
|
+
export declare function getSuggestionMenuProperties(wrapContent?: boolean): HTMLAttributes | undefined;
|
|
22
47
|
/**
|
|
23
48
|
* Список событий.
|
|
24
49
|
*/
|
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": "
|
|
7
|
+
"version": "5.0.0",
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev": "vite",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@iconify-json/logos": "^1.2.9",
|
|
52
52
|
"@iconify-json/mdi": "^1.2.3",
|
|
53
53
|
"@iconify-json/tabler": "^1.2.23",
|
|
54
|
-
"@snabcentr/common-lib": "^
|
|
54
|
+
"@snabcentr/common-lib": "^3.0.0",
|
|
55
55
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
56
56
|
"date-fns": "^3.6.0",
|
|
57
57
|
"libphonenumber-js": "^1.12.23",
|