@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
@@ -0,0 +1,3964 @@
1
+ import React__default, { createElement } from "react";
2
+ import { aZ as getExportMenuItem, a_ as getNewWindowMenuItem, a$ as getInspectorMenuItem, b0 as getEditMenuItem, b1 as getOpenAsTableMenuItem, b2 as getFullscreenMenuItem, b3 as prepareValues, D as DASH_WIDGET_TYPES, b4 as ERROR_CODE, b5 as settings_default, b6 as MenuWithErrorBoundary, b7 as drawComments, b8 as hideComments, b9 as ChartsInsights, ba as ChartkitError, bb as ChartKitAdapter, bc as setSkipReload, bd as getRandomCKId, be as ExtensionsManager, bf as Loader, bg as Drill, bh as SideMarkdown, bi as ChartsDataProvider, bj as formatError, bk as DatalensChartkitCustomError, bl as isEmbeddedMode, bm as START_PAGE, bn as getDataProviderData, bo as selectSkipReload, g as chartsDataProvider } from "./ControlComponents.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ import block from "bem-cn-lite";
5
+ import isEqual from "lodash/isEqual";
6
+ import omit from "lodash/omit";
7
+ import pick from "lodash/pick";
8
+ import { aR as MenuItemsIds, r as registry, F as Feature, j as i18n, D as DL, aT as FOCUSED_WIDGET_PARAM_NAME, cQ as isTrueArg, U as URL_OPTIONS, b3 as ControlQA, b as SHARED_URL_OPTIONS, ah as DashTabItemControlSourceType, aN as ChartkitMenuDialogsQA, u as DashTabItemType } from "./AccessRights.js";
9
+ import { i as isWidgetTypeDoNotNeedOverlay, d as isExternalControl, e as adjustWidgetLayout, f as DebugInfoTool, E as ExtendedDashKitContext, u as useBeforeLoad } from "./DashKit.js";
10
+ import { useDispatch, useSelector } from "react-redux";
11
+ import { Popover, Icon, Button, Loader as Loader$1, Link } from "@gravity-ui/uikit";
12
+ import get from "lodash/get";
13
+ import { ShieldExclamation, ArrowLeft } from "@gravity-ui/icons";
14
+ import { u as useMarkdown, M as MarkdownHelpPopover } from "./MarkdownHelpPopover.js";
15
+ import { i as isEnabledFeature, z as getRouter, P as toSearchParams, U as Utils, aj as selectWorkbookEditPermission, aa as getRenderMarkdownFn, o as openDialog, c as closeDialog, d as showToast, j as useMountedState, Q as usePrevious, l as logger, Y as YFM_MARKDOWN_CLASSNAME, ak as YFM_CUT_MARKDOWN_CLASSNAME } from "./ActionPanel.js";
16
+ import { stringify } from "querystring";
17
+ import { isObject } from "lodash";
18
+ import { g as getGroupedMenu } from "./EntryContextMenu.js";
19
+ import isEmpty from "lodash/isEmpty";
20
+ import { dateTime } from "@gravity-ui/date-utils";
21
+ import { pickActionParamsFromParams, pickExceptActionParamsFromParams } from "@gravity-ui/dashkit/helpers";
22
+ import unescape from "lodash/unescape";
23
+ import { D as DIALOG_DEFAULT } from "./DialogDefault.js";
24
+ import { Y as YfmWrapper } from "./YfmWrapper.js";
25
+ import throttle from "lodash/throttle";
26
+ import debounce from "lodash/debounce";
27
+ import { useHistory, useLocation } from "react-router-dom";
28
+ import { AdaptiveTabs } from "@gravity-ui/components";
29
+ import { a as DL_ADAPTIVE_TABS_BREAK_POINT_CONFIG } from "./DialogFilter.js";
30
+ import { M as MOBILE_SIZE } from "./CollectionFilters.js";
31
+ const getWidgetChartMenu = ({
32
+ chartsDataProvider: chartsDataProvider2,
33
+ customOptions,
34
+ canEdit,
35
+ extraOptions
36
+ }) => {
37
+ return [
38
+ getFullscreenMenuItem(customOptions[MenuItemsIds.FULLSCREEEN]),
39
+ getExportMenuItem({
40
+ chartsDataProvider: chartsDataProvider2,
41
+ customConfig: customOptions[MenuItemsIds.EXPORT]
42
+ }),
43
+ getNewWindowMenuItem({
44
+ chartsDataProvider: chartsDataProvider2,
45
+ customConfig: customOptions[MenuItemsIds.NEW_WINDOW],
46
+ extraOptions
47
+ }),
48
+ getInspectorMenuItem(),
49
+ canEdit ? getEditMenuItem({
50
+ chartsDataProvider: chartsDataProvider2,
51
+ customConfig: customOptions[MenuItemsIds.EDIT]
52
+ }) : null
53
+ ];
54
+ };
55
+ const getWizardChartMenu = ({ chartsDataProvider: chartsDataProvider2, customOptions }) => {
56
+ return [
57
+ getExportMenuItem({
58
+ chartsDataProvider: chartsDataProvider2,
59
+ customConfig: customOptions[MenuItemsIds.EXPORT]
60
+ }),
61
+ getNewWindowMenuItem({
62
+ chartsDataProvider: chartsDataProvider2,
63
+ customConfig: customOptions[MenuItemsIds.NEW_WINDOW]
64
+ }),
65
+ getOpenAsTableMenuItem({
66
+ chartsDataProvider: chartsDataProvider2,
67
+ customConfig: customOptions[MenuItemsIds.OPEN_AS_TABLE]
68
+ }),
69
+ getInspectorMenuItem()
70
+ ];
71
+ };
72
+ const getPanePreviewChartMenu = ({ chartsDataProvider: chartsDataProvider2 }) => {
73
+ return [
74
+ getExportMenuItem({
75
+ chartsDataProvider: chartsDataProvider2
76
+ }),
77
+ getInspectorMenuItem()
78
+ ];
79
+ };
80
+ const getDefaultChartMenu = ({
81
+ chartsDataProvider: chartsDataProvider2,
82
+ customOptions,
83
+ extraOptions
84
+ }) => {
85
+ const menuItemsGroups = [
86
+ getExportMenuItem({
87
+ chartsDataProvider: chartsDataProvider2,
88
+ customConfig: customOptions[MenuItemsIds.EXPORT]
89
+ }),
90
+ getNewWindowMenuItem({
91
+ chartsDataProvider: chartsDataProvider2,
92
+ customConfig: customOptions[MenuItemsIds.NEW_WINDOW],
93
+ extraOptions
94
+ }),
95
+ getInspectorMenuItem(),
96
+ getEditMenuItem({
97
+ chartsDataProvider: chartsDataProvider2,
98
+ customConfig: customOptions[MenuItemsIds.EDIT]
99
+ }),
100
+ getOpenAsTableMenuItem({
101
+ chartsDataProvider: chartsDataProvider2,
102
+ customConfig: customOptions[MenuItemsIds.OPEN_AS_TABLE]
103
+ })
104
+ ];
105
+ return menuItemsGroups;
106
+ };
107
+ const getChartkitMenuItems = (props) => {
108
+ const { type, config, chartsDataProvider: chartsDataProvider2, extraOptions } = props;
109
+ const canEdit = config?.canEdit || false;
110
+ const customOptions = props.customOptions || {};
111
+ let menuItemsGroups = [];
112
+ switch (type) {
113
+ case "widget": {
114
+ menuItemsGroups = getWidgetChartMenu({ chartsDataProvider: chartsDataProvider2, canEdit, customOptions });
115
+ break;
116
+ }
117
+ case "wizard": {
118
+ const getWizardChartMenuFn = registry.chart.functions.get("getWizardChartMenu");
119
+ menuItemsGroups = getWizardChartMenuFn({
120
+ chartsDataProvider: chartsDataProvider2,
121
+ customOptions,
122
+ extraOptions
123
+ });
124
+ break;
125
+ }
126
+ case "panePreview": {
127
+ const getPanePreviewChartMenuFn = registry.chart.functions.get("getPanePreviewChartMenu");
128
+ menuItemsGroups = getPanePreviewChartMenuFn({ chartsDataProvider: chartsDataProvider2 });
129
+ break;
130
+ }
131
+ case "dash":
132
+ case "preview":
133
+ default: {
134
+ const getDefaultChartMenuFn = registry.chart.functions.get("getDefaultChartMenu");
135
+ menuItemsGroups = getDefaultChartMenuFn({
136
+ type,
137
+ chartsDataProvider: chartsDataProvider2,
138
+ customOptions,
139
+ extraOptions
140
+ });
141
+ }
142
+ }
143
+ const filtered = menuItemsGroups.filter(Boolean);
144
+ return getGroupedMenu(filtered);
145
+ };
146
+ const getChartkitMenuByType = (props) => {
147
+ const {
148
+ type,
149
+ config,
150
+ customOptions,
151
+ chartsDataProvider: dataProvider,
152
+ onExportLoading,
153
+ onFullscreenClick,
154
+ isEditAvaible,
155
+ extraOptions
156
+ } = props || {};
157
+ const chartsDataProvider2 = dataProvider;
158
+ const isEditVisible = isEnabledFeature(Feature.ReadOnlyMode) ? { isVisible: () => false } : isEditAvaible === void 0 ? {} : { isVisible: () => isEditAvaible };
159
+ return getChartkitMenuItems({
160
+ type,
161
+ config,
162
+ chartsDataProvider: chartsDataProvider2,
163
+ extraOptions,
164
+ customOptions: {
165
+ [MenuItemsIds.NEW_WINDOW]: {
166
+ title: i18n("dash.chartkit-menu.view", "button_new-tab"),
167
+ action: ({ propsData: { id, params } }) => {
168
+ getRouter().openTab({
169
+ pathname: `/preview/${id}`,
170
+ search: stringify(params)
171
+ });
172
+ }
173
+ },
174
+ [MenuItemsIds.OPEN_AS_TABLE]: {
175
+ action: ({ propsData: { id, params } }) => {
176
+ const resultParams = isObject(params) ? { ...params } : {};
177
+ getRouter().openTab({
178
+ pathname: `/preview/${id}`,
179
+ search: toSearchParams({ ...resultParams, _chart_type: "table" })
180
+ });
181
+ }
182
+ },
183
+ [MenuItemsIds.EDIT]: {
184
+ title: i18n("dash.chartkit-menu.view", "button_edit"),
185
+ ...isEditVisible
186
+ },
187
+ [MenuItemsIds.EXPORT]: {
188
+ onExportLoading
189
+ },
190
+ [MenuItemsIds.FULLSCREEEN]: {
191
+ onFullscreenClick
192
+ },
193
+ ...customOptions
194
+ }
195
+ });
196
+ };
197
+ const getChartkitMenu = (props) => {
198
+ const getChartkitMenuByType2 = registry.chart.functions.get("getChartkitMenuByType");
199
+ return getChartkitMenuByType2(props);
200
+ };
201
+ const DAY_MS = 1e3 * 60 * 60 * 24;
202
+ function convertChartToTable(options) {
203
+ const { widget, widgetData } = options;
204
+ const chartData = prepareValues({
205
+ widget,
206
+ data: widgetData?.data,
207
+ widgetType: widgetData?.type,
208
+ extra: {}
209
+ });
210
+ if (!chartData) {
211
+ return [];
212
+ }
213
+ let lines = [];
214
+ const header = [];
215
+ if (chartData.categories_ms) {
216
+ header.push("DateTime");
217
+ }
218
+ if (chartData.categories) {
219
+ header.push("Categories");
220
+ }
221
+ chartData.graphs.forEach((graph) => {
222
+ header.push(graph.title);
223
+ });
224
+ lines.push(header);
225
+ const dataArray = chartData.categories_ms || chartData.categories || Array(chartData.graphs[0].data.length).fill(void 0);
226
+ dataArray.forEach((item, i) => {
227
+ const line = [];
228
+ if (item) {
229
+ const diff = item - dataArray[i - 1] || dataArray[i + 1] - item;
230
+ const format = diff < DAY_MS ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
231
+ const measure = chartData.categories_ms ? dateTime({
232
+ input: item
233
+ }).format(format) : item;
234
+ line.push(`"${measure}"`);
235
+ }
236
+ chartData.graphs.forEach((graph) => {
237
+ let currentValue = graph.data[i];
238
+ let value = '""';
239
+ if (currentValue || currentValue === 0) {
240
+ if (graph.type === "diff" && Array.isArray(currentValue)) {
241
+ currentValue = currentValue[0];
242
+ }
243
+ value = String(currentValue);
244
+ if (typeof currentValue === "number") {
245
+ value = value.replace(".", ",");
246
+ }
247
+ }
248
+ line.push(value);
249
+ });
250
+ lines.push(line);
251
+ });
252
+ lines = lines.map((line) => {
253
+ return line.join(";");
254
+ });
255
+ return lines;
256
+ }
257
+ function getLayerSimpleConfig(layerData) {
258
+ if ("heatmap" in layerData) {
259
+ return {
260
+ type: "heatmap",
261
+ title: layerData.options.layerTitle,
262
+ colorField: layerData.options.colorTitle
263
+ };
264
+ }
265
+ if ("polygonmap" in layerData) {
266
+ const properties = layerData.polygonmap.polygons.features[0]?.properties.data?.map(
267
+ (d) => d.text.split(":")[0]?.trim()
268
+ );
269
+ const data = isEmpty(properties) ? void 0 : [
270
+ [...properties].join(";"),
271
+ ...layerData.polygonmap.polygons.features.map(
272
+ (d) => d.properties.data?.map((d2) => d2.text.split(":")[1]?.trim()).join(";")
273
+ )
274
+ ];
275
+ return {
276
+ type: "polygons",
277
+ title: layerData.options.layerTitle,
278
+ colorField: layerData.options.colorTitle,
279
+ data
280
+ };
281
+ }
282
+ if ("collection" in layerData) {
283
+ const items = layerData.collection.children ?? [];
284
+ if (isEmpty(items)) {
285
+ return {};
286
+ }
287
+ const layerType = items[0].feature.geometry.type;
288
+ const properties = items[0].feature.properties.data?.map(
289
+ (d) => d.text.split(":")[0]?.trim()
290
+ );
291
+ const data = isEmpty(properties) ? void 0 : [
292
+ [...properties].join(";"),
293
+ ...items.map(
294
+ (d) => d.feature.properties.data?.map((d2) => d2.text.split(":")[1]?.trim() ?? "").join(";")
295
+ )
296
+ ];
297
+ return {
298
+ type: layerType,
299
+ title: layerData.options.layerTitle,
300
+ colorField: layerData.options.colorTitle,
301
+ sizeField: layerData.options.sizeTitle,
302
+ data
303
+ };
304
+ }
305
+ if ("clusterer" in layerData) {
306
+ const properties = layerData.clusterer[0]?.feature.properties.data?.map(
307
+ (d) => d.text.split(":")[0]?.trim()
308
+ );
309
+ const data = isEmpty(properties) ? void 0 : [
310
+ [...properties].join(";"),
311
+ ...layerData.clusterer.map(
312
+ (d) => d.feature.properties.data?.map((d2) => d2.text.split(":")[1]?.trim() ?? "").join(";")
313
+ )
314
+ ];
315
+ return {
316
+ type: "points",
317
+ title: layerData.options.layerTitle,
318
+ colorField: layerData.options.colorTitle,
319
+ sizeField: layerData.options.sizeTitle,
320
+ data
321
+ };
322
+ }
323
+ return {};
324
+ }
325
+ function getMapSimpleConfig({ widgetData }) {
326
+ if (!widgetData) {
327
+ return {};
328
+ }
329
+ const layers = widgetData.data ?? [];
330
+ return {
331
+ type: widgetData.type,
332
+ layers: layers.map((d) => getLayerSimpleConfig(d)),
333
+ bounds: get(widgetData, "libraryConfig.state.bounds")
334
+ };
335
+ }
336
+ const COMPONENT_CLASSNAME = "dl-widget";
337
+ const X_CSRF_TOKEN_HEADER = "X-CSRF-Token";
338
+ const DATALENS_DEBUG_MODE_KEY = "datalens-debug-mode";
339
+ const DRAGGABLE_HANDLE_CLASS_NAME = "dl-draggable-handle-element";
340
+ const ALLOWED_ERRORS = [
341
+ ERROR_CODE.NO_DATA,
342
+ ERROR_CODE.TOO_MANY_LINES,
343
+ ERROR_CODE.UI_SANDBOX_EXECUTION_TIMEOUT
344
+ ];
345
+ const getUniqDatasetsFields = (datasets) => {
346
+ datasets?.forEach((dataset) => {
347
+ if (!dataset.fieldsList) {
348
+ return;
349
+ }
350
+ const guids = {};
351
+ const newFieldList = [];
352
+ dataset.fieldsList.forEach((fieldItem) => {
353
+ if (!(fieldItem.guid in guids)) {
354
+ guids[fieldItem.guid] = "";
355
+ newFieldList.push(fieldItem);
356
+ }
357
+ });
358
+ dataset.fieldsList = newFieldList;
359
+ });
360
+ return datasets;
361
+ };
362
+ const getChartSimpleLoadedData = ({
363
+ widget,
364
+ loadedData
365
+ }) => {
366
+ const convertedToTableData = convertChartToTable({
367
+ widget,
368
+ widgetData: loadedData
369
+ });
370
+ let queries;
371
+ if (loadedData && "sources" in loadedData) {
372
+ const sources = loadedData.sources ?? {};
373
+ const sourceValues = Object.values(sources);
374
+ queries = sourceValues.map((source) => {
375
+ return "info" in source ? source?.info : "";
376
+ });
377
+ }
378
+ let data = convertedToTableData;
379
+ if (isEmpty(convertedToTableData)) {
380
+ switch (loadedData?.type) {
381
+ case "metric":
382
+ case "metric2":
383
+ case "markup":
384
+ case "markdown": {
385
+ data = loadedData?.data;
386
+ break;
387
+ }
388
+ case "ymap": {
389
+ data = getMapSimpleConfig({
390
+ widgetData: loadedData
391
+ });
392
+ break;
393
+ }
394
+ default: {
395
+ data = loadedData;
396
+ break;
397
+ }
398
+ }
399
+ }
400
+ return { queries, data };
401
+ };
402
+ const getWidgetMeta = ({
403
+ tabs,
404
+ id,
405
+ loadData,
406
+ savedData,
407
+ error,
408
+ widgetDataRef
409
+ }) => {
410
+ return tabs.map((tabWidget) => {
411
+ let loadedData = null;
412
+ if (loadData?.entryId === tabWidget.chartId) {
413
+ loadedData = loadData;
414
+ } else if (savedData?.entryId === tabWidget.chartId) {
415
+ loadedData = savedData;
416
+ }
417
+ const loadDataError = loadData?.data?.error;
418
+ const errorCode = error?.code;
419
+ const loadedWithError = Boolean(
420
+ (loadDataError || error) && (typeof errorCode !== "string" || !ALLOWED_ERRORS.includes(errorCode))
421
+ );
422
+ const metaInfo = {
423
+ layoutId: id,
424
+ chartId: tabWidget.chartId,
425
+ widgetId: tabWidget.id,
426
+ title: tabWidget.title,
427
+ label: loadedData?.key && Utils.getEntryNameFromKey(loadedData?.key || "") || "",
428
+ params: tabWidget.params,
429
+ enableFiltering: tabWidget.enableActionParams || false,
430
+ loaded: Boolean(loadedData),
431
+ entryId: tabWidget.chartId,
432
+ usedParams: loadedData?.usedParams ? Object.keys(loadedData?.usedParams || {}) || null : null,
433
+ datasets: getUniqDatasetsFields(loadedData?.datasets || loadedData?.extra?.datasets) || null,
434
+ datasetId: loadedData?.sources?.fields?.datasetId || loadedData?.extra?.datasets?.[0]?.id || "",
435
+ type: loadedData?.type || null,
436
+ visualizationType: loadedData?.libraryConfig?.chart?.type || null,
437
+ loadError: loadedWithError,
438
+ isWizard: Boolean(loadedData?.isNewWizard || loadedData?.isOldWizard),
439
+ isEditor: Boolean(loadedData?.isEditor),
440
+ isQL: Boolean(loadedData?.isQL),
441
+ getSimpleLoadedData: () => {
442
+ return getChartSimpleLoadedData({
443
+ widget: widgetDataRef?.current,
444
+ loadedData
445
+ });
446
+ }
447
+ };
448
+ return metaInfo;
449
+ });
450
+ };
451
+ const getWidgetSelectorMeta = ({
452
+ id,
453
+ chartId,
454
+ loadedData,
455
+ error,
456
+ widgetParamsDefaults,
457
+ data
458
+ }) => {
459
+ const loadedWithError = Boolean(
460
+ loadedData?.data?.error || error
461
+ );
462
+ let title = "";
463
+ if (isExternalControl(data)) {
464
+ title = data.title;
465
+ }
466
+ const metaInfo = {
467
+ layoutId: id,
468
+ chartId,
469
+ widgetId: id,
470
+ title,
471
+ label: loadedData?.key && Utils.getEntryNameFromKey(loadedData?.key || "") || "",
472
+ params: loadedData?.params || {},
473
+ widgetParams: widgetParamsDefaults || {},
474
+ enableFiltering: false,
475
+ loaded: Boolean(loadedData),
476
+ entryId: chartId,
477
+ usedParams: loadedData?.usedParams ? Object.keys(loadedData?.usedParams || {}) || null : null,
478
+ datasets: loadedData?.datasets || null,
479
+ datasetId: loadedData?.sources?.fields?.datasetId || "",
480
+ type: loadedData?.type || null,
481
+ visualizationType: null,
482
+ loadError: loadedWithError,
483
+ getSimpleLoadedData: () => loadedData
484
+ };
485
+ return metaInfo;
486
+ };
487
+ const getPreparedConstants = (props) => {
488
+ const {
489
+ loadedData,
490
+ hideTitle,
491
+ widgetId,
492
+ history,
493
+ isLoading,
494
+ error,
495
+ isReloadWithNoVeil,
496
+ noVeil,
497
+ noLoader,
498
+ isSilentReload,
499
+ disableChartLoader,
500
+ needWaitForDSFields
501
+ } = props;
502
+ const widgetType = loadedData?.type;
503
+ let isFullscreen = false;
504
+ let noControls = false;
505
+ if (history) {
506
+ const searchParams = new URLSearchParams(history.location.search);
507
+ isFullscreen = widgetId === searchParams.get(FOCUSED_WIDGET_PARAM_NAME) && DL.IS_MOBILE;
508
+ noControls = isTrueArg(searchParams.get(URL_OPTIONS.NO_CONTROLS));
509
+ }
510
+ const isFirstLoadOrAfterError = loadedData === null;
511
+ const showLoader = Boolean(isLoading || needWaitForDSFields) && !disableChartLoader && (!isSilentReload && !noLoader || isFirstLoadOrAfterError);
512
+ const mods = {
513
+ "no-tabs": !isFullscreen && hideTitle,
514
+ fullscreen: isFullscreen,
515
+ "no-controls": noControls,
516
+ [String(widgetType)]: Boolean(widgetType),
517
+ "default-mobile": DL.IS_MOBILE && !isFullscreen
518
+ };
519
+ const hasVeil = Boolean(loadedData && !error && !noVeil && !isReloadWithNoVeil);
520
+ const noOverlay = !DL.IS_MOBILE || !loadedData || error || isWidgetTypeDoNotNeedOverlay(widgetType || "");
521
+ const showOverlayWithControlsOnEdit = !noOverlay && !isFullscreen;
522
+ return {
523
+ mods,
524
+ widgetBodyClassName: DL.IS_MOBILE ? "dl-chartkit-body-mix" : void 0,
525
+ hasHiddenClassMod: Boolean(isLoading && error),
526
+ veil: hasVeil,
527
+ showLoader,
528
+ isFullscreen,
529
+ widgetType,
530
+ showOverlayWithControlsOnEdit,
531
+ noControls
532
+ };
533
+ };
534
+ const removeEmptyNDatasetFieldsProperties = (obj, removeFieldsList) => {
535
+ const checkRemoveList = Boolean(removeFieldsList?.length);
536
+ return Object.entries(obj).reduce((result, [key, value]) => {
537
+ if (value !== null && value !== void 0) {
538
+ if (checkRemoveList) {
539
+ {
540
+ result[key] = value;
541
+ }
542
+ } else {
543
+ result[key] = value;
544
+ }
545
+ }
546
+ return result;
547
+ }, {});
548
+ };
549
+ const pushStats = (data, scope, chartsDataProvider2) => {
550
+ if (isEnabledFeature(Feature.EnableDashChartStat)) {
551
+ chartsDataProvider2.pushStats?.(data, {
552
+ groupId: DL.REQUEST_ID,
553
+ scope
554
+ });
555
+ }
556
+ };
557
+ const getTabIndex = (tabs, tabId) => {
558
+ if (!tabs) {
559
+ return 0;
560
+ }
561
+ const index = tabId ? tabs.findIndex(({ id }) => id === tabId) : tabs.findIndex(({ isDefault }) => isDefault);
562
+ return index === -1 ? 0 : index;
563
+ };
564
+ const isWidgetTypeWithAutoHeight = (widgetType) => {
565
+ return widgetType === DASH_WIDGET_TYPES.TABLE || widgetType === DASH_WIDGET_TYPES.MARKDOWN || widgetType === DASH_WIDGET_TYPES.METRIC || widgetType === DASH_WIDGET_TYPES.METRIC2 || widgetType === DASH_WIDGET_TYPES.MARKUP;
566
+ };
567
+ const updateImmediateLayout = ({
568
+ type,
569
+ autoHeight,
570
+ widgetId,
571
+ rootNode,
572
+ gridLayout,
573
+ layout,
574
+ cb
575
+ }) => {
576
+ if (!type) {
577
+ return;
578
+ }
579
+ const newAutoHeight = isWidgetTypeWithAutoHeight(type) ? autoHeight : false;
580
+ adjustWidgetLayout({
581
+ widgetId,
582
+ needSetDefault: !newAutoHeight,
583
+ rootNode,
584
+ gridLayout,
585
+ layout,
586
+ cb
587
+ });
588
+ };
589
+ const isAllParamsEmpty = (params) => {
590
+ const res = Object.values(params || {}).every((item) => {
591
+ if (Array.isArray(item)) {
592
+ return isEmpty(item.filter((val) => !isEmpty(String(val).trim())));
593
+ } else {
594
+ return isEmpty(String(item).trim());
595
+ }
596
+ });
597
+ return Boolean(res);
598
+ };
599
+ const SNAPTER_DESIRED_CLASS = "chart-preview";
600
+ const CHART_RELOAD_EVENT = "chartReload";
601
+ const b$7 = block("chart-info");
602
+ const MarkdownContent = (props) => {
603
+ const { value, onRender } = props;
604
+ const { markdown, isLoading } = useMarkdown({ value });
605
+ React__default.useEffect(() => {
606
+ if (!isLoading) {
607
+ onRender();
608
+ }
609
+ }, [isLoading, onRender]);
610
+ return /* @__PURE__ */ jsx(React__default.Fragment, { children: markdown });
611
+ };
612
+ const ChartInfoIcon = (props) => {
613
+ const { msg } = props;
614
+ const [isLoaded, setLoaded] = React__default.useState(false);
615
+ const content = DL.ENDPOINTS.safeChartInfoLink ? `${msg}
616
+ [see](${DL.ENDPOINTS.safeChartInfoLink})` : msg;
617
+ return /* @__PURE__ */ jsx(
618
+ Popover,
619
+ {
620
+ content: /* @__PURE__ */ jsx(MarkdownContent, { value: content, onRender: () => setLoaded(true) }),
621
+ open: isLoaded,
622
+ className: b$7("tooltip", { hidden: !isLoaded }),
623
+ children: /* @__PURE__ */ jsx(Icon, { size: 20, data: ShieldExclamation, className: b$7("icon") })
624
+ },
625
+ String(isLoaded)
626
+ );
627
+ };
628
+ const iconClearActionParams = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20fill='none'%20viewBox='0%200%2014%2016'%3e%3cpath%20fill='currentColor'%20fill-opacity='1'%20fill-rule='evenodd'%20d='M10.055%207.602%208.31%2010.16a.354.354%200%200%200-.061.2v2.39c0%201.5-1.25%202.5-2.75%202.5s-1.75-1-1.75-1v-3.89a.354.354%200%200%200-.061-.2L.562%205.577A3.242%203.242%200%200%201%200%203.75c0-2%202.686-3%206-3%20.461%200%20.91.02%201.341.059a2.24%202.24%200%200%200-.323%201.478A13.777%2013.777%200%200%200%206%202.25c-1.538%200-2.799.237-3.615.613-.814.375-.885.713-.885.887%200%20.175.071.513.885.888.816.376%202.077.612%203.615.612.355%200%20.695-.012%201.018-.036a2.24%202.24%200%200%200%20.323%201.478c-.43.04-.88.058-1.341.058-1.114%200-2.158-.113-3.052-.339l1.98%202.904c.21.308.322.672.322%201.045v3.37c.06.011.141.02.25.02.422%200%20.749-.14.95-.316a.86.86%200%200%200%20.3-.683V10.36c0-.373.112-.737.322-1.045l1.214-1.78a2.241%202.241%200%200%200%201.77.067Zm-4.936%206.085c-.01-.006-.013-.01-.013-.01s.005.002.013.01Z'%20clip-rule='evenodd'/%3e%3cpath%20fill='currentColor'%20fill-opacity='1'%20fill-rule='evenodd'%20d='M9.278.97a.75.75%200%200%200-1.06%201.06l1.72%201.72-1.72%201.72a.75.75%200%200%200%201.06%201.062L11%204.812l1.72%201.72A.75.75%200%201%200%2013.78%205.47l-1.72-1.72%201.72-1.721A.75.75%200%200%200%2012.72.97l-1.721%201.72L9.279.97Z'%20clip-rule='evenodd'/%3e%3c/svg%3e";
629
+ const b$6 = block("dl-widget");
630
+ function hasNoControlsParamVal(val) {
631
+ const paramVal = Array.isArray(val) ? val[0] : val;
632
+ return ["1", "true", 1, true].includes(paramVal);
633
+ }
634
+ const Header = (props) => {
635
+ const {
636
+ isMenuAvailable,
637
+ chartsInsightsData,
638
+ menuType,
639
+ customMenuOptions,
640
+ menuChartkitConfig,
641
+ error,
642
+ dataProps,
643
+ requestId,
644
+ loadedData,
645
+ chartRevIdRef,
646
+ widgetDataRef,
647
+ widgetRenderTimeRef,
648
+ yandexMapAPIWaiting,
649
+ dataProvider,
650
+ onChange,
651
+ isWidgetMenuDataChanged,
652
+ onExportLoading,
653
+ onFullscreenClick,
654
+ enableActionParams,
655
+ enableAssistant,
656
+ showActionParamsFilter,
657
+ onFiltersClear,
658
+ extraOptions,
659
+ reload
660
+ } = props;
661
+ const dispatch = useDispatch();
662
+ const [commentsLength, setCommentsLength] = React__default.useState(null);
663
+ const isEditAvaible = useSelector(selectWorkbookEditPermission);
664
+ const handleCommentsChanged = React__default.useCallback(
665
+ (length) => {
666
+ setCommentsLength(length);
667
+ reload?.();
668
+ },
669
+ [reload]
670
+ );
671
+ const hideChartComments = Boolean(loadedData?.config?.hideComments);
672
+ const hideControlsByParam = hasNoControlsParamVal(
673
+ get(dataProps?.params || "", URL_OPTIONS.NO_CONTROLS)
674
+ );
675
+ const canBeShownMenu = isMenuAvailable && widgetDataRef && !hideControlsByParam;
676
+ const configMenu = menuType ? getChartkitMenu({
677
+ type: menuType,
678
+ customOptions: customMenuOptions,
679
+ config: menuChartkitConfig?.config,
680
+ chartsDataProvider: menuChartkitConfig?.chartsDataProvider || dataProvider,
681
+ onExportLoading,
682
+ onFullscreenClick,
683
+ isEditAvaible,
684
+ extraOptions: { ...extraOptions, enableActionParams, enableAssistant },
685
+ widgetConfig: loadedData?.widgetConfig,
686
+ dispatch
687
+ }) : settings_default.menu;
688
+ const { ChartActionPanelButton } = registry.chart.components.getAll();
689
+ const chartData = dataProps ? dataProps : {};
690
+ const safeChartWarning = get(loadedData, "safeChartInfo");
691
+ const showFiltersClear = showActionParamsFilter && onFiltersClear;
692
+ return /* @__PURE__ */ jsxs("div", { className: b$6("chart-header"), children: [
693
+ safeChartWarning && /* @__PURE__ */ jsx(ChartInfoIcon, { msg: safeChartWarning }),
694
+ /* @__PURE__ */ jsx(
695
+ ChartActionPanelButton,
696
+ {
697
+ menuType,
698
+ loadedData,
699
+ widgetDataRef,
700
+ chartData
701
+ }
702
+ ),
703
+ /* @__PURE__ */ jsxs("div", { className: b$6("controls-corner-wrapper"), children: [
704
+ canBeShownMenu && /* @__PURE__ */ jsx(
705
+ MenuWithErrorBoundary,
706
+ {
707
+ commentsLength,
708
+ hideChartComments,
709
+ configMenu,
710
+ widgetDataRef,
711
+ loadedData,
712
+ chartRevIdRef,
713
+ error,
714
+ propsData: chartData,
715
+ requestId,
716
+ widgetRenderTimeRef,
717
+ yandexMapAPIWaiting,
718
+ callbackOnCommentsChanged: handleCommentsChanged,
719
+ hideComments,
720
+ drawComments,
721
+ onChange,
722
+ isWidgetMenuDataChanged,
723
+ chartsDataProvider: dataProvider
724
+ }
725
+ ),
726
+ showFiltersClear && props.canBeDisplayedFilters && /* @__PURE__ */ jsx("div", { className: b$6("icons"), children: /* @__PURE__ */ jsx("div", { className: b$6("filters-controls"), children: /* @__PURE__ */ jsx(
727
+ Button,
728
+ {
729
+ qa: ControlQA.filtersClear,
730
+ onClick: onFiltersClear,
731
+ className: b$6("filter-button"),
732
+ view: "flat-secondary",
733
+ children: /* @__PURE__ */ jsx(
734
+ Icon,
735
+ {
736
+ data: iconClearActionParams,
737
+ size: 16,
738
+ className: b$6("icon-filter-clear")
739
+ }
740
+ )
741
+ }
742
+ ) }) }),
743
+ chartsInsightsData && /* @__PURE__ */ jsx(
744
+ ChartsInsights,
745
+ {
746
+ items: chartsInsightsData.items,
747
+ messagesByLocator: chartsInsightsData.messagesByLocator,
748
+ locators: chartsInsightsData.locators
749
+ }
750
+ )
751
+ ] })
752
+ ] });
753
+ };
754
+ const Chart$1 = (props) => {
755
+ if (props.error) {
756
+ return /* @__PURE__ */ jsx(
757
+ ChartkitError,
758
+ {
759
+ error: props.error,
760
+ onRetry: props.onRetry,
761
+ requestId: props.requestId,
762
+ noControls: props.noControls
763
+ }
764
+ );
765
+ }
766
+ const preparedData = typeof props.transformLoadedData === "function" ? props.transformLoadedData(props.loadedData) : props.loadedData;
767
+ if (props.loadedData && props.loadedData.type !== "control") {
768
+ return /* @__PURE__ */ jsx(
769
+ ChartKitAdapter,
770
+ {
771
+ ref: props.forwardedRef,
772
+ loadedData: preparedData,
773
+ splitTooltip: props.splitTooltip,
774
+ nonBodyScroll: props.nonBodyScroll,
775
+ isMobile: settings_default.isMobile,
776
+ lang: settings_default.lang,
777
+ onLoad: props.onLoad,
778
+ onError: props.onError,
779
+ onChange: props.onChange,
780
+ onRender: props.onRender,
781
+ onChartLoad: props.onChartLoad,
782
+ renderPluginLoader: props.renderPluginLoader,
783
+ requestId: props.requestId,
784
+ noControls: props.noControls,
785
+ onRetry: props.onRetry,
786
+ paneSplitOrientation: props.paneSplitOrientation,
787
+ widgetDashState: props.widgetDashState,
788
+ rootNodeRef: props.rootNodeRef,
789
+ backgroundColor: props.backgroundColor,
790
+ runActivity: props.runActivity
791
+ }
792
+ );
793
+ }
794
+ return null;
795
+ };
796
+ const DatalensChartkitContent = React__default.memo(Chart$1);
797
+ const b$5 = block("dl-widget");
798
+ const emptyLoaderComponent = () => /* @__PURE__ */ jsx(
799
+ Loader,
800
+ {
801
+ visible: true,
802
+ compact: false,
803
+ size: "s",
804
+ veil: false,
805
+ delay: 1e3,
806
+ classNameMod: b$5("chartkit-inner-loader")
807
+ }
808
+ );
809
+ const Control$1 = ExtensionsManager.getWithWrapper(
810
+ "control"
811
+ );
812
+ const Content = (props) => {
813
+ const {
814
+ hasHiddenClassMod,
815
+ showLoader,
816
+ veil,
817
+ loaderDelay,
818
+ widgetBodyClassName,
819
+ forwardedRef,
820
+ noControls,
821
+ nonBodyScroll,
822
+ transformLoadedData,
823
+ splitTooltip,
824
+ compactLoader,
825
+ chartId,
826
+ chartRevIdRef,
827
+ requestId,
828
+ error,
829
+ onRender,
830
+ onChange,
831
+ onError,
832
+ onRetry,
833
+ loadedData,
834
+ getControls,
835
+ drillDownFilters,
836
+ drillDownLevel,
837
+ widgetType,
838
+ menuType,
839
+ customMenuOptions,
840
+ menuChartkitConfig,
841
+ dataProps,
842
+ yandexMapAPIWaiting,
843
+ widgetDataRef,
844
+ widgetRenderTimeRef,
845
+ onFullscreenClick,
846
+ showOverlayWithControlsOnEdit,
847
+ dataProvider,
848
+ isWidgetMenuDataChanged,
849
+ renderPluginLoader,
850
+ enableActionParams,
851
+ enableAssistant,
852
+ paneSplitOrientation,
853
+ widgetDashState,
854
+ rootNodeRef,
855
+ runActivity,
856
+ backgroundColor,
857
+ showActionParamsFilter,
858
+ onFiltersClear,
859
+ reload
860
+ } = props;
861
+ const [isExportLoading, setIsExportLoading] = React__default.useState(false);
862
+ const dispatch = useDispatch();
863
+ const handleExportLoading = React__default.useCallback(
864
+ (isLoading) => {
865
+ setIsExportLoading(isLoading);
866
+ dispatch(setSkipReload(isLoading));
867
+ },
868
+ [dispatch]
869
+ );
870
+ const id = React__default.useMemo(() => getRandomCKId(), []);
871
+ const hasControl = Boolean(loadedData?.controls?.controls?.length);
872
+ const showControls = !noControls && loadedData?.controls && ExtensionsManager.has("control");
873
+ const drillDownData = loadedData?.config?.drillDown;
874
+ const chartsInsightsData = loadedData?.chartsInsightsData;
875
+ const sideMarkdownData = loadedData?.sideMarkdown || "";
876
+ const showChartOverlay = Boolean(showOverlayWithControlsOnEdit && onFullscreenClick);
877
+ const initialParams = {
878
+ params: props.initialParams || {}
879
+ };
880
+ const showContentLoader = showLoader || isExportLoading;
881
+ const showLoaderVeil = veil && !isExportLoading;
882
+ const isFirstLoadingFloat = loadedData === null;
883
+ const [hasDummy, setHasDummy] = React__default.useState(DL.IS_MOBILE && !splitTooltip);
884
+ const chartInnerLoaderComponent = isFirstLoadingFloat ? emptyLoaderComponent : renderPluginLoader;
885
+ const handleRender = React__default.useCallback(
886
+ (args) => {
887
+ setHasDummy(false);
888
+ onRender?.(args);
889
+ },
890
+ [onRender]
891
+ );
892
+ return /* @__PURE__ */ jsxs("div", { className: b$5("container", { [String(widgetType)]: Boolean(widgetType) }), children: [
893
+ props.needRenderContentControls && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
894
+ /* @__PURE__ */ jsx(
895
+ Loader,
896
+ {
897
+ visible: showContentLoader,
898
+ compact: compactLoader,
899
+ veil: showLoaderVeil,
900
+ delay: loaderDelay
901
+ }
902
+ ),
903
+ /* @__PURE__ */ jsx(
904
+ Header,
905
+ {
906
+ dataProvider,
907
+ chartsInsightsData,
908
+ menuType,
909
+ customMenuOptions,
910
+ menuChartkitConfig,
911
+ isMenuAvailable: !noControls,
912
+ error,
913
+ dataProps,
914
+ requestId,
915
+ loadedData,
916
+ chartRevIdRef,
917
+ widgetDataRef,
918
+ widgetRenderTimeRef,
919
+ yandexMapAPIWaiting,
920
+ onChange,
921
+ isWidgetMenuDataChanged,
922
+ onExportLoading: handleExportLoading,
923
+ enableActionParams,
924
+ enableAssistant,
925
+ onFullscreenClick,
926
+ showActionParamsFilter,
927
+ onFiltersClear,
928
+ reload
929
+ }
930
+ )
931
+ ] }),
932
+ /* @__PURE__ */ jsxs(
933
+ "div",
934
+ {
935
+ className: b$5(
936
+ "body",
937
+ { hidden: hasHiddenClassMod, [String(widgetType)]: Boolean(widgetType) },
938
+ widgetBodyClassName
939
+ ),
940
+ "data-qa": chartId ? `chartkit-body-entry-${chartId}` : null,
941
+ children: [
942
+ Boolean(showControls && hasControl && getControls) && /* @__PURE__ */ jsx(
943
+ Control$1,
944
+ {
945
+ id,
946
+ data: loadedData,
947
+ onLoad: onRender,
948
+ onError,
949
+ onChange,
950
+ getControls,
951
+ nonBodyScroll,
952
+ initialParams,
953
+ runActivity
954
+ }
955
+ ),
956
+ Boolean(drillDownData) && /* @__PURE__ */ jsx(
957
+ Drill,
958
+ {
959
+ onChange,
960
+ breadcrumbs: drillDownData.breadcrumbs,
961
+ filters: drillDownFilters,
962
+ level: drillDownLevel
963
+ }
964
+ ),
965
+ Boolean(sideMarkdownData) && /* @__PURE__ */ jsx(SideMarkdown, { data: sideMarkdownData }),
966
+ hasDummy && /* @__PURE__ */ jsx("div", { className: b$5("mobile-loading-dummy") }),
967
+ /* @__PURE__ */ jsx(
968
+ DatalensChartkitContent,
969
+ {
970
+ noControls,
971
+ transformLoadedData,
972
+ splitTooltip,
973
+ nonBodyScroll,
974
+ requestId,
975
+ error,
976
+ onLoad: handleRender,
977
+ onChange,
978
+ onError,
979
+ onRetry,
980
+ loadedData,
981
+ forwardedRef,
982
+ renderPluginLoader: chartInnerLoaderComponent,
983
+ paneSplitOrientation,
984
+ widgetDashState,
985
+ rootNodeRef,
986
+ backgroundColor,
987
+ runActivity
988
+ }
989
+ ),
990
+ showChartOverlay && /* @__PURE__ */ jsx(
991
+ "div",
992
+ {
993
+ className: b$5("overlay"),
994
+ onClick: onFullscreenClick,
995
+ "data-qa": "chart-widget-overlay"
996
+ }
997
+ )
998
+ ]
999
+ }
1000
+ )
1001
+ ] });
1002
+ };
1003
+ const WIDGET_CHART_SET_LOADING = /* @__PURE__ */ Symbol("widgetChart/SET_LOADING");
1004
+ const WIDGET_CHART_SET_DATA_PARAMS = /* @__PURE__ */ Symbol("widgetChart/SET_DATA_PARAMS");
1005
+ const WIDGET_CHART_UPDATE_DATA_PARAMS = /* @__PURE__ */ Symbol("widgetChart/UPDATE_DATA_PARAMS");
1006
+ const WIDGET_CHART_SET_LOADED_DATA = /* @__PURE__ */ Symbol("widgetChart/SET_LOADED_DATA");
1007
+ const WIDGET_CHART_SET_WIDGET_DATA = /* @__PURE__ */ Symbol("widgetChart/SET_WIDGET_DATA");
1008
+ const WIDGET_CHART_RESET_CHANGED_PARAMS = /* @__PURE__ */ Symbol("widgetChart/RESET_WIDGET_CHANGED_DATA");
1009
+ const WIDGET_CHART_SET_LOAD_SETTINGS = /* @__PURE__ */ Symbol("widgetChart/CHARTKIT_SET_LOAD_SETTINGS");
1010
+ const WIDGET_CHART_SET_WIDGET_ERROR = /* @__PURE__ */ Symbol("widgetChart/SET_WIDGET_ERROR");
1011
+ const getInitialState = () => {
1012
+ return {
1013
+ isLoading: false,
1014
+ isSilentReload: false,
1015
+ isReloadWithNoVeil: false,
1016
+ loadedData: null,
1017
+ widget: null,
1018
+ yandexMapAPIWaiting: null,
1019
+ error: null,
1020
+ changedParams: null,
1021
+ usedParams: null
1022
+ };
1023
+ };
1024
+ const reducer = (state, action) => {
1025
+ switch (action.type) {
1026
+ case WIDGET_CHART_SET_LOAD_SETTINGS:
1027
+ case WIDGET_CHART_SET_WIDGET_ERROR:
1028
+ case WIDGET_CHART_SET_WIDGET_DATA: {
1029
+ return {
1030
+ ...state,
1031
+ ...action.payload
1032
+ };
1033
+ }
1034
+ case WIDGET_CHART_SET_LOADING: {
1035
+ return {
1036
+ ...state,
1037
+ isLoading: action.payload
1038
+ };
1039
+ }
1040
+ case WIDGET_CHART_SET_LOADED_DATA:
1041
+ return {
1042
+ ...state,
1043
+ loadedData: action.payload,
1044
+ isLoading: false,
1045
+ isSilentReload: false,
1046
+ isReloadWithNoVeil: false,
1047
+ error: null,
1048
+ usedParams: action.payload?.usedParams || null
1049
+ };
1050
+ case WIDGET_CHART_SET_DATA_PARAMS: {
1051
+ return {
1052
+ ...state,
1053
+ changedParams: {
1054
+ ...action.payload
1055
+ }
1056
+ };
1057
+ }
1058
+ case WIDGET_CHART_UPDATE_DATA_PARAMS: {
1059
+ return {
1060
+ ...state,
1061
+ changedParams: {
1062
+ ...state.changedParams,
1063
+ ...action.payload
1064
+ }
1065
+ };
1066
+ }
1067
+ case WIDGET_CHART_RESET_CHANGED_PARAMS: {
1068
+ const newData = action.payload || {};
1069
+ return {
1070
+ ...state,
1071
+ changedParams: newData
1072
+ };
1073
+ }
1074
+ default: {
1075
+ return state;
1076
+ }
1077
+ }
1078
+ };
1079
+ function cleanUpConflictingParameters(args) {
1080
+ const { prev, current } = args;
1081
+ const tableRowSortKey = "_sortRowMeta";
1082
+ if (prev && current && tableRowSortKey in current) {
1083
+ if (!isEqual(omit(prev, tableRowSortKey), omit(current, tableRowSortKey))) {
1084
+ delete current[tableRowSortKey];
1085
+ }
1086
+ }
1087
+ }
1088
+ const useChartActivities = ({
1089
+ requestId,
1090
+ requestHeadersGetter,
1091
+ dataProvider,
1092
+ initialData,
1093
+ onChange,
1094
+ onActivityComplete
1095
+ }) => {
1096
+ const dispatch = useDispatch();
1097
+ const handleActivityCompleteSuccess = React__default.useCallback(
1098
+ async (responseData) => {
1099
+ switch (responseData?.data?.action) {
1100
+ case "toast": {
1101
+ const { title = "", type, content = "" } = responseData.data;
1102
+ const renderMarkdown = await getRenderMarkdownFn();
1103
+ dispatch(
1104
+ showToast({
1105
+ title,
1106
+ type,
1107
+ content: /* @__PURE__ */ jsx(
1108
+ YfmWrapper,
1109
+ {
1110
+ setByInnerHtml: true,
1111
+ content: renderMarkdown(content)
1112
+ }
1113
+ )
1114
+ })
1115
+ );
1116
+ break;
1117
+ }
1118
+ case "popup": {
1119
+ const { title = "", content = "" } = responseData.data;
1120
+ const renderMarkdown = await getRenderMarkdownFn();
1121
+ dispatch(
1122
+ openDialog({
1123
+ id: DIALOG_DEFAULT,
1124
+ props: {
1125
+ open: true,
1126
+ onApply: () => {
1127
+ dispatch(closeDialog());
1128
+ },
1129
+ onCancel: () => dispatch(closeDialog()),
1130
+ caption: title,
1131
+ message: /* @__PURE__ */ jsx(
1132
+ YfmWrapper,
1133
+ {
1134
+ setByInnerHtml: true,
1135
+ content: renderMarkdown(content)
1136
+ }
1137
+ )
1138
+ }
1139
+ })
1140
+ );
1141
+ break;
1142
+ }
1143
+ case "setParams": {
1144
+ if (onChange) {
1145
+ onChange(
1146
+ { type: "PARAMS_CHANGED", data: { params: responseData.data.params } },
1147
+ { forceUpdate: true },
1148
+ true
1149
+ );
1150
+ }
1151
+ break;
1152
+ }
1153
+ }
1154
+ },
1155
+ [dispatch, onChange]
1156
+ );
1157
+ const inProgressRef = React__default.useRef(false);
1158
+ const runActivity = React__default.useCallback(
1159
+ async ({ params }) => {
1160
+ if (inProgressRef.current) {
1161
+ return null;
1162
+ }
1163
+ inProgressRef.current = true;
1164
+ let responseData;
1165
+ try {
1166
+ responseData = await dataProvider.makeActivityRequest({
1167
+ props: { ...initialData, params },
1168
+ requestId,
1169
+ ...requestHeadersGetter ? { contextHeaders: requestHeadersGetter() } : {}
1170
+ });
1171
+ } catch (e) {
1172
+ responseData = { error: e };
1173
+ }
1174
+ if (responseData?.error) {
1175
+ switch (responseData.settings?.logError) {
1176
+ case "toast": {
1177
+ dispatch(
1178
+ showToast({
1179
+ type: "danger",
1180
+ title: i18n("chartkit.data-provider", "error-execution"),
1181
+ error: ChartsDataProvider.formatError(
1182
+ responseData.error,
1183
+ false
1184
+ )
1185
+ })
1186
+ );
1187
+ break;
1188
+ }
1189
+ case "ignore": {
1190
+ break;
1191
+ }
1192
+ default: {
1193
+ console.error(responseData.error);
1194
+ break;
1195
+ }
1196
+ }
1197
+ } else if (responseData) {
1198
+ handleActivityCompleteSuccess(responseData);
1199
+ }
1200
+ onActivityComplete?.({ responseData });
1201
+ inProgressRef.current = false;
1202
+ return responseData;
1203
+ },
1204
+ [
1205
+ dataProvider,
1206
+ dispatch,
1207
+ handleActivityCompleteSuccess,
1208
+ initialData,
1209
+ onActivityComplete,
1210
+ requestHeadersGetter,
1211
+ requestId
1212
+ ]
1213
+ );
1214
+ return {
1215
+ runActivity
1216
+ };
1217
+ };
1218
+ const THROTTLE_VISIBLE_DELAY = 100;
1219
+ const LOADING_VISIBLE_OFFSET = 300;
1220
+ const LOADING_INTERSECTION_RATIO = 0.05;
1221
+ class Observer {
1222
+ constructor() {
1223
+ this.callbacksMap = /* @__PURE__ */ new Map();
1224
+ this.changesQueue = null;
1225
+ this.intersectionObserver = null;
1226
+ this.intersectionFlushQueue = throttle(() => {
1227
+ if (this.changesQueue === null) {
1228
+ return;
1229
+ }
1230
+ const { callbacksMap, changesQueue } = this;
1231
+ const changes = changesQueue;
1232
+ this.changesQueue = null;
1233
+ changes.forEach((isVisible, el) => {
1234
+ callbacksMap.get(el)?.(isVisible);
1235
+ });
1236
+ changes.clear();
1237
+ }, THROTTLE_VISIBLE_DELAY);
1238
+ this.intersectionHandler = (entries) => {
1239
+ this.changesQueue = this.changesQueue || /* @__PURE__ */ new Map();
1240
+ const hasChanges = entries.reduce((memo, e) => {
1241
+ const target = e.target;
1242
+ const isVisible = e.intersectionRatio > 0;
1243
+ const currentVisibility = this.changesQueue?.get(target);
1244
+ if (currentVisibility !== isVisible) {
1245
+ this.changesQueue?.set(target, isVisible);
1246
+ return true;
1247
+ }
1248
+ return memo;
1249
+ }, false);
1250
+ if (hasChanges) {
1251
+ this.intersectionFlushQueue();
1252
+ }
1253
+ };
1254
+ }
1255
+ getIntersectionObserver() {
1256
+ if (this.intersectionObserver === null) {
1257
+ this.intersectionObserver = new IntersectionObserver(this.intersectionHandler, {
1258
+ rootMargin: `${LOADING_VISIBLE_OFFSET}px`,
1259
+ threshold: [0, LOADING_INTERSECTION_RATIO]
1260
+ });
1261
+ }
1262
+ return this.intersectionObserver;
1263
+ }
1264
+ cleanIntersectionObserver() {
1265
+ if (this.callbacksMap.size === 0) {
1266
+ this.getIntersectionObserver().disconnect();
1267
+ this.intersectionObserver = null;
1268
+ }
1269
+ }
1270
+ subscribe(element, callback) {
1271
+ this.getIntersectionObserver().observe(element);
1272
+ this.callbacksMap.set(element, callback);
1273
+ this.triggerSync(element, callback);
1274
+ }
1275
+ unsubscribe(element) {
1276
+ if (this.intersectionObserver === null) {
1277
+ return;
1278
+ }
1279
+ this.intersectionObserver.unobserve(element);
1280
+ this.callbacksMap.delete(element);
1281
+ this.changesQueue?.delete(element);
1282
+ this.cleanIntersectionObserver();
1283
+ }
1284
+ /**
1285
+ * Sync call for priority loading to work as intended
1286
+ * cause all selectors are added to load queue while first render
1287
+ * if we will delegate this to IntersectionObserver init call micro-task
1288
+ * we will be already late by the time when loading will be already started
1289
+ */
1290
+ triggerSync(element, callback) {
1291
+ const { top, height } = element.getBoundingClientRect();
1292
+ const bottom = top + height;
1293
+ const isVisible = top < window.innerHeight + LOADING_VISIBLE_OFFSET && bottom >= 0;
1294
+ callback(isVisible);
1295
+ }
1296
+ }
1297
+ const observer = new Observer();
1298
+ const useIntersectionObserver = ({
1299
+ nodeRef,
1300
+ callback,
1301
+ enable
1302
+ }) => {
1303
+ React__default.useEffect(() => {
1304
+ const element = nodeRef.current;
1305
+ if (!element) {
1306
+ return;
1307
+ }
1308
+ if (enable) {
1309
+ observer.subscribe(element, callback);
1310
+ } else {
1311
+ observer.unsubscribe(element);
1312
+ }
1313
+ return () => {
1314
+ observer.unsubscribe(element);
1315
+ };
1316
+ }, [nodeRef, callback, enable]);
1317
+ };
1318
+ const useMemoCallback = (callback, deps) => {
1319
+ const callbackRef = React__default.useRef(callback);
1320
+ callbackRef.current = callback;
1321
+ return React__default.useMemo(() => {
1322
+ return ((...args) => callbackRef.current(...args));
1323
+ }, deps);
1324
+ };
1325
+ const EXCLUDE_CHART_WITH_AXIS_FOR_MENU_RERENDER = ["map"];
1326
+ const loadingStateReducer = (state, newState) => {
1327
+ const hasChanges = Object.entries(newState).find(
1328
+ ([key, value]) => state[key] !== value
1329
+ );
1330
+ if (hasChanges) {
1331
+ return { ...state, ...newState };
1332
+ }
1333
+ return state;
1334
+ };
1335
+ const useLoadingChart = (props) => {
1336
+ const {
1337
+ dataProvider,
1338
+ requestHeadersGetter,
1339
+ initialData,
1340
+ requestId,
1341
+ requestCancellationRef,
1342
+ rootNodeRef,
1343
+ hasChangedOuterProps,
1344
+ hasChangedOuterParams,
1345
+ hasChartTabChanged,
1346
+ hasChangedActionParams,
1347
+ onChartRender,
1348
+ onChartLoad,
1349
+ chartKitRef,
1350
+ resolveMetaDataRef,
1351
+ resolveWidgetDataRef,
1352
+ usedParamsRef,
1353
+ innerParamsRef,
1354
+ widgetDataRef,
1355
+ widgetRenderTimeRef,
1356
+ handleChangeCallback,
1357
+ ignoreUsedParams,
1358
+ clearedOuterParams,
1359
+ onInnerParamsChanged,
1360
+ enableActionParams,
1361
+ widgetType,
1362
+ autoupdateInterval,
1363
+ isPageHidden,
1364
+ forceShowSafeChart,
1365
+ onBeforeChartLoad,
1366
+ onActivityComplete
1367
+ } = props;
1368
+ const [{ isInit, canBeLoaded }, setLoadingState] = React__default.useReducer(loadingStateReducer, {
1369
+ isInit: false,
1370
+ canBeLoaded: false
1371
+ });
1372
+ const isMounted = useMountedState([]);
1373
+ const setIsInit = React__default.useCallback((value) => setLoadingState({ isInit: value }), []);
1374
+ const setCanBeLoaded = React__default.useCallback(
1375
+ (value) => setLoadingState({ canBeLoaded: value }),
1376
+ []
1377
+ );
1378
+ const [yandexMapAPIWaiting, setYandexMapAPIWaiting] = React__default.useState();
1379
+ const [widgetMenuData, setWidgetMenuData] = React__default.useState(null);
1380
+ const [isWidgetMenuDataChanged, setIsWidgetMenuDataChanged] = React__default.useState(false);
1381
+ const prevWidgetMenuData = usePrevious(widgetMenuData);
1382
+ const prevInnerParamsRefCurrent = usePrevious(innerParamsRef?.current);
1383
+ const [
1384
+ {
1385
+ changedParams,
1386
+ usedParams,
1387
+ isLoading,
1388
+ isSilentReload,
1389
+ isReloadWithNoVeil,
1390
+ loadedData,
1391
+ error
1392
+ },
1393
+ dispatch
1394
+ ] = React__default.useReducer(reducer, getInitialState());
1395
+ const [renderedCallbackCalledOnce, setRenderedCallbackCalledOnce] = React__default.useState(false);
1396
+ const [changedInnerFlag, setChangedInnerFlag] = React__default.useState(false);
1397
+ const autoupdateDataRef = React__default.useRef({
1398
+ isPageHidden: false,
1399
+ reloadTimeout: void 0,
1400
+ lastReloadAt: void 0
1401
+ });
1402
+ autoupdateDataRef.current.isPageHidden = isPageHidden;
1403
+ const currentChangeParamsRef = React__default.useRef(null);
1404
+ const loadedDrillDownLevel = React__default.useMemo(() => {
1405
+ let level = Array.isArray(loadedData?.params.drillDownLevel) ? loadedData?.params.drillDownLevel[0] : loadedData?.params.drillDownLevel;
1406
+ level = String(level)?.trim() || "0";
1407
+ return Number(level) || 0;
1408
+ }, [loadedData?.params.drillDownLevel]);
1409
+ const [currentDrillDownLevel, setCurrentDrillDownLevel] = React__default.useState(loadedDrillDownLevel);
1410
+ const drillDownFilters = React__default.useMemo(
1411
+ () => loadedData?.params.drillDownFilters || [],
1412
+ [loadedData?.params.drillDownFilters]
1413
+ );
1414
+ const requestDataProps = React__default.useMemo(() => {
1415
+ let res = { ...initialData };
1416
+ let params = { ...initialData.params };
1417
+ if (!ignoreUsedParams && usedParams) {
1418
+ params = pick(initialData.params || {}, Object.keys(usedParams));
1419
+ }
1420
+ let localParams = hasChartTabChanged ? {} : changedParams || {};
1421
+ if (hasChangedActionParams && changedParams) {
1422
+ const localActionParams = pickActionParamsFromParams(changedParams, true);
1423
+ const newLocalActionParams = {};
1424
+ for (const [key, val] of Object.entries(localActionParams)) {
1425
+ if (key in params) {
1426
+ newLocalActionParams[key] = val;
1427
+ }
1428
+ }
1429
+ const localOnlyParams = pickExceptActionParamsFromParams(changedParams);
1430
+ localParams = { ...localOnlyParams, ...newLocalActionParams };
1431
+ }
1432
+ currentChangeParamsRef.current = localParams;
1433
+ if (hasChangedOuterProps || hasChangedOuterParams) {
1434
+ const filteredLocalParams = clearedOuterParams?.length ? omit(localParams, clearedOuterParams) : localParams;
1435
+ const newParams = hasChangedOuterParams && isEmpty(params) ? {
1436
+ ...params
1437
+ } : {
1438
+ ...filteredLocalParams,
1439
+ ...params
1440
+ };
1441
+ res = {
1442
+ ...res,
1443
+ params: newParams
1444
+ };
1445
+ } else {
1446
+ res = {
1447
+ ...res,
1448
+ params: {
1449
+ ...params,
1450
+ ...localParams
1451
+ }
1452
+ };
1453
+ }
1454
+ if (forceShowSafeChart) {
1455
+ res = {
1456
+ ...res,
1457
+ params: {
1458
+ ...res.params,
1459
+ [SHARED_URL_OPTIONS.SAFE_CHART]: "1"
1460
+ }
1461
+ };
1462
+ }
1463
+ return res;
1464
+ }, [
1465
+ ignoreUsedParams,
1466
+ hasChangedActionParams,
1467
+ changedParams,
1468
+ initialData,
1469
+ usedParams,
1470
+ hasChangedOuterProps,
1471
+ hasChangedOuterParams,
1472
+ hasChartTabChanged,
1473
+ clearedOuterParams,
1474
+ currentChangeParamsRef,
1475
+ forceShowSafeChart
1476
+ ]);
1477
+ const handleError = React__default.useCallback(
1478
+ ({ error: errorMsg }) => {
1479
+ const errorRequestId = "debug" in errorMsg && errorMsg.debug?.requestId || loadedData?.requestId;
1480
+ const traceId = "debug" in errorMsg && errorMsg.debug?.traceId || loadedData?.traceId;
1481
+ const formattedError = formatError({
1482
+ error: errorMsg,
1483
+ requestId: errorRequestId,
1484
+ traceId
1485
+ });
1486
+ dispatch({
1487
+ type: WIDGET_CHART_SET_WIDGET_ERROR,
1488
+ payload: {
1489
+ isLoading: false,
1490
+ isSilentReload: false,
1491
+ isReloadWithNoVeil: false,
1492
+ error: formattedError
1493
+ }
1494
+ });
1495
+ onChartRender?.(
1496
+ {
1497
+ status: "error",
1498
+ data: {
1499
+ error: errorMsg,
1500
+ loadedData
1501
+ }
1502
+ },
1503
+ dataProvider
1504
+ );
1505
+ },
1506
+ [loadedData, dispatch, onChartRender, dataProvider]
1507
+ );
1508
+ const cancelAllLoadingRequests = React__default.useCallback(
1509
+ (isComponentMounted) => {
1510
+ for (const [key, requestStatusData] of Object.entries(
1511
+ requestCancellationRef.current || {}
1512
+ )) {
1513
+ const needToCancelReq = requestStatusData.status === "loading" || requestStatusData.status === "unset" && requestId !== key || !isComponentMounted;
1514
+ if (needToCancelReq && requestStatusData.requestCancellation) {
1515
+ requestStatusData.status = "canceled";
1516
+ dataProvider.cancelRequests(requestStatusData.requestCancellation);
1517
+ }
1518
+ }
1519
+ },
1520
+ [requestCancellationRef, dataProvider, requestId]
1521
+ );
1522
+ const loadChartData = React__default.useCallback(async () => {
1523
+ if (!requestDataProps) {
1524
+ return;
1525
+ }
1526
+ cleanUpConflictingParameters({
1527
+ prev: prevInnerParamsRefCurrent,
1528
+ current: requestDataProps.params
1529
+ });
1530
+ if (changedInnerFlag) {
1531
+ setChangedInnerFlag(false);
1532
+ }
1533
+ dispatch({ type: WIDGET_CHART_SET_LOADING, payload: true });
1534
+ try {
1535
+ if (innerParamsRef) {
1536
+ innerParamsRef.current = requestDataProps.params;
1537
+ }
1538
+ if (hasChangedOuterParams) {
1539
+ dispatch({
1540
+ type: clearedOuterParams?.length ? WIDGET_CHART_SET_DATA_PARAMS : WIDGET_CHART_UPDATE_DATA_PARAMS,
1541
+ payload: requestDataProps.params
1542
+ });
1543
+ }
1544
+ if (hasChartTabChanged || hasChangedActionParams) {
1545
+ const newChangedParams = hasChangedActionParams && currentChangeParamsRef?.current || null;
1546
+ dispatch({ type: WIDGET_CHART_RESET_CHANGED_PARAMS, payload: newChangedParams });
1547
+ }
1548
+ let widgetConfig;
1549
+ if (enableActionParams) {
1550
+ widgetConfig = {
1551
+ actionParams: {
1552
+ enable: true
1553
+ }
1554
+ };
1555
+ }
1556
+ const getWidgetProps = widgetType === DashTabItemControlSourceType.External ? {
1557
+ ...requestDataProps,
1558
+ widgetType: DashTabItemControlSourceType.External,
1559
+ widgetConfig
1560
+ } : { ...requestDataProps, widgetConfig };
1561
+ const getWidget = dataProvider.getWidget.bind(dataProvider);
1562
+ const loadedWidgetData = await getWidget({
1563
+ props: getWidgetProps,
1564
+ requestId,
1565
+ requestCancellation: requestCancellationRef.current[requestId]?.requestCancellation || dataProvider.getRequestCancellation(),
1566
+ ...requestHeadersGetter ? { contextHeaders: requestHeadersGetter() } : {},
1567
+ widgetElement: rootNodeRef.current ?? void 0
1568
+ });
1569
+ const isCanceled = requestCancellationRef.current?.[requestId]?.status === "canceled";
1570
+ if (isCanceled || loadedWidgetData === void 0 || !rootNodeRef.current) {
1571
+ if (requestCancellationRef.current[requestId]) {
1572
+ delete requestCancellationRef.current[requestId];
1573
+ }
1574
+ return;
1575
+ }
1576
+ if (requestCancellationRef.current?.[requestId]?.status) {
1577
+ requestCancellationRef.current[requestId].status = "loaded";
1578
+ }
1579
+ if (usedParamsRef) {
1580
+ usedParamsRef.current = loadedWidgetData?.usedParams || null;
1581
+ }
1582
+ if (changedInnerFlag) {
1583
+ setChangedInnerFlag(false);
1584
+ }
1585
+ resolveMetaDataRef?.current?.(
1586
+ resolveWidgetDataRef?.current?.(
1587
+ loadedWidgetData
1588
+ )
1589
+ );
1590
+ await onBeforeChartLoad?.();
1591
+ onChartLoad?.({
1592
+ status: "success",
1593
+ data: {
1594
+ loadedData: loadedWidgetData
1595
+ }
1596
+ });
1597
+ dispatch({ type: WIDGET_CHART_SET_LOADED_DATA, payload: loadedWidgetData });
1598
+ } catch (err) {
1599
+ if (requestCancellationRef.current?.[requestId]?.status) {
1600
+ requestCancellationRef.current[requestId].status = "error";
1601
+ }
1602
+ handleError({
1603
+ error: DatalensChartkitCustomError.wrap(err, {
1604
+ code: err.code || ERROR_CODE.DATA_PROVIDER_ERROR
1605
+ })
1606
+ });
1607
+ onChartLoad?.({
1608
+ status: "error",
1609
+ data: {
1610
+ error: DatalensChartkitCustomError.wrap(err, {
1611
+ code: err.code || ERROR_CODE.DATA_PROVIDER_ERROR
1612
+ })
1613
+ }
1614
+ });
1615
+ resolveMetaDataRef?.current?.(resolveWidgetDataRef?.current?.(null));
1616
+ }
1617
+ }, [
1618
+ requestHeadersGetter,
1619
+ dispatch,
1620
+ changedInnerFlag,
1621
+ usedParamsRef,
1622
+ innerParamsRef,
1623
+ handleError,
1624
+ requestDataProps,
1625
+ requestId,
1626
+ requestCancellationRef,
1627
+ dataProvider,
1628
+ resolveMetaDataRef,
1629
+ resolveWidgetDataRef,
1630
+ hasChangedOuterParams,
1631
+ onChartLoad,
1632
+ clearedOuterParams,
1633
+ widgetType,
1634
+ rootNodeRef,
1635
+ enableActionParams
1636
+ ]);
1637
+ const reloadChart = React__default.useCallback(() => {
1638
+ const autoupdateIntervalMs = Number(autoupdateInterval) * 1e3;
1639
+ if (autoupdateIntervalMs) {
1640
+ const timeSinceLastReload = (/* @__PURE__ */ new Date()).getTime() - (autoupdateDataRef.current.lastReloadAt || 0);
1641
+ const reloadIntervalRemains = autoupdateIntervalMs - timeSinceLastReload;
1642
+ if ((!autoupdateDataRef.current.isPageHidden || isEmbeddedMode()) && reloadIntervalRemains <= 0 && autoupdateDataRef.current.reloadTimeout) {
1643
+ autoupdateDataRef.current.lastReloadAt = (/* @__PURE__ */ new Date()).getTime();
1644
+ loadChartData();
1645
+ }
1646
+ autoupdateDataRef.current.reloadTimeout = setTimeout(
1647
+ () => reloadChart(),
1648
+ autoupdateIntervalMs
1649
+ );
1650
+ }
1651
+ }, [loadChartData, autoupdateInterval]);
1652
+ React__default.useEffect(() => {
1653
+ clearTimeout(autoupdateDataRef.current.reloadTimeout);
1654
+ if (!isPageHidden) {
1655
+ reloadChart();
1656
+ }
1657
+ }, [isPageHidden, autoupdateInterval]);
1658
+ const intersectionChange = React__default.useCallback(
1659
+ (isVisible) => {
1660
+ if (isVisible) {
1661
+ setLoadingState({
1662
+ canBeLoaded: true,
1663
+ isInit: true
1664
+ });
1665
+ loadChartData();
1666
+ }
1667
+ },
1668
+ [loadChartData]
1669
+ );
1670
+ useIntersectionObserver({
1671
+ nodeRef: rootNodeRef,
1672
+ callback: intersectionChange,
1673
+ enable: !isInit && !canBeLoaded
1674
+ });
1675
+ React__default.useEffect(() => {
1676
+ return () => {
1677
+ const isComponentMounted = isMounted();
1678
+ if (!isComponentMounted) {
1679
+ cancelAllLoadingRequests(isComponentMounted);
1680
+ }
1681
+ };
1682
+ }, [isMounted, cancelAllLoadingRequests]);
1683
+ React__default.useEffect(() => {
1684
+ if (!canBeLoaded || isInit) {
1685
+ return;
1686
+ }
1687
+ setIsInit(true);
1688
+ loadChartData();
1689
+ }, [canBeLoaded, isInit, loadChartData]);
1690
+ React__default.useEffect(() => {
1691
+ const changedOuter = hasChangedOuterProps || hasChangedOuterParams || hasChartTabChanged;
1692
+ const hasChanged = changedOuter || changedInnerFlag;
1693
+ if (!hasChanged || !isInit) {
1694
+ return;
1695
+ }
1696
+ cancelAllLoadingRequests(true);
1697
+ dispatch({ type: WIDGET_CHART_SET_LOADING, payload: true });
1698
+ requestCancellationRef.current[requestId] = {
1699
+ status: "loading",
1700
+ requestCancellation: requestCancellationRef.current[requestId]?.requestCancellation || dataProvider.getRequestCancellation()
1701
+ };
1702
+ loadChartData();
1703
+ }, [
1704
+ requestId,
1705
+ requestCancellationRef,
1706
+ cancelAllLoadingRequests,
1707
+ loadChartData,
1708
+ changedInnerFlag,
1709
+ isInit,
1710
+ hasChangedOuterProps,
1711
+ hasChangedOuterParams,
1712
+ hasChartTabChanged,
1713
+ dispatch
1714
+ ]);
1715
+ React__default.useEffect(() => {
1716
+ const isChanged = !isEqual(widgetMenuData, prevWidgetMenuData);
1717
+ setIsWidgetMenuDataChanged(isChanged);
1718
+ }, [widgetMenuData, prevWidgetMenuData]);
1719
+ const handleRenderChart = React__default.useCallback(
1720
+ (renderedData) => {
1721
+ if (!loadedData) {
1722
+ return;
1723
+ }
1724
+ if (!renderedData) {
1725
+ if (!renderedCallbackCalledOnce) {
1726
+ onChartRender?.(
1727
+ {
1728
+ status: null
1729
+ },
1730
+ dataProvider
1731
+ );
1732
+ setRenderedCallbackCalledOnce(true);
1733
+ }
1734
+ return;
1735
+ }
1736
+ if (widgetDataRef) {
1737
+ widgetDataRef.current = renderedData.widget || null;
1738
+ }
1739
+ const needSetMenuConfigData = renderedData.widget && widgetDataRef?.current && "xAxis" in renderedData.widget && !EXCLUDE_CHART_WITH_AXIS_FOR_MENU_RERENDER.includes(loadedData.type);
1740
+ if (needSetMenuConfigData) {
1741
+ setWidgetMenuData({
1742
+ xAxis: (widgetDataRef?.current).xAxis || null
1743
+ });
1744
+ }
1745
+ if (widgetRenderTimeRef) {
1746
+ widgetRenderTimeRef.current = renderedData.widgetRendering || null;
1747
+ }
1748
+ setYandexMapAPIWaiting(renderedData?.yandexMapAPIWaiting);
1749
+ if (typeof loadedData?.uiSandboxOptions?.totalTimeLimit !== "undefined") {
1750
+ delete loadedData.uiSandboxOptions.totalTimeLimit;
1751
+ }
1752
+ onChartRender?.(
1753
+ {
1754
+ status: "success",
1755
+ data: {
1756
+ widgetData: renderedData.widget || null,
1757
+ loadedData
1758
+ // for ChartStats
1759
+ }
1760
+ },
1761
+ dataProvider
1762
+ );
1763
+ },
1764
+ [
1765
+ loadedData,
1766
+ widgetRenderTimeRef,
1767
+ widgetDataRef,
1768
+ renderedCallbackCalledOnce,
1769
+ onChartRender,
1770
+ dataProvider
1771
+ ]
1772
+ );
1773
+ const handleChartkitReflow = React__default.useCallback(() => {
1774
+ chartKitRef.current?.reflow?.();
1775
+ }, [chartKitRef]);
1776
+ const setLoadingProps = React__default.useCallback(
1777
+ (arg) => {
1778
+ if (!arg) {
1779
+ return;
1780
+ }
1781
+ dispatch({
1782
+ type: WIDGET_CHART_SET_LOAD_SETTINGS,
1783
+ payload: {
1784
+ isSilentReload: Boolean(arg.silentLoading),
1785
+ isReloadWithNoVeil: Boolean(arg.noVeil)
1786
+ }
1787
+ });
1788
+ },
1789
+ [dispatch]
1790
+ );
1791
+ const loadChart = React__default.useCallback(() => {
1792
+ if (!canBeLoaded || !isInit) {
1793
+ return;
1794
+ }
1795
+ loadChartData();
1796
+ }, [canBeLoaded, isInit, loadChartData]);
1797
+ const loadControls = React__default.useCallback(
1798
+ async (params) => {
1799
+ if (!dataProvider.getControls && typeof dataProvider.getControls !== "function") {
1800
+ console.warn("ChartKit: getControls called but not defined in dataProvider");
1801
+ return null;
1802
+ }
1803
+ try {
1804
+ const loadedControlsData = await dataProvider.getControls({
1805
+ props: { ...initialData, params },
1806
+ requestId,
1807
+ requestCancellation: requestCancellationRef.current[requestId]?.requestCancellation || dataProvider.getRequestCancellation(),
1808
+ ...requestHeadersGetter ? { contextHeaders: requestHeadersGetter() } : {}
1809
+ });
1810
+ if (!rootNodeRef.current) {
1811
+ return null;
1812
+ }
1813
+ return loadedControlsData;
1814
+ } catch (err) {
1815
+ handleError({
1816
+ error: DatalensChartkitCustomError.wrap(err, {
1817
+ code: err.code || ERROR_CODE.DATA_PROVIDER_ERROR
1818
+ })
1819
+ });
1820
+ }
1821
+ return null;
1822
+ },
1823
+ [
1824
+ dataProvider,
1825
+ initialData,
1826
+ requestId,
1827
+ requestCancellationRef,
1828
+ rootNodeRef,
1829
+ handleError,
1830
+ requestHeadersGetter
1831
+ ]
1832
+ );
1833
+ const handleChange = useMemoCallback(
1834
+ // eslint-disable-next-line complexity
1835
+ (changedData, _state, callExternalOnChange, callChangeByClick) => {
1836
+ if (changedData.type === "PARAMS_CHANGED") {
1837
+ let newParams = null;
1838
+ let additionalParams = {};
1839
+ if ("params" in changedData.data) {
1840
+ const newDrillDownLevel = Number(changedData.data.params.drillDownLevel);
1841
+ if (!isNaN(newDrillDownLevel) && (currentDrillDownLevel || newDrillDownLevel) && currentDrillDownLevel !== newDrillDownLevel) {
1842
+ additionalParams = {
1843
+ _page: String(START_PAGE)
1844
+ };
1845
+ }
1846
+ const mapParam = (val) => {
1847
+ if (typeof val === "string") {
1848
+ return unescape(val);
1849
+ }
1850
+ return val;
1851
+ };
1852
+ newParams = Object.entries(changedData.data.params).reduce(
1853
+ (acc, [key, value]) => {
1854
+ acc[key] = Array.isArray(value) ? value.map(mapParam) : mapParam(value);
1855
+ return acc;
1856
+ },
1857
+ {}
1858
+ );
1859
+ newParams = { ...newParams, ...additionalParams };
1860
+ if (!enableActionParams) {
1861
+ newParams = pickExceptActionParamsFromParams(newParams);
1862
+ }
1863
+ }
1864
+ if (newParams?.drillDownLevel !== void 0) {
1865
+ setCurrentDrillDownLevel(
1866
+ Number(newParams?.drillDownLevel || 0)
1867
+ );
1868
+ }
1869
+ const needUpdateChartParams = !isEqual(initialData.params, newParams) || callChangeByClick;
1870
+ const needClearParamsQueue = !isAllParamsEmpty(
1871
+ pickActionParamsFromParams(prevInnerParamsRefCurrent || void 0)
1872
+ ) && isAllParamsEmpty(newParams);
1873
+ if (newParams && needUpdateChartParams) {
1874
+ const actionName = isEmpty(newParams) && callChangeByClick ? WIDGET_CHART_RESET_CHANGED_PARAMS : WIDGET_CHART_UPDATE_DATA_PARAMS;
1875
+ dispatch({
1876
+ type: actionName,
1877
+ payload: newParams
1878
+ });
1879
+ setChangedInnerFlag(true);
1880
+ }
1881
+ if (newParams && typeof onInnerParamsChanged === "function") {
1882
+ onInnerParamsChanged(newParams);
1883
+ }
1884
+ if (callExternalOnChange && typeof handleChangeCallback === "function" && newParams) {
1885
+ const options = needClearParamsQueue ? {
1886
+ action: "removeItem"
1887
+ } : void 0;
1888
+ handleChangeCallback({
1889
+ type: "PARAMS_CHANGED",
1890
+ data: {
1891
+ params: newParams
1892
+ },
1893
+ options
1894
+ });
1895
+ }
1896
+ } else if (callExternalOnChange && typeof handleChangeCallback === "function") {
1897
+ const res = { ...changedData };
1898
+ if (enableActionParams && "params" in res.data) {
1899
+ res.data.params = pickExceptActionParamsFromParams(
1900
+ res.data.params
1901
+ );
1902
+ }
1903
+ handleChangeCallback(res);
1904
+ }
1905
+ },
1906
+ []
1907
+ );
1908
+ const handleRetry = React__default.useCallback(
1909
+ (data) => {
1910
+ if (data) {
1911
+ if ("params" in data) {
1912
+ handleChange({ type: "PARAMS_CHANGED", data }, { forceUpdate: true }, false);
1913
+ }
1914
+ } else {
1915
+ loadChartData();
1916
+ }
1917
+ },
1918
+ [loadChartData, handleChange]
1919
+ );
1920
+ const { runActivity } = useChartActivities({
1921
+ requestId,
1922
+ requestHeadersGetter,
1923
+ dataProvider,
1924
+ initialData,
1925
+ onChange: handleChange,
1926
+ onActivityComplete
1927
+ });
1928
+ return {
1929
+ loadedData,
1930
+ isLoading,
1931
+ isSilentReload,
1932
+ isReloadWithNoVeil,
1933
+ error,
1934
+ handleRenderChart,
1935
+ handleChartkitReflow,
1936
+ handleChange,
1937
+ handleError,
1938
+ handleRetry,
1939
+ loadChartData: loadChart,
1940
+ reloadChart: loadChartData,
1941
+ setLoadingProps,
1942
+ loadControls,
1943
+ drillDownFilters,
1944
+ drillDownLevel: currentDrillDownLevel,
1945
+ setCurrentDrillDownLevel,
1946
+ yandexMapAPIWaiting,
1947
+ setCanBeLoaded,
1948
+ isInit,
1949
+ dataProps: requestDataProps,
1950
+ isWidgetMenuDataChanged,
1951
+ runActivity
1952
+ };
1953
+ };
1954
+ const b$4 = block(COMPONENT_CLASSNAME);
1955
+ const influencingProps$2 = [
1956
+ "dataProvider",
1957
+ "id",
1958
+ "source",
1959
+ "params",
1960
+ "config"
1961
+ ];
1962
+ const Chart = (props) => {
1963
+ const {
1964
+ dataProvider,
1965
+ forwardedRef,
1966
+ noLoader,
1967
+ noVeil,
1968
+ noControls,
1969
+ nonBodyScroll,
1970
+ transformLoadedData,
1971
+ splitTooltip,
1972
+ compactLoader,
1973
+ loaderDelay,
1974
+ config,
1975
+ id: chartId,
1976
+ revId: chartRevId,
1977
+ menuType,
1978
+ customMenuOptions,
1979
+ onChartRender,
1980
+ onChartLoad,
1981
+ ignoreUsedParams,
1982
+ onInnerParamsChanged,
1983
+ disableChartLoader,
1984
+ actionParamsEnabled,
1985
+ enableAssistant,
1986
+ isPageHidden,
1987
+ autoupdateInterval,
1988
+ workbookId,
1989
+ forceShowSafeChart,
1990
+ paneSplitOrientation,
1991
+ widgetDashState,
1992
+ onBeforeChartLoad,
1993
+ onActivityComplete
1994
+ } = props;
1995
+ const innerParamsRef = React__default.useRef(null);
1996
+ const prevInnerParams = usePrevious(innerParamsRef?.current);
1997
+ const chartkitParams = React__default.useMemo(
1998
+ () => removeEmptyNDatasetFieldsProperties({ ...props.params }),
1999
+ [props.params]
2000
+ );
2001
+ const initialData = React__default.useMemo(
2002
+ () => getDataProviderData({
2003
+ id: chartId,
2004
+ config,
2005
+ params: chartkitParams,
2006
+ workbookId
2007
+ }),
2008
+ [config, chartId, chartkitParams, workbookId]
2009
+ );
2010
+ const savedForFetchProps = React__default.useMemo(() => pick(props, influencingProps$2), [props]);
2011
+ const prevSavedProps = usePrevious(savedForFetchProps);
2012
+ const hasChangedOuterProps = !prevSavedProps || !isEqual(omit(prevSavedProps, ["params"]), omit(pick(props, influencingProps$2), ["params"]));
2013
+ const hasChangedOuterParams = !prevSavedProps || !isEqual(prevSavedProps.params, props.params);
2014
+ const clearedOuterParams = prevSavedProps ? Object.keys(omit(prevSavedProps.params, Object.keys(props?.params || {}))) : [];
2015
+ const hasChangedInnerParamsFromInside = React__default.useMemo(() => {
2016
+ return prevInnerParams && !isEqual(innerParamsRef?.current, prevInnerParams);
2017
+ }, [prevInnerParams, innerParamsRef?.current]);
2018
+ const requestId = React__default.useMemo(
2019
+ () => settings_default.requestIdGenerator(DL.REQUEST_ID_PREFIX),
2020
+ [hasChangedOuterProps, hasChangedOuterParams, hasChangedInnerParamsFromInside]
2021
+ );
2022
+ const rootNodeRef = React__default.useRef(props.rootNodeRef?.current || null);
2023
+ const chartRevIdRef = React__default.useRef();
2024
+ const widgetDataRef = React__default.useRef(null);
2025
+ const widgetRenderTimeRef = React__default.useRef(null);
2026
+ const chartKitRef = React__default.useRef(null);
2027
+ const [initialParams, setInitialParams] = React__default.useState({});
2028
+ const renderPluginLoader = React__default.useMemo(() => {
2029
+ return disableChartLoader ? () => null : void 0;
2030
+ }, [disableChartLoader]);
2031
+ const requestCancellationRef = React__default.useRef({
2032
+ [requestId]: {
2033
+ requestCancellation: dataProvider.getRequestCancellation(),
2034
+ status: "unset"
2035
+ }
2036
+ });
2037
+ React__default.useEffect(() => {
2038
+ if (chartRevIdRef.current !== chartRevId) {
2039
+ chartRevIdRef.current = chartRevId;
2040
+ }
2041
+ }, [chartRevId]);
2042
+ React__default.useEffect(() => {
2043
+ requestCancellationRef.current[requestId] = {
2044
+ requestCancellation: dataProvider.getRequestCancellation(),
2045
+ status: "unset"
2046
+ };
2047
+ }, [requestCancellationRef, dataProvider, requestId]);
2048
+ const {
2049
+ loadedData,
2050
+ isLoading,
2051
+ isSilentReload,
2052
+ isReloadWithNoVeil,
2053
+ error,
2054
+ handleRenderChart,
2055
+ handleChange,
2056
+ handleRetry,
2057
+ handleError,
2058
+ loadControls,
2059
+ drillDownFilters,
2060
+ drillDownLevel,
2061
+ yandexMapAPIWaiting,
2062
+ dataProps,
2063
+ isWidgetMenuDataChanged,
2064
+ reloadChart,
2065
+ runActivity,
2066
+ handleChartkitReflow
2067
+ } = useLoadingChart({
2068
+ chartKitRef,
2069
+ dataProvider,
2070
+ initialData,
2071
+ requestId,
2072
+ requestCancellationRef,
2073
+ innerParamsRef,
2074
+ rootNodeRef,
2075
+ hasChangedOuterProps,
2076
+ hasChangedOuterParams,
2077
+ widgetDataRef,
2078
+ widgetRenderTimeRef,
2079
+ onChartRender,
2080
+ onChartLoad,
2081
+ ignoreUsedParams,
2082
+ clearedOuterParams,
2083
+ onInnerParamsChanged,
2084
+ enableActionParams: actionParamsEnabled,
2085
+ isPageHidden,
2086
+ autoupdateInterval,
2087
+ forceShowSafeChart,
2088
+ onBeforeChartLoad,
2089
+ onActivityComplete
2090
+ });
2091
+ React__default.useEffect(() => {
2092
+ setInitialParams(loadedData?.defaultParams || {});
2093
+ }, [loadedData?.defaultParams]);
2094
+ const { mods, widgetBodyClassName, hasHiddenClassMod, veil, showLoader, widgetType } = React__default.useMemo(
2095
+ () => getPreparedConstants({
2096
+ isLoading,
2097
+ error,
2098
+ loadedData,
2099
+ isReloadWithNoVeil,
2100
+ noLoader,
2101
+ noVeil,
2102
+ isSilentReload,
2103
+ disableChartLoader
2104
+ }),
2105
+ [
2106
+ isLoading,
2107
+ error,
2108
+ loadedData,
2109
+ isReloadWithNoVeil,
2110
+ noLoader,
2111
+ noVeil,
2112
+ compactLoader,
2113
+ loaderDelay,
2114
+ disableChartLoader
2115
+ ]
2116
+ );
2117
+ React__default.useEffect(() => {
2118
+ if (isEmbeddedMode()) {
2119
+ const handleMessageEvent = (event) => {
2120
+ if (event.data.type === CHART_RELOAD_EVENT) {
2121
+ reloadChart();
2122
+ }
2123
+ };
2124
+ window.addEventListener("message", handleMessageEvent);
2125
+ return () => {
2126
+ window.removeEventListener("message", handleMessageEvent);
2127
+ };
2128
+ }
2129
+ return void 0;
2130
+ }, [reloadChart]);
2131
+ React__default.useImperativeHandle(
2132
+ forwardedRef,
2133
+ () => ({
2134
+ reflow: handleChartkitReflow,
2135
+ reload: () => {
2136
+ reloadChart();
2137
+ }
2138
+ }),
2139
+ [handleChartkitReflow, reloadChart]
2140
+ );
2141
+ return /* @__PURE__ */ jsxs("div", { ref: rootNodeRef, className: b$4(mods), "data-qa": ChartkitMenuDialogsQA.chartWidget, children: [
2142
+ /* @__PURE__ */ jsx(DebugInfoTool, { data: [{ label: "chartId", value: chartId || "" }] }),
2143
+ /* @__PURE__ */ jsx(
2144
+ Content,
2145
+ {
2146
+ initialParams,
2147
+ dataProps,
2148
+ dataProvider,
2149
+ showLoader,
2150
+ compactLoader,
2151
+ veil,
2152
+ loaderDelay,
2153
+ widgetBodyClassName,
2154
+ hasHiddenClassMod,
2155
+ chartId,
2156
+ chartRevIdRef,
2157
+ noControls,
2158
+ transformLoadedData,
2159
+ splitTooltip,
2160
+ nonBodyScroll,
2161
+ requestId,
2162
+ error,
2163
+ onRender: handleRenderChart,
2164
+ onChange: handleChange,
2165
+ onRetry: handleRetry,
2166
+ onError: handleError,
2167
+ loadedData,
2168
+ forwardedRef: chartKitRef,
2169
+ getControls: loadControls,
2170
+ runActivity,
2171
+ drillDownFilters,
2172
+ drillDownLevel,
2173
+ widgetType,
2174
+ menuType,
2175
+ customMenuOptions,
2176
+ widgetDataRef,
2177
+ widgetRenderTimeRef,
2178
+ yandexMapAPIWaiting,
2179
+ isWidgetMenuDataChanged,
2180
+ renderPluginLoader,
2181
+ paneSplitOrientation,
2182
+ widgetDashState,
2183
+ rootNodeRef,
2184
+ needRenderContentControls: true,
2185
+ enableAssistant,
2186
+ reload: reloadChart
2187
+ }
2188
+ )
2189
+ ] });
2190
+ };
2191
+ function useChangedValue(value, comparator = isEqual) {
2192
+ const prevValueRef = React__default.useRef(value);
2193
+ const isChanged = !comparator(prevValueRef.current, value);
2194
+ if (isChanged) {
2195
+ prevValueRef.current = value;
2196
+ }
2197
+ return isChanged;
2198
+ }
2199
+ const useResizeObserver = (options) => {
2200
+ const { rootNodeRef, enable, onResize } = options;
2201
+ const isInitResizeCall = React__default.useRef(true);
2202
+ const resizeObserver = React__default.useRef(null);
2203
+ const previousWidthValue = React__default.useRef(null);
2204
+ const onResizeRef = React__default.useRef(onResize);
2205
+ onResizeRef.current = onResize;
2206
+ const resizeObserverHandler = React__default.useCallback(() => {
2207
+ if (!rootNodeRef.current) {
2208
+ return;
2209
+ }
2210
+ const { clientWidth } = rootNodeRef.current;
2211
+ if (isInitResizeCall.current) {
2212
+ isInitResizeCall.current = false;
2213
+ previousWidthValue.current = clientWidth;
2214
+ return;
2215
+ }
2216
+ if (previousWidthValue.current === clientWidth) {
2217
+ return;
2218
+ }
2219
+ previousWidthValue.current = clientWidth;
2220
+ onResizeRef.current();
2221
+ }, [onResizeRef, previousWidthValue, rootNodeRef, isInitResizeCall]);
2222
+ const disconnectResizeObserver = React__default.useCallback(() => {
2223
+ if (resizeObserver.current) {
2224
+ resizeObserver.current.disconnect();
2225
+ resizeObserver.current = null;
2226
+ isInitResizeCall.current = true;
2227
+ previousWidthValue.current = null;
2228
+ }
2229
+ }, [resizeObserver, isInitResizeCall]);
2230
+ React__default.useLayoutEffect(() => {
2231
+ if (!rootNodeRef.current) {
2232
+ return;
2233
+ }
2234
+ if (!enable) {
2235
+ disconnectResizeObserver();
2236
+ return;
2237
+ } else if (!resizeObserver.current) {
2238
+ previousWidthValue.current = null;
2239
+ resizeObserver.current = new ResizeObserver(resizeObserverHandler);
2240
+ resizeObserver.current.observe(rootNodeRef.current);
2241
+ }
2242
+ }, [enable, rootNodeRef, resizeObserver, resizeObserverHandler, disconnectResizeObserver]);
2243
+ React__default.useEffect(() => {
2244
+ return () => {
2245
+ if (resizeObserver.current) {
2246
+ resizeObserver.current.disconnect();
2247
+ resizeObserver.current = null;
2248
+ }
2249
+ };
2250
+ }, [resizeObserver]);
2251
+ };
2252
+ const WIDGET_RESIZE_DEBOUNCE_TIMEOUT$1 = 600;
2253
+ const useLoadingChartSelector = (props) => {
2254
+ const {
2255
+ dataProvider,
2256
+ initialData,
2257
+ requestId,
2258
+ requestCancellationRef,
2259
+ rootNodeRef,
2260
+ hasChangedOuterProps,
2261
+ hasChangedOuterParams,
2262
+ adjustWidgetLayout: adjustWidgetLayout$1,
2263
+ widgetId,
2264
+ gridLayout,
2265
+ layout,
2266
+ noVeil,
2267
+ noLoader,
2268
+ onStateAndParamsChange,
2269
+ chartKitRef,
2270
+ width,
2271
+ height,
2272
+ usedParamsRef,
2273
+ innerParamsRef,
2274
+ widgetDataRef,
2275
+ usageType,
2276
+ chartId,
2277
+ widgetType,
2278
+ settings,
2279
+ data,
2280
+ onActivityComplete,
2281
+ updateTabsWithGlobalState
2282
+ } = props;
2283
+ const [isRendered, setIsRendered] = React__default.useState(false);
2284
+ const resolveMetaDataRef = React__default.useRef();
2285
+ const resolveWidgetDataRef = React__default.useRef();
2286
+ const extDashkitContext = React__default.useContext(ExtendedDashKitContext);
2287
+ const dataProviderContextGetter = extDashkitContext?.dataProviderContextGetter || void 0;
2288
+ const history = useHistory();
2289
+ const loadOnlyVisibleCharts = settings.loadOnlyVisibleCharts ?? true;
2290
+ const handleUpdate = useBeforeLoad(props.onBeforeLoad);
2291
+ const adjustLayout = React__default.useCallback(
2292
+ (needSetDefault) => {
2293
+ adjustWidgetLayout({
2294
+ widgetId,
2295
+ needSetDefault,
2296
+ rootNode: rootNodeRef,
2297
+ gridLayout,
2298
+ layout,
2299
+ cb: adjustWidgetLayout$1
2300
+ });
2301
+ },
2302
+ [widgetId, rootNodeRef, gridLayout, adjustWidgetLayout$1]
2303
+ );
2304
+ const handleRenderChartWidget = React__default.useCallback(
2305
+ (renderedData) => {
2306
+ if (renderedData?.status === "success") {
2307
+ pushStats(renderedData, "dash", dataProvider);
2308
+ }
2309
+ const newAutoHeight = Boolean(props.data.autoHeight);
2310
+ adjustLayout(!newAutoHeight);
2311
+ setIsRendered(true);
2312
+ if (isReadyToReflowRef.current && handleUpdate) {
2313
+ requestAnimationFrame(() => handleUpdate());
2314
+ }
2315
+ },
2316
+ [adjustLayout, dataProvider, props.data.autoHeight]
2317
+ );
2318
+ const handleChangeCallback = React__default.useCallback(
2319
+ (changedProps) => {
2320
+ if (changedProps.type === "PARAMS_CHANGED") {
2321
+ updateTabsWithGlobalState?.({
2322
+ params: changedProps.data.params,
2323
+ selectorItem: {
2324
+ type: DashTabItemType.Control,
2325
+ data,
2326
+ id: widgetId
2327
+ },
2328
+ appliedSelectorsIds: [widgetId]
2329
+ });
2330
+ onStateAndParamsChange({ params: changedProps.data.params || {} });
2331
+ }
2332
+ },
2333
+ [data, onStateAndParamsChange, updateTabsWithGlobalState, widgetId]
2334
+ );
2335
+ const handleChartLoad = React__default.useCallback(
2336
+ ({ data: data2, status }) => {
2337
+ if (status === "error" || data2?.loadedData?.data?.error) {
2338
+ adjustLayout(false);
2339
+ return;
2340
+ }
2341
+ const newAutoHeight = Boolean(props.data.autoHeight);
2342
+ adjustLayout(!newAutoHeight);
2343
+ },
2344
+ [adjustLayout, props.data.autoHeight]
2345
+ );
2346
+ const requestHeadersGetter = React__default.useMemo(() => {
2347
+ return dataProviderContextGetter?.bind(void 0, widgetId);
2348
+ }, [widgetId, dataProviderContextGetter]);
2349
+ const {
2350
+ loadedData,
2351
+ isLoading,
2352
+ isSilentReload,
2353
+ isReloadWithNoVeil,
2354
+ error,
2355
+ handleChartkitReflow,
2356
+ handleChange,
2357
+ handleError,
2358
+ handleRetry,
2359
+ loadChartData,
2360
+ setLoadingProps,
2361
+ setCanBeLoaded,
2362
+ isInit,
2363
+ dataProps,
2364
+ handleRenderChart,
2365
+ loadControls,
2366
+ runActivity
2367
+ } = useLoadingChart({
2368
+ dataProvider,
2369
+ requestHeadersGetter,
2370
+ initialData,
2371
+ requestId,
2372
+ requestCancellationRef,
2373
+ rootNodeRef,
2374
+ hasChangedOuterProps,
2375
+ hasChangedOuterParams,
2376
+ onChartLoad: handleChartLoad,
2377
+ onChartRender: handleRenderChartWidget,
2378
+ chartKitRef,
2379
+ resolveMetaDataRef,
2380
+ resolveWidgetDataRef,
2381
+ usedParamsRef,
2382
+ innerParamsRef,
2383
+ handleChangeCallback,
2384
+ widgetDataRef,
2385
+ widgetType,
2386
+ onActivityComplete
2387
+ });
2388
+ const {
2389
+ mods,
2390
+ widgetBodyClassName,
2391
+ hasHiddenClassMod,
2392
+ showLoader,
2393
+ showOverlayWithControlsOnEdit
2394
+ } = React__default.useMemo(
2395
+ () => getPreparedConstants({
2396
+ isLoading,
2397
+ error,
2398
+ loadedData,
2399
+ isReloadWithNoVeil,
2400
+ noLoader,
2401
+ noVeil,
2402
+ isSilentReload,
2403
+ history,
2404
+ widgetId
2405
+ }),
2406
+ [
2407
+ isLoading,
2408
+ error,
2409
+ loadedData,
2410
+ isReloadWithNoVeil,
2411
+ noLoader,
2412
+ noVeil,
2413
+ isSilentReload,
2414
+ history,
2415
+ widgetId
2416
+ ]
2417
+ );
2418
+ const widgetParamsDefaults = React__default.useMemo(() => {
2419
+ const item = extDashkitContext?.config?.items.find(
2420
+ ({ id }) => id === widgetId
2421
+ );
2422
+ return item?.defaults || {};
2423
+ }, [extDashkitContext?.config, widgetId]);
2424
+ const isReadyToReflowRef = React__default.useRef(false);
2425
+ isReadyToReflowRef.current = isInit && !isLoading && isRendered;
2426
+ const debouncedChartReflow = React__default.useCallback(
2427
+ debounce(() => {
2428
+ handleChartkitReflow();
2429
+ if (isReadyToReflowRef.current && handleUpdate) {
2430
+ requestAnimationFrame(() => handleUpdate());
2431
+ }
2432
+ }, WIDGET_RESIZE_DEBOUNCE_TIMEOUT$1),
2433
+ [handleChartkitReflow]
2434
+ );
2435
+ const getCurrentWidgetResolvedMetaInfo = React__default.useCallback(
2436
+ (loadData) => {
2437
+ const meta = getWidgetSelectorMeta({
2438
+ loadedData: loadData,
2439
+ id: widgetId,
2440
+ chartId,
2441
+ error,
2442
+ widgetParamsDefaults,
2443
+ data
2444
+ });
2445
+ if (resolveMetaDataRef.current) {
2446
+ resolveMetaDataRef.current(meta);
2447
+ }
2448
+ },
2449
+ [
2450
+ resolveMetaDataRef.current,
2451
+ loadedData,
2452
+ widgetId,
2453
+ chartId,
2454
+ error,
2455
+ widgetParamsDefaults,
2456
+ data
2457
+ ]
2458
+ );
2459
+ const handleGetWidgetMeta = React__default.useCallback(
2460
+ (argResolve) => {
2461
+ resolveMetaDataRef.current = argResolve;
2462
+ resolveWidgetDataRef.current = (resolvingData) => {
2463
+ getCurrentWidgetResolvedMetaInfo(resolvingData);
2464
+ };
2465
+ if (!isInit) {
2466
+ setCanBeLoaded(true);
2467
+ }
2468
+ if (!loadedData) {
2469
+ if (error) {
2470
+ resolveWidgetDataRef.current(null);
2471
+ }
2472
+ return;
2473
+ }
2474
+ resolveWidgetDataRef.current(loadedData);
2475
+ },
2476
+ [
2477
+ error,
2478
+ loadedData,
2479
+ setCanBeLoaded,
2480
+ isInit,
2481
+ getCurrentWidgetResolvedMetaInfo,
2482
+ resolveMetaDataRef,
2483
+ resolveWidgetDataRef
2484
+ ]
2485
+ );
2486
+ const isAutoHeightEnabled = Boolean(props.data.autoHeight) || Boolean(error);
2487
+ const autoHeightEnabled = isInit && isAutoHeightEnabled;
2488
+ const debounceResizeAdjustLayot = React__default.useCallback(
2489
+ debounce(() => {
2490
+ adjustLayout(!isAutoHeightEnabled);
2491
+ }, WIDGET_RESIZE_DEBOUNCE_TIMEOUT$1),
2492
+ [adjustLayout, isAutoHeightEnabled]
2493
+ );
2494
+ useResizeObserver({
2495
+ onResize: debounceResizeAdjustLayot,
2496
+ rootNodeRef,
2497
+ enable: autoHeightEnabled
2498
+ });
2499
+ React__default.useEffect(() => {
2500
+ debouncedChartReflow();
2501
+ }, [width, height, debouncedChartReflow]);
2502
+ const currentLayout = layout.find(({ i }) => i === widgetId);
2503
+ React__default.useEffect(() => {
2504
+ if (isInit && !isLoading && isRendered) {
2505
+ handleUpdate?.();
2506
+ }
2507
+ }, [currentLayout?.x, currentLayout?.y, isLoading, isInit, isRendered, handleUpdate]);
2508
+ React__default.useEffect(() => {
2509
+ if (loadOnlyVisibleCharts === false) {
2510
+ setCanBeLoaded(true);
2511
+ }
2512
+ }, [setCanBeLoaded, loadOnlyVisibleCharts]);
2513
+ return {
2514
+ loadedData,
2515
+ isLoading,
2516
+ isSilentReload,
2517
+ isReloadWithNoVeil,
2518
+ isAutoHeightEnabled,
2519
+ error,
2520
+ handleChartkitReflow,
2521
+ handleChange,
2522
+ handleError,
2523
+ handleRetry,
2524
+ handleUpdate: debounceResizeAdjustLayot,
2525
+ handleGetWidgetMeta,
2526
+ mods,
2527
+ widgetBodyClassName,
2528
+ hasHiddenClassMod,
2529
+ showLoader,
2530
+ loadChartData,
2531
+ setLoadingProps,
2532
+ showOverlayWithControlsOnEdit,
2533
+ dataProps,
2534
+ handleRenderChart,
2535
+ getControls: loadControls,
2536
+ runActivity
2537
+ };
2538
+ };
2539
+ const b$3 = block(COMPONENT_CLASSNAME);
2540
+ const influencingProps$1 = [
2541
+ "dataProvider",
2542
+ "id",
2543
+ "source",
2544
+ "params",
2545
+ "config"
2546
+ ];
2547
+ const Control = ExtensionsManager.getWithWrapper(
2548
+ "control"
2549
+ );
2550
+ const ChartSelector = (props) => {
2551
+ const {
2552
+ dataProvider,
2553
+ forwardedRef,
2554
+ nonBodyScroll,
2555
+ id: chartId,
2556
+ config,
2557
+ widgetId,
2558
+ workbookId
2559
+ } = props;
2560
+ const skipReload = useSelector(selectSkipReload);
2561
+ const chartkitParams = React__default.useMemo(() => {
2562
+ let res = removeEmptyNDatasetFieldsProperties(props.params);
2563
+ res = pickExceptActionParamsFromParams(res);
2564
+ return res;
2565
+ }, [props.params]);
2566
+ const prevCurrentDefaults = usePrevious(props.defaults);
2567
+ const hasCurrentDefaultsChanged = prevCurrentDefaults && !isEqual(props.defaults, prevCurrentDefaults);
2568
+ const initialData = React__default.useMemo(
2569
+ () => getDataProviderData({
2570
+ id: chartId,
2571
+ config,
2572
+ params: chartkitParams,
2573
+ workbookId
2574
+ }),
2575
+ [chartId, chartkitParams, config, workbookId]
2576
+ );
2577
+ const usedParamsRef = React__default.useRef(null);
2578
+ const innerParamsRef = React__default.useRef(null);
2579
+ const hasInfluencingPropsChanged = useChangedValue(
2580
+ omit(pick(props, influencingProps$1), "params")
2581
+ );
2582
+ const hasParamsChanged = useChangedValue(props.params);
2583
+ const hasInnerParamsChanged = useChangedValue(innerParamsRef?.current);
2584
+ const hasChartIdChanged = useChangedValue(chartId);
2585
+ const hasChangedOuterProps = hasInfluencingPropsChanged || hasChartIdChanged;
2586
+ const hasChangedOuterParams = React__default.useMemo(() => {
2587
+ let changedParams = hasParamsChanged;
2588
+ let isOuterAndInnerParamsEqual = false;
2589
+ if (changedParams && innerParamsRef?.current) {
2590
+ const innerFullParams = innerParamsRef?.current;
2591
+ const outerFullParams = props.params;
2592
+ isOuterAndInnerParamsEqual = isEqual(innerFullParams, outerFullParams);
2593
+ }
2594
+ if (isOuterAndInnerParamsEqual) {
2595
+ changedParams = false;
2596
+ }
2597
+ return changedParams;
2598
+ }, [hasParamsChanged, props.params, usedParamsRef, innerParamsRef]);
2599
+ const requestId = React__default.useMemo(
2600
+ () => settings_default.requestIdGenerator(DL.REQUEST_ID_PREFIX),
2601
+ [hasChangedOuterParams, hasChangedOuterProps, hasInnerParamsChanged]
2602
+ );
2603
+ const requestCancellationRef = React__default.useRef({
2604
+ [requestId]: {
2605
+ requestCancellation: dataProvider.getRequestCancellation(),
2606
+ status: "unset"
2607
+ }
2608
+ });
2609
+ React__default.useEffect(() => {
2610
+ requestCancellationRef.current[requestId] = {
2611
+ requestCancellation: dataProvider.getRequestCancellation(),
2612
+ status: "unset"
2613
+ };
2614
+ }, [requestCancellationRef, dataProvider, requestId]);
2615
+ const rootNodeRef = React__default.useRef(null);
2616
+ const chartKitRef = React__default.useRef();
2617
+ const widgetDataRef = React__default.useRef(null);
2618
+ const [initialParams, setInitialParams] = React__default.useState(
2619
+ props.initialParams?.params || {}
2620
+ );
2621
+ const controlInitialParams = {
2622
+ params: initialParams || {}
2623
+ };
2624
+ const widgetType = DashTabItemControlSourceType.External;
2625
+ const {
2626
+ loadedData,
2627
+ error,
2628
+ handleRenderChart,
2629
+ mods,
2630
+ widgetBodyClassName,
2631
+ hasHiddenClassMod,
2632
+ showLoader,
2633
+ handleGetWidgetMeta,
2634
+ handleChartkitReflow,
2635
+ handleChange,
2636
+ handleError,
2637
+ handleRetry,
2638
+ handleUpdate,
2639
+ loadChartData,
2640
+ setLoadingProps,
2641
+ getControls,
2642
+ isAutoHeightEnabled,
2643
+ runActivity
2644
+ } = useLoadingChartSelector({
2645
+ ...props,
2646
+ chartKitRef,
2647
+ rootNodeRef,
2648
+ initialData,
2649
+ requestId,
2650
+ requestCancellationRef,
2651
+ hasChangedOuterProps,
2652
+ hasChangedOuterParams,
2653
+ widgetId,
2654
+ usedParamsRef,
2655
+ innerParamsRef,
2656
+ widgetDataRef,
2657
+ chartId,
2658
+ widgetType
2659
+ });
2660
+ const hasControl = Boolean(loadedData?.controls?.controls?.length);
2661
+ React__default.useEffect(() => {
2662
+ if (!hasCurrentDefaultsChanged && !loadedData) {
2663
+ return;
2664
+ }
2665
+ setInitialParams({ ...loadedData?.defaultParams, ...props.defaults });
2666
+ }, [hasCurrentDefaultsChanged, props.defaults, loadedData?.defaultParams]);
2667
+ React__default.useImperativeHandle(
2668
+ forwardedRef,
2669
+ () => ({
2670
+ props,
2671
+ reflow: handleChartkitReflow,
2672
+ reload: (arg) => {
2673
+ if (skipReload) {
2674
+ return;
2675
+ }
2676
+ setLoadingProps(arg);
2677
+ loadChartData();
2678
+ },
2679
+ getMeta: () => new Promise((resolve) => handleGetWidgetMeta(resolve)),
2680
+ getCurrentTabChartId: () => chartId || ""
2681
+ }),
2682
+ [
2683
+ forwardedRef,
2684
+ handleChartkitReflow,
2685
+ handleGetWidgetMeta,
2686
+ skipReload,
2687
+ loadChartData,
2688
+ setLoadingProps,
2689
+ chartId,
2690
+ loadedData
2691
+ // loadedData in deps for meta actual data
2692
+ ]
2693
+ );
2694
+ const hasError = Boolean(
2695
+ error || loadedData?.data?.error
2696
+ );
2697
+ const isLoading = showLoader && !hasError;
2698
+ const pulsate = isLoading && hasControl;
2699
+ const showSpinner = isLoading && !hasControl;
2700
+ return /* @__PURE__ */ jsxs(
2701
+ "div",
2702
+ {
2703
+ ref: rootNodeRef,
2704
+ className: `${b$3({
2705
+ ...mods,
2706
+ autoheight: isAutoHeightEnabled,
2707
+ pulsate
2708
+ })}`,
2709
+ "data-qa": "chart-widget-selectors",
2710
+ children: [
2711
+ /* @__PURE__ */ jsx(
2712
+ DebugInfoTool,
2713
+ {
2714
+ data: [
2715
+ { label: "widgetId", value: widgetId },
2716
+ { label: "chartId", value: chartId }
2717
+ ]
2718
+ }
2719
+ ),
2720
+ /* @__PURE__ */ jsxs("div", { className: b$3("container", { [String(widgetType)]: Boolean(widgetType) }), children: [
2721
+ showSpinner && /* @__PURE__ */ jsx("div", { className: b$3("loader"), children: /* @__PURE__ */ jsx(Loader$1, { size: "s" }) }),
2722
+ /* @__PURE__ */ jsxs(
2723
+ "div",
2724
+ {
2725
+ className: b$3(
2726
+ "body",
2727
+ { hidden: hasHiddenClassMod, [String(widgetType)]: Boolean(widgetType) },
2728
+ widgetBodyClassName
2729
+ ),
2730
+ "data-qa": chartId ? `chartkit-body-entry-${chartId}` : null,
2731
+ children: [
2732
+ Boolean(!hasError && hasControl && getControls) && /* @__PURE__ */ jsx(
2733
+ Control,
2734
+ {
2735
+ id: chartId,
2736
+ data: loadedData,
2737
+ onLoad: handleRenderChart,
2738
+ onError: handleError,
2739
+ onChange: handleChange,
2740
+ onUpdate: handleUpdate,
2741
+ getControls,
2742
+ nonBodyScroll,
2743
+ initialParams: controlInitialParams,
2744
+ runActivity
2745
+ }
2746
+ ),
2747
+ /* @__PURE__ */ jsx(
2748
+ DatalensChartkitContent,
2749
+ {
2750
+ nonBodyScroll,
2751
+ requestId,
2752
+ error,
2753
+ onLoad: handleRenderChart,
2754
+ onChange: handleChange,
2755
+ onError: handleError,
2756
+ onRetry: handleRetry,
2757
+ loadedData,
2758
+ forwardedRef,
2759
+ rootNodeRef
2760
+ }
2761
+ )
2762
+ ]
2763
+ }
2764
+ )
2765
+ ] })
2766
+ ]
2767
+ }
2768
+ );
2769
+ };
2770
+ const b$2 = block(COMPONENT_CLASSNAME);
2771
+ const WidgetFooter = (props) => {
2772
+ const { isFullscreen, description, author, withPaddings, enableDescription, metaScripts } = props;
2773
+ const enableDesc = enableDescription === void 0 ? Boolean(description) : enableDescription;
2774
+ const showWidgetFooter = Boolean(!isFullscreen && (enableDesc || author));
2775
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
2776
+ showWidgetFooter && /* @__PURE__ */ jsx("div", { className: b$2("description", { "with-paddings": Boolean(withPaddings) }), children: description && /* @__PURE__ */ jsx(
2777
+ YfmWrapper,
2778
+ {
2779
+ content: description,
2780
+ setByInnerHtml: true,
2781
+ metaScripts
2782
+ }
2783
+ ) }),
2784
+ author && author.text && /* @__PURE__ */ jsx("div", { className: b$2("author", { "with-paddings": Boolean(withPaddings) }), children: author.link ? /* @__PURE__ */ jsx(Link, { target: "_blank", view: "normal", href: author.link, children: author.text }) : author.text })
2785
+ ] });
2786
+ };
2787
+ const b$1 = block("widget-header");
2788
+ const WidgetHeader = (props) => {
2789
+ const {
2790
+ widgetId,
2791
+ isFullscreen,
2792
+ onFullscreenClick,
2793
+ editMode,
2794
+ hideTitle,
2795
+ tabsItems,
2796
+ currentTab,
2797
+ onSelectTab,
2798
+ hideDebugTool,
2799
+ showActionParamsFilter,
2800
+ onFiltersClear,
2801
+ title,
2802
+ noControls,
2803
+ setIsExportLoading,
2804
+ extraMod
2805
+ } = props;
2806
+ const headerWithControlsProps = props;
2807
+ const size = DL.IS_MOBILE ? MOBILE_SIZE.TABS : "m";
2808
+ const widgetTitle = currentTab?.title || title;
2809
+ const widgetTitleHint = currentTab?.enableHint && currentTab?.hint?.trim() ? currentTab?.hint?.trim() : "";
2810
+ const dispatch = useDispatch();
2811
+ const handleExportLoading = React__default.useCallback(
2812
+ (isLoading) => {
2813
+ setIsExportLoading?.(isLoading);
2814
+ dispatch(setSkipReload(isLoading));
2815
+ },
2816
+ [dispatch, setIsExportLoading]
2817
+ );
2818
+ const handleClickHint = React__default.useCallback((e) => {
2819
+ e.stopPropagation();
2820
+ return false;
2821
+ }, []);
2822
+ const renderTabs = () => {
2823
+ if (DL.IS_MOBILE && (isFullscreen || !hideTitle && tabsItems?.length === 1)) {
2824
+ return /* @__PURE__ */ jsxs(
2825
+ "div",
2826
+ {
2827
+ className: b$1("mobile-title", {
2828
+ "with-hint": Boolean(widgetTitleHint)
2829
+ }),
2830
+ children: [
2831
+ /* @__PURE__ */ jsx("div", { className: b$1("mobile-title-wrap"), children: widgetTitle }),
2832
+ Boolean(widgetTitleHint) && /* @__PURE__ */ jsx(
2833
+ MarkdownHelpPopover,
2834
+ {
2835
+ markdown: widgetTitleHint,
2836
+ className: b$1("chart-title-hint"),
2837
+ onClick: handleClickHint
2838
+ }
2839
+ )
2840
+ ]
2841
+ }
2842
+ );
2843
+ }
2844
+ if (hideTitle || !tabsItems || !currentTab || !onSelectTab || !widgetTitle) {
2845
+ return null;
2846
+ }
2847
+ const displayedTabItems = tabsItems.map((item) => ({
2848
+ ...item,
2849
+ title: item.displayedTitle || item.title || ""
2850
+ }));
2851
+ return /* @__PURE__ */ jsx(
2852
+ "div",
2853
+ {
2854
+ className: b$1(
2855
+ "tabs",
2856
+ { "edit-mode": editMode, "no-controls": noControls },
2857
+ DRAGGABLE_HANDLE_CLASS_NAME
2858
+ ),
2859
+ children: /* @__PURE__ */ jsx(
2860
+ AdaptiveTabs,
2861
+ {
2862
+ size,
2863
+ items: displayedTabItems,
2864
+ activeTab: currentTab.id,
2865
+ onSelectTab,
2866
+ breakpointsConfig: DL_ADAPTIVE_TABS_BREAK_POINT_CONFIG,
2867
+ wrapTo: (tab, node) => {
2868
+ const isActive = tab?.id === currentTab.id;
2869
+ return /* @__PURE__ */ jsxs(
2870
+ "div",
2871
+ {
2872
+ className: b$1("tab", { active: isActive }),
2873
+ "data-qa": ChartkitMenuDialogsQA.widgetTab,
2874
+ children: [
2875
+ hideDebugTool === void 0 ? true : Boolean(hideDebugTool && !isActive) && /* @__PURE__ */ jsx(
2876
+ DebugInfoTool,
2877
+ {
2878
+ label: "tabId",
2879
+ value: tab?.id || "",
2880
+ modType: "right"
2881
+ }
2882
+ ),
2883
+ node
2884
+ ]
2885
+ }
2886
+ );
2887
+ }
2888
+ }
2889
+ )
2890
+ }
2891
+ );
2892
+ };
2893
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
2894
+ !hideDebugTool && /* @__PURE__ */ jsx(DebugInfoTool, { label: "id", value: widgetId || "", modType: "outer" }),
2895
+ /* @__PURE__ */ jsxs(
2896
+ "div",
2897
+ {
2898
+ className: b$1({
2899
+ mobile: DL.IS_MOBILE,
2900
+ fullscreen: isFullscreen,
2901
+ ...{ [String(extraMod)]: Boolean(extraMod) }
2902
+ }),
2903
+ children: [
2904
+ isFullscreen && /* @__PURE__ */ jsx(
2905
+ "span",
2906
+ {
2907
+ className: b$1("back-icon"),
2908
+ onClick: onFullscreenClick,
2909
+ "data-qa": "chart-widget-back-icon",
2910
+ children: /* @__PURE__ */ jsx(Icon, { data: ArrowLeft })
2911
+ }
2912
+ ),
2913
+ renderTabs(),
2914
+ /* @__PURE__ */ jsx(
2915
+ Header,
2916
+ {
2917
+ dataProvider: headerWithControlsProps.dataProvider,
2918
+ chartsInsightsData: headerWithControlsProps.loadedData?.chartsInsightsData,
2919
+ menuType: headerWithControlsProps.menuType,
2920
+ customMenuOptions: {},
2921
+ menuChartkitConfig: headerWithControlsProps.menuChartkitConfig,
2922
+ isMenuAvailable: !noControls,
2923
+ error: headerWithControlsProps.error || null,
2924
+ dataProps: headerWithControlsProps.dataProps,
2925
+ requestId: headerWithControlsProps.requestId || "",
2926
+ chartRevIdRef: null,
2927
+ loadedData: headerWithControlsProps.loadedData,
2928
+ widgetDataRef: headerWithControlsProps.widgetDataRef,
2929
+ widgetRenderTimeRef: headerWithControlsProps.widgetRenderTimeRef,
2930
+ yandexMapAPIWaiting: headerWithControlsProps.yandexMapAPIWaiting,
2931
+ onChange: headerWithControlsProps.onChange,
2932
+ isWidgetMenuDataChanged: headerWithControlsProps.isWidgetMenuDataChanged,
2933
+ onExportLoading: handleExportLoading,
2934
+ enableActionParams: headerWithControlsProps.enableActionParams,
2935
+ enableAssistant: headerWithControlsProps.enableAssistant,
2936
+ onFullscreenClick,
2937
+ showActionParamsFilter,
2938
+ onFiltersClear,
2939
+ canBeDisplayedFilters: true,
2940
+ reload: headerWithControlsProps.reload
2941
+ }
2942
+ )
2943
+ ]
2944
+ }
2945
+ )
2946
+ ] });
2947
+ };
2948
+ const WIDGET_DEBOUNCE_TIMEOUT = 300;
2949
+ const WIDGET_RESIZE_DEBOUNCE_TIMEOUT = 600;
2950
+ const useLoadingChartWidget = (props) => {
2951
+ const {
2952
+ data,
2953
+ dataProvider,
2954
+ initialData,
2955
+ requestId,
2956
+ requestCancellationRef,
2957
+ rootNodeRef,
2958
+ hasChangedOuterProps,
2959
+ hasChangedOuterParams,
2960
+ hasChartTabChanged,
2961
+ hasChangedActionParams,
2962
+ hasHideTitleChanged,
2963
+ tabIndex,
2964
+ adjustWidgetLayout: adjustWidgetLayout$1,
2965
+ widgetId,
2966
+ gridLayout,
2967
+ layout,
2968
+ currentTab,
2969
+ getMarkdown,
2970
+ noVeil,
2971
+ noLoader,
2972
+ compactLoader,
2973
+ loaderDelay,
2974
+ onStateAndParamsChange,
2975
+ chartKitRef,
2976
+ width,
2977
+ height,
2978
+ usedParamsRef,
2979
+ innerParamsRef,
2980
+ widgetDataRef,
2981
+ widgetRenderTimeRef,
2982
+ usageType,
2983
+ enableActionParams,
2984
+ settings,
2985
+ clearedOuterParams
2986
+ } = props;
2987
+ const loadOnlyVisibleCharts = settings.loadOnlyVisibleCharts ?? true;
2988
+ const tabs = props.tabs;
2989
+ const [loadedDescription, setLoadedDescription] = React__default.useState(null);
2990
+ const [description, setDescription] = React__default.useState(null);
2991
+ const [descriptionMetaScript, setDescriptionMetaScript] = React__default.useState(null);
2992
+ const [loadedWidgetType, setLoadedWidgetType] = React__default.useState("");
2993
+ const [isLoadedWidgetWizard, setIsLoadedWidgetWizard] = React__default.useState(false);
2994
+ const [isRendered, setIsRendered] = React__default.useState(false);
2995
+ const resolveMetaDataRef = React__default.useRef();
2996
+ const resolveWidgetDataRef = React__default.useRef();
2997
+ const mutationObserver = React__default.useRef(null);
2998
+ const extDashkitContext = React__default.useContext(ExtendedDashKitContext);
2999
+ const dataProviderContextGetter = extDashkitContext?.dataProviderContextGetter || void 0;
3000
+ const history = useHistory();
3001
+ const location = useLocation();
3002
+ const handleUpdate = useBeforeLoad(props.onBeforeLoad);
3003
+ const hideTitle = Boolean(data.hideTitle);
3004
+ const adjustLayout = React__default.useCallback(
3005
+ (needSetDefault) => {
3006
+ adjustWidgetLayout({
3007
+ widgetId,
3008
+ needSetDefault,
3009
+ rootNode: rootNodeRef,
3010
+ gridLayout,
3011
+ layout,
3012
+ cb: (...args) => {
3013
+ return props.adjustWidgetLayout(...args);
3014
+ }
3015
+ });
3016
+ },
3017
+ [widgetId, rootNodeRef, gridLayout, adjustWidgetLayout$1]
3018
+ );
3019
+ const handleRenderChartWidget = React__default.useCallback(
3020
+ (renderedData) => {
3021
+ if (renderedData?.status === "success") {
3022
+ pushStats(renderedData, "dash", dataProvider);
3023
+ }
3024
+ const newAutoHeight = isWidgetTypeWithAutoHeight(loadedWidgetType) || renderedData?.status === "error" ? tabs[tabIndex].autoHeight : false;
3025
+ adjustLayout(!newAutoHeight);
3026
+ setIsRendered(true);
3027
+ },
3028
+ [dataProvider, tabs, tabIndex, adjustLayout, loadedWidgetType]
3029
+ );
3030
+ const handleChangeCallback = React__default.useCallback(
3031
+ async (changedProps) => {
3032
+ if (changedProps.type === "PARAMS_CHANGED") {
3033
+ onStateAndParamsChange(
3034
+ {
3035
+ params: changedProps.data.params || {}
3036
+ },
3037
+ changedProps.options
3038
+ );
3039
+ if (currentTab.id && changedProps.options?.action === "removeItem") {
3040
+ onStateAndParamsChange({ state: { tabId: currentTab.id } });
3041
+ }
3042
+ }
3043
+ },
3044
+ [currentTab.id, onStateAndParamsChange]
3045
+ );
3046
+ const handleChartLoad = React__default.useCallback(({ data: data2 }) => {
3047
+ setLoadedWidgetType(data2?.loadedData?.type);
3048
+ }, []);
3049
+ const requestHeadersGetter = React__default.useMemo(() => {
3050
+ return dataProviderContextGetter?.bind(void 0, widgetId);
3051
+ }, [widgetId, dataProviderContextGetter]);
3052
+ const {
3053
+ loadedData,
3054
+ isLoading,
3055
+ isSilentReload,
3056
+ isReloadWithNoVeil,
3057
+ error,
3058
+ handleRenderChart,
3059
+ handleChartkitReflow,
3060
+ handleChange,
3061
+ handleError,
3062
+ handleRetry,
3063
+ loadChartData,
3064
+ setLoadingProps,
3065
+ loadControls,
3066
+ drillDownFilters,
3067
+ drillDownLevel,
3068
+ setCurrentDrillDownLevel,
3069
+ yandexMapAPIWaiting,
3070
+ setCanBeLoaded,
3071
+ isInit,
3072
+ isWidgetMenuDataChanged,
3073
+ dataProps,
3074
+ runActivity
3075
+ } = useLoadingChart({
3076
+ dataProvider,
3077
+ requestHeadersGetter,
3078
+ initialData,
3079
+ requestId,
3080
+ requestCancellationRef,
3081
+ rootNodeRef,
3082
+ hasChangedOuterProps,
3083
+ hasChangedOuterParams,
3084
+ hasChartTabChanged,
3085
+ hasChangedActionParams,
3086
+ onChartLoad: handleChartLoad,
3087
+ onChartRender: handleRenderChartWidget,
3088
+ chartKitRef,
3089
+ resolveMetaDataRef,
3090
+ resolveWidgetDataRef,
3091
+ usedParamsRef,
3092
+ innerParamsRef,
3093
+ handleChangeCallback,
3094
+ widgetDataRef,
3095
+ widgetRenderTimeRef,
3096
+ ignoreUsedParams: true,
3097
+ // tmp fix CHARTS-7290 TODO: CHARTS-6619 return this later with announcement of changes
3098
+ enableActionParams,
3099
+ clearedOuterParams
3100
+ });
3101
+ const {
3102
+ mods,
3103
+ widgetBodyClassName,
3104
+ hasHiddenClassMod,
3105
+ veil,
3106
+ showLoader,
3107
+ isFullscreen,
3108
+ widgetType,
3109
+ showOverlayWithControlsOnEdit,
3110
+ noControls
3111
+ } = React__default.useMemo(
3112
+ () => getPreparedConstants({
3113
+ isLoading,
3114
+ error,
3115
+ loadedData,
3116
+ isReloadWithNoVeil,
3117
+ noLoader,
3118
+ noVeil,
3119
+ isSilentReload,
3120
+ history,
3121
+ widgetId,
3122
+ hideTitle
3123
+ }),
3124
+ [
3125
+ isLoading,
3126
+ error,
3127
+ loadedData,
3128
+ isReloadWithNoVeil,
3129
+ noLoader,
3130
+ noVeil,
3131
+ compactLoader,
3132
+ loaderDelay,
3133
+ location.search,
3134
+ hasHideTitleChanged,
3135
+ widgetId,
3136
+ hideTitle,
3137
+ isSilentReload
3138
+ ]
3139
+ );
3140
+ const handleToggleFullscreenMode = React__default.useCallback(() => {
3141
+ const searchParams = new URLSearchParams(history.location.search);
3142
+ if (searchParams.has(FOCUSED_WIDGET_PARAM_NAME)) {
3143
+ searchParams.delete(FOCUSED_WIDGET_PARAM_NAME);
3144
+ } else {
3145
+ searchParams.set(FOCUSED_WIDGET_PARAM_NAME, widgetId);
3146
+ }
3147
+ history.push({
3148
+ ...history.location,
3149
+ search: searchParams.toString()
3150
+ });
3151
+ }, [history, widgetId]);
3152
+ const loadDescription = React__default.useCallback(() => {
3153
+ if (currentTab.description) {
3154
+ getMarkdown?.({ text: currentTab.description }).then(({ result, meta }) => {
3155
+ setLoadedDescription(meta ? { result, meta } : { result });
3156
+ }).catch((err) => {
3157
+ logger.logError("DashKit: Widget loadDescription failed", err);
3158
+ setLoadedDescription({ result: currentTab.description });
3159
+ updateImmediateLayout({
3160
+ type: loadedWidgetType,
3161
+ autoHeight: tabs[tabIndex].autoHeight,
3162
+ widgetId,
3163
+ gridLayout,
3164
+ rootNode: rootNodeRef,
3165
+ layout,
3166
+ cb: props.adjustWidgetLayout
3167
+ });
3168
+ });
3169
+ } else {
3170
+ setLoadedDescription({ result: currentTab.description });
3171
+ updateImmediateLayout({
3172
+ type: loadedWidgetType,
3173
+ autoHeight: tabs[tabIndex].autoHeight,
3174
+ widgetId,
3175
+ gridLayout,
3176
+ rootNode: rootNodeRef,
3177
+ layout,
3178
+ cb: props.adjustWidgetLayout
3179
+ });
3180
+ }
3181
+ }, [currentTab, getMarkdown, setLoadedDescription, loadedWidgetType, tabs, tabIndex]);
3182
+ const isReadyToReflowRef = React__default.useRef(false);
3183
+ isReadyToReflowRef.current = isInit && !isLoading && isRendered;
3184
+ const debouncedChartReflow = React__default.useCallback(
3185
+ debounce(() => {
3186
+ handleChartkitReflow();
3187
+ if (isReadyToReflowRef.current && handleUpdate) {
3188
+ requestAnimationFrame(() => handleUpdate());
3189
+ }
3190
+ }, WIDGET_RESIZE_DEBOUNCE_TIMEOUT),
3191
+ [handleChartkitReflow, isReadyToReflowRef]
3192
+ );
3193
+ React__default.useLayoutEffect(() => {
3194
+ loadDescription();
3195
+ return () => {
3196
+ mutationObserver.current?.disconnect();
3197
+ };
3198
+ }, [loadDescription]);
3199
+ React__default.useEffect(() => {
3200
+ if (!hasChartTabChanged) {
3201
+ return;
3202
+ }
3203
+ loadDescription();
3204
+ }, [hasChartTabChanged, loadDescription]);
3205
+ React__default.useEffect(() => {
3206
+ debouncedChartReflow();
3207
+ }, [width, height, debouncedChartReflow]);
3208
+ const currentLayout = layout.find(({ i }) => i === widgetId);
3209
+ const { enableDescription, background, title } = currentTab;
3210
+ const isReadyToHandleUpdate = isInit && !isLoading && isRendered;
3211
+ React__default.useEffect(() => {
3212
+ if (isReadyToHandleUpdate) {
3213
+ handleUpdate?.();
3214
+ }
3215
+ }, [
3216
+ currentLayout?.x,
3217
+ currentLayout?.y,
3218
+ background?.color,
3219
+ background?.enabled,
3220
+ hideTitle,
3221
+ title,
3222
+ enableDescription,
3223
+ description,
3224
+ isReadyToHandleUpdate,
3225
+ handleUpdate
3226
+ ]);
3227
+ React__default.useEffect(() => {
3228
+ if (loadedDescription?.result === description) {
3229
+ return;
3230
+ }
3231
+ if (loadedDescription) {
3232
+ setDescription(loadedDescription.result);
3233
+ }
3234
+ const metaScript = loadedDescription?.meta?.script ?? null;
3235
+ setDescriptionMetaScript(metaScript);
3236
+ handleChartkitReflow();
3237
+ }, [loadedDescription, description, handleChartkitReflow]);
3238
+ const handleSelectTab = React__default.useCallback(
3239
+ (newTabId) => {
3240
+ if (isLoading) {
3241
+ return;
3242
+ }
3243
+ if (requestCancellationRef.current?.[requestId]?.status === "loading" && requestCancellationRef.current?.[requestId]?.requestCancellation !== null) {
3244
+ requestCancellationRef.current[requestId].status = "canceled";
3245
+ dataProvider.cancelRequests(
3246
+ requestCancellationRef.current[requestId].requestCancellation
3247
+ );
3248
+ }
3249
+ setCurrentDrillDownLevel(0);
3250
+ onStateAndParamsChange({
3251
+ state: {
3252
+ tabId: newTabId
3253
+ }
3254
+ });
3255
+ },
3256
+ [
3257
+ onStateAndParamsChange,
3258
+ isLoading,
3259
+ requestId,
3260
+ requestCancellationRef,
3261
+ dataProvider,
3262
+ setCurrentDrillDownLevel
3263
+ ]
3264
+ );
3265
+ const getCurrentWidgetResolvedMetaInfo = React__default.useCallback(
3266
+ (loadData) => {
3267
+ const meta = getWidgetMeta({
3268
+ // @ts-expect-error
3269
+ tabs: data.tabs,
3270
+ id: widgetId,
3271
+ loadData,
3272
+ savedData: loadedData,
3273
+ error,
3274
+ widgetDataRef
3275
+ });
3276
+ if (resolveMetaDataRef.current) {
3277
+ resolveMetaDataRef.current(meta);
3278
+ }
3279
+ },
3280
+ [tabs, tabIndex, resolveMetaDataRef.current, loadedData, error, widgetId]
3281
+ );
3282
+ const handleGetWidgetMeta = React__default.useCallback(
3283
+ (argResolve) => {
3284
+ resolveMetaDataRef.current = argResolve;
3285
+ resolveWidgetDataRef.current = (resolvingData) => {
3286
+ getCurrentWidgetResolvedMetaInfo(resolvingData);
3287
+ };
3288
+ if (!isInit) {
3289
+ setCanBeLoaded(true);
3290
+ }
3291
+ if (!loadedData) {
3292
+ if (error) {
3293
+ resolveWidgetDataRef.current(null);
3294
+ }
3295
+ return;
3296
+ }
3297
+ resolveWidgetDataRef.current(loadedData);
3298
+ },
3299
+ [
3300
+ error,
3301
+ loadedData,
3302
+ setCanBeLoaded,
3303
+ isInit,
3304
+ getCurrentWidgetResolvedMetaInfo,
3305
+ resolveMetaDataRef,
3306
+ resolveWidgetDataRef
3307
+ ]
3308
+ );
3309
+ const debouncedMutationsCheck = React__default.useCallback(
3310
+ debounce((mutations) => {
3311
+ if (!rootNodeRef.current || !loadedWidgetType) {
3312
+ return;
3313
+ }
3314
+ let needUpdate = false;
3315
+ Array.from(mutations).forEach((mutatedItem) => {
3316
+ if (needUpdate) {
3317
+ return;
3318
+ }
3319
+ let targetEl = mutatedItem?.target;
3320
+ const hasYfm = targetEl?.classList.contains(YFM_MARKDOWN_CLASSNAME) || targetEl?.classList.contains(YFM_CUT_MARKDOWN_CLASSNAME);
3321
+ if (hasYfm) {
3322
+ needUpdate = true;
3323
+ }
3324
+ while (!needUpdate && targetEl && rootNodeRef.current && targetEl?.parentElement !== rootNodeRef.current) {
3325
+ targetEl = targetEl?.parentElement;
3326
+ if (targetEl?.classList.contains(YFM_MARKDOWN_CLASSNAME)) {
3327
+ needUpdate = true;
3328
+ }
3329
+ }
3330
+ });
3331
+ if (!needUpdate) {
3332
+ return;
3333
+ }
3334
+ updateImmediateLayout({
3335
+ type: loadedWidgetType,
3336
+ autoHeight: tabs[tabIndex].autoHeight,
3337
+ widgetId,
3338
+ gridLayout,
3339
+ rootNode: rootNodeRef,
3340
+ layout,
3341
+ cb: props.adjustWidgetLayout
3342
+ });
3343
+ }, WIDGET_DEBOUNCE_TIMEOUT),
3344
+ [
3345
+ rootNodeRef,
3346
+ loadedWidgetType,
3347
+ tabs,
3348
+ tabIndex,
3349
+ widgetId,
3350
+ gridLayout,
3351
+ layout,
3352
+ props.adjustWidgetLayout
3353
+ ]
3354
+ );
3355
+ React__default.useEffect(() => {
3356
+ if (!isInit || !mutationObserver) {
3357
+ return;
3358
+ }
3359
+ mutationObserver.current = new MutationObserver(debouncedMutationsCheck);
3360
+ if (rootNodeRef.current) {
3361
+ mutationObserver.current.observe(rootNodeRef.current, {
3362
+ childList: true,
3363
+ subtree: true,
3364
+ attributes: true,
3365
+ attributeFilter: ["class"]
3366
+ });
3367
+ }
3368
+ return () => {
3369
+ mutationObserver.current?.disconnect();
3370
+ };
3371
+ }, [debouncedMutationsCheck, mutationObserver, isInit, rootNodeRef]);
3372
+ React__default.useEffect(() => {
3373
+ if (loadedData?.isNewWizard && !isLoadedWidgetWizard) {
3374
+ setIsLoadedWidgetWizard(true);
3375
+ }
3376
+ }, [loadedData?.isNewWizard, isLoadedWidgetWizard]);
3377
+ const debounceResizeAdjustLayot = React__default.useCallback(
3378
+ debounce(() => {
3379
+ updateImmediateLayout({
3380
+ type: loadedWidgetType,
3381
+ autoHeight: tabs[tabIndex].autoHeight,
3382
+ widgetId,
3383
+ gridLayout,
3384
+ rootNode: rootNodeRef,
3385
+ layout,
3386
+ cb: props.adjustWidgetLayout
3387
+ });
3388
+ }, WIDGET_RESIZE_DEBOUNCE_TIMEOUT),
3389
+ [
3390
+ widgetId,
3391
+ loadedWidgetType,
3392
+ tabs,
3393
+ tabIndex,
3394
+ gridLayout,
3395
+ rootNodeRef,
3396
+ layout,
3397
+ props.adjustWidgetLayout
3398
+ ]
3399
+ );
3400
+ const isAutoHeightEnabled = Boolean(tabs[tabIndex].autoHeight);
3401
+ useResizeObserver({
3402
+ onResize: debounceResizeAdjustLayot,
3403
+ rootNodeRef,
3404
+ enable: isInit && isAutoHeightEnabled
3405
+ });
3406
+ React__default.useEffect(() => {
3407
+ if (loadOnlyVisibleCharts === false) {
3408
+ setCanBeLoaded(true);
3409
+ }
3410
+ }, [setCanBeLoaded, loadOnlyVisibleCharts]);
3411
+ return {
3412
+ loadedData,
3413
+ isLoading,
3414
+ isInit,
3415
+ isSilentReload,
3416
+ isReloadWithNoVeil,
3417
+ isAutoHeightEnabled,
3418
+ error,
3419
+ handleRenderChart,
3420
+ description,
3421
+ descriptionMetaScript,
3422
+ handleToggleFullscreenMode,
3423
+ handleSelectTab,
3424
+ handleChartkitReflow,
3425
+ handleChange,
3426
+ handleError,
3427
+ handleRetry,
3428
+ handleGetWidgetMeta,
3429
+ mods,
3430
+ widgetBodyClassName,
3431
+ hasHiddenClassMod,
3432
+ veil,
3433
+ showLoader,
3434
+ isFullscreen,
3435
+ loadChartData,
3436
+ setLoadingProps,
3437
+ loadControls,
3438
+ drillDownFilters,
3439
+ drillDownLevel,
3440
+ widgetType,
3441
+ yandexMapAPIWaiting,
3442
+ showOverlayWithControlsOnEdit,
3443
+ isWidgetMenuDataChanged,
3444
+ dataProps,
3445
+ noControls,
3446
+ runActivity
3447
+ };
3448
+ };
3449
+ const b = block(COMPONENT_CLASSNAME);
3450
+ const influencingProps = [
3451
+ "dataProvider",
3452
+ "id",
3453
+ "source",
3454
+ "params",
3455
+ "config"
3456
+ ];
3457
+ const ChartWidget = (props) => {
3458
+ const {
3459
+ data,
3460
+ state,
3461
+ dataProvider,
3462
+ forwardedRef,
3463
+ noControls,
3464
+ nonBodyScroll,
3465
+ transformLoadedData,
3466
+ splitTooltip,
3467
+ compactLoader,
3468
+ loaderDelay,
3469
+ id: widgetId,
3470
+ editMode,
3471
+ context,
3472
+ config,
3473
+ usageType,
3474
+ workbookId,
3475
+ enableAssistant,
3476
+ onWidgetLoadData,
3477
+ backgroundColor
3478
+ } = props;
3479
+ const extDashkitContext = React__default.useContext(ExtendedDashKitContext);
3480
+ const skipReload = extDashkitContext?.skipReload ?? false;
3481
+ const setWidgetCurrentTab = extDashkitContext?.setWidgetCurrentTab;
3482
+ const [isWizardChart, setIsWizardChart] = React__default.useState(false);
3483
+ const tabs = data.tabs;
3484
+ const tabIndex = React__default.useMemo(() => getTabIndex(tabs, state.tabId), [tabs, state.tabId]);
3485
+ const currentTab = React__default.useMemo(() => tabs[tabIndex], [tabs, tabIndex]);
3486
+ const initName = React__default.useMemo(() => currentTab.title, [currentTab]);
3487
+ const { chartId, enableActionParams } = currentTab;
3488
+ const chartkitParams = React__default.useMemo(() => {
3489
+ let res = removeEmptyNDatasetFieldsProperties(props.params);
3490
+ if (!enableActionParams) {
3491
+ res = pickExceptActionParamsFromParams(res);
3492
+ }
3493
+ return res;
3494
+ }, [props.params, enableActionParams]);
3495
+ const prevTabIndex = usePrevious(tabIndex);
3496
+ const hasChartTabChanged = prevTabIndex !== void 0 && prevTabIndex !== tabIndex;
3497
+ const prevCurrentTabDefaults = usePrevious(currentTab.params);
3498
+ const hasCurrentTabDefaultsChanged = prevCurrentTabDefaults && !isEqual(currentTab.params, prevCurrentTabDefaults);
3499
+ const prevHideTitle = usePrevious(data.hideTitle);
3500
+ const hasHideTitleChanged = prevHideTitle !== void 0 && !isEqual(data.hideTitle, prevHideTitle);
3501
+ const prevEnableActionParams = usePrevious(currentTab.enableActionParams);
3502
+ const hasEnableActionParamsChanged = Boolean(
3503
+ prevEnableActionParams !== void 0 && prevEnableActionParams !== currentTab.enableActionParams || prevEnableActionParams === void 0 && currentTab.enableActionParams
3504
+ );
3505
+ const initialData = React__default.useMemo(
3506
+ () => getDataProviderData({
3507
+ id: chartId,
3508
+ config,
3509
+ params: chartkitParams,
3510
+ workbookId
3511
+ }),
3512
+ [chartId, chartkitParams, config, hasChartTabChanged, workbookId]
3513
+ );
3514
+ const savedForFetchProps = React__default.useMemo(() => pick(props, influencingProps), [props]);
3515
+ const prevSavedProps = usePrevious(savedForFetchProps);
3516
+ const prevSavedChartId = usePrevious(chartId);
3517
+ const usedParamsRef = React__default.useRef(null);
3518
+ const innerParamsRef = React__default.useRef(null);
3519
+ const prevInnerParams = usePrevious(innerParamsRef?.current);
3520
+ const hasChangedOuterProps = !prevSavedProps || !isEqual(omit(prevSavedProps, "params"), omit(pick(props, influencingProps), "params")) || Boolean(prevSavedChartId && prevSavedChartId !== chartId) || hasEnableActionParamsChanged;
3521
+ let hasChangedActionParams = false;
3522
+ const hasChangedOuterParams = React__default.useMemo(() => {
3523
+ const propsParams = props.params;
3524
+ const prevSavedPropsParams = prevSavedProps?.params;
3525
+ const isEqualParamsWithPrev = prevSavedProps && isEqual(prevSavedPropsParams, propsParams);
3526
+ let changedParams = !prevSavedProps || !isEqualParamsWithPrev;
3527
+ let isOuterAndInnerParamsEqual = false;
3528
+ let isOuterAndInnerActionParamsEqual = true;
3529
+ if (changedParams && innerParamsRef?.current) {
3530
+ const innerFullParams = innerParamsRef?.current;
3531
+ const outerFullParams = propsParams;
3532
+ isOuterAndInnerParamsEqual = isEqual(innerFullParams, outerFullParams);
3533
+ const innerActionParams = pickActionParamsFromParams(innerFullParams, true);
3534
+ const outerActionParams = pickActionParamsFromParams(outerFullParams, true);
3535
+ isOuterAndInnerActionParamsEqual = isEqual(innerActionParams, outerActionParams);
3536
+ if (!isOuterAndInnerActionParamsEqual) {
3537
+ hasChangedActionParams = true;
3538
+ }
3539
+ }
3540
+ if (isOuterAndInnerParamsEqual && isOuterAndInnerActionParamsEqual) {
3541
+ changedParams = false;
3542
+ }
3543
+ return changedParams;
3544
+ }, [prevSavedProps?.params, props.params, usedParamsRef, innerParamsRef, isWizardChart]);
3545
+ const clearedOuterParams = React__default.useMemo(() => {
3546
+ let clearedParams;
3547
+ const propsParams = props.params;
3548
+ const prevSavedPropsParams = prevSavedProps?.params;
3549
+ const isEqualParamsWithPrev = prevSavedProps && isEqual(prevSavedPropsParams, propsParams);
3550
+ const hasParamsChanged = !prevSavedProps || !isEqualParamsWithPrev;
3551
+ const isOuterAndInnerParamsEqual = hasParamsChanged && innerParamsRef?.current ? isEqual(innerParamsRef?.current, propsParams) : false;
3552
+ if (!hasChangedActionParams && !isOuterAndInnerParamsEqual) {
3553
+ clearedParams = prevSavedProps ? Object.keys(omit(prevSavedProps.params, Object.keys(props?.params || {}))) : [];
3554
+ }
3555
+ return clearedParams;
3556
+ }, [
3557
+ hasChangedActionParams,
3558
+ prevSavedProps?.params,
3559
+ props.params,
3560
+ usedParamsRef,
3561
+ innerParamsRef,
3562
+ isWizardChart
3563
+ ]);
3564
+ const hasChangedInnerParamsFromInside = React__default.useMemo(() => {
3565
+ return prevInnerParams && !isEqual(innerParamsRef?.current, prevInnerParams);
3566
+ }, [prevInnerParams, innerParamsRef?.current]);
3567
+ const requestId = React__default.useMemo(
3568
+ () => settings_default.requestIdGenerator(DL.REQUEST_ID_PREFIX),
3569
+ [
3570
+ hasChangedOuterParams,
3571
+ hasChangedOuterProps,
3572
+ hasChangedActionParams,
3573
+ hasChartTabChanged,
3574
+ hasChangedInnerParamsFromInside
3575
+ ]
3576
+ );
3577
+ const currentActionParams = enableActionParams && chartkitParams && pickActionParamsFromParams(chartkitParams, true) || {};
3578
+ const showActionParamsFilter = !isEmpty(
3579
+ Object.values(currentActionParams).filter((item) => {
3580
+ if (typeof item === "string") {
3581
+ return !isEmpty(item);
3582
+ }
3583
+ if (typeof item === "number") {
3584
+ return true;
3585
+ }
3586
+ return !isEmpty(item.filter((paramItem) => !isEmpty(paramItem.trim())));
3587
+ })
3588
+ );
3589
+ const requestCancellationRef = React__default.useRef({
3590
+ [requestId]: {
3591
+ requestCancellation: dataProvider.getRequestCancellation(),
3592
+ status: "unset"
3593
+ }
3594
+ });
3595
+ React__default.useEffect(() => {
3596
+ requestCancellationRef.current[requestId] = {
3597
+ requestCancellation: dataProvider.getRequestCancellation(),
3598
+ status: "unset"
3599
+ };
3600
+ }, [requestCancellationRef, dataProvider, requestId]);
3601
+ const rootNodeRef = React__default.useRef(null);
3602
+ const chartKitRef = React__default.useRef(null);
3603
+ const widgetDataRef = React__default.useRef(null);
3604
+ const widgetRenderTimeRef = React__default.useRef(null);
3605
+ const [initialParams, setInitialParams] = React__default.useState({});
3606
+ const [isExportLoading, setIsExportLoading] = React__default.useState(false);
3607
+ const {
3608
+ loadedData,
3609
+ error,
3610
+ handleRenderChart,
3611
+ mods,
3612
+ widgetBodyClassName,
3613
+ hasHiddenClassMod,
3614
+ veil,
3615
+ showLoader,
3616
+ isFullscreen,
3617
+ isAutoHeightEnabled,
3618
+ description,
3619
+ descriptionMetaScript,
3620
+ handleToggleFullscreenMode,
3621
+ handleSelectTab,
3622
+ handleGetWidgetMeta,
3623
+ handleChartkitReflow,
3624
+ handleChange,
3625
+ handleError,
3626
+ handleRetry,
3627
+ loadChartData,
3628
+ setLoadingProps,
3629
+ loadControls,
3630
+ drillDownFilters,
3631
+ drillDownLevel,
3632
+ widgetType,
3633
+ yandexMapAPIWaiting,
3634
+ isLoading,
3635
+ isInit,
3636
+ showOverlayWithControlsOnEdit,
3637
+ isWidgetMenuDataChanged,
3638
+ dataProps,
3639
+ noControls: urlNoControls,
3640
+ runActivity
3641
+ } = useLoadingChartWidget({
3642
+ ...props,
3643
+ chartKitRef,
3644
+ rootNodeRef,
3645
+ initialData,
3646
+ requestId,
3647
+ requestCancellationRef,
3648
+ hasChangedOuterProps,
3649
+ hasChangedOuterParams,
3650
+ hasChartTabChanged,
3651
+ hasChangedActionParams,
3652
+ hasHideTitleChanged,
3653
+ tabIndex,
3654
+ tabs,
3655
+ widgetId,
3656
+ currentTab,
3657
+ usedParamsRef,
3658
+ innerParamsRef,
3659
+ widgetDataRef,
3660
+ widgetRenderTimeRef,
3661
+ usageType,
3662
+ enableActionParams,
3663
+ clearedOuterParams
3664
+ });
3665
+ React__default.useEffect(() => {
3666
+ if (loadedData && onWidgetLoadData) {
3667
+ onWidgetLoadData(widgetId, loadedData, widgetDataRef);
3668
+ }
3669
+ }, [loadedData, widgetId, onWidgetLoadData]);
3670
+ const handleFiltersClear = React__default.useCallback(() => {
3671
+ const newActionParams = {};
3672
+ Object.keys(chartkitParams || {}).forEach(function(key) {
3673
+ newActionParams[key] = "";
3674
+ });
3675
+ handleChange(
3676
+ {
3677
+ type: "PARAMS_CHANGED",
3678
+ data: { params: pickActionParamsFromParams(newActionParams, true) }
3679
+ },
3680
+ { forceUpdate: false },
3681
+ true,
3682
+ true
3683
+ );
3684
+ }, [handleChange, chartkitParams]);
3685
+ React__default.useEffect(() => {
3686
+ if (hasEnableActionParamsChanged && !enableActionParams) {
3687
+ handleFiltersClear();
3688
+ }
3689
+ }, [hasEnableActionParamsChanged, enableActionParams, handleFiltersClear]);
3690
+ React__default.useEffect(() => {
3691
+ if (loadedData?.isNewWizard && !isWizardChart) {
3692
+ setIsWizardChart(true);
3693
+ }
3694
+ }, [loadedData?.isNewWizard, isWizardChart]);
3695
+ React__default.useEffect(() => {
3696
+ if (!hasCurrentTabDefaultsChanged && !loadedData) {
3697
+ return;
3698
+ }
3699
+ setInitialParams({ ...loadedData?.defaultParams, ...currentTab.params });
3700
+ }, [hasCurrentTabDefaultsChanged, currentTab.params, loadedData, loadedData?.defaultParams]);
3701
+ React__default.useEffect(() => {
3702
+ setWidgetCurrentTab?.({ widgetId, tabId: currentTab.id });
3703
+ }, [currentTab, setWidgetCurrentTab, widgetId]);
3704
+ const handleClickHint = (e) => {
3705
+ e.stopPropagation();
3706
+ return false;
3707
+ };
3708
+ const adaptiveTabsItems = React__default.useMemo(
3709
+ () => tabs.map((item) => ({
3710
+ id: item.id,
3711
+ title: item.title.trim() || "—",
3712
+ displayedTitle: /* @__PURE__ */ jsxs("span", { className: b("chart-title-wrap"), children: [
3713
+ /* @__PURE__ */ jsx(
3714
+ "span",
3715
+ {
3716
+ className: b("chart-title-text", {
3717
+ "with-hint": Boolean(item.hint && item.enableHint)
3718
+ }),
3719
+ children: (typeof item.title === "string" ? item.title.trim() : item.title) || "—"
3720
+ }
3721
+ ),
3722
+ item.enableHint && item.hint && /* @__PURE__ */ jsx(
3723
+ MarkdownHelpPopover,
3724
+ {
3725
+ markdown: item.hint,
3726
+ className: b("chart-title-hint"),
3727
+ onClick: handleClickHint
3728
+ }
3729
+ )
3730
+ ] }),
3731
+ disabled: Boolean(isLoading)
3732
+ })),
3733
+ [tabs, isLoading]
3734
+ );
3735
+ const reload = React__default.useCallback(
3736
+ (args = {}) => {
3737
+ if (skipReload) {
3738
+ return;
3739
+ }
3740
+ setLoadingProps(args);
3741
+ loadChartData();
3742
+ },
3743
+ [loadChartData, setLoadingProps, skipReload]
3744
+ );
3745
+ React__default.useImperativeHandle(
3746
+ forwardedRef,
3747
+ () => ({
3748
+ props,
3749
+ reflow: handleChartkitReflow,
3750
+ reload,
3751
+ getMeta: () => new Promise((resolve) => handleGetWidgetMeta(resolve)),
3752
+ getCurrentTabChartId: () => chartId || ""
3753
+ }),
3754
+ [
3755
+ forwardedRef,
3756
+ handleChartkitReflow,
3757
+ handleGetWidgetMeta,
3758
+ reload,
3759
+ chartId,
3760
+ loadedData
3761
+ // loadedData in deps for meta actual data
3762
+ ]
3763
+ );
3764
+ const menuChartkitConfig = React__default.useMemo(
3765
+ () => ({
3766
+ config: {
3767
+ canEdit: context.canEdit
3768
+ },
3769
+ chartsDataProvider: dataProvider
3770
+ }),
3771
+ [context.canEdit, editMode, context.entryDialoguesRef, initName]
3772
+ );
3773
+ const widgetDashState = React__default.useMemo(() => {
3774
+ if (widgetType !== "table") {
3775
+ return void 0;
3776
+ }
3777
+ return {
3778
+ isPreviewMode: editMode
3779
+ };
3780
+ }, [editMode, widgetType]);
3781
+ const disableControls = noControls || urlNoControls;
3782
+ const commonHeaderContentProps = {
3783
+ compactLoader,
3784
+ loaderDelay,
3785
+ menuType: "dash",
3786
+ menuChartkitConfig,
3787
+ dataProvider,
3788
+ error,
3789
+ dataProps,
3790
+ requestId,
3791
+ loadedData,
3792
+ widgetDataRef,
3793
+ widgetRenderTimeRef,
3794
+ yandexMapAPIWaiting,
3795
+ enableActionParams,
3796
+ enableAssistant,
3797
+ isWidgetMenuDataChanged,
3798
+ onChange: handleChange,
3799
+ onFullscreenClick: handleToggleFullscreenMode,
3800
+ showActionParamsFilter,
3801
+ noControls: disableControls,
3802
+ onFiltersClear: handleFiltersClear,
3803
+ reload
3804
+ };
3805
+ const withInsights = Boolean(loadedData?.chartsInsightsData);
3806
+ const withFiltering = Boolean(showActionParamsFilter);
3807
+ const withBtnsMod = withInsights && withFiltering ? "btns-full" : withInsights || withFiltering ? "btns-partly" : "";
3808
+ const widgetHeaderProps = {
3809
+ isFullscreen,
3810
+ editMode,
3811
+ hideTitle: Boolean(data.hideTitle),
3812
+ tabsItems: adaptiveTabsItems,
3813
+ currentTab,
3814
+ onSelectTab: handleSelectTab,
3815
+ widgetId,
3816
+ hideDebugTool: true,
3817
+ ...commonHeaderContentProps,
3818
+ setIsExportLoading,
3819
+ showLoader,
3820
+ veil,
3821
+ extraMod: withBtnsMod
3822
+ };
3823
+ const showContentLoader = widgetHeaderProps.showLoader || isExportLoading;
3824
+ const showLoaderVeil = widgetHeaderProps.showLoader && widgetHeaderProps.veil && !isExportLoading;
3825
+ const isFirstLoadingFloat = loadedData === null;
3826
+ return /* @__PURE__ */ jsxs(
3827
+ "div",
3828
+ {
3829
+ ref: rootNodeRef,
3830
+ className: `${b({
3831
+ ...mods,
3832
+ autoheight: isAutoHeightEnabled,
3833
+ ["wait-for-init"]: !isInit,
3834
+ "default-mobile": DL.IS_MOBILE && !isFullscreen,
3835
+ pulsate: (showContentLoader || showLoaderVeil) && !isFirstLoadingFloat,
3836
+ "loading-mobile-height": DL.IS_MOBILE && isFirstLoadingFloat
3837
+ })}`,
3838
+ "data-qa": ChartkitMenuDialogsQA.chartWidget,
3839
+ "data-qa-mod": isFullscreen ? "fullscreen" : "",
3840
+ children: [
3841
+ /* @__PURE__ */ jsx(
3842
+ DebugInfoTool,
3843
+ {
3844
+ data: [
3845
+ { label: "widgetId", value: widgetId },
3846
+ { label: "tabId", value: currentTab.id },
3847
+ { label: "chartId", value: chartId }
3848
+ ]
3849
+ }
3850
+ ),
3851
+ /* @__PURE__ */ jsx(WidgetHeader, { ...widgetHeaderProps }),
3852
+ isFirstLoadingFloat && /* @__PURE__ */ jsx(
3853
+ Loader,
3854
+ {
3855
+ visible: showContentLoader,
3856
+ compact: false,
3857
+ size: "s",
3858
+ veil: false,
3859
+ delay: 1e3
3860
+ }
3861
+ ),
3862
+ /* @__PURE__ */ jsx(
3863
+ Content,
3864
+ {
3865
+ initialParams,
3866
+ showLoader,
3867
+ showOverlayWithControlsOnEdit,
3868
+ veil,
3869
+ widgetBodyClassName,
3870
+ hasHiddenClassMod,
3871
+ chartId,
3872
+ transformLoadedData,
3873
+ splitTooltip: splitTooltip || isFullscreen,
3874
+ nonBodyScroll,
3875
+ onRender: handleRenderChart,
3876
+ onRetry: handleRetry,
3877
+ onError: handleError,
3878
+ forwardedRef: chartKitRef,
3879
+ getControls: loadControls,
3880
+ drillDownFilters,
3881
+ drillDownLevel,
3882
+ widgetType,
3883
+ widgetDashState,
3884
+ rootNodeRef,
3885
+ backgroundColor,
3886
+ needRenderContentControls: false,
3887
+ chartRevIdRef: null,
3888
+ runActivity,
3889
+ ...commonHeaderContentProps
3890
+ }
3891
+ ),
3892
+ Boolean(description || loadedData?.publicAuthor) && /* @__PURE__ */ jsx(
3893
+ WidgetFooter,
3894
+ {
3895
+ isFullscreen: Boolean(isFullscreen),
3896
+ description: description || "",
3897
+ metaScripts: descriptionMetaScript,
3898
+ enableDescription: currentTab.enableDescription,
3899
+ author: loadedData?.publicAuthor
3900
+ }
3901
+ )
3902
+ ]
3903
+ }
3904
+ );
3905
+ };
3906
+ function isChartType(props) {
3907
+ return props.usageType === "chart";
3908
+ }
3909
+ function isSelectorType(props) {
3910
+ return props.usageType === "control";
3911
+ }
3912
+ class ChartWrapper extends React__default.Component {
3913
+ constructor(props) {
3914
+ super(props);
3915
+ this.dataProvider = chartsDataProvider;
3916
+ }
3917
+ render() {
3918
+ if (isChartType(this.props)) {
3919
+ return /* @__PURE__ */ createElement(
3920
+ Chart,
3921
+ {
3922
+ ...this.props,
3923
+ dataProvider: this.dataProvider,
3924
+ ignoreUsedParams: true,
3925
+ key: "chart"
3926
+ }
3927
+ );
3928
+ }
3929
+ if (isSelectorType(this.props)) {
3930
+ return /* @__PURE__ */ createElement(
3931
+ ChartSelector,
3932
+ {
3933
+ ...this.props,
3934
+ dataProvider: this.dataProvider,
3935
+ key: "selector"
3936
+ }
3937
+ );
3938
+ }
3939
+ const props = this.props;
3940
+ return /* @__PURE__ */ createElement(
3941
+ ChartWidget,
3942
+ {
3943
+ ...props,
3944
+ dataProvider: this.dataProvider,
3945
+ compactLoader: true,
3946
+ key: "widget"
3947
+ }
3948
+ );
3949
+ }
3950
+ }
3951
+ export {
3952
+ ChartWrapper as C,
3953
+ DATALENS_DEBUG_MODE_KEY as D,
3954
+ SNAPTER_DESIRED_CLASS as S,
3955
+ WidgetHeader as W,
3956
+ X_CSRF_TOKEN_HEADER as X,
3957
+ COMPONENT_CLASSNAME as a,
3958
+ getDefaultChartMenu as b,
3959
+ getPanePreviewChartMenu as c,
3960
+ getWizardChartMenu as d,
3961
+ getChartkitMenu as e,
3962
+ getChartkitMenuByType as g,
3963
+ pushStats as p
3964
+ };