@retailcrm/datalens-ui 0.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.
Files changed (3270) hide show
  1. package/AccessErrorPage.js +18 -0
  2. package/AdvancedChartWidget.js +253 -0
  3. package/AppearanceSettings.js +45 -0
  4. package/Body.js +2328 -0
  5. package/CreateProfilePage.js +142 -0
  6. package/HighchartsMapWidget.js +602 -0
  7. package/LICENSE +203 -0
  8. package/MainPage.js +121 -0
  9. package/MarkupWidget.js +33 -0
  10. package/MetricWidget.js +579 -0
  11. package/StyledSplitPane.js +41 -0
  12. package/UserProfilePage.js +44 -0
  13. package/UsersList.js +306 -0
  14. package/YandexMapWidget.js +2698 -0
  15. package/assets/images/dark/403.js +4 -0
  16. package/assets/images/dark/404.js +4 -0
  17. package/assets/images/dark/500.js +4 -0
  18. package/assets/images/dark/bad_request.js +4 -0
  19. package/assets/images/dark/empty_directory.js +4 -0
  20. package/assets/images/dark/empty_state.js +4 -0
  21. package/assets/images/dark/no_accounts.js +4 -0
  22. package/assets/images/dark/no_permission.js +4 -0
  23. package/assets/images/dark/project.js +4 -0
  24. package/assets/images/dark/success_operation.js +4 -0
  25. package/assets/images/light/403.js +4 -0
  26. package/assets/images/light/404.js +4 -0
  27. package/assets/images/light/500.js +4 -0
  28. package/assets/images/light/bad_request.js +4 -0
  29. package/assets/images/light/empty_directory.js +4 -0
  30. package/assets/images/light/empty_state.js +4 -0
  31. package/assets/images/light/no_accounts.js +4 -0
  32. package/assets/images/light/no_permission.js +4 -0
  33. package/assets/images/light/project.js +4 -0
  34. package/assets/images/light/success_operation.js +4 -0
  35. package/components/AccessRights.js +5908 -0
  36. package/components/ActionPanel.js +3507 -0
  37. package/components/AdaptiveDialog.js +45 -0
  38. package/components/AnimateBlock.js +38 -0
  39. package/components/AsideHeaderAdapter.js +632 -0
  40. package/components/AsyncImage.js +77 -0
  41. package/components/AutogeneratedPaletteIcon.js +53 -0
  42. package/components/BetaMark.js +9 -0
  43. package/components/Breadcrumbs.js +70 -0
  44. package/components/BreadcrumbsItemLink.js +16 -0
  45. package/components/ButtonAttach.js +32 -0
  46. package/components/Collapse.js +159 -0
  47. package/components/CollectionFilters.js +340 -0
  48. package/components/CollectionIcon.js +14 -0
  49. package/components/CollectionsStructure.js +3262 -0
  50. package/components/ColorPaletteEditorContainer.js +1091 -0
  51. package/components/ColorPaletteSelect.js +120 -0
  52. package/components/ColorPickerInput.js +199 -0
  53. package/components/ConnectorIcon.js +65 -0
  54. package/components/ControlComponents.js +24341 -0
  55. package/components/CopyEntriesToWorkbookDialog.js +414 -0
  56. package/components/DashKit.js +4026 -0
  57. package/components/DataTypeIcon.js +68 -0
  58. package/components/DatasetFieldList.js +51 -0
  59. package/components/DebouncedInput.js +47 -0
  60. package/components/DialogAddSharedEntryFromLink.js +146 -0
  61. package/components/DialogChartWidget.js +1265 -0
  62. package/components/DialogCommon.js +91 -0
  63. package/components/DialogConfirm.js +69 -0
  64. package/components/DialogDefault.js +78 -0
  65. package/components/DialogEditItem.js +183 -0
  66. package/components/DialogEntryDescription.js +175 -0
  67. package/components/DialogErrorWithTabs.js +373 -0
  68. package/components/DialogExternalControl.js +108 -0
  69. package/components/DialogFieldEditor.js +45 -0
  70. package/components/DialogFilter.js +3735 -0
  71. package/components/DialogGroupControl.js +926 -0
  72. package/components/DialogImageWidget.js +203 -0
  73. package/components/DialogManager.js +42 -0
  74. package/components/DialogNoRights.js +19 -0
  75. package/components/DialogParameter.js +560 -0
  76. package/components/DialogQLParameter.js +71 -0
  77. package/components/DialogRelatedEntities.js +230 -0
  78. package/components/DialogRelations.js +3389 -0
  79. package/components/DialogSelectSharedEntry.js +129 -0
  80. package/components/DialogSharedEntryBindings.js +496 -0
  81. package/components/DialogSharedEntryPermissions.js +147 -0
  82. package/components/DialogSharedEntryUnbind.js +124 -0
  83. package/components/DialogSharedRelatedEntities.js +196 -0
  84. package/components/DialogSuccessWithAction.js +23 -0
  85. package/components/DialogTextWidget.js +211 -0
  86. package/components/DialogTitleWidget.js +580 -0
  87. package/components/DialogWarning.js +51 -0
  88. package/components/DropdownAction.js +13 -0
  89. package/components/DropdownNavigation.js +173 -0
  90. package/components/EditableText.js +56 -0
  91. package/components/EntitiesList.js +54 -0
  92. package/components/EntityIcon.js +47 -0
  93. package/components/EntityLink.js +14 -0
  94. package/components/EntityRow.js +99 -0
  95. package/components/EntriesList.js +55 -0
  96. package/components/EntryBreadcrumbs.js +111 -0
  97. package/components/EntryContextMenu.js +792 -0
  98. package/components/EntryDialogues.js +2515 -0
  99. package/components/EntryIcon.js +102 -0
  100. package/components/EntryRow.js +99 -0
  101. package/components/EntryTitle.js +57 -0
  102. package/components/ErrorBoundary.js +24 -0
  103. package/components/ErrorContent.js +249 -0
  104. package/components/ErrorPage.js +30 -0
  105. package/components/ExpandablePanel.js +67 -0
  106. package/components/FieldEditor.js +2240 -0
  107. package/components/FieldWrapper.js +15 -0
  108. package/components/FloatMenu.js +41 -0
  109. package/components/FormSection.js +16 -0
  110. package/components/FormattedValue.js +1 -0
  111. package/components/IamAccessDialog.js +15 -0
  112. package/components/IconById.js +14 -0
  113. package/components/Illustration.js +94 -0
  114. package/components/InaccessibleOnMobileInset.js +39 -0
  115. package/components/Interpolate.js +32 -0
  116. package/components/InterpolatedText.js +47 -0
  117. package/components/LandingPage.js +50 -0
  118. package/components/ListWithMenu.js +191 -0
  119. package/components/ListWithRemove.js +42 -0
  120. package/components/LocationChange.js +23 -0
  121. package/components/MarkdownControl.js +21 -0
  122. package/components/MarkdownHelpPopover.js +77 -0
  123. package/components/Markup.js +200 -0
  124. package/components/MigrateToWorkbookDialog.js +498 -0
  125. package/components/MobileHeader.js +142 -0
  126. package/components/MobileTocToggle.js +16 -0
  127. package/components/Monaco.js +112 -0
  128. package/components/Navigation.js +2675 -0
  129. package/components/NavigationPrompt.js +18 -0
  130. package/components/NavigationTabs.js +84 -0
  131. package/components/NumberFormatSettings.js +193 -0
  132. package/components/OpenDialogNeedReset.js +49 -0
  133. package/components/OrderBySelect.js +51 -0
  134. package/components/PageTitle.js +53 -0
  135. package/components/PaletteIcon.js +25 -0
  136. package/components/PaletteItem.js +44 -0
  137. package/components/PathSelect.js +113 -0
  138. package/components/PlaceholderIllustration.js +37 -0
  139. package/components/Progress.js +47 -0
  140. package/components/ProgressBar.js +19 -0
  141. package/components/RelativeDatesPicker.js +675 -0
  142. package/components/RevisionStatusPoint.js +25 -0
  143. package/components/Revisions.js +314 -0
  144. package/components/RevisionsPanel.js +278 -0
  145. package/components/SectionWrapper.js +52 -0
  146. package/components/Select.js +404 -0
  147. package/components/SelectComponents.js +12 -0
  148. package/components/SelectMigrationToWorkbookDialog.js +162 -0
  149. package/components/SharedBindingsList.js +93 -0
  150. package/components/SharedEntryIcon.js +22 -0
  151. package/components/SlugifyUrl.js +22 -0
  152. package/components/SmartLoader.js +28 -0
  153. package/components/TabMenu.js +356 -0
  154. package/components/Tabs.js +66 -0
  155. package/components/TagInput.js +142 -0
  156. package/components/TemplateTextPaper.js +32 -0
  157. package/components/TextEditor.js +41 -0
  158. package/components/UserAvatar.js +233 -0
  159. package/components/UserMenu.js +54 -0
  160. package/components/ValuesList.js +55 -0
  161. package/components/Veil.js +19 -0
  162. package/components/ViewAsync.js +45 -0
  163. package/components/ViewError.js +115 -0
  164. package/components/ViewLoader.js +17 -0
  165. package/components/WidgetRoundingsInput.js +47 -0
  166. package/components/Widgets.js +3964 -0
  167. package/components/WorkbookIcon.js +63 -0
  168. package/components/WorkbookNavigationMinimal.js +345 -0
  169. package/components/YfmWrapper.js +144 -0
  170. package/components/common.js +4451 -0
  171. package/highcharts.js +380 -0
  172. package/index.css +24402 -0
  173. package/index.js +24 -0
  174. package/main.js +5018 -0
  175. package/markdown.js +362 -0
  176. package/package.json +107 -0
  177. package/pages/AuthPage.js +604 -0
  178. package/pages/CollectionsNavigationPage.js +2579 -0
  179. package/pages/ConnectionsPage.js +11918 -0
  180. package/pages/DashAndWizardQLPages.js +67 -0
  181. package/pages/DashPage.js +16470 -0
  182. package/pages/DatasetPage.js +9986 -0
  183. package/pages/FallbackPage.js +8 -0
  184. package/pages/LandingPage.js +8 -0
  185. package/pages/OwnUserProfilePage.js +878 -0
  186. package/pages/PreviewPage.js +284 -0
  187. package/pages/QLPage.js +9628 -0
  188. package/pages/ServiceSettingsPage.js +180 -0
  189. package/pages/WizardPage.js +2774 -0
  190. package/perfomance.js +23 -0
  191. package/serviceSettings.js +117 -0
  192. package/types/i18n/constants.d.ts +4 -0
  193. package/types/i18n/index.d.ts +6 -0
  194. package/types/i18n/prepare-keysets/constants.d.ts +2 -0
  195. package/types/i18n/prepare-keysets/index.d.ts +1 -0
  196. package/types/i18n/prepare-keysets/prepare-keysets.d.ts +1 -0
  197. package/types/i18n/prepare-keysets/utils.d.ts +22 -0
  198. package/types/i18n/read-keysets.d.ts +5 -0
  199. package/types/i18n/types.d.ts +11 -0
  200. package/types/i18n/utils.d.ts +12 -0
  201. package/types/index.d.ts +2 -0
  202. package/types/server/app-env.d.ts +10 -0
  203. package/types/server/callbacks/index.d.ts +4 -0
  204. package/types/server/callbacks/page-error.d.ts +3 -0
  205. package/types/server/components/api-docs/constants.d.ts +1 -0
  206. package/types/server/components/api-docs/index.d.ts +1 -0
  207. package/types/server/components/api-docs/types.d.ts +11 -0
  208. package/types/server/components/app-layout/app-layout-settings.d.ts +3 -0
  209. package/types/server/components/app-layout/plugins/layout/index.d.ts +2 -0
  210. package/types/server/components/auth/callbacks/auth-layout.d.ts +3 -0
  211. package/types/server/components/auth/callbacks/index.d.ts +4 -0
  212. package/types/server/components/auth/middlewares/auth/api-auth.d.ts +2 -0
  213. package/types/server/components/auth/middlewares/auth/constants.d.ts +2 -0
  214. package/types/server/components/auth/middlewares/auth/index.d.ts +2 -0
  215. package/types/server/components/auth/middlewares/auth/ui-auth.d.ts +2 -0
  216. package/types/server/components/auth/routes.d.ts +4 -0
  217. package/types/server/components/auth/types/token.d.ts +10 -0
  218. package/types/server/components/auth/types/user.d.ts +14 -0
  219. package/types/server/components/axios.d.ts +3 -0
  220. package/types/server/components/cache-client.d.ts +30 -0
  221. package/types/server/components/chart-editor-developer-mode-access-check.d.ts +2 -0
  222. package/types/server/components/charts-engine/components/chart-generator.d.ts +70 -0
  223. package/types/server/components/charts-engine/components/chart-validator.d.ts +6 -0
  224. package/types/server/components/charts-engine/components/error-handler.d.ts +15 -0
  225. package/types/server/components/charts-engine/components/markdown.d.ts +6 -0
  226. package/types/server/components/charts-engine/components/processor/chart-api-context.d.ts +14 -0
  227. package/types/server/components/charts-engine/components/processor/comments-fetcher.d.ts +72 -0
  228. package/types/server/components/charts-engine/components/processor/console.d.ts +13 -0
  229. package/types/server/components/charts-engine/components/processor/control-builder.d.ts +10 -0
  230. package/types/server/components/charts-engine/components/processor/data-fetcher.d.ts +110 -0
  231. package/types/server/components/charts-engine/components/processor/hooks.d.ts +48 -0
  232. package/types/server/components/charts-engine/components/processor/index.d.ts +84 -0
  233. package/types/server/components/charts-engine/components/processor/paramsUtils.d.ts +17 -0
  234. package/types/server/components/charts-engine/components/processor/sources.d.ts +10 -0
  235. package/types/server/components/charts-engine/components/processor/stack-trace-prepaper.d.ts +3 -0
  236. package/types/server/components/charts-engine/components/processor/types.d.ts +169 -0
  237. package/types/server/components/charts-engine/components/processor/utils.d.ts +12 -0
  238. package/types/server/components/charts-engine/components/processor/worker-chart-builder.d.ts +26 -0
  239. package/types/server/components/charts-engine/components/request/axios.d.ts +54 -0
  240. package/types/server/components/charts-engine/components/request/index.d.ts +36 -0
  241. package/types/server/components/charts-engine/components/storage/base.d.ts +76 -0
  242. package/types/server/components/charts-engine/components/storage/index.d.ts +7 -0
  243. package/types/server/components/charts-engine/components/storage/types.d.ts +94 -0
  244. package/types/server/components/charts-engine/components/storage/united-storage/index.d.ts +3 -0
  245. package/types/server/components/charts-engine/components/storage/united-storage/provider.d.ts +115 -0
  246. package/types/server/components/charts-engine/components/utils.d.ts +26 -0
  247. package/types/server/components/charts-engine/components/wizard-worker/index.d.ts +1 -0
  248. package/types/server/components/charts-engine/components/wizard-worker/types.d.ts +72 -0
  249. package/types/server/components/charts-engine/components/wizard-worker/utils.d.ts +3 -0
  250. package/types/server/components/charts-engine/constants/index.d.ts +53 -0
  251. package/types/server/components/charts-engine/controllers/charts.d.ts +49 -0
  252. package/types/server/components/charts-engine/controllers/config.d.ts +3 -0
  253. package/types/server/components/charts-engine/controllers/csvConverter.d.ts +13 -0
  254. package/types/server/components/charts-engine/controllers/embedded-entry.d.ts +2 -0
  255. package/types/server/components/charts-engine/controllers/embeds.d.ts +3 -0
  256. package/types/server/components/charts-engine/controllers/export.d.ts +2 -0
  257. package/types/server/components/charts-engine/controllers/markdown.d.ts +5 -0
  258. package/types/server/components/charts-engine/controllers/run.d.ts +10 -0
  259. package/types/server/components/charts-engine/controllers/utils.d.ts +29 -0
  260. package/types/server/components/charts-engine/index.d.ts +49 -0
  261. package/types/server/components/charts-engine/runners/common.d.ts +59 -0
  262. package/types/server/components/charts-engine/runners/control.d.ts +2 -0
  263. package/types/server/components/charts-engine/runners/index.d.ts +25 -0
  264. package/types/server/components/charts-engine/runners/utils.d.ts +1 -0
  265. package/types/server/components/charts-engine/runners/wizard.d.ts +2 -0
  266. package/types/server/components/charts-engine/runners/worker.d.ts +8 -0
  267. package/types/server/components/charts-engine/types.d.ts +169 -0
  268. package/types/server/components/features/features-list/AsideHeaderEnabled.d.ts +3 -0
  269. package/types/server/components/features/features-list/AuthUpdateWithTimeout.d.ts +3 -0
  270. package/types/server/components/features/features-list/ChartEditorDeveloperModeCheck.d.ts +3 -0
  271. package/types/server/components/features/features-list/ChartkitAlerts.d.ts +3 -0
  272. package/types/server/components/features/features-list/CollectionsAccessEnabled.d.ts +3 -0
  273. package/types/server/components/features/features-list/CollectionsEnabled.d.ts +3 -0
  274. package/types/server/components/features/features-list/Comments.d.ts +3 -0
  275. package/types/server/components/features/features-list/ConnectionBasedControl.d.ts +3 -0
  276. package/types/server/components/features/features-list/CopyEntriesToWorkbook.d.ts +3 -0
  277. package/types/server/components/features/features-list/DashBoardSupportDescription.d.ts +3 -0
  278. package/types/server/components/features/features-list/DashBoardWidgetParamsStrictValidation.d.ts +3 -0
  279. package/types/server/components/features/features-list/DashServerMigrationEnable.d.ts +3 -0
  280. package/types/server/components/features/features-list/DashServerValidationEnabled.d.ts +3 -0
  281. package/types/server/components/features/features-list/DatasetsRLS.d.ts +3 -0
  282. package/types/server/components/features/features-list/DisableFnAndHtml.d.ts +3 -0
  283. package/types/server/components/features/features-list/EnableAutocreateDataset.d.ts +3 -0
  284. package/types/server/components/features/features-list/EnableChartEditorDocs.d.ts +3 -0
  285. package/types/server/components/features/features-list/EnableCommonChartDashSettings.d.ts +3 -0
  286. package/types/server/components/features/features-list/EnableCustomDashMargins.d.ts +3 -0
  287. package/types/server/components/features/features-list/EnableCustomMonitoring.d.ts +3 -0
  288. package/types/server/components/features/features-list/EnableDLRebranding.d.ts +3 -0
  289. package/types/server/components/features/features-list/EnableDashAutoFocus.d.ts +3 -0
  290. package/types/server/components/features/features-list/EnableDashChartStat.d.ts +3 -0
  291. package/types/server/components/features/features-list/EnableDashColorPickersByTheme.d.ts +3 -0
  292. package/types/server/components/features/features-list/EnableDatasetSourcesPagination.d.ts +3 -0
  293. package/types/server/components/features/features-list/EnableEmbedsInDialogShare.d.ts +3 -0
  294. package/types/server/components/features/features-list/EnableEntryMenuItemShare.d.ts +3 -0
  295. package/types/server/components/features/features-list/EnableExportSettings.d.ts +3 -0
  296. package/types/server/components/features/features-list/EnableExportWorkbookFile.d.ts +3 -0
  297. package/types/server/components/features/features-list/EnableFileUploadingByPresignedUrl.d.ts +3 -0
  298. package/types/server/components/features/features-list/EnableFooter.d.ts +3 -0
  299. package/types/server/components/features/features-list/EnableGlobalSelectors.d.ts +3 -0
  300. package/types/server/components/features/features-list/EnableMobileFixedHeader.d.ts +3 -0
  301. package/types/server/components/features/features-list/EnableMobileHeader.d.ts +3 -0
  302. package/types/server/components/features/features-list/EnableNewDashSettings.d.ts +3 -0
  303. package/types/server/components/features/features-list/EnableNewServiceSettings.d.ts +3 -0
  304. package/types/server/components/features/features-list/EnablePublishEntry.d.ts +3 -0
  305. package/types/server/components/features/features-list/EnableRLSV2.d.ts +3 -0
  306. package/types/server/components/features/features-list/EnableSaveAsEditorScript.d.ts +3 -0
  307. package/types/server/components/features/features-list/EnableSecureParamsV2.d.ts +3 -0
  308. package/types/server/components/features/features-list/EnableServerlessEditor.d.ts +3 -0
  309. package/types/server/components/features/features-list/EnableSharedEntries.d.ts +3 -0
  310. package/types/server/components/features/features-list/EnableUpdatingDsSettingsByAction.d.ts +3 -0
  311. package/types/server/components/features/features-list/EntryMenuItemCopy.d.ts +3 -0
  312. package/types/server/components/features/features-list/EntryMenuItemMove.d.ts +3 -0
  313. package/types/server/components/features/features-list/ExternalSelectors.d.ts +3 -0
  314. package/types/server/components/features/features-list/FetchDocumentation.d.ts +3 -0
  315. package/types/server/components/features/features-list/FieldEditorDocSection.d.ts +3 -0
  316. package/types/server/components/features/features-list/GravityChartsForBarYAndScatter.d.ts +3 -0
  317. package/types/server/components/features/features-list/GravityChartsForLineAreaAndBarX.d.ts +3 -0
  318. package/types/server/components/features/features-list/GravityChartsForPieAndTreemap.d.ts +3 -0
  319. package/types/server/components/features/features-list/HideMultitenant.d.ts +3 -0
  320. package/types/server/components/features/features-list/HolidaysOnChart.d.ts +3 -0
  321. package/types/server/components/features/features-list/MassRemoveCollectionsWorkbooks.d.ts +3 -0
  322. package/types/server/components/features/features-list/MenuItemsFlatView.d.ts +3 -0
  323. package/types/server/components/features/features-list/MultiDatasets.d.ts +3 -0
  324. package/types/server/components/features/features-list/MultipleColorsInVisualization.d.ts +3 -0
  325. package/types/server/components/features/features-list/NewTableWidgetForCE.d.ts +3 -0
  326. package/types/server/components/features/features-list/NoJsonFn.d.ts +3 -0
  327. package/types/server/components/features/features-list/QLMonitoring.d.ts +3 -0
  328. package/types/server/components/features/features-list/QLPrometheus.d.ts +3 -0
  329. package/types/server/components/features/features-list/QlAutoExecuteMonitoringChart.d.ts +3 -0
  330. package/types/server/components/features/features-list/ReadOnlyMode.d.ts +3 -0
  331. package/types/server/components/features/features-list/RevisionsListNoLimit.d.ts +3 -0
  332. package/types/server/components/features/features-list/ShouldCheckEditorAccess.d.ts +3 -0
  333. package/types/server/components/features/features-list/ShowChartsEngineDebugInfo.d.ts +3 -0
  334. package/types/server/components/features/features-list/ShowCreateEntryWithMenu.d.ts +3 -0
  335. package/types/server/components/features/features-list/ShowInspectorDetails.d.ts +3 -0
  336. package/types/server/components/features/features-list/UseAxiosRequest.d.ts +3 -0
  337. package/types/server/components/features/features-list/UseChartsEngineLogin.d.ts +3 -0
  338. package/types/server/components/features/features-list/UseChartsEngineResponseConfig.d.ts +3 -0
  339. package/types/server/components/features/features-list/UseComponentHeader.d.ts +3 -0
  340. package/types/server/components/features/features-list/UseConfigurableChartkit.d.ts +3 -0
  341. package/types/server/components/features/features-list/UsePublicDistincts.d.ts +3 -0
  342. package/types/server/components/features/features-list/UseYqlFolderKey.d.ts +3 -0
  343. package/types/server/components/features/features-list/XlsxChartExportEnabled.d.ts +3 -0
  344. package/types/server/components/features/features-list/XlsxFilesEnabled.d.ts +3 -0
  345. package/types/server/components/features/features-list/index.d.ts +3 -0
  346. package/types/server/components/features/index.d.ts +2 -0
  347. package/types/server/components/features/utils.d.ts +15 -0
  348. package/types/server/components/gateway-auth-helpers/bi-auth-helpers.d.ts +9 -0
  349. package/types/server/components/gateway-auth-helpers/index.d.ts +2 -0
  350. package/types/server/components/gateway-auth-helpers/us-auth-helpers.d.ts +9 -0
  351. package/types/server/components/index.d.ts +4 -0
  352. package/types/server/components/layout/index.d.ts +2 -0
  353. package/types/server/components/layout/landing-layout.d.ts +3 -0
  354. package/types/server/components/layout/opensource-layout-config.d.ts +2 -0
  355. package/types/server/components/layout/utils.d.ts +9 -0
  356. package/types/server/components/metrika-data-formatter.d.ts +2 -0
  357. package/types/server/components/public-api/config/index.d.ts +1 -0
  358. package/types/server/components/public-api/config/v1.d.ts +330 -0
  359. package/types/server/components/public-api/constants/common.d.ts +21 -0
  360. package/types/server/components/public-api/constants/index.d.ts +1 -0
  361. package/types/server/components/public-api/index.d.ts +2 -0
  362. package/types/server/components/public-api/types.d.ts +39 -0
  363. package/types/server/components/public-api/utils/index.d.ts +3 -0
  364. package/types/server/components/public-api/utils/init-public-api-swagger.d.ts +2 -0
  365. package/types/server/components/public-api/utils/prepare-public-api-base-config.d.ts +4 -0
  366. package/types/server/components/public-api/utils/register-action-to-open-api.d.ts +9 -0
  367. package/types/server/components/resolve-entry-by-link.d.ts +9 -0
  368. package/types/server/components/sdk/dash.d.ts +32 -0
  369. package/types/server/components/sdk/index.d.ts +2 -0
  370. package/types/server/components/sdk/us.d.ts +22 -0
  371. package/types/server/components/workbook-transfer/charts.d.ts +56 -0
  372. package/types/server/components/workbook-transfer/create-transfer-notifications.d.ts +21 -0
  373. package/types/server/components/workbook-transfer/dash.d.ts +35 -0
  374. package/types/server/components/zitadel/init-zitadel.d.ts +6 -0
  375. package/types/server/components/zitadel/routes.d.ts +8 -0
  376. package/types/server/components/zitadel/utils.d.ts +23 -0
  377. package/types/server/configs/common.d.ts +24 -0
  378. package/types/server/configs/opensource/common.d.ts +115 -0
  379. package/types/server/configs/opensource/development.d.ts +4 -0
  380. package/types/server/configs/secrets.d.ts +3 -0
  381. package/types/server/configs/shared/control-dash-chart-template.d.ts +8 -0
  382. package/types/server/configs/shared/datalens-chart-template.d.ts +9 -0
  383. package/types/server/configs/shared/ql-chart-template.d.ts +11 -0
  384. package/types/server/constants/axios.d.ts +6 -0
  385. package/types/server/constants/index.d.ts +23 -0
  386. package/types/server/constants/public-api.d.ts +1 -0
  387. package/types/server/controllers/api.d.ts +4 -0
  388. package/types/server/controllers/dl-main.d.ts +2 -0
  389. package/types/server/controllers/index.d.ts +6 -0
  390. package/types/server/controllers/navigate.d.ts +2 -0
  391. package/types/server/controllers/navigation.d.ts +2 -0
  392. package/types/server/controllers/ping.d.ts +2 -0
  393. package/types/server/controllers/public-api/constants.d.ts +10 -0
  394. package/types/server/controllers/public-api/index.d.ts +3 -0
  395. package/types/server/controllers/public-api/utils.d.ts +14 -0
  396. package/types/server/controllers/stats.d.ts +2 -0
  397. package/types/server/controllers/utils/handle-entry-redirect.d.ts +3 -0
  398. package/types/server/controllers/workbook-transfer.d.ts +34 -0
  399. package/types/server/controllers/xlsx-converter.d.ts +9 -0
  400. package/types/server/controllers/zitadel.d.ts +2 -0
  401. package/types/server/expresskit.d.ts +7 -0
  402. package/types/server/index.d.ts +0 -0
  403. package/types/server/lib/validation/index.d.ts +3 -0
  404. package/types/server/lib/validation/types.d.ts +12 -0
  405. package/types/server/local-dev.d.ts +1 -0
  406. package/types/server/middlewares/app-layout.d.ts +9 -0
  407. package/types/server/middlewares/auth-zitadel.d.ts +2 -0
  408. package/types/server/middlewares/before-auth-defaults.d.ts +2 -0
  409. package/types/server/middlewares/connector-icons.d.ts +10 -0
  410. package/types/server/middlewares/ctx.d.ts +2 -0
  411. package/types/server/middlewares/index.d.ts +9 -0
  412. package/types/server/middlewares/patch-logger.d.ts +2 -0
  413. package/types/server/middlewares/scr-requests.d.ts +2 -0
  414. package/types/server/middlewares/server-feature-with-bounded-context.d.ts +2 -0
  415. package/types/server/middlewares/tenant-settings.d.ts +2 -0
  416. package/types/server/middlewares/x-dl-context.d.ts +6 -0
  417. package/types/server/modes/charts/init-charts-engine.d.ts +18 -0
  418. package/types/server/modes/charts/plugins/constants/middleware-urls.d.ts +3 -0
  419. package/types/server/modes/charts/plugins/constants/misc.d.ts +10 -0
  420. package/types/server/modes/charts/plugins/control/constants/misc.d.ts +1 -0
  421. package/types/server/modes/charts/plugins/control/controls/index.d.ts +4 -0
  422. package/types/server/modes/charts/plugins/control/helpers/misc.d.ts +13 -0
  423. package/types/server/modes/charts/plugins/control/index.d.ts +19 -0
  424. package/types/server/modes/charts/plugins/control/js/helpers/dataset/process-dataset-content.d.ts +8 -0
  425. package/types/server/modes/charts/plugins/control/js/helpers/dataset/process-fields.d.ts +3 -0
  426. package/types/server/modes/charts/plugins/control/js/helpers/process-content.d.ts +11 -0
  427. package/types/server/modes/charts/plugins/control/js/helpers/typed-query/process-typed-query-content.d.ts +3 -0
  428. package/types/server/modes/charts/plugins/control/js/helpers/typed-query/process-typed-query-parameters.d.ts +6 -0
  429. package/types/server/modes/charts/plugins/control/js/index.d.ts +9 -0
  430. package/types/server/modes/charts/plugins/control/js/types.d.ts +10 -0
  431. package/types/server/modes/charts/plugins/control/types.d.ts +50 -0
  432. package/types/server/modes/charts/plugins/control/url/constants.d.ts +9 -0
  433. package/types/server/modes/charts/plugins/control/url/distincts/build-distincts-body.d.ts +10 -0
  434. package/types/server/modes/charts/plugins/control/url/distincts/index.d.ts +2 -0
  435. package/types/server/modes/charts/plugins/control/url/fields/index.d.ts +4 -0
  436. package/types/server/modes/charts/plugins/control/url/index.d.ts +2 -0
  437. package/types/server/modes/charts/plugins/control/url/typed-query/index.d.ts +2 -0
  438. package/types/server/modes/charts/plugins/control/url/types.d.ts +27 -0
  439. package/types/server/modes/charts/plugins/dash-api.d.ts +14 -0
  440. package/types/server/modes/charts/plugins/data-api-json-schema.d.ts +2 -0
  441. package/types/server/modes/charts/plugins/datalens/chart-editor-module.d.ts +136 -0
  442. package/types/server/modes/charts/plugins/datalens/config/constants.d.ts +5 -0
  443. package/types/server/modes/charts/plugins/datalens/config/index.d.ts +58 -0
  444. package/types/server/modes/charts/plugins/datalens/config/types.d.ts +57 -0
  445. package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/dataLabels.d.ts +2 -0
  446. package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/format.d.ts +5 -0
  447. package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/index.d.ts +14 -0
  448. package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/range-slider.d.ts +13 -0
  449. package/types/server/modes/charts/plugins/datalens/highcharts.d.ts +12 -0
  450. package/types/server/modes/charts/plugins/datalens/js/constants/errors.d.ts +6 -0
  451. package/types/server/modes/charts/plugins/datalens/js/helpers/colors/index.d.ts +10 -0
  452. package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/index.d.ts +5 -0
  453. package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/types.d.ts +14 -0
  454. package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/utils.d.ts +8 -0
  455. package/types/server/modes/charts/plugins/datalens/js/helpers/layer-chart/index.d.ts +19 -0
  456. package/types/server/modes/charts/plugins/datalens/js/helpers/layer-chart/types.d.ts +7 -0
  457. package/types/server/modes/charts/plugins/datalens/js/helpers/misc/prepare-single-result.d.ts +20 -0
  458. package/types/server/modes/charts/plugins/datalens/js/helpers/notifications/index.d.ts +2 -0
  459. package/types/server/modes/charts/plugins/datalens/js/helpers/totals/index.d.ts +2 -0
  460. package/types/server/modes/charts/plugins/datalens/js/helpers/totals/types.d.ts +13 -0
  461. package/types/server/modes/charts/plugins/datalens/js/js-v1.5-private.d.ts +12 -0
  462. package/types/server/modes/charts/plugins/datalens/js/js.d.ts +11 -0
  463. package/types/server/modes/charts/plugins/datalens/preparers/area/index.d.ts +3 -0
  464. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/constants/misc.d.ts +1 -0
  465. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/backgroundColor.d.ts +41 -0
  466. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/color.d.ts +24 -0
  467. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/misc.d.ts +29 -0
  468. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/sort.d.ts +10 -0
  469. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/totals.d.ts +10 -0
  470. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/types.d.ts +6 -0
  471. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/index.d.ts +9 -0
  472. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/table-head-generator.d.ts +53 -0
  473. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/table-rows-generator.d.ts +19 -0
  474. package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/types.d.ts +125 -0
  475. package/types/server/modes/charts/plugins/datalens/preparers/bar-x/gravity-charts.d.ts +3 -0
  476. package/types/server/modes/charts/plugins/datalens/preparers/bar-x/highcharts.d.ts +19 -0
  477. package/types/server/modes/charts/plugins/datalens/preparers/bar-x/index.d.ts +2 -0
  478. package/types/server/modes/charts/plugins/datalens/preparers/bar-x/prepare-bar-x.d.ts +19 -0
  479. package/types/server/modes/charts/plugins/datalens/preparers/bar-y/gravity-charts.d.ts +3 -0
  480. package/types/server/modes/charts/plugins/datalens/preparers/bar-y/highcharts.d.ts +22 -0
  481. package/types/server/modes/charts/plugins/datalens/preparers/bar-y/index.d.ts +2 -0
  482. package/types/server/modes/charts/plugins/datalens/preparers/bar-y/prepare-bar-y-data.d.ts +22 -0
  483. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/get-background-colors-map-by-continuous-column.d.ts +9 -0
  484. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/get-flat-table-background-styles.d.ts +11 -0
  485. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/index.d.ts +2 -0
  486. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/types.d.ts +39 -0
  487. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/footer/index.d.ts +11 -0
  488. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/footer/types.d.ts +29 -0
  489. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/misc.d.ts +9 -0
  490. package/types/server/modes/charts/plugins/datalens/preparers/flat-table/index.d.ts +43 -0
  491. package/types/server/modes/charts/plugins/datalens/preparers/geopoint/constants.d.ts +2 -0
  492. package/types/server/modes/charts/plugins/datalens/preparers/geopoint/index.d.ts +37 -0
  493. package/types/server/modes/charts/plugins/datalens/preparers/geopoint/types.d.ts +41 -0
  494. package/types/server/modes/charts/plugins/datalens/preparers/geopoint-with-cluster.d.ts +35 -0
  495. package/types/server/modes/charts/plugins/datalens/preparers/geopolygon.d.ts +33 -0
  496. package/types/server/modes/charts/plugins/datalens/preparers/heatmap.d.ts +22 -0
  497. package/types/server/modes/charts/plugins/datalens/preparers/helpers/action-params.d.ts +3 -0
  498. package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/addAxisFormatter.d.ts +9 -0
  499. package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/addAxisFormatting.d.ts +2 -0
  500. package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/get-axis-formatting.d.ts +7 -0
  501. package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/getAxisType.d.ts +9 -0
  502. package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/index.d.ts +5 -0
  503. package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/isAxisLabelDateFormat.d.ts +2 -0
  504. package/types/server/modes/charts/plugins/datalens/preparers/helpers/backgroundSettings/misc.d.ts +2 -0
  505. package/types/server/modes/charts/plugins/datalens/preparers/helpers/barsSettings/index.d.ts +16 -0
  506. package/types/server/modes/charts/plugins/datalens/preparers/helpers/barsSettings/types.d.ts +6 -0
  507. package/types/server/modes/charts/plugins/datalens/preparers/helpers/colors.d.ts +2 -0
  508. package/types/server/modes/charts/plugins/datalens/preparers/helpers/columnSettings.d.ts +2 -0
  509. package/types/server/modes/charts/plugins/datalens/preparers/helpers/get-formatted-value.d.ts +2 -0
  510. package/types/server/modes/charts/plugins/datalens/preparers/helpers/highcharts.d.ts +4 -0
  511. package/types/server/modes/charts/plugins/datalens/preparers/helpers/layers.d.ts +3 -0
  512. package/types/server/modes/charts/plugins/datalens/preparers/helpers/legend.d.ts +12 -0
  513. package/types/server/modes/charts/plugins/datalens/preparers/helpers/segments.d.ts +3 -0
  514. package/types/server/modes/charts/plugins/datalens/preparers/helpers/visualizations.d.ts +4 -0
  515. package/types/server/modes/charts/plugins/datalens/preparers/line/gravity-charts.d.ts +3 -0
  516. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/axis/getLayerPlaceholderWithItems.d.ts +3 -0
  517. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/axis/types.d.ts +3 -0
  518. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/color-helpers/colorizeByGradient.d.ts +3 -0
  519. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/color-helpers/types.d.ts +6 -0
  520. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getSortedCategories.d.ts +3 -0
  521. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getSortedLineKeys.d.ts +9 -0
  522. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getXAxisValue.d.ts +3 -0
  523. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/index.d.ts +11 -0
  524. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/getColoredLineLegendTitle.d.ts +9 -0
  525. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/helpers.d.ts +7 -0
  526. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToDimensionColoredLines.d.ts +6 -0
  527. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToLines.d.ts +6 -0
  528. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToMeasureColoredLines.d.ts +7 -0
  529. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/prepareLines.d.ts +2 -0
  530. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/types.d.ts +142 -0
  531. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentName.d.ts +2 -0
  532. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsIndexInOrder.d.ts +3 -0
  533. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsList.d.ts +3 -0
  534. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsMap.d.ts +3 -0
  535. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsYAxis.d.ts +15 -0
  536. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/types.d.ts +20 -0
  537. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/types.d.ts +67 -0
  538. package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/utils.d.ts +5 -0
  539. package/types/server/modes/charts/plugins/datalens/preparers/line/highcharts.d.ts +19 -0
  540. package/types/server/modes/charts/plugins/datalens/preparers/line/index.d.ts +2 -0
  541. package/types/server/modes/charts/plugins/datalens/preparers/line/prepare-line-data.d.ts +19 -0
  542. package/types/server/modes/charts/plugins/datalens/preparers/line/types.d.ts +36 -0
  543. package/types/server/modes/charts/plugins/datalens/preparers/line-time/index.d.ts +4 -0
  544. package/types/server/modes/charts/plugins/datalens/preparers/metric/index.d.ts +56 -0
  545. package/types/server/modes/charts/plugins/datalens/preparers/metric/utils.d.ts +2 -0
  546. package/types/server/modes/charts/plugins/datalens/preparers/metric/variants/basic.d.ts +25 -0
  547. package/types/server/modes/charts/plugins/datalens/preparers/metric/variants/markup.d.ts +44 -0
  548. package/types/server/modes/charts/plugins/datalens/preparers/old-pivot-table/old-pivot-table.d.ts +14 -0
  549. package/types/server/modes/charts/plugins/datalens/preparers/pie/gravity-charts.d.ts +35 -0
  550. package/types/server/modes/charts/plugins/datalens/preparers/pie/highcharts.d.ts +6 -0
  551. package/types/server/modes/charts/plugins/datalens/preparers/pie/index.d.ts +2 -0
  552. package/types/server/modes/charts/plugins/datalens/preparers/pie/prepare-pie-data.d.ts +35 -0
  553. package/types/server/modes/charts/plugins/datalens/preparers/pie/utils.d.ts +4 -0
  554. package/types/server/modes/charts/plugins/datalens/preparers/polyline.d.ts +36 -0
  555. package/types/server/modes/charts/plugins/datalens/preparers/scatter/gravity-charts.d.ts +4 -0
  556. package/types/server/modes/charts/plugins/datalens/preparers/scatter/helpers/shape.d.ts +7 -0
  557. package/types/server/modes/charts/plugins/datalens/preparers/scatter/helpers/tooltip.d.ts +14 -0
  558. package/types/server/modes/charts/plugins/datalens/preparers/scatter/highcharts.d.ts +12 -0
  559. package/types/server/modes/charts/plugins/datalens/preparers/scatter/index.d.ts +2 -0
  560. package/types/server/modes/charts/plugins/datalens/preparers/scatter/prepare-scatter.d.ts +28 -0
  561. package/types/server/modes/charts/plugins/datalens/preparers/scatter/types.d.ts +18 -0
  562. package/types/server/modes/charts/plugins/datalens/preparers/treemap/gravity-charts.d.ts +3 -0
  563. package/types/server/modes/charts/plugins/datalens/preparers/treemap/highcharts.d.ts +40 -0
  564. package/types/server/modes/charts/plugins/datalens/preparers/treemap/index.d.ts +2 -0
  565. package/types/server/modes/charts/plugins/datalens/preparers/types.d.ts +74 -0
  566. package/types/server/modes/charts/plugins/datalens/preparers/utils.d.ts +11 -0
  567. package/types/server/modes/charts/plugins/datalens/private-module.d.ts +85 -0
  568. package/types/server/modes/charts/plugins/datalens/types.d.ts +72 -0
  569. package/types/server/modes/charts/plugins/datalens/url/build-request-body/constants.d.ts +1 -0
  570. package/types/server/modes/charts/plugins/datalens/url/build-request-body/default-request.d.ts +19 -0
  571. package/types/server/modes/charts/plugins/datalens/url/build-request-body/index.d.ts +40 -0
  572. package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/index.d.ts +9 -0
  573. package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/totals.d.ts +7 -0
  574. package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/types.d.ts +42 -0
  575. package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/index.d.ts +8 -0
  576. package/types/server/modes/charts/plugins/datalens/url/build-sources.d.ts +5 -0
  577. package/types/server/modes/charts/plugins/datalens/url/helpers/fields.d.ts +9 -0
  578. package/types/server/modes/charts/plugins/datalens/url/helpers/filters.d.ts +7 -0
  579. package/types/server/modes/charts/plugins/datalens/url/helpers/index.d.ts +3 -0
  580. package/types/server/modes/charts/plugins/datalens/url/helpers/misc.d.ts +4 -0
  581. package/types/server/modes/charts/plugins/datalens/url/helpers/parameters.d.ts +16 -0
  582. package/types/server/modes/charts/plugins/datalens/url/helpers/table-settings.d.ts +10 -0
  583. package/types/server/modes/charts/plugins/datalens/url/types.d.ts +37 -0
  584. package/types/server/modes/charts/plugins/datalens/utils/axis-helpers.d.ts +10 -0
  585. package/types/server/modes/charts/plugins/datalens/utils/color-helpers.d.ts +93 -0
  586. package/types/server/modes/charts/plugins/datalens/utils/config-helpers.d.ts +9 -0
  587. package/types/server/modes/charts/plugins/datalens/utils/constants.d.ts +37 -0
  588. package/types/server/modes/charts/plugins/datalens/utils/export-helpers.d.ts +7 -0
  589. package/types/server/modes/charts/plugins/datalens/utils/geo-helpers.d.ts +57 -0
  590. package/types/server/modes/charts/plugins/datalens/utils/get-gradient-stops.d.ts +12 -0
  591. package/types/server/modes/charts/plugins/datalens/utils/hierarchy-helpers.d.ts +10 -0
  592. package/types/server/modes/charts/plugins/datalens/utils/markup-helpers.d.ts +26 -0
  593. package/types/server/modes/charts/plugins/datalens/utils/misc-helpers.d.ts +88 -0
  594. package/types/server/modes/charts/plugins/datalens/utils/pivot-table/totals.d.ts +13 -0
  595. package/types/server/modes/charts/plugins/datalens/utils/shape-helpers.d.ts +9 -0
  596. package/types/server/modes/charts/plugins/dataset/v2.d.ts +71 -0
  597. package/types/server/modes/charts/plugins/helpers/color-palettes.d.ts +30 -0
  598. package/types/server/modes/charts/plugins/helpers/misc.d.ts +11 -0
  599. package/types/server/modes/charts/plugins/logins-blacklist.d.ts +8 -0
  600. package/types/server/modes/charts/plugins/ql/index.d.ts +2 -0
  601. package/types/server/modes/charts/plugins/ql/module/chart-editor-module.d.ts +69 -0
  602. package/types/server/modes/charts/plugins/ql/module/config/build-chart-config.d.ts +16 -0
  603. package/types/server/modes/charts/plugins/ql/module/config/index.d.ts +45 -0
  604. package/types/server/modes/charts/plugins/ql/module/highcharts.d.ts +8 -0
  605. package/types/server/modes/charts/plugins/ql/module/js/build-graph.d.ts +14 -0
  606. package/types/server/modes/charts/plugins/ql/module/library-config/build-library-config.d.ts +14 -0
  607. package/types/server/modes/charts/plugins/ql/module/library-config/index.d.ts +12 -0
  608. package/types/server/modes/charts/plugins/ql/module/private-module.d.ts +13 -0
  609. package/types/server/modes/charts/plugins/ql/module/url/build-sources.d.ts +4 -0
  610. package/types/server/modes/charts/plugins/ql/module/url/index.d.ts +8 -0
  611. package/types/server/modes/charts/plugins/ql/module/url/types.d.ts +9 -0
  612. package/types/server/modes/charts/plugins/ql/preparers/line-time.d.ts +10 -0
  613. package/types/server/modes/charts/plugins/ql/preparers/line.d.ts +11 -0
  614. package/types/server/modes/charts/plugins/ql/preparers/metric.d.ts +10 -0
  615. package/types/server/modes/charts/plugins/ql/preparers/pie.d.ts +11 -0
  616. package/types/server/modes/charts/plugins/ql/preparers/preview-table.d.ts +9 -0
  617. package/types/server/modes/charts/plugins/ql/preparers/table.d.ts +10 -0
  618. package/types/server/modes/charts/plugins/ql/ql-chart-runner.d.ts +2 -0
  619. package/types/server/modes/charts/plugins/ql/types.d.ts +4 -0
  620. package/types/server/modes/charts/plugins/ql/utils/autofill-helpers.d.ts +38 -0
  621. package/types/server/modes/charts/plugins/ql/utils/colors.d.ts +19 -0
  622. package/types/server/modes/charts/plugins/ql/utils/connection.d.ts +5 -0
  623. package/types/server/modes/charts/plugins/ql/utils/constants.d.ts +8 -0
  624. package/types/server/modes/charts/plugins/ql/utils/identify-params.d.ts +6 -0
  625. package/types/server/modes/charts/plugins/ql/utils/migrate-helpers.d.ts +30 -0
  626. package/types/server/modes/charts/plugins/ql/utils/misc-helpers.d.ts +139 -0
  627. package/types/server/modes/charts/plugins/ql/utils/value-helpers.d.ts +5 -0
  628. package/types/server/modes/charts/plugins/ql/utils/visualization-utils.d.ts +21 -0
  629. package/types/server/modes/charts/plugins/ql/worker.d.ts +1 -0
  630. package/types/server/modes/charts/plugins/ql/yagr.d.ts +7 -0
  631. package/types/server/modes/charts/plugins/request-with-dataset/index.d.ts +26 -0
  632. package/types/server/modes/charts/plugins/request-with-dataset/middlewareAdapters/charts-with-dataset.d.ts +15 -0
  633. package/types/server/modes/charts/plugins/request-with-dataset/middlewareAdapters/controls-with-dataset.d.ts +13 -0
  634. package/types/server/modes/charts/plugins/request-with-dataset/request-dataset.d.ts +24 -0
  635. package/types/server/modes/charts/plugins/runner-key-adapter.d.ts +8 -0
  636. package/types/server/modes/charts/plugins/types.d.ts +62 -0
  637. package/types/server/modes/charts/telemetry.d.ts +3 -0
  638. package/types/server/modes/opensource/app.d.ts +3 -0
  639. package/types/server/modes/opensource/middlewares/index.d.ts +1 -0
  640. package/types/server/modes/opensource/middlewares/subrequest-headers.d.ts +2 -0
  641. package/types/server/modes/opensource/routes.d.ts +12 -0
  642. package/types/server/nodekit.d.ts +3 -0
  643. package/types/server/registry/index.d.ts +114 -0
  644. package/types/server/registry/units/common/auth-functions-map.d.ts +10 -0
  645. package/types/server/registry/units/common/functions-map.d.ts +16 -0
  646. package/types/server/registry/units/common/index.d.ts +70 -0
  647. package/types/server/registry/units/common/register.d.ts +1 -0
  648. package/types/server/registry/utils/register-app-plugins.d.ts +1 -0
  649. package/types/server/types/app-layout.d.ts +18 -0
  650. package/types/server/types/connections.d.ts +2 -0
  651. package/types/server/types/controllers.d.ts +16 -0
  652. package/types/server/types/gateway.d.ts +7 -0
  653. package/types/server/types/xlsxConverter.d.ts +9 -0
  654. package/types/server/utils/axios.d.ts +3 -0
  655. package/types/server/utils/env-utils.d.ts +1 -0
  656. package/types/server/utils/gateway.d.ts +9 -0
  657. package/types/server/utils/index.d.ts +43 -0
  658. package/types/server/utils/language.d.ts +18 -0
  659. package/types/server/utils/redis.d.ts +20 -0
  660. package/types/server/utils/routes.d.ts +2 -0
  661. package/types/server/utils/schema-validate.d.ts +1 -0
  662. package/types/shared/components/auth/constants/cookie.d.ts +2 -0
  663. package/types/shared/components/auth/constants/role.d.ts +7 -0
  664. package/types/shared/components/auth/constants/token.d.ts +1 -0
  665. package/types/shared/components/auth/constants/url.d.ts +1 -0
  666. package/types/shared/components/auth/types/layout.d.ts +6 -0
  667. package/types/shared/components/public-api/utils/index.d.ts +1 -0
  668. package/types/shared/constants/api-v2.d.ts +4 -0
  669. package/types/shared/constants/chartkit-handlers.d.ts +13 -0
  670. package/types/shared/constants/charts.d.ts +6 -0
  671. package/types/shared/constants/collections.d.ts +5 -0
  672. package/types/shared/constants/colors/common/classic-20.d.ts +3 -0
  673. package/types/shared/constants/colors/common/datalens.d.ts +3 -0
  674. package/types/shared/constants/colors/common/default-20.d.ts +3 -0
  675. package/types/shared/constants/colors/common/emerald-20.d.ts +3 -0
  676. package/types/shared/constants/colors/common/golden-20.d.ts +3 -0
  677. package/types/shared/constants/colors/common/neutral-20.d.ts +3 -0
  678. package/types/shared/constants/colors/common/oceanic-20.d.ts +3 -0
  679. package/types/shared/constants/colors/common/traffic-light-9.d.ts +3 -0
  680. package/types/shared/constants/colors/index.d.ts +24 -0
  681. package/types/shared/constants/colors/tableau/blue-red-12.d.ts +3 -0
  682. package/types/shared/constants/colors/tableau/blue-red-6.d.ts +3 -0
  683. package/types/shared/constants/colors/tableau/color-blind-10.d.ts +3 -0
  684. package/types/shared/constants/colors/tableau/gray-5.d.ts +3 -0
  685. package/types/shared/constants/colors/tableau/green-orange-12.d.ts +3 -0
  686. package/types/shared/constants/colors/tableau/green-orange-6.d.ts +3 -0
  687. package/types/shared/constants/colors/tableau/purpure-gray-12.d.ts +3 -0
  688. package/types/shared/constants/colors/tableau/purpure-gray-6.d.ts +3 -0
  689. package/types/shared/constants/colors/tableau/tableau-10-light.d.ts +3 -0
  690. package/types/shared/constants/colors/tableau/tableau-10-medium.d.ts +3 -0
  691. package/types/shared/constants/colors/tableau/tableau-10.d.ts +3 -0
  692. package/types/shared/constants/colors/tableau/tableau-20.d.ts +3 -0
  693. package/types/shared/constants/colors/tableau/traffic-light.d.ts +3 -0
  694. package/types/shared/constants/colors/types.d.ts +71 -0
  695. package/types/shared/constants/common.d.ts +107 -0
  696. package/types/shared/constants/connections.d.ts +94 -0
  697. package/types/shared/constants/cookie.d.ts +2 -0
  698. package/types/shared/constants/dash.d.ts +32 -0
  699. package/types/shared/constants/datasets.d.ts +4 -0
  700. package/types/shared/constants/datepicker/relative-datepicker.d.ts +11 -0
  701. package/types/shared/constants/entry.d.ts +65 -0
  702. package/types/shared/constants/error/index.d.ts +10 -0
  703. package/types/shared/constants/error-codes.d.ts +61 -0
  704. package/types/shared/constants/exports.d.ts +15 -0
  705. package/types/shared/constants/gradients/default.d.ts +14 -0
  706. package/types/shared/constants/gradients/index.d.ts +132 -0
  707. package/types/shared/constants/gradients/three-point/blue-gray-red.d.ts +5 -0
  708. package/types/shared/constants/gradients/three-point/blue-yellow-red.d.ts +5 -0
  709. package/types/shared/constants/gradients/three-point/orange-blue-green.d.ts +5 -0
  710. package/types/shared/constants/gradients/three-point/orange-gray-blue.d.ts +5 -0
  711. package/types/shared/constants/gradients/three-point/orange-violet-blue.d.ts +5 -0
  712. package/types/shared/constants/gradients/three-point/pink-gray-green.d.ts +5 -0
  713. package/types/shared/constants/gradients/three-point/red-orange-green.d.ts +5 -0
  714. package/types/shared/constants/gradients/three-point/traffic-light.d.ts +5 -0
  715. package/types/shared/constants/gradients/three-point/violet-blue-green.d.ts +5 -0
  716. package/types/shared/constants/gradients/three-point/yellow-green-blue.d.ts +5 -0
  717. package/types/shared/constants/gradients/three-point-gradients.d.ts +48 -0
  718. package/types/shared/constants/gradients/two-point/blue.d.ts +5 -0
  719. package/types/shared/constants/gradients/two-point/cyan.d.ts +5 -0
  720. package/types/shared/constants/gradients/two-point/golden.d.ts +5 -0
  721. package/types/shared/constants/gradients/two-point/gray.d.ts +5 -0
  722. package/types/shared/constants/gradients/two-point/green-blue.d.ts +5 -0
  723. package/types/shared/constants/gradients/two-point/green.d.ts +5 -0
  724. package/types/shared/constants/gradients/two-point/oceanic.d.ts +5 -0
  725. package/types/shared/constants/gradients/two-point/orange-yellow.d.ts +5 -0
  726. package/types/shared/constants/gradients/two-point/red-blue.d.ts +5 -0
  727. package/types/shared/constants/gradients/two-point/red.d.ts +5 -0
  728. package/types/shared/constants/gradients/two-point/violet-orange.d.ts +5 -0
  729. package/types/shared/constants/gradients/two-point/violet.d.ts +5 -0
  730. package/types/shared/constants/gradients/two-point/yellow.d.ts +5 -0
  731. package/types/shared/constants/gradients/two-point-gradients.d.ts +60 -0
  732. package/types/shared/constants/header.d.ts +42 -0
  733. package/types/shared/constants/index.d.ts +33 -0
  734. package/types/shared/constants/markdown.d.ts +1 -0
  735. package/types/shared/constants/markup.d.ts +1 -0
  736. package/types/shared/constants/navigation.d.ts +20 -0
  737. package/types/shared/constants/old-schema.d.ts +3 -0
  738. package/types/shared/constants/placeholder.d.ts +28 -0
  739. package/types/shared/constants/print.d.ts +2 -0
  740. package/types/shared/constants/qa/action-panel.d.ts +14 -0
  741. package/types/shared/constants/qa/chart.d.ts +53 -0
  742. package/types/shared/constants/qa/collections.d.ts +11 -0
  743. package/types/shared/constants/qa/components.d.ts +176 -0
  744. package/types/shared/constants/qa/connections.d.ts +32 -0
  745. package/types/shared/constants/qa/control.d.ts +76 -0
  746. package/types/shared/constants/qa/dash.d.ts +97 -0
  747. package/types/shared/constants/qa/datasets.d.ts +53 -0
  748. package/types/shared/constants/qa/dl-navigation.d.ts +9 -0
  749. package/types/shared/constants/qa/field-editor.d.ts +3 -0
  750. package/types/shared/constants/qa/index.d.ts +16 -0
  751. package/types/shared/constants/qa/ql.d.ts +28 -0
  752. package/types/shared/constants/qa/settings.d.ts +11 -0
  753. package/types/shared/constants/qa/sign-in.d.ts +5 -0
  754. package/types/shared/constants/qa/uikit.d.ts +7 -0
  755. package/types/shared/constants/qa/visualization.d.ts +18 -0
  756. package/types/shared/constants/qa/wizard.d.ts +174 -0
  757. package/types/shared/constants/qa/workbooks.d.ts +18 -0
  758. package/types/shared/constants/ql.d.ts +27 -0
  759. package/types/shared/constants/shapes/index.d.ts +2 -0
  760. package/types/shared/constants/shapes/lines/index.d.ts +42 -0
  761. package/types/shared/constants/shapes/points/index.d.ts +8 -0
  762. package/types/shared/constants/themes.d.ts +17 -0
  763. package/types/shared/constants/timeout.d.ts +9 -0
  764. package/types/shared/constants/ui-sandbox.d.ts +1 -0
  765. package/types/shared/constants/url.d.ts +5 -0
  766. package/types/shared/constants/user.d.ts +4 -0
  767. package/types/shared/constants/visualization.d.ts +36 -0
  768. package/types/shared/constants/widgets.d.ts +30 -0
  769. package/types/shared/constants/wizard.d.ts +55 -0
  770. package/types/shared/constants/workbook-transfer.d.ts +17 -0
  771. package/types/shared/constants/workbooks.d.ts +7 -0
  772. package/types/shared/constants/yfm.d.ts +20 -0
  773. package/types/shared/endpoints/constants/index.d.ts +2 -0
  774. package/types/shared/endpoints/constants/opensource.d.ts +62 -0
  775. package/types/shared/endpoints/index.d.ts +62 -0
  776. package/types/shared/endpoints/schema/index.d.ts +2 -0
  777. package/types/shared/endpoints/schema/opensource.d.ts +40 -0
  778. package/types/shared/endpoints/sources/index.d.ts +19 -0
  779. package/types/shared/endpoints/sources/opensource.d.ts +2 -0
  780. package/types/shared/endpoints/sources/types.d.ts +27 -0
  781. package/types/shared/endpoints/types.d.ts +14 -0
  782. package/types/shared/endpoints/utils.d.ts +1 -0
  783. package/types/shared/index.d.ts +6 -0
  784. package/types/shared/modules/bi-api/index.d.ts +1 -0
  785. package/types/shared/modules/bi-api/mappers/index.d.ts +1 -0
  786. package/types/shared/modules/bi-api/mappers/v2.d.ts +14 -0
  787. package/types/shared/modules/charts-shared.d.ts +71 -0
  788. package/types/shared/modules/colors/common-helpers.d.ts +7 -0
  789. package/types/shared/modules/colors/distincts-helpers.d.ts +2 -0
  790. package/types/shared/modules/config/ql/index.d.ts +1 -0
  791. package/types/shared/modules/config/ql/mapQlConfigToLatestVersion.d.ts +7 -0
  792. package/types/shared/modules/config/ql/v1/mapUndefinedConfigToV1.d.ts +3 -0
  793. package/types/shared/modules/config/ql/v2/mapV1ConfigToV2.d.ts +4 -0
  794. package/types/shared/modules/config/ql/v3/mapV2ConfigToV3.d.ts +3 -0
  795. package/types/shared/modules/config/ql/v4/mapV3ConfigToV4.d.ts +3 -0
  796. package/types/shared/modules/config/ql/v5/mapV4ConfigToV5.d.ts +3 -0
  797. package/types/shared/modules/config/ql/v6/mapV5ConfigToV6.d.ts +3 -0
  798. package/types/shared/modules/config/ql/v7/mapV6ConfigToV7.d.ts +3 -0
  799. package/types/shared/modules/config/utils.d.ts +1 -0
  800. package/types/shared/modules/config/wizard/index.d.ts +1 -0
  801. package/types/shared/modules/config/wizard/mapChartsConfigToLatestVersion.d.ts +4 -0
  802. package/types/shared/modules/config/wizard/mocks/v4.mock.d.ts +21 -0
  803. package/types/shared/modules/config/wizard/v1/mapV1ConfigToV2.d.ts +3 -0
  804. package/types/shared/modules/config/wizard/v10/mapV10ConfigToV11.d.ts +2 -0
  805. package/types/shared/modules/config/wizard/v11/mapV11ConfigToV12.d.ts +2 -0
  806. package/types/shared/modules/config/wizard/v12/mapV12ConfigToV13.d.ts +2 -0
  807. package/types/shared/modules/config/wizard/v13/mapV13ConfigToV14.d.ts +3 -0
  808. package/types/shared/modules/config/wizard/v14/mapV14ConfigToV15.d.ts +3 -0
  809. package/types/shared/modules/config/wizard/v2/mapV2ConfigToV3.d.ts +3 -0
  810. package/types/shared/modules/config/wizard/v3/mapV3ConfigToV4.d.ts +4 -0
  811. package/types/shared/modules/config/wizard/v4/mapV4ConfigToV5.d.ts +2 -0
  812. package/types/shared/modules/config/wizard/v5/mapV5ConfigToV6.d.ts +2 -0
  813. package/types/shared/modules/config/wizard/v6/mapV6ConfigToV7.d.ts +2 -0
  814. package/types/shared/modules/config/wizard/v7/mapV7ConfigToV8.d.ts +2 -0
  815. package/types/shared/modules/config/wizard/v8/mapV8ConfigToV9.d.ts +2 -0
  816. package/types/shared/modules/config/wizard/v9/mapV9ConfigToV10.d.ts +2 -0
  817. package/types/shared/modules/control/typed-query-helpers.d.ts +2 -0
  818. package/types/shared/modules/dash-scheme-converter.d.ts +15 -0
  819. package/types/shared/modules/entry.d.ts +6 -0
  820. package/types/shared/modules/fields.d.ts +12 -0
  821. package/types/shared/modules/format-units/formatUnit.d.ts +5 -0
  822. package/types/shared/modules/format-units/i18n/en.json.d.ts +20 -0
  823. package/types/shared/modules/format-units/i18n/i18n.d.ts +5 -0
  824. package/types/shared/modules/format-units/i18n/ru.json.d.ts +20 -0
  825. package/types/shared/modules/format-units/index.d.ts +1 -0
  826. package/types/shared/modules/format-units/types.d.ts +14 -0
  827. package/types/shared/modules/helpers.d.ts +38 -0
  828. package/types/shared/modules/index.d.ts +19 -0
  829. package/types/shared/modules/language.d.ts +2 -0
  830. package/types/shared/modules/markdown/emoji-defs.d.ts +1 -0
  831. package/types/shared/modules/markdown/markdown-plugins/unify-terms.d.ts +4 -0
  832. package/types/shared/modules/markdown/markdown.d.ts +12 -0
  833. package/types/shared/modules/markup.d.ts +2 -0
  834. package/types/shared/modules/qa-helpers.d.ts +5 -0
  835. package/types/shared/modules/ql-helpers.d.ts +22 -0
  836. package/types/shared/modules/sleep.d.ts +1 -0
  837. package/types/shared/modules/slugify.d.ts +3 -0
  838. package/types/shared/modules/tenant.d.ts +3 -0
  839. package/types/shared/modules/transliterate.d.ts +1 -0
  840. package/types/shared/modules/typed-query-api/helpers/parameters.d.ts +2 -0
  841. package/types/shared/modules/typed-query-api/index.d.ts +1 -0
  842. package/types/shared/modules/typed-query-api/mappers/parameters.d.ts +3 -0
  843. package/types/shared/modules/url.d.ts +1 -0
  844. package/types/shared/modules/user.d.ts +4 -0
  845. package/types/shared/modules/visualization/placeholder.d.ts +3 -0
  846. package/types/shared/modules/wizard/axis-mode.d.ts +8 -0
  847. package/types/shared/modules/wizard/axis-settings.d.ts +2 -0
  848. package/types/shared/modules/wizard/config.d.ts +2 -0
  849. package/types/shared/modules/wizard/index.d.ts +3 -0
  850. package/types/shared/modules/wizard-helpers.d.ts +51 -0
  851. package/types/shared/old-schema/charts.d.ts +131 -0
  852. package/types/shared/old-schema/index.d.ts +113 -0
  853. package/types/shared/schema/auth/actions.d.ts +22 -0
  854. package/types/shared/schema/auth/index.d.ts +27 -0
  855. package/types/shared/schema/auth/types/common.d.ts +3 -0
  856. package/types/shared/schema/auth/types/users.d.ts +86 -0
  857. package/types/shared/schema/auth-schema/auth/actions.d.ts +12 -0
  858. package/types/shared/schema/auth-schema/auth/index.d.ts +17 -0
  859. package/types/shared/schema/auth-schema/auth/types.d.ts +11 -0
  860. package/types/shared/schema/auth-schema/index.d.ts +18 -0
  861. package/types/shared/schema/bi/actions/connections.d.ts +31 -0
  862. package/types/shared/schema/bi/actions/datasets.d.ts +43 -0
  863. package/types/shared/schema/bi/actions/index.d.ts +66 -0
  864. package/types/shared/schema/bi/actions/oauth.d.ts +10 -0
  865. package/types/shared/schema/bi/helpers/datasets.d.ts +58 -0
  866. package/types/shared/schema/bi/helpers/index.d.ts +1 -0
  867. package/types/shared/schema/bi/index.d.ts +71 -0
  868. package/types/shared/schema/bi/schemas/connections.d.ts +20 -0
  869. package/types/shared/schema/bi/schemas/datasets.d.ts +24 -0
  870. package/types/shared/schema/bi/schemas/index.d.ts +1 -0
  871. package/types/shared/schema/bi/types/common.d.ts +5 -0
  872. package/types/shared/schema/bi/types/connections.d.ts +145 -0
  873. package/types/shared/schema/bi/types/datasets.d.ts +246 -0
  874. package/types/shared/schema/bi/types/forms.d.ts +182 -0
  875. package/types/shared/schema/bi/types/index.d.ts +4 -0
  876. package/types/shared/schema/bi/types/oauth.d.ts +18 -0
  877. package/types/shared/schema/bi-converter/actions/index.d.ts +18 -0
  878. package/types/shared/schema/bi-converter/index.d.ts +23 -0
  879. package/types/shared/schema/bi-converter/types/index.d.ts +181 -0
  880. package/types/shared/schema/extensions/actions/iam-access-dialog.d.ts +100 -0
  881. package/types/shared/schema/extensions/actions/index.d.ts +100 -0
  882. package/types/shared/schema/extensions/index.d.ts +104 -0
  883. package/types/shared/schema/extensions/types/iam-access-dialog.d.ts +123 -0
  884. package/types/shared/schema/extensions/types/index.d.ts +1 -0
  885. package/types/shared/schema/gateway-utils.d.ts +34 -0
  886. package/types/shared/schema/googleapis/actions.d.ts +1 -0
  887. package/types/shared/schema/index.d.ts +3363 -0
  888. package/types/shared/schema/meta-manager/actions/export.d.ts +12 -0
  889. package/types/shared/schema/meta-manager/actions/import.d.ts +10 -0
  890. package/types/shared/schema/meta-manager/actions/index.d.ts +14 -0
  891. package/types/shared/schema/meta-manager/index.d.ts +19 -0
  892. package/types/shared/schema/meta-manager/types/export.d.ts +33 -0
  893. package/types/shared/schema/meta-manager/types/import.d.ts +21 -0
  894. package/types/shared/schema/meta-manager/types/index.d.ts +2 -0
  895. package/types/shared/schema/mix/actions/dash/create-dashboard-v1.d.ts +723 -0
  896. package/types/shared/schema/mix/actions/dash/delete-dashboard.d.ts +9 -0
  897. package/types/shared/schema/mix/actions/dash/get-dashboard-v1.d.ts +515 -0
  898. package/types/shared/schema/mix/actions/dash/index.d.ts +1959 -0
  899. package/types/shared/schema/mix/actions/dash/update-dashboard-v1.d.ts +722 -0
  900. package/types/shared/schema/mix/actions/editor.d.ts +10 -0
  901. package/types/shared/schema/mix/actions/entries.d.ts +18 -0
  902. package/types/shared/schema/mix/actions/index.d.ts +2067 -0
  903. package/types/shared/schema/mix/actions/markdown.d.ts +11 -0
  904. package/types/shared/schema/mix/actions/navigation.d.ts +9 -0
  905. package/types/shared/schema/mix/actions/ql/create-ql-chart.d.ts +23 -0
  906. package/types/shared/schema/mix/actions/ql/delete-ql-chart.d.ts +8 -0
  907. package/types/shared/schema/mix/actions/ql/get-ql-chart.d.ts +14 -0
  908. package/types/shared/schema/mix/actions/ql/index.d.ts +54 -0
  909. package/types/shared/schema/mix/actions/ql/update-ql-chart.d.ts +22 -0
  910. package/types/shared/schema/mix/actions/wizard/create-wizard-chart.d.ts +23 -0
  911. package/types/shared/schema/mix/actions/wizard/delete-wizard-chart.d.ts +8 -0
  912. package/types/shared/schema/mix/actions/wizard/get-wizard-chart.d.ts +14 -0
  913. package/types/shared/schema/mix/actions/wizard/index.d.ts +54 -0
  914. package/types/shared/schema/mix/actions/wizard/update-wizard-chart.d.ts +22 -0
  915. package/types/shared/schema/mix/helpers/dash/index.d.ts +69 -0
  916. package/types/shared/schema/mix/helpers/dash/migrate-dash-to-v1.d.ts +2 -0
  917. package/types/shared/schema/mix/helpers/editor/index.d.ts +6 -0
  918. package/types/shared/schema/mix/helpers/editor/validation.d.ts +2 -0
  919. package/types/shared/schema/mix/helpers/entries.d.ts +54 -0
  920. package/types/shared/schema/mix/helpers/index.d.ts +2 -0
  921. package/types/shared/schema/mix/helpers/validation.d.ts +1 -0
  922. package/types/shared/schema/mix/index.d.ts +2071 -0
  923. package/types/shared/schema/mix/schemas/dash/create-dashboard-v1.d.ts +497 -0
  924. package/types/shared/schema/mix/schemas/dash/dash-v1.d.ts +255 -0
  925. package/types/shared/schema/mix/schemas/dash/delete-dashboard.d.ts +6 -0
  926. package/types/shared/schema/mix/schemas/dash/get-dashboard-v1.d.ts +275 -0
  927. package/types/shared/schema/mix/schemas/dash/update-dashboard-v1.d.ts +496 -0
  928. package/types/shared/schema/mix/schemas/ql.d.ts +18 -0
  929. package/types/shared/schema/mix/schemas/wizard.d.ts +18 -0
  930. package/types/shared/schema/mix/types/dash/index.d.ts +53 -0
  931. package/types/shared/schema/mix/types/entries.d.ts +91 -0
  932. package/types/shared/schema/mix/types/index.d.ts +6 -0
  933. package/types/shared/schema/mix/types/markdown.d.ts +15 -0
  934. package/types/shared/schema/mix/types/navigation.d.ts +12 -0
  935. package/types/shared/schema/mix/types/ql.d.ts +4 -0
  936. package/types/shared/schema/mix/types/wizard.d.ts +4 -0
  937. package/types/shared/schema/stat-api/types/index.d.ts +11 -0
  938. package/types/shared/schema/types.d.ts +5 -0
  939. package/types/shared/schema/us/actions/collections/create-collection.d.ts +93 -0
  940. package/types/shared/schema/us/actions/collections/delete-collection.d.ts +52 -0
  941. package/types/shared/schema/us/actions/collections/delete-collections.d.ts +52 -0
  942. package/types/shared/schema/us/actions/collections/get-collection-breadcrumbs.d.ts +86 -0
  943. package/types/shared/schema/us/actions/collections/get-collection.d.ts +90 -0
  944. package/types/shared/schema/us/actions/collections/get-root-collection-permissions.d.ts +17 -0
  945. package/types/shared/schema/us/actions/collections/get-structure-items.d.ts +7 -0
  946. package/types/shared/schema/us/actions/collections/index.d.ts +335 -0
  947. package/types/shared/schema/us/actions/collections/move-collection.d.ts +48 -0
  948. package/types/shared/schema/us/actions/collections/move-collections.d.ts +53 -0
  949. package/types/shared/schema/us/actions/collections/update-collection.d.ts +48 -0
  950. package/types/shared/schema/us/actions/color-palettes.d.ts +13 -0
  951. package/types/shared/schema/us/actions/editor.d.ts +10 -0
  952. package/types/shared/schema/us/actions/embeds.d.ts +11 -0
  953. package/types/shared/schema/us/actions/entries/create-entry.d.ts +7 -0
  954. package/types/shared/schema/us/actions/entries/get-entries-relations.d.ts +78 -0
  955. package/types/shared/schema/us/actions/entries/get-entries.d.ts +100 -0
  956. package/types/shared/schema/us/actions/entries/get-entry.d.ts +7 -0
  957. package/types/shared/schema/us/actions/entries/index.d.ts +298 -0
  958. package/types/shared/schema/us/actions/entries/list-directory.d.ts +101 -0
  959. package/types/shared/schema/us/actions/entries/update-entry.d.ts +7 -0
  960. package/types/shared/schema/us/actions/favorites.d.ts +12 -0
  961. package/types/shared/schema/us/actions/index.d.ts +1064 -0
  962. package/types/shared/schema/us/actions/locks.d.ts +11 -0
  963. package/types/shared/schema/us/actions/operations.d.ts +37 -0
  964. package/types/shared/schema/us/actions/presets.d.ts +10 -0
  965. package/types/shared/schema/us/actions/private.d.ts +9 -0
  966. package/types/shared/schema/us/actions/state.d.ts +10 -0
  967. package/types/shared/schema/us/actions/template.d.ts +9 -0
  968. package/types/shared/schema/us/actions/tenant.d.ts +9 -0
  969. package/types/shared/schema/us/actions/user.d.ts +20 -0
  970. package/types/shared/schema/us/actions/workbooks/copy-workbook.d.ts +7 -0
  971. package/types/shared/schema/us/actions/workbooks/create-workbook.d.ts +106 -0
  972. package/types/shared/schema/us/actions/workbooks/delete-workbook.d.ts +59 -0
  973. package/types/shared/schema/us/actions/workbooks/delete-workbooks.d.ts +65 -0
  974. package/types/shared/schema/us/actions/workbooks/get-workbook-entries.d.ts +7 -0
  975. package/types/shared/schema/us/actions/workbooks/get-workbook-shared-entries.d.ts +7 -0
  976. package/types/shared/schema/us/actions/workbooks/get-workbook.d.ts +100 -0
  977. package/types/shared/schema/us/actions/workbooks/get-workbooks-list.d.ts +75 -0
  978. package/types/shared/schema/us/actions/workbooks/index.d.ts +384 -0
  979. package/types/shared/schema/us/actions/workbooks/migrate-entries-to-workbook-by-copy.d.ts +7 -0
  980. package/types/shared/schema/us/actions/workbooks/migrate-entries-to-workbook-by-transfer.d.ts +7 -0
  981. package/types/shared/schema/us/actions/workbooks/move-workbook.d.ts +61 -0
  982. package/types/shared/schema/us/actions/workbooks/move-workbooks.d.ts +66 -0
  983. package/types/shared/schema/us/actions/workbooks/update-workbook.d.ts +61 -0
  984. package/types/shared/schema/us/index.d.ts +1069 -0
  985. package/types/shared/schema/us/schemas/collections/index.d.ts +27 -0
  986. package/types/shared/schema/us/schemas/entries/get-entries.d.ts +172 -0
  987. package/types/shared/schema/us/schemas/entries/list-directory.d.ts +171 -0
  988. package/types/shared/schema/us/schemas/operation/index.d.ts +16 -0
  989. package/types/shared/schema/us/schemas/workbooks/index.d.ts +33 -0
  990. package/types/shared/schema/us/types/access-bindings.d.ts +0 -0
  991. package/types/shared/schema/us/types/collections.d.ts +80 -0
  992. package/types/shared/schema/us/types/color-palettes.d.ts +24 -0
  993. package/types/shared/schema/us/types/common.d.ts +16 -0
  994. package/types/shared/schema/us/types/editor.d.ts +32 -0
  995. package/types/shared/schema/us/types/embeds.d.ts +37 -0
  996. package/types/shared/schema/us/types/entries.d.ts +292 -0
  997. package/types/shared/schema/us/types/favorites.d.ts +48 -0
  998. package/types/shared/schema/us/types/fields.d.ts +133 -0
  999. package/types/shared/schema/us/types/index.d.ts +17 -0
  1000. package/types/shared/schema/us/types/locks.d.ts +34 -0
  1001. package/types/shared/schema/us/types/operations.d.ts +6 -0
  1002. package/types/shared/schema/us/types/presets.d.ts +5 -0
  1003. package/types/shared/schema/us/types/private.d.ts +2 -0
  1004. package/types/shared/schema/us/types/sort.d.ts +3 -0
  1005. package/types/shared/schema/us/types/state.d.ts +18 -0
  1006. package/types/shared/schema/us/types/template.d.ts +13 -0
  1007. package/types/shared/schema/us/types/tenant.d.ts +14 -0
  1008. package/types/shared/schema/us/types/workbooks.d.ts +95 -0
  1009. package/types/shared/schema/us-private/actions/entries.d.ts +12 -0
  1010. package/types/shared/schema/us-private/actions/index.d.ts +13 -0
  1011. package/types/shared/schema/us-private/actions/tenant.d.ts +10 -0
  1012. package/types/shared/schema/us-private/index.d.ts +20 -0
  1013. package/types/shared/schema/us-private/types/entries.d.ts +18 -0
  1014. package/types/shared/schema/us-private/types/index.d.ts +1 -0
  1015. package/types/shared/schema/utils.d.ts +14 -0
  1016. package/types/shared/server/axios.d.ts +8 -0
  1017. package/types/shared/types/bi-api/index.d.ts +1 -0
  1018. package/types/shared/types/bi-api/v2.d.ts +178 -0
  1019. package/types/shared/types/chartkit/common.d.ts +34 -0
  1020. package/types/shared/types/chartkit/dl-chartkit.d.ts +30 -0
  1021. package/types/shared/types/chartkit/gravity-charts/index.d.ts +9 -0
  1022. package/types/shared/types/chartkit/gravity-charts/scatter.d.ts +24 -0
  1023. package/types/shared/types/chartkit/index.d.ts +4 -0
  1024. package/types/shared/types/chartkit/table.d.ts +134 -0
  1025. package/types/shared/types/charts.d.ts +273 -0
  1026. package/types/shared/types/color-palettes.d.ts +7 -0
  1027. package/types/shared/types/common-update.d.ts +13 -0
  1028. package/types/shared/types/common.d.ts +301 -0
  1029. package/types/shared/types/config/ql/index.d.ts +22 -0
  1030. package/types/shared/types/config/ql/v1.d.ts +78 -0
  1031. package/types/shared/types/config/ql/v2.d.ts +79 -0
  1032. package/types/shared/types/config/ql/v3.d.ts +79 -0
  1033. package/types/shared/types/config/ql/v4.d.ts +80 -0
  1034. package/types/shared/types/config/ql/v5.d.ts +80 -0
  1035. package/types/shared/types/config/ql/v6.d.ts +80 -0
  1036. package/types/shared/types/config/ql/v7.d.ts +80 -0
  1037. package/types/shared/types/config/wizard/index.d.ts +58 -0
  1038. package/types/shared/types/config/wizard/v10.d.ts +262 -0
  1039. package/types/shared/types/config/wizard/v11.d.ts +276 -0
  1040. package/types/shared/types/config/wizard/v12.d.ts +283 -0
  1041. package/types/shared/types/config/wizard/v13.d.ts +282 -0
  1042. package/types/shared/types/config/wizard/v14.d.ts +283 -0
  1043. package/types/shared/types/config/wizard/v15.d.ts +283 -0
  1044. package/types/shared/types/config/wizard/v2.d.ts +239 -0
  1045. package/types/shared/types/config/wizard/v3.d.ts +242 -0
  1046. package/types/shared/types/config/wizard/v4.d.ts +253 -0
  1047. package/types/shared/types/config/wizard/v5.d.ts +253 -0
  1048. package/types/shared/types/config/wizard/v6.d.ts +253 -0
  1049. package/types/shared/types/config/wizard/v7.d.ts +254 -0
  1050. package/types/shared/types/config/wizard/v8.d.ts +258 -0
  1051. package/types/shared/types/config/wizard/v9.d.ts +260 -0
  1052. package/types/shared/types/configs/index.d.ts +1 -0
  1053. package/types/shared/types/connections.d.ts +21 -0
  1054. package/types/shared/types/dash.d.ts +324 -0
  1055. package/types/shared/types/dataset.d.ts +325 -0
  1056. package/types/shared/types/entry.d.ts +14 -0
  1057. package/types/shared/types/feature.d.ts +102 -0
  1058. package/types/shared/types/formatting.d.ts +22 -0
  1059. package/types/shared/types/index.d.ts +28 -0
  1060. package/types/shared/types/language.d.ts +1 -0
  1061. package/types/shared/types/menu.d.ts +27 -0
  1062. package/types/shared/types/meta-manager.d.ts +11 -0
  1063. package/types/shared/types/metrica.d.ts +5 -0
  1064. package/types/shared/types/notification.d.ts +5 -0
  1065. package/types/shared/types/permissions.d.ts +3 -0
  1066. package/types/shared/types/ql/common.d.ts +158 -0
  1067. package/types/shared/types/ql/versions.d.ts +9 -0
  1068. package/types/shared/types/typed-query-api/index.d.ts +1 -0
  1069. package/types/shared/types/typed-query-api/v1.d.ts +29 -0
  1070. package/types/shared/types/ui-sandbox.d.ts +5 -0
  1071. package/types/shared/types/utility-types.d.ts +28 -0
  1072. package/types/shared/types/widget.d.ts +47 -0
  1073. package/types/shared/types/wizard/background-settings.d.ts +14 -0
  1074. package/types/shared/types/wizard/bars.d.ts +54 -0
  1075. package/types/shared/types/wizard/column.d.ts +14 -0
  1076. package/types/shared/types/wizard/export.d.ts +10 -0
  1077. package/types/shared/types/wizard/field.d.ts +112 -0
  1078. package/types/shared/types/wizard/index.d.ts +421 -0
  1079. package/types/shared/types/wizard/misc.d.ts +58 -0
  1080. package/types/shared/types/wizard/placeholder.d.ts +50 -0
  1081. package/types/shared/types/wizard/sub-totals.d.ts +3 -0
  1082. package/types/shared/types/wizard/versions.d.ts +17 -0
  1083. package/types/shared/utils/array/assert-non-empty-array.d.ts +1 -0
  1084. package/types/shared/utils/array/index.d.ts +1 -0
  1085. package/types/shared/utils/dash.d.ts +6 -0
  1086. package/types/shared/utils/dataset.d.ts +12 -0
  1087. package/types/shared/utils/date-time.d.ts +2 -0
  1088. package/types/shared/utils/entry.d.ts +3 -0
  1089. package/types/shared/utils/feature.d.ts +8 -0
  1090. package/types/shared/utils/functions-registry.d.ts +5 -0
  1091. package/types/shared/utils/index.d.ts +8 -0
  1092. package/types/shared/utils/makeFunctionTemplate.d.ts +3 -0
  1093. package/types/shared/utils/manualError.d.ts +23 -0
  1094. package/types/shared/utils/markdown.d.ts +4 -0
  1095. package/types/shared/utils/markup.d.ts +4 -0
  1096. package/types/shared/utils/openapi/index.d.ts +1 -0
  1097. package/types/shared/utils/palettes.d.ts +6 -0
  1098. package/types/shared/utils/ui-sandbox.d.ts +5 -0
  1099. package/types/shared/utils/visualization-check.d.ts +12 -0
  1100. package/types/shared/utils/wizard.d.ts +4 -0
  1101. package/types/shared/zod-schemas/dash.d.ts +231 -0
  1102. package/types/shared/zod-schemas/entry.d.ts +6 -0
  1103. package/types/shared/zod-schemas/permissions.d.ts +7 -0
  1104. package/types/shared/zod-schemas/shared-entry-permissions.d.ts +13 -0
  1105. package/types/ui/capabilities/capabilities.d.ts +13 -0
  1106. package/types/ui/capabilities/index.d.ts +9 -0
  1107. package/types/ui/components/AccessRights/AccessRightsUrlOpen.d.ts +2 -0
  1108. package/types/ui/components/ActionPanel/ActionPanel.d.ts +101 -0
  1109. package/types/ui/components/ActionPanel/ActionPanelHelpers.d.ts +5 -0
  1110. package/types/ui/components/ActionPanel/components/ChartSaveControls/ChartSaveControl.d.ts +24 -0
  1111. package/types/ui/components/ActionPanel/components/ChartSaveControls/components/SaveButton/SaveButton.d.ts +10 -0
  1112. package/types/ui/components/ActionPanel/components/ChartSaveControls/components/SaveDropdown/SaveDropdown.d.ts +8 -0
  1113. package/types/ui/components/ActionPanel/components/ChartSaveControls/types.d.ts +20 -0
  1114. package/types/ui/components/ActionPanel/components/ChartSaveControls/useAdditionalItems.d.ts +6 -0
  1115. package/types/ui/components/ActionPanel/components/EntryPanel/EntryPanel.d.ts +199 -0
  1116. package/types/ui/components/ActionPanel/index.d.ts +2 -0
  1117. package/types/ui/components/ActionPanel/utils.d.ts +4 -0
  1118. package/types/ui/components/AdaptiveDialog/AdaptiveDialog.d.ts +19 -0
  1119. package/types/ui/components/AnimateBlock/AnimateBlock.d.ts +8 -0
  1120. package/types/ui/components/AnimateBlock/index.d.ts +1 -0
  1121. package/types/ui/components/AsideHeaderAdapter/AsideHeaderAdapter.d.ts +19 -0
  1122. package/types/ui/components/AsideHeaderAdapter/LogoText/LogoText.d.ts +7 -0
  1123. package/types/ui/components/AsideHeaderAdapter/Settings/Appearance/HighcontrastSettings.d.ts +7 -0
  1124. package/types/ui/components/AsideHeaderAdapter/Settings/Appearance/ThemeSettings.d.ts +6 -0
  1125. package/types/ui/components/AsideHeaderAdapter/Settings/ItemField/ItemField.d.ts +9 -0
  1126. package/types/ui/components/AsideHeaderAdapter/Settings/LanguageSettings.d.ts +3 -0
  1127. package/types/ui/components/AsideHeaderAdapter/Settings/Settings.d.ts +1 -0
  1128. package/types/ui/components/AsideHeaderAdapter/Settings/types.d.ts +9 -0
  1129. package/types/ui/components/AsideHeaderAdapter/Settings/utils.d.ts +16 -0
  1130. package/types/ui/components/AsideHeaderAdapter/VersionDialog/VersionDialog.d.ts +12 -0
  1131. package/types/ui/components/AsideHeaderAdapter/constants.d.ts +1 -0
  1132. package/types/ui/components/AsideHeaderAdapter/helpers.d.ts +1 -0
  1133. package/types/ui/components/AsideHeaderAdapter/index.d.ts +2 -0
  1134. package/types/ui/components/AsyncImage/AsyncImage.d.ts +11 -0
  1135. package/types/ui/components/AutogeneratedPaletteIcon/AutogeneratedPaletteIcon.d.ts +9 -0
  1136. package/types/ui/components/BetaMark/BetaMark.d.ts +6 -0
  1137. package/types/ui/components/Breadcrumbs/CollectionsStructureBreadcrumbs/CollectionsStructureBreadcrumbs.d.ts +6 -0
  1138. package/types/ui/components/BreadcrumbsItemLink/BreadcrumbsItemLink.d.ts +6 -0
  1139. package/types/ui/components/ButtonAttach/ButtonAttach.d.ts +14 -0
  1140. package/types/ui/components/Collapse/Collapse.d.ts +2 -0
  1141. package/types/ui/components/Collapse/types.d.ts +22 -0
  1142. package/types/ui/components/CollectionFilters/CollectionFilters.d.ts +31 -0
  1143. package/types/ui/components/CollectionFilters/index.d.ts +1 -0
  1144. package/types/ui/components/CollectionIcon/CollectionIcon.d.ts +8 -0
  1145. package/types/ui/components/CollectionsStructure/CollectionDialog/CollectionDialog.d.ts +20 -0
  1146. package/types/ui/components/CollectionsStructure/CollectionDialog/index.d.ts +1 -0
  1147. package/types/ui/components/CollectionsStructure/CollectionNoCreatePermissionDialog/CollectionNoCreatePermissionDialog.d.ts +13 -0
  1148. package/types/ui/components/CollectionsStructure/CollectionNoCreatePermissionDialog/index.d.ts +1 -0
  1149. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/CollectionStructureDialog.d.ts +30 -0
  1150. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/CreateEntityDialog/CreateEntityDialog.d.ts +10 -0
  1151. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/NewTitleDialog/NewTitleDialog.d.ts +10 -0
  1152. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/Item/Item.d.ts +10 -0
  1153. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/Item/index.d.ts +1 -0
  1154. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/StructureItemSelect.d.ts +24 -0
  1155. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/index.d.ts +1 -0
  1156. package/types/ui/components/CollectionsStructure/CollectionStructureDialog/index.d.ts +1 -0
  1157. package/types/ui/components/CollectionsStructure/CopyEntriesDialog.d.ts +13 -0
  1158. package/types/ui/components/CollectionsStructure/CopyWorkbookDialog.d.ts +15 -0
  1159. package/types/ui/components/CollectionsStructure/CreateCollectionDialog.d.ts +15 -0
  1160. package/types/ui/components/CollectionsStructure/CreateEntryInWorkbookDialog.d.ts +15 -0
  1161. package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/CreateWorkbookDialog.d.ts +26 -0
  1162. package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/ImportFileField/ImportFileField.d.ts +9 -0
  1163. package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/ImportWorkbookView/ImportWorkbookView.d.ts +7 -0
  1164. package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/utils.d.ts +4 -0
  1165. package/types/ui/components/CollectionsStructure/DeleteCollectionDialog.d.ts +15 -0
  1166. package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/DeleteCollectionsWorkbooksContent.d.ts +5 -0
  1167. package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/index.d.ts +1 -0
  1168. package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksDialog.d.ts +16 -0
  1169. package/types/ui/components/CollectionsStructure/DeleteDialog/DeleteDialog.d.ts +11 -0
  1170. package/types/ui/components/CollectionsStructure/DeleteDialog/index.d.ts +1 -0
  1171. package/types/ui/components/CollectionsStructure/DeleteWorkbookDialog.d.ts +15 -0
  1172. package/types/ui/components/CollectionsStructure/EditCollectionDialog.d.ts +17 -0
  1173. package/types/ui/components/CollectionsStructure/EditSharedEntryDialog.d.ts +15 -0
  1174. package/types/ui/components/CollectionsStructure/EditWorkbookDialog.d.ts +17 -0
  1175. package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/ExportInfo/ExportInfo.d.ts +1 -0
  1176. package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/ExportWorkbookDialog.d.ts +13 -0
  1177. package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/utils.d.ts +5 -0
  1178. package/types/ui/components/CollectionsStructure/MigrateEntryToWorkbookDialog.d.ts +12 -0
  1179. package/types/ui/components/CollectionsStructure/MoveCollectionDialog.d.ts +15 -0
  1180. package/types/ui/components/CollectionsStructure/MoveCollectionsWorkbooksDialog.d.ts +15 -0
  1181. package/types/ui/components/CollectionsStructure/MoveSharedEntryDialog.d.ts +15 -0
  1182. package/types/ui/components/CollectionsStructure/MoveWorkbookDialog.d.ts +15 -0
  1183. package/types/ui/components/CollectionsStructure/WorkbookDialog/WorkbookDialog.d.ts +26 -0
  1184. package/types/ui/components/CollectionsStructure/WorkbookDialog/index.d.ts +2 -0
  1185. package/types/ui/components/CollectionsStructure/WorkbookDialog/types.d.ts +4 -0
  1186. package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/EntriesNotificationCut.d.ts +27 -0
  1187. package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/helpers.d.ts +7 -0
  1188. package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/types.d.ts +12 -0
  1189. package/types/ui/components/CollectionsStructure/hooks/useCollectionEntityDialogState.d.ts +8 -0
  1190. package/types/ui/components/CollectionsStructure/hooks/useCollectionStructureDialogState.d.ts +19 -0
  1191. package/types/ui/components/CollectionsStructure/hooks/useNotificationsAndDetails.d.ts +12 -0
  1192. package/types/ui/components/CollectionsStructure/index.d.ts +17 -0
  1193. package/types/ui/components/CollectionsStructure/types.d.ts +7 -0
  1194. package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/ColorPaletteChartkitPreview.d.ts +3 -0
  1195. package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/types.d.ts +4 -0
  1196. package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/utils.d.ts +3 -0
  1197. package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteEditorContainer.d.ts +52 -0
  1198. package/types/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/ColorPalettesCard.d.ts +16 -0
  1199. package/types/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/DefaultPaletteSelect/DefaultPaletteSelect.d.ts +7 -0
  1200. package/types/ui/components/ColorPaletteEditorContainer/ColorTextInput/ColorTextInput.d.ts +11 -0
  1201. package/types/ui/components/ColorPaletteEditorContainer/GradientPaletteEditor/GradientPaletteEditor.d.ts +46 -0
  1202. package/types/ui/components/ColorPaletteEditorContainer/PaletteEditor/PaletteEditor.d.ts +49 -0
  1203. package/types/ui/components/ColorPaletteSelect/ColorPaletteSelect.d.ts +12 -0
  1204. package/types/ui/components/ColorPickerInput/ColorPickerInput.d.ts +22 -0
  1205. package/types/ui/components/ColorPickerInput/utils.d.ts +11 -0
  1206. package/types/ui/components/ConnectorIcon/ConnectorIcon.d.ts +7 -0
  1207. package/types/ui/components/ControlComponents/BackButton/BackButton.d.ts +3 -0
  1208. package/types/ui/components/ControlComponents/Dialog/Dialog.d.ts +11 -0
  1209. package/types/ui/components/ControlComponents/Sections/AppearanceSection/AppearanceSection.d.ts +2 -0
  1210. package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/ColorAccentRow/ColorAccentRow.d.ts +3 -0
  1211. package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/HintRow/HintRow.d.ts +3 -0
  1212. package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/InnerTitleRow/InnerTitleRow.d.ts +3 -0
  1213. package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/TitlePlacementRow/TitlePlacementRow.d.ts +3 -0
  1214. package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/TitleRow/TitleRow.d.ts +3 -0
  1215. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/CommonGroupSettingsSection.d.ts +6 -0
  1216. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/ConnectionSettings.d.ts +6 -0
  1217. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/ConnectionSelector/ConnectionSelector.d.ts +5 -0
  1218. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/ConnectionSelector/helpers.d.ts +5 -0
  1219. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/QueryTypeControl.d.ts +7 -0
  1220. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/components/EditLabelControl/EditLabelControl.d.ts +1 -0
  1221. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/components/EditQueryControl/EditQueryControl.d.ts +2 -0
  1222. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/helpers.d.ts +5 -0
  1223. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/helpers/get-distincts-by-typed-query.d.ts +12 -0
  1224. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/DatasetSelectorSettings/DatasetSelectorSettings.d.ts +7 -0
  1225. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/EntrySelector/EntrySelector.d.ts +23 -0
  1226. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ExternalSelectorSettings/ExternalSelectorSettings.d.ts +9 -0
  1227. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/CurrentTabOption/CurrentTabOption.d.ts +9 -0
  1228. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/ImpactTypeSelect.d.ts +11 -0
  1229. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/SelectedTabsOption/SelectedTabsOption.d.ts +4 -0
  1230. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/constants.d.ts +5 -0
  1231. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/helpers.d.ts +18 -0
  1232. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/useTabVisibilityValidation.d.ts +13 -0
  1233. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/InputTypeSelector/InputTypeSelector.d.ts +4 -0
  1234. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ParameterNameInput/ParameterNameInput.d.ts +7 -0
  1235. package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/helpers/input-type-select.d.ts +2 -0
  1236. package/types/ui/components/ControlComponents/Sections/Date/Acceptable/Acceptable.d.ts +24 -0
  1237. package/types/ui/components/ControlComponents/Sections/Date/Default/Default.d.ts +40 -0
  1238. package/types/ui/components/ControlComponents/Sections/OperationSelector/OperationSelector.d.ts +4 -0
  1239. package/types/ui/components/ControlComponents/Sections/ParametersSection/ParametersSection.d.ts +1 -0
  1240. package/types/ui/components/ControlComponents/Sections/Switchers/Button/Button.d.ts +10 -0
  1241. package/types/ui/components/ControlComponents/Sections/Switchers/DatasetField/DatasetField.d.ts +40 -0
  1242. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/Acceptable/Acceptable.d.ts +1 -0
  1243. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/Acceptable/SelectorValuesDialogBody.d.ts +13 -0
  1244. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ListValueControl.d.ts +12 -0
  1245. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/MultiselectableCheckbox.d.ts +3 -0
  1246. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/DynamicValueSelect.d.ts +6 -0
  1247. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/StaticValueSelect.d.ts +2 -0
  1248. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/hooks.d.ts +4 -0
  1249. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/types.d.ts +19 -0
  1250. package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/utils.d.ts +1 -0
  1251. package/types/ui/components/ControlComponents/Sections/ValueSelector/RequiredValueCheckbox/RequiredValueCheckbox.d.ts +3 -0
  1252. package/types/ui/components/ControlComponents/Sections/ValueSelector/ValueSelector.d.ts +5 -0
  1253. package/types/ui/components/ControlComponents/Sections/ValueSelector/helpers/get-distincts-by-dataset-field.d.ts +22 -0
  1254. package/types/ui/components/ControlComponents/Sections/Wrapper/Wrapper.d.ts +7 -0
  1255. package/types/ui/components/ControlComponents/SelectorPreview/SelectorPreview.d.ts +2 -0
  1256. package/types/ui/components/ControlComponents/SelectorTypeSelect/SelectorTypeSelect.d.ts +6 -0
  1257. package/types/ui/components/CopyEntriesToWorkbookDialog/CopyEntriesToWorkbookDialog.d.ts +13 -0
  1258. package/types/ui/components/CopyEntriesToWorkbookDialog/components/Body/Body.d.ts +7 -0
  1259. package/types/ui/components/CopyEntriesToWorkbookDialog/components/Body/index.d.ts +1 -0
  1260. package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntriesGroup/EntriesGroup.d.ts +10 -0
  1261. package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntriesGroup/index.d.ts +1 -0
  1262. package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/EntryRow.d.ts +16 -0
  1263. package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/index.d.ts +1 -0
  1264. package/types/ui/components/CopyEntriesToWorkbookDialog/index.d.ts +1 -0
  1265. package/types/ui/components/CopyEntriesToWorkbookDialog/utils.d.ts +4 -0
  1266. package/types/ui/components/DNDPane/DNDItem/DNDItem.d.ts +2 -0
  1267. package/types/ui/components/DNDPane/DNDPane.d.ts +13 -0
  1268. package/types/ui/components/DashKit/DashKit.d.ts +32 -0
  1269. package/types/ui/components/DashKit/constants.d.ts +22 -0
  1270. package/types/ui/components/DashKit/context/WidgetContext.d.ts +17 -0
  1271. package/types/ui/components/DashKit/helpers.d.ts +27 -0
  1272. package/types/ui/components/DashKit/plugins/Control/Control.d.ts +20 -0
  1273. package/types/ui/components/DashKit/plugins/Control/ControlItems/ControlItemSelect.d.ts +30 -0
  1274. package/types/ui/components/DashKit/plugins/Control/Error/Error.d.ts +7 -0
  1275. package/types/ui/components/DashKit/plugins/Control/constants.d.ts +9 -0
  1276. package/types/ui/components/DashKit/plugins/Control/prerenderMiddleware.d.ts +2 -0
  1277. package/types/ui/components/DashKit/plugins/Control/types.d.ts +134 -0
  1278. package/types/ui/components/DashKit/plugins/Control/utils.d.ts +75 -0
  1279. package/types/ui/components/DashKit/plugins/DebugInfoTool/DebugInfoTool.d.ts +12 -0
  1280. package/types/ui/components/DashKit/plugins/GroupControl/Control/Control.d.ts +27 -0
  1281. package/types/ui/components/DashKit/plugins/GroupControl/Control/store/reducer.d.ts +3 -0
  1282. package/types/ui/components/DashKit/plugins/GroupControl/Control/store/types.d.ts +75 -0
  1283. package/types/ui/components/DashKit/plugins/GroupControl/GroupControl.d.ts +18 -0
  1284. package/types/ui/components/DashKit/plugins/GroupControl/types.d.ts +28 -0
  1285. package/types/ui/components/DashKit/plugins/GroupControl/utils.d.ts +19 -0
  1286. package/types/ui/components/DashKit/plugins/Image/Image.d.ts +12 -0
  1287. package/types/ui/components/DashKit/plugins/RendererWrapper/RendererWrapper.d.ts +13 -0
  1288. package/types/ui/components/DashKit/plugins/Text/Text.d.ts +9 -0
  1289. package/types/ui/components/DashKit/plugins/Title/AnchorLink/AnchorLink.d.ts +6 -0
  1290. package/types/ui/components/DashKit/plugins/Title/Title.d.ts +14 -0
  1291. package/types/ui/components/DashKit/plugins/Title/constants.d.ts +2 -0
  1292. package/types/ui/components/DashKit/plugins/Title/utils.d.ts +12 -0
  1293. package/types/ui/components/DashKit/plugins/Widget/WidgetPlugin.d.ts +10 -0
  1294. package/types/ui/components/DashKit/plugins/Widget/components/Footer.d.ts +7 -0
  1295. package/types/ui/components/DashKit/plugins/Widget/components/Header.d.ts +15 -0
  1296. package/types/ui/components/DashKit/plugins/Widget/components/helpers.d.ts +3 -0
  1297. package/types/ui/components/DashKit/plugins/Widget/store/actions.d.ts +17 -0
  1298. package/types/ui/components/DashKit/plugins/Widget/store/reducer.d.ts +3 -0
  1299. package/types/ui/components/DashKit/plugins/Widget/types.d.ts +50 -0
  1300. package/types/ui/components/DashKit/plugins/types.d.ts +41 -0
  1301. package/types/ui/components/DashKit/utils.d.ts +39 -0
  1302. package/types/ui/components/DataTypeIcon/DataTypeIcon.d.ts +10 -0
  1303. package/types/ui/components/DatasetFieldList/DatasetFieldList.d.ts +10 -0
  1304. package/types/ui/components/DebouncedInput/DebouncedInput.d.ts +28 -0
  1305. package/types/ui/components/DebouncedInput/index.d.ts +1 -0
  1306. package/types/ui/components/DialogAddSharedEntryFromLink/DialogAddSharedEntryFromLink.d.ts +15 -0
  1307. package/types/ui/components/DialogChartWidget/DialogChartWidget.d.ts +30 -0
  1308. package/types/ui/components/DialogCommon/DialogCommon.d.ts +74 -0
  1309. package/types/ui/components/DialogConfirm/DialogConfirm.d.ts +84 -0
  1310. package/types/ui/components/DialogDefault/DialogDefault.d.ts +23 -0
  1311. package/types/ui/components/DialogEditItem/DialogEditItem.d.ts +69 -0
  1312. package/types/ui/components/DialogEntryDescription/DialogEntryDescription.d.ts +3 -0
  1313. package/types/ui/components/DialogEntryDescription/DialogEntryDescriptionWrapper.d.ts +7 -0
  1314. package/types/ui/components/DialogEntryDescription/EntryDescriptionButton.d.ts +13 -0
  1315. package/types/ui/components/DialogEntryDescription/index.d.ts +3 -0
  1316. package/types/ui/components/DialogErrorWithTabs/DebugInfo/DebugInfo.d.ts +9 -0
  1317. package/types/ui/components/DialogErrorWithTabs/DialogErrorWithTabs.d.ts +20 -0
  1318. package/types/ui/components/DialogErrorWithTabs/ErrorText/ErrorText.d.ts +7 -0
  1319. package/types/ui/components/DialogErrorWithTabs/Tabs/DatabaseRequestTab/DatabaseRequestTab.d.ts +6 -0
  1320. package/types/ui/components/DialogErrorWithTabs/Tabs/DatabaseResponseTab/DatabaseResponseTab.d.ts +6 -0
  1321. package/types/ui/components/DialogErrorWithTabs/Tabs/DebugTab/DebugTab.d.ts +8 -0
  1322. package/types/ui/components/DialogErrorWithTabs/Tabs/DebugTab/utils.d.ts +1 -0
  1323. package/types/ui/components/DialogErrorWithTabs/Tabs/DocumentationTab/DocumentationTab.d.ts +6 -0
  1324. package/types/ui/components/DialogExternalControl/DialogExternalControl.d.ts +66 -0
  1325. package/types/ui/components/DialogFieldEditor/DialogFieldEditor.d.ts +24 -0
  1326. package/types/ui/components/DialogFilter/BooleanFilter/BooleanFilter.d.ts +8 -0
  1327. package/types/ui/components/DialogFilter/DateFilter/DateFilter.d.ts +12 -0
  1328. package/types/ui/components/DialogFilter/DialogFilter.d.ts +88 -0
  1329. package/types/ui/components/DialogFilter/InputFilter/InputFilter.d.ts +9 -0
  1330. package/types/ui/components/DialogFilter/SelectFilter/SelectFilter.d.ts +35 -0
  1331. package/types/ui/components/DialogFilter/constants.d.ts +15 -0
  1332. package/types/ui/components/DialogFilter/typings.d.ts +8 -0
  1333. package/types/ui/components/DialogFilter/utils.d.ts +6 -0
  1334. package/types/ui/components/DialogGroupControl/DialogGroupControl.d.ts +19 -0
  1335. package/types/ui/components/DialogGroupControl/GroupControlBody/GroupControlBody.d.ts +7 -0
  1336. package/types/ui/components/DialogGroupControl/GroupControlBody/SimilarSelectorsBlock/SimilarSelectorsBlock.d.ts +1 -0
  1337. package/types/ui/components/DialogGroupControl/GroupControlFooter/GroupControlFooter.d.ts +7 -0
  1338. package/types/ui/components/DialogGroupControl/GroupControlSidebar/GroupControlSidebar.d.ts +6 -0
  1339. package/types/ui/components/DialogGroupControl/GroupControlSidebar/TabItemWrapper/TabItemWrapper.d.ts +6 -0
  1340. package/types/ui/components/DialogGroupControl/GroupExtendedSettings/ControlPlacementRow.d.ts +13 -0
  1341. package/types/ui/components/DialogGroupControl/GroupExtendedSettings/GroupExtendedSettings.d.ts +11 -0
  1342. package/types/ui/components/DialogGroupControl/hooks/useSimilarSelectorsActions.d.ts +12 -0
  1343. package/types/ui/components/DialogImageWidget/DialogImageWidget.d.ts +18 -0
  1344. package/types/ui/components/DialogImageWidget/index.d.ts +1 -0
  1345. package/types/ui/components/DialogManager/DialogManager.d.ts +6 -0
  1346. package/types/ui/components/DialogManager/DialogManagerContainer.d.ts +2 -0
  1347. package/types/ui/components/DialogNoRights/DialogNoRights.d.ts +11 -0
  1348. package/types/ui/components/DialogParameter/DefaultValueSection.d.ts +9 -0
  1349. package/types/ui/components/DialogParameter/DialogParameter.d.ts +15 -0
  1350. package/types/ui/components/DialogParameter/TemplateSection.d.ts +8 -0
  1351. package/types/ui/components/DialogParameter/helpers.d.ts +7 -0
  1352. package/types/ui/components/DialogParameter/useParameterForm.d.ts +20 -0
  1353. package/types/ui/components/DialogParameter/useParameterTooltipMarkdown.d.ts +5 -0
  1354. package/types/ui/components/DialogParameter/useValidationErrors.d.ts +8 -0
  1355. package/types/ui/components/DialogQLParameter/DialogQLParameter.d.ts +27 -0
  1356. package/types/ui/components/DialogRelatedEntities/DialogRelatedEntities.d.ts +7 -0
  1357. package/types/ui/components/DialogRelatedEntities/constants.d.ts +5 -0
  1358. package/types/ui/components/DialogRelations/DialogRelations.d.ts +21 -0
  1359. package/types/ui/components/DialogRelations/components/Content/Content.d.ts +17 -0
  1360. package/types/ui/components/DialogRelations/components/Content/Row.d.ts +35 -0
  1361. package/types/ui/components/DialogRelations/components/Content/helpers.d.ts +7 -0
  1362. package/types/ui/components/DialogRelations/components/DialogAliases/DialogAliases.d.ts +12 -0
  1363. package/types/ui/components/DialogRelations/components/DialogAliases/components/AddAliases/AddAliases.d.ts +14 -0
  1364. package/types/ui/components/DialogRelations/components/DialogAliases/components/AddAliases/helpers.d.ts +26 -0
  1365. package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesDetail/AliasesDetail.d.ts +11 -0
  1366. package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesList/AliasesInvalidList.d.ts +10 -0
  1367. package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesList/AliasesList.d.ts +32 -0
  1368. package/types/ui/components/DialogRelations/components/Filters/Filters.d.ts +6 -0
  1369. package/types/ui/components/DialogRelations/constants.d.ts +26 -0
  1370. package/types/ui/components/DialogRelations/helpers.d.ts +37 -0
  1371. package/types/ui/components/DialogRelations/hooks/helpers.d.ts +109 -0
  1372. package/types/ui/components/DialogRelations/hooks/helpersChart.d.ts +30 -0
  1373. package/types/ui/components/DialogRelations/hooks/helpersControls.d.ts +25 -0
  1374. package/types/ui/components/DialogRelations/hooks/helpersDatasets.d.ts +6 -0
  1375. package/types/ui/components/DialogRelations/hooks/useFilteredRelations.d.ts +11 -0
  1376. package/types/ui/components/DialogRelations/hooks/useRelations.d.ts +20 -0
  1377. package/types/ui/components/DialogRelations/types.d.ts +81 -0
  1378. package/types/ui/components/DialogSelectSharedEntry/DialogSelectSharedEntry.d.ts +16 -0
  1379. package/types/ui/components/DialogSharedEntryBindings/DialogSharedEntryBindings.d.ts +16 -0
  1380. package/types/ui/components/DialogSharedEntryBindings/components/DeleteAlert.d.ts +11 -0
  1381. package/types/ui/components/DialogSharedEntryBindings/components/DirectionControl.d.ts +7 -0
  1382. package/types/ui/components/DialogSharedEntryBindings/components/Relations.d.ts +18 -0
  1383. package/types/ui/components/DialogSharedEntryBindings/components/SharedBindingsFooter.d.ts +9 -0
  1384. package/types/ui/components/DialogSharedEntryBindings/components/SharedBindingsHeader.d.ts +7 -0
  1385. package/types/ui/components/DialogSharedEntryBindings/constants.d.ts +9 -0
  1386. package/types/ui/components/DialogSharedEntryBindings/hooks/useSharedEntryBindings.d.ts +21 -0
  1387. package/types/ui/components/DialogSharedEntryBindings/types.d.ts +9 -0
  1388. package/types/ui/components/DialogSharedEntryBindings/utils.d.ts +5 -0
  1389. package/types/ui/components/DialogSharedEntryPermissions/DialogSharedEntryPermissions.d.ts +18 -0
  1390. package/types/ui/components/DialogSharedEntryPermissions/components/PermissionButton/PermissionButton.d.ts +11 -0
  1391. package/types/ui/components/DialogSharedEntryUnbind/DialogSharedEntryUnbind.d.ts +17 -0
  1392. package/types/ui/components/DialogSharedEntryUnbind/constants.d.ts +21 -0
  1393. package/types/ui/components/DialogSharedRelatedEntities/DialogSharedRelatedEntities.d.ts +21 -0
  1394. package/types/ui/components/DialogSuccessWithAction/DialogSuccessWithAction.d.ts +8 -0
  1395. package/types/ui/components/DialogTextWidget/DialogTextWidget.d.ts +19 -0
  1396. package/types/ui/components/DialogTextWidget/index.d.ts +2 -0
  1397. package/types/ui/components/DialogTitleWidget/DialogTitleWidget.d.ts +22 -0
  1398. package/types/ui/components/DialogTitleWidget/useColorSettings.d.ts +41 -0
  1399. package/types/ui/components/DialogWarning/DialogWarning.d.ts +80 -0
  1400. package/types/ui/components/DragAndDrop/DragAndDrop.d.ts +6 -0
  1401. package/types/ui/components/DropdownAction/DropdownAction.d.ts +9 -0
  1402. package/types/ui/components/DropdownNavigation/DropdownNavigation.d.ts +44 -0
  1403. package/types/ui/components/EditableText/EditableText.d.ts +8 -0
  1404. package/types/ui/components/EntitiesList/EntitiesList.d.ts +2 -0
  1405. package/types/ui/components/EntitiesList/types.d.ts +27 -0
  1406. package/types/ui/components/EntityIcon/EntityIcon.d.ts +33 -0
  1407. package/types/ui/components/EntityLink/EntityLink.d.ts +8 -0
  1408. package/types/ui/components/EntityRow/EntityRow.d.ts +11 -0
  1409. package/types/ui/components/EntriesList/EntriesList.d.ts +7 -0
  1410. package/types/ui/components/EntriesList/Item/Item.d.ts +8 -0
  1411. package/types/ui/components/EntriesList/types.d.ts +5 -0
  1412. package/types/ui/components/EntryBreadcrumbs/EntryBreadcrumbs.d.ts +2 -0
  1413. package/types/ui/components/EntryBreadcrumbs/helpers.d.ts +11 -0
  1414. package/types/ui/components/EntryContextMenu/EntryContextMenu.d.ts +65 -0
  1415. package/types/ui/components/EntryContextMenu/EntryContextMenuBase/EntryContextMenuBase.d.ts +17 -0
  1416. package/types/ui/components/EntryContextMenu/constants.d.ts +32 -0
  1417. package/types/ui/components/EntryContextMenu/helpers.d.ts +48 -0
  1418. package/types/ui/components/EntryContextMenu/index.d.ts +3 -0
  1419. package/types/ui/components/EntryContextMenu/types.d.ts +37 -0
  1420. package/types/ui/components/EntryContextMenu/utils.d.ts +2 -0
  1421. package/types/ui/components/EntryContextMenu/withConfiguredEntryContextMenu/helpers.d.ts +2 -0
  1422. package/types/ui/components/EntryContextMenu/withConfiguredEntryContextMenu/withConfiguredEntryContextMenu.d.ts +14 -0
  1423. package/types/ui/components/EntryDialogues/DialogAccess/DialogAccess.d.ts +8 -0
  1424. package/types/ui/components/EntryDialogues/DialogAccessDescription/DialogAccessDescription.d.ts +16 -0
  1425. package/types/ui/components/EntryDialogues/DialogCopyEntry/DialogCopyEntry.d.ts +42 -0
  1426. package/types/ui/components/EntryDialogues/DialogCopyEntry/index.d.ts +2 -0
  1427. package/types/ui/components/EntryDialogues/DialogCreateDashboard/DialogCreateDashboard.d.ts +32 -0
  1428. package/types/ui/components/EntryDialogues/DialogCreateDashboard/index.d.ts +2 -0
  1429. package/types/ui/components/EntryDialogues/DialogCreateEditorChart/DialogCreateEditorChart.d.ts +33 -0
  1430. package/types/ui/components/EntryDialogues/DialogCreateEditorChart/index.d.ts +2 -0
  1431. package/types/ui/components/EntryDialogues/DialogCreateFolder/DialogCreateFolder.d.ts +27 -0
  1432. package/types/ui/components/EntryDialogues/DialogCreateFolder/index.d.ts +2 -0
  1433. package/types/ui/components/EntryDialogues/DialogCreateQLChart/DialogCreateQLChart.d.ts +35 -0
  1434. package/types/ui/components/EntryDialogues/DialogCreateQLChart/index.d.ts +2 -0
  1435. package/types/ui/components/EntryDialogues/DialogCreateWizardChart/DialogCreateWizardChart.d.ts +35 -0
  1436. package/types/ui/components/EntryDialogues/DialogCreateWizardChart/index.d.ts +2 -0
  1437. package/types/ui/components/EntryDialogues/DialogCreateWorkbookEntry/DialogCreateWorkbookEntry.d.ts +51 -0
  1438. package/types/ui/components/EntryDialogues/DialogDeleteEntry/DialogDeleteEntry.d.ts +38 -0
  1439. package/types/ui/components/EntryDialogues/DialogDeleteEntry/index.d.ts +2 -0
  1440. package/types/ui/components/EntryDialogues/DialogEditFavoritesAlias/DialogEditFavoritesAlias.d.ts +7 -0
  1441. package/types/ui/components/EntryDialogues/DialogEditFavoritesAlias/index.d.ts +1 -0
  1442. package/types/ui/components/EntryDialogues/DialogEditWarning/DialogEditWarning.d.ts +22 -0
  1443. package/types/ui/components/EntryDialogues/DialogEntrySaveAsNew/DialogEntrySaveAsNew.d.ts +33 -0
  1444. package/types/ui/components/EntryDialogues/DialogEntrySaveAsNew/index.d.ts +2 -0
  1445. package/types/ui/components/EntryDialogues/DialogMakeActualConfirm/DialogMakeActualConfirm.d.ts +25 -0
  1446. package/types/ui/components/EntryDialogues/DialogMigrateToWorkbook/DialogMigrateToWorkbook.d.ts +6 -0
  1447. package/types/ui/components/EntryDialogues/DialogMigrateToWorkbook/index.d.ts +1 -0
  1448. package/types/ui/components/EntryDialogues/DialogMoveEntry/DialogMoveEntry.d.ts +28 -0
  1449. package/types/ui/components/EntryDialogues/DialogMoveEntry/index.d.ts +2 -0
  1450. package/types/ui/components/EntryDialogues/DialogRenameEntry/DialogRenameEntry.d.ts +40 -0
  1451. package/types/ui/components/EntryDialogues/DialogRenameEntry/index.d.ts +2 -0
  1452. package/types/ui/components/EntryDialogues/DialogShareEntry/DialogShareEntry.d.ts +6 -0
  1453. package/types/ui/components/EntryDialogues/DialogShareEntry/index.d.ts +1 -0
  1454. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/AlertTooltip/AlertTooltip.d.ts +8 -0
  1455. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/AuthorSection/AuthorSection.d.ts +15 -0
  1456. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/ContentError/ContentError.d.ts +9 -0
  1457. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/ContentLoader/ContentLoader.d.ts +4 -0
  1458. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/CurrentEntrySection/CurrentEntrySection.d.ts +12 -0
  1459. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/DialogAlert/DialogAlert.d.ts +67 -0
  1460. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/DialogPublic.d.ts +8 -0
  1461. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/RelationsList/RelationsList.d.ts +13 -0
  1462. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/SharedLink/SharedLink.d.ts +8 -0
  1463. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/constants.d.ts +9 -0
  1464. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/helpers.d.ts +1 -0
  1465. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/types.d.ts +111 -0
  1466. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/useDialogPublicState.d.ts +36 -0
  1467. package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogSwitchPublic.d.ts +7 -0
  1468. package/types/ui/components/EntryDialogues/DialogSwitchPublic/index.d.ts +2 -0
  1469. package/types/ui/components/EntryDialogues/DialogUnlock/DialogUnlock.d.ts +8 -0
  1470. package/types/ui/components/EntryDialogues/DialogUnlock/index.d.ts +2 -0
  1471. package/types/ui/components/EntryDialogues/EntryDialogBase/EntryDialogBase.d.ts +62 -0
  1472. package/types/ui/components/EntryDialogues/EntryDialogues.d.ts +95 -0
  1473. package/types/ui/components/EntryDialogues/constants.d.ts +4 -0
  1474. package/types/ui/components/EntryDialogues/index.d.ts +6 -0
  1475. package/types/ui/components/EntryDialogues/types.d.ts +12 -0
  1476. package/types/ui/components/EntryDialogues/utils.d.ts +1 -0
  1477. package/types/ui/components/EntryIcon/EntryIcon.d.ts +17 -0
  1478. package/types/ui/components/EntryRow/EntryRow.d.ts +31 -0
  1479. package/types/ui/components/EntrySuggest/EntrySuggest.d.ts +10 -0
  1480. package/types/ui/components/EntrySuggest/types.d.ts +12 -0
  1481. package/types/ui/components/EntryTitle/EntryTitle.d.ts +13 -0
  1482. package/types/ui/components/EntryTitle/index.d.ts +2 -0
  1483. package/types/ui/components/EntryTitle/types.d.ts +6 -0
  1484. package/types/ui/components/EntryTitle/utils.d.ts +2 -0
  1485. package/types/ui/components/ErrorBoundary/ErrorBoundary.d.ts +17 -0
  1486. package/types/ui/components/ErrorContent/DebugInfo/DebugInfo.d.ts +7 -0
  1487. package/types/ui/components/ErrorContent/ErrorContent.d.ts +70 -0
  1488. package/types/ui/components/ErrorPage/ErrorPage.d.ts +13 -0
  1489. package/types/ui/components/ErrorPage/withErrorPage.d.ts +63 -0
  1490. package/types/ui/components/ExpandablePanel/ExpandablePanel.d.ts +10 -0
  1491. package/types/ui/components/FieldEditor/FieldEditor.d.ts +81 -0
  1492. package/types/ui/components/FieldEditor/components/DocSection.d.ts +44 -0
  1493. package/types/ui/components/FieldEditor/components/FormulaSection.d.ts +39 -0
  1494. package/types/ui/components/FieldEditor/components/NameHeader.d.ts +6 -0
  1495. package/types/ui/components/FieldEditor/components/Settings.d.ts +15 -0
  1496. package/types/ui/components/FieldEditor/components/SourceSection.d.ts +14 -0
  1497. package/types/ui/components/FieldEditor/components/helpers.d.ts +4 -0
  1498. package/types/ui/components/FieldEditor/constants.d.ts +18 -0
  1499. package/types/ui/components/FieldEditor/index.d.ts +17 -0
  1500. package/types/ui/components/FieldEditor/typings.d.ts +13 -0
  1501. package/types/ui/components/FieldEditor/utils.d.ts +8 -0
  1502. package/types/ui/components/FieldWrapper/FieldWrapper.d.ts +7 -0
  1503. package/types/ui/components/FloatMenu/FloatMenu.d.ts +8 -0
  1504. package/types/ui/components/FormSection/FormSection.d.ts +9 -0
  1505. package/types/ui/components/FormattedValue/FormattedValue.d.ts +18 -0
  1506. package/types/ui/components/IamAccessDialog/AccessList/AccessList.d.ts +18 -0
  1507. package/types/ui/components/IamAccessDialog/AccessList/ActionPanel/ActionPanel.d.ts +11 -0
  1508. package/types/ui/components/IamAccessDialog/AccessList/Block/Block.d.ts +10 -0
  1509. package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/Controls/Controls.d.ts +15 -0
  1510. package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/DirectAccessesTable.d.ts +17 -0
  1511. package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/utils.d.ts +2 -0
  1512. package/types/ui/components/IamAccessDialog/AccessList/Filters/Filters.d.ts +11 -0
  1513. package/types/ui/components/IamAccessDialog/AccessList/InheritedAccessesTable/InheritedAccessesTable.d.ts +13 -0
  1514. package/types/ui/components/IamAccessDialog/AddSubjects/ActionPanel/ActionPanel.d.ts +14 -0
  1515. package/types/ui/components/IamAccessDialog/AddSubjects/AddSubjects.d.ts +12 -0
  1516. package/types/ui/components/IamAccessDialog/AddSubjects/SubjectsList/SubjectsList.d.ts +7 -0
  1517. package/types/ui/components/IamAccessDialog/IamAccessDialog.d.ts +8 -0
  1518. package/types/ui/components/IamAccessDialog/IamAccessDialogComponent.d.ts +3 -0
  1519. package/types/ui/components/IamAccessDialog/ResourceInfo/ResourceInfo.d.ts +8 -0
  1520. package/types/ui/components/IamAccessDialog/constants.d.ts +1 -0
  1521. package/types/ui/components/IamAccessDialog/index.d.ts +1 -0
  1522. package/types/ui/components/IamAccessDialog/utils.d.ts +10 -0
  1523. package/types/ui/components/IconById/IconById.d.ts +6 -0
  1524. package/types/ui/components/Illustration/Illustration.d.ts +2 -0
  1525. package/types/ui/components/Illustration/context.d.ts +2 -0
  1526. package/types/ui/components/Illustration/getIllustrationStore.d.ts +28 -0
  1527. package/types/ui/components/Illustration/getRebrandingIllustrationStore.d.ts +28 -0
  1528. package/types/ui/components/Illustration/types.d.ts +14 -0
  1529. package/types/ui/components/Illustration/utils.d.ts +2 -0
  1530. package/types/ui/components/InaccessibleOnMobileInset/InaccessibleOnMobileInset.d.ts +1 -0
  1531. package/types/ui/components/Interpolate/Interpolate.d.ts +8 -0
  1532. package/types/ui/components/Interpolate/index.d.ts +2 -0
  1533. package/types/ui/components/Interpolate/utils.d.ts +3 -0
  1534. package/types/ui/components/InterpolatedText/InterpolatedText.d.ts +11 -0
  1535. package/types/ui/components/LandingPage/LandingPage.d.ts +1 -0
  1536. package/types/ui/components/ListWithMenu/ListWithMenu.d.ts +22 -0
  1537. package/types/ui/components/ListWithRemove/ListWithRemove.d.ts +10 -0
  1538. package/types/ui/components/LocationChange/LocationChange.d.ts +6 -0
  1539. package/types/ui/components/MarkdownControl/MarkdownControl.d.ts +2 -0
  1540. package/types/ui/components/MarkdownHelpPopover/Content.d.ts +6 -0
  1541. package/types/ui/components/MarkdownHelpPopover/MarkdownHelpPopover.d.ts +10 -0
  1542. package/types/ui/components/Markup/Markup.d.ts +9 -0
  1543. package/types/ui/components/Markup/components/MarkupTooltip/MarkupTooltip.d.ts +11 -0
  1544. package/types/ui/components/Markup/components/UserInfo/UserInfo.d.ts +9 -0
  1545. package/types/ui/components/Markup/components/index.d.ts +2 -0
  1546. package/types/ui/components/Markup/index.d.ts +1 -0
  1547. package/types/ui/components/Markup/types.d.ts +9 -0
  1548. package/types/ui/components/Markup/utils.d.ts +1 -0
  1549. package/types/ui/components/MigrateToWorkbookDialog/MigrateToWorkbookDialog.d.ts +14 -0
  1550. package/types/ui/components/MigrateToWorkbookDialog/components/Body/Body.d.ts +10 -0
  1551. package/types/ui/components/MigrateToWorkbookDialog/components/Body/index.d.ts +1 -0
  1552. package/types/ui/components/MigrateToWorkbookDialog/components/EntriesGroup/EntriesGroup.d.ts +10 -0
  1553. package/types/ui/components/MigrateToWorkbookDialog/components/EntriesGroup/index.d.ts +1 -0
  1554. package/types/ui/components/MigrateToWorkbookDialog/components/EntryRow/EntryRow.d.ts +15 -0
  1555. package/types/ui/components/MigrateToWorkbookDialog/components/EntryRow/index.d.ts +1 -0
  1556. package/types/ui/components/MigrateToWorkbookDialog/index.d.ts +1 -0
  1557. package/types/ui/components/MobileHeader/MobileHeader.d.ts +1 -0
  1558. package/types/ui/components/MobileHeader/MobileHeaderComponent/BurgerMenuFooter/BurgerMenuFooter.d.ts +1 -0
  1559. package/types/ui/components/MobileHeader/MobileHeaderComponent/MobileHeaderComponent.d.ts +2 -0
  1560. package/types/ui/components/MobileHeader/MobileHeaderComponent/UserPanel/UserPanel.d.ts +1 -0
  1561. package/types/ui/components/MobileHeader/constants.d.ts +1 -0
  1562. package/types/ui/components/MobileTocToggle/MobileTocToggle.d.ts +3 -0
  1563. package/types/ui/components/Monaco/LazyMonaco.d.ts +5 -0
  1564. package/types/ui/components/Monaco/Monaco.d.ts +19 -0
  1565. package/types/ui/components/Navigation/Base/NavigationBase.d.ts +85 -0
  1566. package/types/ui/components/Navigation/Base/configure.d.ts +133 -0
  1567. package/types/ui/components/Navigation/Base/types.d.ts +8 -0
  1568. package/types/ui/components/Navigation/Base/utils.d.ts +1 -0
  1569. package/types/ui/components/Navigation/Core/CreateEntry/CreateEntry.d.ts +18 -0
  1570. package/types/ui/components/Navigation/Core/CreateEntry/getCreateEntryItems.d.ts +3 -0
  1571. package/types/ui/components/Navigation/Core/EntryContextButton/EntryContextButton.d.ts +14 -0
  1572. package/types/ui/components/Navigation/Core/ErrorView/ErrorView.d.ts +7 -0
  1573. package/types/ui/components/Navigation/Core/FavoritesNameWithAliasItem/FavoritesNameWithAliasItem.d.ts +11 -0
  1574. package/types/ui/components/Navigation/Core/NavigationBreadcrumbs/BreadcrumbMenu.d.ts +17 -0
  1575. package/types/ui/components/Navigation/Core/NavigationBreadcrumbs/NavigationBreadcrumbs.d.ts +25 -0
  1576. package/types/ui/components/Navigation/Core/NavigationEntries.d.ts +113 -0
  1577. package/types/ui/components/Navigation/Core/NavigationInline.d.ts +33 -0
  1578. package/types/ui/components/Navigation/Core/NavigationMinimal.d.ts +43 -0
  1579. package/types/ui/components/Navigation/Core/NavigationModal.d.ts +54 -0
  1580. package/types/ui/components/Navigation/Core/OrderSelect/OrderSelect.d.ts +9 -0
  1581. package/types/ui/components/Navigation/Core/SearchInput/SearchInput.d.ts +13 -0
  1582. package/types/ui/components/Navigation/Core/Sidebar/Sidebar.d.ts +22 -0
  1583. package/types/ui/components/Navigation/Core/TableView/BatchDialog/BatchDialog.d.ts +12 -0
  1584. package/types/ui/components/Navigation/Core/TableView/List/List.d.ts +15 -0
  1585. package/types/ui/components/Navigation/Core/TableView/Row/Row.d.ts +25 -0
  1586. package/types/ui/components/Navigation/Core/TableView/Row/RowHeader.d.ts +4 -0
  1587. package/types/ui/components/Navigation/Core/TableView/TableView.d.ts +2 -0
  1588. package/types/ui/components/Navigation/Core/TableView/types.d.ts +47 -0
  1589. package/types/ui/components/Navigation/Core/TableView/useBatchSelect.d.ts +4 -0
  1590. package/types/ui/components/Navigation/NavigationMinimal.d.ts +32 -0
  1591. package/types/ui/components/Navigation/NavigationModal.d.ts +13 -0
  1592. package/types/ui/components/Navigation/PlaceSelect/PlaceSelect.d.ts +21 -0
  1593. package/types/ui/components/Navigation/components/BatchPanel/BatchPanel.d.ts +8 -0
  1594. package/types/ui/components/Navigation/components/EmptyState/EmptyState.d.ts +9 -0
  1595. package/types/ui/components/Navigation/components/EmptyState/utils.d.ts +2 -0
  1596. package/types/ui/components/Navigation/constants.d.ts +24 -0
  1597. package/types/ui/components/Navigation/dialogs/BatchMove/AccessError/AccessError.d.ts +9 -0
  1598. package/types/ui/components/Navigation/dialogs/BatchMove/BatchMove.d.ts +9 -0
  1599. package/types/ui/components/Navigation/dialogs/BatchMove/MoveError/MoveError.d.ts +9 -0
  1600. package/types/ui/components/Navigation/dialogs/BatchMove/SelectDestination/SelectDestination.d.ts +7 -0
  1601. package/types/ui/components/Navigation/dialogs/BatchMove/types.d.ts +5 -0
  1602. package/types/ui/components/Navigation/hoc/resolveNavigationPath.d.ts +10 -0
  1603. package/types/ui/components/Navigation/index.d.ts +4 -0
  1604. package/types/ui/components/Navigation/settings.d.ts +11 -0
  1605. package/types/ui/components/Navigation/types.d.ts +48 -0
  1606. package/types/ui/components/Navigation/util.d.ts +10 -0
  1607. package/types/ui/components/NavigationPrompt/NavigationPrompt.d.ts +6 -0
  1608. package/types/ui/components/NavigationTabs/NavigationTabs.d.ts +12 -0
  1609. package/types/ui/components/NumberFormatSettings/NumberFormatSettings.d.ts +10 -0
  1610. package/types/ui/components/NumberFormatSettings/NumberInput/NumberInput.d.ts +10 -0
  1611. package/types/ui/components/OpenDialogNeedReset/OpenDialogNeedReset.d.ts +5 -0
  1612. package/types/ui/components/OrderBySelect/OrderBySelect.d.ts +12 -0
  1613. package/types/ui/components/OrderBySelect/constants.d.ts +6 -0
  1614. package/types/ui/components/OrderBySelect/index.d.ts +3 -0
  1615. package/types/ui/components/OrderBySelect/types.d.ts +10 -0
  1616. package/types/ui/components/PageTitle/PageTitle.d.ts +11 -0
  1617. package/types/ui/components/PageTitle/index.d.ts +2 -0
  1618. package/types/ui/components/PageTitle/usePageTitle.d.ts +13 -0
  1619. package/types/ui/components/PaletteIcon/PaletteIcon.d.ts +12 -0
  1620. package/types/ui/components/PaletteItem/PaletteItem.d.ts +15 -0
  1621. package/types/ui/components/PathSelect/PathSelect.d.ts +34 -0
  1622. package/types/ui/components/Picture/Picture.d.ts +7 -0
  1623. package/types/ui/components/PlaceholderIllustration/PlaceholderIllustration.d.ts +2 -0
  1624. package/types/ui/components/PlaceholderIllustration/types.d.ts +11 -0
  1625. package/types/ui/components/Progress/DialogCounterProgress.d.ts +10 -0
  1626. package/types/ui/components/ProgressBar/ProgressBar.d.ts +8 -0
  1627. package/types/ui/components/RelativeDatesPicker/RelativeDatesPicker.d.ts +29 -0
  1628. package/types/ui/components/RelativeDatesPicker/constants.d.ts +27 -0
  1629. package/types/ui/components/RelativeDatesPicker/types.d.ts +42 -0
  1630. package/types/ui/components/RelativeDatesPicker/utils.d.ts +42 -0
  1631. package/types/ui/components/RevisionStatusPoint/RevisionStatusPoint.d.ts +5 -0
  1632. package/types/ui/components/Revisions/Revisions.d.ts +75 -0
  1633. package/types/ui/components/Revisions/RevisionsList/RevisionsList.d.ts +27 -0
  1634. package/types/ui/components/Revisions/helpers.d.ts +7 -0
  1635. package/types/ui/components/Revisions/types.d.ts +14 -0
  1636. package/types/ui/components/RevisionsPanel/RevisionsPanel.d.ts +30 -0
  1637. package/types/ui/components/RevisionsPanel/components/RevisionsControls.d.ts +13 -0
  1638. package/types/ui/components/RevisionsPanel/utils.d.ts +10 -0
  1639. package/types/ui/components/ScrollableWithShadow/ScrollableWithShadow.d.ts +13 -0
  1640. package/types/ui/components/SectionWrapper/SectionWrapper.d.ts +14 -0
  1641. package/types/ui/components/Select/constants/SelectStyles.d.ts +3 -0
  1642. package/types/ui/components/Select/hooks/useSelectAsyncFetch/useIntersection.d.ts +6 -0
  1643. package/types/ui/components/Select/hooks/useSelectAsyncFetch/useSelectAsyncFetch.d.ts +15 -0
  1644. package/types/ui/components/Select/hooks/useSelectInfinityFetch/types.d.ts +5 -0
  1645. package/types/ui/components/Select/hooks/useSelectInfinityFetch/useSelectInfinityFetch.d.ts +11 -0
  1646. package/types/ui/components/Select/hooks/useSelectOptionsEnhancer.d.ts +2 -0
  1647. package/types/ui/components/Select/hooks/useSelectRenderEmptyOptions/useSelectRenderEmptyOptions.d.ts +8 -0
  1648. package/types/ui/components/Select/hooks/useSelectRenderError.d.ts +8 -0
  1649. package/types/ui/components/Select/hooks/useSelectRenderFilter/useSelectRenderFilter.d.ts +16 -0
  1650. package/types/ui/components/Select/wrappers/SelectAsync.d.ts +5 -0
  1651. package/types/ui/components/Select/wrappers/SelectFeatured.d.ts +10 -0
  1652. package/types/ui/components/Select/wrappers/SelectFeaturedAsync.d.ts +7 -0
  1653. package/types/ui/components/SelectComponents/components/SelectOptionWithIcon/SelectOptionWithIcon.d.ts +10 -0
  1654. package/types/ui/components/SelectComponents/index.d.ts +1 -0
  1655. package/types/ui/components/SelectMigrationToWorkbookDialog/Body/Body.d.ts +18 -0
  1656. package/types/ui/components/SelectMigrationToWorkbookDialog/SelectMigrationToWorkbookDialog.d.ts +13 -0
  1657. package/types/ui/components/SelectMigrationToWorkbookDialog/constants.d.ts +25 -0
  1658. package/types/ui/components/SelectMigrationToWorkbookDialog/index.d.ts +1 -0
  1659. package/types/ui/components/SharedBindingsList/ListSearch.d.ts +11 -0
  1660. package/types/ui/components/SharedBindingsList/SharedBindingsList.d.ts +14 -0
  1661. package/types/ui/components/SharedEntryIcon/SharedEntryIcon.d.ts +9 -0
  1662. package/types/ui/components/SlugifyUrl/SlugifyUrl.d.ts +6 -0
  1663. package/types/ui/components/SlugifyUrl/index.d.ts +1 -0
  1664. package/types/ui/components/SmartLoader/SmartLoader.d.ts +8 -0
  1665. package/types/ui/components/TabMenu/TabMenu.d.ts +2 -0
  1666. package/types/ui/components/TabMenu/types.d.ts +46 -0
  1667. package/types/ui/components/Tabs/Tabs.d.ts +7 -0
  1668. package/types/ui/components/Tabs/withDatalensSpecific.d.ts +9 -0
  1669. package/types/ui/components/TagInput/TagInput.d.ts +13 -0
  1670. package/types/ui/components/TemplateTextPaper/TemplateTextPaper.d.ts +7 -0
  1671. package/types/ui/components/TextEditor/TextEditor.d.ts +11 -0
  1672. package/types/ui/components/UserAvatar/UserAvatarById.d.ts +2 -0
  1673. package/types/ui/components/UserMenu/UserAvatar.d.ts +4 -0
  1674. package/types/ui/components/UserMenu/UserMenu.d.ts +3 -0
  1675. package/types/ui/components/UsersSuggest/UsersSuggest.d.ts +9 -0
  1676. package/types/ui/components/UsersSuggest/types.d.ts +10 -0
  1677. package/types/ui/components/ValuesList/ValuesList.d.ts +12 -0
  1678. package/types/ui/components/Veil/Veil.d.ts +14 -0
  1679. package/types/ui/components/ViewAsync/ViewAsync.d.ts +23 -0
  1680. package/types/ui/components/ViewError/ViewError.d.ts +22 -0
  1681. package/types/ui/components/ViewLoader/ViewLoader.d.ts +8 -0
  1682. package/types/ui/components/WidgetRoundingsInput/WidgetRoundingsInput.d.ts +6 -0
  1683. package/types/ui/components/Widgets/Chart/Chart.d.ts +7 -0
  1684. package/types/ui/components/Widgets/Chart/ChartAlert.d.ts +7 -0
  1685. package/types/ui/components/Widgets/Chart/ChartSelector.d.ts +7 -0
  1686. package/types/ui/components/Widgets/Chart/ChartWidget.d.ts +7 -0
  1687. package/types/ui/components/Widgets/Chart/ChartWidgetWithProvider.d.ts +8 -0
  1688. package/types/ui/components/Widgets/Chart/components/ChartInfoIcon.d.ts +5 -0
  1689. package/types/ui/components/Widgets/Chart/components/Content.d.ts +2 -0
  1690. package/types/ui/components/Widgets/Chart/components/Header.d.ts +13 -0
  1691. package/types/ui/components/Widgets/Chart/components/WidgetFooter.d.ts +10 -0
  1692. package/types/ui/components/Widgets/Chart/components/WidgetHeader.d.ts +53 -0
  1693. package/types/ui/components/Widgets/Chart/helpers/helpers.d.ts +139 -0
  1694. package/types/ui/components/Widgets/Chart/helpers/yandex-map.d.ts +12 -0
  1695. package/types/ui/components/Widgets/Chart/hooks/useAutoHeightResizeObserver.d.ts +12 -0
  1696. package/types/ui/components/Widgets/Chart/hooks/useChartActivities.d.ts +15 -0
  1697. package/types/ui/components/Widgets/Chart/hooks/useIntersectionObserver.d.ts +8 -0
  1698. package/types/ui/components/Widgets/Chart/hooks/useLoadingChart.d.ts +203 -0
  1699. package/types/ui/components/Widgets/Chart/hooks/useLoadingChartSelector.d.ts +184 -0
  1700. package/types/ui/components/Widgets/Chart/hooks/useLoadingChartWidget.d.ts +195 -0
  1701. package/types/ui/components/Widgets/Chart/hooks/useMemoCallback.d.ts +6 -0
  1702. package/types/ui/components/Widgets/Chart/store/reducer.d.ts +3 -0
  1703. package/types/ui/components/Widgets/Chart/store/types.d.ts +58 -0
  1704. package/types/ui/components/Widgets/Chart/types.d.ts +260 -0
  1705. package/types/ui/components/Widgets/Chart/utils.d.ts +5 -0
  1706. package/types/ui/components/WorkbookIcon/WorkbookIcon.d.ts +8 -0
  1707. package/types/ui/components/WorkbookNavigationMinimal/WorkbookNavigationMinimal.d.ts +47 -0
  1708. package/types/ui/components/WorkbookNavigationMinimal/components/ListWithSharedEntries.d.ts +13 -0
  1709. package/types/ui/components/WorkbookNavigationMinimal/constants.d.ts +1 -0
  1710. package/types/ui/components/WorkbookNavigationMinimal/types.d.ts +10 -0
  1711. package/types/ui/components/YfmWrapper/YfmWrapper.d.ts +3 -0
  1712. package/types/ui/components/YfmWrapper/YfmWrapperContent.d.ts +8 -0
  1713. package/types/ui/components/common/Datepicker/Calendar/Calendar.d.ts +51 -0
  1714. package/types/ui/components/common/Datepicker/Datepicker.d.ts +36 -0
  1715. package/types/ui/components/common/Datepicker/Month/Month.d.ts +61 -0
  1716. package/types/ui/components/common/Datepicker/Months/Months.d.ts +29 -0
  1717. package/types/ui/components/common/Datepicker/PopupContent/PopupContent.d.ts +25 -0
  1718. package/types/ui/components/common/Datepicker/Presets/Presets.d.ts +18 -0
  1719. package/types/ui/components/common/Datepicker/Quarters/Quarters.d.ts +28 -0
  1720. package/types/ui/components/common/Datepicker/YearSwitcher/YearSwitcher.d.ts +21 -0
  1721. package/types/ui/components/common/Datepicker/Years/Years.d.ts +27 -0
  1722. package/types/ui/components/common/Datepicker/constants.d.ts +46 -0
  1723. package/types/ui/components/common/Datepicker/index.d.ts +4 -0
  1724. package/types/ui/components/common/Datepicker/utils.d.ts +34 -0
  1725. package/types/ui/components/common/DatepickerControl/DatepickerControl.d.ts +5 -0
  1726. package/types/ui/components/common/RangeInputPicker/RangeInputPicker.d.ts +60 -0
  1727. package/types/ui/components/common/RangeInputPicker/constants.d.ts +3 -0
  1728. package/types/ui/components/common/RangeInputPicker/index.d.ts +1 -0
  1729. package/types/ui/components/common/RangeInputPicker/types.d.ts +32 -0
  1730. package/types/ui/components/common/RangeInputPicker/utils.d.ts +15 -0
  1731. package/types/ui/components/common/YCSelect/Item/Item.d.ts +52 -0
  1732. package/types/ui/components/common/YCSelect/Items/Items.d.ts +76 -0
  1733. package/types/ui/components/common/YCSelect/Search/Search.d.ts +20 -0
  1734. package/types/ui/components/common/YCSelect/YCSelect.d.ts +96 -0
  1735. package/types/ui/components/common/YCSelect/constants.d.ts +2 -0
  1736. package/types/ui/components/common/YCSelect/index.d.ts +4 -0
  1737. package/types/ui/components/common/YCSelect/isBothEmpty.d.ts +1 -0
  1738. package/types/ui/components/common/YCSelect/utils.d.ts +16 -0
  1739. package/types/ui/configs/common/icons.d.ts +25 -0
  1740. package/types/ui/configs/index.d.ts +27 -0
  1741. package/types/ui/constants/common.d.ts +197 -0
  1742. package/types/ui/constants/connections.d.ts +6 -0
  1743. package/types/ui/constants/dialogs.d.ts +24 -0
  1744. package/types/ui/constants/embedded.d.ts +4 -0
  1745. package/types/ui/constants/index.d.ts +6 -0
  1746. package/types/ui/constants/misc.d.ts +77 -0
  1747. package/types/ui/constants/mobile.d.ts +8 -0
  1748. package/types/ui/constants/navigation.d.ts +1 -0
  1749. package/types/ui/constants/operations.d.ts +37 -0
  1750. package/types/ui/constants/visualizations/combined-chart.d.ts +2 -0
  1751. package/types/ui/constants/visualizations/donut.d.ts +2 -0
  1752. package/types/ui/constants/visualizations/flatTable.d.ts +9 -0
  1753. package/types/ui/constants/visualizations/geolayer.d.ts +2 -0
  1754. package/types/ui/constants/visualizations/geopoint.d.ts +3 -0
  1755. package/types/ui/constants/visualizations/geopolygon.d.ts +2 -0
  1756. package/types/ui/constants/visualizations/heatmap.d.ts +2 -0
  1757. package/types/ui/constants/visualizations/index.d.ts +347 -0
  1758. package/types/ui/constants/visualizations/line.d.ts +8 -0
  1759. package/types/ui/constants/visualizations/metric.d.ts +2 -0
  1760. package/types/ui/constants/visualizations/pie.d.ts +2 -0
  1761. package/types/ui/constants/visualizations/pivotTable.d.ts +2 -0
  1762. package/types/ui/constants/visualizations/polyline.d.ts +2 -0
  1763. package/types/ui/constants/visualizations/scatter.d.ts +2 -0
  1764. package/types/ui/constants/visualizations/treemap.d.ts +13 -0
  1765. package/types/ui/constants/visualizations/utils.d.ts +2 -0
  1766. package/types/ui/constants/workbooks.d.ts +2 -0
  1767. package/types/ui/constants/yfm.d.ts +4 -0
  1768. package/types/ui/datalens/helpers.d.ts +2 -0
  1769. package/types/ui/datalens/hooks.d.ts +1 -0
  1770. package/types/ui/datalens/index.d.ts +9 -0
  1771. package/types/ui/datalens/pages/AuthPage/AuthPage.d.ts +3 -0
  1772. package/types/ui/datalens/pages/CollectionsNavigationPage/CollectionsNavigationPage.d.ts +2 -0
  1773. package/types/ui/datalens/pages/ConnectionsPage/ConnectionsPage.d.ts +2 -0
  1774. package/types/ui/datalens/pages/DashAndWizardQLPages/DashAndWizardQLPages.d.ts +29 -0
  1775. package/types/ui/datalens/pages/DashPage/DashPage.d.ts +2 -0
  1776. package/types/ui/datalens/pages/DatasetPage/DatasetPage.d.ts +2 -0
  1777. package/types/ui/datalens/pages/FallbackPage/FallbackPage.d.ts +5 -0
  1778. package/types/ui/datalens/pages/LandingPage/LandingPage.d.ts +2 -0
  1779. package/types/ui/datalens/pages/MainPage/MainPage.d.ts +2 -0
  1780. package/types/ui/datalens/pages/OwnUserProfilePage/OwnUserProfilePage.d.ts +2 -0
  1781. package/types/ui/datalens/pages/PreviewPage/PreviewPage.d.ts +2 -0
  1782. package/types/ui/datalens/pages/QLPage/QLPage.d.ts +5 -0
  1783. package/types/ui/datalens/pages/ServiceSettingsPage/ServiceSettingsPage.d.ts +2 -0
  1784. package/types/ui/datalens/pages/WizardPage/WizardPage.d.ts +2 -0
  1785. package/types/ui/datalens/render.d.ts +8 -0
  1786. package/types/ui/entries/dl-main.d.ts +0 -0
  1787. package/types/ui/entries/main.d.ts +3 -0
  1788. package/types/ui/hoc/index.d.ts +1 -0
  1789. package/types/ui/hoc/withEnabledFeature.d.ts +5 -0
  1790. package/types/ui/hoc/withHiddenUnmount.d.ts +59 -0
  1791. package/types/ui/hoc/withHotkeysContext.d.ts +5 -0
  1792. package/types/ui/hoc/withInaccessibleOnMobile.d.ts +61 -0
  1793. package/types/ui/hoc/withPromiseOpen.d.ts +66 -0
  1794. package/types/ui/hooks/index.d.ts +7 -0
  1795. package/types/ui/hooks/useBeforeLoad.d.ts +1 -0
  1796. package/types/ui/hooks/useBindHotkey.d.ts +17 -0
  1797. package/types/ui/hooks/useChangedProp.d.ts +1 -0
  1798. package/types/ui/hooks/useEffectOnce.d.ts +2 -0
  1799. package/types/ui/hooks/useEnterClick.d.ts +2 -0
  1800. package/types/ui/hooks/useHover.d.ts +7 -0
  1801. package/types/ui/hooks/useLocalStorageFallback.d.ts +9 -0
  1802. package/types/ui/hooks/useMarkdown.d.ts +9 -0
  1803. package/types/ui/hooks/useMountedState.d.ts +2 -0
  1804. package/types/ui/hooks/useOutsideClick.d.ts +2 -0
  1805. package/types/ui/hooks/usePrevious.d.ts +1 -0
  1806. package/types/ui/hooks/useRefMounted.d.ts +2 -0
  1807. package/types/ui/hooks/useSetState.d.ts +1 -0
  1808. package/types/ui/hooks/useShallowEqualSelector.d.ts +2 -0
  1809. package/types/ui/hooks/useSyncedState.d.ts +2 -0
  1810. package/types/ui/hooks/useTitle.d.ts +1 -0
  1811. package/types/ui/index.d.ts +76 -0
  1812. package/types/ui/libs/DatalensChartkit/ChartKit/ChartKit.d.ts +34 -0
  1813. package/types/ui/libs/DatalensChartkit/ChartKit/ChartKitAdapter.d.ts +27 -0
  1814. package/types/ui/libs/DatalensChartkit/ChartKit/components/ChartKitTooltip/ChartKitTooltip.d.ts +5 -0
  1815. package/types/ui/libs/DatalensChartkit/ChartKit/components/Error/Error.d.ts +2 -0
  1816. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/IconRenderer.d.ts +9 -0
  1817. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/CirclePointIcon.d.ts +3 -0
  1818. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DashDotLineIcon.d.ts +4 -0
  1819. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DashLineIcon.d.ts +4 -0
  1820. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DiamondPointIcon.d.ts +3 -0
  1821. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DotLineIcon.d.ts +4 -0
  1822. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashDotDotLineIcon.d.ts +4 -0
  1823. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashDotLineIcon.d.ts +4 -0
  1824. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashLineIcon.d.ts +4 -0
  1825. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashDotDotLineIcon.d.ts +4 -0
  1826. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashDotLineIcon.d.ts +4 -0
  1827. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashLineIcon.d.ts +4 -0
  1828. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDotLineIcon.d.ts +4 -0
  1829. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/SolidLineIcon.d.ts +3 -0
  1830. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/SquarePointIcon.d.ts +3 -0
  1831. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/TriangleDownPointIcon.d.ts +3 -0
  1832. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/TrianglePointIcon.d.ts +3 -0
  1833. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/constants.d.ts +2 -0
  1834. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/renderTooltipIcon.d.ts +6 -0
  1835. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DashDotLineIcon.d.ts +2 -0
  1836. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DashLineIcon.d.ts +2 -0
  1837. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DotLineIcon.d.ts +2 -0
  1838. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashDotDotLineIcon.d.ts +2 -0
  1839. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashDotLineIcon.d.ts +2 -0
  1840. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashLineIcon.d.ts +2 -0
  1841. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashDotDotLineIcon.d.ts +2 -0
  1842. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashDotLineIcon.d.ts +2 -0
  1843. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashLineIcon.d.ts +2 -0
  1844. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDotLineIcon.d.ts +2 -0
  1845. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/SolidLineIcon.d.ts +2 -0
  1846. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/index.d.ts +11 -0
  1847. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/types.d.ts +4 -0
  1848. package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/utils.d.ts +7 -0
  1849. package/types/ui/libs/DatalensChartkit/ChartKit/components/Loader/Loader.d.ts +7 -0
  1850. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/Widget.d.ts +29 -0
  1851. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/AlertWidget/AlertWidget.d.ts +38 -0
  1852. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/AlertWidget/utils.d.ts +76 -0
  1853. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Markdown/Markdown.d.ts +6 -0
  1854. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/Bar.d.ts +2 -0
  1855. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/types.d.ts +55 -0
  1856. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/utils.d.ts +13 -0
  1857. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Paginator/Paginator.d.ts +11 -0
  1858. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Table.d.ts +24 -0
  1859. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/WrappedHTMLNode.d.ts +9 -0
  1860. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/types.d.ts +6 -0
  1861. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/action-params.d.ts +32 -0
  1862. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/event-handlers.d.ts +19 -0
  1863. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/index.d.ts +4 -0
  1864. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/misc.d.ts +28 -0
  1865. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/render.d.ts +39 -0
  1866. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/types.d.ts +5 -0
  1867. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/validation.d.ts +2 -0
  1868. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/constants.d.ts +6 -0
  1869. package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/index.d.ts +3 -0
  1870. package/types/ui/libs/DatalensChartkit/ChartKit/components/index.d.ts +5 -0
  1871. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/action-params-handlers.d.ts +28 -0
  1872. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/apply-hc-handlers.d.ts +19 -0
  1873. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/chartkit-adapter.d.ts +59 -0
  1874. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/chartkitAdapter.d.ts +1 -0
  1875. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/constants.d.ts +4 -0
  1876. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/getRandomCKId.d.ts +1 -0
  1877. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/chart-to-table.d.ts +7 -0
  1878. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/chartkit-adapter.d.ts +15 -0
  1879. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/comments.d.ts +13 -0
  1880. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/event-handlers.d.ts +12 -0
  1881. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/holidays.d.ts +8 -0
  1882. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/utils.d.ts +15 -0
  1883. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/tooltip.d.ts +15 -0
  1884. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/types.d.ts +5 -0
  1885. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/utils.d.ts +12 -0
  1886. package/types/ui/libs/DatalensChartkit/ChartKit/helpers/wait-for-content.d.ts +1 -0
  1887. package/types/ui/libs/DatalensChartkit/ChartKit/init.d.ts +1 -0
  1888. package/types/ui/libs/DatalensChartkit/ChartKit/modules/chartkit-custom-error/chartkit-custom-error.d.ts +34 -0
  1889. package/types/ui/libs/DatalensChartkit/ChartKit/modules/comments/drawing.d.ts +11 -0
  1890. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/config.d.ts +576 -0
  1891. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/handleLegendItemClick.d.ts +1 -0
  1892. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/options.d.ts +465 -0
  1893. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/addShowInNavigatorToSeries.d.ts +10 -0
  1894. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/buildNavigatorFallback.d.ts +1 -0
  1895. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/calculatePrecision.d.ts +5 -0
  1896. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/concatStrings.d.ts +1 -0
  1897. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getChartKitFormattedValue.d.ts +2 -0
  1898. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getFormatOptionsFromLine.d.ts +3 -0
  1899. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getXAxisThresholdValue.d.ts +1 -0
  1900. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/index.d.ts +11 -0
  1901. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/isSafari.d.ts +1 -0
  1902. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/isTooltipShared.d.ts +1 -0
  1903. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/localStorage.d.ts +5 -0
  1904. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/mergeArrayWithObject.d.ts +1 -0
  1905. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/numberFormat.d.ts +2 -0
  1906. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/setNavigatorDefaultPeriod.d.ts +13 -0
  1907. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/graph.d.ts +541 -0
  1908. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/prepare-data.d.ts +1 -0
  1909. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/helpers.d.ts +1 -0
  1910. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/tooltip.d.ts +12 -0
  1911. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/types.d.ts +102 -0
  1912. package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/types/index.d.ts +35 -0
  1913. package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/colors.d.ts +2 -0
  1914. package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/helpers/calcucalteClosestPointManually.d.ts +1 -0
  1915. package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/helpers/index.d.ts +1 -0
  1916. package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/highcharts.d.ts +4 -0
  1917. package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/i18n.d.ts +4 -0
  1918. package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/keysets/en.d.ts +58 -0
  1919. package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/keysets/ru.d.ts +59 -0
  1920. package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/map.d.ts +84 -0
  1921. package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/options.d.ts +38 -0
  1922. package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/tooltip/tooltip.d.ts +2 -0
  1923. package/types/ui/libs/DatalensChartkit/ChartKit/modules/perfomance.d.ts +5 -0
  1924. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/fetch-script.d.ts +1 -0
  1925. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/index.d.ts +2 -0
  1926. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/number-format.d.ts +1 -0
  1927. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/Canvas.d.ts +2 -0
  1928. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/DataConverter.d.ts +2 -0
  1929. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/Heatmap.d.ts +2 -0
  1930. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/TileUrlsGenerator.d.ts +2 -0
  1931. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/Gridmap.d.ts +2 -0
  1932. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/index.d.ts +0 -0
  1933. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/utils/hexagonGrid.d.ts +28 -0
  1934. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/utils/squareGrid.d.ts +14 -0
  1935. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/Polygonmap.d.ts +2 -0
  1936. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorLegend.d.ts +21 -0
  1937. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorize.d.ts +44 -0
  1938. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorize.test.d.ts +1 -0
  1939. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultBalloonContent.d.ts +7 -0
  1940. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultFilter.d.ts +9 -0
  1941. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultFilter.test.d.ts +1 -0
  1942. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultMapper.d.ts +9 -0
  1943. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultMapper.test.d.ts +1 -0
  1944. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnClick.d.ts +13 -0
  1945. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnMouseEnter.d.ts +8 -0
  1946. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnMouseLeave.d.ts +8 -0
  1947. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/inside.d.ts +9 -0
  1948. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/inside.test.d.ts +1 -0
  1949. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/normalizeFeature.d.ts +10 -0
  1950. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/normalizeFeature.test.d.ts +1 -0
  1951. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/modules.d.ts +2 -0
  1952. package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/yandex-map.d.ts +30 -0
  1953. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/index.d.ts +2 -0
  1954. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/AdvancedChartWidget.d.ts +3 -0
  1955. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/components/Tooltip/Tooltip.d.ts +9 -0
  1956. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/types.d.ts +5 -0
  1957. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/utils.d.ts +1 -0
  1958. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/types.d.ts +31 -0
  1959. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/index.d.ts +2 -0
  1960. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/renderer/HighchartsMapComponent.d.ts +108 -0
  1961. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/renderer/HighchartsMapWidget.d.ts +11 -0
  1962. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/types.d.ts +24 -0
  1963. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/index.d.ts +2 -0
  1964. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/renderer/MarkupWidget.d.ts +20 -0
  1965. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/types.d.ts +8 -0
  1966. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/index.d.ts +2 -0
  1967. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/MetricTile.d.ts +7 -0
  1968. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/MetricWidget.d.ts +5 -0
  1969. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/metricHelpers.d.ts +89 -0
  1970. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/types.d.ts +54 -0
  1971. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/index.d.ts +2 -0
  1972. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/TableWidget.d.ts +4 -0
  1973. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/BarCell/BarCell.d.ts +7 -0
  1974. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/DiffCell/DiffCell.d.ts +9 -0
  1975. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/HtmlCell/HtmlCell.d.ts +8 -0
  1976. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/MarkupCell/MarkupCell.d.ts +6 -0
  1977. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/SortIcon/SortIcon.d.ts +4 -0
  1978. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/BackgroundTable.d.ts +14 -0
  1979. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/Table.d.ts +15 -0
  1980. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableBody.d.ts +10 -0
  1981. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableFooter.d.ts +8 -0
  1982. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableHead.d.ts +9 -0
  1983. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/cell-width.d.ts +7 -0
  1984. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/types.d.ts +150 -0
  1985. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/usePreparedTableData.d.ts +19 -0
  1986. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/utils.d.ts +20 -0
  1987. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/TableTitleView/TableTitleView.d.ts +6 -0
  1988. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/TreeCell/TreeCell.d.ts +6 -0
  1989. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/types.d.ts +4 -0
  1990. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/action-params.d.ts +29 -0
  1991. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/drill-down.d.ts +12 -0
  1992. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/index.d.ts +5 -0
  1993. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/math.d.ts +6 -0
  1994. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/migrate-to-old-format.d.ts +8 -0
  1995. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/renderer.d.ts +26 -0
  1996. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/tree.d.ts +12 -0
  1997. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/types.d.ts +16 -0
  1998. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/index.d.ts +2 -0
  1999. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Icons/EyeSlashIcon.d.ts +3 -0
  2000. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Icons/SizeIcon.d.ts +3 -0
  2001. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Layer/Layer.d.ts +21 -0
  2002. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Legend.d.ts +8 -0
  2003. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/YandexMapComponent.d.ts +68 -0
  2004. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/YandexMapWidget.d.ts +17 -0
  2005. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/events.d.ts +12 -0
  2006. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/types.d.ts +51 -0
  2007. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/utils.d.ts +11 -0
  2008. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/types.d.ts +24 -0
  2009. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/chart-storage.d.ts +1 -0
  2010. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/StyledSplitPane/StyledSplitPane.d.ts +9 -0
  2011. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/index.d.ts +3 -0
  2012. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/withSplitPane/withSplitPane.d.ts +9 -0
  2013. package/types/ui/libs/DatalensChartkit/ChartKit/plugins/index.d.ts +9 -0
  2014. package/types/ui/libs/DatalensChartkit/ChartKit/types.d.ts +56 -0
  2015. package/types/ui/libs/DatalensChartkit/DatalensChartKitOld.d.ts +4 -0
  2016. package/types/ui/libs/DatalensChartkit/Error/Error.d.ts +3 -0
  2017. package/types/ui/libs/DatalensChartkit/Error/getAdditionalChartkitErrorContent.d.ts +2 -0
  2018. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/ChartKitBase.d.ts +130 -0
  2019. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Chart/Chart.d.ts +13 -0
  2020. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/ChartkitError/ChartkitError.d.ts +10 -0
  2021. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Content/store/reducer.d.ts +3 -0
  2022. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Content/store/types.d.ts +43 -0
  2023. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Control/Control.d.ts +5 -0
  2024. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/Header.d.ts +26 -0
  2025. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/ChartsInsights.d.ts +6 -0
  2026. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/ChartsInsightsIcon/ChartsInsightsIcon.d.ts +7 -0
  2027. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/ChartsInsightsIcon/getIconData.d.ts +3 -0
  2028. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/TooltipContent/TooltipContent.d.ts +10 -0
  2029. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/helpers/getIconLevel.d.ts +2 -0
  2030. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ButtonSpin/ButtonSpin.d.ts +19 -0
  2031. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ButtonSpinInput/ButtonSpinInput.d.ts +35 -0
  2032. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ChartsModal/ChartsModal.d.ts +60 -0
  2033. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ChartsModalMenu/ChartsModalMenu.d.ts +16 -0
  2034. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/DownloadCsv/DownloadCsv.d.ts +16 -0
  2035. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/CsvExport/CsvExport.d.ts +3 -0
  2036. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/Export.d.ts +14 -0
  2037. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/ToastContent/ToastContent.d.ts +3 -0
  2038. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/types.d.ts +32 -0
  2039. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/utils.d.ts +12 -0
  2040. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Inspector.d.ts +14 -0
  2041. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/SourceMeta/Datalens.d.ts +8 -0
  2042. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/Source/Source.d.ts +18 -0
  2043. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/SourceError/SourceError.d.ts +9 -0
  2044. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/SourceSuccess/SourceSuccess.d.ts +9 -0
  2045. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/Sources.d.ts +7 -0
  2046. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Timings/Timings.d.ts +7 -0
  2047. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/types.d.ts +5 -0
  2048. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Body/Body.d.ts +12 -0
  2049. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Context/Context.d.ts +12 -0
  2050. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Footer/Footer.d.ts +17 -0
  2051. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Header/Header.d.ts +12 -0
  2052. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Modal.d.ts +18 -0
  2053. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/PopupMessage/PopupMessage.d.ts +26 -0
  2054. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/constants.d.ts +6 -0
  2055. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/helpers.d.ts +11 -0
  2056. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Menu.d.ts +71 -0
  2057. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/MenuWithErrorBoundary/MenuWithErrorBoundary.d.ts +1 -0
  2058. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/index.d.ts +2 -0
  2059. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Loader/Loader.d.ts +12 -0
  2060. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/helpers.d.ts +7 -0
  2061. package/types/ui/libs/DatalensChartkit/components/ChartKitBase/types.d.ts +105 -0
  2062. package/types/ui/libs/DatalensChartkit/components/ChartKitIcon/ChartKitIcon.d.ts +25 -0
  2063. package/types/ui/libs/DatalensChartkit/components/Control/Control.d.ts +38 -0
  2064. package/types/ui/libs/DatalensChartkit/components/Control/Items/Items.d.ts +28 -0
  2065. package/types/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.d.ts +5 -0
  2066. package/types/ui/libs/DatalensChartkit/components/Control/types.d.ts +38 -0
  2067. package/types/ui/libs/DatalensChartkit/components/DeferredInitializer/DeferredInitializer.d.ts +26 -0
  2068. package/types/ui/libs/DatalensChartkit/components/Drill/Drill.d.ts +24 -0
  2069. package/types/ui/libs/DatalensChartkit/components/Error/Error.d.ts +11 -0
  2070. package/types/ui/libs/DatalensChartkit/components/Error/More/More.d.ts +18 -0
  2071. package/types/ui/libs/DatalensChartkit/components/ErrorBoundary/ErrorBoundary.d.ts +18 -0
  2072. package/types/ui/libs/DatalensChartkit/components/ErrorBoundary/withErrorBoundary.d.ts +2 -0
  2073. package/types/ui/libs/DatalensChartkit/components/Palette/Attach/Attach.d.ts +6 -0
  2074. package/types/ui/libs/DatalensChartkit/components/Palette/ColorItem/ColorItem.d.ts +15 -0
  2075. package/types/ui/libs/DatalensChartkit/components/Palette/DraggableModalHOC/DraggableModalHOC.d.ts +5 -0
  2076. package/types/ui/libs/DatalensChartkit/components/Palette/PaletteEditor/PaletteEditor.d.ts +26 -0
  2077. package/types/ui/libs/DatalensChartkit/components/Palette/PaletteSettings/PaletteSettings.d.ts +16 -0
  2078. package/types/ui/libs/DatalensChartkit/components/SideMarkdown/SideMarkdown.d.ts +5 -0
  2079. package/types/ui/libs/DatalensChartkit/extensions/alert.d.ts +6 -0
  2080. package/types/ui/libs/DatalensChartkit/extensions/control.d.ts +6 -0
  2081. package/types/ui/libs/DatalensChartkit/extensions/markdown.d.ts +6 -0
  2082. package/types/ui/libs/DatalensChartkit/extensions/table.d.ts +6 -0
  2083. package/types/ui/libs/DatalensChartkit/helpers/convert-data-to-table.d.ts +7 -0
  2084. package/types/ui/libs/DatalensChartkit/helpers/helpers.d.ts +8 -0
  2085. package/types/ui/libs/DatalensChartkit/index.d.ts +11 -0
  2086. package/types/ui/libs/DatalensChartkit/menu/Menu.d.ts +31 -0
  2087. package/types/ui/libs/DatalensChartkit/menu/MenuItems.d.ts +55 -0
  2088. package/types/ui/libs/DatalensChartkit/menu/constants.d.ts +9 -0
  2089. package/types/ui/libs/DatalensChartkit/menu/helpers.d.ts +37 -0
  2090. package/types/ui/libs/DatalensChartkit/modules/axios/axios.d.ts +5 -0
  2091. package/types/ui/libs/DatalensChartkit/modules/axios/axiosConcurrency.d.ts +23 -0
  2092. package/types/ui/libs/DatalensChartkit/modules/constants/constants.d.ts +31 -0
  2093. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/chartkit-handlers.d.ts +34 -0
  2094. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/get-graph.d.ts +37 -0
  2095. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/prepare-config.d.ts +38 -0
  2096. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/prepare-data.d.ts +1 -0
  2097. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/helpers/getChartsInsightsData.d.ts +16 -0
  2098. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/helpers/index.d.ts +1 -0
  2099. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/index.d.ts +125 -0
  2100. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/node.d.ts +9 -0
  2101. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/types.d.ts +478 -0
  2102. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/ui-sandbox-runtime.d.ts +38 -0
  2103. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/ui-sandbox.d.ts +29 -0
  2104. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/utils.d.ts +2 -0
  2105. package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/wizard.d.ts +17 -0
  2106. package/types/ui/libs/DatalensChartkit/modules/data-provider/example.d.ts +5 -0
  2107. package/types/ui/libs/DatalensChartkit/modules/data-provider/helpers.d.ts +2 -0
  2108. package/types/ui/libs/DatalensChartkit/modules/data-provider/withDataProvider.d.ts +12 -0
  2109. package/types/ui/libs/DatalensChartkit/modules/datalens-chartkit-custom-error/datalens-chartkit-custom-error.d.ts +61 -0
  2110. package/types/ui/libs/DatalensChartkit/modules/export/export.d.ts +35 -0
  2111. package/types/ui/libs/DatalensChartkit/modules/extensions-manager/extensions-manager.d.ts +8 -0
  2112. package/types/ui/libs/DatalensChartkit/modules/html-generator/constants.d.ts +12 -0
  2113. package/types/ui/libs/DatalensChartkit/modules/html-generator/index.d.ts +9 -0
  2114. package/types/ui/libs/DatalensChartkit/modules/html-generator/utils.d.ts +4 -0
  2115. package/types/ui/libs/DatalensChartkit/modules/localStorage.d.ts +5 -0
  2116. package/types/ui/libs/DatalensChartkit/modules/menu/menu.d.ts +8 -0
  2117. package/types/ui/libs/DatalensChartkit/modules/perfomance.d.ts +5 -0
  2118. package/types/ui/libs/DatalensChartkit/modules/settings/settings.d.ts +21 -0
  2119. package/types/ui/libs/DatalensChartkit/modules/table.d.ts +2 -0
  2120. package/types/ui/libs/DatalensChartkit/types/common.d.ts +4 -0
  2121. package/types/ui/libs/DatalensChartkit/types/control.d.ts +73 -0
  2122. package/types/ui/libs/DatalensChartkit/types/dataProvider.d.ts +43 -0
  2123. package/types/ui/libs/DatalensChartkit/types/index.d.ts +4 -0
  2124. package/types/ui/libs/DatalensChartkit/types/menu.d.ts +37 -0
  2125. package/types/ui/libs/DatalensChartkit/types/widget.d.ts +324 -0
  2126. package/types/ui/libs/auth/refreshToken.d.ts +1 -0
  2127. package/types/ui/libs/axios/axios.d.ts +5 -0
  2128. package/types/ui/libs/axios/interceptors.d.ts +4 -0
  2129. package/types/ui/libs/datasetHelper/index.d.ts +3 -0
  2130. package/types/ui/libs/datasetSdk/index.d.ts +35 -0
  2131. package/types/ui/libs/google-analytics/index.d.ts +1 -0
  2132. package/types/ui/libs/index.d.ts +7 -0
  2133. package/types/ui/libs/logger/index.d.ts +5 -0
  2134. package/types/ui/libs/metrica/index.d.ts +21 -0
  2135. package/types/ui/libs/monaco/constants.d.ts +2 -0
  2136. package/types/ui/libs/monaco/dl-lang/constants.d.ts +17 -0
  2137. package/types/ui/libs/monaco/dl-lang/index.d.ts +3 -0
  2138. package/types/ui/libs/monaco/index.d.ts +6 -0
  2139. package/types/ui/libs/monaco/load-monaco-core.d.ts +18 -0
  2140. package/types/ui/libs/monaco/ql-lang/constants.d.ts +3 -0
  2141. package/types/ui/libs/monaco/ql-lang/index.d.ts +8 -0
  2142. package/types/ui/libs/monaco/theme-mappers.d.ts +5 -0
  2143. package/types/ui/libs/monaco/types.d.ts +4 -0
  2144. package/types/ui/libs/monaco/utils.d.ts +23 -0
  2145. package/types/ui/libs/navigateHelper/index.d.ts +16 -0
  2146. package/types/ui/libs/schematic-sdk/decorator.d.ts +10 -0
  2147. package/types/ui/libs/schematic-sdk/index.d.ts +32 -0
  2148. package/types/ui/libs/schematic-sdk/parse-error.d.ts +17 -0
  2149. package/types/ui/libs/sdk/index.d.ts +69 -0
  2150. package/types/ui/libs/sdk/types.d.ts +22 -0
  2151. package/types/ui/libs/userSettings/index.d.ts +8 -0
  2152. package/types/ui/modules/index.d.ts +1 -0
  2153. package/types/ui/modules/markdownProvider.d.ts +13 -0
  2154. package/types/ui/navigation/history.d.ts +3 -0
  2155. package/types/ui/navigation/index.d.ts +7 -0
  2156. package/types/ui/navigation/router.d.ts +58 -0
  2157. package/types/ui/registry/components/DefaultEmpty.d.ts +2 -0
  2158. package/types/ui/registry/functions/example-function.d.ts +1 -0
  2159. package/types/ui/registry/index.d.ts +1071 -0
  2160. package/types/ui/registry/libs/index.d.ts +9 -0
  2161. package/types/ui/registry/libs/registryLibsPlugins.d.ts +7 -0
  2162. package/types/ui/registry/libs/schematic-sdk/index.d.ts +6 -0
  2163. package/types/ui/registry/units/auth/components-map.d.ts +9 -0
  2164. package/types/ui/registry/units/auth/functions-map.d.ts +10 -0
  2165. package/types/ui/registry/units/auth/index.d.ts +51 -0
  2166. package/types/ui/registry/units/auth/register.d.ts +1 -0
  2167. package/types/ui/registry/units/auth/types/components/AdditionalProfileSections.d.ts +4 -0
  2168. package/types/ui/registry/units/auth/types/components/AdditionalUsersFilters.d.ts +4 -0
  2169. package/types/ui/registry/units/auth/types/components/Signin.d.ts +3 -0
  2170. package/types/ui/registry/units/auth/types/functions/getAdditionalAddProfileFields.d.ts +14 -0
  2171. package/types/ui/registry/units/auth/types/functions/getAdditionalProfileFields.d.ts +6 -0
  2172. package/types/ui/registry/units/auth/types/functions/getUsersListColumns.d.ts +3 -0
  2173. package/types/ui/registry/units/auth/types/functions/getUsersRoles.d.ts +2 -0
  2174. package/types/ui/registry/units/chart/components-map.d.ts +7 -0
  2175. package/types/ui/registry/units/chart/functions-map.d.ts +26 -0
  2176. package/types/ui/registry/units/chart/index.d.ts +79 -0
  2177. package/types/ui/registry/units/chart/register.d.ts +1 -0
  2178. package/types/ui/registry/units/chart/types/components/AlertDialog.d.ts +7 -0
  2179. package/types/ui/registry/units/chart/types/components/ChartActionPanelButton.d.ts +11 -0
  2180. package/types/ui/registry/units/chart/types/functions/get-chartkit-holidays.d.ts +2 -0
  2181. package/types/ui/registry/units/chart/types/functions/getChartkitMenuByType.d.ts +22 -0
  2182. package/types/ui/registry/units/chart/types/functions/getDefaultChartMenu.d.ts +9 -0
  2183. package/types/ui/registry/units/chart/types/functions/getPanePreviewChartMenu.d.ts +4 -0
  2184. package/types/ui/registry/units/chart/types/functions/getVisualSelectorBottomPlaceholder.d.ts +5 -0
  2185. package/types/ui/registry/units/chart/types/functions/getWizardChartMenu.d.ts +8 -0
  2186. package/types/ui/registry/units/collections/components-map.d.ts +5 -0
  2187. package/types/ui/registry/units/collections/functionts-map.d.ts +10 -0
  2188. package/types/ui/registry/units/collections/index.d.ts +47 -0
  2189. package/types/ui/registry/units/collections/register.d.ts +1 -0
  2190. package/types/ui/registry/units/collections/types/customizeEmptyPlaceholder.d.ts +17 -0
  2191. package/types/ui/registry/units/collections/types/customizeNoCreatePermissionDialog.d.ts +6 -0
  2192. package/types/ui/registry/units/collections/types/index.d.ts +3 -0
  2193. package/types/ui/registry/units/collections/types/useCreateWorkbookDialogHandlers.d.ts +16 -0
  2194. package/types/ui/registry/units/common/components/Example/Example.d.ts +12 -0
  2195. package/types/ui/registry/units/common/components-map.d.ts +68 -0
  2196. package/types/ui/registry/units/common/constants/components.d.ts +1 -0
  2197. package/types/ui/registry/units/common/constants/functions.d.ts +1 -0
  2198. package/types/ui/registry/units/common/functions-map.d.ts +128 -0
  2199. package/types/ui/registry/units/common/index.d.ts +452 -0
  2200. package/types/ui/registry/units/common/register.d.ts +1 -0
  2201. package/types/ui/registry/units/common/types/components/AccessRights.d.ts +9 -0
  2202. package/types/ui/registry/units/common/types/components/AccessRightsUrlOpen.d.ts +4 -0
  2203. package/types/ui/registry/units/common/types/components/AclSubject.d.ts +4 -0
  2204. package/types/ui/registry/units/common/types/components/AclSubjectSuggest.d.ts +11 -0
  2205. package/types/ui/registry/units/common/types/components/ActionPanelEntrySelect.d.ts +3 -0
  2206. package/types/ui/registry/units/common/types/components/AsideHeaderAdapter.d.ts +4 -0
  2207. package/types/ui/registry/units/common/types/components/ButtonFavorite.d.ts +5 -0
  2208. package/types/ui/registry/units/common/types/components/DialogAddParticipants.d.ts +11 -0
  2209. package/types/ui/registry/units/common/types/components/DialogEntryDescription.d.ts +13 -0
  2210. package/types/ui/registry/units/common/types/components/DialogImageWidgetLinkHint.d.ts +4 -0
  2211. package/types/ui/registry/units/common/types/components/DialogRelatedEntitiesRadioHint.d.ts +5 -0
  2212. package/types/ui/registry/units/common/types/components/DialogShare.d.ts +20 -0
  2213. package/types/ui/registry/units/common/types/components/DownloadScreenshot.d.ts +6 -0
  2214. package/types/ui/registry/units/common/types/components/EntryBreadcrumbs.d.ts +16 -0
  2215. package/types/ui/registry/units/common/types/components/IamAccessDialog.d.ts +16 -0
  2216. package/types/ui/registry/units/common/types/components/LoginById.d.ts +5 -0
  2217. package/types/ui/registry/units/common/types/components/MarkdownControl.d.ts +7 -0
  2218. package/types/ui/registry/units/common/types/components/MarkupShareLink.d.ts +5 -0
  2219. package/types/ui/registry/units/common/types/components/MarkupUserInfo.d.ts +6 -0
  2220. package/types/ui/registry/units/common/types/components/MobileHeaderComponent.d.ts +7 -0
  2221. package/types/ui/registry/units/common/types/components/OAuthTokenButton.d.ts +6 -0
  2222. package/types/ui/registry/units/common/types/components/PlaceholderIllustrationImage.d.ts +7 -0
  2223. package/types/ui/registry/units/common/types/components/RangeInputPicker.d.ts +1 -0
  2224. package/types/ui/registry/units/common/types/components/ReportButton.d.ts +11 -0
  2225. package/types/ui/registry/units/common/types/components/UserAvatarById.d.ts +5 -0
  2226. package/types/ui/registry/units/common/types/components/YfmWrapper.d.ts +10 -0
  2227. package/types/ui/registry/units/common/types/functions/GetUsersById.d.ts +2 -0
  2228. package/types/ui/registry/units/common/types/functions/checkCreateEntryButtonVisibility.d.ts +1 -0
  2229. package/types/ui/registry/units/common/types/functions/fetchDocumentation.d.ts +9 -0
  2230. package/types/ui/registry/units/common/types/functions/fetchFunctionsDocumentation.d.ts +4 -0
  2231. package/types/ui/registry/units/common/types/functions/getAdditionalChartkitErrorContent.d.ts +8 -0
  2232. package/types/ui/registry/units/common/types/functions/getBasicActionPanelItems.d.ts +6 -0
  2233. package/types/ui/registry/units/common/types/functions/getFunctionsDocumentation.d.ts +35 -0
  2234. package/types/ui/registry/units/common/types/functions/getGloballyEntrySettings.d.ts +4 -0
  2235. package/types/ui/registry/units/common/types/functions/getHeaderWithoutHelpCenterErrorContentTypes.d.ts +1 -0
  2236. package/types/ui/registry/units/common/types/functions/getHeaderWithoutNavigationErrorContentTypes.d.ts +1 -0
  2237. package/types/ui/registry/units/common/types/functions/getIllustrationStore.d.ts +2 -0
  2238. package/types/ui/registry/units/common/types/functions/getImageNameFromErrorContentType.d.ts +2 -0
  2239. package/types/ui/registry/units/common/types/functions/getLoginById.d.ts +2 -0
  2240. package/types/ui/registry/units/common/types/functions/getLogoIcon.d.ts +4 -0
  2241. package/types/ui/registry/units/common/types/functions/getNotAuthenticatedErrorContentTypes.d.ts +1 -0
  2242. package/types/ui/registry/units/common/types/functions/getShouldShowAIAssistant.d.ts +4 -0
  2243. package/types/ui/registry/units/common/types/functions/getUIEntryRoute.d.ts +8 -0
  2244. package/types/ui/registry/units/common/types/functions/isValidLogoUrl.d.ts +5 -0
  2245. package/types/ui/registry/units/common/types/functions/openDialogOrganizationInvite.d.ts +2 -0
  2246. package/types/ui/registry/units/common/types/functions/openDialogOrganizationInviteUsers.d.ts +2 -0
  2247. package/types/ui/registry/units/common/types/functions/renderDialogRelatedEntitiesAlertHint.d.ts +6 -0
  2248. package/types/ui/registry/units/common/types/functions/resolveUsersByIds.d.ts +3 -0
  2249. package/types/ui/registry/units/common/types/functions/setEntryKey.d.ts +7 -0
  2250. package/types/ui/registry/units/common/types/functions/useSubjectsListId.d.ts +4 -0
  2251. package/types/ui/registry/units/connections/components-map.d.ts +7 -0
  2252. package/types/ui/registry/units/connections/functions-map.d.ts +19 -0
  2253. package/types/ui/registry/units/connections/index.d.ts +66 -0
  2254. package/types/ui/registry/units/connections/register.d.ts +1 -0
  2255. package/types/ui/registry/units/connections/types/CreateEditorChartButtonProps.d.ts +5 -0
  2256. package/types/ui/registry/units/connections/types/PreparedRowItem.d.ts +4 -0
  2257. package/types/ui/registry/units/connections/types/beforeConnectorFormUnmount.d.ts +2 -0
  2258. package/types/ui/registry/units/connections/types/getConnectionItemRender.d.ts +2 -0
  2259. package/types/ui/registry/units/connections/types/getFakeEntry.d.ts +3 -0
  2260. package/types/ui/registry/units/connections/types/getIsShowCreateConnectionButton.d.ts +2 -0
  2261. package/types/ui/registry/units/connections/types/getMockedForm.d.ts +4 -0
  2262. package/types/ui/registry/units/connections/types/getNewConnectionDestination.d.ts +4 -0
  2263. package/types/ui/registry/units/connections/types/getRenderConnectionSettingsPopup.d.ts +2 -0
  2264. package/types/ui/registry/units/dash/components-map.d.ts +13 -0
  2265. package/types/ui/registry/units/dash/functions-map.d.ts +17 -0
  2266. package/types/ui/registry/units/dash/index.d.ts +77 -0
  2267. package/types/ui/registry/units/dash/register.d.ts +1 -0
  2268. package/types/ui/registry/units/dash/types/BeforeCloseDialogItem.d.ts +3 -0
  2269. package/types/ui/registry/units/dash/types/BeforeOpenDialogItem.d.ts +4 -0
  2270. package/types/ui/registry/units/dash/types/DashActionPanelAdditionalButtons.d.ts +5 -0
  2271. package/types/ui/registry/units/dash/types/DialogDashOtherSettingsPrepend.d.ts +6 -0
  2272. package/types/ui/registry/units/dash/types/GetExtendedItemData.d.ts +4 -0
  2273. package/types/ui/registry/units/datasets/functions-map.d.ts +6 -0
  2274. package/types/ui/registry/units/datasets/index.d.ts +19 -0
  2275. package/types/ui/registry/units/datasets/register.d.ts +1 -0
  2276. package/types/ui/registry/units/datasets/types/functions/getRenderDatasetSettingsPopup.d.ts +2 -0
  2277. package/types/ui/registry/units/datasets/types/functions/renderRLSDialog.d.ts +3 -0
  2278. package/types/ui/registry/units/docs/functions-map.d.ts +3 -0
  2279. package/types/ui/registry/units/docs/index.d.ts +23 -0
  2280. package/types/ui/registry/units/docs/register.d.ts +1 -0
  2281. package/types/ui/registry/units/editor/components-map.d.ts +5 -0
  2282. package/types/ui/registry/units/editor/constants/components.d.ts +1 -0
  2283. package/types/ui/registry/units/editor/constants/functions.d.ts +1 -0
  2284. package/types/ui/registry/units/editor/functions-map.d.ts +6 -0
  2285. package/types/ui/registry/units/editor/index.d.ts +35 -0
  2286. package/types/ui/registry/units/editor/types/components/ActionPanelButton.d.ts +9 -0
  2287. package/types/ui/registry/units/editor/types/functions/fetchEditorDocumentation.d.ts +4 -0
  2288. package/types/ui/registry/units/editor/types/functions/getEditorTemplates.d.ts +10 -0
  2289. package/types/ui/registry/units/fieldEditor/components-map.d.ts +21 -0
  2290. package/types/ui/registry/units/fieldEditor/index.d.ts +24 -0
  2291. package/types/ui/registry/units/main/components-map.d.ts +4 -0
  2292. package/types/ui/registry/units/main/index.d.ts +23 -0
  2293. package/types/ui/registry/units/main/register.d.ts +1 -0
  2294. package/types/ui/registry/units/preview/components-map.d.ts +4 -0
  2295. package/types/ui/registry/units/preview/index.d.ts +23 -0
  2296. package/types/ui/registry/units/preview/register.d.ts +1 -0
  2297. package/types/ui/registry/units/public/components-map.d.ts +5 -0
  2298. package/types/ui/registry/units/public/index.d.ts +24 -0
  2299. package/types/ui/registry/units/public/register.d.ts +1 -0
  2300. package/types/ui/registry/units/public/types/components/Header.d.ts +4 -0
  2301. package/types/ui/registry/units/ql/components-map.d.ts +5 -0
  2302. package/types/ui/registry/units/ql/functions-map.d.ts +5 -0
  2303. package/types/ui/registry/units/ql/index.d.ts +36 -0
  2304. package/types/ui/registry/units/ql/register.d.ts +1 -0
  2305. package/types/ui/registry/units/wizard/components-map.d.ts +5 -0
  2306. package/types/ui/registry/units/wizard/index.d.ts +24 -0
  2307. package/types/ui/registry/units/wizard/register.d.ts +1 -0
  2308. package/types/ui/registry/units/wizard/types/components/WizardActionPanelExtension.d.ts +3 -0
  2309. package/types/ui/registry/units/workbooks/components-map.d.ts +6 -0
  2310. package/types/ui/registry/units/workbooks/functions-map.d.ts +30 -0
  2311. package/types/ui/registry/units/workbooks/index.d.ts +98 -0
  2312. package/types/ui/registry/units/workbooks/register.d.ts +1 -0
  2313. package/types/ui/registry/units/workbooks/types/components/workbookTableRowExtendedContent.d.ts +7 -0
  2314. package/types/ui/registry/units/workbooks/types/functions/checkWbCreateEntryButtonVisibility.d.ts +3 -0
  2315. package/types/ui/registry/utils/components-registry.d.ts +11 -0
  2316. package/types/ui/registry/utils/register-app-plugins.d.ts +5 -0
  2317. package/types/ui/store/actions/asideHeader/index.d.ts +46 -0
  2318. package/types/ui/store/actions/asideHeader/navigation.d.ts +15 -0
  2319. package/types/ui/store/actions/chartWidget.d.ts +38 -0
  2320. package/types/ui/store/actions/collectionsStructure/common.d.ts +531 -0
  2321. package/types/ui/store/actions/collectionsStructure/export.d.ts +108 -0
  2322. package/types/ui/store/actions/collectionsStructure/index.d.ts +10 -0
  2323. package/types/ui/store/actions/collectionsStructure/showCollectionEntityErrorToast.d.ts +2 -0
  2324. package/types/ui/store/actions/collectionsStructure/templates.d.ts +23 -0
  2325. package/types/ui/store/actions/colorPaletteEditor.d.ts +23 -0
  2326. package/types/ui/store/actions/controlDialog/controlDialog.d.ts +123 -0
  2327. package/types/ui/store/actions/controlDialog/helpers.d.ts +12 -0
  2328. package/types/ui/store/actions/copyEntriesToWorkbook.d.ts +51 -0
  2329. package/types/ui/store/actions/dialog.d.ts +75 -0
  2330. package/types/ui/store/actions/editHistory.d.ts +66 -0
  2331. package/types/ui/store/actions/entryContent.d.ts +74 -0
  2332. package/types/ui/store/actions/iamAccessDialog.d.ts +143 -0
  2333. package/types/ui/store/actions/landing.d.ts +8 -0
  2334. package/types/ui/store/actions/localStorageFallback.d.ts +11 -0
  2335. package/types/ui/store/actions/migrationToWorkbook.d.ts +65 -0
  2336. package/types/ui/store/actions/openDialogTypes.d.ts +65 -0
  2337. package/types/ui/store/actions/toaster.d.ts +16 -0
  2338. package/types/ui/store/actions/user.d.ts +30 -0
  2339. package/types/ui/store/actions/usersByIds.d.ts +2 -0
  2340. package/types/ui/store/configure.d.ts +4 -0
  2341. package/types/ui/store/constants/collectionsStructure.d.ts +80 -0
  2342. package/types/ui/store/constants/controlDialog.d.ts +50 -0
  2343. package/types/ui/store/constants/copyEntriesToWorkbook.d.ts +10 -0
  2344. package/types/ui/store/constants/editHistory.d.ts +5 -0
  2345. package/types/ui/store/constants/iamAccessDialog.d.ts +17 -0
  2346. package/types/ui/store/constants/migrationToWorkbook.d.ts +13 -0
  2347. package/types/ui/store/index.d.ts +7 -0
  2348. package/types/ui/store/reducer-registry.d.ts +19 -0
  2349. package/types/ui/store/reducers/asideHeader.d.ts +7 -0
  2350. package/types/ui/store/reducers/collectionsStructure.d.ts +128 -0
  2351. package/types/ui/store/reducers/colorPaletteEditor.d.ts +8 -0
  2352. package/types/ui/store/reducers/controlDialog/controlDialog.d.ts +58 -0
  2353. package/types/ui/store/reducers/controlDialog/helpers.d.ts +18 -0
  2354. package/types/ui/store/reducers/copyEntriesToWorkbook.d.ts +36 -0
  2355. package/types/ui/store/reducers/dialog.d.ts +9 -0
  2356. package/types/ui/store/reducers/editHistory.d.ts +19 -0
  2357. package/types/ui/store/reducers/entryContent.d.ts +14 -0
  2358. package/types/ui/store/reducers/iamAccessDialog.d.ts +33 -0
  2359. package/types/ui/store/reducers/index.d.ts +280 -0
  2360. package/types/ui/store/reducers/landing.d.ts +10 -0
  2361. package/types/ui/store/reducers/localStorageFallback.d.ts +3 -0
  2362. package/types/ui/store/reducers/migrationToWorkbook.d.ts +25 -0
  2363. package/types/ui/store/reducers/user.d.ts +4 -0
  2364. package/types/ui/store/selectors/asideHeader.d.ts +11 -0
  2365. package/types/ui/store/selectors/collectionsStructure.d.ts +564 -0
  2366. package/types/ui/store/selectors/colorPaletteEditor.d.ts +14 -0
  2367. package/types/ui/store/selectors/controlDialog.d.ts +49 -0
  2368. package/types/ui/store/selectors/copyEntriesToWorkbook.d.ts +81 -0
  2369. package/types/ui/store/selectors/editHistory.d.ts +7 -0
  2370. package/types/ui/store/selectors/entryContent.d.ts +27 -0
  2371. package/types/ui/store/selectors/iamAccessDialog.d.ts +142 -0
  2372. package/types/ui/store/selectors/landing.d.ts +2 -0
  2373. package/types/ui/store/selectors/localStorageFallback.d.ts +2 -0
  2374. package/types/ui/store/selectors/migrationToWorkbook.d.ts +113 -0
  2375. package/types/ui/store/selectors/user.d.ts +47 -0
  2376. package/types/ui/store/toolkit/chartkit/api.d.ts +8 -0
  2377. package/types/ui/store/toolkit/chartkit/types.d.ts +4 -0
  2378. package/types/ui/store/toolkit/index.d.ts +1 -0
  2379. package/types/ui/store/typings/asideHeader.d.ts +23 -0
  2380. package/types/ui/store/typings/controlDialog.d.ts +129 -0
  2381. package/types/ui/store/typings/entryContent.d.ts +19 -0
  2382. package/types/ui/store/typings/iamAccessDialog.d.ts +7 -0
  2383. package/types/ui/store/typings/user.d.ts +12 -0
  2384. package/types/ui/store/utils/asideHeader.d.ts +3 -0
  2385. package/types/ui/store/utils/collectionStructure.d.ts +14 -0
  2386. package/types/ui/store/utils/controlDialog.d.ts +44 -0
  2387. package/types/ui/store/utils/jdp.d.ts +5 -0
  2388. package/types/ui/store/utils/user.d.ts +3 -0
  2389. package/types/ui/typings/common.d.ts +38 -0
  2390. package/types/ui/typings/components.d.ts +7 -0
  2391. package/types/ui/typings/error.d.ts +25 -0
  2392. package/types/ui/typings/index.d.ts +3 -0
  2393. package/types/ui/units/auth/components/AuthPage/AuthPage.d.ts +7 -0
  2394. package/types/ui/units/auth/components/AuthPage/useAuthPageInit.d.ts +1 -0
  2395. package/types/ui/units/auth/components/ChangePasswordDialog/ChangePasswordDialog.d.ts +9 -0
  2396. package/types/ui/units/auth/components/ChangeUserRoleDialog/ChangeUserRoleDialog.d.ts +10 -0
  2397. package/types/ui/units/auth/components/DeleteUserDialog/DeleteUserDialog.d.ts +8 -0
  2398. package/types/ui/units/auth/components/EditUserProfileDialog/EditUserProfileDialog.d.ts +11 -0
  2399. package/types/ui/units/auth/components/LoginById/LoginById.d.ts +2 -0
  2400. package/types/ui/units/auth/components/LoginById/utils.d.ts +2 -0
  2401. package/types/ui/units/auth/components/Logout/Logout.d.ts +1 -0
  2402. package/types/ui/units/auth/components/Reload/Reload.d.ts +1 -0
  2403. package/types/ui/units/auth/components/Signin/Signin.d.ts +2 -0
  2404. package/types/ui/units/auth/components/Signin/components/Login.d.ts +5 -0
  2405. package/types/ui/units/auth/components/Signin/components/Password.d.ts +5 -0
  2406. package/types/ui/units/auth/components/Signup/Signup.d.ts +1 -0
  2407. package/types/ui/units/auth/components/Signup/components/Back.d.ts +1 -0
  2408. package/types/ui/units/auth/components/UserProfile/UserProfile.d.ts +14 -0
  2409. package/types/ui/units/auth/components/UserRoleLabel/UserRoleLabel.d.ts +8 -0
  2410. package/types/ui/units/auth/components/formControls/CustomRow.d.ts +7 -0
  2411. package/types/ui/units/auth/components/formControls/Email.d.ts +2 -0
  2412. package/types/ui/units/auth/components/formControls/FirstName.d.ts +2 -0
  2413. package/types/ui/units/auth/components/formControls/GeneratePasswordButton.d.ts +3 -0
  2414. package/types/ui/units/auth/components/formControls/LastName.d.ts +2 -0
  2415. package/types/ui/units/auth/components/formControls/Login.d.ts +2 -0
  2416. package/types/ui/units/auth/components/formControls/Password.d.ts +8 -0
  2417. package/types/ui/units/auth/components/formControls/RepeatPassword.d.ts +2 -0
  2418. package/types/ui/units/auth/components/formControls/Roles.d.ts +2 -0
  2419. package/types/ui/units/auth/components/formControls/RowButton.d.ts +2 -0
  2420. package/types/ui/units/auth/components/formControls/types.d.ts +8 -0
  2421. package/types/ui/units/auth/components/formControls/utils.d.ts +1 -0
  2422. package/types/ui/units/auth/constants/errors.d.ts +3 -0
  2423. package/types/ui/units/auth/constants/routes.d.ts +7 -0
  2424. package/types/ui/units/auth/containers/UserProfile/UserProfile.d.ts +4 -0
  2425. package/types/ui/units/auth/hooks/useClearReloadedQuery.d.ts +1 -0
  2426. package/types/ui/units/auth/hooks/useUserById.d.ts +10 -0
  2427. package/types/ui/units/auth/store/actions/common.d.ts +15 -0
  2428. package/types/ui/units/auth/store/actions/index.d.ts +6 -0
  2429. package/types/ui/units/auth/store/actions/logout.d.ts +9 -0
  2430. package/types/ui/units/auth/store/actions/signin.d.ts +20 -0
  2431. package/types/ui/units/auth/store/actions/userInfoForm.d.ts +32 -0
  2432. package/types/ui/units/auth/store/actions/userProfile.d.ts +95 -0
  2433. package/types/ui/units/auth/store/actions/usersByIds.d.ts +21 -0
  2434. package/types/ui/units/auth/store/constants/common.d.ts +2 -0
  2435. package/types/ui/units/auth/store/constants/signin.d.ts +1 -0
  2436. package/types/ui/units/auth/store/constants/userInfoForm.d.ts +4 -0
  2437. package/types/ui/units/auth/store/constants/userProfile.d.ts +17 -0
  2438. package/types/ui/units/auth/store/constants/usersByIds.d.ts +2 -0
  2439. package/types/ui/units/auth/store/reducers/common.d.ts +6 -0
  2440. package/types/ui/units/auth/store/reducers/index.d.ts +41 -0
  2441. package/types/ui/units/auth/store/reducers/signin.d.ts +6 -0
  2442. package/types/ui/units/auth/store/reducers/userInfoForm.d.ts +8 -0
  2443. package/types/ui/units/auth/store/reducers/userProfile.d.ts +28 -0
  2444. package/types/ui/units/auth/store/reducers/usersByIds.d.ts +3 -0
  2445. package/types/ui/units/auth/store/selectors/common.d.ts +3 -0
  2446. package/types/ui/units/auth/store/selectors/signin.d.ts +5 -0
  2447. package/types/ui/units/auth/store/selectors/userInfoForm.d.ts +16 -0
  2448. package/types/ui/units/auth/store/selectors/userProfile.d.ts +9 -0
  2449. package/types/ui/units/auth/store/selectors/usersByIds.d.ts +14 -0
  2450. package/types/ui/units/auth/store/typings/userInfoForm.d.ts +11 -0
  2451. package/types/ui/units/auth/store/typings/usersByIds.d.ts +39 -0
  2452. package/types/ui/units/auth/utils/fields.d.ts +1 -0
  2453. package/types/ui/units/auth/utils/getUsersRoles.d.ts +1 -0
  2454. package/types/ui/units/auth/utils/userProfile.d.ts +4 -0
  2455. package/types/ui/units/auth/utils/validation.d.ts +39 -0
  2456. package/types/ui/units/collections/components/CollectionActions/CollectionActions.d.ts +11 -0
  2457. package/types/ui/units/collections/components/CollectionActions/components/SharedEntryNotice/SharedEntryNotice.d.ts +1 -0
  2458. package/types/ui/units/collections/components/CollectionActions/index.d.ts +1 -0
  2459. package/types/ui/units/collections/components/CollectionActions/utils.d.ts +23 -0
  2460. package/types/ui/units/collections/components/CollectionBatchPanel/CollectionBatchPanel.d.ts +9 -0
  2461. package/types/ui/units/collections/components/CollectionContent/CollectionContent.d.ts +31 -0
  2462. package/types/ui/units/collections/components/CollectionContent/hooks/index.d.ts +1 -0
  2463. package/types/ui/units/collections/components/CollectionContent/hooks/useActions.d.ts +8 -0
  2464. package/types/ui/units/collections/components/CollectionContent/index.d.ts +1 -0
  2465. package/types/ui/units/collections/components/CollectionContent/utils.d.ts +8 -0
  2466. package/types/ui/units/collections/components/CollectionContentGrid/CollectionContentGrid.d.ts +12 -0
  2467. package/types/ui/units/collections/components/CollectionContentGrid/CollectionItemIcon.d.ts +6 -0
  2468. package/types/ui/units/collections/components/CollectionContentGrid/index.d.ts +1 -0
  2469. package/types/ui/units/collections/components/CollectionContentTable/CollectionContentTable.d.ts +14 -0
  2470. package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionCheckboxCell.d.ts +10 -0
  2471. package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionLinkRow.d.ts +10 -0
  2472. package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionTitleCell.d.ts +6 -0
  2473. package/types/ui/units/collections/components/CollectionContentTable/helpers.d.ts +7 -0
  2474. package/types/ui/units/collections/components/CollectionContentTable/index.d.ts +1 -0
  2475. package/types/ui/units/collections/components/CollectionPage/CollectionPage.d.ts +2 -0
  2476. package/types/ui/units/collections/components/CollectionPage/hooks/index.d.ts +5 -0
  2477. package/types/ui/units/collections/components/CollectionPage/hooks/useCreateWorkbookDialogHandlers.d.ts +2 -0
  2478. package/types/ui/units/collections/components/CollectionPage/hooks/useData.d.ts +14 -0
  2479. package/types/ui/units/collections/components/CollectionPage/hooks/useFilters.d.ts +11 -0
  2480. package/types/ui/units/collections/components/CollectionPage/hooks/useLayout.d.ts +22 -0
  2481. package/types/ui/units/collections/components/CollectionPage/hooks/useOpenCreateWorkbookDialog.d.ts +7 -0
  2482. package/types/ui/units/collections/components/CollectionPage/hooks/useSelection.d.ts +28 -0
  2483. package/types/ui/units/collections/components/CollectionPage/hooks/useViewMode.d.ts +12 -0
  2484. package/types/ui/units/collections/components/CollectionPage/index.d.ts +1 -0
  2485. package/types/ui/units/collections/components/CollectionPage/utils.d.ts +9 -0
  2486. package/types/ui/units/collections/components/constants.d.ts +111 -0
  2487. package/types/ui/units/collections/components/helpers.d.ts +6 -0
  2488. package/types/ui/units/collections/components/types.d.ts +7 -0
  2489. package/types/ui/units/collections/hooks/useRefreshPageAfterImport.d.ts +9 -0
  2490. package/types/ui/units/collections/store/actions/index.d.ts +125 -0
  2491. package/types/ui/units/collections/store/constants/index.d.ts +16 -0
  2492. package/types/ui/units/collections/store/reducers/index.d.ts +21 -0
  2493. package/types/ui/units/collections/store/selectors/index.d.ts +82 -0
  2494. package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/CollectionBreadcrumbs.d.ts +14 -0
  2495. package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/index.d.ts +2 -0
  2496. package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/utils.d.ts +27 -0
  2497. package/types/ui/units/collections-navigation/components/CollectionsNavigationApp/CollectionsNavigationApp.d.ts +1 -0
  2498. package/types/ui/units/collections-navigation/components/CollectionsNavigationApp/index.d.ts +1 -0
  2499. package/types/ui/units/collections-navigation/components/CollectionsNavigationLayout/CollectionsNavigationLayout.d.ts +9 -0
  2500. package/types/ui/units/collections-navigation/components/CollectionsNavigationLayout/index.d.ts +1 -0
  2501. package/types/ui/units/collections-navigation/constants/index.d.ts +2 -0
  2502. package/types/ui/units/collections-navigation/contexts/LayoutContext.d.ts +31 -0
  2503. package/types/ui/units/collections-navigation/store/actions/index.d.ts +91 -0
  2504. package/types/ui/units/collections-navigation/store/constants/index.d.ts +5 -0
  2505. package/types/ui/units/collections-navigation/store/reducers/index.d.ts +10 -0
  2506. package/types/ui/units/collections-navigation/store/selectors/index.d.ts +80 -0
  2507. package/types/ui/units/collections-navigation/utils/index.d.ts +2 -0
  2508. package/types/ui/units/connections/components/ConnectorForm/ConnectorForm.d.ts +7 -0
  2509. package/types/ui/units/connections/components/ConnectorForm/ErrorActions/ErrorActions.d.ts +8 -0
  2510. package/types/ui/units/connections/components/ConnectorForm/FormActions/CheckParamsButton/CheckParamsButton.d.ts +9 -0
  2511. package/types/ui/units/connections/components/ConnectorForm/FormActions/FormActions.d.ts +35 -0
  2512. package/types/ui/units/connections/components/ConnectorForm/FormActions/SubmitButton/SubmitButton.d.ts +6 -0
  2513. package/types/ui/units/connections/components/ConnectorForm/FormActions/selectors.d.ts +3 -0
  2514. package/types/ui/units/connections/components/ConnectorForm/FormActions/utils.d.ts +3 -0
  2515. package/types/ui/units/connections/components/ConnectorForm/FormRow/FormItem.d.ts +5 -0
  2516. package/types/ui/units/connections/components/ConnectorForm/FormRow/FormRow.d.ts +56 -0
  2517. package/types/ui/units/connections/components/ConnectorForm/FormRow/PreparedRowItem.d.ts +2 -0
  2518. package/types/ui/units/connections/components/ConnectorForm/components/Checkbox/Checkbox.d.ts +29 -0
  2519. package/types/ui/units/connections/components/ConnectorForm/components/Datepicker/Datepicker.d.ts +518 -0
  2520. package/types/ui/units/connections/components/ConnectorForm/components/Description/Description.d.ts +4 -0
  2521. package/types/ui/units/connections/components/ConnectorForm/components/FileInput/FileInput.d.ts +602 -0
  2522. package/types/ui/units/connections/components/ConnectorForm/components/FileInput/utils.d.ts +6 -0
  2523. package/types/ui/units/connections/components/ConnectorForm/components/Input/Input.d.ts +549 -0
  2524. package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/KeyValue.d.ts +2 -0
  2525. package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/hooks.d.ts +24 -0
  2526. package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/types.d.ts +8 -0
  2527. package/types/ui/units/connections/components/ConnectorForm/components/Label/Label.d.ts +4 -0
  2528. package/types/ui/units/connections/components/ConnectorForm/components/MarkdownItem/MarkdownItem.d.ts +29 -0
  2529. package/types/ui/units/connections/components/ConnectorForm/components/PlainText/PlainText.d.ts +6 -0
  2530. package/types/ui/units/connections/components/ConnectorForm/components/RadioButton/RadioButton.d.ts +487 -0
  2531. package/types/ui/units/connections/components/ConnectorForm/components/RadioGroup/RadioGroup.d.ts +29 -0
  2532. package/types/ui/units/connections/components/ConnectorForm/components/Select/Select.d.ts +550 -0
  2533. package/types/ui/units/connections/components/ConnectorForm/components/index.d.ts +13 -0
  2534. package/types/ui/units/connections/components/ConnectorForm/components/withControlWrap/withControlWrap.d.ts +64 -0
  2535. package/types/ui/units/connections/components/ConnectorForm/preparedRows/CacheTtlRow/CacheTtlRow.d.ts +29 -0
  2536. package/types/ui/units/connections/components/ConnectorForm/preparedRows/CollapseRow/CollapseRow.d.ts +25 -0
  2537. package/types/ui/units/connections/components/ConnectorForm/preparedRows/RawSQLLevelRow/RawSQLLevelRow.d.ts +4 -0
  2538. package/types/ui/units/connections/components/ConnectorForm/preparedRows/index.d.ts +3 -0
  2539. package/types/ui/units/connections/components/ConnectorForm/utils/index.d.ts +9 -0
  2540. package/types/ui/units/connections/components/ConnectorsList/ConnectorsList.d.ts +9 -0
  2541. package/types/ui/units/connections/components/ConnectorsList/ListItem.d.ts +43 -0
  2542. package/types/ui/units/connections/components/ConnectorsList/utils/index.d.ts +8 -0
  2543. package/types/ui/units/connections/components/ConnectorsList/utils/listItemRender.d.ts +2 -0
  2544. package/types/ui/units/connections/components/ErrorView/ErrorView.d.ts +21 -0
  2545. package/types/ui/units/connections/components/FormTitle/FormTitle.d.ts +11 -0
  2546. package/types/ui/units/connections/components/Page/ConnPanelActions.d.ts +9 -0
  2547. package/types/ui/units/connections/components/Page/Page.d.ts +2 -0
  2548. package/types/ui/units/connections/components/Page/components/ConnSettings.d.ts +4 -0
  2549. package/types/ui/units/connections/components/Page/components/CreateDatasetButton.d.ts +33 -0
  2550. package/types/ui/units/connections/components/Page/components/CreateQlChartButton.d.ts +24 -0
  2551. package/types/ui/units/connections/components/Page/components/DescriptionButton.d.ts +3 -0
  2552. package/types/ui/units/connections/components/Page/components/S3BasedConnButton.d.ts +28 -0
  2553. package/types/ui/units/connections/components/Page/components/UnloadConfirmation.d.ts +1 -0
  2554. package/types/ui/units/connections/components/Page/components/index.d.ts +5 -0
  2555. package/types/ui/units/connections/components/Page/constants.d.ts +2 -0
  2556. package/types/ui/units/connections/components/Page/filterContextMenuItems.d.ts +9 -0
  2557. package/types/ui/units/connections/components/Page/useAdditionalContextMenuItems.d.ts +11 -0
  2558. package/types/ui/units/connections/components/Page/useApiErrors.d.ts +12 -0
  2559. package/types/ui/units/connections/components/Page/utils.d.ts +11 -0
  2560. package/types/ui/units/connections/components/Router/Router.d.ts +9 -0
  2561. package/types/ui/units/connections/components/WrappedLoader/WrappedLoader.d.ts +6 -0
  2562. package/types/ui/units/connections/components/custom-forms/ChOverYT/ChOverYT.d.ts +6 -0
  2563. package/types/ui/units/connections/components/custom-forms/ChOverYT/ChoicePage.d.ts +6 -0
  2564. package/types/ui/units/connections/components/custom-forms/ChOverYT/ConnectorCard.d.ts +8 -0
  2565. package/types/ui/units/connections/components/custom-forms/ChOverYT/Notification.d.ts +5 -0
  2566. package/types/ui/units/connections/components/custom-forms/ChOverYT/constants.d.ts +5 -0
  2567. package/types/ui/units/connections/components/custom-forms/File/File.d.ts +32 -0
  2568. package/types/ui/units/connections/components/custom-forms/File/components/AddFileButton.d.ts +1 -0
  2569. package/types/ui/units/connections/components/custom-forms/File/components/FilesList.d.ts +10 -0
  2570. package/types/ui/units/connections/components/custom-forms/File/components/ListItem/FileItem.d.ts +3 -0
  2571. package/types/ui/units/connections/components/custom-forms/File/components/ListItem/ListItem.d.ts +3 -0
  2572. package/types/ui/units/connections/components/custom-forms/File/components/ListItem/SourceItem.d.ts +2 -0
  2573. package/types/ui/units/connections/components/custom-forms/File/components/ReplaceSourceButton.d.ts +1 -0
  2574. package/types/ui/units/connections/components/custom-forms/File/components/Workspace/ColumnFilter.d.ts +6 -0
  2575. package/types/ui/units/connections/components/custom-forms/File/components/Workspace/FileSettings.d.ts +8 -0
  2576. package/types/ui/units/connections/components/custom-forms/File/components/Workspace/TypeSelect.d.ts +8 -0
  2577. package/types/ui/units/connections/components/custom-forms/File/components/Workspace/Workspace.d.ts +7 -0
  2578. package/types/ui/units/connections/components/custom-forms/File/components/index.d.ts +3 -0
  2579. package/types/ui/units/connections/components/custom-forms/File/context.d.ts +22 -0
  2580. package/types/ui/units/connections/components/custom-forms/File/types.d.ts +20 -0
  2581. package/types/ui/units/connections/components/custom-forms/File/useHandlers.d.ts +22 -0
  2582. package/types/ui/units/connections/components/custom-forms/File/utils.d.ts +25 -0
  2583. package/types/ui/units/connections/components/custom-forms/GSheetsV2/GSheetsV2.d.ts +1 -0
  2584. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AddSection.d.ts +11 -0
  2585. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/GAuthButton.d.ts +7 -0
  2586. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/index.d.ts +13 -0
  2587. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/GSheetSourceInfoView.d.ts +10 -0
  2588. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/GSheetSourceView.d.ts +12 -0
  2589. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/UploadedGSheetView.d.ts +10 -0
  2590. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/index.d.ts +10 -0
  2591. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/SheetsList.d.ts +16 -0
  2592. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/EmptyWorkspace.d.ts +1 -0
  2593. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetSourceInfoWorkspace.d.ts +7 -0
  2594. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetSourceWorkspace.d.ts +11 -0
  2595. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetWorkspace.d.ts +7 -0
  2596. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/Workspace.d.ts +12 -0
  2597. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/utils.d.ts +9 -0
  2598. package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/index.d.ts +3 -0
  2599. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/ActionBarContainer.d.ts +1 -0
  2600. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/SheetsListContainer.d.ts +1 -0
  2601. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/WorkspaceContainer.d.ts +1 -0
  2602. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/index.d.ts +3 -0
  2603. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/useGSheetDialogs.d.ts +26 -0
  2604. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/useGoogleAuth.d.ts +4 -0
  2605. package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/utils.d.ts +6 -0
  2606. package/types/ui/units/connections/components/custom-forms/GSheetsV2/types.d.ts +7 -0
  2607. package/types/ui/units/connections/components/custom-forms/Yadocs/Yadocs.d.ts +1 -0
  2608. package/types/ui/units/connections/components/custom-forms/Yadocs/components/AdditionalTitleContent.d.ts +11 -0
  2609. package/types/ui/units/connections/components/custom-forms/Yadocs/components/DialogAddDocument/DialogAddDocument.d.ts +22 -0
  2610. package/types/ui/units/connections/components/custom-forms/Yadocs/components/DocsList.d.ts +14 -0
  2611. package/types/ui/units/connections/components/custom-forms/Yadocs/components/Workspace.d.ts +16 -0
  2612. package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/UploadedYadocView.d.ts +11 -0
  2613. package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/YadocSourceInfoView.d.ts +10 -0
  2614. package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/YadocSourceView.d.ts +13 -0
  2615. package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/index.d.ts +11 -0
  2616. package/types/ui/units/connections/components/custom-forms/Yadocs/components/index.d.ts +4 -0
  2617. package/types/ui/units/connections/components/custom-forms/Yadocs/containers/ActionBarContainer.d.ts +1 -0
  2618. package/types/ui/units/connections/components/custom-forms/Yadocs/containers/DocsListContainer.d.ts +1 -0
  2619. package/types/ui/units/connections/components/custom-forms/Yadocs/containers/WorkspaceContainer.d.ts +1 -0
  2620. package/types/ui/units/connections/components/custom-forms/Yadocs/containers/index.d.ts +3 -0
  2621. package/types/ui/units/connections/components/custom-forms/Yadocs/containers/useYadocsDialogs.d.ts +26 -0
  2622. package/types/ui/units/connections/components/custom-forms/Yadocs/types.d.ts +4 -0
  2623. package/types/ui/units/connections/components/custom-forms/components/ButtonLogout/ButtonLogout.d.ts +7 -0
  2624. package/types/ui/units/connections/components/custom-forms/components/ColumnFilter/ColumnFilter.d.ts +6 -0
  2625. package/types/ui/units/connections/components/custom-forms/components/ColumnsHeaderSwitcher/ColumnsHeaderSwitcher.d.ts +6 -0
  2626. package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/DialogWithInput.d.ts +2 -0
  2627. package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/index.d.ts +6 -0
  2628. package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/types.d.ts +22 -0
  2629. package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionDeleteView.d.ts +4 -0
  2630. package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionErrorView.d.ts +4 -0
  2631. package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionMoreView.d.ts +3 -0
  2632. package/types/ui/units/connections/components/custom-forms/components/ListItem/ListItem.d.ts +2 -0
  2633. package/types/ui/units/connections/components/custom-forms/components/ListItem/ListItemActions.d.ts +6 -0
  2634. package/types/ui/units/connections/components/custom-forms/components/ListItem/types.d.ts +25 -0
  2635. package/types/ui/units/connections/components/custom-forms/components/index.d.ts +6 -0
  2636. package/types/ui/units/connections/components/custom-forms/hooks/useFileSourceTableWidgetData.d.ts +18 -0
  2637. package/types/ui/units/connections/components/custom-forms/index.d.ts +4 -0
  2638. package/types/ui/units/connections/components/custom-forms/utils/render.d.ts +12 -0
  2639. package/types/ui/units/connections/components/dialogs/Confirm/Confirm.d.ts +2 -0
  2640. package/types/ui/units/connections/components/dialogs/Confirm/index.d.ts +6 -0
  2641. package/types/ui/units/connections/components/dialogs/Confirm/types.d.ts +10 -0
  2642. package/types/ui/units/connections/components/dialogs/CreateConnection/CreateConnection.d.ts +9 -0
  2643. package/types/ui/units/connections/components/dialogs/CreateConnectionInWbOrCollection/CreateConnectionInWbOrCollection.d.ts +11 -0
  2644. package/types/ui/units/connections/components/dialogs/S3Source/DialogS3Source.d.ts +2 -0
  2645. package/types/ui/units/connections/components/dialogs/S3Source/ListHeader.d.ts +10 -0
  2646. package/types/ui/units/connections/components/dialogs/S3Source/ListItem.d.ts +9 -0
  2647. package/types/ui/units/connections/components/dialogs/S3Source/index.d.ts +6 -0
  2648. package/types/ui/units/connections/components/dialogs/S3Source/types.d.ts +12 -0
  2649. package/types/ui/units/connections/components/dialogs/S3Source/utils.d.ts +13 -0
  2650. package/types/ui/units/connections/components/dialogs/index.d.ts +4 -0
  2651. package/types/ui/units/connections/components/hooks/index.d.ts +1 -0
  2652. package/types/ui/units/connections/components/hooks/useCreationHandler/index.d.ts +10 -0
  2653. package/types/ui/units/connections/components/index.d.ts +9 -0
  2654. package/types/ui/units/connections/constants/form.d.ts +43 -0
  2655. package/types/ui/units/connections/constants/index.d.ts +11 -0
  2656. package/types/ui/units/connections/constants/validation.d.ts +6 -0
  2657. package/types/ui/units/connections/index.d.ts +108 -0
  2658. package/types/ui/units/connections/store/actions/api.d.ts +103 -0
  2659. package/types/ui/units/connections/store/actions/base.d.ts +74 -0
  2660. package/types/ui/units/connections/store/actions/file.d.ts +13 -0
  2661. package/types/ui/units/connections/store/actions/gsheet/index.d.ts +14 -0
  2662. package/types/ui/units/connections/store/actions/gsheet/misc-actions.d.ts +29 -0
  2663. package/types/ui/units/connections/store/actions/gsheet/utils.d.ts +33 -0
  2664. package/types/ui/units/connections/store/actions/index.d.ts +34 -0
  2665. package/types/ui/units/connections/store/actions/s3-based.d.ts +9 -0
  2666. package/types/ui/units/connections/store/actions/yadoc/index.d.ts +14 -0
  2667. package/types/ui/units/connections/store/actions/yadoc/misc-actions.d.ts +29 -0
  2668. package/types/ui/units/connections/store/actions/yadoc/utils.d.ts +29 -0
  2669. package/types/ui/units/connections/store/constants.d.ts +2 -0
  2670. package/types/ui/units/connections/store/index.d.ts +4 -0
  2671. package/types/ui/units/connections/store/reducers/index.d.ts +3 -0
  2672. package/types/ui/units/connections/store/selectors/connection-data.d.ts +7 -0
  2673. package/types/ui/units/connections/store/selectors/form.d.ts +10 -0
  2674. package/types/ui/units/connections/store/selectors/gsheet.d.ts +8 -0
  2675. package/types/ui/units/connections/store/selectors/index.d.ts +26 -0
  2676. package/types/ui/units/connections/store/selectors/initial-form.d.ts +3 -0
  2677. package/types/ui/units/connections/store/selectors/inner-form.d.ts +4 -0
  2678. package/types/ui/units/connections/store/selectors/yadocs.d.ts +7 -0
  2679. package/types/ui/units/connections/store/typings/file.d.ts +34 -0
  2680. package/types/ui/units/connections/store/typings/gsheet.d.ts +74 -0
  2681. package/types/ui/units/connections/store/typings/index.d.ts +293 -0
  2682. package/types/ui/units/connections/store/typings/s3-based.d.ts +15 -0
  2683. package/types/ui/units/connections/store/typings/yadocs.d.ts +75 -0
  2684. package/types/ui/units/connections/store/utils/connectors.d.ts +12 -0
  2685. package/types/ui/units/connections/store/utils/entry.d.ts +2 -0
  2686. package/types/ui/units/connections/store/utils/file.d.ts +6 -0
  2687. package/types/ui/units/connections/store/utils/forms.d.ts +26 -0
  2688. package/types/ui/units/connections/store/utils/index.d.ts +5 -0
  2689. package/types/ui/units/connections/store/utils/validation.d.ts +11 -0
  2690. package/types/ui/units/connections/typings/common.d.ts +1 -0
  2691. package/types/ui/units/connections/typings/form.d.ts +7 -0
  2692. package/types/ui/units/connections/typings/index.d.ts +2 -0
  2693. package/types/ui/units/connections/utils/common.d.ts +4 -0
  2694. package/types/ui/units/connections/utils/connectors.d.ts +10 -0
  2695. package/types/ui/units/connections/utils/entry.d.ts +4 -0
  2696. package/types/ui/units/connections/utils/gsheet.d.ts +9 -0
  2697. package/types/ui/units/connections/utils/i18n.d.ts +2 -0
  2698. package/types/ui/units/connections/utils/index.d.ts +7 -0
  2699. package/types/ui/units/connections/utils/validation.d.ts +4 -0
  2700. package/types/ui/units/connections/utils/yadocs.d.ts +9 -0
  2701. package/types/ui/units/dash/components/DashActionPanel/DashActionPanel.d.ts +118 -0
  2702. package/types/ui/units/dash/components/DashActionPanel/DashActionPanelMobile.d.ts +10 -0
  2703. package/types/ui/units/dash/components/DashActionPanel/Description/Description.d.ts +8 -0
  2704. package/types/ui/units/dash/components/DashActionPanel/EditControls/EditControls.d.ts +25 -0
  2705. package/types/ui/units/dash/components/DashActionPanel/SaveDropDown/SaveDropDown.d.ts +8 -0
  2706. package/types/ui/units/dash/components/DashActionPanel/ViewControls/ViewControls.d.ts +14 -0
  2707. package/types/ui/units/dash/components/DashActionPanel/helpers.d.ts +9 -0
  2708. package/types/ui/units/dash/components/EmptyState/EmptyState.d.ts +12 -0
  2709. package/types/ui/units/dash/components/GlobalSelectorIcon/GlobalSelectorIcon.d.ts +9 -0
  2710. package/types/ui/units/dash/components/Loader/Loader.d.ts +8 -0
  2711. package/types/ui/units/dash/components/NavigationInput/InputLink/InputLink.d.ts +29 -0
  2712. package/types/ui/units/dash/components/NavigationInput/NavigationInput.d.ts +41 -0
  2713. package/types/ui/units/dash/components/ParamsSettings/ParamsRow.d.ts +15 -0
  2714. package/types/ui/units/dash/components/ParamsSettings/ParamsSettings.d.ts +2 -0
  2715. package/types/ui/units/dash/components/ParamsSettings/helpers.d.ts +8 -0
  2716. package/types/ui/units/dash/components/ParamsSettings/types.d.ts +15 -0
  2717. package/types/ui/units/dash/components/ShareButton/ShareButton.d.ts +15 -0
  2718. package/types/ui/units/dash/containers/App/App.d.ts +2 -0
  2719. package/types/ui/units/dash/containers/Body/Body.d.ts +25 -0
  2720. package/types/ui/units/dash/containers/Body/LazyBody.d.ts +3 -0
  2721. package/types/ui/units/dash/containers/Body/components/Content/Content.d.ts +49 -0
  2722. package/types/ui/units/dash/containers/Body/components/Content/hooks/useCopiedData.d.ts +5 -0
  2723. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/DashkitWrapper.d.ts +37 -0
  2724. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useConfig.d.ts +2 -0
  2725. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDashKitContext.d.ts +14 -0
  2726. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDashkitRef.d.ts +3 -0
  2727. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDataProviderContext.d.ts +3 -0
  2728. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useHashStates.d.ts +11 -0
  2729. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/getGearGlobalIcon.d.ts +9 -0
  2730. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/helpers.d.ts +5 -0
  2731. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/useOverlay.d.ts +23 -0
  2732. package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/usePreparedCopyItemOptions.d.ts +5 -0
  2733. package/types/ui/units/dash/containers/Body/context.d.ts +20 -0
  2734. package/types/ui/units/dash/containers/Dash/Dash.d.ts +146 -0
  2735. package/types/ui/units/dash/containers/DashError/DashError.d.ts +5 -0
  2736. package/types/ui/units/dash/containers/DashHotkes/DashHotkeys.d.ts +10 -0
  2737. package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/DialogEditQuery.d.ts +5 -0
  2738. package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/QueryEditor/QueryEditor.d.ts +7 -0
  2739. package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/QueryError/QueryError.d.ts +6 -0
  2740. package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/helpers/validate-query.d.ts +2 -0
  2741. package/types/ui/units/dash/containers/Dialogs/Dialogs.d.ts +2 -0
  2742. package/types/ui/units/dash/containers/Dialogs/Settings/Settings.d.ts +2 -0
  2743. package/types/ui/units/dash/containers/Dialogs/Settings/components/AutoRefresh.d.ts +13 -0
  2744. package/types/ui/units/dash/containers/Dialogs/Settings/components/Display.d.ts +14 -0
  2745. package/types/ui/units/dash/containers/Dialogs/Settings/components/LoadPriority.d.ts +7 -0
  2746. package/types/ui/units/dash/containers/Dialogs/Settings/components/MaxConnection.d.ts +7 -0
  2747. package/types/ui/units/dash/containers/Dialogs/Settings/components/OtherSettings.d.ts +20 -0
  2748. package/types/ui/units/dash/containers/Dialogs/Settings/components/Params.d.ts +7 -0
  2749. package/types/ui/units/dash/containers/Dialogs/Settings/components/Row.d.ts +6 -0
  2750. package/types/ui/units/dash/containers/Dialogs/Settings/components/Title.d.ts +7 -0
  2751. package/types/ui/units/dash/containers/Dialogs/Settings/utils.d.ts +1 -0
  2752. package/types/ui/units/dash/containers/Dialogs/Tabs/EditedTabItem.d.ts +8 -0
  2753. package/types/ui/units/dash/containers/Dialogs/Tabs/PopupWidgetsOrder/PopupWidgetsOrder.d.ts +15 -0
  2754. package/types/ui/units/dash/containers/Dialogs/Tabs/PopupWidgetsOrder/helpers.d.ts +91 -0
  2755. package/types/ui/units/dash/containers/Dialogs/Tabs/TabItem.d.ts +75 -0
  2756. package/types/ui/units/dash/containers/Dialogs/Tabs/Tabs.d.ts +51 -0
  2757. package/types/ui/units/dash/containers/Dialogs/components/ColorInputsGroup/ColorInputsGroup.d.ts +15 -0
  2758. package/types/ui/units/dash/containers/Dialogs/components/ColorPalette/ColorItem/ColorItem.d.ts +10 -0
  2759. package/types/ui/units/dash/containers/Dialogs/components/ColorPalette/ColorPalette.d.ts +13 -0
  2760. package/types/ui/units/dash/containers/Dialogs/components/ColorPicker/ColorPicker.d.ts +12 -0
  2761. package/types/ui/units/dash/containers/Dialogs/components/ColorPickerInputWithPreset/ColorPickerInputWithPreset.d.ts +7 -0
  2762. package/types/ui/units/dash/containers/Dialogs/components/PaletteBackground/PaletteBackground.d.ts +16 -0
  2763. package/types/ui/units/dash/containers/Dialogs/components/PaletteText/PaletteText.d.ts +14 -0
  2764. package/types/ui/units/dash/containers/Dialogs/constants.d.ts +23 -0
  2765. package/types/ui/units/dash/containers/Dialogs/utils.d.ts +2 -0
  2766. package/types/ui/units/dash/containers/FixedHeader/FixedHeader.d.ts +27 -0
  2767. package/types/ui/units/dash/containers/FixedHeader/FixedHeaderMobile.d.ts +7 -0
  2768. package/types/ui/units/dash/containers/Header/Header.d.ts +53 -0
  2769. package/types/ui/units/dash/containers/MobileFloatMenu/MobileFloatMenu.d.ts +15 -0
  2770. package/types/ui/units/dash/containers/TableOfContent/TableOfContent.d.ts +6 -0
  2771. package/types/ui/units/dash/containers/TableOfContent/helpers.d.ts +5 -0
  2772. package/types/ui/units/dash/containers/Tabs/Tabs.d.ts +32 -0
  2773. package/types/ui/units/dash/hooks/useIframeFeatures.d.ts +7 -0
  2774. package/types/ui/units/dash/modules/constants.d.ts +70 -0
  2775. package/types/ui/units/dash/modules/helpers.d.ts +199 -0
  2776. package/types/ui/units/dash/modules/markdownProvider.d.ts +11 -0
  2777. package/types/ui/units/dash/modules/postMessage.d.ts +16 -0
  2778. package/types/ui/units/dash/modules/pushStats.d.ts +4 -0
  2779. package/types/ui/units/dash/store/actions/base/actions.d.ts +28 -0
  2780. package/types/ui/units/dash/store/actions/base/helpers.d.ts +7 -0
  2781. package/types/ui/units/dash/store/actions/dash.d.ts +2 -0
  2782. package/types/ui/units/dash/store/actions/dashTyped.d.ts +337 -0
  2783. package/types/ui/units/dash/store/actions/dialogs/actions.d.ts +35 -0
  2784. package/types/ui/units/dash/store/actions/dialogs/dialog-edit-query.d.ts +2 -0
  2785. package/types/ui/units/dash/store/actions/helpers.d.ts +60 -0
  2786. package/types/ui/units/dash/store/actions/index.d.ts +10 -0
  2787. package/types/ui/units/dash/store/actions/relations/actions.d.ts +12 -0
  2788. package/types/ui/units/dash/store/constants/dashActionTypes.d.ts +5 -0
  2789. package/types/ui/units/dash/store/constants/index.d.ts +2 -0
  2790. package/types/ui/units/dash/store/reducers/dash.d.ts +61 -0
  2791. package/types/ui/units/dash/store/reducers/dashHelpers.d.ts +48 -0
  2792. package/types/ui/units/dash/store/reducers/dashTypedReducer.d.ts +48 -0
  2793. package/types/ui/units/dash/store/selectors/dash.d.ts +0 -0
  2794. package/types/ui/units/dash/store/selectors/dashTypedSelectors.d.ts +232 -0
  2795. package/types/ui/units/dash/store/typings/dash.d.ts +43 -0
  2796. package/types/ui/units/dash/store/utils.d.ts +28 -0
  2797. package/types/ui/units/dash/typings/context.d.ts +16 -0
  2798. package/types/ui/units/dash/typings/dash.d.ts +20 -0
  2799. package/types/ui/units/dash/typings/entry.d.ts +3 -0
  2800. package/types/ui/units/dash/utils/context.d.ts +3 -0
  2801. package/types/ui/units/dash/utils/customEvents.d.ts +1 -0
  2802. package/types/ui/units/dash/utils/dashkitProps.d.ts +3 -0
  2803. package/types/ui/units/dash/utils/getTabId.d.ts +2 -0
  2804. package/types/ui/units/dash/utils/scrollUtils.d.ts +1 -0
  2805. package/types/ui/units/dash/utils/selectors.d.ts +35 -0
  2806. package/types/ui/units/dash/utils/url.d.ts +6 -0
  2807. package/types/ui/units/datasets/components/Avatar/Avatar.d.ts +29 -0
  2808. package/types/ui/units/datasets/components/ColorsDialog/ColorsDialog.d.ts +15 -0
  2809. package/types/ui/units/datasets/components/ContainerLoader/ContainerLoader.d.ts +23 -0
  2810. package/types/ui/units/datasets/components/DatasetPanel/DatasetPanel.d.ts +51 -0
  2811. package/types/ui/units/datasets/components/DatasetPanel/helpers.d.ts +5 -0
  2812. package/types/ui/units/datasets/components/DatasetRouter/DatasetRouter.d.ts +406 -0
  2813. package/types/ui/units/datasets/components/DatasetRouter/UnloadConfirmation.d.ts +1 -0
  2814. package/types/ui/units/datasets/components/DatasetTabFieldList/DatasetTabFieldList.d.ts +15 -0
  2815. package/types/ui/units/datasets/components/DatasetTabFieldList/components/FieldRow/FieldRow.d.ts +14 -0
  2816. package/types/ui/units/datasets/components/DatasetTabFieldList/components/TitleColumn/TitleColumn.d.ts +7 -0
  2817. package/types/ui/units/datasets/components/DatasetTabFieldList/components/TypeColumn/TypeColumn.d.ts +7 -0
  2818. package/types/ui/units/datasets/components/DatasetTabFieldList/components/ValidationColumn/ValidationColumn.d.ts +4 -0
  2819. package/types/ui/units/datasets/components/DatasetTabFieldList/components/ValueColumn/ValueColumn.d.ts +5 -0
  2820. package/types/ui/units/datasets/components/DatasetTabFieldList/constants.d.ts +8 -0
  2821. package/types/ui/units/datasets/components/DatasetTabFieldList/helpers.d.ts +4 -0
  2822. package/types/ui/units/datasets/components/DatasetTabFieldList/types.d.ts +76 -0
  2823. package/types/ui/units/datasets/components/DatasetTabSection/DatasetTabSection.d.ts +22 -0
  2824. package/types/ui/units/datasets/components/DatasetTable/DatasetTable.d.ts +81 -0
  2825. package/types/ui/units/datasets/components/DatasetTable/columns/Aggregation.d.ts +9 -0
  2826. package/types/ui/units/datasets/components/DatasetTable/columns/Cast.d.ts +9 -0
  2827. package/types/ui/units/datasets/components/DatasetTable/columns/Description.d.ts +10 -0
  2828. package/types/ui/units/datasets/components/DatasetTable/columns/FieldSettings.d.ts +8 -0
  2829. package/types/ui/units/datasets/components/DatasetTable/columns/Hidden.d.ts +8 -0
  2830. package/types/ui/units/datasets/components/DatasetTable/columns/Id.d.ts +11 -0
  2831. package/types/ui/units/datasets/components/DatasetTable/columns/IndexColumn.d.ts +12 -0
  2832. package/types/ui/units/datasets/components/DatasetTable/columns/More.d.ts +11 -0
  2833. package/types/ui/units/datasets/components/DatasetTable/columns/Rls.d.ts +9 -0
  2834. package/types/ui/units/datasets/components/DatasetTable/columns/Source.d.ts +10 -0
  2835. package/types/ui/units/datasets/components/DatasetTable/columns/Title.d.ts +11 -0
  2836. package/types/ui/units/datasets/components/DatasetTable/columns/index.d.ts +10 -0
  2837. package/types/ui/units/datasets/components/DatasetTable/components/AggregationSelect/AggregationSelect.d.ts +44 -0
  2838. package/types/ui/units/datasets/components/DatasetTable/components/BatchActionPanel/BatchActionPanel.d.ts +8 -0
  2839. package/types/ui/units/datasets/components/DatasetTable/components/BatchActionPanel/components/DialogChangeDatasetFields/DialogChangeDatasetFields.d.ts +21 -0
  2840. package/types/ui/units/datasets/components/DatasetTable/components/DisplaySettings.d.ts +2 -0
  2841. package/types/ui/units/datasets/components/DatasetTable/components/FieldActionsPopup.d.ts +14 -0
  2842. package/types/ui/units/datasets/components/DatasetTable/components/ObservedDataTable.d.ts +9 -0
  2843. package/types/ui/units/datasets/components/DatasetTable/components/TableTextInput.d.ts +10 -0
  2844. package/types/ui/units/datasets/components/DatasetTable/components/TypeSelect/TypeSelect.d.ts +30 -0
  2845. package/types/ui/units/datasets/components/DatasetTable/components/index.d.ts +5 -0
  2846. package/types/ui/units/datasets/components/DatasetTable/constants.d.ts +21 -0
  2847. package/types/ui/units/datasets/components/DatasetTable/types.d.ts +23 -0
  2848. package/types/ui/units/datasets/components/DatasetTable/utils.d.ts +44 -0
  2849. package/types/ui/units/datasets/components/DescriptionButton/DescriptionButton.d.ts +3 -0
  2850. package/types/ui/units/datasets/components/DialogCreateDataset/DialogCreateDataset.d.ts +20 -0
  2851. package/types/ui/units/datasets/components/DragAndDrop/DragAndDrop.d.ts +6 -0
  2852. package/types/ui/units/datasets/components/ErrorView/ErrorView.d.ts +12 -0
  2853. package/types/ui/units/datasets/components/FieldSettingsDialog/FieldSettingsDialog.d.ts +13 -0
  2854. package/types/ui/units/datasets/components/FilterSection/FilterSection.d.ts +18 -0
  2855. package/types/ui/units/datasets/components/FilterSection/helpers.d.ts +10 -0
  2856. package/types/ui/units/datasets/components/FilterSection/types.d.ts +3 -0
  2857. package/types/ui/units/datasets/components/FilterSection/useFilterSection.d.ts +24 -0
  2858. package/types/ui/units/datasets/components/ParametersSection/ParametersSection.d.ts +10 -0
  2859. package/types/ui/units/datasets/components/ParametersSection/components/CopyToClipboard/CopyToClipboardMenuItem.d.ts +2 -0
  2860. package/types/ui/units/datasets/components/ParametersSection/components/HeaderWithTooltip/HeaderWithTooltip.d.ts +1 -0
  2861. package/types/ui/units/datasets/components/ParametersSection/helpers.d.ts +5 -0
  2862. package/types/ui/units/datasets/components/ParametersSection/useParametersSection.d.ts +12 -0
  2863. package/types/ui/units/datasets/components/PreviewHeader/PreviewHeader.d.ts +24 -0
  2864. package/types/ui/units/datasets/components/PreviewHeader/constants.d.ts +1 -0
  2865. package/types/ui/units/datasets/components/PreviewHeader/utils.d.ts +1 -0
  2866. package/types/ui/units/datasets/components/PreviewTable/PreviewTable.d.ts +35 -0
  2867. package/types/ui/units/datasets/components/RLSDialog/RLSDialog.d.ts +51 -0
  2868. package/types/ui/units/datasets/components/RelationDialog/RelationDialog.d.ts +69 -0
  2869. package/types/ui/units/datasets/components/RelationsMap/RelationsMap.d.ts +5 -0
  2870. package/types/ui/units/datasets/components/SelectSourcePrototypes/SelectSourcePrototypes.d.ts +63 -0
  2871. package/types/ui/units/datasets/components/SelectSourcePrototypes/SourcesTable.d.ts +21 -0
  2872. package/types/ui/units/datasets/components/SelectSourcePrototypes/constants.d.ts +3 -0
  2873. package/types/ui/units/datasets/components/SelectSourcePrototypes/utils.d.ts +2 -0
  2874. package/types/ui/units/datasets/components/Source/Source.d.ts +27 -0
  2875. package/types/ui/units/datasets/components/SourceEditorDialog/SourceEditorDialog.d.ts +32 -0
  2876. package/types/ui/units/datasets/components/SourceEditorDialog/components/EditorFormItem.d.ts +12 -0
  2877. package/types/ui/units/datasets/components/SourceEditorDialog/components/Form.d.ts +14 -0
  2878. package/types/ui/units/datasets/components/SourceEditorDialog/components/InputFormItem.d.ts +13 -0
  2879. package/types/ui/units/datasets/components/SourceEditorDialog/components/ParamSelector.d.ts +17 -0
  2880. package/types/ui/units/datasets/components/SourceEditorDialog/components/SelectFormItem.d.ts +10 -0
  2881. package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceError.d.ts +9 -0
  2882. package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceHelpTooltip.d.ts +7 -0
  2883. package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceSwitcher.d.ts +10 -0
  2884. package/types/ui/units/datasets/components/SourceEditorDialog/components/index.d.ts +5 -0
  2885. package/types/ui/units/datasets/components/SourceEditorDialog/types.d.ts +8 -0
  2886. package/types/ui/units/datasets/components/SourceEditorDialog/utils/helpers.d.ts +19 -0
  2887. package/types/ui/units/datasets/components/SourceEditorDialog/utils/index.d.ts +2 -0
  2888. package/types/ui/units/datasets/components/SourceEditorDialog/utils/validation.d.ts +7 -0
  2889. package/types/ui/units/datasets/components/UserName/UserName.d.ts +9 -0
  2890. package/types/ui/units/datasets/components/Veil/Veil.d.ts +10 -0
  2891. package/types/ui/units/datasets/components/dialogs/DatasetFieldInspector/DatasetFieldInspector.d.ts +10 -0
  2892. package/types/ui/units/datasets/components/dialogs/index.d.ts +1 -0
  2893. package/types/ui/units/datasets/components/hoc/AvatarDnD.d.ts +12 -0
  2894. package/types/ui/units/datasets/constants/datasets.d.ts +22 -0
  2895. package/types/ui/units/datasets/constants/index.d.ts +138 -0
  2896. package/types/ui/units/datasets/containers/Dataset/ActionPanelRightItems.d.ts +9 -0
  2897. package/types/ui/units/datasets/containers/Dataset/Dataset.d.ts +475 -0
  2898. package/types/ui/units/datasets/containers/Dataset/constants.d.ts +1 -0
  2899. package/types/ui/units/datasets/containers/Dataset/getAdditionalContextMenuItems.d.ts +18 -0
  2900. package/types/ui/units/datasets/containers/Dataset/useHistoryActions.d.ts +1 -0
  2901. package/types/ui/units/datasets/containers/DatasetEditor/DatasetEditor.d.ts +101 -0
  2902. package/types/ui/units/datasets/containers/DatasetEditor/utils.d.ts +9 -0
  2903. package/types/ui/units/datasets/containers/DatasetError/DatasetError.d.ts +41 -0
  2904. package/types/ui/units/datasets/containers/DatasetFilters/DatasetFilters.d.ts +6 -0
  2905. package/types/ui/units/datasets/containers/DatasetPage/DatasetPage.d.ts +27 -0
  2906. package/types/ui/units/datasets/containers/DatasetPage/createDatasetPageContext.d.ts +7 -0
  2907. package/types/ui/units/datasets/containers/DatasetParameters/DatasetParameters.d.ts +5 -0
  2908. package/types/ui/units/datasets/containers/DatasetPreview/DatasetPreview.d.ts +3 -0
  2909. package/types/ui/units/datasets/containers/DatasetSources/DatasetSources.d.ts +546 -0
  2910. package/types/ui/units/datasets/containers/DatasetTabViewer/DatasetTabViewer.d.ts +15 -0
  2911. package/types/ui/units/datasets/helpers/dataset-error-helpers.d.ts +8 -0
  2912. package/types/ui/units/datasets/helpers/datasets.d.ts +5 -0
  2913. package/types/ui/units/datasets/helpers/utils.d.ts +52 -0
  2914. package/types/ui/units/datasets/helpers/validation.d.ts +10 -0
  2915. package/types/ui/units/datasets/store/actions/creators/datasetTyped.d.ts +215 -0
  2916. package/types/ui/units/datasets/store/actions/creators/dialogs.d.ts +11 -0
  2917. package/types/ui/units/datasets/store/actions/creators/index.d.ts +2 -0
  2918. package/types/ui/units/datasets/store/actions/creators/utils.d.ts +9 -0
  2919. package/types/ui/units/datasets/store/actions/types/dataset.d.ts +83 -0
  2920. package/types/ui/units/datasets/store/constants.d.ts +11 -0
  2921. package/types/ui/units/datasets/store/edit-history-middleware.d.ts +2 -0
  2922. package/types/ui/units/datasets/store/reducers/dataset.d.ts +1544 -0
  2923. package/types/ui/units/datasets/store/reducers/index.d.ts +1544 -0
  2924. package/types/ui/units/datasets/store/reducers/utils/index.d.ts +8 -0
  2925. package/types/ui/units/datasets/store/reducers/utils/mocks.d.ts +2 -0
  2926. package/types/ui/units/datasets/store/selectors/dataset.d.ts +240 -0
  2927. package/types/ui/units/datasets/store/selectors/datasetTyped.d.ts +3 -0
  2928. package/types/ui/units/datasets/store/selectors/index.d.ts +2 -0
  2929. package/types/ui/units/datasets/store/types/dataset.d.ts +681 -0
  2930. package/types/ui/units/datasets/store/types/index.d.ts +1 -0
  2931. package/types/ui/units/datasets/typings/dataset.d.ts +20 -0
  2932. package/types/ui/units/datasets/typings/redux.d.ts +20 -0
  2933. package/types/ui/units/preview/components/App/App.d.ts +24 -0
  2934. package/types/ui/units/preview/components/IndexPage/IndexPage.d.ts +2 -0
  2935. package/types/ui/units/preview/components/Preview/Preview.d.ts +14 -0
  2936. package/types/ui/units/preview/hooks/useChartAutoupdate.d.ts +4 -0
  2937. package/types/ui/units/preview/modules/constants/constants.d.ts +2 -0
  2938. package/types/ui/units/preview/modules/helpers.d.ts +1 -0
  2939. package/types/ui/units/ql/components/DND/DNDContainer.d.ts +33 -0
  2940. package/types/ui/units/ql/components/DND/DNDItem.d.ts +2 -0
  2941. package/types/ui/units/ql/components/DND/DNDLayer.d.ts +61 -0
  2942. package/types/ui/units/ql/components/Dialogs/Settings/Settings.d.ts +67 -0
  2943. package/types/ui/units/ql/components/Grid/Grid.d.ts +26 -0
  2944. package/types/ui/units/ql/components/Grid/GridPane/GridPane.d.ts +11 -0
  2945. package/types/ui/units/ql/components/Grid/GridPane/GridPaneView/GridPaneView.d.ts +36 -0
  2946. package/types/ui/units/ql/components/Grid/GridPane/GridPaneView/GridPaneViewContent.d.ts +16 -0
  2947. package/types/ui/units/ql/configs/chart-types.d.ts +10 -0
  2948. package/types/ui/units/ql/constants/index.d.ts +47 -0
  2949. package/types/ui/units/ql/containers/App/App.d.ts +302 -0
  2950. package/types/ui/units/ql/containers/PaneMain/PaneMain.d.ts +13 -0
  2951. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/ScreenEditor.d.ts +9 -0
  2952. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/DefaultValue.d.ts +25 -0
  2953. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/OverridenValue.d.ts +7 -0
  2954. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/TabParams.d.ts +6 -0
  2955. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/utils.d.ts +8 -0
  2956. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/ScreenPromQL/ScreenPromQL.d.ts +13 -0
  2957. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/ScreenSQL/ScreenSQL.d.ts +9 -0
  2958. package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/TabQuery.d.ts +11 -0
  2959. package/types/ui/units/ql/containers/PanePreview/PanePreview.d.ts +12 -0
  2960. package/types/ui/units/ql/containers/PaneTablePreview/PaneTablePreview.d.ts +12 -0
  2961. package/types/ui/units/ql/containers/PaneVisualization/PaneVisualization.d.ts +7 -0
  2962. package/types/ui/units/ql/containers/QL/QL.d.ts +12 -0
  2963. package/types/ui/units/ql/containers/QL/QLActionPanel/QLActionPanel.d.ts +15 -0
  2964. package/types/ui/units/ql/containers/QL/QLActionPanel/useQLActionPanel.d.ts +6 -0
  2965. package/types/ui/units/ql/containers/QL/ViewSetup/ViewSetup.d.ts +3 -0
  2966. package/types/ui/units/ql/modules/helpers.d.ts +4 -0
  2967. package/types/ui/units/ql/store/actions/dialog.d.ts +13 -0
  2968. package/types/ui/units/ql/store/actions/ql.d.ts +284 -0
  2969. package/types/ui/units/ql/store/reducers/index.d.ts +219 -0
  2970. package/types/ui/units/ql/store/reducers/ql.d.ts +873 -0
  2971. package/types/ui/units/ql/store/typings/index.d.ts +1 -0
  2972. package/types/ui/units/ql/store/typings/ql.d.ts +289 -0
  2973. package/types/ui/units/ql/store/utils/grid.d.ts +81 -0
  2974. package/types/ui/units/ql/store/utils/monitoring.d.ts +572 -0
  2975. package/types/ui/units/ql/utils/chart-settings.d.ts +3 -0
  2976. package/types/ui/units/ql/utils/connectionts.d.ts +2 -0
  2977. package/types/ui/units/ql/utils/query.d.ts +3 -0
  2978. package/types/ui/units/ql/utils/visualization/getAvailableQlVisualizations.d.ts +2 -0
  2979. package/types/ui/units/ql/utils/visualization/getDefaultQlVisualization.d.ts +2 -0
  2980. package/types/ui/units/ql/utils/visualization/getQlVisualization.d.ts +2 -0
  2981. package/types/ui/units/ql/utils/visualization/index.d.ts +3 -0
  2982. package/types/ui/units/service-settings/components/AppearanceSettings/AppearanceSettings.d.ts +7 -0
  2983. package/types/ui/units/service-settings/components/CreateUserForm/CreateUserForm.d.ts +1 -0
  2984. package/types/ui/units/service-settings/components/SectionGroup/SectionGroup.d.ts +7 -0
  2985. package/types/ui/units/service-settings/components/UsersList/LabelsList/LabelsList.d.ts +9 -0
  2986. package/types/ui/units/service-settings/components/UsersList/UsersFilters/UsersFilters.d.ts +5 -0
  2987. package/types/ui/units/service-settings/components/UsersList/UsersList.d.ts +2 -0
  2988. package/types/ui/units/service-settings/components/UsersList/constants.d.ts +7 -0
  2989. package/types/ui/units/service-settings/components/UsersList/utils.d.ts +3 -0
  2990. package/types/ui/units/service-settings/containers/AccessErrorPage/AccessErrorPage.d.ts +2 -0
  2991. package/types/ui/units/service-settings/containers/App/App.d.ts +7 -0
  2992. package/types/ui/units/service-settings/containers/CreateProfilePage/CreateProfilePage.d.ts +2 -0
  2993. package/types/ui/units/service-settings/containers/MainPage/MainPage.d.ts +18 -0
  2994. package/types/ui/units/service-settings/containers/UserProfilePage/UserProfilePage.d.ts +2 -0
  2995. package/types/ui/units/service-settings/store/actions/serviceSettings.d.ts +64 -0
  2996. package/types/ui/units/service-settings/store/constants/serviceSettings.d.ts +10 -0
  2997. package/types/ui/units/service-settings/store/reducers/serviceSettings.d.ts +34 -0
  2998. package/types/ui/units/service-settings/store/selectors/serviceSettings.d.ts +10 -0
  2999. package/types/ui/units/service-settings/store/typings/serviceSettings.d.ts +17 -0
  3000. package/types/ui/units/wizard/actions/dataset.d.ts +106 -0
  3001. package/types/ui/units/wizard/actions/dialog.d.ts +70 -0
  3002. package/types/ui/units/wizard/actions/dialogColor.d.ts +58 -0
  3003. package/types/ui/units/wizard/actions/dndItems.d.ts +68 -0
  3004. package/types/ui/units/wizard/actions/hierarchyEditor.d.ts +14 -0
  3005. package/types/ui/units/wizard/actions/index.d.ts +714 -0
  3006. package/types/ui/units/wizard/actions/placeholder.d.ts +31 -0
  3007. package/types/ui/units/wizard/actions/preview.d.ts +88 -0
  3008. package/types/ui/units/wizard/actions/settings.d.ts +36 -0
  3009. package/types/ui/units/wizard/actions/tooltip.d.ts +7 -0
  3010. package/types/ui/units/wizard/actions/utils/getDatasetUpdates.d.ts +25 -0
  3011. package/types/ui/units/wizard/actions/utils/index.d.ts +3 -0
  3012. package/types/ui/units/wizard/actions/utils/mutateAndValidateItem.d.ts +6 -0
  3013. package/types/ui/units/wizard/actions/utils/placeholders.d.ts +2 -0
  3014. package/types/ui/units/wizard/actions/visualization.d.ts +199 -0
  3015. package/types/ui/units/wizard/actions/widget.d.ts +60 -0
  3016. package/types/ui/units/wizard/components/AddField/AddField.d.ts +22 -0
  3017. package/types/ui/units/wizard/components/DND/DNDContainer.d.ts +33 -0
  3018. package/types/ui/units/wizard/components/DND/DNDItem.d.ts +32 -0
  3019. package/types/ui/units/wizard/components/DND/DragAndDrop.d.ts +6 -0
  3020. package/types/ui/units/wizard/components/DatasetSelect/DatasetSelect.d.ts +31 -0
  3021. package/types/ui/units/wizard/components/DatasetSelect/DatasetSelectItem.d.ts +17 -0
  3022. package/types/ui/units/wizard/components/Dialogs/DialogColor/ColorSettingsContainer/ColorSettingsContainer.d.ts +55 -0
  3023. package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColor.d.ts +249 -0
  3024. package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColorGradient/DialogColorGradient.d.ts +38 -0
  3025. package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColorPalette/DialogColorPalette.d.ts +35 -0
  3026. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/DialogColumnSettings.d.ts +28 -0
  3027. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/ColumnWidthSetting/ColumnWidthSetting.d.ts +11 -0
  3028. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/ColumnWidthSettingsSection/ColumnWidthSettingsSection.d.ts +13 -0
  3029. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/FieldInfo/FieldInfo.d.ts +9 -0
  3030. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/Subheader/Subheader.d.ts +6 -0
  3031. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/hooks/useDialogColumnSettingsState.d.ts +28 -0
  3032. package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/utils/index.d.ts +14 -0
  3033. package/types/ui/units/wizard/components/Dialogs/DialogField/DialogField.d.ts +44 -0
  3034. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/BackgroundSettings.d.ts +11 -0
  3035. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/helpers.d.ts +18 -0
  3036. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgrounColorFieldSelect.d.ts +17 -0
  3037. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundColorModeRadioButtons.d.ts +20 -0
  3038. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundNullModeSettings.d.ts +8 -0
  3039. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettings.d.ts +14 -0
  3040. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettingsButtonColorDialog.d.ts +24 -0
  3041. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettingsSwitch.d.ts +9 -0
  3042. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/BarsSettings.d.ts +9 -0
  3043. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/ColorControls/ColorsControl.d.ts +13 -0
  3044. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/GradientColorControl/GradientColorControl.d.ts +11 -0
  3045. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/MinMaxInputs/MinMaxInputs.d.ts +19 -0
  3046. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/PaletteColorControl/PaletteColorControl.d.ts +16 -0
  3047. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/useBarsSettings/helpers.d.ts +4 -0
  3048. package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/useBarsSettings/useBarsSettings.d.ts +16 -0
  3049. package/types/ui/units/wizard/components/Dialogs/DialogField/components/ButtonColorDialog/ButtonColorDialog.d.ts +16 -0
  3050. package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldInput/DialogFieldInput.d.ts +9 -0
  3051. package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldMainSection/DialogFieldMainSection.d.ts +46 -0
  3052. package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldRow/DialogFieldRow.d.ts +10 -0
  3053. package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldSelect/DialogFieldSelect.d.ts +13 -0
  3054. package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldSettingTitle/DialogFieldSettingTitle.d.ts +6 -0
  3055. package/types/ui/units/wizard/components/Dialogs/DialogField/components/SubTotalsSettings/SubTotalsSettings.d.ts +8 -0
  3056. package/types/ui/units/wizard/components/Dialogs/DialogField/utils/backgroundSettings.d.ts +9 -0
  3057. package/types/ui/units/wizard/components/Dialogs/DialogField/utils/barsSettings.d.ts +2 -0
  3058. package/types/ui/units/wizard/components/Dialogs/DialogField/utils/misc.d.ts +12 -0
  3059. package/types/ui/units/wizard/components/Dialogs/DialogField/utils/subTotals.d.ts +4 -0
  3060. package/types/ui/units/wizard/components/Dialogs/DialogFieldInspector/DialogFieldInspector.d.ts +10 -0
  3061. package/types/ui/units/wizard/components/Dialogs/DialogGeolayer/DialogGeolayer.d.ts +63 -0
  3062. package/types/ui/units/wizard/components/Dialogs/DialogLabelSettings/DialogLabelSettings.d.ts +18 -0
  3063. package/types/ui/units/wizard/components/Dialogs/DialogLink.d.ts +67 -0
  3064. package/types/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.d.ts +14 -0
  3065. package/types/ui/units/wizard/components/Dialogs/DialogMultidataset.d.ts +16 -0
  3066. package/types/ui/units/wizard/components/Dialogs/DialogNoRights.d.ts +11 -0
  3067. package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/DialogPlaceholder.d.ts +19 -0
  3068. package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/components/DialogPlaceholderRow/DialogPlaceholderRow.d.ts +5 -0
  3069. package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/constants/radio-buttons.d.ts +15 -0
  3070. package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/utils.d.ts +2 -0
  3071. package/types/ui/units/wizard/components/Dialogs/DialogPointsSize.d.ts +14 -0
  3072. package/types/ui/units/wizard/components/Dialogs/DialogShapes/DialogShapes.d.ts +27 -0
  3073. package/types/ui/units/wizard/components/Dialogs/DialogShapes/DialogShapesPalette/DialogShapesPalette.d.ts +21 -0
  3074. package/types/ui/units/wizard/components/Dialogs/DialogTooltipSettings/DialogTooltipSettings.d.ts +12 -0
  3075. package/types/ui/units/wizard/components/Dialogs/Settings/CenterSetting/CenterSetting.d.ts +11 -0
  3076. package/types/ui/units/wizard/components/Dialogs/Settings/IndicatorTitleSetting/IndicatorTitleSetting.d.ts +12 -0
  3077. package/types/ui/units/wizard/components/Dialogs/Settings/LimitInput/LimitInput.d.ts +9 -0
  3078. package/types/ui/units/wizard/components/Dialogs/Settings/SettingFeed/SettingFeed.d.ts +7 -0
  3079. package/types/ui/units/wizard/components/Dialogs/Settings/SettingNavigator/NavigatorSubSettings/NavigatorSubSettings.d.ts +18 -0
  3080. package/types/ui/units/wizard/components/Dialogs/Settings/SettingNavigator/SettingNavigator.d.ts +8 -0
  3081. package/types/ui/units/wizard/components/Dialogs/Settings/SettingPagination/SettingPagination.d.ts +17 -0
  3082. package/types/ui/units/wizard/components/Dialogs/Settings/SettingSwitcher/SettingSwitcher.d.ts +22 -0
  3083. package/types/ui/units/wizard/components/Dialogs/Settings/SettingTitleMode/SettingTitleMode.d.ts +9 -0
  3084. package/types/ui/units/wizard/components/Dialogs/Settings/Settings.d.ts +24 -0
  3085. package/types/ui/units/wizard/components/Dialogs/Settings/ZoomSetting/ZoomSetting.d.ts +11 -0
  3086. package/types/ui/units/wizard/components/Dialogs/components/DialogRadioButtons/DialogRadioButtons.d.ts +12 -0
  3087. package/types/ui/units/wizard/components/Dialogs/components/DialogRow/DialogRow.d.ts +10 -0
  3088. package/types/ui/units/wizard/components/Dialogs/components/TitleWithTooltip/TitleWithTooltip.d.ts +7 -0
  3089. package/types/ui/units/wizard/components/GeolayersSelect/GeolayersSelect.d.ts +37 -0
  3090. package/types/ui/units/wizard/components/GradientPalettePreview/GradientPalettePreview.d.ts +6 -0
  3091. package/types/ui/units/wizard/components/HierarchyEditor/HierarchyEditor.d.ts +25 -0
  3092. package/types/ui/units/wizard/components/MinifiedPalette/MinifiedPalette.d.ts +17 -0
  3093. package/types/ui/units/wizard/components/Palette/Palette.d.ts +18 -0
  3094. package/types/ui/units/wizard/components/PlaceholderActionIcon/PlaceholderActionIcon.d.ts +17 -0
  3095. package/types/ui/units/wizard/components/SearchInput/SearchInput.d.ts +10 -0
  3096. package/types/ui/units/wizard/components/ValuesList/ValuesList.d.ts +62 -0
  3097. package/types/ui/units/wizard/components/VisualizationItemTitleWithAggregation/VisualizationItemTitleWithAggregation.d.ts +7 -0
  3098. package/types/ui/units/wizard/constants/aggregations.d.ts +12 -0
  3099. package/types/ui/units/wizard/constants/dialogColor.d.ts +30 -0
  3100. package/types/ui/units/wizard/constants/formats.d.ts +11 -0
  3101. package/types/ui/units/wizard/constants/grouping.d.ts +3 -0
  3102. package/types/ui/units/wizard/constants/index.d.ts +9 -0
  3103. package/types/ui/units/wizard/constants/paletteTypes.d.ts +5 -0
  3104. package/types/ui/units/wizard/constants/placeholders.d.ts +2 -0
  3105. package/types/ui/units/wizard/containers/App.d.ts +109 -0
  3106. package/types/ui/units/wizard/containers/Wizard/SectionDataset/DatasetItem/DatasetItem.d.ts +80 -0
  3107. package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/FieldsContainer.d.ts +9 -0
  3108. package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/ParametersContainer/ParametersContainer.d.ts +5 -0
  3109. package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/components/SectionContainer/SectionContainer.d.ts +10 -0
  3110. package/types/ui/units/wizard/containers/Wizard/SectionDataset/HierarchyEditor/HierarchyEditor.d.ts +261 -0
  3111. package/types/ui/units/wizard/containers/Wizard/SectionDataset/SectionDataset.d.ts +336 -0
  3112. package/types/ui/units/wizard/containers/Wizard/SectionPreview/SectionPreview.d.ts +57 -0
  3113. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/AddField/AddField.d.ts +28 -0
  3114. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/AvailablePlaceholder/AvailablePlaceholder.d.ts +32 -0
  3115. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/ColorsPlaceholder/ColorsPlaceholder.d.ts +47 -0
  3116. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardFiltersPlaceholder/DashboardFiltersPlaceholder.d.ts +56 -0
  3117. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardParametersPlaceholder/DashboardParametersPlaceholder.d.ts +51 -0
  3118. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/FiltersPlaceholder/FiltersPlaceholder.d.ts +40 -0
  3119. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/LabelsPlaceholder/LabelsPlaceholder.d.ts +50 -0
  3120. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/LayerFiltersPlaceholder/LayerFiltersPlaceholder.d.ts +40 -0
  3121. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/Placeholder/Placeholder.d.ts +478 -0
  3122. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/PlaceholdersContainer.d.ts +58 -0
  3123. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/SegmentsPlaceholder/SegmentsPlaceholder.d.ts +34 -0
  3124. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/ShapesPlaceholder/ShapesPlaceholder.d.ts +40 -0
  3125. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/SortPlaceholder/SortPlaceholder.d.ts +408 -0
  3126. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/TooltipsPlaceholder/TooltipsPlaceholder.d.ts +38 -0
  3127. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/VisualizationPlaceholder/VisualizationPlaceholder.d.ts +462 -0
  3128. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/VisualizationPlaceholder/constants.d.ts +2 -0
  3129. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/utils.d.ts +186 -0
  3130. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/SectionVisualization.d.ts +381 -0
  3131. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationItem/VisualizationItem.d.ts +82 -0
  3132. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/CombinedChartLayerTypeSwitcher.d.ts +4 -0
  3133. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/VisualizationLayersControl.d.ts +31 -0
  3134. package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationSelector/VisualizationSelector.d.ts +45 -0
  3135. package/types/ui/units/wizard/containers/Wizard/Wizard.d.ts +8 -0
  3136. package/types/ui/units/wizard/containers/Wizard/WizardActionPanel/WizardActionPanel.d.ts +20 -0
  3137. package/types/ui/units/wizard/containers/Wizard/WizardActionPanel/useWizardActionPanel.d.ts +11 -0
  3138. package/types/ui/units/wizard/reducers/dataset.d.ts +19 -0
  3139. package/types/ui/units/wizard/reducers/dialogColor.d.ts +6 -0
  3140. package/types/ui/units/wizard/reducers/hierarchyEditor.d.ts +8 -0
  3141. package/types/ui/units/wizard/reducers/index.d.ts +31 -0
  3142. package/types/ui/units/wizard/reducers/preview.d.ts +38 -0
  3143. package/types/ui/units/wizard/reducers/revisions/reducers.d.ts +8 -0
  3144. package/types/ui/units/wizard/reducers/settings.d.ts +10 -0
  3145. package/types/ui/units/wizard/reducers/utils/checkTableColor.d.ts +2 -0
  3146. package/types/ui/units/wizard/reducers/utils/clearUnusedVisualizationItems.d.ts +21 -0
  3147. package/types/ui/units/wizard/reducers/utils/getConfigData.d.ts +3 -0
  3148. package/types/ui/units/wizard/reducers/utils/getPlaceholdersWithMergedSettings.d.ts +14 -0
  3149. package/types/ui/units/wizard/reducers/utils/index.d.ts +2 -0
  3150. package/types/ui/units/wizard/reducers/utils/updateColorHierarchies.d.ts +189 -0
  3151. package/types/ui/units/wizard/reducers/visualization.d.ts +26 -0
  3152. package/types/ui/units/wizard/reducers/widget.d.ts +12 -0
  3153. package/types/ui/units/wizard/selectors/dataset.d.ts +41 -0
  3154. package/types/ui/units/wizard/selectors/dialogColor.d.ts +10 -0
  3155. package/types/ui/units/wizard/selectors/gradient.d.ts +3 -0
  3156. package/types/ui/units/wizard/selectors/index.d.ts +11 -0
  3157. package/types/ui/units/wizard/selectors/preview.d.ts +40 -0
  3158. package/types/ui/units/wizard/selectors/settings.d.ts +15 -0
  3159. package/types/ui/units/wizard/selectors/visualization.d.ts +705 -0
  3160. package/types/ui/units/wizard/selectors/widget.d.ts +9 -0
  3161. package/types/ui/units/wizard/typings/index.d.ts +1 -0
  3162. package/types/ui/units/wizard/typings/wizard.d.ts +33 -0
  3163. package/types/ui/units/wizard/utils/colors.d.ts +2 -0
  3164. package/types/ui/units/wizard/utils/filters.d.ts +7 -0
  3165. package/types/ui/units/wizard/utils/helpers.d.ts +224 -0
  3166. package/types/ui/units/wizard/utils/mappers/mapChartsToClientConfig.d.ts +4 -0
  3167. package/types/ui/units/wizard/utils/mappers/mapClientToChartsConfig.d.ts +4 -0
  3168. package/types/ui/units/wizard/utils/palette.d.ts +5 -0
  3169. package/types/ui/units/wizard/utils/placeholder.d.ts +21 -0
  3170. package/types/ui/units/wizard/utils/shapes.d.ts +2 -0
  3171. package/types/ui/units/wizard/utils/table.d.ts +2 -0
  3172. package/types/ui/units/wizard/utils/visualization.d.ts +232 -0
  3173. package/types/ui/units/wizard/utils/wizard.d.ts +150 -0
  3174. package/types/ui/units/workbooks/components/CreateEntry/CreateEntry.d.ts +13 -0
  3175. package/types/ui/units/workbooks/components/CreateEntry/utils.d.ts +13 -0
  3176. package/types/ui/units/workbooks/components/CreateEntryDialog/CreateEntryDialog.d.ts +2 -0
  3177. package/types/ui/units/workbooks/components/CreateEntryDialog/utils.d.ts +3 -0
  3178. package/types/ui/units/workbooks/components/DeleteEntryDialog/DeleteEntryDialog.d.ts +11 -0
  3179. package/types/ui/units/workbooks/components/DuplicateEntryDialog/DuplicateEntryDialog.d.ts +13 -0
  3180. package/types/ui/units/workbooks/components/EmptyWorkbook/EmptyWorkbook.d.ts +11 -0
  3181. package/types/ui/units/workbooks/components/EmptyWorkbook/EmptyWorkbookContainer.d.ts +5 -0
  3182. package/types/ui/units/workbooks/components/EmptyWorkbook/utils.d.ts +5 -0
  3183. package/types/ui/units/workbooks/components/EntryActions/EntryActions.d.ts +15 -0
  3184. package/types/ui/units/workbooks/components/EntryActions/utils.d.ts +2 -0
  3185. package/types/ui/units/workbooks/components/RenameEntryDialog/RenameEntryDialog.d.ts +11 -0
  3186. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/ChunkGroup/ChunkGroup.d.ts +7 -0
  3187. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/MainTabContent/MainTabContent.d.ts +20 -0
  3188. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/Row/Row.d.ts +20 -0
  3189. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/WorkbookEntriesTable.d.ts +27 -0
  3190. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/WorkbookEntriesTableTabs.d.ts +29 -0
  3191. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/constants.d.ts +8 -0
  3192. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/types.d.ts +13 -0
  3193. package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/utils.d.ts +3 -0
  3194. package/types/ui/units/workbooks/components/WorkbookActions/WorkbookActions.d.ts +8 -0
  3195. package/types/ui/units/workbooks/components/WorkbookActions/utils.d.ts +2 -0
  3196. package/types/ui/units/workbooks/components/WorkbookFilters/WorkbookFilters.d.ts +8 -0
  3197. package/types/ui/units/workbooks/components/WorkbookMainTabContent/WorkbookMainTabContent.d.ts +10 -0
  3198. package/types/ui/units/workbooks/components/WorkbookMainTabContent/useChunkedEntries.d.ts +7 -0
  3199. package/types/ui/units/workbooks/components/WorkbookPage/WorkbookPage.d.ts +1 -0
  3200. package/types/ui/units/workbooks/components/WorkbookPage/hooks/useLayout.d.ts +6 -0
  3201. package/types/ui/units/workbooks/components/WorkbookTabContent/WorkbookTabContent.d.ts +12 -0
  3202. package/types/ui/units/workbooks/components/WorkbookTabContent/useChunkedEntries.d.ts +7 -0
  3203. package/types/ui/units/workbooks/components/WorkbookTabs/WorkbookTabs.d.ts +6 -0
  3204. package/types/ui/units/workbooks/components/WorkbookTabs/constants.d.ts +1 -0
  3205. package/types/ui/units/workbooks/components/WorkbookTabs/types.d.ts +7 -0
  3206. package/types/ui/units/workbooks/components/WorkbookTabs/utils.d.ts +3 -0
  3207. package/types/ui/units/workbooks/constants/index.d.ts +10 -0
  3208. package/types/ui/units/workbooks/store/actions/index.d.ts +246 -0
  3209. package/types/ui/units/workbooks/store/constants/index.d.ts +39 -0
  3210. package/types/ui/units/workbooks/store/reducers/index.d.ts +230 -0
  3211. package/types/ui/units/workbooks/store/reducers/workbook-page.d.ts +278 -0
  3212. package/types/ui/units/workbooks/store/selectors/index.d.ts +242 -0
  3213. package/types/ui/units/workbooks/types/index.d.ts +25 -0
  3214. package/types/ui/units/workbooks/utils/entry.d.ts +2 -0
  3215. package/types/ui/utils/absurd.d.ts +26 -0
  3216. package/types/ui/utils/collectionFiltersStorage.d.ts +13 -0
  3217. package/types/ui/utils/colors.d.ts +6 -0
  3218. package/types/ui/utils/connections/icons.d.ts +4 -0
  3219. package/types/ui/utils/connections/index.d.ts +1 -0
  3220. package/types/ui/utils/copyItems.d.ts +47 -0
  3221. package/types/ui/utils/copyText.d.ts +6 -0
  3222. package/types/ui/utils/custom-export-menu-item.d.ts +8 -0
  3223. package/types/ui/utils/date.d.ts +3 -0
  3224. package/types/ui/utils/docs/helpers.d.ts +1 -0
  3225. package/types/ui/utils/docs/index.d.ts +4 -0
  3226. package/types/ui/utils/embedded.d.ts +5 -0
  3227. package/types/ui/utils/errorContentTypes.d.ts +6 -0
  3228. package/types/ui/utils/errors/errorByCode.d.ts +17 -0
  3229. package/types/ui/utils/errors/manual.d.ts +1 -0
  3230. package/types/ui/utils/errors/parse.d.ts +13 -0
  3231. package/types/ui/utils/getActionPanelItems.d.ts +23 -0
  3232. package/types/ui/utils/getAllEntryScopes.d.ts +2 -0
  3233. package/types/ui/utils/getBasicActionPanelItems.d.ts +10 -0
  3234. package/types/ui/utils/getCurrentUserRights.d.ts +3 -0
  3235. package/types/ui/utils/getOverridedTheme.d.ts +2 -0
  3236. package/types/ui/utils/getRestrictedParamNames.d.ts +1 -0
  3237. package/types/ui/utils/getRevisionsPanelEntryScopesTexts.d.ts +22 -0
  3238. package/types/ui/utils/getScopeTypeIcon.d.ts +1 -0
  3239. package/types/ui/utils/getTopLevelEntryScopes.d.ts +2 -0
  3240. package/types/ui/utils/getTypeSelectOptions.d.ts +3 -0
  3241. package/types/ui/utils/gridStorage.d.ts +18 -0
  3242. package/types/ui/utils/helpers.d.ts +17 -0
  3243. package/types/ui/utils/icons.d.ts +2 -0
  3244. package/types/ui/utils/index.d.ts +18 -0
  3245. package/types/ui/utils/isEnabledFeature.d.ts +1 -0
  3246. package/types/ui/utils/markdown/get-render-markdown-fn.d.ts +1 -0
  3247. package/types/ui/utils/markdown/get-render-yfm-fn.d.ts +2 -0
  3248. package/types/ui/utils/markdown/index.d.ts +2 -0
  3249. package/types/ui/utils/markup.d.ts +2 -0
  3250. package/types/ui/utils/migrateItemDataOnPaste.d.ts +17 -0
  3251. package/types/ui/utils/mobile.d.ts +15 -0
  3252. package/types/ui/utils/os.d.ts +14 -0
  3253. package/types/ui/utils/palettes.d.ts +2 -0
  3254. package/types/ui/utils/readOnly.d.ts +1 -0
  3255. package/types/ui/utils/revisions.d.ts +13 -0
  3256. package/types/ui/utils/scrollableContainerContext.d.ts +10 -0
  3257. package/types/ui/utils/sdkRequests.d.ts +8 -0
  3258. package/types/ui/utils/setEntryKey.d.ts +2 -0
  3259. package/types/ui/utils/shared-entries/get-is-shared-entry.d.ts +2 -0
  3260. package/types/ui/utils/shared-entries/index.d.ts +1 -0
  3261. package/types/ui/utils/stringUtils.d.ts +2 -0
  3262. package/types/ui/utils/urlUtils.d.ts +4 -0
  3263. package/types/ui/utils/utils.d.ts +62 -0
  3264. package/types/ui/utils/validation.d.ts +8 -0
  3265. package/types/ui/utils/visualizations/line.d.ts +22 -0
  3266. package/types/ui/utils/visualizations/placeholders/colors.d.ts +16 -0
  3267. package/types/ui/utils/visualizations/placeholders/common-measures.d.ts +11 -0
  3268. package/types/ui/utils/waitOperation.d.ts +24 -0
  3269. package/types/ui/utils/widgetColors.d.ts +9 -0
  3270. package/types/ui/utils/workbooks.d.ts +1 -0
package/main.js ADDED
@@ -0,0 +1,5018 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { TextInput, useThemeType, Flex, Icon, Alert, Button, Label, Popup, User, Switch as Switch$1, Dialog, TextArea, SegmentedRadioGroup, Link as Link$1, Loader, ThemeProvider, MobileProvider } from "@gravity-ui/uikit";
3
+ import React__default from "react";
4
+ import ReactDOM from "react-dom";
5
+ import { useLocation, useHistory, Switch, Route, Redirect, Link, useParams, withRouter, Router } from "react-router-dom";
6
+ import { useSelector, useDispatch, connect, Provider } from "react-redux";
7
+ import { HotkeysProvider } from "react-hotkeys-hook";
8
+ import { a as DialogManagerContainer } from "./components/DialogManager.js";
9
+ import { bp as SET_WORKBOOK, bq as RESET_WORKBOOK_PERMISSIONS, br as ADD_COLLECTION_BREADCRUMBS, bs as ADD_WORKBOOK_INFO, bt as CHANGE_FILTERS, bu as DELETE_ENTRY_INLINE, bv as DELETE_ENTRY_FAILED, bw as DELETE_ENTRY_SUCCESS, bx as DELETE_ENTRY_LOADING, by as CHANGE_FAVORITE_ENTRY_INLINE, bz as CHANGE_FAVORITE_ENTRY_FAILED, bA as CHANGE_FAVORITE_ENTRY_SUCCESS, bB as CHANGE_FAVORITE_ENTRY_LOADING, bC as RENAME_ENTRY_INLINE, bD as RENAME_ENTRY_FAILED, bE as RENAME_ENTRY_SUCCESS, bF as RENAME_ENTRY_LOADING, bG as RESET_CREATE_WORKBOOK_ENTRY_TYPE, bH as SET_CREATE_WORKBOOK_ENTRY_TYPE, bI as RESET_WORKBOOK_ENTRIES_BY_SCOPE, bJ as RESET_WORKBOOK_SHARED_ENTRIES, bK as RESET_WORKBOOK_ENTRIES, bL as BIND_SHARED_ENTRY_TO_WORKBOOK_FAILED, bM as BIND_SHARED_ENTRY_TO_WORKBOOK_SUCCESS, bN as BIND_SHARED_ENTRY_TO_WORKBOOK_LOADING, bO as GET_WORKBOOK_SHARED_ENTRIES_FAILED, bP as GET_WORKBOOK_SHARED_ENTRIES_SUCCESS, bQ as GET_WORKBOOK_SHARED_ENTRIES_LOADING, bR as GET_WORKBOOK_ENTRIES_FAILED, bS as GET_ALL_WORKBOOK_ENTRIES_SEPARATELY_SUCCESS, bT as GET_WORKBOOK_ENTRIES_SUCCESS, bU as GET_WORKBOOK_ENTRIES_LOADING, bV as GET_WORKBOOK_BREADCRUMBS_FAILED, bW as GET_WORKBOOK_BREADCRUMBS_SUCCESS, bX as GET_WORKBOOK_BREADCRUMBS_LOADING, bY as GET_WORKBOOK_FAILED, bZ as GET_WORKBOOK_SUCCESS, b_ as GET_WORKBOOK_LOADING, b$ as RESET_WORKBOOK_STATE, c0 as PARTIAL_UPDATE_DIALOG_PROPS, c1 as UPDATE_DIALOG_PROPS, c2 as CLOSE_DIALOG, c3 as OPEN_DIALOG, a9 as RevisionsListMode, R as RevisionsMode, c4 as SET_IS_RENAME_WITHOUT_RELOAD, c5 as REVISIONS_LOADING_STATUS, c6 as SET_ENTRY_CURRENT_REVID, c7 as CLEAN_REVISIONS, c8 as SET_REVISIONS, c9 as TOGGLE_REVISIONS_MODE, ca as SET_REVISIONS_LIST_MODE, cb as SET_REVISIONS_MODE, cc as SET_ENTRY, cd as SET_ITEM, ce as fireMetricaHit, L as CounterName, V as useEffectOnce, cf as initSdk, g as getSdk, l as logger$1, e as isSdkError, d as showToast, i as isEnabledFeature, o as openDialog, c as closeDialog, cg as setIsRenameWithoutReload, aq as setCreateWorkbookEntryType, ch as getUIEntryRoute, ci as getIconDataById, D as sdk, U as Utils, O as navigateHelper_default, f as openDialogErrorWithTabs, cj as CHARTKIT_LOGGER, r as getLocation, ck as setHistory, cl as getHistory, cm as registerSDKDispatch } from "./components/ActionPanel.js";
10
+ import { D as DL, r as registry, eH as isHeaderWithoutNavigationError, eI as isHeaderWithoutHelpCenterError, eJ as SYSTEM_USER, eK as DATALENS_IFRAME_CLASSNAME, l as I18n, eL as SignInQa, F as Feature, eM as EXAMPLE_FUNCTION, eN as RESTRICTED_PARAM_NAMES, d as EntryScope, c as ENTRY_TYPES, u as DashTabItemType, eO as DashboardAddWidgetQa, j as i18n$c, eP as extractEntryId, cM as isEntryId, aj as formatNumber, de as QLChartType, eQ as ViewSetupQA, c7 as PLACE, n as ErrorCode, aN as ChartkitMenuDialogsQA, eR as DISABLE_JSONFN_SWITCH_MODE_COOKIE_NAME, eS as DISABLE, A as ACCEPT_LANGUAGE_HEADER, p as TENANT_ID_HEADER, eT as DISPLAY_MODE_HEADER, S as SUPERUSER_SWITCH_MODE_COOKIE_NAME, q as SuperuserHeader, E as ENABLE, eU as ALLOW_THEMES } from "./components/AccessRights.js";
11
+ import { f as SET_THEME, U as UPDATE_USER_SETTINGS, h as getLocalTheme, j as SET_IS_HIDDEN, k as SET_IS_COMPACT, R as RESET_ASIDE_HEADER_SETTINGS, l as SET_ASIDE_HEADER_SETTINGS, m as SET_CURRENT_PAGE_ENTRY, n as SET_ASIDE_HEADER_DATA, C as CLOSE_NAVIGATION, O as OPEN_NAVIGATION, g as getIsAsideHeaderEnabled, A as AsideHeaderAdapter, o as getUpdatedUserSettings, p as selectThemeSettings } from "./components/AsideHeaderAdapter.js";
12
+ import { S as SET_IS_LANDING } from "./components/LandingPage.js";
13
+ import { S as SET_COLOR_PALETTES, g as SET_CURRENT_COLOR_PALETTE } from "./components/ColorPaletteEditorContainer.js";
14
+ import { R as RESET_EXPORT_RESULT, G as GET_EXPORT_RESULT_FAILED, y as GET_EXPORT_RESULT_SUCCESS, z as GET_EXPORT_RESULT_LOADING, A as RESET_EXPORT_PROGRESS, B as GET_EXPORT_PROGRESS_FAILED, C as GET_EXPORT_PROGRESS_SUCCESS, E as GET_EXPORT_PROGRESS_LOADING, F as RESET_IMPORT_PROGRESS, H as GET_IMPORT_PROGRESS_FAILED, I as GET_IMPORT_PROGRESS_SUCCESS, J as GET_IMPORT_PROGRESS_LOADING, K as RESET_IMPORT_WORKBOOK, L as IMPORT_WORKBOOK_FAILED, M as IMPORT_WORKBOOK_SUCCESS, N as IMPORT_WORKBOOK_LOADING, O as RESET_EXPORT_WORKBOOK, P as EXPORT_WORKBOOK_FAILED, Q as EXPORT_WORKBOOK_SUCCESS, T as EXPORT_WORKBOOK_LOADING, U as DELETE_WORKBOOKS_FAILED, V as DELETE_WORKBOOKS_SUCCESS, W as DELETE_WORKBOOKS_LOADING, X as DELETE_WORKBOOK_FAILED, Y as DELETE_WORKBOOK_SUCCESS, Z as DELETE_WORKBOOK_LOADING, _ as DELETE_COLLECTIONS_FAILED, $ as DELETE_COLLECTIONS_SUCCESS, a0 as DELETE_COLLECTIONS_LOADING, a1 as DELETE_COLLECTION_FAILED, a2 as DELETE_COLLECTION_SUCCESS, a3 as DELETE_COLLECTION_LOADING, a4 as UPDATE_COLLECTION_FAILED, a5 as UPDATE_COLLECTION_SUCCESS, a6 as UPDATE_COLLECTION_LOADING, a7 as UPDATE_WORKBOOK_FAILED, a8 as UPDATE_WORKBOOK_SUCCESS, a9 as UPDATE_WORKBOOK_LOADING, aa as COPY_WORKBOOK_FAILED, ab as COPY_WORKBOOK_SUCCESS, ac as COPY_WORKBOOK_LOADING, ad as MOVE_SHARED_ENTRY_FAILED, ae as MOVE_SHARED_ENTRY_SUCCESS, af as MOVE_SHARED_ENTRY_LOADING, ag as MOVE_WORKBOOKS_FAILED, ah as MOVE_WORKBOOKS_SUCCESS, ai as MOVE_WORKBOOKS_LOADING, aj as MOVE_WORKBOOK_FAILED, ak as MOVE_WORKBOOK_SUCCESS, al as MOVE_WORKBOOK_LOADING, am as MOVE_COLLECTIONS_FAILED, an as MOVE_COLLECTIONS_SUCCESS, ao as MOVE_COLLECTIONS_LOADING, ap as MOVE_COLLECTION_FAILED, aq as MOVE_COLLECTION_SUCCESS, ar as MOVE_COLLECTION_LOADING, as as CREATE_WORKBOOK_FAILED, at as CREATE_WORKBOOK_SUCCESS, au as CREATE_WORKBOOK_LOADING, av as CREATE_COLLECTION_FAILED, aw as CREATE_COLLECTION_SUCCESS, ax as CREATE_COLLECTION_LOADING, ay as COPY_TEMPLATE_FAILED, az as COPY_TEMPLATE_SUCCESS, aA as COPY_TEMPLATE_LOADING, aB as GET_STRUCTURE_ITEMS_FAILED, aC as GET_STRUCTURE_ITEMS_SUCCESS, aD as GET_STRUCTURE_ITEMS_LOADING, aE as RESET_STRUCTURE_ITEMS, aF as GET_COLLECTION_FAILED, aG as GET_COLLECTION_SUCCESS, aH as GET_COLLECTION_LOADING, aI as GET_COLLECTION_BREADCRUMBS_FAILED, aJ as GET_COLLECTION_BREADCRUMBS_SUCCESS, aK as GET_COLLECTION_BREADCRUMBS_LOADING, aL as RESET_COLLECTION_BREADCRUMBS, aM as GET_ROOT_COLLECTION_PERMISSIONS_FAILED, aN as GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS, aO as GET_ROOT_COLLECTION_PERMISSIONS_LOADING, aP as RESET_STATE, aQ as DIALOG_CREATE_WORKBOOK } from "./components/CollectionsStructure.js";
15
+ import { M as MIGRATE_ENTRIES_TO_WORKBOOK_FAILED, a as MIGRATE_ENTRIES_TO_WORKBOOK_SUCCESS, b as MIGRATE_ENTRIES_TO_WORKBOOK_LOADING, G as GET_RELATIONS_FAILED, c as GET_RELATIONS_SUCCESS, d as GET_RELATIONS_LOADING, e as GET_RELATIONS_GRAPH_FAILED, f as GET_RELATIONS_GRAPH_SUCCESS, g as GET_RELATIONS_GRAPH_LOADING, h as GET_ENTRY_FAILED, i as GET_ENTRY_SUCCESS, j as GET_ENTRY_LOADING, R as RESET_STATE$1 } from "./components/MigrateToWorkbookDialog.js";
16
+ import { C as COPY_ENTRIES_TO_WORKBOOK_FAILED, a as COPY_ENTRIES_TO_WORKBOOK_SUCCESS, b as COPY_ENTRIES_TO_WORKBOOK_LOADING, G as GET_RELATIONS_FAILED$1, c as GET_RELATIONS_SUCCESS$1, d as GET_RELATIONS_LOADING$1, e as GET_ENTRY_FAILED$1, f as GET_ENTRY_SUCCESS$1, g as GET_ENTRY_LOADING$1, R as RESET_STATE$2 } from "./components/CopyEntriesToWorkbookDialog.js";
17
+ import isObject from "lodash/isObject";
18
+ import isSet from "lodash/isSet";
19
+ import isFunction from "lodash/isFunction";
20
+ import transform from "lodash/transform";
21
+ import { hh as SET_EDIT_HISTORY_CURRENT_STATE, hi as SET_EDIT_HISTORY_POINT_INDEX, hj as ADD_EDIT_HISTORY_POINT, hk as RESET_EDIT_HISTORY_UNIT, hl as INIT_EDIT_HISTORY_UNIT, hm as controlDialog, cq as isIframe, bl as isEmbeddedMode, cf as isTvMode, bp as reducerRegistry, hn as chartkitApi, ho as getChartkitType, hf as getStore, hp as renameDataset, hq as renameDash, I as ITEM_TYPE, hr as requestCollectChartkitStats, hs as requestCollectDashStats, ht as fetchDistinctsByApi, hu as fetchBatchRenderedMarkdown, hv as fetchRenderedMarkdown, hw as getExtendedItemData, hx as getCaptionText, hy as isEmbeddedEntry, h as CHARTS_ERROR_CODE, b4 as ERROR_CODE, b as CHARTKIT_ERROR_NODE_CLASSNAME, u as unwrapFromArrayAndSkipOperation, c as CONTROL_TYPE, j as CLICK_ACTION_TYPE, w as wrapToArray, f as addOperationForValue, C as CHARTKIT_SCROLLABLE_NODE_CLASSNAME, hz as Markdown, hA as CHARTKIT_WIDGET_TYPE, hB as Table, cE as ChartKitWithCharts, g as chartsDataProvider, hC as resetStore } from "./components/ControlComponents.js";
22
+ import { L as LocationChange } from "./components/LocationChange.js";
23
+ import { F as FallbackPage } from "./pages/FallbackPage.js";
24
+ import { D as DashAndWizardQLPages, d as dashAndWizardQLRoutes } from "./pages/DashAndWizardQLPages.js";
25
+ import { M as MobileHeaderComponent } from "./components/MobileHeader.js";
26
+ import { R as RELOADED_URL_QUERY, S as SET_AUTH_PAGE_INITED, d as RESET_FORM, e as RESET_FORM_VALIDATION, U as UPDATE_FORM_VALIDATION, f as UPDATE_FORM_VALUES$1, g as RESET_AUTH_STATE, A as AUTH_ROUTE } from "./pages/AuthPage.js";
27
+ import { combineReducers, bindActionCreators } from "redux";
28
+ import { g as getUsersRoles, U as UPDATE_USER_ROLE_FAILED, a as UPDATE_USER_ROLE_SUCCESS, b as UPDATE_USER_ROLE_LOADING, R as RESET_UPDATE_USER_PASSWORD_STATE, c as UPDATE_USER_PASSWORD_FAILED, d as UPDATE_USER_PASSWORD_SUCCESS, e as UPDATE_USER_PASSWORD_LOADING, E as EDIT_USER_PROFILE_FAILED, f as EDIT_USER_PROFILE_SUCCESS, h as EDIT_USER_PROFILE_LOADING, D as DELETE_USER_PROFILE_FAILED, i as DELETE_USER_PROFILE_SUCCESS, j as DELETE_USER_PROFILE_LOADING, k as RESET_USER_PROFILE_STATE, G as GET_USER_PROFILE_FAILED, l as GET_USER_PROFILE_SUCCESS, m as GET_USER_PROFILE_LOADING, n as UserRoleLabel } from "./pages/OwnUserProfilePage.js";
29
+ import { S as SET_USERS, a as SET_QUEUE, L as LoginById, U as UserAvatarById, r as resolveUsersByIds } from "./components/UserAvatar.js";
30
+ import { u as useCapabilities, a as Capability, c as capabilities } from "./components/Breadcrumbs.js";
31
+ import block from "bem-cn-lite";
32
+ import { GravityChartsPlugin } from "@gravity-ui/chartkit/gravity-charts";
33
+ import { HighchartsPlugin } from "@gravity-ui/chartkit/highcharts";
34
+ import { IndicatorPlugin } from "@gravity-ui/chartkit/indicator";
35
+ import { YagrPlugin } from "@gravity-ui/chartkit/yagr";
36
+ import { g as getChartkitMenuByType, b as getDefaultChartMenu, c as getPanePreviewChartMenu, d as getWizardChartMenu, e as getChartkitMenu, X as X_CSRF_TOKEN_HEADER$1, D as DATALENS_DEBUG_MODE_KEY$1 } from "./components/Widgets.js";
37
+ import { W as WORKBOOKS_PATH, M as MOBILE_SIZE } from "./components/CollectionFilters.js";
38
+ import { g as getEntryScopesWithRevisionsList } from "./components/RevisionsPanel.js";
39
+ import { cx as setWizardWidgetKey, cy as setQlEntryKey, cz as setError, cA as setStatus, b6 as performManualConfiguration, aW as getEntry, aY as getDefaultPath, bC as AppStatus, cB as AVAILABLE_CONNECTION_TYPES_BY_CHART_TYPE } from "./pages/DashPage.js";
40
+ import { s as setConnectionKey, c as changeInnerForm, b as changeForm, I as InnerFieldKey, L as Label$1, R as RadioButton, d as Input, f as formSelector, e as RadioGroup, g as getIsShowCreateConnectionButton, h as getNewConnectionDestination, j as getFakeEntry } from "./pages/ConnectionsPage.js";
41
+ import { E as EntryBreadcrumbs } from "./components/EntryBreadcrumbs.js";
42
+ import { f as getAdditionalEntryContextMenuItems, h as getMenuGroupConfig, j as getEntryMenuConfig } from "./components/EntryContextMenu.js";
43
+ import { g as getAdditionalEntryDialoguesMap } from "./components/EntryDialogues.js";
44
+ import { g as getEntryName } from "./components/EntryTitle.js";
45
+ import { I as Illustration, g as getIllustrationStore } from "./components/Illustration.js";
46
+ import { M as MarkdownControl } from "./components/MarkdownControl.js";
47
+ import { a as getPlacesConfig, b as getCreatableEntriesConfig, c as getQuickItems, d as getInitDestination, e as getPlaceSelectParameters, N as NavigationMinimal_default } from "./components/Navigation.js";
48
+ import { a as YfmWrapperContent } from "./components/YfmWrapper.js";
49
+ import { a as DatepickerControl } from "./components/common.js";
50
+ import { P as PlaceholderIllustration } from "./components/PlaceholderIllustration.js";
51
+ import { C as ChunkGroup, E as EmptyRow, a as CreateEntryActionType, b as CreateEntry, T as TAB_ALL } from "./pages/CollectionsNavigationPage.js";
52
+ import { ChevronDown, ChevronUp, Plus, ChartColumn, Heading, TextAlignLeft, Picture, Sliders, CircleXmark, Database, Lock, ChartMixed, TriangleExclamationFill } from "@gravity-ui/icons";
53
+ import { S as SmartLoader } from "./components/SmartLoader.js";
54
+ import update from "immutability-helper";
55
+ import { a as DialogEntryDescription } from "./components/DialogEntryDescription.js";
56
+ import noop from "lodash/noop";
57
+ import { C as Collapse } from "./components/Collapse.js";
58
+ import { get } from "lodash";
59
+ import { a as DialogTextWidget } from "./components/DialogTextWidget.js";
60
+ import { m as getDashEntryUrl, n as getNewDashUrl$1, C as ControlButton, o as ControlCheckbox, p as ControlRangeDatepicker, q as ControlDatepicker, r as ControlTextArea, s as ControlInput, t as ControlSelect, v as isValidRequiredValue } from "./components/DashKit.js";
61
+ import { g as getFieldEditorDocPath } from "./components/FieldEditor.js";
62
+ import { E as EntryIcon } from "./components/EntryIcon.js";
63
+ import { F as FieldWrapper } from "./components/FieldWrapper.js";
64
+ import { compose } from "recompose";
65
+ import { W as WorkbookNavigationMinimal } from "./components/WorkbookNavigationMinimal.js";
66
+ import { E as EntityIcon } from "./components/EntityIcon.js";
67
+ import isEmpty from "lodash/isEmpty";
68
+ import _uniqBy from "lodash/uniqBy";
69
+ import { I as Interpolate } from "./components/Interpolate.js";
70
+ import isEqual from "lodash/isEqual";
71
+ import { a8 as HOTKEYS_SCOPES } from "./components/DialogFilter.js";
72
+ import "@gravity-ui/uikit/styles/styles.scss";
73
+ /* empty css */
74
+ import { createHashHistory } from "history";
75
+ const { theme, themeSettings } = getLocalTheme();
76
+ function getUserState() {
77
+ return {
78
+ settings: {
79
+ data: DL.USER_SETTINGS,
80
+ error: null,
81
+ loading: false
82
+ },
83
+ theme,
84
+ themeSettings
85
+ };
86
+ }
87
+ function user(state = getUserState(), action) {
88
+ switch (action.type) {
89
+ case UPDATE_USER_SETTINGS: {
90
+ return {
91
+ ...state,
92
+ settings: {
93
+ ...state.settings,
94
+ data: { ...state.settings.data, ...action.payload.userSettings }
95
+ }
96
+ };
97
+ }
98
+ case SET_THEME: {
99
+ return {
100
+ ...state,
101
+ theme: action.payload.theme,
102
+ themeSettings: action.payload.themeSettings
103
+ };
104
+ }
105
+ default:
106
+ return state;
107
+ }
108
+ }
109
+ function getLandingNavigationSettings() {
110
+ const errorType = DL.LANDING_PAGE_ERROR_TYPE;
111
+ return {
112
+ withHelpCenter: !isHeaderWithoutHelpCenterError(errorType),
113
+ withNavigation: !isHeaderWithoutNavigationError(errorType)
114
+ };
115
+ }
116
+ const getInitialSettings = () => ({
117
+ withHelpCenter: true,
118
+ withNavigation: !DL.HIDE_NAVIGATION,
119
+ navigationType: "aside",
120
+ ...DL.IS_LANDING ? getLandingNavigationSettings() : {}
121
+ });
122
+ const getInitialState$1 = () => ({
123
+ startFromNavigation: "",
124
+ panelVisible: false,
125
+ place: "",
126
+ asideHeaderData: {
127
+ // This initial size is used in mobile version
128
+ size: 0
129
+ },
130
+ settings: getInitialSettings(),
131
+ currentPageEntry: null,
132
+ isHidden: false
133
+ });
134
+ const getAsideHeaderInitialState = () => {
135
+ const { getIsCompact: getIsCompact2 } = registry.common.functions.getAll();
136
+ return {
137
+ ...getInitialState$1(),
138
+ isCompact: getIsCompact2()
139
+ };
140
+ };
141
+ function asideHeader(state = getAsideHeaderInitialState(), action) {
142
+ switch (action.type) {
143
+ case OPEN_NAVIGATION: {
144
+ const { startFromNavigation, place } = action;
145
+ return {
146
+ ...state,
147
+ startFromNavigation: startFromNavigation || "",
148
+ place: place || "",
149
+ panelVisible: true
150
+ };
151
+ }
152
+ case CLOSE_NAVIGATION: {
153
+ return {
154
+ ...state,
155
+ panelVisible: false
156
+ };
157
+ }
158
+ case SET_ASIDE_HEADER_DATA: {
159
+ return {
160
+ ...state,
161
+ asideHeaderData: action.asideHeaderData
162
+ };
163
+ }
164
+ case SET_CURRENT_PAGE_ENTRY: {
165
+ return {
166
+ ...state,
167
+ currentPageEntry: action.currentPageEntry
168
+ };
169
+ }
170
+ case SET_ASIDE_HEADER_SETTINGS: {
171
+ return {
172
+ ...state,
173
+ settings: {
174
+ ...state.settings,
175
+ ...action.settings
176
+ }
177
+ };
178
+ }
179
+ case RESET_ASIDE_HEADER_SETTINGS: {
180
+ return {
181
+ ...state,
182
+ settings: getInitialSettings()
183
+ };
184
+ }
185
+ case SET_IS_COMPACT: {
186
+ return {
187
+ ...state,
188
+ isCompact: action.isCompact
189
+ };
190
+ }
191
+ case SET_IS_HIDDEN: {
192
+ return {
193
+ ...state,
194
+ isHidden: action.isHidden
195
+ };
196
+ }
197
+ default: {
198
+ return state;
199
+ }
200
+ }
201
+ }
202
+ const initialState$b = {
203
+ getWorkbookEntries: {
204
+ isLoading: false,
205
+ data: null,
206
+ error: null
207
+ },
208
+ getWorkbookSharedEntries: {
209
+ isLoading: false,
210
+ data: null,
211
+ error: null
212
+ },
213
+ bindSharedEntryToWorkbook: {
214
+ isLoading: false,
215
+ error: null
216
+ },
217
+ items: [],
218
+ sharedItems: [],
219
+ getWorkbook: {
220
+ isLoading: false,
221
+ data: null,
222
+ error: null
223
+ },
224
+ getWorkbookBreadcrumbs: {
225
+ isLoading: false,
226
+ data: null,
227
+ error: null
228
+ },
229
+ createWorkbookEntry: {
230
+ type: null
231
+ },
232
+ renameEntry: {
233
+ isLoading: false,
234
+ data: null,
235
+ error: null
236
+ },
237
+ changeFavoriteEntry: {
238
+ isLoading: false,
239
+ data: null,
240
+ error: null
241
+ },
242
+ deleteEntry: {
243
+ isLoading: false,
244
+ data: null,
245
+ error: null
246
+ },
247
+ filters: {
248
+ filterString: void 0,
249
+ orderField: "name",
250
+ orderDirection: "asc"
251
+ },
252
+ workbooksNames: {},
253
+ workbookPermissions: null,
254
+ entityBreadcrumbs: null
255
+ };
256
+ const workbooksReducer = (state = initialState$b, action) => {
257
+ switch (action.type) {
258
+ // Information about the workbook
259
+ case GET_WORKBOOK_LOADING: {
260
+ return {
261
+ ...state,
262
+ getWorkbook: {
263
+ ...state.getWorkbook,
264
+ isLoading: true,
265
+ error: null
266
+ }
267
+ };
268
+ }
269
+ case GET_WORKBOOK_SUCCESS: {
270
+ return {
271
+ ...state,
272
+ getWorkbook: {
273
+ isLoading: false,
274
+ data: action.data,
275
+ error: null
276
+ }
277
+ };
278
+ }
279
+ case GET_WORKBOOK_FAILED: {
280
+ return {
281
+ ...state,
282
+ getWorkbook: {
283
+ ...state.getWorkbook,
284
+ isLoading: false,
285
+ error: action.error
286
+ }
287
+ };
288
+ }
289
+ // Bread crumbs of workbooks
290
+ case GET_WORKBOOK_BREADCRUMBS_LOADING: {
291
+ return {
292
+ ...state,
293
+ getWorkbookBreadcrumbs: {
294
+ ...state.getWorkbookBreadcrumbs,
295
+ isLoading: true,
296
+ error: null
297
+ }
298
+ };
299
+ }
300
+ case GET_WORKBOOK_BREADCRUMBS_SUCCESS: {
301
+ return {
302
+ ...state,
303
+ getWorkbookBreadcrumbs: {
304
+ isLoading: false,
305
+ data: action.data,
306
+ error: null
307
+ }
308
+ };
309
+ }
310
+ case GET_WORKBOOK_BREADCRUMBS_FAILED: {
311
+ return {
312
+ ...state,
313
+ getWorkbookBreadcrumbs: {
314
+ ...state.getWorkbookBreadcrumbs,
315
+ isLoading: false,
316
+ error: action.error
317
+ }
318
+ };
319
+ }
320
+ // Entities in the workbook
321
+ case GET_WORKBOOK_ENTRIES_LOADING: {
322
+ return {
323
+ ...state,
324
+ getWorkbookEntries: {
325
+ ...state.getWorkbookEntries,
326
+ isLoading: true,
327
+ error: null
328
+ }
329
+ };
330
+ }
331
+ case GET_WORKBOOK_ENTRIES_SUCCESS: {
332
+ const loadedIds = new Set(
333
+ state.items.map((item) => {
334
+ return item.entryId;
335
+ })
336
+ );
337
+ const newEntries = action.data.entries.filter((entry) => !loadedIds.has(entry.entryId));
338
+ return {
339
+ ...state,
340
+ getWorkbookEntries: {
341
+ isLoading: false,
342
+ data: action.data,
343
+ error: null
344
+ },
345
+ items: [...state.items, ...newEntries]
346
+ };
347
+ }
348
+ case GET_ALL_WORKBOOK_ENTRIES_SEPARATELY_SUCCESS: {
349
+ const loadedIds = new Set(
350
+ state.items.map((item) => {
351
+ return item.entryId;
352
+ })
353
+ );
354
+ const newEntries = [];
355
+ action.data.forEach((workbookEntries) => {
356
+ return workbookEntries?.entries.forEach((entry) => {
357
+ if (!loadedIds.has(entry.entryId)) {
358
+ newEntries.push(entry);
359
+ }
360
+ });
361
+ });
362
+ return {
363
+ ...state,
364
+ getWorkbookEntries: {
365
+ isLoading: false,
366
+ data: action.data,
367
+ error: null
368
+ },
369
+ items: [...state.items, ...newEntries]
370
+ };
371
+ }
372
+ case GET_WORKBOOK_ENTRIES_FAILED: {
373
+ return {
374
+ ...state,
375
+ getWorkbookEntries: {
376
+ ...state.getWorkbookEntries,
377
+ isLoading: false,
378
+ error: action.error
379
+ }
380
+ };
381
+ }
382
+ // Shared entities in the workbook
383
+ case GET_WORKBOOK_SHARED_ENTRIES_LOADING: {
384
+ return {
385
+ ...state,
386
+ getWorkbookSharedEntries: {
387
+ ...state.getWorkbookSharedEntries,
388
+ isLoading: true,
389
+ error: null
390
+ }
391
+ };
392
+ }
393
+ case GET_WORKBOOK_SHARED_ENTRIES_SUCCESS: {
394
+ const loadedIds = new Set(
395
+ state.sharedItems.map((item) => {
396
+ return item.entryId;
397
+ })
398
+ );
399
+ const newEntries = action.data.entries.filter((entry) => !loadedIds.has(entry.entryId));
400
+ return {
401
+ ...state,
402
+ getWorkbookSharedEntries: {
403
+ isLoading: false,
404
+ data: action.data,
405
+ error: null
406
+ },
407
+ sharedItems: [...state.sharedItems, ...newEntries]
408
+ };
409
+ }
410
+ case GET_WORKBOOK_SHARED_ENTRIES_FAILED: {
411
+ return {
412
+ ...state,
413
+ getWorkbookSharedEntries: {
414
+ ...state.getWorkbookSharedEntries,
415
+ isLoading: false,
416
+ error: action.error
417
+ }
418
+ };
419
+ }
420
+ case BIND_SHARED_ENTRY_TO_WORKBOOK_LOADING: {
421
+ return {
422
+ ...state,
423
+ bindSharedEntryToWorkbook: {
424
+ ...state.bindSharedEntryToWorkbook,
425
+ isLoading: true
426
+ }
427
+ };
428
+ }
429
+ case BIND_SHARED_ENTRY_TO_WORKBOOK_SUCCESS: {
430
+ return {
431
+ ...state,
432
+ bindSharedEntryToWorkbook: {
433
+ isLoading: false,
434
+ error: null
435
+ }
436
+ };
437
+ }
438
+ case BIND_SHARED_ENTRY_TO_WORKBOOK_FAILED: {
439
+ return {
440
+ ...state,
441
+ bindSharedEntryToWorkbook: {
442
+ isLoading: false,
443
+ error: action.error
444
+ }
445
+ };
446
+ }
447
+ // Resetting information about the contents of the workbook
448
+ case RESET_WORKBOOK_ENTRIES: {
449
+ return {
450
+ ...state,
451
+ getWorkbookEntries: initialState$b.getWorkbookEntries,
452
+ items: initialState$b.items
453
+ };
454
+ }
455
+ // Resetting information about the shared entries of the workbook
456
+ case RESET_WORKBOOK_SHARED_ENTRIES: {
457
+ return {
458
+ ...state,
459
+ getWorkbookSharedEntries: initialState$b.getWorkbookSharedEntries,
460
+ sharedItems: initialState$b.sharedItems
461
+ };
462
+ }
463
+ case RESET_WORKBOOK_ENTRIES_BY_SCOPE: {
464
+ const entries = state.items.filter((entry) => entry.scope !== action.data);
465
+ return {
466
+ ...state,
467
+ getWorkbookEntries: {
468
+ ...state.getWorkbookEntries,
469
+ data: entries
470
+ },
471
+ items: entries
472
+ };
473
+ }
474
+ // Information about which entity to create in the workbook
475
+ case SET_CREATE_WORKBOOK_ENTRY_TYPE: {
476
+ return {
477
+ ...state,
478
+ createWorkbookEntry: {
479
+ type: action.data
480
+ }
481
+ };
482
+ }
483
+ case RESET_CREATE_WORKBOOK_ENTRY_TYPE: {
484
+ return {
485
+ ...state,
486
+ createWorkbookEntry: initialState$b.createWorkbookEntry
487
+ };
488
+ }
489
+ // Renaming the entry
490
+ case RENAME_ENTRY_LOADING: {
491
+ return {
492
+ ...state,
493
+ renameEntry: {
494
+ isLoading: true,
495
+ data: null,
496
+ error: null
497
+ }
498
+ };
499
+ }
500
+ case RENAME_ENTRY_SUCCESS: {
501
+ return {
502
+ ...state,
503
+ renameEntry: {
504
+ isLoading: false,
505
+ data: action.data,
506
+ error: null
507
+ }
508
+ };
509
+ }
510
+ case RENAME_ENTRY_FAILED: {
511
+ return {
512
+ ...state,
513
+ renameEntry: {
514
+ ...state.renameEntry,
515
+ isLoading: false,
516
+ error: action.error
517
+ }
518
+ };
519
+ }
520
+ case RENAME_ENTRY_INLINE: {
521
+ return {
522
+ ...state,
523
+ items: state.items.map((item) => {
524
+ const renamedEntry = action.data[0];
525
+ if (renamedEntry.entryId === item.entryId) {
526
+ const newItem = { ...item };
527
+ Object.keys(newItem).forEach((key) => {
528
+ const typedKey = key;
529
+ if (typedKey in renamedEntry) {
530
+ newItem[typedKey] = renamedEntry[typedKey];
531
+ }
532
+ });
533
+ return newItem;
534
+ }
535
+ return item;
536
+ })
537
+ };
538
+ }
539
+ // Change favorite the entry
540
+ case CHANGE_FAVORITE_ENTRY_LOADING: {
541
+ return {
542
+ ...state,
543
+ changeFavoriteEntry: {
544
+ isLoading: true,
545
+ data: null,
546
+ error: null
547
+ }
548
+ };
549
+ }
550
+ case CHANGE_FAVORITE_ENTRY_SUCCESS: {
551
+ return {
552
+ ...state,
553
+ changeFavoriteEntry: {
554
+ isLoading: false,
555
+ data: action.data,
556
+ error: null
557
+ }
558
+ };
559
+ }
560
+ case CHANGE_FAVORITE_ENTRY_FAILED: {
561
+ return {
562
+ ...state,
563
+ changeFavoriteEntry: {
564
+ ...state.changeFavoriteEntry,
565
+ isLoading: false,
566
+ error: action.error
567
+ }
568
+ };
569
+ }
570
+ case CHANGE_FAVORITE_ENTRY_INLINE: {
571
+ const changeFavoriteEntry = Array.isArray(action.data) ? action.data[0] : action.data;
572
+ const mapItemsCallback = (item) => {
573
+ if (changeFavoriteEntry.entryId === item.entryId) {
574
+ const newItem = { ...item };
575
+ newItem.isFavorite = !newItem.isFavorite;
576
+ return newItem;
577
+ }
578
+ return item;
579
+ };
580
+ return {
581
+ ...state,
582
+ sharedItems: state.sharedItems.map(mapItemsCallback),
583
+ items: state.items.map(mapItemsCallback)
584
+ };
585
+ }
586
+ // Deleting an entry
587
+ case DELETE_ENTRY_LOADING: {
588
+ return {
589
+ ...state,
590
+ deleteEntry: {
591
+ isLoading: true,
592
+ data: null,
593
+ error: null
594
+ }
595
+ };
596
+ }
597
+ case DELETE_ENTRY_SUCCESS: {
598
+ return {
599
+ ...state,
600
+ deleteEntry: {
601
+ isLoading: false,
602
+ data: action.data,
603
+ error: null
604
+ }
605
+ };
606
+ }
607
+ case DELETE_ENTRY_FAILED: {
608
+ return {
609
+ ...state,
610
+ deleteEntry: {
611
+ ...state.deleteEntry,
612
+ isLoading: false,
613
+ error: action.error
614
+ }
615
+ };
616
+ }
617
+ case DELETE_ENTRY_INLINE: {
618
+ return {
619
+ ...state,
620
+ items: state.items.filter((item) => {
621
+ if (action.data.entryId === item.entryId) {
622
+ return false;
623
+ }
624
+ return true;
625
+ })
626
+ };
627
+ }
628
+ case CHANGE_FILTERS: {
629
+ return {
630
+ ...state,
631
+ filters: {
632
+ ...state.filters,
633
+ ...action.data
634
+ }
635
+ };
636
+ }
637
+ case ADD_WORKBOOK_INFO: {
638
+ return {
639
+ ...state,
640
+ workbooksNames: {
641
+ ...state.workbooksNames,
642
+ [action.data.workbookId]: action.data.workbookName
643
+ },
644
+ workbookPermissions: action.data.workbookPermissions,
645
+ entityBreadcrumbs: action.data.workbookBreadcrumbs
646
+ };
647
+ }
648
+ case ADD_COLLECTION_BREADCRUMBS: {
649
+ return {
650
+ ...state,
651
+ entityBreadcrumbs: action.data
652
+ };
653
+ }
654
+ case RESET_WORKBOOK_PERMISSIONS: {
655
+ return {
656
+ ...state,
657
+ workbookPermissions: null
658
+ };
659
+ }
660
+ case SET_WORKBOOK: {
661
+ return {
662
+ ...state,
663
+ getWorkbook: {
664
+ isLoading: false,
665
+ data: action.data.workbook,
666
+ error: null
667
+ }
668
+ };
669
+ }
670
+ default: {
671
+ return state;
672
+ }
673
+ }
674
+ };
675
+ const reducer$1 = (state, action) => {
676
+ if (action.type === RESET_WORKBOOK_STATE) {
677
+ return workbooksReducer(void 0, action);
678
+ }
679
+ return workbooksReducer(state, action);
680
+ };
681
+ const getInitialDialogState = () => ({
682
+ dialogs: []
683
+ });
684
+ function dialog(state = getInitialDialogState(), action) {
685
+ switch (action.type) {
686
+ case OPEN_DIALOG:
687
+ return {
688
+ ...state,
689
+ dialogs: [...state.dialogs, { id: action.id, props: action.props }]
690
+ };
691
+ case CLOSE_DIALOG: {
692
+ return {
693
+ ...state,
694
+ dialogs: state.dialogs.slice(0, -1)
695
+ };
696
+ }
697
+ case UPDATE_DIALOG_PROPS: {
698
+ const { id, props } = action;
699
+ const dialogToUpdateIndex = state.dialogs.findIndex((d) => d.id === id);
700
+ if (dialogToUpdateIndex !== -1) {
701
+ const dialogToUpdate = state.dialogs[dialogToUpdateIndex];
702
+ const updatedDialog = Object.assign(
703
+ { id: dialogToUpdate.id },
704
+ { props: dialogToUpdate.props },
705
+ { props }
706
+ );
707
+ const nextDialogs = state.dialogs.map((d) => {
708
+ if (d.id === id) {
709
+ return updatedDialog;
710
+ }
711
+ return d;
712
+ });
713
+ return {
714
+ ...state,
715
+ dialogs: nextDialogs
716
+ };
717
+ }
718
+ return state;
719
+ }
720
+ case PARTIAL_UPDATE_DIALOG_PROPS: {
721
+ const { id, props } = action;
722
+ const dialogToUpdateIndex = state.dialogs.findIndex((d) => d.id === id);
723
+ if (dialogToUpdateIndex !== -1) {
724
+ const dialogToUpdate = state.dialogs[dialogToUpdateIndex];
725
+ const updatedDialog = Object.assign(
726
+ { id: dialogToUpdate.id },
727
+ { props: { ...dialogToUpdate.props, ...props } }
728
+ );
729
+ return {
730
+ ...state,
731
+ dialogs: state.dialogs.map((d) => d.id === id ? updatedDialog : d)
732
+ };
733
+ }
734
+ return state;
735
+ }
736
+ default:
737
+ return state;
738
+ }
739
+ }
740
+ const initialState$a = {
741
+ isLanding: DL.IS_LANDING
742
+ };
743
+ const landing = (state = initialState$a, action) => {
744
+ switch (action.type) {
745
+ case SET_IS_LANDING: {
746
+ return {
747
+ isLanding: action.isLanding
748
+ };
749
+ }
750
+ default: {
751
+ return state;
752
+ }
753
+ }
754
+ };
755
+ const getInitialEntryContentState = () => ({
756
+ revisionsMode: RevisionsMode.Closed,
757
+ revisionsListMode: RevisionsListMode.Expanded,
758
+ revisions: null,
759
+ currentRevId: null,
760
+ hasRevisionsNextPage: false,
761
+ revisionsLoadingStatus: "",
762
+ isRenameWithoutReload: false
763
+ });
764
+ function entryContent(state = getInitialEntryContentState(), action) {
765
+ switch (action.type) {
766
+ case SET_ENTRY: {
767
+ const newEntryId = action.payload.entryId;
768
+ const currentEntryRevisionsList = state.revisions;
769
+ const needCleanRevisionsList = currentEntryRevisionsList?.length && currentEntryRevisionsList[0].entryId !== newEntryId;
770
+ const revisions = needCleanRevisionsList ? [] : state.revisions;
771
+ return {
772
+ ...state,
773
+ ...action.payload,
774
+ revisions,
775
+ currentRevId: action.payload.revId
776
+ };
777
+ }
778
+ case SET_REVISIONS_MODE: {
779
+ const newState = {
780
+ ...state,
781
+ revisionsMode: action.payload
782
+ };
783
+ if (!action.payload) {
784
+ newState.revisionsListMode = RevisionsListMode.Expanded;
785
+ }
786
+ return newState;
787
+ }
788
+ case SET_REVISIONS_LIST_MODE:
789
+ return {
790
+ ...state,
791
+ revisionsListMode: action.payload
792
+ };
793
+ case TOGGLE_REVISIONS_MODE: {
794
+ const newRevisionsMode = state.revisionsMode === RevisionsMode.Opened ? RevisionsMode.Closed : RevisionsMode.Opened;
795
+ const newState = {
796
+ ...state,
797
+ revisionsMode: newRevisionsMode
798
+ };
799
+ return newState;
800
+ }
801
+ case SET_REVISIONS: {
802
+ const { revisions, currentRevId, hasRevisionsNextPage } = action.payload;
803
+ return {
804
+ ...state,
805
+ revisions,
806
+ currentRevId,
807
+ hasRevisionsNextPage
808
+ };
809
+ }
810
+ case CLEAN_REVISIONS: {
811
+ return {
812
+ ...state,
813
+ revisions: [],
814
+ hasRevisionsNextPage: false
815
+ };
816
+ }
817
+ case SET_ENTRY_CURRENT_REVID:
818
+ return {
819
+ ...state,
820
+ currentRevId: action.payload
821
+ };
822
+ case REVISIONS_LOADING_STATUS:
823
+ return {
824
+ ...state,
825
+ revisionsLoadingStatus: action.payload
826
+ };
827
+ case SET_IS_RENAME_WITHOUT_RELOAD: {
828
+ return {
829
+ ...state,
830
+ isRenameWithoutReload: action.isRenameWithoutReload
831
+ };
832
+ }
833
+ default:
834
+ return state;
835
+ }
836
+ }
837
+ const getInitialState = () => ({
838
+ colorPalettes: [],
839
+ currentColorPalette: void 0
840
+ });
841
+ function colorPaletteEditor(state = getInitialState(), action) {
842
+ switch (action.type) {
843
+ case SET_CURRENT_COLOR_PALETTE: {
844
+ return {
845
+ ...state,
846
+ currentColorPalette: action.colorPalette
847
+ };
848
+ }
849
+ case SET_COLOR_PALETTES: {
850
+ return {
851
+ ...state,
852
+ colorPalettes: action.colorPalettes
853
+ };
854
+ }
855
+ default:
856
+ return state;
857
+ }
858
+ }
859
+ const initialState$9 = {
860
+ getRootCollectionPermissions: {
861
+ isLoading: false,
862
+ data: null,
863
+ error: null
864
+ },
865
+ getCollectionBreadcrumbs: {
866
+ isLoading: false,
867
+ data: null,
868
+ error: null
869
+ },
870
+ getCollection: {
871
+ isLoading: false,
872
+ data: null,
873
+ error: null
874
+ },
875
+ getStructureItems: {
876
+ isLoading: false,
877
+ data: null,
878
+ error: null
879
+ },
880
+ items: [],
881
+ createCollection: {
882
+ isLoading: false,
883
+ data: null,
884
+ error: null
885
+ },
886
+ copyTemplate: {
887
+ isLoading: false,
888
+ data: null,
889
+ error: null
890
+ },
891
+ createWorkbook: {
892
+ isLoading: false,
893
+ data: null,
894
+ error: null
895
+ },
896
+ moveCollection: {
897
+ isLoading: false,
898
+ data: null,
899
+ error: null
900
+ },
901
+ moveCollections: {
902
+ isLoading: false,
903
+ data: null,
904
+ error: null
905
+ },
906
+ moveWorkbook: {
907
+ isLoading: false,
908
+ data: null,
909
+ error: null
910
+ },
911
+ moveWorkbooks: {
912
+ isLoading: false,
913
+ data: null,
914
+ error: null
915
+ },
916
+ moveSharedEntry: {
917
+ isLoading: false,
918
+ data: null,
919
+ error: null
920
+ },
921
+ copyWorkbook: {
922
+ isLoading: false,
923
+ data: null,
924
+ error: null
925
+ },
926
+ updateWorkbook: {
927
+ isLoading: false,
928
+ data: null,
929
+ error: null
930
+ },
931
+ updateCollection: {
932
+ isLoading: false,
933
+ data: null,
934
+ error: null
935
+ },
936
+ deleteCollection: {
937
+ isLoading: false,
938
+ data: null,
939
+ error: null
940
+ },
941
+ deleteCollections: {
942
+ isLoading: false,
943
+ data: null,
944
+ error: null
945
+ },
946
+ deleteWorkbook: {
947
+ isLoading: false,
948
+ data: null,
949
+ error: null
950
+ },
951
+ deleteWorkbooks: {
952
+ isLoading: false,
953
+ data: null,
954
+ error: null
955
+ },
956
+ exportWorkbook: {
957
+ isLoading: false,
958
+ data: null,
959
+ error: null
960
+ },
961
+ importWorkbook: {
962
+ isLoading: false,
963
+ data: null,
964
+ error: null
965
+ },
966
+ getExportResult: {
967
+ isLoading: false,
968
+ data: null,
969
+ error: null
970
+ },
971
+ getImportProgress: {
972
+ isLoading: false,
973
+ data: null,
974
+ error: null,
975
+ notificationEntries: null
976
+ },
977
+ getExportProgress: {
978
+ isLoading: false,
979
+ data: null,
980
+ error: null,
981
+ notificationEntries: null
982
+ }
983
+ };
984
+ const collectionsStructure = (state = initialState$9, action) => {
985
+ switch (action.type) {
986
+ case RESET_STATE: {
987
+ return initialState$9;
988
+ }
989
+ // Getting rights at the root of the structure
990
+ case GET_ROOT_COLLECTION_PERMISSIONS_LOADING: {
991
+ return {
992
+ ...state,
993
+ getRootCollectionPermissions: {
994
+ ...state.getRootCollectionPermissions,
995
+ isLoading: true,
996
+ error: null
997
+ }
998
+ };
999
+ }
1000
+ case GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS: {
1001
+ return {
1002
+ ...state,
1003
+ getRootCollectionPermissions: {
1004
+ isLoading: false,
1005
+ data: action.data,
1006
+ error: null
1007
+ }
1008
+ };
1009
+ }
1010
+ case GET_ROOT_COLLECTION_PERMISSIONS_FAILED: {
1011
+ return {
1012
+ ...state,
1013
+ getRootCollectionPermissions: {
1014
+ ...state.getRootCollectionPermissions,
1015
+ isLoading: false,
1016
+ error: action.error
1017
+ }
1018
+ };
1019
+ }
1020
+ // Reset the collection bread crumbs
1021
+ case RESET_COLLECTION_BREADCRUMBS: {
1022
+ return {
1023
+ ...state,
1024
+ getCollectionBreadcrumbs: initialState$9.getCollectionBreadcrumbs
1025
+ };
1026
+ }
1027
+ // Collections Bread Crumbs
1028
+ case GET_COLLECTION_BREADCRUMBS_LOADING: {
1029
+ return {
1030
+ ...state,
1031
+ getCollectionBreadcrumbs: {
1032
+ ...state.getCollectionBreadcrumbs,
1033
+ isLoading: true,
1034
+ error: null
1035
+ }
1036
+ };
1037
+ }
1038
+ case GET_COLLECTION_BREADCRUMBS_SUCCESS: {
1039
+ return {
1040
+ ...state,
1041
+ getCollectionBreadcrumbs: {
1042
+ isLoading: false,
1043
+ data: action.data,
1044
+ error: null
1045
+ }
1046
+ };
1047
+ }
1048
+ case GET_COLLECTION_BREADCRUMBS_FAILED: {
1049
+ return {
1050
+ ...state,
1051
+ getCollectionBreadcrumbs: {
1052
+ ...state.getCollectionBreadcrumbs,
1053
+ isLoading: false,
1054
+ error: action.error
1055
+ }
1056
+ };
1057
+ }
1058
+ // Information about the collection
1059
+ case GET_COLLECTION_LOADING: {
1060
+ return {
1061
+ ...state,
1062
+ getCollection: {
1063
+ ...state.getCollection,
1064
+ isLoading: true,
1065
+ error: null
1066
+ }
1067
+ };
1068
+ }
1069
+ case GET_COLLECTION_SUCCESS: {
1070
+ return {
1071
+ ...state,
1072
+ getCollection: {
1073
+ isLoading: false,
1074
+ data: action.data,
1075
+ error: null
1076
+ }
1077
+ };
1078
+ }
1079
+ case GET_COLLECTION_FAILED: {
1080
+ return {
1081
+ ...state,
1082
+ getCollection: {
1083
+ ...state.getCollection,
1084
+ isLoading: false,
1085
+ error: action.error
1086
+ }
1087
+ };
1088
+ }
1089
+ // Resetting Collection contents
1090
+ case RESET_STRUCTURE_ITEMS: {
1091
+ return {
1092
+ ...state,
1093
+ getStructureItems: initialState$9.getStructureItems,
1094
+ items: initialState$9.items
1095
+ };
1096
+ }
1097
+ // Contents of the collection
1098
+ case GET_STRUCTURE_ITEMS_LOADING: {
1099
+ return {
1100
+ ...state,
1101
+ getStructureItems: {
1102
+ ...state.getStructureItems,
1103
+ isLoading: true,
1104
+ error: null
1105
+ }
1106
+ };
1107
+ }
1108
+ case GET_STRUCTURE_ITEMS_SUCCESS: {
1109
+ const loadedIds = state.items.map((item) => {
1110
+ if ("workbookId" in item) {
1111
+ return item.workbookId;
1112
+ }
1113
+ return item.collectionId;
1114
+ });
1115
+ const newItems = action.data.items.filter((item) => {
1116
+ const id = "workbookId" in item ? item.workbookId : item.collectionId;
1117
+ return !loadedIds.includes(id);
1118
+ });
1119
+ return {
1120
+ ...state,
1121
+ getStructureItems: {
1122
+ isLoading: false,
1123
+ data: action.data,
1124
+ error: null
1125
+ },
1126
+ items: [...state.items, ...newItems]
1127
+ };
1128
+ }
1129
+ case GET_STRUCTURE_ITEMS_FAILED: {
1130
+ return {
1131
+ ...state,
1132
+ getStructureItems: {
1133
+ ...state.getStructureItems,
1134
+ isLoading: false,
1135
+ error: action.error
1136
+ }
1137
+ };
1138
+ }
1139
+ // copy template
1140
+ case COPY_TEMPLATE_LOADING: {
1141
+ return {
1142
+ ...state,
1143
+ copyTemplate: {
1144
+ isLoading: true,
1145
+ data: null,
1146
+ error: null
1147
+ }
1148
+ };
1149
+ }
1150
+ case COPY_TEMPLATE_SUCCESS: {
1151
+ return {
1152
+ ...state,
1153
+ copyTemplate: {
1154
+ isLoading: false,
1155
+ data: action.data,
1156
+ error: null
1157
+ }
1158
+ };
1159
+ }
1160
+ case COPY_TEMPLATE_FAILED: {
1161
+ return {
1162
+ ...state,
1163
+ copyTemplate: {
1164
+ ...state.copyTemplate,
1165
+ isLoading: false,
1166
+ error: action.error
1167
+ }
1168
+ };
1169
+ }
1170
+ // collections creation
1171
+ case CREATE_COLLECTION_LOADING: {
1172
+ return {
1173
+ ...state,
1174
+ createCollection: {
1175
+ isLoading: true,
1176
+ data: null,
1177
+ error: null
1178
+ }
1179
+ };
1180
+ }
1181
+ case CREATE_COLLECTION_SUCCESS: {
1182
+ return {
1183
+ ...state,
1184
+ createCollection: {
1185
+ isLoading: false,
1186
+ data: action.data,
1187
+ error: null
1188
+ }
1189
+ };
1190
+ }
1191
+ case CREATE_COLLECTION_FAILED: {
1192
+ return {
1193
+ ...state,
1194
+ createCollection: {
1195
+ ...state.createCollection,
1196
+ isLoading: false,
1197
+ error: action.error
1198
+ }
1199
+ };
1200
+ }
1201
+ case CREATE_WORKBOOK_LOADING: {
1202
+ return {
1203
+ ...state,
1204
+ createWorkbook: {
1205
+ isLoading: true,
1206
+ data: null,
1207
+ error: null
1208
+ }
1209
+ };
1210
+ }
1211
+ case CREATE_WORKBOOK_SUCCESS: {
1212
+ return {
1213
+ ...state,
1214
+ createWorkbook: {
1215
+ isLoading: false,
1216
+ data: action.data,
1217
+ error: null
1218
+ }
1219
+ };
1220
+ }
1221
+ case CREATE_WORKBOOK_FAILED: {
1222
+ return {
1223
+ ...state,
1224
+ createWorkbook: {
1225
+ ...state.createWorkbook,
1226
+ isLoading: false,
1227
+ error: action.error
1228
+ }
1229
+ };
1230
+ }
1231
+ // Moving a collection
1232
+ case MOVE_COLLECTION_LOADING: {
1233
+ return {
1234
+ ...state,
1235
+ moveCollection: {
1236
+ isLoading: true,
1237
+ data: null,
1238
+ error: null
1239
+ }
1240
+ };
1241
+ }
1242
+ case MOVE_COLLECTION_SUCCESS: {
1243
+ return {
1244
+ ...state,
1245
+ moveCollection: {
1246
+ isLoading: false,
1247
+ data: action.data,
1248
+ error: null
1249
+ }
1250
+ };
1251
+ }
1252
+ case MOVE_COLLECTION_FAILED: {
1253
+ return {
1254
+ ...state,
1255
+ moveCollection: {
1256
+ ...state.moveCollection,
1257
+ isLoading: false,
1258
+ error: action.error
1259
+ }
1260
+ };
1261
+ }
1262
+ // Moving collections
1263
+ case MOVE_COLLECTIONS_LOADING: {
1264
+ return {
1265
+ ...state,
1266
+ moveCollections: {
1267
+ isLoading: true,
1268
+ data: null,
1269
+ error: null
1270
+ }
1271
+ };
1272
+ }
1273
+ case MOVE_COLLECTIONS_SUCCESS: {
1274
+ return {
1275
+ ...state,
1276
+ moveCollections: {
1277
+ isLoading: false,
1278
+ data: action.data,
1279
+ error: null
1280
+ }
1281
+ };
1282
+ }
1283
+ case MOVE_COLLECTIONS_FAILED: {
1284
+ return {
1285
+ ...state,
1286
+ moveCollections: {
1287
+ ...state.moveCollections,
1288
+ isLoading: false,
1289
+ error: action.error
1290
+ }
1291
+ };
1292
+ }
1293
+ // Moving the workbook
1294
+ case MOVE_WORKBOOK_LOADING: {
1295
+ return {
1296
+ ...state,
1297
+ moveWorkbook: {
1298
+ isLoading: true,
1299
+ data: null,
1300
+ error: null
1301
+ }
1302
+ };
1303
+ }
1304
+ case MOVE_WORKBOOK_SUCCESS: {
1305
+ return {
1306
+ ...state,
1307
+ moveWorkbook: {
1308
+ isLoading: false,
1309
+ data: action.data,
1310
+ error: null
1311
+ }
1312
+ };
1313
+ }
1314
+ case MOVE_WORKBOOK_FAILED: {
1315
+ return {
1316
+ ...state,
1317
+ moveWorkbook: {
1318
+ ...state.moveWorkbook,
1319
+ isLoading: false,
1320
+ error: action.error
1321
+ }
1322
+ };
1323
+ }
1324
+ // Moving workbooks
1325
+ case MOVE_WORKBOOKS_LOADING: {
1326
+ return {
1327
+ ...state,
1328
+ moveWorkbooks: {
1329
+ isLoading: true,
1330
+ data: null,
1331
+ error: null
1332
+ }
1333
+ };
1334
+ }
1335
+ case MOVE_WORKBOOKS_SUCCESS: {
1336
+ return {
1337
+ ...state,
1338
+ moveWorkbooks: {
1339
+ isLoading: false,
1340
+ data: action.data,
1341
+ error: null
1342
+ }
1343
+ };
1344
+ }
1345
+ case MOVE_WORKBOOKS_FAILED: {
1346
+ return {
1347
+ ...state,
1348
+ moveWorkbooks: {
1349
+ ...state.moveWorkbooks,
1350
+ isLoading: false,
1351
+ error: action.error
1352
+ }
1353
+ };
1354
+ }
1355
+ // Moving a shared entry
1356
+ case MOVE_SHARED_ENTRY_LOADING: {
1357
+ return {
1358
+ ...state,
1359
+ moveSharedEntry: {
1360
+ isLoading: true,
1361
+ data: null,
1362
+ error: null
1363
+ }
1364
+ };
1365
+ }
1366
+ case MOVE_SHARED_ENTRY_SUCCESS: {
1367
+ return {
1368
+ ...state,
1369
+ moveSharedEntry: {
1370
+ isLoading: false,
1371
+ data: action.data,
1372
+ error: null
1373
+ }
1374
+ };
1375
+ }
1376
+ case MOVE_SHARED_ENTRY_FAILED: {
1377
+ return {
1378
+ ...state,
1379
+ moveSharedEntry: {
1380
+ ...state.moveSharedEntry,
1381
+ isLoading: false,
1382
+ error: action.error
1383
+ }
1384
+ };
1385
+ }
1386
+ // Copying a workbook
1387
+ case COPY_WORKBOOK_LOADING: {
1388
+ return {
1389
+ ...state,
1390
+ copyWorkbook: {
1391
+ isLoading: true,
1392
+ data: null,
1393
+ error: null
1394
+ }
1395
+ };
1396
+ }
1397
+ case COPY_WORKBOOK_SUCCESS: {
1398
+ return {
1399
+ ...state,
1400
+ copyWorkbook: {
1401
+ isLoading: false,
1402
+ data: action.data,
1403
+ error: null
1404
+ }
1405
+ };
1406
+ }
1407
+ case COPY_WORKBOOK_FAILED: {
1408
+ return {
1409
+ ...state,
1410
+ copyWorkbook: {
1411
+ ...state.copyWorkbook,
1412
+ isLoading: false,
1413
+ error: action.error
1414
+ }
1415
+ };
1416
+ }
1417
+ // Workbook modification
1418
+ case UPDATE_WORKBOOK_LOADING: {
1419
+ return {
1420
+ ...state,
1421
+ updateWorkbook: {
1422
+ isLoading: true,
1423
+ data: null,
1424
+ error: null
1425
+ }
1426
+ };
1427
+ }
1428
+ case UPDATE_WORKBOOK_SUCCESS: {
1429
+ return {
1430
+ ...state,
1431
+ updateWorkbook: {
1432
+ isLoading: false,
1433
+ data: action.data,
1434
+ error: null
1435
+ }
1436
+ };
1437
+ }
1438
+ case UPDATE_WORKBOOK_FAILED: {
1439
+ return {
1440
+ ...state,
1441
+ updateWorkbook: {
1442
+ ...state.updateWorkbook,
1443
+ isLoading: false,
1444
+ error: action.error
1445
+ }
1446
+ };
1447
+ }
1448
+ // Collection modification
1449
+ case UPDATE_COLLECTION_LOADING: {
1450
+ return {
1451
+ ...state,
1452
+ updateCollection: {
1453
+ isLoading: true,
1454
+ data: null,
1455
+ error: null
1456
+ }
1457
+ };
1458
+ }
1459
+ case UPDATE_COLLECTION_SUCCESS: {
1460
+ return {
1461
+ ...state,
1462
+ updateCollection: {
1463
+ isLoading: false,
1464
+ data: action.data,
1465
+ error: null
1466
+ }
1467
+ };
1468
+ }
1469
+ case UPDATE_COLLECTION_FAILED: {
1470
+ return {
1471
+ ...state,
1472
+ updateCollection: {
1473
+ ...state.updateCollection,
1474
+ isLoading: false,
1475
+ error: action.error
1476
+ }
1477
+ };
1478
+ }
1479
+ // Deleting a collection
1480
+ case DELETE_COLLECTION_LOADING: {
1481
+ return {
1482
+ ...state,
1483
+ deleteCollection: {
1484
+ isLoading: true,
1485
+ data: null,
1486
+ error: null
1487
+ }
1488
+ };
1489
+ }
1490
+ case DELETE_COLLECTION_SUCCESS: {
1491
+ return {
1492
+ ...state,
1493
+ deleteCollection: {
1494
+ isLoading: false,
1495
+ data: action.data,
1496
+ error: null
1497
+ }
1498
+ };
1499
+ }
1500
+ case DELETE_COLLECTION_FAILED: {
1501
+ return {
1502
+ ...state,
1503
+ deleteCollection: {
1504
+ ...state.deleteCollection,
1505
+ isLoading: false,
1506
+ error: action.error
1507
+ }
1508
+ };
1509
+ }
1510
+ // Delete collections
1511
+ case DELETE_COLLECTIONS_LOADING: {
1512
+ return {
1513
+ ...state,
1514
+ deleteCollections: {
1515
+ isLoading: true,
1516
+ data: null,
1517
+ error: null
1518
+ }
1519
+ };
1520
+ }
1521
+ case DELETE_COLLECTIONS_SUCCESS: {
1522
+ return {
1523
+ ...state,
1524
+ deleteCollections: {
1525
+ isLoading: false,
1526
+ data: action.data,
1527
+ error: null
1528
+ }
1529
+ };
1530
+ }
1531
+ case DELETE_COLLECTIONS_FAILED: {
1532
+ return {
1533
+ ...state,
1534
+ deleteCollections: {
1535
+ ...state.deleteCollections,
1536
+ isLoading: false,
1537
+ error: action.error
1538
+ }
1539
+ };
1540
+ }
1541
+ // Deleting a workbook
1542
+ case DELETE_WORKBOOK_LOADING: {
1543
+ return {
1544
+ ...state,
1545
+ deleteWorkbook: {
1546
+ isLoading: true,
1547
+ data: null,
1548
+ error: null
1549
+ }
1550
+ };
1551
+ }
1552
+ case DELETE_WORKBOOK_SUCCESS: {
1553
+ return {
1554
+ ...state,
1555
+ deleteWorkbook: {
1556
+ isLoading: false,
1557
+ data: action.data,
1558
+ error: null
1559
+ }
1560
+ };
1561
+ }
1562
+ case DELETE_WORKBOOK_FAILED: {
1563
+ return {
1564
+ ...state,
1565
+ deleteWorkbook: {
1566
+ ...state.deleteWorkbook,
1567
+ isLoading: false,
1568
+ error: action.error
1569
+ }
1570
+ };
1571
+ }
1572
+ // Delete workbooks
1573
+ case DELETE_WORKBOOKS_LOADING: {
1574
+ return {
1575
+ ...state,
1576
+ deleteWorkbooks: {
1577
+ isLoading: true,
1578
+ data: null,
1579
+ error: null
1580
+ }
1581
+ };
1582
+ }
1583
+ case DELETE_WORKBOOKS_SUCCESS: {
1584
+ return {
1585
+ ...state,
1586
+ deleteWorkbooks: {
1587
+ isLoading: false,
1588
+ data: action.data,
1589
+ error: null
1590
+ }
1591
+ };
1592
+ }
1593
+ case DELETE_WORKBOOKS_FAILED: {
1594
+ return {
1595
+ ...state,
1596
+ deleteWorkbooks: {
1597
+ ...state.deleteWorkbooks,
1598
+ isLoading: false,
1599
+ error: action.error
1600
+ }
1601
+ };
1602
+ }
1603
+ // Export workbook file
1604
+ case EXPORT_WORKBOOK_LOADING: {
1605
+ return {
1606
+ ...state,
1607
+ exportWorkbook: {
1608
+ isLoading: true,
1609
+ data: null,
1610
+ error: null
1611
+ }
1612
+ };
1613
+ }
1614
+ case EXPORT_WORKBOOK_SUCCESS: {
1615
+ return {
1616
+ ...state,
1617
+ exportWorkbook: {
1618
+ isLoading: false,
1619
+ data: action.data,
1620
+ error: null
1621
+ }
1622
+ };
1623
+ }
1624
+ case EXPORT_WORKBOOK_FAILED: {
1625
+ return {
1626
+ ...state,
1627
+ exportWorkbook: {
1628
+ isLoading: false,
1629
+ data: null,
1630
+ error: action.error
1631
+ }
1632
+ };
1633
+ }
1634
+ case RESET_EXPORT_WORKBOOK: {
1635
+ return {
1636
+ ...state,
1637
+ exportWorkbook: {
1638
+ isLoading: false,
1639
+ data: null,
1640
+ error: null
1641
+ }
1642
+ };
1643
+ }
1644
+ // Import workbook file
1645
+ case IMPORT_WORKBOOK_LOADING: {
1646
+ return {
1647
+ ...state,
1648
+ importWorkbook: {
1649
+ isLoading: true,
1650
+ data: null,
1651
+ error: null
1652
+ }
1653
+ };
1654
+ }
1655
+ case IMPORT_WORKBOOK_SUCCESS: {
1656
+ return {
1657
+ ...state,
1658
+ importWorkbook: {
1659
+ isLoading: false,
1660
+ data: action.data,
1661
+ error: null
1662
+ }
1663
+ };
1664
+ }
1665
+ case IMPORT_WORKBOOK_FAILED: {
1666
+ return {
1667
+ ...state,
1668
+ importWorkbook: {
1669
+ isLoading: false,
1670
+ data: null,
1671
+ error: action.error
1672
+ }
1673
+ };
1674
+ }
1675
+ case RESET_IMPORT_WORKBOOK: {
1676
+ return {
1677
+ ...state,
1678
+ importWorkbook: {
1679
+ isLoading: false,
1680
+ data: null,
1681
+ error: null
1682
+ }
1683
+ };
1684
+ }
1685
+ // Getting workbook import progres
1686
+ case GET_IMPORT_PROGRESS_LOADING: {
1687
+ return {
1688
+ ...state,
1689
+ getImportProgress: {
1690
+ ...state.getImportProgress,
1691
+ isLoading: true,
1692
+ error: null,
1693
+ notificationEntries: null
1694
+ }
1695
+ };
1696
+ }
1697
+ case GET_IMPORT_PROGRESS_SUCCESS: {
1698
+ return {
1699
+ ...state,
1700
+ getImportProgress: {
1701
+ isLoading: false,
1702
+ data: action.data,
1703
+ error: null,
1704
+ notificationEntries: action.notificationEntries
1705
+ }
1706
+ };
1707
+ }
1708
+ case GET_IMPORT_PROGRESS_FAILED: {
1709
+ return {
1710
+ ...state,
1711
+ getImportProgress: {
1712
+ ...state.getImportProgress,
1713
+ isLoading: false,
1714
+ error: action.error
1715
+ }
1716
+ };
1717
+ }
1718
+ case RESET_IMPORT_PROGRESS: {
1719
+ return {
1720
+ ...state,
1721
+ getImportProgress: {
1722
+ isLoading: false,
1723
+ data: null,
1724
+ error: null,
1725
+ notificationEntries: null
1726
+ }
1727
+ };
1728
+ }
1729
+ // Getting workbook export progress
1730
+ case GET_EXPORT_PROGRESS_LOADING: {
1731
+ return {
1732
+ ...state,
1733
+ getExportProgress: {
1734
+ ...state.getExportProgress,
1735
+ isLoading: true,
1736
+ error: null,
1737
+ notificationEntries: null
1738
+ }
1739
+ };
1740
+ }
1741
+ case GET_EXPORT_PROGRESS_SUCCESS: {
1742
+ return {
1743
+ ...state,
1744
+ getExportProgress: {
1745
+ isLoading: false,
1746
+ data: action.data,
1747
+ error: null,
1748
+ notificationEntries: action.notificationEntries
1749
+ }
1750
+ };
1751
+ }
1752
+ case GET_EXPORT_PROGRESS_FAILED: {
1753
+ return {
1754
+ ...state,
1755
+ getExportProgress: {
1756
+ ...state.getExportProgress,
1757
+ isLoading: false,
1758
+ error: action.error
1759
+ }
1760
+ };
1761
+ }
1762
+ case RESET_EXPORT_PROGRESS: {
1763
+ return {
1764
+ ...state,
1765
+ getExportProgress: {
1766
+ isLoading: false,
1767
+ data: null,
1768
+ error: null,
1769
+ notificationEntries: null
1770
+ }
1771
+ };
1772
+ }
1773
+ // Getting export result
1774
+ case GET_EXPORT_RESULT_LOADING: {
1775
+ return {
1776
+ ...state,
1777
+ getExportResult: {
1778
+ ...state.getExportResult,
1779
+ isLoading: true,
1780
+ error: null
1781
+ }
1782
+ };
1783
+ }
1784
+ case GET_EXPORT_RESULT_SUCCESS: {
1785
+ return {
1786
+ ...state,
1787
+ getExportResult: {
1788
+ isLoading: false,
1789
+ data: action.data,
1790
+ error: null
1791
+ }
1792
+ };
1793
+ }
1794
+ case GET_EXPORT_RESULT_FAILED: {
1795
+ return {
1796
+ ...state,
1797
+ getExportResult: {
1798
+ ...state.getExportResult,
1799
+ isLoading: false,
1800
+ error: action.error
1801
+ }
1802
+ };
1803
+ }
1804
+ case RESET_EXPORT_RESULT: {
1805
+ return {
1806
+ ...state,
1807
+ getExportResult: initialState$9.getExportResult
1808
+ };
1809
+ }
1810
+ default: {
1811
+ return state;
1812
+ }
1813
+ }
1814
+ };
1815
+ const initialState$8 = {
1816
+ getEntry: {
1817
+ isLoading: false,
1818
+ data: null,
1819
+ error: null
1820
+ },
1821
+ getRelationsGraph: {
1822
+ isLoading: false,
1823
+ data: null,
1824
+ error: null
1825
+ },
1826
+ getRelations: {
1827
+ isLoading: false,
1828
+ data: null,
1829
+ error: null
1830
+ },
1831
+ migrateEntriesToWorkbook: {
1832
+ isLoading: false,
1833
+ data: null,
1834
+ error: null
1835
+ }
1836
+ };
1837
+ const migrationToWorkbook = (state = initialState$8, action) => {
1838
+ switch (action.type) {
1839
+ case RESET_STATE$1: {
1840
+ return initialState$8;
1841
+ }
1842
+ case GET_ENTRY_LOADING: {
1843
+ return {
1844
+ ...state,
1845
+ getEntry: {
1846
+ ...state.getEntry,
1847
+ isLoading: true,
1848
+ error: null
1849
+ }
1850
+ };
1851
+ }
1852
+ case GET_ENTRY_SUCCESS: {
1853
+ return {
1854
+ ...state,
1855
+ getEntry: {
1856
+ isLoading: false,
1857
+ data: action.data,
1858
+ error: null
1859
+ }
1860
+ };
1861
+ }
1862
+ case GET_ENTRY_FAILED: {
1863
+ return {
1864
+ ...state,
1865
+ getEntry: {
1866
+ ...state.getEntry,
1867
+ isLoading: false,
1868
+ error: action.error
1869
+ }
1870
+ };
1871
+ }
1872
+ case GET_RELATIONS_GRAPH_LOADING: {
1873
+ return {
1874
+ ...state,
1875
+ getRelationsGraph: {
1876
+ ...state.getRelationsGraph,
1877
+ isLoading: true,
1878
+ error: null
1879
+ }
1880
+ };
1881
+ }
1882
+ case GET_RELATIONS_GRAPH_SUCCESS: {
1883
+ return {
1884
+ ...state,
1885
+ getRelationsGraph: {
1886
+ isLoading: false,
1887
+ data: action.data,
1888
+ error: null
1889
+ }
1890
+ };
1891
+ }
1892
+ case GET_RELATIONS_GRAPH_FAILED: {
1893
+ return {
1894
+ ...state,
1895
+ getRelationsGraph: {
1896
+ ...state.getRelationsGraph,
1897
+ isLoading: false,
1898
+ error: action.error
1899
+ }
1900
+ };
1901
+ }
1902
+ case GET_RELATIONS_LOADING: {
1903
+ return {
1904
+ ...state,
1905
+ getRelations: {
1906
+ ...state.getRelations,
1907
+ isLoading: true,
1908
+ error: null
1909
+ }
1910
+ };
1911
+ }
1912
+ case GET_RELATIONS_SUCCESS: {
1913
+ return {
1914
+ ...state,
1915
+ getRelations: {
1916
+ isLoading: false,
1917
+ data: action.data,
1918
+ error: null
1919
+ }
1920
+ };
1921
+ }
1922
+ case GET_RELATIONS_FAILED: {
1923
+ return {
1924
+ ...state,
1925
+ getRelations: {
1926
+ ...state.getRelations,
1927
+ isLoading: false,
1928
+ error: action.error
1929
+ }
1930
+ };
1931
+ }
1932
+ case MIGRATE_ENTRIES_TO_WORKBOOK_LOADING: {
1933
+ return {
1934
+ ...state,
1935
+ migrateEntriesToWorkbook: {
1936
+ ...state.migrateEntriesToWorkbook,
1937
+ isLoading: true,
1938
+ error: null
1939
+ }
1940
+ };
1941
+ }
1942
+ case MIGRATE_ENTRIES_TO_WORKBOOK_SUCCESS: {
1943
+ return {
1944
+ ...state,
1945
+ migrateEntriesToWorkbook: {
1946
+ isLoading: false,
1947
+ data: action.data,
1948
+ error: null
1949
+ }
1950
+ };
1951
+ }
1952
+ case MIGRATE_ENTRIES_TO_WORKBOOK_FAILED: {
1953
+ return {
1954
+ ...state,
1955
+ migrateEntriesToWorkbook: {
1956
+ ...state.migrateEntriesToWorkbook,
1957
+ isLoading: false,
1958
+ error: action.error
1959
+ }
1960
+ };
1961
+ }
1962
+ default: {
1963
+ return state;
1964
+ }
1965
+ }
1966
+ };
1967
+ const initialState$7 = {
1968
+ getEntry: {
1969
+ isLoading: false,
1970
+ data: null,
1971
+ error: null
1972
+ },
1973
+ getRelations: {
1974
+ isLoading: false,
1975
+ data: null,
1976
+ error: null
1977
+ },
1978
+ copyEntriesToWorkbook: {
1979
+ isLoading: false,
1980
+ data: null,
1981
+ error: null
1982
+ }
1983
+ };
1984
+ const copyEntriesToWorkbook = (state = initialState$7, action) => {
1985
+ switch (action.type) {
1986
+ case RESET_STATE$2: {
1987
+ return initialState$7;
1988
+ }
1989
+ case GET_ENTRY_LOADING$1: {
1990
+ return {
1991
+ ...state,
1992
+ getEntry: {
1993
+ ...state.getEntry,
1994
+ isLoading: true,
1995
+ error: null
1996
+ }
1997
+ };
1998
+ }
1999
+ case GET_ENTRY_SUCCESS$1: {
2000
+ return {
2001
+ ...state,
2002
+ getEntry: {
2003
+ isLoading: false,
2004
+ data: action.data,
2005
+ error: null
2006
+ }
2007
+ };
2008
+ }
2009
+ case GET_ENTRY_FAILED$1: {
2010
+ return {
2011
+ ...state,
2012
+ getEntry: {
2013
+ ...state.getEntry,
2014
+ isLoading: false,
2015
+ error: action.error
2016
+ }
2017
+ };
2018
+ }
2019
+ case GET_RELATIONS_LOADING$1: {
2020
+ return {
2021
+ ...state,
2022
+ getRelations: {
2023
+ ...state.getRelations,
2024
+ isLoading: true,
2025
+ error: null
2026
+ }
2027
+ };
2028
+ }
2029
+ case GET_RELATIONS_SUCCESS$1: {
2030
+ return {
2031
+ ...state,
2032
+ getRelations: {
2033
+ isLoading: false,
2034
+ data: action.data,
2035
+ error: null
2036
+ }
2037
+ };
2038
+ }
2039
+ case GET_RELATIONS_FAILED$1: {
2040
+ return {
2041
+ ...state,
2042
+ getRelations: {
2043
+ ...state.getRelations,
2044
+ isLoading: false,
2045
+ error: action.error
2046
+ }
2047
+ };
2048
+ }
2049
+ case COPY_ENTRIES_TO_WORKBOOK_LOADING: {
2050
+ return {
2051
+ ...state,
2052
+ copyEntriesToWorkbook: {
2053
+ ...state.copyEntriesToWorkbook,
2054
+ isLoading: true,
2055
+ error: null
2056
+ }
2057
+ };
2058
+ }
2059
+ case COPY_ENTRIES_TO_WORKBOOK_SUCCESS: {
2060
+ return {
2061
+ ...state,
2062
+ copyEntriesToWorkbook: {
2063
+ isLoading: false,
2064
+ data: action.data,
2065
+ error: null
2066
+ }
2067
+ };
2068
+ }
2069
+ case COPY_ENTRIES_TO_WORKBOOK_FAILED: {
2070
+ return {
2071
+ ...state,
2072
+ copyEntriesToWorkbook: {
2073
+ ...state.copyEntriesToWorkbook,
2074
+ isLoading: false,
2075
+ error: action.error
2076
+ }
2077
+ };
2078
+ }
2079
+ default: {
2080
+ return state;
2081
+ }
2082
+ }
2083
+ };
2084
+ const initialState$6 = {
2085
+ units: {}
2086
+ };
2087
+ const cloneStateForHistory = (state, pathIgnoreList) => {
2088
+ const deepOmitBy = (value, path, iteratee) => {
2089
+ if (isObject(value) && !isSet(value) && !isFunction(value)) {
2090
+ return transform(value, (result, item, key) => {
2091
+ if (typeof item === "function") {
2092
+ result[key] = item;
2093
+ } else {
2094
+ const itemPath = `${path}/${key}`;
2095
+ if (!iteratee(itemPath)) {
2096
+ result[key] = deepOmitBy(item, itemPath, iteratee);
2097
+ }
2098
+ }
2099
+ });
2100
+ } else {
2101
+ return value;
2102
+ }
2103
+ };
2104
+ return deepOmitBy(state, "", (path) => pathIgnoreList.includes(path));
2105
+ };
2106
+ function editHistory(state = initialState$6, action) {
2107
+ switch (action.type) {
2108
+ case INIT_EDIT_HISTORY_UNIT: {
2109
+ const { unitId, setState, options } = action;
2110
+ return {
2111
+ units: {
2112
+ ...state.units,
2113
+ [unitId]: {
2114
+ pointIndex: -1,
2115
+ diffs: [],
2116
+ setState,
2117
+ options
2118
+ }
2119
+ }
2120
+ };
2121
+ }
2122
+ case RESET_EDIT_HISTORY_UNIT: {
2123
+ const { unitId } = action;
2124
+ const unit = state.units[unitId];
2125
+ return {
2126
+ units: {
2127
+ ...state.units,
2128
+ [unitId]: {
2129
+ ...unit,
2130
+ pointIndex: -1,
2131
+ diffs: []
2132
+ }
2133
+ }
2134
+ };
2135
+ }
2136
+ case ADD_EDIT_HISTORY_POINT: {
2137
+ const { unitId, diff, state: newState, stacked } = action;
2138
+ const editHistoryUnit = state.units[unitId];
2139
+ const { diffs, pointIndex } = editHistoryUnit;
2140
+ const prevDiffs = diffs.slice(0, pointIndex + 1);
2141
+ const storedNewState = cloneStateForHistory(
2142
+ newState,
2143
+ editHistoryUnit.options.pathIgnoreList
2144
+ );
2145
+ const nextPointIndex = pointIndex + (stacked ? 0 : 1);
2146
+ let nextDiffs;
2147
+ if (stacked) {
2148
+ if (!Array.isArray(prevDiffs[prevDiffs.length - 1])) {
2149
+ prevDiffs[prevDiffs.length - 1] = [prevDiffs[prevDiffs.length - 1]];
2150
+ }
2151
+ prevDiffs[prevDiffs.length - 1].push(diff);
2152
+ nextDiffs = [...prevDiffs];
2153
+ } else {
2154
+ nextDiffs = [...prevDiffs, diff];
2155
+ }
2156
+ return {
2157
+ units: {
2158
+ ...state.units,
2159
+ [unitId]: {
2160
+ ...editHistoryUnit,
2161
+ // Force current history point index to latest state
2162
+ pointIndex: nextPointIndex,
2163
+ diffs: nextDiffs,
2164
+ pointState: storedNewState
2165
+ }
2166
+ }
2167
+ };
2168
+ }
2169
+ case SET_EDIT_HISTORY_POINT_INDEX: {
2170
+ const { unitId, pointIndex } = action;
2171
+ const editHistoryUnit = state.units[unitId];
2172
+ return {
2173
+ units: {
2174
+ ...state.units,
2175
+ [unitId]: {
2176
+ ...editHistoryUnit,
2177
+ pointIndex
2178
+ }
2179
+ }
2180
+ };
2181
+ }
2182
+ case SET_EDIT_HISTORY_CURRENT_STATE: {
2183
+ const { unitId, pointState } = action;
2184
+ const editHistoryUnit = state.units[unitId];
2185
+ const storedPointState = cloneStateForHistory(
2186
+ pointState,
2187
+ editHistoryUnit.options.pathIgnoreList
2188
+ );
2189
+ return {
2190
+ units: {
2191
+ ...state.units,
2192
+ [unitId]: {
2193
+ ...editHistoryUnit,
2194
+ pointState: storedPointState
2195
+ }
2196
+ }
2197
+ };
2198
+ }
2199
+ default:
2200
+ return state;
2201
+ }
2202
+ }
2203
+ const initialState$5 = {};
2204
+ const localStorageFallback = (state = initialState$5, action) => {
2205
+ switch (action.type) {
2206
+ case SET_ITEM: {
2207
+ const { payload } = action;
2208
+ return {
2209
+ ...state,
2210
+ [payload.key]: payload.value
2211
+ };
2212
+ }
2213
+ default: {
2214
+ return state;
2215
+ }
2216
+ }
2217
+ };
2218
+ const coreReducers = {
2219
+ user,
2220
+ asideHeader,
2221
+ workbooks: reducer$1,
2222
+ dialog,
2223
+ landing,
2224
+ entryContent,
2225
+ colorPaletteEditor,
2226
+ collectionsStructure,
2227
+ controlDialog,
2228
+ migrationToWorkbook,
2229
+ copyEntriesToWorkbook,
2230
+ editHistory,
2231
+ localStorageFallback
2232
+ };
2233
+ const selectIsLanding = (state) => state.landing.isLanding;
2234
+ const locationChangeHandler = (location2, prevLocation) => {
2235
+ if (location2.pathname !== prevLocation.pathname) {
2236
+ fireMetricaHit(CounterName.Main, location2.pathname);
2237
+ fireMetricaHit(CounterName.Cross, location2.pathname);
2238
+ }
2239
+ };
2240
+ const useClearReloadedQuery = () => {
2241
+ const isLanding = useSelector(selectIsLanding);
2242
+ const { search } = useLocation();
2243
+ const history = useHistory();
2244
+ useEffectOnce(() => {
2245
+ function clearQuery() {
2246
+ const searchParams = new URLSearchParams(search);
2247
+ if (searchParams.has(RELOADED_URL_QUERY)) {
2248
+ searchParams.delete(RELOADED_URL_QUERY);
2249
+ history.replace({ search: searchParams.toString() });
2250
+ }
2251
+ }
2252
+ if (DL.AUTH_ENABLED && !isLanding && !DL.IS_AUTH_PAGE) {
2253
+ clearQuery();
2254
+ }
2255
+ });
2256
+ };
2257
+ const initialState$4 = {
2258
+ authPageInited: false,
2259
+ rethPath: null
2260
+ };
2261
+ const commonReducer = (state = initialState$4, action) => {
2262
+ switch (action.type) {
2263
+ case SET_AUTH_PAGE_INITED: {
2264
+ return {
2265
+ ...state,
2266
+ ...action.payload
2267
+ };
2268
+ }
2269
+ default: {
2270
+ return state;
2271
+ }
2272
+ }
2273
+ };
2274
+ const UPDATE_FORM_VALUES = /* @__PURE__ */ Symbol("auth/signin/UPDATE_FORM_VALUES");
2275
+ const initialState$3 = {
2276
+ login: "",
2277
+ password: ""
2278
+ };
2279
+ const signinReducer = (state = initialState$3, action) => {
2280
+ switch (action.type) {
2281
+ case UPDATE_FORM_VALUES: {
2282
+ return {
2283
+ ...state,
2284
+ ...action.payload
2285
+ };
2286
+ }
2287
+ default: {
2288
+ return state;
2289
+ }
2290
+ }
2291
+ };
2292
+ const getInitialRoles = () => {
2293
+ const rolesList = getUsersRoles();
2294
+ const defaultRole = rolesList[rolesList.length - 1];
2295
+ return [defaultRole];
2296
+ };
2297
+ const initialState$2 = {
2298
+ values: {
2299
+ login: "",
2300
+ email: "",
2301
+ firstName: "",
2302
+ lastName: "",
2303
+ password: "",
2304
+ repeatPassword: "",
2305
+ roles: getInitialRoles()
2306
+ },
2307
+ validation: {
2308
+ login: void 0,
2309
+ email: void 0,
2310
+ firstName: void 0,
2311
+ lastName: void 0,
2312
+ password: void 0,
2313
+ repeatPassword: void 0
2314
+ }
2315
+ };
2316
+ const userInfoFormReducer = (state = initialState$2, action) => {
2317
+ switch (action.type) {
2318
+ case UPDATE_FORM_VALUES$1: {
2319
+ return {
2320
+ ...state,
2321
+ values: {
2322
+ ...state.values,
2323
+ ...action.payload
2324
+ }
2325
+ };
2326
+ }
2327
+ case UPDATE_FORM_VALIDATION: {
2328
+ return {
2329
+ ...state,
2330
+ validation: {
2331
+ ...state.validation,
2332
+ ...action.payload
2333
+ }
2334
+ };
2335
+ }
2336
+ case RESET_FORM_VALIDATION: {
2337
+ return {
2338
+ ...state,
2339
+ validation: initialState$2.validation
2340
+ };
2341
+ }
2342
+ case RESET_FORM: {
2343
+ return initialState$2;
2344
+ }
2345
+ default: {
2346
+ return state;
2347
+ }
2348
+ }
2349
+ };
2350
+ const initialState$1 = {
2351
+ getProfile: {
2352
+ isLoading: false,
2353
+ data: null,
2354
+ error: null
2355
+ },
2356
+ deleteProfile: {
2357
+ isLoading: false,
2358
+ error: null
2359
+ },
2360
+ updatePassword: {
2361
+ isLoading: false,
2362
+ error: null
2363
+ },
2364
+ updateRole: {
2365
+ isLoading: false,
2366
+ error: null
2367
+ },
2368
+ editProfile: {
2369
+ isLoading: false,
2370
+ error: null
2371
+ }
2372
+ };
2373
+ const userProfileReducer = (state = initialState$1, action) => {
2374
+ switch (action.type) {
2375
+ case GET_USER_PROFILE_LOADING: {
2376
+ return {
2377
+ ...state,
2378
+ getProfile: {
2379
+ ...state.getProfile,
2380
+ isLoading: true,
2381
+ error: null
2382
+ }
2383
+ };
2384
+ }
2385
+ case GET_USER_PROFILE_SUCCESS: {
2386
+ return {
2387
+ ...state,
2388
+ getProfile: {
2389
+ isLoading: false,
2390
+ data: action.data,
2391
+ error: null
2392
+ }
2393
+ };
2394
+ }
2395
+ case GET_USER_PROFILE_FAILED: {
2396
+ return {
2397
+ ...state,
2398
+ getProfile: {
2399
+ ...state.getProfile,
2400
+ isLoading: false,
2401
+ error: action.error
2402
+ }
2403
+ };
2404
+ }
2405
+ case RESET_USER_PROFILE_STATE: {
2406
+ return {
2407
+ ...state,
2408
+ getProfile: {
2409
+ ...initialState$1.getProfile
2410
+ }
2411
+ };
2412
+ }
2413
+ case DELETE_USER_PROFILE_LOADING: {
2414
+ return {
2415
+ ...state,
2416
+ deleteProfile: {
2417
+ ...state.deleteProfile,
2418
+ isLoading: true,
2419
+ error: null
2420
+ }
2421
+ };
2422
+ }
2423
+ case DELETE_USER_PROFILE_SUCCESS: {
2424
+ return {
2425
+ ...state,
2426
+ deleteProfile: {
2427
+ ...state.deleteProfile,
2428
+ isLoading: false,
2429
+ error: null
2430
+ }
2431
+ };
2432
+ }
2433
+ case DELETE_USER_PROFILE_FAILED: {
2434
+ return {
2435
+ ...state,
2436
+ deleteProfile: {
2437
+ ...state.deleteProfile,
2438
+ isLoading: false,
2439
+ error: action.error
2440
+ }
2441
+ };
2442
+ }
2443
+ case EDIT_USER_PROFILE_LOADING: {
2444
+ return {
2445
+ ...state,
2446
+ editProfile: {
2447
+ ...state.editProfile,
2448
+ isLoading: true,
2449
+ error: null
2450
+ }
2451
+ };
2452
+ }
2453
+ case EDIT_USER_PROFILE_SUCCESS: {
2454
+ return {
2455
+ ...state,
2456
+ editProfile: {
2457
+ ...state.editProfile,
2458
+ isLoading: false,
2459
+ error: null
2460
+ }
2461
+ };
2462
+ }
2463
+ case EDIT_USER_PROFILE_FAILED: {
2464
+ return {
2465
+ ...state,
2466
+ editProfile: {
2467
+ ...state.editProfile,
2468
+ isLoading: false,
2469
+ error: action.error
2470
+ }
2471
+ };
2472
+ }
2473
+ case UPDATE_USER_PASSWORD_LOADING: {
2474
+ return {
2475
+ ...state,
2476
+ updatePassword: {
2477
+ ...state.updatePassword,
2478
+ isLoading: true,
2479
+ error: null
2480
+ }
2481
+ };
2482
+ }
2483
+ case UPDATE_USER_PASSWORD_SUCCESS: {
2484
+ return {
2485
+ ...state,
2486
+ updatePassword: {
2487
+ ...state.updatePassword,
2488
+ isLoading: false,
2489
+ error: null
2490
+ }
2491
+ };
2492
+ }
2493
+ case UPDATE_USER_PASSWORD_FAILED: {
2494
+ return {
2495
+ ...state,
2496
+ updatePassword: {
2497
+ ...state.updatePassword,
2498
+ isLoading: false,
2499
+ error: action.error
2500
+ }
2501
+ };
2502
+ }
2503
+ case RESET_UPDATE_USER_PASSWORD_STATE: {
2504
+ return {
2505
+ ...state,
2506
+ updatePassword: { ...initialState$1.updatePassword }
2507
+ };
2508
+ }
2509
+ case UPDATE_USER_ROLE_LOADING: {
2510
+ return {
2511
+ ...state,
2512
+ updateRole: {
2513
+ ...state.updateRole,
2514
+ isLoading: true,
2515
+ error: null
2516
+ }
2517
+ };
2518
+ }
2519
+ case UPDATE_USER_ROLE_SUCCESS: {
2520
+ return {
2521
+ ...state,
2522
+ updateRole: {
2523
+ ...state.updateRole,
2524
+ isLoading: false,
2525
+ error: null
2526
+ }
2527
+ };
2528
+ }
2529
+ case UPDATE_USER_ROLE_FAILED: {
2530
+ return {
2531
+ ...state,
2532
+ updateRole: {
2533
+ ...state.updateRole,
2534
+ isLoading: false,
2535
+ error: action.error
2536
+ }
2537
+ };
2538
+ }
2539
+ default: {
2540
+ return state;
2541
+ }
2542
+ }
2543
+ };
2544
+ const initialState = {
2545
+ queue: [],
2546
+ users: {
2547
+ [SYSTEM_USER.UID]: {
2548
+ loading: false,
2549
+ error: null,
2550
+ data: {
2551
+ source: "system",
2552
+ subject: {
2553
+ uid: SYSTEM_USER.UID,
2554
+ login: SYSTEM_USER.LOGIN
2555
+ }
2556
+ }
2557
+ }
2558
+ }
2559
+ };
2560
+ function usersByIdReducer(state = initialState, action) {
2561
+ switch (action.type) {
2562
+ case SET_QUEUE:
2563
+ return {
2564
+ ...state,
2565
+ queue: [...action.payload.userIds]
2566
+ };
2567
+ case SET_USERS:
2568
+ return {
2569
+ ...state,
2570
+ users: {
2571
+ ...state.users,
2572
+ ...action.payload.users
2573
+ }
2574
+ };
2575
+ default:
2576
+ return state;
2577
+ }
2578
+ }
2579
+ const reducers = combineReducers({
2580
+ common: commonReducer,
2581
+ signin: signinReducer,
2582
+ userInfoForm: userInfoFormReducer,
2583
+ userProfile: userProfileReducer,
2584
+ usersByIds: usersByIdReducer
2585
+ });
2586
+ const reducer = (state, action) => {
2587
+ if (action.type === RESET_AUTH_STATE) {
2588
+ return reducers(void 0, action);
2589
+ }
2590
+ return reducers(state, action);
2591
+ };
2592
+ const useIframeRender = () => {
2593
+ const isIframeRendered = isIframe();
2594
+ React__default.useEffect(() => {
2595
+ if (isIframeRendered) {
2596
+ document.body.classList?.add(DATALENS_IFRAME_CLASSNAME);
2597
+ } else {
2598
+ document.body.classList?.remove(DATALENS_IFRAME_CLASSNAME);
2599
+ }
2600
+ }, [isIframeRendered]);
2601
+ };
2602
+ const OPEN_SOURCE_INSTALLATION_INFO = "open source";
2603
+ reducerRegistry.register(coreReducers);
2604
+ reducerRegistry.register({ auth: reducer });
2605
+ reducerRegistry.register({ chartkitApi: chartkitApi.reducer });
2606
+ reducerRegistry.registerMiddleware(chartkitApi.middleware);
2607
+ const DatasetPage = React__default.lazy(() => import("./pages/DatasetPage.js"));
2608
+ const PreviewPage = React__default.lazy(() => import("./pages/PreviewPage.js"));
2609
+ const ConnectionsPage = React__default.lazy(
2610
+ () => import(
2611
+ /* webpackChunkName: "connections-page" */
2612
+ "./pages/ConnectionsPage.js"
2613
+ ).then((n) => n.C)
2614
+ );
2615
+ const CollectionsNavigtaionPage = React__default.lazy(
2616
+ () => import("./pages/CollectionsNavigationPage.js").then((n) => n.c)
2617
+ );
2618
+ const ServiceSettings = React__default.lazy(() => import("./pages/ServiceSettingsPage.js").then((n) => n.i));
2619
+ const UserProfile = React__default.lazy(() => import("./pages/OwnUserProfilePage.js").then((n) => n.O));
2620
+ const LandingPage = React__default.lazy(() => import("./pages/LandingPage.js"));
2621
+ const AuthPage = React__default.lazy(
2622
+ () => import(
2623
+ /* webpackChunkName: "auth-page" */
2624
+ "./pages/AuthPage.js"
2625
+ ).then((n) => n.k)
2626
+ );
2627
+ const DatalensPageView = ({ homePathname = "/collections" }) => {
2628
+ useClearReloadedQuery();
2629
+ const capabilities2 = useCapabilities();
2630
+ const isLanding = useSelector(selectIsLanding);
2631
+ const location2 = useLocation();
2632
+ if (isLanding) {
2633
+ return /* @__PURE__ */ jsx(React__default.Suspense, { fallback: /* @__PURE__ */ jsx(FallbackPage, {}), children: /* @__PURE__ */ jsx(LandingPage, {}) });
2634
+ }
2635
+ if (DL.IS_AUTH_PAGE) {
2636
+ return /* @__PURE__ */ jsx(React__default.Suspense, { fallback: /* @__PURE__ */ jsx(FallbackPage, {}), children: /* @__PURE__ */ jsx(AuthPage, {}) });
2637
+ }
2638
+ return /* @__PURE__ */ jsxs(React__default.Suspense, { fallback: /* @__PURE__ */ jsx(FallbackPage, {}), children: [
2639
+ /* @__PURE__ */ jsxs(Switch, { children: [
2640
+ DL.AUTH_ENABLED && /* @__PURE__ */ jsx(Route, { path: "/auth", component: AuthPage }),
2641
+ /* @__PURE__ */ jsx(
2642
+ Route,
2643
+ {
2644
+ path: ["/workbooks/:workbookId/datasets/new", "/datasets/:id"],
2645
+ component: DatasetPage
2646
+ }
2647
+ ),
2648
+ /* @__PURE__ */ jsx(Route, { path: "/preview", component: PreviewPage }),
2649
+ /* @__PURE__ */ jsx(Route, { path: ["/connections/new/:type", "/connections/new"], children: /* @__PURE__ */ jsx(Redirect, { to: { pathname: homePathname, search: location2.search } }) }),
2650
+ capabilities2[Capability.ManageableConnections] && /* @__PURE__ */ jsx(
2651
+ Route,
2652
+ {
2653
+ path: [
2654
+ "/connections/:id",
2655
+ "/workbooks/:workbookId/connections/new/:type",
2656
+ "/workbooks/:workbookId/connections/new"
2657
+ ],
2658
+ component: ConnectionsPage
2659
+ }
2660
+ ),
2661
+ DL.AUTH_ENABLED && /* @__PURE__ */ jsx(Route, { path: "/profile", component: UserProfile }),
2662
+ capabilities2[Capability.AccessibleSettings] && /* @__PURE__ */ jsx(Route, { path: "/settings", component: ServiceSettings }),
2663
+ capabilities2[Capability.AccessibleCollectionsRoot] && /* @__PURE__ */ jsx(Route, { path: ["/collections"], component: CollectionsNavigtaionPage }),
2664
+ /* @__PURE__ */ jsx(Route, { exact: true, path: dashAndWizardQLRoutes, component: DashAndWizardQLPages }),
2665
+ /* @__PURE__ */ jsx(
2666
+ Route,
2667
+ {
2668
+ path: capabilities2[Capability.ManageableConnections] ? ["/collections/:collectionId", "/workbooks/:workbookId"] : ["/workbooks/:workbookId"],
2669
+ component: CollectionsNavigtaionPage
2670
+ }
2671
+ ),
2672
+ /* @__PURE__ */ jsx(Route, { path: "/", children: /* @__PURE__ */ jsx(Redirect, { to: { pathname: homePathname, search: location2.search } }) })
2673
+ ] }),
2674
+ /* @__PURE__ */ jsx(LocationChange, { onLocationChanged: locationChangeHandler })
2675
+ ] });
2676
+ };
2677
+ const DatalensPage = ({ homePathname = "/collections" }) => {
2678
+ const showAsideHeaderAdapter = getIsAsideHeaderEnabled() && !isEmbeddedMode() && !isTvMode();
2679
+ const showMobileHeader = !isEmbeddedMode() && DL.IS_MOBILE && !DL.IS_NOT_AUTHENTICATED && !DL.IS_AUTH_PAGE;
2680
+ useIframeRender();
2681
+ if (showMobileHeader) {
2682
+ return /* @__PURE__ */ jsx(
2683
+ MobileHeaderComponent,
2684
+ {
2685
+ renderContent: () => /* @__PURE__ */ jsx(DatalensPageView, { homePathname }),
2686
+ logoTextProps: { installationInfo: OPEN_SOURCE_INSTALLATION_INFO }
2687
+ }
2688
+ );
2689
+ }
2690
+ if (showAsideHeaderAdapter) {
2691
+ return /* @__PURE__ */ jsx(
2692
+ AsideHeaderAdapter,
2693
+ {
2694
+ renderContent: () => /* @__PURE__ */ jsx(DatalensPageView, { homePathname }),
2695
+ logoTextProps: { installationInfo: OPEN_SOURCE_INSTALLATION_INFO }
2696
+ }
2697
+ );
2698
+ }
2699
+ return /* @__PURE__ */ jsx(DatalensPageView, { homePathname });
2700
+ };
2701
+ const registryLibsPlugins = (options = {}) => {
2702
+ registry.libs.schematicSdk.register(
2703
+ initSdk(options.sdk ?? {}),
2704
+ options.sdk?.allowOverride ?? false
2705
+ );
2706
+ };
2707
+ const updateFormValues = (payload) => ({
2708
+ type: UPDATE_FORM_VALUES,
2709
+ payload
2710
+ });
2711
+ const submitSigninForm = ({ onError }) => {
2712
+ return (dispatch, getState) => {
2713
+ const { sdk: sdk2 } = getSdk();
2714
+ const { login, password } = getState().auth.signin;
2715
+ const preparedLogin = login.trim();
2716
+ return sdk2.auth.auth.signin({
2717
+ login: preparedLogin,
2718
+ password
2719
+ }).then(() => {
2720
+ const { rethPath } = getState().auth.common;
2721
+ const url = new URL(rethPath || window.location.origin);
2722
+ url.searchParams.delete(RELOADED_URL_QUERY);
2723
+ window.location.href = url.toString();
2724
+ }).catch((error) => {
2725
+ if (!sdk2.isCancel(error)) {
2726
+ logger$1.logError("auth/signin failed", error);
2727
+ if (isSdkError(error)) {
2728
+ onError?.(error);
2729
+ return;
2730
+ }
2731
+ dispatch(
2732
+ showToast({
2733
+ title: error.message,
2734
+ error
2735
+ })
2736
+ );
2737
+ }
2738
+ });
2739
+ };
2740
+ };
2741
+ const selectLogin = (state) => state.auth.signin.login;
2742
+ const selectPassword = (state) => state.auth.signin.password;
2743
+ const selectFormData = (state) => state.auth.signin;
2744
+ const i18n$b = I18n.keyset("auth.sign-in");
2745
+ const Login = ({ qa }) => {
2746
+ const dispatch = useDispatch();
2747
+ const login = useSelector(selectLogin);
2748
+ const handleUpdate = (value) => dispatch(updateFormValues({ login: value }));
2749
+ return /* @__PURE__ */ jsx(
2750
+ TextInput,
2751
+ {
2752
+ value: login,
2753
+ onUpdate: handleUpdate,
2754
+ placeholder: i18n$b("label_login-placeholder"),
2755
+ size: "l",
2756
+ autoComplete: "username",
2757
+ autoFocus: true,
2758
+ qa
2759
+ }
2760
+ );
2761
+ };
2762
+ const i18n$a = I18n.keyset("auth.sign-in");
2763
+ const Password = ({ qa }) => {
2764
+ const dispatch = useDispatch();
2765
+ const password = useSelector(selectPassword);
2766
+ const handleUpdate = (value) => dispatch(updateFormValues({ password: value }));
2767
+ return /* @__PURE__ */ jsx(
2768
+ TextInput,
2769
+ {
2770
+ type: "password",
2771
+ placeholder: i18n$a("label_password-placeholder"),
2772
+ size: "l",
2773
+ autoComplete: "current-password",
2774
+ value: password,
2775
+ onUpdate: handleUpdate,
2776
+ qa
2777
+ }
2778
+ );
2779
+ };
2780
+ const darkLogo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='179'%20height='24'%20fill='none'%20viewBox='0%200%20179%2024'%3e%3cpath%20fill='%23fff'%20d='M10.213%2020.8H7.116v-5.147L1.279%202.824h3.226L9.06%2012.86c.87%201.913%201.152%202.586%201.152%204.888zm2.022-9.285H9.087l3.788-8.69h3.149zm32.356%209.543c-2.867%200-4.863-2.38-4.863-6.673%200-4.345%202.047-6.854%204.991-6.854%201.331%200%202.458.621%203.225%201.785V2.824h3.047V20.8h-2.816l-.154-1.681c-.819%201.267-1.996%201.94-3.43%201.94m18.712-1.138c-.896.621-2.329%201.138-4.274%201.138-3.891%200-6.093-2.198-6.093-6.724%200-3.932%201.766-6.803%205.478-6.803%203.046%200%205.017%201.707%205.017%206.234v1.63h-7.346c.128%202.172.972%203.232%203.2%203.232%201.484%200%203.071-.569%204.018-1.215zm-38.32-7.992v5.69q0%201.59.154%203.182h-2.97a4%204%200%200%201-.23-1.035h-.128c-.589.62-1.357%201.216-3.149%201.216-2.355%200-3.942-1.449-3.942-3.957%200-2.716%202.074-4.242%206.733-4.242h.486v-.828c0-1.396-.666-1.914-2.125-1.914-1.715%200-3.2.931-4.172%201.733V9.11c.921-.672%202.534-1.526%204.53-1.526%203.226%200%204.813%201.19%204.813%204.345m5.53-.465V20.8h-3.047V7.79h2.97l.076%201.086h.154c.614-.62%201.69-1.293%203.507-1.293%202.483%200%203.507%201.138%203.507%203.725V20.8h-3.046v-9.182c0-.983-.487-1.448-1.562-1.448-1.1%200-1.997.595-2.56%201.293m42.16%209.337-2.74-4.397-2.585%204.397H64.25l4.044-6.777-3.89-6.233h3.43l2.457%203.931%202.201-3.93h3.046l-3.635%206.31%204.198%206.699zM45.486%209.963c-1.74%200-2.61%201.345-2.61%204.422%200%202.949.818%204.242%202.482%204.242%201.715%200%202.585-1.319%202.585-4.345%200-3-.819-4.32-2.457-4.32m12.876%200c-1.46%200-2.202%201.086-2.278%203.155h4.249v-.258c0-1.63-.46-2.897-1.971-2.897m-36.426%207.733v-2.87h-.435c-2.611%200-3.66.516-3.66%202.017%200%201.137.64%201.888%201.92%201.888%201.074%200%201.791-.466%202.175-1.035M84.32%202.824h4.306c4.834%200%208.452%202.276%208.452%208.897%200%205.872-3.645%209.079-8.716%209.079H84.32zm3.778%2015.545c3.46%200%205.731-2.25%205.731-6.7%200-4.836-2.245-6.414-5.467-6.414h-.846V18.37zM108.904%2011.928v5.69q0%201.59.158%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.607.62-1.4%201.216-3.249%201.216-2.43%200-4.067-1.475-4.067-4.113s2.139-4.19%206.947-4.19h.501v-.724c0-1.396-.686-1.914-2.192-1.914-1.611%200-3.46.673-4.305%201.294V8.773c.95-.543%202.588-1.19%204.675-1.19%203.328%200%204.966%201.19%204.966%204.345m-3.144%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.661%201.94%201.981%201.94%201.11%200%201.849-.466%202.245-1.035M110.117%207.79h1.664V4.945h3.143V7.79h3.302v2.431h-3.302v6.7c0%20.956.607%201.706%201.928%201.706%201.057%200%201.638-.414%201.638-.414v2.51s-.872.335-2.404.335c-2.905%200-4.305-1.732-4.305-4.164v-6.673h-1.664zM130.004%2011.928v5.69q0%201.59.159%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.608.62-1.4%201.216-3.249%201.216-2.43%200-4.068-1.475-4.068-4.113s2.14-4.19%206.947-4.19h.502v-.724c0-1.396-.687-1.914-2.192-1.914-1.612%200-3.461.673-4.306%201.294V8.773c.951-.543%202.589-1.19%204.675-1.19%203.329%200%204.966%201.19%204.966%204.345m-3.143%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.66%201.94%201.981%201.94%201.109%200%201.849-.466%202.245-1.035M132.532%202.824h3.196V18.37h6.418v2.43h-9.614zM153.767%2019.92c-.924.621-2.403%201.138-4.411%201.138-4.015%200-6.287-2.198-6.287-6.724%200-3.932%201.823-6.803%205.653-6.803%203.143%200%205.177%201.707%205.177%206.234v1.63h-7.581c.132%202.172%201.004%203.232%203.302%203.232%201.532%200%203.17-.569%204.147-1.215zm-5.098-9.957c-1.505%200-2.271%201.086-2.351%203.155h4.385v-.258c0-1.63-.475-2.897-2.034-2.897M159.149%2011.463V20.8h-3.144V7.79h3.064l.08%201.086h.158c.634-.62%201.743-1.293%203.619-1.293%202.562%200%203.619%201.138%203.619%203.725V20.8h-3.144v-9.182c0-.983-.502-1.448-1.611-1.448-1.136%200-2.06.595-2.641%201.293M173.152%2021.058c-3.064%200-4.543-1.215-4.543-1.215v-2.51c.264.13%201.743%201.294%204.041%201.294%201.796%200%202.615-.491%202.615-1.5%200-1.138-.977-1.63-2.8-1.862-2.589-.336-3.936-1.526-3.936-3.828%200-2.25%201.796-3.906%205.019-3.906%202.615%200%203.857.725%203.857.725v2.508c-.212-.155-1.506-.879-3.54-.879-1.479%200-2.272.44-2.272%201.423%200%201.241%201.11%201.396%202.43%201.577%202.668.362%204.28%201.552%204.28%203.828%200%203.078-2.034%204.345-5.151%204.345'/%3e%3c/svg%3e";
2781
+ const lightLogo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='179'%20height='24'%20fill='none'%20viewBox='0%200%20179%2024'%3e%3cpath%20fill='%23000'%20fill-opacity='.85'%20d='M10.213%2020.8H7.116v-5.147L1.279%202.824h3.226L9.06%2012.86c.87%201.913%201.152%202.586%201.152%204.888zm2.022-9.285H9.087l3.788-8.69h3.149zm32.356%209.543c-2.867%200-4.863-2.38-4.863-6.673%200-4.345%202.047-6.854%204.991-6.854%201.331%200%202.458.621%203.225%201.785V2.824h3.047V20.8h-2.816l-.154-1.681c-.819%201.267-1.996%201.94-3.43%201.94m18.712-1.138c-.896.621-2.329%201.138-4.274%201.138-3.891%200-6.093-2.198-6.093-6.724%200-3.932%201.766-6.803%205.478-6.803%203.046%200%205.017%201.707%205.017%206.234v1.63h-7.346c.128%202.172.972%203.232%203.2%203.232%201.484%200%203.071-.569%204.018-1.215zm-38.32-7.992v5.69q0%201.59.154%203.182h-2.97a4%204%200%200%201-.23-1.035h-.128c-.589.62-1.357%201.216-3.149%201.216-2.355%200-3.942-1.449-3.942-3.957%200-2.716%202.074-4.242%206.733-4.242h.486v-.828c0-1.396-.666-1.914-2.125-1.914-1.715%200-3.2.931-4.172%201.733V9.11c.921-.672%202.534-1.526%204.53-1.526%203.226%200%204.813%201.19%204.813%204.345m5.53-.465V20.8h-3.047V7.79h2.97l.076%201.086h.154c.614-.62%201.69-1.293%203.507-1.293%202.483%200%203.507%201.138%203.507%203.725V20.8h-3.046v-9.182c0-.983-.487-1.448-1.562-1.448-1.1%200-1.997.595-2.56%201.293m42.16%209.337-2.74-4.397-2.585%204.397H64.25l4.044-6.777-3.89-6.233h3.43l2.457%203.931%202.201-3.93h3.046l-3.635%206.31%204.198%206.699zM45.486%209.963c-1.74%200-2.61%201.345-2.61%204.422%200%202.949.818%204.242%202.482%204.242%201.715%200%202.585-1.319%202.585-4.345%200-3-.819-4.32-2.457-4.32m12.876%200c-1.46%200-2.202%201.086-2.278%203.155h4.249v-.258c0-1.63-.46-2.897-1.971-2.897m-36.426%207.733v-2.87h-.435c-2.611%200-3.66.516-3.66%202.017%200%201.137.64%201.888%201.92%201.888%201.074%200%201.791-.466%202.175-1.035M84.32%202.824h4.306c4.834%200%208.452%202.276%208.452%208.897%200%205.872-3.645%209.079-8.716%209.079H84.32zm3.778%2015.545c3.46%200%205.731-2.25%205.731-6.7%200-4.836-2.245-6.414-5.467-6.414h-.846V18.37zM108.904%2011.928v5.69q0%201.59.158%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.607.62-1.4%201.216-3.249%201.216-2.43%200-4.067-1.475-4.067-4.113s2.139-4.19%206.947-4.19h.501v-.724c0-1.396-.686-1.914-2.192-1.914-1.611%200-3.46.673-4.305%201.294V8.773c.95-.543%202.588-1.19%204.675-1.19%203.328%200%204.966%201.19%204.966%204.345m-3.144%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.661%201.94%201.981%201.94%201.11%200%201.849-.466%202.245-1.035M110.117%207.79h1.664V4.945h3.143V7.79h3.302v2.431h-3.302v6.7c0%20.956.607%201.706%201.928%201.706%201.057%200%201.638-.414%201.638-.414v2.51s-.872.335-2.404.335c-2.905%200-4.305-1.732-4.305-4.164v-6.673h-1.664zM130.004%2011.928v5.69q0%201.59.159%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.608.62-1.4%201.216-3.249%201.216-2.43%200-4.068-1.475-4.068-4.113s2.14-4.19%206.947-4.19h.502v-.724c0-1.396-.687-1.914-2.192-1.914-1.612%200-3.461.673-4.306%201.294V8.773c.951-.543%202.589-1.19%204.675-1.19%203.329%200%204.966%201.19%204.966%204.345m-3.143%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.66%201.94%201.981%201.94%201.109%200%201.849-.466%202.245-1.035M132.532%202.824h3.196V18.37h6.418v2.43h-9.614zM153.767%2019.92c-.924.621-2.403%201.138-4.411%201.138-4.015%200-6.287-2.198-6.287-6.724%200-3.932%201.823-6.803%205.653-6.803%203.143%200%205.177%201.707%205.177%206.234v1.63h-7.581c.132%202.172%201.004%203.232%203.302%203.232%201.532%200%203.17-.569%204.147-1.215zm-5.098-9.957c-1.505%200-2.271%201.086-2.351%203.155h4.385v-.258c0-1.63-.475-2.897-2.034-2.897M159.149%2011.463V20.8h-3.144V7.79h3.064l.08%201.086h.158c.634-.62%201.743-1.293%203.619-1.293%202.562%200%203.619%201.138%203.619%203.725V20.8h-3.144v-9.182c0-.983-.502-1.448-1.611-1.448-1.136%200-2.06.595-2.641%201.293M173.152%2021.058c-3.064%200-4.543-1.215-4.543-1.215v-2.51c.264.13%201.743%201.294%204.041%201.294%201.796%200%202.615-.491%202.615-1.5%200-1.138-.977-1.63-2.8-1.862-2.589-.336-3.936-1.526-3.936-3.828%200-2.25%201.796-3.906%205.019-3.906%202.615%200%203.857.725%203.857.725v2.508c-.212-.155-1.506-.879-3.54-.879-1.479%200-2.272.44-2.272%201.423%200%201.241%201.11%201.396%202.43%201.577%202.668.362%204.28%201.552%204.28%203.828%200%203.078-2.034%204.345-5.151%204.345'/%3e%3c/svg%3e";
2782
+ const i18n$9 = I18n.keyset("auth.sign-in");
2783
+ const b$b = block("dl-signin");
2784
+ const Signin = ({ alternativeAuthOptions }) => {
2785
+ const dispatch = useDispatch();
2786
+ const [errorMessage, setErrorMessage] = React__default.useState(null);
2787
+ const formData = useSelector(selectFormData);
2788
+ const theme2 = useThemeType();
2789
+ const logo = theme2 === "dark" ? darkLogo : lightLogo;
2790
+ const handleSigninError = (error) => {
2791
+ if (error.status === 403) {
2792
+ setErrorMessage(i18n$9("label_error-incorrect-fields"));
2793
+ return;
2794
+ }
2795
+ dispatch(showToast({ title: error.message, error }));
2796
+ };
2797
+ const handleSubmit = (event) => {
2798
+ event.preventDefault();
2799
+ if (!formData.login || !formData.password) {
2800
+ setErrorMessage(i18n$9("label_error-required-fields"));
2801
+ return;
2802
+ }
2803
+ dispatch(submitSigninForm({ onError: handleSigninError }));
2804
+ };
2805
+ const handleFormChange = React__default.useCallback(() => {
2806
+ if (errorMessage) {
2807
+ setErrorMessage(null);
2808
+ }
2809
+ }, [errorMessage]);
2810
+ return /* @__PURE__ */ jsx(Flex, { className: b$b(), justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsxs(
2811
+ Flex,
2812
+ {
2813
+ className: b$b("form-container"),
2814
+ direction: "column",
2815
+ gap: "6",
2816
+ as: "form",
2817
+ qa: SignInQa.SIGN_IN_FORM,
2818
+ onChange: handleFormChange,
2819
+ onSubmit: handleSubmit,
2820
+ children: [
2821
+ /* @__PURE__ */ jsx(Icon, { data: logo, width: "100%" }),
2822
+ /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 6, children: [
2823
+ errorMessage && /* @__PURE__ */ jsx(Alert, { theme: "danger", message: errorMessage }),
2824
+ /* @__PURE__ */ jsx(Login, { qa: SignInQa.INPUT_LOGIN }),
2825
+ /* @__PURE__ */ jsx(Password, { qa: SignInQa.INPUT_PASSWORD }),
2826
+ /* @__PURE__ */ jsx(Button, { size: "xl", view: "action", type: "submit", children: i18n$9("button_sign-in") }),
2827
+ !DL.AUTH_SIGNUP_DISABLED && /* @__PURE__ */ jsxs(Flex, { gap: 1, children: [
2828
+ i18n$9("label_sign-up-hint"),
2829
+ /* @__PURE__ */ jsx(Link, { to: AUTH_ROUTE.SIGNUP, className: b$b("link"), children: i18n$9("label_sing-up-link") })
2830
+ ] })
2831
+ ] }),
2832
+ alternativeAuthOptions
2833
+ ]
2834
+ }
2835
+ ) });
2836
+ };
2837
+ const b$a = block("users-list-labels-list");
2838
+ const LabelsList = ({
2839
+ items,
2840
+ countVisibleElements = 1,
2841
+ buttonTheme = "normal",
2842
+ size = isEnabledFeature(Feature.EnableNewServiceSettings) ? "s" : "xs"
2843
+ }) => {
2844
+ const [open, setOpen] = React__default.useState(false);
2845
+ const anchorRef = React__default.useRef(null);
2846
+ const toggleRolesPopup = React__default.useCallback(
2847
+ (event) => {
2848
+ event.stopPropagation();
2849
+ setOpen(!open);
2850
+ },
2851
+ [open]
2852
+ );
2853
+ const handlePopupClose = React__default.useCallback(() => {
2854
+ setOpen(false);
2855
+ }, []);
2856
+ const renderList = () => {
2857
+ const visibleItems = items.slice(0, countVisibleElements);
2858
+ const hiddenItems = items.slice(countVisibleElements);
2859
+ const buttonText = `+${items.length - countVisibleElements}`;
2860
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
2861
+ visibleItems.map((item) => /* @__PURE__ */ jsx(UserRoleLabel, { role: item, size }, item)),
2862
+ /* @__PURE__ */ jsx(
2863
+ Label,
2864
+ {
2865
+ ref: anchorRef,
2866
+ theme: buttonTheme,
2867
+ onClick: toggleRolesPopup,
2868
+ className: b$a("button"),
2869
+ size,
2870
+ children: buttonText
2871
+ }
2872
+ ),
2873
+ /* @__PURE__ */ jsx(
2874
+ Popup,
2875
+ {
2876
+ anchorElement: anchorRef.current,
2877
+ open,
2878
+ placement: ["bottom-end", "bottom", "top-end", "top"],
2879
+ onOpenChange: (isOpened) => {
2880
+ if (!isOpened) {
2881
+ handlePopupClose();
2882
+ }
2883
+ },
2884
+ children: /* @__PURE__ */ jsx("div", { className: b$a("popup"), children: /* @__PURE__ */ jsx("div", { className: b$a("popup-content"), children: hiddenItems.map((item) => /* @__PURE__ */ jsx(UserRoleLabel, { role: item, size }, item)) }) })
2885
+ }
2886
+ )
2887
+ ] });
2888
+ };
2889
+ return /* @__PURE__ */ jsx(Flex, { className: b$a(), alignItems: "center", gap: 2, children: items.length > countVisibleElements ? renderList() : items.map((item) => /* @__PURE__ */ jsx(UserRoleLabel, { role: item, size }, item)) });
2890
+ };
2891
+ const b$9 = block("service-settings-users-list");
2892
+ const i18n$8 = I18n.keyset("service-settings.users-list.view");
2893
+ const newServiceSettingsEnabled = isEnabledFeature(Feature.EnableNewServiceSettings);
2894
+ const getUsersListColumns = () => newServiceSettingsEnabled ? [
2895
+ {
2896
+ id: "user",
2897
+ // TODO: name: i18n('user'),
2898
+ name: "Пользователь",
2899
+ template: ({ firstName, lastName, email }) => /* @__PURE__ */ jsx(
2900
+ User,
2901
+ {
2902
+ className: b$9("user"),
2903
+ size: "m",
2904
+ name: `${firstName ?? ""} ${lastName ?? ""}`.trim() || "—",
2905
+ description: email
2906
+ }
2907
+ ),
2908
+ width: "35%"
2909
+ },
2910
+ {
2911
+ id: "role",
2912
+ name: i18n$8("label_field-roles"),
2913
+ template: ({ roles }) => /* @__PURE__ */ jsx(LabelsList, { items: roles, countVisibleElements: 1 })
2914
+ },
2915
+ {
2916
+ id: "login",
2917
+ name: i18n$8("label_field-login"),
2918
+ template: ({ login }) => /* @__PURE__ */ jsx("div", { className: b$9("login"), children: login }),
2919
+ meta: { copy: ({ login }) => login }
2920
+ },
2921
+ {
2922
+ id: "userId",
2923
+ name: i18n$8("label_field-id"),
2924
+ meta: { copy: ({ userId }) => userId }
2925
+ }
2926
+ ] : [
2927
+ {
2928
+ id: "firstName",
2929
+ name: i18n$8("label_field-first-name")
2930
+ },
2931
+ {
2932
+ id: "lastName",
2933
+ name: i18n$8("label_field-last-name")
2934
+ },
2935
+ {
2936
+ id: "userId",
2937
+ name: i18n$8("label_field-id"),
2938
+ template: ({ userId }) => userId,
2939
+ meta: { copy: ({ userId }) => userId }
2940
+ },
2941
+ {
2942
+ id: "email",
2943
+ name: i18n$8("label_field-email"),
2944
+ template: ({ email }) => email,
2945
+ meta: { copy: ({ email }) => email }
2946
+ },
2947
+ {
2948
+ id: "role",
2949
+ name: i18n$8("label_field-roles"),
2950
+ template: ({ roles }) => /* @__PURE__ */ jsx(LabelsList, { items: roles, countVisibleElements: 1 })
2951
+ },
2952
+ {
2953
+ id: "login",
2954
+ name: i18n$8("label_field-login"),
2955
+ meta: { copy: ({ login }) => login }
2956
+ }
2957
+ ];
2958
+ const registerAuthPlugins = () => {
2959
+ registry.auth.functions.register({
2960
+ getUsersListColumns
2961
+ });
2962
+ registry.auth.components.registerMany({
2963
+ Signin
2964
+ });
2965
+ };
2966
+ const exampleFunction = (arg) => {
2967
+ return `${arg}`;
2968
+ };
2969
+ const AdvancedChartPlugin = {
2970
+ type: "advanced-chart",
2971
+ renderer: React__default.lazy(() => import("./AdvancedChartWidget.js"))
2972
+ };
2973
+ const HighchartsMapPlugin = {
2974
+ type: "highchartsmap",
2975
+ renderer: React__default.lazy(() => import("./HighchartsMapWidget.js"))
2976
+ };
2977
+ const MarkupPlugin = {
2978
+ type: "markup",
2979
+ renderer: React__default.lazy(() => import("./MarkupWidget.js"))
2980
+ };
2981
+ const MetricPlugin = {
2982
+ type: "metric",
2983
+ renderer: React__default.lazy(() => import("./MetricWidget.js"))
2984
+ };
2985
+ const TablePlugin = {
2986
+ type: "table",
2987
+ renderer: React__default.lazy(() => import("./pages/ConnectionsPage.js").then((n) => n.k))
2988
+ };
2989
+ const YandexMapPlugin = {
2990
+ type: "yandexmap",
2991
+ renderer: React__default.lazy(() => import("./YandexMapWidget.js"))
2992
+ };
2993
+ const getChartkitPlugins = () => [
2994
+ YagrPlugin,
2995
+ IndicatorPlugin,
2996
+ MetricPlugin,
2997
+ HighchartsMapPlugin,
2998
+ YandexMapPlugin,
2999
+ HighchartsPlugin,
3000
+ GravityChartsPlugin,
3001
+ MarkupPlugin,
3002
+ TablePlugin,
3003
+ AdvancedChartPlugin
3004
+ ];
3005
+ const registerChartPlugins = () => {
3006
+ registry.chart.functions.register({
3007
+ [EXAMPLE_FUNCTION]: exampleFunction,
3008
+ getWizardChartMenu,
3009
+ getPanePreviewChartMenu,
3010
+ getDefaultChartMenu,
3011
+ getChartkitMenuByType,
3012
+ getChartkitPlugins,
3013
+ getChartkitType
3014
+ });
3015
+ };
3016
+ const useCreateWorkbookDialogHandlers = () => {
3017
+ const { collectionId = null } = useParams();
3018
+ const dispatch = useDispatch();
3019
+ const history = useHistory();
3020
+ const handleOpenCreateDialog = React__default.useCallback(
3021
+ (defaultView, options) => {
3022
+ const { refreshPageAfterImport, initialImportStatus, ...restOptions } = options ?? {};
3023
+ dispatch(
3024
+ openDialog({
3025
+ id: DIALOG_CREATE_WORKBOOK,
3026
+ props: {
3027
+ open: true,
3028
+ collectionId,
3029
+ onCreateWorkbook: ({ workbookId }) => {
3030
+ if (workbookId) {
3031
+ history.push(`${WORKBOOKS_PATH}/${workbookId}`);
3032
+ }
3033
+ },
3034
+ onClose: () => {
3035
+ dispatch(closeDialog());
3036
+ if (refreshPageAfterImport && initialImportStatus !== void 0) {
3037
+ refreshPageAfterImport(initialImportStatus);
3038
+ }
3039
+ },
3040
+ defaultView,
3041
+ showImport: true,
3042
+ ...restOptions
3043
+ }
3044
+ })
3045
+ );
3046
+ },
3047
+ [collectionId, dispatch, history]
3048
+ );
3049
+ const handleOpenCreateDialogWithConnection = React__default.useCallback(() => {
3050
+ dispatch(
3051
+ openDialog({
3052
+ id: DIALOG_CREATE_WORKBOOK,
3053
+ props: {
3054
+ open: true,
3055
+ collectionId,
3056
+ onCreateWorkbook: ({ workbookId }) => {
3057
+ if (workbookId) {
3058
+ history.push(`${WORKBOOKS_PATH}/${workbookId}/connections/new`);
3059
+ }
3060
+ },
3061
+ onClose: () => {
3062
+ dispatch(closeDialog());
3063
+ }
3064
+ }
3065
+ })
3066
+ );
3067
+ }, [collectionId, dispatch, history]);
3068
+ return {
3069
+ handleOpenCreateDialog,
3070
+ handleOpenCreateDialogWithConnection
3071
+ };
3072
+ };
3073
+ const customizeCollectionsActions = (_item, actions) => actions;
3074
+ const customizeWorkbooksActions = (_item, actions) => actions;
3075
+ const customizeEmptyPlaceholder = ({
3076
+ title,
3077
+ description,
3078
+ actions
3079
+ }) => {
3080
+ return { title, description, actions };
3081
+ };
3082
+ const customizeNoCreatePermissionDialog = ({ message }) => {
3083
+ return {
3084
+ message
3085
+ };
3086
+ };
3087
+ const registerCollectionsPlugins = () => {
3088
+ registry.collections.functions.register({
3089
+ customizeWorkbooksActions,
3090
+ customizeCollectionsActions,
3091
+ customizeEmptyPlaceholder,
3092
+ customizeNoCreatePermissionDialog,
3093
+ useCreateWorkbookDialogHandlers
3094
+ });
3095
+ };
3096
+ const getAdditionalChartkitErrorContent = () => {
3097
+ return {};
3098
+ };
3099
+ const getIsCompact = () => {
3100
+ const isCompactValue = localStorage.getItem("isCompact");
3101
+ if (!isCompactValue) {
3102
+ return false;
3103
+ }
3104
+ return JSON.parse(isCompactValue);
3105
+ };
3106
+ const updateIsCompact = (isCompact) => {
3107
+ return () => {
3108
+ localStorage.setItem("isCompact", JSON.stringify(isCompact));
3109
+ };
3110
+ };
3111
+ const getLoginById = () => LoginById;
3112
+ const getRestrictedParamNames = () => RESTRICTED_PARAM_NAMES;
3113
+ const setEntryKey = async ({ scope, type, key, withRouting = true }) => {
3114
+ const store = getStore();
3115
+ if (withRouting) {
3116
+ store.dispatch(setIsRenameWithoutReload(true));
3117
+ }
3118
+ switch (scope) {
3119
+ case EntryScope.Dash:
3120
+ store.dispatch(renameDash(key));
3121
+ break;
3122
+ case EntryScope.Connection:
3123
+ store.dispatch(setConnectionKey(key));
3124
+ break;
3125
+ case EntryScope.Dataset:
3126
+ store.dispatch(renameDataset(key));
3127
+ break;
3128
+ case EntryScope.Widget: {
3129
+ if (ENTRY_TYPES.wizard.includes(type)) {
3130
+ store.dispatch(setWizardWidgetKey(key));
3131
+ } else if (ENTRY_TYPES.ql.includes(type)) {
3132
+ store.dispatch(setQlEntryKey(key));
3133
+ }
3134
+ break;
3135
+ }
3136
+ }
3137
+ if (withRouting) {
3138
+ store.dispatch(setIsRenameWithoutReload(false));
3139
+ }
3140
+ };
3141
+ const b$8 = block("dl-main-tab-content");
3142
+ const i18n$7 = I18n.keyset("new-workbooks");
3143
+ const MainTabContent = ({
3144
+ workbook,
3145
+ chunk,
3146
+ onRenameEntry,
3147
+ onDeleteEntry,
3148
+ onDuplicateEntry,
3149
+ onCopyEntry,
3150
+ actionCreateText,
3151
+ hasCreateButton = true,
3152
+ title,
3153
+ actionType,
3154
+ isShowMoreBtn,
3155
+ loadMoreEntries,
3156
+ retryLoadEntries,
3157
+ isErrorMessage,
3158
+ isLoading,
3159
+ createEntryBtn,
3160
+ clearView,
3161
+ onShowRelatedClick,
3162
+ onCopyId,
3163
+ onUpdateSharedEntryBindings
3164
+ }) => {
3165
+ const [isOpen, setIsOpen] = React__default.useState(true);
3166
+ const dispatch = useDispatch();
3167
+ const handleCreateEntity = () => {
3168
+ if (actionType) {
3169
+ dispatch(setCreateWorkbookEntryType(actionType));
3170
+ }
3171
+ };
3172
+ const getContentTab = () => {
3173
+ if (isErrorMessage) {
3174
+ return /* @__PURE__ */ jsx("div", { className: b$8("error-text"), children: i18n$7("label_error-load-entities") });
3175
+ }
3176
+ if (chunk && chunk.length > 0 && isOpen) {
3177
+ return /* @__PURE__ */ jsx(
3178
+ ChunkGroup,
3179
+ {
3180
+ workbook,
3181
+ chunk,
3182
+ onRenameEntry,
3183
+ onDeleteEntry,
3184
+ onDuplicateEntry,
3185
+ onCopyEntry,
3186
+ onShowRelatedClick,
3187
+ onCopyId,
3188
+ onUpdateSharedEntryBindings
3189
+ },
3190
+ chunk[0].key
3191
+ );
3192
+ }
3193
+ if (isOpen) {
3194
+ return /* @__PURE__ */ jsx(EmptyRow, { label: /* @__PURE__ */ jsx("div", { className: b$8("no-objects"), children: i18n$7("no_objects") }) });
3195
+ }
3196
+ return null;
3197
+ };
3198
+ const getActionBtn = () => {
3199
+ const buttonSize = DL.IS_MOBILE ? MOBILE_SIZE.BUTTON : void 0;
3200
+ if (isErrorMessage) {
3201
+ return /* @__PURE__ */ jsx(
3202
+ Button,
3203
+ {
3204
+ onClick: retryLoadEntries,
3205
+ size: buttonSize,
3206
+ className: b$8("retry-btn"),
3207
+ view: "outlined",
3208
+ children: i18n$7("action_retry")
3209
+ }
3210
+ );
3211
+ }
3212
+ if (isShowMoreBtn && isOpen) {
3213
+ return /* @__PURE__ */ jsx(
3214
+ Button,
3215
+ {
3216
+ onClick: loadMoreEntries,
3217
+ size: buttonSize,
3218
+ className: b$8("show-more-btn"),
3219
+ view: "outlined",
3220
+ children: i18n$7("action_show-more")
3221
+ }
3222
+ );
3223
+ }
3224
+ return null;
3225
+ };
3226
+ const showCreateButton = workbook.permissions.update && !DL.IS_MOBILE && hasCreateButton;
3227
+ if (!isLoading && DL.IS_MOBILE && chunk.length === 0) {
3228
+ return null;
3229
+ }
3230
+ const renderCreateButton = () => {
3231
+ if (showCreateButton) {
3232
+ return /* @__PURE__ */ jsx("div", { className: b$8("content"), children: /* @__PURE__ */ jsx("div", { className: b$8("create-btn"), children: createEntryBtn ?? /* @__PURE__ */ jsxs(Button, { onClick: handleCreateEntity, children: [
3233
+ /* @__PURE__ */ jsx(Icon, { data: Plus }),
3234
+ actionCreateText
3235
+ ] }) }) });
3236
+ }
3237
+ return null;
3238
+ };
3239
+ return /* @__PURE__ */ jsxs("div", { className: b$8({ mobile: DL.IS_MOBILE }), children: [
3240
+ !clearView && /* @__PURE__ */ jsxs("div", { className: b$8("header", { closed: !isOpen }), children: [
3241
+ /* @__PURE__ */ jsx("div", { className: b$8("content"), children: /* @__PURE__ */ jsxs("div", { className: b$8("title"), onClick: () => setIsOpen(!isOpen), children: [
3242
+ isOpen ? /* @__PURE__ */ jsx(ChevronDown, {}) : /* @__PURE__ */ jsx(ChevronUp, {}),
3243
+ /* @__PURE__ */ jsx("div", { className: b$8("title-text"), children: title })
3244
+ ] }) }),
3245
+ renderCreateButton()
3246
+ ] }),
3247
+ /* @__PURE__ */ jsxs("div", { className: b$8("table"), children: [
3248
+ /* @__PURE__ */ jsxs("div", { className: b$8("table-header"), children: [
3249
+ /* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { title: true }) }),
3250
+ !DL.IS_MOBILE && /* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { author: true }) }),
3251
+ /* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { date: true }) }),
3252
+ !DL.IS_MOBILE && /* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { controls: true }) })
3253
+ ] }),
3254
+ !isLoading && getContentTab()
3255
+ ] }),
3256
+ isLoading ? /* @__PURE__ */ jsx(SmartLoader, { size: "m", showAfter: 0 }) : getActionBtn()
3257
+ ] });
3258
+ };
3259
+ const i18n$6 = I18n.keyset("new-workbooks");
3260
+ const b$7 = block("dl-workbook-entries-table");
3261
+ const WorkbookEntriesTableTabs = ({
3262
+ workbook,
3263
+ retryLoadEntries,
3264
+ loadMoreEntries,
3265
+ scope,
3266
+ mapTokens,
3267
+ mapErrors,
3268
+ mapLoaders,
3269
+ chunks,
3270
+ onRenameEntry,
3271
+ onDeleteEntry,
3272
+ onDuplicateEntry,
3273
+ onCopyEntry,
3274
+ onShowRelated,
3275
+ onCopyId
3276
+ }) => {
3277
+ const capabilities2 = useCapabilities();
3278
+ if (scope) {
3279
+ return null;
3280
+ }
3281
+ const [dashChunk = [], widgetChunk = [], datasetChunk = [], connChunk = []] = chunks ?? [];
3282
+ const isWidgetEmpty = widgetChunk.length === 0;
3283
+ const isDashEmpty = dashChunk.length === 0;
3284
+ const clearViewDash = DL.IS_MOBILE && isWidgetEmpty;
3285
+ const clearViewWidget = DL.IS_MOBILE && isDashEmpty;
3286
+ const showDataEntities = workbook.permissions.view && !DL.IS_MOBILE;
3287
+ if (DL.IS_MOBILE && isWidgetEmpty && isDashEmpty) {
3288
+ return /* @__PURE__ */ jsx(PlaceholderIllustration, { name: "template", title: i18n$6("label_empty-mobile-workbook") });
3289
+ }
3290
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
3291
+ /* @__PURE__ */ jsx(
3292
+ MainTabContent,
3293
+ {
3294
+ chunk: dashChunk,
3295
+ actionCreateText: i18n$6("action_create-dashboard"),
3296
+ title: i18n$6("title_dashboards"),
3297
+ actionType: CreateEntryActionType.Dashboard,
3298
+ isShowMoreBtn: Boolean(!isDashEmpty && mapTokens?.[EntryScope.Dash]),
3299
+ loadMoreEntries: () => loadMoreEntries?.(EntryScope.Dash),
3300
+ retryLoadEntries: () => retryLoadEntries?.(EntryScope.Dash),
3301
+ isErrorMessage: mapErrors?.[EntryScope.Dash],
3302
+ isLoading: mapLoaders?.[EntryScope.Dash],
3303
+ workbook,
3304
+ onRenameEntry,
3305
+ onDeleteEntry,
3306
+ onDuplicateEntry,
3307
+ onCopyEntry,
3308
+ clearView: clearViewDash,
3309
+ onShowRelatedClick: onShowRelated,
3310
+ onCopyId
3311
+ }
3312
+ ),
3313
+ /* @__PURE__ */ jsx(
3314
+ MainTabContent,
3315
+ {
3316
+ chunk: widgetChunk,
3317
+ actionCreateText: i18n$6("action_create-chart"),
3318
+ title: i18n$6("title_charts"),
3319
+ actionType: CreateEntryActionType.Wizard,
3320
+ isShowMoreBtn: Boolean(!isWidgetEmpty && mapTokens?.[EntryScope.Widget]),
3321
+ loadMoreEntries: () => loadMoreEntries?.(EntryScope.Widget),
3322
+ retryLoadEntries: () => retryLoadEntries?.(EntryScope.Widget),
3323
+ isErrorMessage: mapErrors?.[EntryScope.Widget],
3324
+ isLoading: mapLoaders?.[EntryScope.Widget],
3325
+ workbook,
3326
+ onRenameEntry,
3327
+ onDeleteEntry,
3328
+ onDuplicateEntry,
3329
+ onCopyEntry,
3330
+ createEntryBtn: /* @__PURE__ */ jsx(CreateEntry, { className: b$7("controls"), scope: EntryScope.Widget }),
3331
+ clearView: clearViewWidget,
3332
+ onShowRelatedClick: onShowRelated,
3333
+ onCopyId
3334
+ }
3335
+ ),
3336
+ showDataEntities && /* @__PURE__ */ jsx(
3337
+ MainTabContent,
3338
+ {
3339
+ chunk: datasetChunk,
3340
+ actionCreateText: i18n$6("action_create-dataset"),
3341
+ title: i18n$6("title_datasets"),
3342
+ actionType: CreateEntryActionType.Dataset,
3343
+ isShowMoreBtn: Boolean(
3344
+ datasetChunk?.length > 0 && mapTokens?.[EntryScope.Dataset]
3345
+ ),
3346
+ loadMoreEntries: () => loadMoreEntries?.(EntryScope.Dataset),
3347
+ retryLoadEntries: () => retryLoadEntries?.(EntryScope.Dataset),
3348
+ isErrorMessage: mapErrors?.[EntryScope.Dataset],
3349
+ isLoading: mapLoaders?.[EntryScope.Dataset],
3350
+ workbook,
3351
+ onRenameEntry,
3352
+ onDeleteEntry,
3353
+ onDuplicateEntry,
3354
+ onCopyEntry,
3355
+ onShowRelatedClick: onShowRelated,
3356
+ onCopyId
3357
+ }
3358
+ ),
3359
+ showDataEntities && capabilities2[Capability.ManageableConnections] && /* @__PURE__ */ jsx(
3360
+ MainTabContent,
3361
+ {
3362
+ chunk: connChunk,
3363
+ actionCreateText: i18n$6("action_create-connection"),
3364
+ title: i18n$6("title_connections"),
3365
+ actionType: CreateEntryActionType.Connection,
3366
+ isShowMoreBtn: Boolean(
3367
+ connChunk?.length > 0 && mapTokens?.[EntryScope.Connection]
3368
+ ),
3369
+ loadMoreEntries: () => loadMoreEntries?.(EntryScope.Connection),
3370
+ retryLoadEntries: () => retryLoadEntries?.(EntryScope.Connection),
3371
+ isErrorMessage: mapErrors?.[EntryScope.Connection],
3372
+ isLoading: mapLoaders?.[EntryScope.Connection],
3373
+ workbook,
3374
+ onRenameEntry,
3375
+ onDeleteEntry,
3376
+ onDuplicateEntry,
3377
+ onCopyEntry,
3378
+ onShowRelatedClick: onShowRelated,
3379
+ onCopyId
3380
+ }
3381
+ )
3382
+ ] });
3383
+ };
3384
+ const getAllEntryScopes = () => {
3385
+ return Object.values(EntryScope);
3386
+ };
3387
+ const bEditPanelItem = block("edit-panel-item");
3388
+ const DASHKIT_BASIC_ACTION_PANEL_ITEM = {
3389
+ [DashTabItemType.GroupControl]: {
3390
+ id: "group-selector",
3391
+ icon: /* @__PURE__ */ jsx(Icon, { data: Sliders }),
3392
+ get title() {
3393
+ return i18n$c("dash.main.view", "button_edit-panel-selector");
3394
+ },
3395
+ className: bEditPanelItem(),
3396
+ qa: DashboardAddWidgetQa.AddGroupControl,
3397
+ dragProps: {
3398
+ type: DashTabItemType.GroupControl
3399
+ }
3400
+ },
3401
+ [DashTabItemType.Image]: {
3402
+ id: DashTabItemType.Image,
3403
+ icon: /* @__PURE__ */ jsx(Icon, { data: Picture }),
3404
+ get title() {
3405
+ return i18n$c("dash.main.view", "button_edit-panel-image");
3406
+ },
3407
+ className: bEditPanelItem(),
3408
+ qa: DashboardAddWidgetQa.AddImage,
3409
+ dragProps: {
3410
+ type: DashTabItemType.Image
3411
+ }
3412
+ },
3413
+ [DashTabItemType.Text]: {
3414
+ id: "text",
3415
+ icon: /* @__PURE__ */ jsx(Icon, { data: TextAlignLeft }),
3416
+ get title() {
3417
+ return i18n$c("dash.main.view", "button_edit-panel-text");
3418
+ },
3419
+ className: bEditPanelItem(),
3420
+ qa: DashboardAddWidgetQa.AddText,
3421
+ dragProps: {
3422
+ type: DashTabItemType.Text
3423
+ }
3424
+ },
3425
+ [DashTabItemType.Title]: {
3426
+ id: "header",
3427
+ icon: /* @__PURE__ */ jsx(Icon, { data: Heading }),
3428
+ get title() {
3429
+ return i18n$c("dash.main.view", "button_edit-panel-title");
3430
+ },
3431
+ className: bEditPanelItem(),
3432
+ qa: DashboardAddWidgetQa.AddTitle,
3433
+ dragProps: {
3434
+ type: DashTabItemType.Title
3435
+ }
3436
+ },
3437
+ [DashTabItemType.Widget]: {
3438
+ id: "chart",
3439
+ icon: /* @__PURE__ */ jsx(Icon, { data: ChartColumn }),
3440
+ get title() {
3441
+ return i18n$c("dash.main.view", "button_edit-panel-chart");
3442
+ },
3443
+ className: bEditPanelItem(),
3444
+ qa: DashboardAddWidgetQa.AddWidget,
3445
+ dragProps: {
3446
+ type: DashTabItemType.Widget
3447
+ }
3448
+ }
3449
+ };
3450
+ const getBasicActionPanelItems = () => {
3451
+ return [
3452
+ DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.Widget],
3453
+ DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.GroupControl],
3454
+ DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.Text],
3455
+ DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.Title]
3456
+ ];
3457
+ };
3458
+ function getCurrentUserRights() {
3459
+ if (!DL.AUTH_ENABLED) {
3460
+ return {
3461
+ admin: true
3462
+ };
3463
+ }
3464
+ return {
3465
+ admin: Boolean(DL.IS_NATIVE_AUTH_ADMIN)
3466
+ };
3467
+ }
3468
+ const i18n$5 = I18n.keyset("component.revisions-panel.view");
3469
+ const ENTRY_SCOPE_TEXTS = {
3470
+ connection: {
3471
+ scopeText: i18n$5("label_connection"),
3472
+ panelText: i18n$5("label_of-connection")
3473
+ },
3474
+ dataset: {
3475
+ scopeText: i18n$5("label_dataset"),
3476
+ panelText: i18n$5("label_of-dataset")
3477
+ },
3478
+ dash: {
3479
+ scopeText: i18n$5("label_dash"),
3480
+ panelText: i18n$5("label_of-dash")
3481
+ },
3482
+ widget: {
3483
+ scopeText: i18n$5("label_chart"),
3484
+ panelText: i18n$5("label_of-chart")
3485
+ },
3486
+ editor: {
3487
+ scopeText: i18n$5("label_editor"),
3488
+ panelText: i18n$5("label_of-editor")
3489
+ }
3490
+ };
3491
+ const getRevisionsPanelEntryScopesTexts = () => ENTRY_SCOPE_TEXTS;
3492
+ const getScopeTypeIcon = (scope) => {
3493
+ switch (scope) {
3494
+ case EntryScope.Folder:
3495
+ return "folder";
3496
+ case EntryScope.Widget:
3497
+ case "chart":
3498
+ return "chart-wizard";
3499
+ case EntryScope.Dataset:
3500
+ return "dataset";
3501
+ case EntryScope.Dash:
3502
+ case "dashboard":
3503
+ return "dashboard";
3504
+ case "monitoring":
3505
+ return "editor";
3506
+ case "broken":
3507
+ return "broken";
3508
+ default:
3509
+ return null;
3510
+ }
3511
+ };
3512
+ const getTopLevelEntryScopes = () => {
3513
+ return [EntryScope.Dash];
3514
+ };
3515
+ const migrateItemDataOnPaste = ({
3516
+ itemData
3517
+ }) => {
3518
+ const migratedItemData = {
3519
+ ...itemData,
3520
+ data: update(itemData.data, { $unset: ["id"] })
3521
+ };
3522
+ if (itemData.type === ITEM_TYPE.WIDGET) {
3523
+ migratedItemData.data.tabs = itemData.data.tabs && itemData.data.tabs.map((tab) => {
3524
+ return update(tab, {
3525
+ $unset: ["id"]
3526
+ });
3527
+ });
3528
+ }
3529
+ if (itemData.type === ITEM_TYPE.GROUP_CONTROL) {
3530
+ migratedItemData.data.group = itemData.data.group?.map((item) => {
3531
+ return update(item, { $unset: ["id"] });
3532
+ });
3533
+ }
3534
+ return migratedItemData;
3535
+ };
3536
+ const registerCommonPlugins = () => {
3537
+ registry.common.components.registerMany({
3538
+ MobileHeaderComponent,
3539
+ PlaceholderIllustrationImage: Illustration,
3540
+ UserAvatarById,
3541
+ EntryBreadcrumbs,
3542
+ YfmWrapperContent,
3543
+ DatepickerControl,
3544
+ MarkdownControl,
3545
+ WorkbookEntriesTableTabs,
3546
+ DialogEntryDescription
3547
+ });
3548
+ registry.common.functions.register({
3549
+ [EXAMPLE_FUNCTION]: exampleFunction,
3550
+ getEntryMenuConfig,
3551
+ getMenuGroupConfig,
3552
+ getIconDataById,
3553
+ getIllustrationStore,
3554
+ getIsCompact,
3555
+ updateIsCompact,
3556
+ getPlaceSelectParameters,
3557
+ getLoginById,
3558
+ getEntryName,
3559
+ getInitDestination,
3560
+ getNavigationQuickItems: getQuickItems,
3561
+ getNavigationCreatableEntriesConfig: getCreatableEntriesConfig,
3562
+ getNavigationPlacesConfig: getPlacesConfig,
3563
+ setEntryKey,
3564
+ getUpdatedUserSettings,
3565
+ getUIEntryRoute,
3566
+ getFormatNumber: formatNumber,
3567
+ getAdditionalEntryDialoguesMap,
3568
+ getAdditionalEntryContextMenuItems,
3569
+ isEntryId,
3570
+ extractEntryId,
3571
+ getAdditionalMarkdownPlugins: async () => [],
3572
+ fetchRenderedMarkdown,
3573
+ fetchBatchRenderedMarkdown,
3574
+ fetchDistinctsByApi,
3575
+ requestCollectDashStats,
3576
+ requestCollectChartkitStats,
3577
+ migrateItemDataOnPaste,
3578
+ checkCreateEntryButtonVisibility: () => true,
3579
+ getBasicActionPanelItems,
3580
+ getListMembersFilter: () => null,
3581
+ getAllEntryScopes,
3582
+ getTopLevelEntryScopes,
3583
+ getScopeTypeIcon,
3584
+ getEntryScopesWithRevisionsList,
3585
+ getRevisionsPanelEntryScopesTexts,
3586
+ getRestrictedParamNames,
3587
+ getAdditionalChartkitErrorContent,
3588
+ getCurrentUserRights,
3589
+ getNotAuthenticatedErrorContentTypes: () => [],
3590
+ getHeaderWithoutHelpCenterErrorContentTypes: () => [],
3591
+ getHeaderWithoutNavigationErrorContentTypes: () => [],
3592
+ getImageNameFromErrorContentType: () => null
3593
+ });
3594
+ if (DL.AUTH_ENABLED) {
3595
+ registry.common.functions.register({ resolveUsersByIds });
3596
+ }
3597
+ };
3598
+ const i18n$4 = I18n.keyset("connections.form");
3599
+ const CACHE_TTL_MIN = 0;
3600
+ const CACHE_TTL_MAX = 24 * 60 * 60;
3601
+ const CACHE_TTL_MODE = {
3602
+ DEFAULT: "default",
3603
+ CUSTOMIZABLE: "customizable"
3604
+ };
3605
+ const getInitialCacheTtlMode = (value) => {
3606
+ return value ? CACHE_TTL_MODE.CUSTOMIZABLE : CACHE_TTL_MODE.DEFAULT;
3607
+ };
3608
+ const getPreparedCacheValue = (value) => {
3609
+ if (value === "") {
3610
+ return null;
3611
+ }
3612
+ let result = Number(value);
3613
+ if (result < CACHE_TTL_MIN) {
3614
+ result = CACHE_TTL_MIN;
3615
+ } else if (result > CACHE_TTL_MAX) {
3616
+ result = CACHE_TTL_MAX;
3617
+ }
3618
+ return String(result);
3619
+ };
3620
+ const CacheTtlRowComponent = (props) => {
3621
+ const { actions, form, innerForm, labelText, disabled, name } = props;
3622
+ const value = form[name];
3623
+ const cacheTtlMode = innerForm[InnerFieldKey.CacheTtlMode];
3624
+ const radioButtonBeforeUpdateHandler = (nextCacheTtlMode) => {
3625
+ const nextCacheTtlSec = nextCacheTtlMode === CACHE_TTL_MODE.DEFAULT ? null : "0";
3626
+ actions.changeForm({ [name]: nextCacheTtlSec });
3627
+ };
3628
+ React__default.useEffect(() => {
3629
+ const initialCacheTtlMode = getInitialCacheTtlMode(value);
3630
+ actions.changeInnerForm({ [InnerFieldKey.CacheTtlMode]: initialCacheTtlMode });
3631
+ }, []);
3632
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
3633
+ /* @__PURE__ */ jsx(Label$1, { text: labelText || i18n$4("field_cache-ttl-sec") }),
3634
+ /* @__PURE__ */ jsx(
3635
+ RadioButton,
3636
+ {
3637
+ name: InnerFieldKey.CacheTtlMode,
3638
+ options: [
3639
+ { text: i18n$4("value_default"), value: CACHE_TTL_MODE.DEFAULT },
3640
+ {
3641
+ text: i18n$4("value_customizable-cache-ttl"),
3642
+ value: CACHE_TTL_MODE.CUSTOMIZABLE
3643
+ }
3644
+ ],
3645
+ inner: true,
3646
+ controlProps: { disabled },
3647
+ beforeUpdate: radioButtonBeforeUpdateHandler
3648
+ }
3649
+ ),
3650
+ cacheTtlMode === CACHE_TTL_MODE.CUSTOMIZABLE && /* @__PURE__ */ jsx(
3651
+ Input,
3652
+ {
3653
+ name,
3654
+ width: "s",
3655
+ controlProps: {
3656
+ disabled,
3657
+ type: "number",
3658
+ controlProps: { min: CACHE_TTL_MIN, max: CACHE_TTL_MAX }
3659
+ },
3660
+ prepareValue: getPreparedCacheValue
3661
+ }
3662
+ )
3663
+ ] });
3664
+ };
3665
+ const mapStateToProps$1 = (state) => {
3666
+ return {
3667
+ form: state.connections.form,
3668
+ innerForm: state.connections.innerForm
3669
+ };
3670
+ };
3671
+ const mapDispatchToProps$2 = (dispatch) => {
3672
+ return {
3673
+ actions: bindActionCreators(
3674
+ {
3675
+ changeForm,
3676
+ changeInnerForm
3677
+ },
3678
+ dispatch
3679
+ )
3680
+ };
3681
+ };
3682
+ const CacheTtlRow = connect(mapStateToProps$1, mapDispatchToProps$2)(CacheTtlRowComponent);
3683
+ const b$6 = block("conn-form-collapse");
3684
+ const COLLAPSE_MODE = {
3685
+ OPENED: "opened",
3686
+ CLOSED: "closed"
3687
+ };
3688
+ const CollapseRowComponent = (props) => {
3689
+ const { actions, innerForm, name, text } = props;
3690
+ const componentProps = get(props, "componentProps", {});
3691
+ const defaultIsExpand = get(componentProps, "defaultIsExpand", false);
3692
+ const clickHandler = React__default.useCallback(() => {
3693
+ const currentMode = innerForm[name] || COLLAPSE_MODE.CLOSED;
3694
+ const nextMode = currentMode === COLLAPSE_MODE.CLOSED ? COLLAPSE_MODE.OPENED : COLLAPSE_MODE.CLOSED;
3695
+ actions.changeInnerForm({ [name]: nextMode });
3696
+ }, [actions, innerForm, name]);
3697
+ React__default.useEffect(() => {
3698
+ const initialMode = defaultIsExpand ? COLLAPSE_MODE.OPENED : COLLAPSE_MODE.CLOSED;
3699
+ actions.changeInnerForm({ [name]: initialMode });
3700
+ }, []);
3701
+ return /* @__PURE__ */ jsx("div", { className: b$6(), onClick: clickHandler, children: /* @__PURE__ */ jsx(Collapse, { ...componentProps, className: b$6("component"), title: text, children: /* @__PURE__ */ jsx("div", {}) }) });
3702
+ };
3703
+ const mapStateToProps = (state) => {
3704
+ return {
3705
+ innerForm: state.connections.innerForm
3706
+ };
3707
+ };
3708
+ const mapDispatchToProps$1 = (dispatch) => {
3709
+ return {
3710
+ actions: bindActionCreators(
3711
+ {
3712
+ changeInnerForm
3713
+ },
3714
+ dispatch
3715
+ )
3716
+ };
3717
+ };
3718
+ const CollapseRow = connect(mapStateToProps, mapDispatchToProps$1)(CollapseRowComponent);
3719
+ const b$5 = block("conn-form-raw-sql-level");
3720
+ function RawSQLLevelRow(props) {
3721
+ const { name, label, switchOffValue, radioGroup, disabled } = props;
3722
+ const dispatch = useDispatch();
3723
+ const form = useSelector(formSelector);
3724
+ const value = form[name] || "";
3725
+ const switchChecked = Boolean(value && value !== switchOffValue);
3726
+ const handleSwitchUpdate = (checked) => {
3727
+ const nextValue = checked && radioGroup?.options[0]?.value ? radioGroup.options[0].value : switchOffValue;
3728
+ dispatch(changeForm({ [name]: nextValue }));
3729
+ };
3730
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
3731
+ /* @__PURE__ */ jsx(Label$1, { ...label }),
3732
+ /* @__PURE__ */ jsxs("div", { className: b$5("control"), children: [
3733
+ /* @__PURE__ */ jsx(Switch$1, { checked: switchChecked, onUpdate: handleSwitchUpdate, disabled }),
3734
+ switchChecked && /* @__PURE__ */ jsx(
3735
+ RadioGroup,
3736
+ {
3737
+ name,
3738
+ options: radioGroup?.options,
3739
+ controlProps: {
3740
+ ...radioGroup?.controlProps,
3741
+ disabled: disabled || radioGroup?.controlProps?.disabled
3742
+ }
3743
+ }
3744
+ )
3745
+ ] })
3746
+ ] });
3747
+ }
3748
+ const PreparedRowItem = (props) => {
3749
+ switch (props.type) {
3750
+ case "cache_ttl_sec": {
3751
+ const { type: _type, ...rowProps } = props;
3752
+ return /* @__PURE__ */ jsx(CacheTtlRow, { ...rowProps });
3753
+ }
3754
+ case "collapse": {
3755
+ const { type: _type, ...rowProps } = props;
3756
+ return /* @__PURE__ */ jsx(CollapseRow, { ...rowProps });
3757
+ }
3758
+ case "raw_sql_level": {
3759
+ const { type: _type, ...rowProps } = props;
3760
+ return /* @__PURE__ */ jsx(RawSQLLevelRow, { ...rowProps });
3761
+ }
3762
+ default: {
3763
+ logger$1.logError(`FormItem (conn): unknown row type "${props.type}"`);
3764
+ return null;
3765
+ }
3766
+ }
3767
+ };
3768
+ const listItemRender = ({ data, components }) => {
3769
+ const { ListItemWrapper, ListItemLink, ListItemTitle, ListItemIcon } = components;
3770
+ const { to, iconData, title } = data;
3771
+ return /* @__PURE__ */ jsx(ListItemWrapper, { children: /* @__PURE__ */ jsxs(ListItemLink, { to, children: [
3772
+ /* @__PURE__ */ jsx(ListItemIcon, { iconData }),
3773
+ /* @__PURE__ */ jsx(ListItemTitle, { title })
3774
+ ] }) });
3775
+ };
3776
+ const registerConnectionsPlugins = () => {
3777
+ registry.connections.components.registerMany({
3778
+ CreateEditorChartButton: () => null,
3779
+ PreparedRowItem
3780
+ });
3781
+ registry.connections.functions.register({
3782
+ getFakeEntry,
3783
+ getNewConnectionDestination,
3784
+ beforeConnectorFormUnmount: noop,
3785
+ getConnectionItemRender: listItemRender,
3786
+ getIsShowCreateConnectionButton
3787
+ });
3788
+ };
3789
+ const getMinAutoupdateInterval = () => {
3790
+ return 30;
3791
+ };
3792
+ const LazyBody = React__default.lazy(() => import("./Body.js"));
3793
+ const registerDashPlugins = () => {
3794
+ registry.dash.components.registerMany({
3795
+ DashBody: LazyBody,
3796
+ DialogTextWidget
3797
+ });
3798
+ registry.dash.functions.register({
3799
+ [EXAMPLE_FUNCTION]: exampleFunction,
3800
+ getCaptionText,
3801
+ getNewDashUrl: getNewDashUrl$1,
3802
+ getDashEntryUrl,
3803
+ getMinAutoupdateInterval,
3804
+ getExtendedItemData
3805
+ });
3806
+ };
3807
+ const b$4 = block("rls-dialog");
3808
+ const i18n$3 = I18n.keyset("dataset.rls.modify");
3809
+ const _RLSDialog = class _RLSDialog extends React__default.Component {
3810
+ constructor() {
3811
+ super(...arguments);
3812
+ this.state = {
3813
+ visible: false,
3814
+ rlsField: ""
3815
+ };
3816
+ this.saveRls = () => {
3817
+ const { field, onSave, onClose } = this.props;
3818
+ const { rlsField } = this.state;
3819
+ if (field) {
3820
+ const { guid } = field;
3821
+ onSave({
3822
+ [guid]: rlsField
3823
+ });
3824
+ onClose();
3825
+ }
3826
+ };
3827
+ this.changeRlsSettings = (rlsField) => {
3828
+ this.setState({ rlsField });
3829
+ };
3830
+ }
3831
+ static getDerivedStateFromProps(nextProps, nextState) {
3832
+ const { rlsField, visible } = nextProps;
3833
+ const { visible: visibleState } = nextState;
3834
+ if (visible === visibleState) {
3835
+ return null;
3836
+ }
3837
+ return {
3838
+ rlsField,
3839
+ visible
3840
+ };
3841
+ }
3842
+ render() {
3843
+ const { visible, onClose, field } = this.props;
3844
+ const { rlsField } = this.state;
3845
+ if (!field) {
3846
+ return null;
3847
+ }
3848
+ const { title } = field;
3849
+ return /* @__PURE__ */ jsxs(Dialog, { open: visible, onClose, children: [
3850
+ /* @__PURE__ */ jsx(Dialog.Header, { caption: i18n$3("label_row-level-security") }),
3851
+ /* @__PURE__ */ jsxs(Dialog.Body, { className: b$4(), children: [
3852
+ /* @__PURE__ */ jsx("div", { className: b$4("field-name"), children: /* @__PURE__ */ jsx("span", { children: title }) }),
3853
+ /* @__PURE__ */ jsx(
3854
+ TextArea,
3855
+ {
3856
+ rows: 5,
3857
+ placeholder: i18n$3("field_placeholder-row-level-security"),
3858
+ value: rlsField,
3859
+ autoFocus: true,
3860
+ onUpdate: this.changeRlsSettings
3861
+ }
3862
+ )
3863
+ ] }),
3864
+ /* @__PURE__ */ jsx(
3865
+ Dialog.Footer,
3866
+ {
3867
+ preset: "default",
3868
+ onClickButtonCancel: onClose,
3869
+ onClickButtonApply: this.saveRls,
3870
+ textButtonCancel: i18n$3("button_cancel"),
3871
+ textButtonApply: i18n$3("button_save"),
3872
+ propsButtonApply: {
3873
+ disabled: this.isSaveBtnDisabled
3874
+ }
3875
+ }
3876
+ )
3877
+ ] });
3878
+ }
3879
+ get isSaveBtnDisabled() {
3880
+ const { rlsField } = this.props;
3881
+ const { rlsField: rlsFieldState } = this.state;
3882
+ return rlsField === rlsFieldState;
3883
+ }
3884
+ };
3885
+ _RLSDialog.defaultProps = {
3886
+ visible: false
3887
+ };
3888
+ let RLSDialog = _RLSDialog;
3889
+ const renderRLSDialog = (props) => {
3890
+ return /* @__PURE__ */ jsx(RLSDialog, { ...props });
3891
+ };
3892
+ const registerDatasetPlugins = () => {
3893
+ registry.datasets.functions.register({
3894
+ renderRLSDialog
3895
+ });
3896
+ };
3897
+ const registerDocsPlugins = () => {
3898
+ registry.docs.functions.register({ getFieldEditorDocPath });
3899
+ };
3900
+ const registerMainPlugins = () => {
3901
+ registry.main.components.registerMany({});
3902
+ };
3903
+ const b$3 = block("ql-view-setup");
3904
+ class ViewSetupComponent extends React__default.PureComponent {
3905
+ constructor(props) {
3906
+ super(props);
3907
+ this.defaultMonitoringQLConnection = null;
3908
+ this.onChartTypeUpdate = (newChartType) => {
3909
+ this.setState({
3910
+ chartType: newChartType
3911
+ });
3912
+ if (newChartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring)) {
3913
+ if (this.defaultMonitoringQLConnection === null) {
3914
+ const getDefaultMonitoringQLConnectionId = registry.ql.functions.get(
3915
+ "getDefaultMonitoringQLConnectionId"
3916
+ );
3917
+ const defaultMonitoringQLConnectionId = getDefaultMonitoringQLConnectionId(DL.ENV);
3918
+ this.fetchConnection(defaultMonitoringQLConnectionId).then(
3919
+ (connection) => {
3920
+ if (connection) {
3921
+ this.defaultMonitoringQLConnection = connection;
3922
+ this.setState({
3923
+ connection,
3924
+ showConnectionError: false
3925
+ });
3926
+ }
3927
+ }
3928
+ );
3929
+ } else {
3930
+ this.setState({
3931
+ connection: this.defaultMonitoringQLConnection,
3932
+ showConnectionError: false
3933
+ });
3934
+ }
3935
+ } else {
3936
+ this.setState({
3937
+ connection: null,
3938
+ showConnectionError: false
3939
+ });
3940
+ }
3941
+ };
3942
+ this.onCreateClick = () => {
3943
+ const { connection, chartType } = this.state;
3944
+ if (!connection || !chartType) {
3945
+ this.setState({
3946
+ showConnectionError: true
3947
+ });
3948
+ } else {
3949
+ this.props.performManualConfiguration({ connection, chartType });
3950
+ }
3951
+ };
3952
+ this.toggleNavigation = (value) => {
3953
+ const isNavigationVisible = value || !this.state.isNavigationVisible;
3954
+ this.setState({
3955
+ isNavigationVisible
3956
+ });
3957
+ };
3958
+ this.onNavigationEntryClick = async (newConnection) => {
3959
+ const connection = {
3960
+ ...newConnection,
3961
+ data: null,
3962
+ public: false,
3963
+ revId: "",
3964
+ tenantId: "",
3965
+ unversionedData: null
3966
+ };
3967
+ this.toggleNavigation(false);
3968
+ this.setState({
3969
+ connection
3970
+ });
3971
+ };
3972
+ this.onNavigationClose = () => {
3973
+ const { isNavigationVisible } = this.state;
3974
+ if (isNavigationVisible) {
3975
+ this.toggleNavigation(false);
3976
+ }
3977
+ };
3978
+ this.navigationButtonRef = React__default.createRef();
3979
+ let initialChartType = QLChartType.Sql;
3980
+ const urlChartType = location.href.match(/\/new\/([^?]+)(\?.+)?/);
3981
+ if (urlChartType) {
3982
+ initialChartType = decodeURIComponent(urlChartType[1]);
3983
+ }
3984
+ if (![QLChartType.Sql, QLChartType.Promql, QLChartType.Monitoringql].includes(
3985
+ initialChartType
3986
+ )) {
3987
+ initialChartType = QLChartType.Sql;
3988
+ }
3989
+ if (initialChartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring)) {
3990
+ const getDefaultMonitoringQLConnectionId = registry.ql.functions.get(
3991
+ "getDefaultMonitoringQLConnectionId"
3992
+ );
3993
+ const defaultMonitoringQLConnectionId = getDefaultMonitoringQLConnectionId(DL.ENV);
3994
+ this.fetchConnection(defaultMonitoringQLConnectionId).then(
3995
+ (connection) => {
3996
+ if (connection) {
3997
+ this.defaultMonitoringQLConnection = connection;
3998
+ this.setState({
3999
+ connection,
4000
+ showConnectionError: false
4001
+ });
4002
+ }
4003
+ }
4004
+ );
4005
+ }
4006
+ this.state = {
4007
+ isNavigationVisible: false,
4008
+ title: "",
4009
+ chartType: initialChartType,
4010
+ connection: null,
4011
+ showConnectionError: false
4012
+ };
4013
+ }
4014
+ render() {
4015
+ const { defaultPath, entry } = this.props;
4016
+ const { chartType, connection, showConnectionError } = this.state;
4017
+ const workbookId = entry?.workbookId || null;
4018
+ const chartTypesList = [{ value: QLChartType.Sql, text: "SQL", key: "SQL" }];
4019
+ if (isEnabledFeature(Feature.QLPrometheus)) {
4020
+ chartTypesList.push({ value: QLChartType.Promql, text: "Prometheus", key: "Prometheus" });
4021
+ }
4022
+ if (isEnabledFeature(Feature.QLMonitoring)) {
4023
+ chartTypesList.push({
4024
+ value: QLChartType.Monitoringql,
4025
+ text: "Monitoring",
4026
+ key: "Monitoring"
4027
+ });
4028
+ }
4029
+ const { getPlaceSelectParameters: getPlaceSelectParameters2 } = registry.common.functions.getAll();
4030
+ const { getConnectionsByChartType: getConnectionsByChartType2 } = registry.ql.functions.getAll();
4031
+ return /* @__PURE__ */ jsx("div", { className: b$3(), children: /* @__PURE__ */ jsxs("div", { className: b$3("form"), children: [
4032
+ /* @__PURE__ */ jsx("span", { className: b$3("form-header"), children: i18n$c("sql", "label_create-ql-chart") }),
4033
+ /* @__PURE__ */ jsxs("div", { className: b$3("form-row"), children: [
4034
+ /* @__PURE__ */ jsx("span", { className: b$3("form-label"), children: i18n$c("sql", "label_chart-type") }),
4035
+ /* @__PURE__ */ jsx(
4036
+ SegmentedRadioGroup,
4037
+ {
4038
+ value: chartType,
4039
+ onUpdate: this.onChartTypeUpdate,
4040
+ className: b$3("chart-type-select"),
4041
+ children: chartTypesList.map((chartTypeConfig) => {
4042
+ return /* @__PURE__ */ jsx(
4043
+ SegmentedRadioGroup.Option,
4044
+ {
4045
+ value: chartTypeConfig.value,
4046
+ children: /* @__PURE__ */ jsx("span", { children: chartTypeConfig.text })
4047
+ },
4048
+ chartTypeConfig.key
4049
+ );
4050
+ })
4051
+ }
4052
+ )
4053
+ ] }),
4054
+ /* @__PURE__ */ jsxs("div", { className: b$3("form-row"), ref: this.navigationButtonRef, children: [
4055
+ /* @__PURE__ */ jsx("span", { className: b$3("form-label"), children: i18n$c("sql", "label_connection") }),
4056
+ connection ? /* @__PURE__ */ jsx("div", { className: b$3("connection-select-btn-wrapper"), children: /* @__PURE__ */ jsx(
4057
+ Button,
4058
+ {
4059
+ className: b$3("connection-select-btn"),
4060
+ width: "auto",
4061
+ onClick: () => {
4062
+ this.toggleNavigation();
4063
+ },
4064
+ disabled: chartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring),
4065
+ children: /* @__PURE__ */ jsxs("div", { className: b$3("connection-select-btn-content"), children: [
4066
+ /* @__PURE__ */ jsx(
4067
+ EntryIcon,
4068
+ {
4069
+ entry: connection,
4070
+ size: 24,
4071
+ className: b$3("entry-icon")
4072
+ }
4073
+ ),
4074
+ connection.name
4075
+ ] })
4076
+ }
4077
+ ) }) : /* @__PURE__ */ jsx(
4078
+ FieldWrapper,
4079
+ {
4080
+ error: showConnectionError ? i18n$c("sql", "error_select-connection") : void 0,
4081
+ className: b$3("connection-select-btn-wrapper", { error: true }),
4082
+ children: /* @__PURE__ */ jsx(
4083
+ Button,
4084
+ {
4085
+ onClick: () => {
4086
+ this.toggleNavigation();
4087
+ },
4088
+ disabled: chartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring),
4089
+ qa: ViewSetupQA.SelectConnection,
4090
+ className: b$3("connection-select-btn"),
4091
+ children: i18n$c("sql", "label_select-connection")
4092
+ }
4093
+ )
4094
+ }
4095
+ ),
4096
+ workbookId ? /* @__PURE__ */ jsx(
4097
+ WorkbookNavigationMinimal,
4098
+ {
4099
+ anchor: this.navigationButtonRef,
4100
+ visible: this.state.isNavigationVisible,
4101
+ onClose: this.onNavigationClose,
4102
+ onEntryClick: this.onNavigationEntryClick,
4103
+ workbookId,
4104
+ scope: EntryScope.Connection,
4105
+ includeClickableType: getConnectionsByChartType2(chartType)
4106
+ }
4107
+ ) : /* @__PURE__ */ jsx(
4108
+ NavigationMinimal_default,
4109
+ {
4110
+ sdk,
4111
+ anchor: this.navigationButtonRef,
4112
+ visible: this.state.isNavigationVisible,
4113
+ onClose: this.onNavigationClose,
4114
+ onEntryClick: this.onNavigationEntryClick,
4115
+ clickableScope: "connection",
4116
+ scope: "connection",
4117
+ startFrom: defaultPath,
4118
+ ignoreWorkbookEntries: true,
4119
+ ignoreSharedEntries: true,
4120
+ placeSelectParameters: getPlaceSelectParameters2([
4121
+ PLACE.ROOT,
4122
+ PLACE.FAVORITES,
4123
+ PLACE.CONNECTIONS
4124
+ ]),
4125
+ includeClickableType: getConnectionsByChartType2(chartType)
4126
+ }
4127
+ )
4128
+ ] }),
4129
+ /* @__PURE__ */ jsx("div", { className: b$3("form-buttons"), children: /* @__PURE__ */ jsx(
4130
+ Button,
4131
+ {
4132
+ className: b$3("create-btn"),
4133
+ view: "action",
4134
+ size: "l",
4135
+ qa: ViewSetupQA.ViewSetupCreate,
4136
+ onClick: this.onCreateClick,
4137
+ children: i18n$c("sql", "label_create")
4138
+ }
4139
+ ) })
4140
+ ] }) });
4141
+ }
4142
+ fetchConnection(connectionId) {
4143
+ return getSdk().sdk.us.getEntry({ entryId: connectionId }).then((loadedConnectionEntry) => {
4144
+ if (!loadedConnectionEntry) {
4145
+ throw new Error(i18n$c("sql", "error_failed-to-load-default-connection"));
4146
+ }
4147
+ const connection = loadedConnectionEntry;
4148
+ connection.name = Utils.getEntryNameFromKey(connection.key);
4149
+ return connection;
4150
+ }).catch((error) => {
4151
+ logger$1.logError("ql: setup failed", error);
4152
+ this.props.setError({
4153
+ error
4154
+ });
4155
+ this.props.setStatus(AppStatus.Failed);
4156
+ });
4157
+ }
4158
+ }
4159
+ const makeMapStateToProps = (state) => {
4160
+ return {
4161
+ defaultPath: getDefaultPath(state),
4162
+ entry: getEntry(state)
4163
+ };
4164
+ };
4165
+ const mapDispatchToProps = {
4166
+ performManualConfiguration,
4167
+ setStatus,
4168
+ setError
4169
+ };
4170
+ const ViewSetupComponentConnected = connect(
4171
+ makeMapStateToProps,
4172
+ mapDispatchToProps
4173
+ )(compose(withRouter)(ViewSetupComponent));
4174
+ const ViewSetup = () => {
4175
+ return /* @__PURE__ */ jsx(ViewSetupComponentConnected, {});
4176
+ };
4177
+ const getConnectionsByChartType = (chartType) => {
4178
+ return AVAILABLE_CONNECTION_TYPES_BY_CHART_TYPE[chartType];
4179
+ };
4180
+ const registerQlPlugins = () => {
4181
+ registry.ql.components.registerMany({
4182
+ QlUnconfiguredChartView: ViewSetup
4183
+ });
4184
+ registry.ql.functions.register({
4185
+ getConnectionsByChartType
4186
+ });
4187
+ };
4188
+ const i18n$2 = I18n.keyset("new-workbooks");
4189
+ const b$2 = block("dl-workbook-create-entry");
4190
+ const ChartQlItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
4191
+ /* @__PURE__ */ jsx(EntityIcon, { type: "chart-ql" }),
4192
+ /* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_ql-chart") })
4193
+ ] });
4194
+ const ChartWizardItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
4195
+ /* @__PURE__ */ jsx(EntityIcon, { type: "chart-wizard" }),
4196
+ /* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_wizard-chart") })
4197
+ ] });
4198
+ const ConnectionItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
4199
+ /* @__PURE__ */ jsx(EntityIcon, { type: "connection" }),
4200
+ /* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_connection") })
4201
+ ] });
4202
+ const DashboardItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
4203
+ /* @__PURE__ */ jsx(EntityIcon, { type: "dashboard" }),
4204
+ /* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_dashboard") })
4205
+ ] });
4206
+ const DatasetItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
4207
+ /* @__PURE__ */ jsx(EntityIcon, { type: "dataset" }),
4208
+ /* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_dataset") })
4209
+ ] });
4210
+ const defineOptions = (options) => ({
4211
+ buttonText: options.text,
4212
+ hasMenu: Number(options.items?.length) > 0,
4213
+ handleClick: options.onClick,
4214
+ items: options.items ?? []
4215
+ });
4216
+ const useCreateEntryOptions = ({
4217
+ scope,
4218
+ handleAction
4219
+ }) => {
4220
+ const defineAction = (type) => () => handleAction(type);
4221
+ if (scope === EntryScope.Dash) {
4222
+ return defineOptions({
4223
+ text: i18n$2("action_create-dashboard"),
4224
+ onClick: defineAction(CreateEntryActionType.Dashboard)
4225
+ });
4226
+ }
4227
+ if (scope === EntryScope.Dataset) {
4228
+ return defineOptions({
4229
+ text: i18n$2("action_create-dataset"),
4230
+ onClick: defineAction(CreateEntryActionType.Dataset)
4231
+ });
4232
+ }
4233
+ if (scope === EntryScope.Connection && capabilities.has(Capability.ManageableConnections)) {
4234
+ return defineOptions({
4235
+ text: i18n$2("action_create-connection"),
4236
+ onClick: defineAction(CreateEntryActionType.Connection)
4237
+ });
4238
+ }
4239
+ if (scope === EntryScope.Widget) {
4240
+ return defineOptions({
4241
+ text: i18n$2("action_create-chart"),
4242
+ items: [
4243
+ { text: /* @__PURE__ */ jsx(ChartWizardItem, {}), action: defineAction(CreateEntryActionType.Wizard) },
4244
+ { text: /* @__PURE__ */ jsx(ChartQlItem, {}), action: defineAction(CreateEntryActionType.QL) }
4245
+ ]
4246
+ });
4247
+ }
4248
+ return defineOptions({
4249
+ text: i18n$2("action_create"),
4250
+ items: [
4251
+ [{ text: /* @__PURE__ */ jsx(DashboardItem, {}), action: defineAction(CreateEntryActionType.Dashboard) }],
4252
+ [
4253
+ { text: /* @__PURE__ */ jsx(ChartWizardItem, {}), action: defineAction(CreateEntryActionType.Wizard) },
4254
+ { text: /* @__PURE__ */ jsx(ChartQlItem, {}), action: defineAction(CreateEntryActionType.QL) }
4255
+ ],
4256
+ [
4257
+ { text: /* @__PURE__ */ jsx(DatasetItem, {}), action: defineAction(CreateEntryActionType.Dataset) },
4258
+ { text: /* @__PURE__ */ jsx(ConnectionItem, {}), action: defineAction(CreateEntryActionType.Connection) }
4259
+ ]
4260
+ ]
4261
+ });
4262
+ };
4263
+ const getWorkbookDashboardEntryUrl = (response) => {
4264
+ return `/${response.data?.entryId}`;
4265
+ };
4266
+ const getNewDashUrl = (workbookId) => {
4267
+ return `/workbooks/${workbookId}/dashboards`;
4268
+ };
4269
+ const i18n$1 = I18n.keyset("new-workbooks.empty-table");
4270
+ function getText(scope) {
4271
+ let title;
4272
+ let description = "";
4273
+ switch (scope) {
4274
+ case EntryScope.Dash: {
4275
+ title = i18n$1("section_empty-scope-dashboard");
4276
+ break;
4277
+ }
4278
+ case EntryScope.Widget: {
4279
+ title = i18n$1("section_empty-scope-widget");
4280
+ break;
4281
+ }
4282
+ case EntryScope.Dataset: {
4283
+ title = i18n$1("section_empty-scope-dataset");
4284
+ break;
4285
+ }
4286
+ case EntryScope.Connection: {
4287
+ title = i18n$1("section_empty-scope-connection");
4288
+ break;
4289
+ }
4290
+ default: {
4291
+ title = i18n$1("section_empty-scope-all");
4292
+ description = i18n$1("label_empty-scope-all-description");
4293
+ }
4294
+ }
4295
+ return { title, description };
4296
+ }
4297
+ const useAdditionalWorkbookEntryActions = () => {
4298
+ return [];
4299
+ };
4300
+ const getWorkbookEntryUrl = (workbookEntry, workbook) => {
4301
+ if (workbookEntry.scope === EntryScope.Widget && !workbook.permissions.view && workbook.permissions.limitedView) {
4302
+ return `/preview/${workbookEntry.entryId}`;
4303
+ }
4304
+ return new URL(navigateHelper_default.redirectUrlSwitcher(workbookEntry), window.location.origin).pathname;
4305
+ };
4306
+ const useAdditionalWorkbookActions = () => {
4307
+ return [];
4308
+ };
4309
+ const i18n = I18n.keyset("new-workbooks.table-filters");
4310
+ const getWorkbookTabs = (workbook) => {
4311
+ const tabs = [
4312
+ { id: TAB_ALL, title: i18n("switch_filter-by-scope-all") },
4313
+ { id: EntryScope.Dash, title: i18n("switch_filter-by-scope-dash") },
4314
+ { id: EntryScope.Widget, title: i18n("switch_filter-by-scope-widget") }
4315
+ ];
4316
+ if (!DL.IS_MOBILE && (!DL.IAM_RESOURCES?.workbook.roles.limitedViewer || workbook.permissions.view)) {
4317
+ tabs.push({ id: EntryScope.Dataset, title: i18n("switch_filter-by-scope-dataset") });
4318
+ if (capabilities.has(Capability.ManageableConnections)) {
4319
+ tabs.push({
4320
+ id: EntryScope.Connection,
4321
+ title: i18n("switch_filter-by-scope-connection")
4322
+ });
4323
+ }
4324
+ }
4325
+ return tabs;
4326
+ };
4327
+ const checkWbCreateEntryButtonVisibility = (workbook) => {
4328
+ return workbook.permissions.update && !DL.IS_MOBILE;
4329
+ };
4330
+ const registerWorkbooksPlugins = () => {
4331
+ registry.workbooks.functions.register({
4332
+ checkWbCreateEntryButtonVisibility,
4333
+ getWorkbookTabs,
4334
+ getWorkbookEntryUrl,
4335
+ getWorkbookDashboardEntryUrl,
4336
+ getNewDashUrl,
4337
+ useAdditionalWorkbookEntryActions,
4338
+ useAdditionalWorkbookActions,
4339
+ useCreateEntryOptions,
4340
+ getWorkbookEmptyStateTexts: getText
4341
+ });
4342
+ };
4343
+ const registerAppPlugins = (options = {}) => {
4344
+ registerChartPlugins();
4345
+ registerConnectionsPlugins();
4346
+ registerCommonPlugins();
4347
+ registerDatasetPlugins();
4348
+ registerDashPlugins();
4349
+ registerQlPlugins();
4350
+ registerWorkbooksPlugins();
4351
+ registerMainPlugins();
4352
+ registerDocsPlugins();
4353
+ registerCollectionsPlugins();
4354
+ registerAuthPlugins();
4355
+ registryLibsPlugins(options.libs);
4356
+ };
4357
+ const b$1 = block(CHARTKIT_ERROR_NODE_CLASSNAME);
4358
+ const logger = logger$1.get(CHARTKIT_LOGGER);
4359
+ function getEndpointForScope(scopeName) {
4360
+ if (scopeName === "dataset") {
4361
+ return DL.ENDPOINTS.dataset;
4362
+ } else if (scopeName === "connection") {
4363
+ return DL.ENDPOINTS.connections;
4364
+ } else {
4365
+ return null;
4366
+ }
4367
+ }
4368
+ const InterpolatedErrorMessage = (props) => {
4369
+ const { text, href } = props;
4370
+ return /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
4371
+ Interpolate,
4372
+ {
4373
+ text,
4374
+ matches: {
4375
+ link(match) {
4376
+ return /* @__PURE__ */ jsx(Link$1, { href, target: "_blank", rel: "noopener noreferrer", children: match });
4377
+ }
4378
+ }
4379
+ }
4380
+ ) });
4381
+ };
4382
+ const ChartKitError = (props) => {
4383
+ const dispatch = useDispatch();
4384
+ const location2 = useLocation();
4385
+ const { error, onAction } = props;
4386
+ React__default.useEffect(() => {
4387
+ logger.logError("ChartKitError", error);
4388
+ }, [error]);
4389
+ const {
4390
+ code,
4391
+ message: title,
4392
+ details = {},
4393
+ debug: { requestId = DL.REQUEST_ID, traceId = null } = {}
4394
+ } = error;
4395
+ const extraParams = error.extra;
4396
+ const { hideDebugInfo, hideRetry, openedMore, actionText, actionData, showErrorMessage } = extraParams;
4397
+ const { noControls } = React__default.useMemo(
4398
+ () => Utils.getOptionsFromSearch(location2.search),
4399
+ [location2]
4400
+ );
4401
+ const more = isEmpty(details) ? null : details;
4402
+ const showMore = more || extraParams.showMore;
4403
+ const showRetry = !hideRetry;
4404
+ const showControls = !noControls && !isEmbeddedEntry() && (showMore || showRetry);
4405
+ let showSourceDetails = true;
4406
+ const expandMore = more && (openedMore || noControls);
4407
+ let detailsString = "";
4408
+ const notEmptyDetails = !isEmpty(details);
4409
+ if (notEmptyDetails) {
4410
+ const values = Object.values(details);
4411
+ if (values.length === 1 && typeof values[0] === "string") {
4412
+ detailsString = values[0];
4413
+ } else {
4414
+ detailsString = JSON.stringify(details, null, 4);
4415
+ }
4416
+ }
4417
+ let iconData = CircleXmark;
4418
+ let detailedTitle = title;
4419
+ const sourceErrorDetails = [];
4420
+ const uniqDetails = _uniqBy(Object.keys(details) || [], (key) => {
4421
+ const source = details[key];
4422
+ const errorCode = source.code || source.status;
4423
+ if (source.details) {
4424
+ return `${errorCode}-${source.details.entry_id}`;
4425
+ }
4426
+ return null;
4427
+ });
4428
+ uniqDetails.forEach((key) => {
4429
+ const source = details[key];
4430
+ if (source.message || source.code) {
4431
+ sourceErrorDetails.push({ message: source.message, code: source.code });
4432
+ }
4433
+ });
4434
+ const iconModes = {
4435
+ "no-data": false
4436
+ };
4437
+ switch (code) {
4438
+ case ERROR_CODE.NO_DATA:
4439
+ iconModes["no-data"] = true;
4440
+ break;
4441
+ case ERROR_CODE.TOO_MANY_LINES:
4442
+ case ERROR_CODE.UI_SANDBOX_EXECUTION_TIMEOUT:
4443
+ case ERROR_CODE.UI_SANDBOX_FN_EXECUTION_TIMEOUT: {
4444
+ iconData = ChartMixed;
4445
+ break;
4446
+ }
4447
+ case ERROR_CODE.DATA_PROVIDER_ERROR:
4448
+ iconData = Database;
4449
+ break;
4450
+ case CHARTS_ERROR_CODE.CONFIG_LOADING_ERROR:
4451
+ if (error?.debug?.code === 403) {
4452
+ iconData = Lock;
4453
+ const entryId = error?.debug?.entryId;
4454
+ if (entryId) {
4455
+ const text = i18n$c("component.chartkit-error.codes", code);
4456
+ const href = `/navigate/${entryId}`;
4457
+ const message = /* @__PURE__ */ jsx(InterpolatedErrorMessage, { text, href });
4458
+ detailedTitle = [message];
4459
+ }
4460
+ }
4461
+ break;
4462
+ case CHARTS_ERROR_CODE.DATA_FETCHING_ERROR: {
4463
+ const errorDetails = [];
4464
+ uniqDetails.forEach((key) => {
4465
+ const source = details[key];
4466
+ const errorCode = source.code || source.status;
4467
+ iconData = Database;
4468
+ if ([
4469
+ ErrorCode.UsAccessDenied,
4470
+ ErrorCode.ReferencedEntryAccessDenied,
4471
+ ErrorCode.WorkbookIsolationInterruptionDenied
4472
+ ].includes(errorCode) && source.details && source.details.scope) {
4473
+ const { scope } = source.details;
4474
+ if (scope === "dataset" || scope === "connection") {
4475
+ const endpoint = getEndpointForScope(scope);
4476
+ const detailKey = `${errorCode}_${scope.toUpperCase()}`;
4477
+ const text = i18n$c("component.chartkit-error.codes", detailKey);
4478
+ const href = `${endpoint}/${source.details.entry_id}`;
4479
+ const message = /* @__PURE__ */ jsx(InterpolatedErrorMessage, { text, href });
4480
+ errorDetails.push(message);
4481
+ }
4482
+ } else if ([
4483
+ ErrorCode.DBError,
4484
+ ErrorCode.DBQueryError,
4485
+ ErrorCode.DBSourceDoesntExist
4486
+ ].includes(errorCode) && source.debug && source.debug.db_message) {
4487
+ errorDetails.push(i18n$c("component.chartkit-error.codes", errorCode));
4488
+ detailsString = source.debug.db_message;
4489
+ } else if (source.status === 409) {
4490
+ errorDetails.push(i18n$c("common.errors", "label_error-outdated-message"));
4491
+ iconData = CircleXmark;
4492
+ showSourceDetails = false;
4493
+ } else if (I18n.has("component.chartkit-error.codes", errorCode)) {
4494
+ errorDetails.push(i18n$c("component.chartkit-error.codes", errorCode));
4495
+ detailsString = "";
4496
+ }
4497
+ });
4498
+ detailedTitle = errorDetails.length ? errorDetails : detailedTitle;
4499
+ break;
4500
+ }
4501
+ case ErrorCode.EntryForbidden: {
4502
+ detailedTitle = i18n$c("common.errors", "label_error-access-message");
4503
+ break;
4504
+ }
4505
+ case ErrorCode.InvalidTokenFormat: {
4506
+ detailedTitle = i18n$c("common.errors", "label_error-invalid-format-token-message");
4507
+ break;
4508
+ }
4509
+ case ErrorCode.TokenNotFound: {
4510
+ detailedTitle = i18n$c("common.errors", "label_error-token-not-found-message");
4511
+ break;
4512
+ }
4513
+ case ErrorCode.InvalidToken: {
4514
+ detailedTitle = i18n$c("common.errors", "label_error-invalid-token-message");
4515
+ break;
4516
+ }
4517
+ case ErrorCode.OutdatedDependencies: {
4518
+ detailedTitle = i18n$c("common.errors", "label_error-outdated-message");
4519
+ break;
4520
+ }
4521
+ }
4522
+ const getAdditionalChartkitErrorContent2 = registry.common.functions.get(
4523
+ "getAdditionalChartkitErrorContent"
4524
+ );
4525
+ const additionalContent = getAdditionalChartkitErrorContent2({ code });
4526
+ if (additionalContent.detailedTitle) {
4527
+ detailedTitle = additionalContent.detailedTitle;
4528
+ }
4529
+ if (additionalContent.iconData) {
4530
+ iconData = additionalContent.iconData;
4531
+ }
4532
+ const renderSourceErrorDetails = () => {
4533
+ return sourceErrorDetails.map((sourceErrorDetail) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
4534
+ showErrorMessage && sourceErrorDetail.message && /* @__PURE__ */ jsx("div", { className: b$1("message"), children: sourceErrorDetail.message }),
4535
+ !sourceErrorDetail.message && sourceErrorDetail.code && /* @__PURE__ */ jsx("div", { className: b$1("code-block"), children: sourceErrorDetail.code })
4536
+ ] }, sourceErrorDetail.message));
4537
+ };
4538
+ return /* @__PURE__ */ jsxs("div", { className: b$1(), "data-qa": ChartkitMenuDialogsQA.chartError, children: [
4539
+ /* @__PURE__ */ jsxs("div", { "data-qa": code, className: b$1("title", { mobile: DL.IS_MOBILE }), children: [
4540
+ /* @__PURE__ */ jsx(Icon, { data: iconData, size: 20, className: b$1("icon", iconModes) }),
4541
+ Array.isArray(detailedTitle) ? /* @__PURE__ */ jsx("div", { children: detailedTitle.map((str) => /* @__PURE__ */ jsx("div", { children: str }, str)) }) : detailedTitle
4542
+ ] }),
4543
+ showSourceDetails && renderSourceErrorDetails(),
4544
+ expandMore && detailsString && /* @__PURE__ */ jsx("div", { className: b$1("code-block"), children: detailsString }),
4545
+ showControls && /* @__PURE__ */ jsxs("div", { className: b$1("actions"), children: [
4546
+ showRetry && /* @__PURE__ */ jsx(
4547
+ Button,
4548
+ {
4549
+ className: b$1("action"),
4550
+ onClick: () => onAction(actionData),
4551
+ qa: ChartkitMenuDialogsQA.errorButtonRetry,
4552
+ children: actionText
4553
+ }
4554
+ ),
4555
+ showMore && /* @__PURE__ */ jsx(
4556
+ Button,
4557
+ {
4558
+ view: "flat",
4559
+ className: b$1("action"),
4560
+ onClick: () => dispatch(openDialogErrorWithTabs({ error, title: error.message })),
4561
+ children: i18n$c("component.chartkit-error.view", "button_details")
4562
+ }
4563
+ )
4564
+ ] }),
4565
+ !hideDebugInfo && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
4566
+ requestId && /* @__PURE__ */ jsx("div", { className: b$1("request-id"), children: `Request-ID: ${requestId}` }),
4567
+ traceId && /* @__PURE__ */ jsx("div", { className: b$1("request-id"), children: `Trace-ID: ${traceId}` })
4568
+ ] })
4569
+ ] });
4570
+ };
4571
+ const Error$1 = React__default.memo(ChartKitError);
4572
+ function isNotSingleParam(control) {
4573
+ return "paramFrom" in control && "paramTo" in control;
4574
+ }
4575
+ const STATUS = {
4576
+ LOADING: "loading",
4577
+ DONE: "done",
4578
+ ERROR: "error"
4579
+ };
4580
+ const b = block("chartkit-control");
4581
+ const dashI18n = I18n.keyset("dash.dashkit-plugin-control.view");
4582
+ const controlI18n = I18n.keyset("chartkit.control");
4583
+ class Control extends React__default.PureComponent {
4584
+ constructor() {
4585
+ super(...arguments);
4586
+ this.state = {
4587
+ status: STATUS.LOADING,
4588
+ data: this.props.data,
4589
+ savedData: this.props.data,
4590
+ params: this.props.data.params,
4591
+ statePriority: false,
4592
+ validationErrors: {},
4593
+ loading: false
4594
+ };
4595
+ this.renderControl = (control, index) => {
4596
+ if (!control) {
4597
+ return null;
4598
+ }
4599
+ if (control.type === "line-break") {
4600
+ return /* @__PURE__ */ jsx("br", {}, index);
4601
+ }
4602
+ const { label, param } = control;
4603
+ const notSingleParam = isNotSingleParam(control);
4604
+ const value = isNotSingleParam(control) ? {
4605
+ from: unwrapFromArrayAndSkipOperation(this.params[control.paramFrom]),
4606
+ to: unwrapFromArrayAndSkipOperation(this.params[control.paramTo])
4607
+ } : unwrapFromArrayAndSkipOperation(this.params[param]);
4608
+ let props = {
4609
+ ...control,
4610
+ className: b("item"),
4611
+ key: index + (param || isNotSingleParam(control) && control.paramFrom || label),
4612
+ value: control.disabled ? "" : value,
4613
+ onChange: (value2) => this.onChange(control, value2, index),
4614
+ loading: this.state.loading
4615
+ };
4616
+ if ("required" in control) {
4617
+ props = { ...props, ...this.getValidationProps(control, value, index) };
4618
+ }
4619
+ switch (control.type) {
4620
+ case CONTROL_TYPE.SELECT:
4621
+ return /* @__PURE__ */ jsx(ControlSelect, { ...props });
4622
+ case CONTROL_TYPE.INPUT:
4623
+ return /* @__PURE__ */ jsx(ControlInput, { ...props });
4624
+ case CONTROL_TYPE.TEXTAREA:
4625
+ return /* @__PURE__ */ jsx(ControlTextArea, { ...props, className: b("item", { button: true }) });
4626
+ case CONTROL_TYPE.DATEPICKER:
4627
+ return /* @__PURE__ */ jsx(ControlDatepicker, { ...props });
4628
+ case CONTROL_TYPE.RANGE_DATEPICKER:
4629
+ return /* @__PURE__ */ jsx(ControlRangeDatepicker, { returnInterval: !notSingleParam, ...props });
4630
+ case CONTROL_TYPE.CHECKBOX:
4631
+ return /* @__PURE__ */ jsx(ControlCheckbox, { ...props, className: b("item", { checkbox: true }) });
4632
+ case CONTROL_TYPE.BUTTON:
4633
+ return /* @__PURE__ */ jsx(ControlButton, { ...props, className: b("item", { button: true }) });
4634
+ }
4635
+ return null;
4636
+ };
4637
+ this.getChangedParams = (control, value) => {
4638
+ let newParams = { ...this.params };
4639
+ let callExternalOnChange = this.isStandalone;
4640
+ let callChangeByClick = false;
4641
+ if (control.type === "range-datepicker" && control.paramFrom && control.paramTo && typeof value === "object" && !Array.isArray(value)) {
4642
+ newParams[control.paramFrom] = [value.from];
4643
+ newParams[control.paramTo] = [value.to];
4644
+ } else if (control.type === "button" && control.onClick && control.onClick.action === CLICK_ACTION_TYPE.SET_PARAMS && control.onClick.args) {
4645
+ newParams = control.onClick.args;
4646
+ callExternalOnChange = true;
4647
+ callChangeByClick = true;
4648
+ } else if (control.type === "button" && control.onClick && control.onClick.action === CLICK_ACTION_TYPE.SET_INITIAL_PARAMS && this.props.initialParams?.params) {
4649
+ newParams = this.props.initialParams?.params;
4650
+ callExternalOnChange = true;
4651
+ callChangeByClick = true;
4652
+ } else {
4653
+ newParams[control.param] = wrapToArray(value).map(
4654
+ (value2) => addOperationForValue({ value: value2, operation: control.operation })
4655
+ );
4656
+ }
4657
+ return { newParams, callExternalOnChange, callChangeByClick };
4658
+ };
4659
+ this.getValidationProps = (control, value, index) => {
4660
+ const validationProps = {};
4661
+ const initialValidationError = isValidRequiredValue({
4662
+ required: control.required,
4663
+ value
4664
+ }) ? dashI18n("value_required") : null;
4665
+ const validationError = initialValidationError || this.state.validationErrors[index];
4666
+ validationProps.required = control.required;
4667
+ validationProps.hasValidationError = Boolean(validationError);
4668
+ if (control.label && control.required) {
4669
+ validationProps.label = `${control.label}*`;
4670
+ }
4671
+ if ("innerLabel" in control && !control.label && control.innerLabel && control.required) {
4672
+ validationProps.innerLabel = `${control.innerLabel}*`;
4673
+ }
4674
+ if (control.type === "input" || control.type === "select") {
4675
+ validationProps.placeholder = validationError || control.placeholder;
4676
+ }
4677
+ return validationProps;
4678
+ };
4679
+ }
4680
+ static getDerivedStateFromProps(nextProps, prevState) {
4681
+ const resultState = {
4682
+ ...prevState,
4683
+ savedData: nextProps.data,
4684
+ statePriority: false
4685
+ };
4686
+ const propsDataEqual = isEqual(nextProps.data, prevState.savedData);
4687
+ if (!prevState.statePriority && !propsDataEqual) {
4688
+ return {
4689
+ ...resultState,
4690
+ data: nextProps.data,
4691
+ params: nextProps.data.params
4692
+ };
4693
+ }
4694
+ return resultState;
4695
+ }
4696
+ static getDerivedStateFromError() {
4697
+ return { status: STATUS.ERROR };
4698
+ }
4699
+ get params() {
4700
+ return { ...this.props.data.params, ...this.state.params };
4701
+ }
4702
+ componentDidMount() {
4703
+ this.setStatePriority({ status: STATUS.DONE });
4704
+ if (this.isStandalone) {
4705
+ this.props.onLoad();
4706
+ }
4707
+ }
4708
+ get isStandalone() {
4709
+ return this.props.data.type === "control";
4710
+ }
4711
+ setStatePriority(state, callback) {
4712
+ this.setState(Object.assign({ statePriority: true }, state), callback);
4713
+ }
4714
+ async run(prevParams, callOnChange) {
4715
+ this.setStatePriority({ status: STATUS.LOADING });
4716
+ let loadedData;
4717
+ try {
4718
+ loadedData = await this.props.getControls(prevParams);
4719
+ } catch (error) {
4720
+ console.error("CHARTKIT_CONTROL_RUN_FAILED", error);
4721
+ this.setStatePriority({ status: STATUS.ERROR });
4722
+ return;
4723
+ }
4724
+ if (!loadedData) {
4725
+ return;
4726
+ }
4727
+ const newParams = loadedData.params;
4728
+ this.setStatePriority(
4729
+ {
4730
+ status: STATUS.DONE,
4731
+ data: loadedData,
4732
+ params: newParams
4733
+ },
4734
+ () => {
4735
+ if (callOnChange) {
4736
+ this.props.onChange(
4737
+ { type: "PARAMS_CHANGED", data: { params: newParams } },
4738
+ { forceUpdate: !this.isStandalone },
4739
+ callOnChange
4740
+ );
4741
+ }
4742
+ }
4743
+ );
4744
+ }
4745
+ async onChange(control, value, index) {
4746
+ const { type, updateControlsOnChange, updateOnChange, postUpdateOnChange } = control;
4747
+ const { newParams, callExternalOnChange, callChangeByClick } = this.getChangedParams(
4748
+ control,
4749
+ value
4750
+ );
4751
+ const hasError = "required" in control ? isValidRequiredValue({
4752
+ required: control.required,
4753
+ value
4754
+ }) : false;
4755
+ this.setValidationError(String(index), hasError);
4756
+ if (hasError) {
4757
+ return;
4758
+ }
4759
+ if (type === "button" && control.onClick?.action === CLICK_ACTION_TYPE.RUN_ACTIVITY) {
4760
+ this.setState({ loading: true });
4761
+ try {
4762
+ await this.props.runActivity?.({ params: { ...newParams, ...control.onClick.args } });
4763
+ } catch (e) {
4764
+ } finally {
4765
+ this.setState({ loading: false });
4766
+ }
4767
+ return;
4768
+ }
4769
+ if (!isEqual(newParams, this.params) || type === CONTROL_TYPE.BUTTON) {
4770
+ if (postUpdateOnChange) {
4771
+ this.run(newParams, true);
4772
+ } else if (updateOnChange) {
4773
+ this.setStatePriority({ params: newParams }, () => {
4774
+ this.props.onChange(
4775
+ { type: "PARAMS_CHANGED", data: { params: newParams } },
4776
+ { forceUpdate: true },
4777
+ callExternalOnChange,
4778
+ callChangeByClick
4779
+ );
4780
+ });
4781
+ } else if (updateControlsOnChange) {
4782
+ this.run(newParams);
4783
+ } else {
4784
+ this.setStatePriority({ params: newParams }, () => {
4785
+ this.props.onUpdate?.({ type: "PARAMS_CHANGED", data: { params: newParams } });
4786
+ });
4787
+ }
4788
+ }
4789
+ }
4790
+ renderBody() {
4791
+ const { status } = this.state;
4792
+ if (status === STATUS.ERROR) {
4793
+ return /* @__PURE__ */ jsxs("div", { className: b("error"), children: [
4794
+ controlI18n("label_error"),
4795
+ /* @__PURE__ */ jsx(Icon, { data: TriangleExclamationFill, className: b("error-icon") })
4796
+ ] });
4797
+ }
4798
+ return /* @__PURE__ */ jsx("div", { className: b("controls", { hidden: status === STATUS.LOADING }), children: this.state.data.controls?.controls.map(this.renderControl) });
4799
+ }
4800
+ renderLoader() {
4801
+ return this.state.status === STATUS.LOADING ? /* @__PURE__ */ jsx("div", { className: b("loader"), children: /* @__PURE__ */ jsx(Loader, { size: "s" }) }) : null;
4802
+ }
4803
+ render() {
4804
+ if (this.state.data.controls) {
4805
+ const { lineBreaks = "nowrap" } = this.state.data.controls;
4806
+ const standalone = this.isStandalone;
4807
+ const classNameMix = standalone ? CHARTKIT_SCROLLABLE_NODE_CLASSNAME : "";
4808
+ return /* @__PURE__ */ jsxs(
4809
+ "div",
4810
+ {
4811
+ className: b(
4812
+ { "line-breaks": lineBreaks, standalone, mobile: DL.IS_MOBILE },
4813
+ classNameMix
4814
+ ),
4815
+ children: [
4816
+ this.renderLoader(),
4817
+ this.renderBody()
4818
+ ]
4819
+ }
4820
+ );
4821
+ }
4822
+ return null;
4823
+ }
4824
+ setValidationError(index, hasError) {
4825
+ if (hasError) {
4826
+ this.setState({
4827
+ validationErrors: {
4828
+ ...this.state.validationErrors,
4829
+ [index]: dashI18n("value_required")
4830
+ }
4831
+ });
4832
+ return;
4833
+ }
4834
+ if (this.state.validationErrors[index]) {
4835
+ this.setState({
4836
+ validationErrors: {
4837
+ ...this.state.validationErrors,
4838
+ [index]: null
4839
+ }
4840
+ });
4841
+ }
4842
+ }
4843
+ }
4844
+ var control_default = {
4845
+ key: "control",
4846
+ value: Control
4847
+ };
4848
+ var markdown_default = {
4849
+ key: CHARTKIT_WIDGET_TYPE.MARKDOWN,
4850
+ value: Markdown
4851
+ };
4852
+ var table_default = {
4853
+ key: CHARTKIT_WIDGET_TYPE.TABLE,
4854
+ value: Table
4855
+ };
4856
+ const X_CSRF_TOKEN_HEADER = "X-CSRF-Token";
4857
+ const DATALENS_DEBUG_MODE_KEY = "datalens-debug-mode";
4858
+ ChartKitWithCharts.registerPlugins(table_default, control_default, markdown_default);
4859
+ ChartKitWithCharts.setGeneralSettings({
4860
+ lang: DL.USER_LANG,
4861
+ isMobile: DL.IS_MOBILE,
4862
+ theme: "common",
4863
+ config: isEnabledFeature(Feature.UseConfigurableChartkit),
4864
+ requestIdPrefix: DL.REQUEST_ID_PREFIX,
4865
+ ErrorComponent: Error$1
4866
+ });
4867
+ ChartKitWithCharts.setDataProviderSettings({
4868
+ endpoint: DL.ENDPOINTS.charts,
4869
+ lang: DL.USER_LANG,
4870
+ includeUnresolvedParams: true,
4871
+ requestDecorator: (request) => {
4872
+ const CSRFToken = Utils.getCSRFToken();
4873
+ request.headers[ACCEPT_LANGUAGE_HEADER] = DL.USER_LANG;
4874
+ if (CSRFToken) {
4875
+ request.headers[X_CSRF_TOKEN_HEADER] = CSRFToken;
4876
+ }
4877
+ if (DL.CURRENT_TENANT_ID) {
4878
+ request.headers[TENANT_ID_HEADER] = DL.CURRENT_TENANT_ID;
4879
+ }
4880
+ let dispayMode = "basic";
4881
+ if (isEmbeddedEntry()) {
4882
+ dispayMode = "secure-embedded";
4883
+ } else if (isIframe()) {
4884
+ dispayMode = "embedded";
4885
+ }
4886
+ request.headers[DISPLAY_MODE_HEADER] = dispayMode;
4887
+ if (DL.DISPLAY_SUPERUSER_SWITCH) {
4888
+ const cookieValue = Utils.getCookie(SUPERUSER_SWITCH_MODE_COOKIE_NAME);
4889
+ const headerValue = cookieValue === ENABLE;
4890
+ if (cookieValue) {
4891
+ request.headers[SuperuserHeader.XDlAllowSuperuser] = headerValue;
4892
+ request.headers[SuperuserHeader.XDlSudo] = headerValue;
4893
+ }
4894
+ }
4895
+ const datalensDebugMode = Utils.restore(DATALENS_DEBUG_MODE_KEY);
4896
+ if (datalensDebugMode === 1) {
4897
+ request.data.datalensDebugMode = 1;
4898
+ }
4899
+ return request;
4900
+ },
4901
+ noJsonFn: isEnabledFeature(Feature.NoJsonFn) || Utils.getCookie(DISABLE_JSONFN_SWITCH_MODE_COOKIE_NAME) === DISABLE
4902
+ });
4903
+ var DatalensChartKitOld_default = ChartKitWithCharts;
4904
+ const initChartKitSettings = () => {
4905
+ DatalensChartKitOld_default.registerPlugins(table_default, control_default, markdown_default);
4906
+ DatalensChartKitOld_default.setGeneralSettings({
4907
+ lang: DL.USER_LANG,
4908
+ isMobile: DL.IS_MOBILE,
4909
+ theme: "common",
4910
+ config: isEnabledFeature(Feature.UseConfigurableChartkit),
4911
+ requestIdPrefix: DL.REQUEST_ID_PREFIX,
4912
+ ErrorComponent: Error$1,
4913
+ menu: getChartkitMenu({ chartsDataProvider })
4914
+ });
4915
+ DatalensChartKitOld_default.setDataProviderSettings?.({
4916
+ endpoint: DL.ENDPOINTS.charts,
4917
+ lang: DL.USER_LANG,
4918
+ includeUnresolvedParams: true,
4919
+ requestDecorator: (request) => {
4920
+ if (!request.headers) {
4921
+ request.headers = {};
4922
+ }
4923
+ const CSRFToken = Utils.getCSRFToken();
4924
+ request.headers[ACCEPT_LANGUAGE_HEADER] = DL.USER_LANG;
4925
+ if (CSRFToken) {
4926
+ request.headers[X_CSRF_TOKEN_HEADER$1] = CSRFToken;
4927
+ }
4928
+ if (DL.CURRENT_TENANT_ID) {
4929
+ request.headers[TENANT_ID_HEADER] = DL.CURRENT_TENANT_ID;
4930
+ }
4931
+ let dispayMode = "basic";
4932
+ if (isEmbeddedEntry()) {
4933
+ dispayMode = "secure-embedded";
4934
+ } else if (isIframe()) {
4935
+ dispayMode = "embedded";
4936
+ }
4937
+ request.headers[DISPLAY_MODE_HEADER] = dispayMode;
4938
+ if (DL.DISPLAY_SUPERUSER_SWITCH) {
4939
+ const cookieValue = Utils.getCookie(SUPERUSER_SWITCH_MODE_COOKIE_NAME);
4940
+ const headerValue = cookieValue === ENABLE;
4941
+ if (cookieValue) {
4942
+ request.headers[SuperuserHeader.XDlAllowSuperuser] = headerValue;
4943
+ request.headers[SuperuserHeader.XDlSudo] = headerValue;
4944
+ }
4945
+ }
4946
+ const datalensDebugMode = Utils.restore(DATALENS_DEBUG_MODE_KEY$1);
4947
+ if (datalensDebugMode === 1) {
4948
+ request.data.datalensDebugMode = 1;
4949
+ }
4950
+ return request;
4951
+ },
4952
+ noJsonFn: isEnabledFeature(Feature.NoJsonFn) || Utils.getCookie(DISABLE_JSONFN_SWITCH_MODE_COOKIE_NAME) === DISABLE
4953
+ });
4954
+ };
4955
+ const renderDatalens = (render, config) => {
4956
+ registerAppPlugins(config.pluginsConfig);
4957
+ const { registerPlugins } = config;
4958
+ if (registerPlugins) {
4959
+ registerPlugins();
4960
+ }
4961
+ initChartKitSettings();
4962
+ render();
4963
+ };
4964
+ const getOverridedTheme = (defaultTheme) => {
4965
+ const queryTheme = Utils.getOptionsFromSearch(getLocation().search).theme;
4966
+ return ALLOW_THEMES.includes(queryTheme) ? queryTheme : defaultTheme;
4967
+ };
4968
+ let currentRootElement = null;
4969
+ function mount(rootElement, homePathname) {
4970
+ setHistory(createHashHistory());
4971
+ currentRootElement = rootElement;
4972
+ const Content = () => {
4973
+ const theme2 = getOverridedTheme("light");
4974
+ const themeSettings2 = useSelector(selectThemeSettings);
4975
+ return /* @__PURE__ */ jsx(
4976
+ ThemeProvider,
4977
+ {
4978
+ theme: theme2,
4979
+ systemLightTheme: themeSettings2?.systemLightTheme,
4980
+ systemDarkTheme: themeSettings2?.systemDarkTheme,
4981
+ children: /* @__PURE__ */ jsx(MobileProvider, { mobile: DL.IS_MOBILE, children: /* @__PURE__ */ jsx(HotkeysProvider, { initiallyActiveScopes: [HOTKEYS_SCOPES.GLOBAL], children: /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
4982
+ /* @__PURE__ */ jsx(DialogManagerContainer, {}),
4983
+ /* @__PURE__ */ jsx(DatalensPage, { homePathname })
4984
+ ] }) }) })
4985
+ }
4986
+ );
4987
+ };
4988
+ const renderApp = () => {
4989
+ Utils.setup();
4990
+ const history = getHistory();
4991
+ const store = getStore();
4992
+ registerSDKDispatch(store.dispatch);
4993
+ ReactDOM.render(
4994
+ /* @__PURE__ */ jsx(Router, { history, children: /* @__PURE__ */ jsx(Provider, { store, children: /* @__PURE__ */ jsx(Content, {}) }) }),
4995
+ rootElement
4996
+ );
4997
+ };
4998
+ renderDatalens(renderApp, {});
4999
+ }
5000
+ function unmount(rootElement) {
5001
+ const targetElement = rootElement || currentRootElement;
5002
+ if (targetElement) {
5003
+ try {
5004
+ ReactDOM.unmountComponentAtNode(targetElement);
5005
+ if (targetElement === currentRootElement) {
5006
+ currentRootElement = null;
5007
+ }
5008
+ resetStore();
5009
+ } catch (error) {
5010
+ console.error("Error unmounting DataLens main.tsx:", error);
5011
+ }
5012
+ }
5013
+ }
5014
+ export {
5015
+ bEditPanelItem as b,
5016
+ mount as m,
5017
+ unmount as u
5018
+ };