@topvisor/ui 1.4.0-TopGroupSelector.8 → 1.4.0-TopGroupSelector.9

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.
@@ -18,6 +18,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
18
18
  "onUpdate:groupId"?: ((value: number | null) => any) | undefined;
19
19
  "onUpdate:group"?: ((value: ItemAll | ItemNew | Group) => any) | undefined;
20
20
  }>, {
21
+ on: boolean;
21
22
  addChanger: boolean;
22
23
  autoselect: "first" | "placeholder";
23
24
  addIcon: boolean;
@@ -20,6 +20,7 @@ export interface Props {
20
20
  * Список групп
21
21
  */
22
22
  groups?: Group[];
23
+ on?: boolean;
23
24
  canAdd?: 'api' | SelectorProps['appendSearchToResult'];
24
25
  canSelectAll?: SelectorProps['useAllItem'];
25
26
  autoselect?: 'first' | 'placeholder';
@@ -30,7 +30,7 @@ export declare const genGroupPlaceholder: () => Group;
30
30
  /**
31
31
  * Сгенерировать список групп для TopSelector
32
32
  */
33
- export declare const genItems: (groups: Group[], folderForFilter?: Folder) => Group[];
33
+ export declare const genItems: (groups: Group[], on?: boolean, folderForFilter?: Folder) => Group[];
34
34
  /**
35
35
  * Создать API запрос на получение групп
36
36
  */
@@ -45,11 +45,11 @@ export interface Props {
45
45
  */
46
46
  groups?: Group[];
47
47
  /**
48
- * Выводить только включенные группы
48
+ * Фильтр активности группы
49
49
  *
50
50
  * @subcategory Группы
51
51
  */
52
- onlyOnGroups?: boolean;
52
+ on?: boolean;
53
53
  /**
54
54
  * Добавить возможность выбора всех групп
55
55
  *