@topvisor/ui 1.4.3-projectSelector.1 → 1.4.3-updateGroupSelector.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.
Files changed (41) hide show
  1. package/.chunks/policy.vue_vue_type_style_index_0_lang-6S_OFLu6.amd.js +2 -0
  2. package/.chunks/policy.vue_vue_type_style_index_0_lang-6S_OFLu6.amd.js.map +1 -0
  3. package/.chunks/policy.vue_vue_type_style_index_0_lang-BRUOmEM8.es.js +498 -0
  4. package/.chunks/policy.vue_vue_type_style_index_0_lang-BRUOmEM8.es.js.map +1 -0
  5. package/assets/policy.css +1 -1
  6. package/assets/project.css +1 -1
  7. package/formsExt/formsExt.amd.js +1 -1
  8. package/formsExt/formsExt.js +1 -1
  9. package/package.json +1 -1
  10. package/popup/popup.amd.js +1 -1
  11. package/popup/popup.amd.js.map +1 -1
  12. package/popup/popup.js +2 -2
  13. package/popup/popup.js.map +1 -1
  14. package/project/project.amd.js +1 -1
  15. package/project/project.amd.js.map +1 -1
  16. package/project/project.js +532 -869
  17. package/project/project.js.map +1 -1
  18. package/src/components/formsExt/selector2/composables/useAPI.d.ts +0 -2
  19. package/src/components/formsExt/selector2/composables/useMenu.d.ts +1 -3
  20. package/src/components/formsExt/selector2/selector2.vue.d.ts +1 -2
  21. package/src/components/formsExt/selector2/types.d.ts +8 -26
  22. package/src/components/popup/popup/listItem.vue.d.ts +4 -24
  23. package/src/components/popup/popup/types.d.ts +0 -1
  24. package/src/components/project/groupSelector/folders/types.d.ts +1 -0
  25. package/src/components/project/groupSelector/folders/utils.d.ts +417 -38
  26. package/src/components/project/groupSelector/groupSelector.vue.d.ts +1 -0
  27. package/src/components/project/groupSelector/groups/groups.vue.d.ts +5 -10
  28. package/src/components/project/groupSelector/groups/types.d.ts +1 -0
  29. package/src/components/project/groupSelector/groups/utils.d.ts +791 -57
  30. package/src/components/project/groupSelector/types.d.ts +6 -0
  31. package/src/components/project/project.d.ts +0 -1
  32. package/.chunks/policy.vue_vue_type_style_index_0_lang-BAP-FIuQ.es.js +0 -515
  33. package/.chunks/policy.vue_vue_type_style_index_0_lang-BAP-FIuQ.es.js.map +0 -1
  34. package/.chunks/policy.vue_vue_type_style_index_0_lang-EZT5LjSx.amd.js +0 -2
  35. package/.chunks/policy.vue_vue_type_style_index_0_lang-EZT5LjSx.amd.js.map +0 -1
  36. package/src/components/project/projectSelector/cache.d.ts +0 -30
  37. package/src/components/project/projectSelector/projectSelector.vue.d.ts +0 -128
  38. package/src/components/project/projectSelector/submenu/submenu.vue.d.ts +0 -4
  39. package/src/components/project/projectSelector/submenu/types.d.ts +0 -17
  40. package/src/components/project/projectSelector/types.d.ts +0 -52
  41. package/src/components/project/projectSelector/utils.d.ts +0 -232
