@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
@@ -1,232 +0,0 @@
1
- import { Item, Props } from '../../formsExt/selector2/types';
2
- import { paths } from 'topvisor-openapi/src/ts/Topvisor';
3
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/FieldsTrait';
4
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/OrdersTrait';
5
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/FiltersTrait';
6
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/LimitTrait';
7
- import { components } from 'topvisor-openapi/src/ts/TV/API/Params/OffsetTrait';
8
- import { components } from 'topvisor-openapi/src/ts/TV/API/Types/UrlShort';
9
- /**
10
- * Сгенерировать ссылку на проект
11
- */
12
- export declare const genProjectLink: (projectId: number) => string;
13
- /**
14
- * Добавить к данным проектов `listItemProps`
15
- *
16
- * @see Item
17
- */
18
- export declare const addListItemProps: (projects?: Item[], addLinksToProjects?: boolean) => Item[] | undefined;
19
- /**
20
- * Сгенерировать ссылку на сайт проекта
21
- */
22
- export declare const genProjectExternalLink: (url: string) => string;
23
- /**
24
- * Добавить фильтр поиска по полям `id`, `name`, `url` в параметры API.
25
- * Поиск выполняется по строке `search` и по строке с инвертированной раскладкой клавиатуры.
26
- *
27
- * @param api - api, которое используется в `TopProjectSelector`
28
- * @param search - введенная строка поиска
29
- */
30
- export declare const apiSetSearchFilter: (api: NonNullable<Props["api"]>, search: string) => void;
31
- /**
32
- * Создать API запрос на получение списка проектов
33
- *
34
- * Данные после загрузки преобразуются с помощью `prepareProjects()`
35
- *
36
- * @see prepareProjects
37
- */
38
- export declare const genApiGetProjects: (client: Api.Client<Api.TV.Paths, true>, userId: number, excludeProjectId?: number, params?: Record<string, number>) => Api.ClientRequest<Api.ClientRequestContext< paths, "/get/projects_2/projects/", true>, ("name" | "id" | "on" | "right" | "url" | "user_id")[], Api.Params<Api.ClientRequestContext< paths, "/get/projects_2/projects/", true>, undefined, {
39
- "COUNT(*)"?: any;
40
- "IS_YOUTUBE()"?: any;
41
- "IS_APP_STORE()"?: any;
42
- "IS_GOOGLE_PLAY()"?: any;
43
- "GEN_SEARCH_STRING()"?: any;
44
- id?: any;
45
- user_id?: any;
46
- name?: string | null;
47
- url?: any;
48
- date?: any;
49
- last_view?: any;
50
- folder_id?: number | null;
51
- folder_name?: any;
52
- task_time_delete?: any;
53
- task_method_name?: any;
54
- task_method_params_json?: any;
55
- task_status?: any;
56
- task_progress?: any;
57
- site?: any;
58
- update?: any;
59
- status_positions?: string | null;
60
- positions_time?: any;
61
- positions_date?: any;
62
- positions_percent?: any;
63
- status_positions_time?: any;
64
- status_positions_date?: any;
65
- status_positions_percent?: any;
66
- status_positions_by_keywords?: any;
67
- status_volumes?: any;
68
- status_claster?: any;
69
- status_audit?: any;
70
- status_audit_time?: any;
71
- status_audit_percent?: any;
72
- status_watcher?: any;
73
- status_watcher_percent?: any;
74
- status_indexing?: any;
75
- status_indexing_percent?: any;
76
- status_sitemap?: any;
77
- status_sitemap_percent?: any;
78
- status_urlsUpdater?: any;
79
- status_ai_tracker?: any;
80
- status_ai_tracker_time?: any;
81
- status_ai_tracker_date?: any;
82
- status_ai_tracker_percent?: any;
83
- on?: any;
84
- subdomains?: any;
85
- filter?: any;
86
- auto_correct?: any;
87
- with_snippets?: any;
88
- do_snapshots?: any;
89
- do_snapshots_with_snippets?: any;
90
- report_last_time?: any;
91
- common_traffic?: any;
92
- guest_link_right?: any;
93
- is_task?: any;
94
- count_keywords?: any;
95
- right?: any;
96
- ord?: any;
97
- favorite?: any;
98
- tags?: any;
99
- user_email?: any;
100
- user_currency?: any;
101
- broker_count_campaigns?: any;
102
- broker_count_banners?: any;
103
- broker_count_banners_off?: any;
104
- domain_expire?: any;
105
- ssl_expire?: any;
106
- competitor?: any;
107
- competitor_ord?: any;
108
- pos_summary_up?: any;
109
- pos_summary_stay?: any;
110
- pos_summary_down?: any;
111
- pos_summary_avg?: any;
112
- pos_summary_visibility?: any;
113
- audit_server_location?: any;
114
- audit_auto_collect_pages?: number | null;
115
- audit_auto_collect_pages_limit?: number | null;
116
- indexing_searchers_keys?: unknown[] | null;
117
- watcher_types?: unknown[] | null;
118
- ai_tracker_brand_name?: any;
119
- ai_tracker_aliases?: unknown[] | null;
120
- ai_tracker_models?: unknown[] | null;
121
- ai_tracker_context_lang?: any;
122
- ai_tracker_context_location?: any;
123
- }, {
124
- show_owner_balance?: boolean | null;
125
- show_site_stat?: boolean | null;
126
- show_searchers_and_regions?: number;
127
- include_positions_summary?: boolean | null;
128
- include_positions_summary_params?: unknown[] | null;
129
- is_task?: boolean | null;
130
- fields?: components["schemas"]["TV.API.Params.FieldsTrait"]["fields"];
131
- orders?: components["schemas"]["TV.API.Params.OrdersTrait"]["orders"];
132
- filters?: components["schemas"]["TV.API.Params.FiltersTrait"]["filters"];
133
- id?: components["schemas"]["TV.API.Params.FiltersTrait"]["id"];
134
- limit?: components["schemas"]["TV.API.Params.LimitTrait"]["limit"];
135
- offset?: components["schemas"]["TV.API.Params.OffsetTrait"]["offset"];
136
- }>, Api.ModelFields<{
137
- "COUNT(*)"?: any;
138
- "IS_YOUTUBE()"?: any;
139
- "IS_APP_STORE()"?: any;
140
- "IS_GOOGLE_PLAY()"?: any;
141
- "GEN_SEARCH_STRING()"?: any;
142
- id?: any;
143
- user_id?: any;
144
- name?: string | null;
145
- url?: any;
146
- date?: any;
147
- last_view?: any;
148
- folder_id?: number | null;
149
- folder_name?: any;
150
- task_time_delete?: any;
151
- task_method_name?: any;
152
- task_method_params_json?: any;
153
- task_status?: any;
154
- task_progress?: any;
155
- site?: any;
156
- update?: any;
157
- status_positions?: string | null;
158
- positions_time?: any;
159
- positions_date?: any;
160
- positions_percent?: any;
161
- status_positions_time?: any;
162
- status_positions_date?: any;
163
- status_positions_percent?: any;
164
- status_positions_by_keywords?: any;
165
- status_volumes?: any;
166
- status_claster?: any;
167
- status_audit?: any;
168
- status_audit_time?: any;
169
- status_audit_percent?: any;
170
- status_watcher?: any;
171
- status_watcher_percent?: any;
172
- status_indexing?: any;
173
- status_indexing_percent?: any;
174
- status_sitemap?: any;
175
- status_sitemap_percent?: any;
176
- status_urlsUpdater?: any;
177
- status_ai_tracker?: any;
178
- status_ai_tracker_time?: any;
179
- status_ai_tracker_date?: any;
180
- status_ai_tracker_percent?: any;
181
- on?: any;
182
- subdomains?: any;
183
- filter?: any;
184
- auto_correct?: any;
185
- with_snippets?: any;
186
- do_snapshots?: any;
187
- do_snapshots_with_snippets?: any;
188
- report_last_time?: any;
189
- common_traffic?: any;
190
- guest_link_right?: any;
191
- is_task?: any;
192
- count_keywords?: any;
193
- right?: any;
194
- ord?: any;
195
- favorite?: any;
196
- tags?: any;
197
- user_email?: any;
198
- user_currency?: any;
199
- broker_count_campaigns?: any;
200
- broker_count_banners?: any;
201
- broker_count_banners_off?: any;
202
- domain_expire?: any;
203
- ssl_expire?: any;
204
- competitor?: any;
205
- competitor_ord?: any;
206
- pos_summary_up?: any;
207
- pos_summary_stay?: any;
208
- pos_summary_down?: any;
209
- pos_summary_avg?: any;
210
- pos_summary_visibility?: any;
211
- audit_server_location?: any;
212
- audit_auto_collect_pages?: number | null;
213
- audit_auto_collect_pages_limit?: number | null;
214
- indexing_searchers_keys?: unknown[] | null;
215
- watcher_types?: unknown[] | null;
216
- ai_tracker_brand_name?: any;
217
- ai_tracker_aliases?: unknown[] | null;
218
- ai_tracker_models?: unknown[] | null;
219
- ai_tracker_context_lang?: any;
220
- ai_tracker_context_location?: any;
221
- }> | undefined>;
222
- /**
223
- * Создать API запрос для добавления проекта
224
- */
225
- export declare const genApiAddProject: (client: Api.Client<Api.TV.Paths, true>) => Api.ClientRequest<Api.ClientRequestContext< paths, "/add/projects_2/projects/", true>, never, Omit<{
226
- url: components["schemas"]["TV.API.Types.UrlShort"];
227
- name?: string | null;
228
- tags?: unknown[] | null;
229
- folder_id?: number | null;
230
- on?: number | null;
231
- is_task?: boolean | null;
232
- }, "fields" | "filters" | "orders" | "fetch_style">, never>;