@snabcentr/vue-ui-lib 2.18.1 → 2.18.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.
@@ -1,13 +1,18 @@
1
1
  import { IManager, IManagerCommon } from '@snabcentr/common-lib';
2
2
  import { SelectOption } from 'naive-ui';
3
+ import { IConsistentMenuWidth } from '../../properties';
3
4
  /**
4
5
  * Компонент выпадающего списка менеджеров.
5
6
  */
6
- declare const _default: import('vue').DefineComponent<import('../../properties').IValue<IManager | IManagerCommon | IManager[] | IManagerCommon[] | null> & import('../../properties').IClearable & {
7
+ declare const _default: import('vue').DefineComponent<import('../../properties').IValue<IManager | IManagerCommon | IManager[] | IManagerCommon[] | null> & import('../../properties').IClearable & IConsistentMenuWidth & {
7
8
  /**
8
9
  * Список значений справочника.
9
10
  */
10
11
  managerReferenceList: IManagerCommon[] | IManager[];
12
+ /**
13
+ * Список идентификаторов менеджеров, которые нельзя выбирать.
14
+ */
15
+ disabledManagerReferenceList?: IManagerCommon[] | IManager[];
11
16
  /**
12
17
  * Признак необходимости отображать только активных менеджеров.
13
18
  * Также будет сформирована неактивная позиция с текущим неактивным менеджером.
@@ -22,11 +27,15 @@ declare const _default: import('vue').DefineComponent<import('../../properties')
22
27
  blur: () => void | undefined;
23
28
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
24
29
  "update:value": (value: IManagerCommon | IManagerCommon[] | null, ...additionalParams: any[]) => any;
25
- }, string, import('vue').PublicProps, Readonly<import('../../properties').IValue<IManager | IManagerCommon | IManager[] | IManagerCommon[] | null> & import('../../properties').IClearable & {
30
+ }, string, import('vue').PublicProps, Readonly<import('../../properties').IValue<IManager | IManagerCommon | IManager[] | IManagerCommon[] | null> & import('../../properties').IClearable & IConsistentMenuWidth & {
26
31
  /**
27
32
  * Список значений справочника.
28
33
  */
29
34
  managerReferenceList: IManagerCommon[] | IManager[];
35
+ /**
36
+ * Список идентификаторов менеджеров, которые нельзя выбирать.
37
+ */
38
+ disabledManagerReferenceList?: IManagerCommon[] | IManager[];
30
39
  /**
31
40
  * Признак необходимости отображать только активных менеджеров.
32
41
  * Также будет сформирована неактивная позиция с текущим неактивным менеджером.
@@ -41,8 +50,11 @@ declare const _default: import('vue').DefineComponent<import('../../properties')
41
50
  }>, {
42
51
  value: IManager | IManagerCommon | IManager[] | IManagerCommon[] | null;
43
52
  clearable: boolean;
53
+ readonly consistentMenuWidth: boolean;
54
+ readonly wrapContent: boolean;
44
55
  showEmptyValue: boolean;
45
56
  managerReferenceList: IManagerCommon[] | IManager[];
57
+ disabledManagerReferenceList: IManagerCommon[] | IManager[];
46
58
  showActualOnly: boolean;
47
59
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
48
60
  'select-component': import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -5,5 +5,9 @@ export interface IConsistentMenuWidth {
5
5
  /**
6
6
  * Признак того, что меню сохраняет свою ширину такой же, как у элемента-триггера выбора.
7
7
  */
8
- consistentMenuWidth?: boolean;
8
+ readonly consistentMenuWidth?: boolean;
9
+ /**
10
+ * Признак того, что в меню выпадающего списка будет использоваться перенос строк.
11
+ */
12
+ readonly wrapContent?: boolean;
9
13
  }
@@ -9,10 +9,6 @@ import { VNodeChild } from 'vue';
9
9
  * Свойства компонента-обертки для компонента выбора из выпадающего списка с возможностью поиска.
10
10
  */
11
11
  export interface ISearchableSelectWrapper<T> extends IClearableValue<T>, IDisabled, IMinTermLength, IConsistentMenuWidth, IPlaceholder {
12
- /**
13
- * Признак того, что в меню выпадающего списка будет использоваться перенос строк.
14
- */
15
- readonly wrapContent?: boolean;
16
12
  /**
17
13
  * Функция рендеринга представления метки опции выпадающего списка.
18
14
  *
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.18.1",
7
+ "version": "2.18.2",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",