@@ -9,7 +9,6 @@ export declare const useAPI: (api: Props["api"], apiSetSearchParams: Props["apiS
9
9
  id: number | ITEM_ID_NEW;
10
10
  name: string;
11
11
  listItemProps?: {
12
- [x: string]: any;
13
12
  type?: "button" | "formControls" | "regular" | "title" | "delimiter" | undefined;
14
13
  closeByClick?: boolean | undefined;
15
14
  attrs?: {
@@ -1030,7 +1029,6 @@ export declare const useAPI: (api: Props["api"], apiSetSearchParams: Props["apiS
1030
1029
  id: number | ITEM_ID_NEW;
1031
1030
  name: string;
1032
1031
  listItemProps?: {
1033
- [x: string]: any;
1034
1032
  type?: "button" | "formControls" | "regular" | "title" | "delimiter" | undefined;
1035
1033
  closeByClick?: boolean | undefined;
1036
1034
  attrs?: {
@@ -5,7 +5,7 @@ import { ITEM_ID_NEW } from '../utils';
5
5
  /**
6
6
  * Функционал поиска
7
7
  */
8
- export declare const useMenu: (model: Ref<Props["modelValue"]>, emits: ReturnType<typeof defineEmits>, items: Ref<Props["items"]>, multiselect: Props["multiselect"], useAllItem: Ref<Props["useAllItem"]>, appendSearchToResult: Ref<Props["appendSearchToResult"]>, appendSearchToResultCond: Ref<Props["appendSearchToResultCond"]>, appendWithoutSelect: Ref<Props["appendWithoutSelect"]>, searchType: Ref<Props["searchType"]>, minLength: number, api: API) => {
8
+ export declare const useMenu: (model: Ref<Props["modelValue"]>, emits: ReturnType<typeof defineEmits>, items: Ref<Props["items"]>, multiselect: Props["multiselect"], useAllItem: Ref<Props["useAllItem"]>, appendSearchToResult: Ref<Props["appendSearchToResult"]>, searchFields: Ref<Props["searchFields"]>, searchType: Ref<Props["searchType"]>, minLength: number, api: API) => {
9
9
  searchText: Ref<string, string>;
10
10
  resetSearch: () => void;
11
11
  genIsShort: () => boolean;
@@ -14,7 +14,6 @@ export declare const useMenu: (model: Ref<Props["modelValue"]>, emits: ReturnTyp
14
14
  id: number | typeof ITEM_ID_NEW;
15
15
  name: string;
16
16
  listItemProps?: {
17
- [x: string]: any;
18
17
  type?: "button" | "formControls" | "regular" | "title" | "delimiter" | undefined;
19
18
  closeByClick?: boolean | undefined;
20
19
  attrs?: {
@@ -1035,7 +1034,6 @@ export declare const useMenu: (model: Ref<Props["modelValue"]>, emits: ReturnTyp
1035
1034
  id: number | typeof ITEM_ID_NEW;
1036
1035
  name: string;
1037
1036
  listItemProps?: {
1038
- [x: string]: any;
1039
1037
  type?: "button" | "formControls" | "regular" | "title" | "delimiter" | undefined;
1040
1038
  closeByClick?: boolean | undefined;
1041
1039
  attrs?: {
@@ -25,17 +25,16 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
25
25
  */
26
26
  resetCache: (resetAPICache?: boolean) => void;
27
27
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
28
- open: () => any;
29
28
  "update:modelValue": (value: Item | Item[]) => any;
30
29
  appendItem: (item: Item) => any;
31
30
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
- onOpen?: (() => any) | undefined;
33
31
  "onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
34
32
  onAppendItem?: ((item: Item) => any) | undefined;
35
33
  }>, {
36
34
  size: Size;
37
35
  openByFocusInput: boolean;
38
36
  items: Item[];
37
+ searchFields: string[];
39
38
  searchType: "none" | "inline" | "popup";
40
39
  minLength: number;
41
40
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -44,15 +44,17 @@ export interface Props {
44
44
  */
45
45
  searchType?: 'none' | 'inline' | 'popup';
46
46
  /**
47
- * Текст для placeholder поля поиска
47
+ * Поля для поиска
48
+ *
49
+ * По умолчанию, поиск выполняется по полям `id` и `name`
50
+ *
51
+ * По полю `id` учитывается только полное совпадение
48
52
  */
49
- placeholder?: string;
53
+ searchFields: string[];
50
54
  /**
51
- * Добавить кнопку `Отменить` к виджету поиска. Клик по ней закрывает popup
52
- *
53
- * Только для `searchType` = `popup`
55
+ * Текст для placeholder поля поиска
54
56
  */
55
- hasCloserBtn?: boolean;
57
+ placeholder?: string;
56
58
  /**
57
59
  * Если указан, будет выполнена загрузка результатов через API
58
60
  *
@@ -93,18 +95,6 @@ export interface Props {
93
95
  * При добавлении элемента будет вызван emit `appendItem(item)`
94
96
  */
95
97
  appendSearchToResult?: boolean;
96
- /**
97
- * Добавить callback с проверкой введенного значения. Если проверка пройдена, то элемент отобразиться
98
- *
99
- * Будет вызван только если `appendSearchToResult = true`
100
- */
101
- appendSearchToResultCond?: (search: string) => boolean;
102
- /**
103
- * Не выбирать элемент после его добавления и не закрывать `popup`
104
- *
105
- * Будет вызван только если `appendSearchToResult = true`
106
- */
107
- appendWithoutSelect?: boolean;
108
98
  /**
109
99
  * Режим выбора нескольких вариантов
110
100
  *
@@ -147,10 +137,6 @@ export interface Props {
147
137
  * @subcategory Single select
148
138
  */
149
139
  selectedAsPlaceholder?: boolean;
150
- /**
151
- * code горячей клавиши для открытия селектора ('KeyA');
152
- */
153
- openerShortcut?: string;
154
140
  }
155
141
  export interface Slots {
156
142
  /**
@@ -179,10 +165,6 @@ export type Emits = {
179
165
  * @see `props.appendSearchToResult`
180
166
  */
181
167
  'appendItem': [item: Item];
182
- /**
183
- * Будет вызвано при открытии Popup
184
- */
185
- open: [];
186
168
  };
187
169
  export interface PropsItemMulti {
188
170
  id: Item['id'];
@@ -1,5 +1,5 @@
1
1
  import { ListItemProps } from './types';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
5
5
  slots: {
@@ -12,34 +12,14 @@ declare function __VLS_template(): {
12
12
  rootEl: any;
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ListItemProps>, {
16
- type: string;
15
+ declare const __VLS_component: DefineComponent<ListItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ListItemProps> & Readonly<{}>, {
16
+ type: "button" | "formControls" | "regular" | "title" | "delimiter";
17
17
  closeByClick: boolean;
18
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ListItemProps>, {
19
- type: string;
20
- closeByClick: boolean;
21
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
20
  export default _default;
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: PropType<T[K]>;
35
- required: true;
36
- };
37
- };
38
21
  type __VLS_WithTemplateSlots<T, S> = T & {
39
22
  new (): {
40
23
  $slots: S;
41
24
  };
42
25
  };
43
- type __VLS_PrettifyLocal<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
@@ -65,5 +65,4 @@ export interface ListItemProps {
65
65
  */
66
66
  closeByClick?: boolean;
67
67
  attrs?: Partial<HTMLElement>;
68
- [propName: string]: any;
69
68
  }
@@ -20,6 +20,7 @@ export interface Props {
20
20
  addChanger?: SelectorProps['addChanger'];
21
21
  addIcon?: boolean;
22
22
  client?: Api.Client<Api.TV.Paths, true>;
23
+ service?: 'keywords_2' | 'keywordsAi_2';
23
24
  }
24
25
  /**
25
26
  * Дерево папок: ключ — id родителя, значение — список дочерних папок
@@ -1,13 +1,53 @@
1
1
  import { Folder, FolderTree } from './types';
2
2
  import { Props } from '../types';
3
3
  import { paths } from 'topvisor-openapi/src/ts/Topvisor';
4
- import { components } from 'topvisor-openapi/src/ts/Keywords_2/Types/Folders/View';
4
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Topvisor/Subdomain';
5
+ import { components } from 'topvisor-openapi/src/ts/Qr_2/Types/TplN';
6
+ import { components } from 'topvisor-openapi/src/ts/Recurring_2/Types/System';
7
+ import { components } from 'topvisor-openapi/src/ts/Recurring_2/Types/Type';
8
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Url';
9
+ import { components } from 'topvisor-openapi/src/ts/Tags_2/Types/Type';
10
+ import { components } from 'topvisor-openapi/src/ts/Tpvsr_2/Types/Tags';
11
+ import { components } from 'topvisor-openapi/src/ts/Votes_2/Types/Rate';
12
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Date';
13
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Lang';
5
14
  import { components } from 'topvisor-openapi/src/ts/TV/API/Params/FieldsTrait';
6
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/OrdersTrait';
7
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/FiltersTrait';
15
+ import { components } from 'topvisor-openapi/src/ts/Content_2/Types/Subdomain';
16
+ import { components } from 'topvisor-openapi/src/ts/Cron_2/Types/Days';
17
+ import { components } from 'topvisor-openapi/src/ts/Cron_2/Types/Hour';
18
+ import { components } from 'topvisor-openapi/src/ts/Cron_2/Types/Minute';
19
+ import { components } from 'topvisor-openapi/src/ts/Cron_2/Params/CommandTrait';
20
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/IntArray';
21
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/StringArray';
22
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/BoolArray';
23
+ import { components } from 'topvisor-openapi/src/ts/Example_2/Types/EnumNumberArray';
24
+ import { components } from 'topvisor-openapi/src/ts/Example_2/Types/Number';
25
+ import { components } from 'topvisor-openapi/src/ts/Example_2/Types/Letter';
26
+ import { components } from 'topvisor-openapi/src/ts/Example_2/Types/User';
27
+ import { components } from 'topvisor-openapi/src/ts/Informer_2/Types/Config/Name';
8
28
  import { components } from 'topvisor-openapi/src/ts/TV/API/Params/LimitTrait';
9
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/OffsetTrait';
10
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/ProjectIdTrait';
29
+ import { components } from 'topvisor-openapi/src/ts/Bank_2/Types/Subscriptions/Cycle';
30
+ import { components } from 'topvisor-openapi/src/ts/Positions_2/Types/RegionDevice';
31
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/UrlShort';
32
+ import { components } from 'topvisor-openapi/src/ts/Templates_2/Types/TargetType';
33
+ import { components } from 'topvisor-openapi/src/ts/Tpa_2/Types/Provider';
34
+ import { components } from 'topvisor-openapi/src/ts/TV/Libs/Curl/Curl';
35
+ import { components } from 'topvisor-openapi/src/ts/Positions_2/Types/TopSegment';
36
+ import { components } from 'topvisor-openapi/src/ts/Telegram_2/Types/Bot/Name';
37
+ import { components } from 'topvisor-openapi/src/ts/Admin_2/Types/Accounting/Group/FilterType';
38
+ import { components } from 'topvisor-openapi/src/ts/Admin_2/Types/Users/Ranks/Category';
39
+ import { components } from 'topvisor-openapi/src/ts/Positions_2/Types/SearcherKey';
40
+ import { components } from 'topvisor-openapi/src/ts/Content_2/Types/Apometr/Action';
41
+ import { components } from 'topvisor-openapi/src/ts/Informer_2/Types/Push/Token/Type';
42
+ import { components } from 'topvisor-openapi/src/ts/Mentions_2/Types/SearchersKeys';
43
+ import { components } from 'topvisor-openapi/src/ts/Keywords_2/Types/Volumes/Qualifiers';
44
+ import { components } from 'topvisor-openapi/src/ts/Robot_2/Types/Admin/Anonses/Type';
45
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Currency';
46
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Email';
47
+ import { components } from 'topvisor-openapi/src/ts/TV/API/Types/Datetime';
48
+ import { components } from 'topvisor-openapi/src/ts/Keywords_2/Types/Collect/Qualifiers';
49
+ import { components } from 'topvisor-openapi/src/ts/Users_2/Types/ResultsYear/Rank';
50
+ import { components } from 'topvisor-openapi/src/ts/Users_2/Types/Tpa/Action';
11
51
  export declare const folderDefault: Folder;
12
52
  /**
13
53
  * Сгенерировать объект корневой папки для компонента
@@ -26,38 +66,377 @@ export declare const genFlat: (folderById: NonNullable<Props["folders"]>, useSel
26
66
  /**
27
67
  * Создать API запрос на получение групп
28
68
  */
29
- export declare const genApiGetFolders: (client: Api.Client<Api.TV.Paths, true>) => Api.ClientRequest<Api.ClientRequestContext< paths, "/get/keywords_2/folders/", true>, ("name" | "id" | "path" | "parent_id")[], Api.Params<Api.ClientRequestContext< paths, "/get/keywords_2/folders/", true>, undefined, {
30
- "COUNT(*)"?: any;
31
- id?: any;
32
- project_id?: any;
33
- parent_id?: any;
34
- name?: any;
35
- count_folders?: any;
36
- count_groups?: any;
37
- count_groups_active?: any;
38
- ord?: any;
39
- path?: any;
40
- ord_path?: any;
41
- }, {
42
- view?: components["schemas"]["Keywords_2.Types.Folders.View"];
43
- show_trash?: number;
69
+ export declare const genApiGetFolders: (client: Api.Client<Api.TV.Paths, true>, service: NonNullable<Props["service"]>) => Api.ClientRequest<Api.ClientRequestContext< paths, keyof paths, true>, never, Omit<Record<string, never> | {
70
+ ec?: string | null;
71
+ ea?: string | null;
72
+ el?: string | null;
73
+ uid?: number | null;
74
+ hash_id?: number | null;
75
+ hash?: number | null;
76
+ } | {
77
+ subdomain?: components["schemas"]["TV.API.Types.Topvisor.Subdomain"];
78
+ text: string;
79
+ page_url?: string | null;
80
+ reply_id?: number | null;
81
+ } | {
82
+ url: string;
83
+ debug?: number;
84
+ } | {
85
+ text: string;
86
+ tpl_n?: components["schemas"]["Qr_2.Types.TplN"];
87
+ use_brand?: boolean;
88
+ use_logo_colors?: boolean;
89
+ color?: unknown[] | null;
90
+ point_size?: number;
91
+ } | {
92
+ system: components["schemas"]["Recurring_2.Types.System"];
93
+ type: components["schemas"]["Recurring_2.Types.Type"];
94
+ min_sum?: number | null;
95
+ refill_sum?: number | null;
96
+ target?: components["schemas"]["TV.API.Types.Url"] | null;
97
+ cardId?: number | null;
98
+ } | {
99
+ type: string;
100
+ target_id: number;
101
+ target_id_2?: number | null;
102
+ } | {
103
+ type: components["schemas"]["Tags_2.Types.Type"];
104
+ project_id?: number | null;
105
+ } | {
106
+ link: string;
107
+ title?: string | null;
108
+ add_secret?: boolean;
109
+ tags?: components["schemas"]["Tpvsr_2.Types.Tags"] | null;
110
+ fields?: unknown[] | null;
111
+ } | {
112
+ subdomain?: components["schemas"]["TV.API.Types.Topvisor.Subdomain"];
113
+ url: string;
114
+ comment?: string;
115
+ rate: components["schemas"]["Votes_2.Types.Rate"];
116
+ } | {
117
+ url: components["schemas"]["TV.API.Types.Url"];
118
+ w: number;
119
+ h: number;
120
+ timeout_ms?: number;
121
+ full_page?: boolean;
122
+ lang?: string | null;
123
+ clip_w?: number | null;
124
+ clip_h?: number | null;
125
+ clip_x?: number | null;
126
+ clip_y?: number | null;
127
+ } | {
128
+ log_file: string;
129
+ } | {
130
+ state_time_end: components["schemas"]["TV.API.Types.Date"];
131
+ } | {
132
+ tpl: string;
133
+ } | {
134
+ lang?: components["schemas"]["TV.API.Types.Lang"] | null;
135
+ } | {
136
+ bik?: string;
137
+ } | {
44
138
  fields?: components["schemas"]["TV.API.Params.FieldsTrait"]["fields"];
45
- orders?: components["schemas"]["TV.API.Params.OrdersTrait"]["orders"];
46
- filters?: components["schemas"]["TV.API.Params.FiltersTrait"]["filters"];
47
- id?: components["schemas"]["TV.API.Params.FiltersTrait"]["id"];
139
+ } | {
140
+ id: string;
141
+ } | {
142
+ inn: string;
143
+ } | {
144
+ alias?: string | null;
145
+ promo_text?: string | null;
146
+ promo_label?: string | null;
147
+ promo_link?: components["schemas"]["TV.API.Types.Url"] | null;
148
+ show_in_author_list?: boolean | null;
149
+ } | {
150
+ user_id: number;
151
+ bookmark: boolean;
152
+ } | {
153
+ subdomain: string;
154
+ url: string;
155
+ bookmark: boolean;
156
+ } | {
157
+ subdomain: components["schemas"]["Content_2.Types.Subdomain"];
158
+ url: string;
159
+ like: boolean;
160
+ } | {
161
+ subdomain?: components["schemas"]["Content_2.Types.Subdomain"] | null;
162
+ tag?: string;
163
+ url?: string | null;
164
+ } | {
165
+ description: string;
166
+ days: components["schemas"]["Cron_2.Types.Days"];
167
+ hh: components["schemas"]["Cron_2.Types.Hour"];
168
+ i: components["schemas"]["Cron_2.Types.Minute"];
169
+ on?: boolean;
170
+ command: components["schemas"]["Cron_2.Params.CommandTrait"]["command"];
171
+ } | {
172
+ ints: components["schemas"]["TV.API.Types.IntArray"];
173
+ strings: components["schemas"]["TV.API.Types.StringArray"];
174
+ booleans: components["schemas"]["TV.API.Types.BoolArray"];
175
+ enum_numbers: components["schemas"]["Example_2.Types.EnumNumberArray"];
176
+ } | {
177
+ format?: string;
178
+ } | {
179
+ number?: components["schemas"]["Example_2.Types.Number"] | null;
180
+ number2: components["schemas"]["Example_2.Types.Number"];
181
+ letter: components["schemas"]["Example_2.Types.Letter"];
182
+ } | {
183
+ user: components["schemas"]["Example_2.Types.User"];
184
+ } | {
185
+ name: components["schemas"]["Informer_2.Types.Config.Name"];
186
+ value: number;
187
+ } | {
48
188
  limit?: components["schemas"]["TV.API.Params.LimitTrait"]["limit"];
49
- offset?: components["schemas"]["TV.API.Params.OffsetTrait"]["offset"];
50
- project_id: components["schemas"]["TV.API.Params.ProjectIdTrait"]["project_id"];
51
- }>, Api.ModelFields<{
52
- "COUNT(*)"?: any;
53
- id?: any;
54
- project_id?: any;
55
- parent_id?: any;
56
- name?: any;
57
- count_folders?: any;
58
- count_groups?: any;
59
- count_groups_active?: any;
60
- ord?: any;
61
- path?: any;
62
- ord_path?: any;
63
- }> | undefined>;
189
+ } | {
190
+ next_requisites_id: string;
191
+ } | {
192
+ subscription_plan_id: string;
193
+ subscription_cycle: components["schemas"]["Bank_2.Types.Subscriptions.Cycle"];
194
+ } | {
195
+ validation_url: string;
196
+ } | {
197
+ searcher_key: number;
198
+ region_key: number;
199
+ region_lang: string;
200
+ region_device?: components["schemas"]["Positions_2.Types.RegionDevice"];
201
+ } | {
202
+ name: string;
203
+ } | {
204
+ url: components["schemas"]["TV.API.Types.UrlShort"];
205
+ name?: string | null;
206
+ tags?: unknown[] | null;
207
+ folder_id?: number | null;
208
+ on?: number | null;
209
+ is_task?: boolean | null;
210
+ } | {
211
+ question_id: number;
212
+ values: unknown[];
213
+ } | {
214
+ quiz_id: string;
215
+ } | {
216
+ ids: unknown[];
217
+ } | {
218
+ card_id: number;
219
+ } | {
220
+ phones?: (string | unknown[]) | null;
221
+ } | {
222
+ directory: string;
223
+ } | {
224
+ target_type: components["schemas"]["Templates_2.Types.TargetType"];
225
+ } | {
226
+ filename: string;
227
+ } | {
228
+ ticket_id: number;
229
+ text: string;
230
+ is_silent?: boolean;
231
+ } | {
232
+ projects_ids: components["schemas"]["TV.API.Types.IntArray"];
233
+ provider: components["schemas"]["Tpa_2.Types.Provider"];
234
+ } | {
235
+ link: string;
236
+ curl?: components["schemas"]["TV.Libs.Curl.Curl"] | null;
237
+ } | {
238
+ authorisation_login?: string | null;
239
+ authorisation_pass?: string | null;
240
+ } | {
241
+ phone?: string | null;
242
+ name?: string | null;
243
+ dateformat?: string | null;
244
+ positions_reverse_dates?: boolean | null;
245
+ positions_save_regions?: boolean | null;
246
+ positions_top_segments?: components["schemas"]["Positions_2.Types.TopSegment"] | null;
247
+ } | {
248
+ project_id?: number | null;
249
+ bot_name?: components["schemas"]["Telegram_2.Types.Bot.Name"] | null;
250
+ } | {
251
+ group_id?: number | null;
252
+ name?: string | null;
253
+ priority?: string | null;
254
+ counteragent_name?: string | null;
255
+ counteragent_inn?: string | null;
256
+ purpose?: string | null;
257
+ type?: components["schemas"]["Admin_2.Types.Accounting.Group.FilterType"] | null;
258
+ } | {
259
+ post: string;
260
+ } | {
261
+ props: unknown[];
262
+ } | {
263
+ rank_id: number;
264
+ single_code?: string | null;
265
+ codes?: unknown[] | null;
266
+ } | {
267
+ name_id?: string | null;
268
+ category?: components["schemas"]["Admin_2.Types.Users.Ranks.Category"] | null;
269
+ name_ru?: string | null;
270
+ name_en?: string | null;
271
+ descr_ru?: string | null;
272
+ descr_en?: string | null;
273
+ descr_how_to_use_ru?: string | null;
274
+ descr_how_to_use_en?: string | null;
275
+ bonus_RUB?: number | null;
276
+ bonus_USD?: number | null;
277
+ cashback_expenses?: number | null;
278
+ cashback_first_payment?: number | null;
279
+ discount?: number | null;
280
+ referrer_id?: number | null;
281
+ from_date?: string | null;
282
+ to_date?: string | null;
283
+ max_count_usage?: number | null;
284
+ currency?: string | null;
285
+ only_new_users?: boolean | null;
286
+ color?: string | null;
287
+ always_visible?: boolean | null;
288
+ } | {
289
+ requisites_id: string;
290
+ } | {
291
+ sum: string;
292
+ } | {
293
+ contract_type: string;
294
+ } | {
295
+ target_id: string;
296
+ type: string;
297
+ signed?: boolean;
298
+ } | {
299
+ targets_ids?: components["schemas"]["TV.API.Types.IntArray"] | null;
300
+ org_id?: string | null;
301
+ date1?: components["schemas"]["TV.API.Types.Date"] | null;
302
+ date2?: components["schemas"]["TV.API.Types.Date"] | null;
303
+ type: string;
304
+ signed?: boolean;
305
+ } | {
306
+ campaign_tv_id: number;
307
+ } | {
308
+ region_index?: number | null;
309
+ searcher_key?: components["schemas"]["Positions_2.Types.SearcherKey"] | null;
310
+ region_key?: number | null;
311
+ region_lang?: string | null;
312
+ region_device?: components["schemas"]["Positions_2.Types.RegionDevice"] | null;
313
+ action?: components["schemas"]["Content_2.Types.Apometr.Action"];
314
+ date_month?: components["schemas"]["TV.API.Types.Date"] | null;
315
+ } | {
316
+ subscribe: boolean;
317
+ } | {
318
+ subdomain: components["schemas"]["Content_2.Types.Subdomain"];
319
+ parent_url: string;
320
+ urls: unknown[];
321
+ } | {
322
+ type: components["schemas"]["Informer_2.Types.Push.Token.Type"];
323
+ token: string;
324
+ } | {
325
+ searchers_keys?: components["schemas"]["Mentions_2.Types.SearchersKeys"] | null;
326
+ } | {
327
+ payment_id: number;
328
+ suspend: boolean;
329
+ } | {
330
+ next_to_diadoc: boolean;
331
+ } | {
332
+ domain: components["schemas"]["TV.API.Types.UrlShort"];
333
+ } | {
334
+ keywords: unknown[];
335
+ qualifiers: components["schemas"]["Keywords_2.Types.Volumes.Qualifiers"];
336
+ } | {
337
+ questions_responses: unknown[];
338
+ } | {
339
+ type: components["schemas"]["Robot_2.Types.Admin.Anonses.Type"];
340
+ ref_id: string;
341
+ } | {
342
+ site: string;
343
+ } | {
344
+ record: number;
345
+ hash: number;
346
+ } | {
347
+ log: string;
348
+ from: string;
349
+ } | {
350
+ search?: string | null;
351
+ } | {
352
+ currency: components["schemas"]["TV.API.Types.Currency"];
353
+ } | {
354
+ pass: string;
355
+ pass_new: string;
356
+ pass_new_confirm: string;
357
+ } | {
358
+ email: components["schemas"]["TV.API.Types.Email"];
359
+ } | {
360
+ theme: string;
361
+ } | {
362
+ timezone: string;
363
+ } | {
364
+ promocode: string;
365
+ email?: components["schemas"]["TV.API.Types.Email"] | null;
366
+ halloween_rank?: string | null;
367
+ redirect?: string;
368
+ } | {
369
+ date1: components["schemas"]["TV.API.Types.Date"];
370
+ date2: components["schemas"]["TV.API.Types.Date"];
371
+ } | {
372
+ group_id: number;
373
+ type: components["schemas"]["Admin_2.Types.Accounting.Group.FilterType"];
374
+ counteragent_name: string;
375
+ counteragent_inn: string;
376
+ purpose?: string | null;
377
+ } | {
378
+ group_id: number;
379
+ filter_id: number;
380
+ } | {
381
+ filter_id: number;
382
+ type: string;
383
+ counteragent_name: string;
384
+ counteragent_inn: string;
385
+ purpose?: string | null;
386
+ } | {
387
+ id?: number | null;
388
+ } | {
389
+ month: string;
390
+ } | {
391
+ test: boolean;
392
+ } | {
393
+ tariff_id?: number | null;
394
+ } | {
395
+ datetime: components["schemas"]["TV.API.Types.Datetime"];
396
+ region_index: number;
397
+ action: components["schemas"]["Content_2.Types.Apometr.Action"];
398
+ } | {
399
+ date?: components["schemas"]["TV.API.Types.Date"] | null;
400
+ } | {
401
+ course_url: string;
402
+ } | {
403
+ keywords: unknown[];
404
+ qualifiers: components["schemas"]["Keywords_2.Types.Collect.Qualifiers"];
405
+ keywords_minus?: unknown[];
406
+ } | {
407
+ list_ip: string;
408
+ } | {
409
+ server_name: string;
410
+ } | {
411
+ comment: string;
412
+ ticket_id: number;
413
+ } | {
414
+ resource_admin: string;
415
+ ticket_id: number;
416
+ } | {
417
+ hash: string;
418
+ } | {
419
+ file?: string | null;
420
+ } | {
421
+ rank: components["schemas"]["Users_2.Types.ResultsYear.Rank"];
422
+ param?: string;
423
+ } | {
424
+ userId: number;
425
+ } | {
426
+ period?: number;
427
+ } | {
428
+ project_id?: number;
429
+ } | {
430
+ jwt: string;
431
+ action: components["schemas"]["Users_2.Types.Tpa.Action"];
432
+ } | {
433
+ access_token: string;
434
+ action: components["schemas"]["Users_2.Types.Tpa.Action"];
435
+ } | {
436
+ code: string;
437
+ action: components["schemas"]["Users_2.Types.Tpa.Action"];
438
+ redirect: string;
439
+ } | {
440
+ size: number;
441
+ token: string;
442
+ }, "fields" | "filters" | "orders" | "fetch_style">, never>;
@@ -26,6 +26,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
26
26
  on: boolean;
27
27
  addChanger: boolean;
28
28
  autoselect: "placeholder" | "first";
29
+ service: "keywords_2" | "keywordsAi_2";
29
30
  addIcon: boolean;
30
31
  showFolders: boolean;
31
32
  showGroups: boolean;