@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,4026 @@
1
+ var _a;
2
+ import { D as DASH_WIDGET_TYPES, s as stringifyMemoize, C as CHARTKIT_SCROLLABLE_NODE_CLASSNAME, a as CHARTKIT_MAIN_CLASSNAME, b as CHARTKIT_ERROR_NODE_CLASSNAME, c as CONTROL_TYPE, d as CheckboxControlValue, w as wrapToArray, e as selectDashWorkbookId, u as unwrapFromArrayAndSkipOperation, f as addOperationForValue, g as chartsDataProvider, h as CHARTS_ERROR_CODE, i as unwrapFromArray, j as CLICK_ACTION_TYPE, k as isItemGlobal, l as isGlobalWidgetVisibleByMainSetting, m as isGroupItemVisibleOnTab } from "./ControlComponents.js";
3
+ import { DashKit, pluginText, PluginText, RECCOMMENDED_LINE_HEIGHT_MULTIPLIER, TITLE_DEFAULT_SIZES, pluginTitle, PluginTitle, PLUGIN_ROOT_ATTR_NAME } from "@gravity-ui/dashkit";
4
+ import { bi as splitParamsToParametersAndFilters, bj as transformParamsToUrlParams, bk as transformUrlParamsToParams, af as resolveOperation, bl as resolveIntervalDate, aX as Operations, bm as resolveRelativeDate, b5 as DatasetFieldType, l as I18n, ah as DashTabItemControlSourceType, b7 as DATASET_IGNORED_DATA_TYPES, D as DL, a4 as LIKE_CHART_COLOR_TOKEN, bn as getResultedOldBgColor, a3 as CustomPaletteBgColors, a_ as TitlePlacementOption, b3 as ControlQA, r as registry, j as i18n$8, bo as DashKitOverlayMenuQa, u as DashTabItemType, aE as ControlType, aZ as DATASET_FIELD_TYPES, n as ErrorCode, I as I18N, bp as DashTabItemControlElementType, F as Feature, bq as DashTabItemTitleSizes, br as EXPORT_PRINT_HIDDEN_ATTR, ab as isOldBackgroundSettings } from "./AccessRights.js";
5
+ import { z as getRouter, P as toSearchParams, l as logger, f as openDialogErrorWithTabs, c as closeDialog, j as useMountedState, r as getLocation, i as isEnabledFeature, Q as usePrevious, Y as YFM_MARKDOWN_CLASSNAME, M as MarkdownProvider } from "./ActionPanel.js";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import React__default, { createContext } from "react";
8
+ import { MenuItems, getItemsParams, pluginGroupControlBaseDL } from "@gravity-ui/dashkit/helpers";
9
+ import { Pencil, Copy, TrashBin, TriangleExclamationFill } from "@gravity-ui/icons";
10
+ import { useThemeType, Checkbox, Button, Dialog, TextArea, TextInput, Icon, Loader, Text } from "@gravity-ui/uikit";
11
+ import block from "bem-cn-lite";
12
+ import axios from "axios";
13
+ import debounce from "lodash/debounce";
14
+ import isEqual from "lodash/isEqual";
15
+ import pick from "lodash/pick";
16
+ import { C as ChartWrapper } from "./Widgets.js";
17
+ import PropTypes from "prop-types";
18
+ import { M as MOBILE_SIZE } from "./CollectionFilters.js";
19
+ import { Y as YCSelect } from "./common.js";
20
+ import { M as MarkdownHelpPopover } from "./MarkdownHelpPopover.js";
21
+ import { useSelector, useDispatch } from "react-redux";
22
+ import { a as selectDebugMode } from "./AsideHeaderAdapter.js";
23
+ import isPlainObject from "lodash/isPlainObject";
24
+ import moment from "moment";
25
+ import get from "lodash/get";
26
+ import { Y as YfmWrapper } from "./YfmWrapper.js";
27
+ import { useLocation } from "react-router";
28
+ import { Link } from "react-router-dom";
29
+ const MAX_AUTO_HEIGHT_PX = 3e3;
30
+ const MIN_AUTO_HEIGHT_PX = 44;
31
+ const MIN_AUTO_HEIGHT_ROWS = 2;
32
+ const DEFAULT_CONTROL_LAYOUT = { w: 8, h: 2 };
33
+ const FIXED_GROUP_CONTAINER_ID = "__fixGCont";
34
+ const FIXED_GROUP_HEADER_ID = "__fixHead";
35
+ const DEFAULT_DASH_MARGINS = [8, 8];
36
+ const MIN_DASH_MARGIN = 0;
37
+ const MAX_DASH_MARGIN = 22;
38
+ const DASH_MARGIN_STEP = 2;
39
+ const MIN_DASH_BORDER_RADIUS = 0;
40
+ const MAX_DASH_BORDER_RADIUS = 24;
41
+ const DASH_BORDER_RADIUS_STEP = 2;
42
+ const OLD_DEFAULT_WIDGET_BORDER_RADIUS = 0;
43
+ const DEBOUNCE_RENDER_TIMEOUT = 200;
44
+ const isWidgetTypeDoNotNeedOverlay = (widgetType) => {
45
+ return widgetType === DASH_WIDGET_TYPES.TABLE || widgetType === DASH_WIDGET_TYPES.MARKDOWN || widgetType === DASH_WIDGET_TYPES.TEXT || widgetType === DASH_WIDGET_TYPES.CONTROL || widgetType === DASH_WIDGET_TYPES.METRIC || // delete after closing CHARTS-5818
46
+ widgetType === DASH_WIDGET_TYPES.TIMESERIES;
47
+ };
48
+ const getDashEntryUrl = (response) => {
49
+ return `/${response.data?.entryId}`;
50
+ };
51
+ const getNewDashUrl = (workbookId) => {
52
+ return `/workbooks/${workbookId}/dashboards`;
53
+ };
54
+ const getUrlGlobalParams = stringifyMemoize(
55
+ (search, globalParams) => {
56
+ if (!search || !globalParams) {
57
+ return {};
58
+ }
59
+ const searchParams = new URLSearchParams(search);
60
+ return Object.keys(globalParams).reduce(
61
+ (result, key) => searchParams.has(key) ? { ...result, [key]: searchParams.getAll(key) } : result,
62
+ {}
63
+ );
64
+ }
65
+ );
66
+ const ELEMENT_TYPE = {
67
+ SELECT: "select"
68
+ };
69
+ const TYPE = {
70
+ SELECT: "select",
71
+ INPUT: "input",
72
+ DATEPICKER: "datepicker",
73
+ RANGE_DATEPICKER: "range-datepicker",
74
+ CHECKBOX: "checkbox"
75
+ };
76
+ const LOAD_STATUS = {
77
+ INITIAL: "initial",
78
+ PENDING: "pending",
79
+ SUCCESS: "success",
80
+ FAIL: "fail",
81
+ DESTROYED: "destroyed"
82
+ };
83
+ const LIMIT = 1e3;
84
+ const i18nError = I18n.keyset("dash.dashkit-control.error");
85
+ const getStatus = (status) => {
86
+ let res = "";
87
+ for (const [key, val] of Object.entries(LOAD_STATUS)) {
88
+ if (status === val) {
89
+ res = key;
90
+ }
91
+ }
92
+ return LOAD_STATUS[res];
93
+ };
94
+ const isValidRequiredValue = ({ required, value }) => {
95
+ const isEmptyArray = Array.isArray(value) && !value.length;
96
+ const isEmptyDateObject = !Array.isArray(value) && typeof value === "object" && (!value.from || !value.to);
97
+ if (!value || isEmptyArray || isEmptyDateObject) {
98
+ return required;
99
+ }
100
+ return false;
101
+ };
102
+ const getRequiredLabel = ({ title, required }) => {
103
+ return required ? `${title}*` : title;
104
+ };
105
+ const getLabels = (data) => {
106
+ const title = data.title;
107
+ const { showTitle, showInnerTitle, innerTitle, required } = data.source;
108
+ const label = showTitle ? getRequiredLabel({ title, required }) : "";
109
+ let innerLabel = "";
110
+ if (showInnerTitle && innerTitle) {
111
+ innerLabel = showTitle ? innerTitle : getRequiredLabel({ title: innerTitle, required });
112
+ }
113
+ return { label, innerLabel };
114
+ };
115
+ const getDatasetSourceInfo = ({
116
+ currentLoadedData,
117
+ data,
118
+ actualLoadedData
119
+ }) => {
120
+ const { datasetFieldId, datasetId } = data.source;
121
+ let datasetFieldType = null;
122
+ const loadedData = currentLoadedData || actualLoadedData;
123
+ let datasetFields = [];
124
+ if (loadedData && loadedData.extra.datasets) {
125
+ const dataset = loadedData.extra.datasets.find((dataset2) => dataset2.id === datasetId);
126
+ if (dataset) {
127
+ datasetFields = dataset.fieldsList;
128
+ const field = dataset.fieldsList.find((field2) => field2.guid === datasetFieldId);
129
+ if (field) {
130
+ datasetFieldType = field.dataType;
131
+ }
132
+ }
133
+ }
134
+ const datasetFieldsMap = datasetFields.reduce(
135
+ (acc, field) => {
136
+ const fieldData = {
137
+ fieldType: field.fieldType,
138
+ guid: field.guid
139
+ };
140
+ acc[field.guid] = fieldData;
141
+ acc[field.title] = fieldData;
142
+ return acc;
143
+ },
144
+ {}
145
+ );
146
+ return { datasetId, datasetFieldId, datasetFieldType, datasetFields, datasetFieldsMap };
147
+ };
148
+ const checkDatasetFieldType = ({
149
+ currentLoadedData,
150
+ datasetData,
151
+ actualLoadedData,
152
+ onError,
153
+ onSucces
154
+ }) => {
155
+ const { datasetFieldType } = getDatasetSourceInfo({
156
+ currentLoadedData,
157
+ data: datasetData,
158
+ actualLoadedData
159
+ });
160
+ if (datasetFieldType && DATASET_IGNORED_DATA_TYPES.includes(datasetFieldType)) {
161
+ const datasetErrorData = {
162
+ data: {
163
+ title: i18nError("label_field-error-title"),
164
+ message: i18nError("label_field-error-text")
165
+ }
166
+ };
167
+ onError(datasetErrorData, LOAD_STATUS.FAIL);
168
+ } else {
169
+ onSucces(currentLoadedData, LOAD_STATUS.SUCCESS);
170
+ }
171
+ };
172
+ const getErrorText = (data) => {
173
+ if (typeof data?.error?.code === "string") {
174
+ return data.error.code;
175
+ }
176
+ if (typeof data?.error === "string") {
177
+ return data.error;
178
+ }
179
+ if (typeof data?.message === "string") {
180
+ return data.message;
181
+ }
182
+ if (data?.status && data.status === 504) {
183
+ return i18nError("label_error-timeout");
184
+ }
185
+ return i18nError("label_error");
186
+ };
187
+ const prepareSelectorError = (data, requestId) => {
188
+ const errorBody = data?.error?.details?.sources?.distincts?.body;
189
+ if (errorBody) {
190
+ return {
191
+ isCustomError: true,
192
+ details: {
193
+ source: {
194
+ code: errorBody.code,
195
+ details: errorBody.details,
196
+ debug: errorBody.debug || (requestId ? { requestId } : "")
197
+ }
198
+ },
199
+ message: errorBody.message,
200
+ code: data.error?.code || ""
201
+ };
202
+ }
203
+ const errorContent = data?.error;
204
+ let debugInfo = errorContent?.debug || "";
205
+ if (typeof errorContent?.debug === "object" && requestId) {
206
+ debugInfo = { ...errorContent?.debug, requestId };
207
+ }
208
+ return {
209
+ ...errorContent,
210
+ debug: debugInfo,
211
+ message: getErrorText(data),
212
+ isCustomError: true
213
+ };
214
+ };
215
+ const isExternalControl = (data) => data.sourceType === DashTabItemControlSourceType.External;
216
+ const processParamsForGetDistincts = ({
217
+ params,
218
+ datasetSourceInfo,
219
+ searchPattern
220
+ }) => {
221
+ const { datasetFields, datasetFieldId, datasetFieldsMap } = datasetSourceInfo;
222
+ const splitParams = splitParamsToParametersAndFilters(
223
+ transformParamsToUrlParams(params),
224
+ datasetFields
225
+ );
226
+ const filtersParams = transformUrlParamsToParams(splitParams.filtersParams);
227
+ const where = Object.entries(filtersParams).reduce(
228
+ (result, [key, rawValue]) => {
229
+ if (key === datasetFieldId) {
230
+ return result;
231
+ }
232
+ const valuesWithOperation = (Array.isArray(rawValue) ? rawValue : [rawValue]).map(
233
+ (item) => resolveOperation(item)
234
+ );
235
+ if (valuesWithOperation.length > 0 && valuesWithOperation[0]?.value) {
236
+ const value = valuesWithOperation[0]?.value;
237
+ let operation = valuesWithOperation[0]?.operation;
238
+ let values = valuesWithOperation.map((item) => item?.value);
239
+ if (valuesWithOperation.length === 1 && value.indexOf("__interval_") === 0) {
240
+ const resolvedInterval = resolveIntervalDate(value);
241
+ if (resolvedInterval) {
242
+ values = [resolvedInterval.from, resolvedInterval.to];
243
+ operation = Operations.BETWEEN;
244
+ }
245
+ }
246
+ if (valuesWithOperation.length === 1 && value.indexOf("__relative_") === 0) {
247
+ const resolvedRelative = resolveRelativeDate(value);
248
+ if (resolvedRelative) {
249
+ values = [resolvedRelative];
250
+ }
251
+ }
252
+ result.push({
253
+ column: key,
254
+ operation,
255
+ values
256
+ });
257
+ }
258
+ return result;
259
+ },
260
+ [
261
+ {
262
+ column: datasetFieldId,
263
+ operation: "ICONTAINS",
264
+ values: [searchPattern]
265
+ }
266
+ ]
267
+ );
268
+ const filters = where.filter((el) => {
269
+ return datasetFieldsMap[el.column]?.fieldType !== DatasetFieldType.Measure;
270
+ }).map((filter) => {
271
+ return {
272
+ ref: { type: "id", id: filter.column },
273
+ operation: filter.operation,
274
+ values: filter.values
275
+ };
276
+ });
277
+ const parameter_values = splitParams.parametersParams.map(
278
+ ([key, value]) => {
279
+ return {
280
+ ref: { type: "id", id: key },
281
+ value
282
+ };
283
+ }
284
+ );
285
+ return {
286
+ filters,
287
+ parameter_values
288
+ };
289
+ };
290
+ const getScrollbarWidth = (node) => node.offsetWidth - node.clientWidth;
291
+ const setNewLayout = ({
292
+ gridLayout,
293
+ layout,
294
+ widgetId,
295
+ cb,
296
+ contentHeight,
297
+ needSetDefault
298
+ }) => {
299
+ const { rowHeight, margin } = gridLayout;
300
+ const newHeight = Math.ceil((contentHeight + margin[1]) / (rowHeight + margin[1]));
301
+ const correspondedLayoutItemIndex = layout.findIndex((layoutItem) => layoutItem.i === widgetId);
302
+ const correspondedLayoutItem = layout[correspondedLayoutItemIndex];
303
+ if (correspondedLayoutItem.h === newHeight && correspondedLayoutItem.minH === newHeight && correspondedLayoutItem.maxH === newHeight) {
304
+ return;
305
+ }
306
+ const adjustedWidgetLayout = {
307
+ ...correspondedLayoutItem,
308
+ h: newHeight,
309
+ maxH: newHeight,
310
+ minH: newHeight
311
+ };
312
+ cb({ widgetId, needSetDefault, adjustedWidgetLayout });
313
+ };
314
+ const setOverflowYStyle = (node, value) => {
315
+ const st = node.getAttribute("style");
316
+ node.setAttribute(
317
+ "style",
318
+ `${st || ""}${!st || st?.endsWith(";") ? "" : ";"}overflow-y: ${value} !important;`
319
+ );
320
+ return () => {
321
+ if (st) {
322
+ node.setAttribute("style", st);
323
+ } else {
324
+ node.removeAttribute("style");
325
+ }
326
+ };
327
+ };
328
+ const setStyle = (node, name, value) => {
329
+ const st = node.getAttribute("style");
330
+ node.setAttribute(
331
+ "style",
332
+ `${st || ""}${!st || st?.endsWith(";") ? "" : ";"}${name}: ${value} !important;`
333
+ );
334
+ return () => {
335
+ if (st) {
336
+ node.setAttribute("style", st);
337
+ } else {
338
+ node.removeAttribute("style");
339
+ }
340
+ };
341
+ };
342
+ function adjustWidgetLayout({
343
+ widgetId,
344
+ rootNode,
345
+ needSetDefault,
346
+ gridLayout,
347
+ layout,
348
+ cb,
349
+ mainNodeSelector,
350
+ scrollableNodeSelector,
351
+ needHeightReset
352
+ }) {
353
+ if (DL.IS_MOBILE || needSetDefault) {
354
+ cb({ widgetId, needSetDefault });
355
+ return;
356
+ }
357
+ const node = rootNode.current;
358
+ if (!node) {
359
+ return;
360
+ }
361
+ const prevHeight = "100%";
362
+ if (needHeightReset) {
363
+ setStyle(node, "height", "auto");
364
+ }
365
+ const scrollableNode = node.querySelector(
366
+ scrollableNodeSelector || `.${CHARTKIT_SCROLLABLE_NODE_CLASSNAME}`
367
+ );
368
+ const mainNode = node.querySelector(mainNodeSelector || `.${CHARTKIT_MAIN_CLASSNAME}`);
369
+ const errorNode = node.querySelector(`.${CHARTKIT_ERROR_NODE_CLASSNAME}`);
370
+ const rootNodeTopPosition = node.getBoundingClientRect().top;
371
+ if (errorNode && !scrollableNode) {
372
+ const errorOffsetFromRoot = errorNode.getBoundingClientRect().top - rootNodeTopPosition;
373
+ const fullContentHeight2 = errorNode.scrollHeight + errorOffsetFromRoot;
374
+ const contentHeight2 = fullContentHeight2 > MAX_AUTO_HEIGHT_PX ? MAX_AUTO_HEIGHT_PX : fullContentHeight2;
375
+ setNewLayout({
376
+ contentHeight: Math.max(MIN_AUTO_HEIGHT_PX, contentHeight2),
377
+ gridLayout,
378
+ layout,
379
+ cb,
380
+ widgetId,
381
+ needSetDefault
382
+ });
383
+ if (needHeightReset) {
384
+ setStyle(node, "height", prevHeight);
385
+ }
386
+ return;
387
+ }
388
+ if (!scrollableNode) {
389
+ if (needHeightReset) {
390
+ setStyle(node, "height", prevHeight);
391
+ }
392
+ return;
393
+ }
394
+ const scrollableNodeTopPosition = scrollableNode.getBoundingClientRect().top;
395
+ const scrollableNodeTopOffsetFromRoot = scrollableNodeTopPosition - rootNodeTopPosition;
396
+ const belowLyingNodesHeight = collectBelowLyingNodesHeight(scrollableNode, node, 0);
397
+ let scrollBar = getScrollbarWidth(scrollableNode);
398
+ let scrollHeight = scrollableNode.scrollHeight;
399
+ if (scrollBar > 0) {
400
+ const reset = setOverflowYStyle(scrollableNode, "hidden");
401
+ scrollHeight = scrollableNode.scrollHeight;
402
+ scrollBar = scrollableNode.clientWidth >= scrollableNode.scrollWidth ? 0 : scrollBar;
403
+ reset();
404
+ } else if (scrollableNode.clientWidth < scrollableNode.scrollWidth) {
405
+ const reset = setOverflowYStyle(scrollableNode, "scroll");
406
+ scrollBar = getScrollbarWidth(scrollableNode);
407
+ reset();
408
+ }
409
+ const additionalPaddings = mainNode && mainNode.parentElement ? mainNode.parentElement.getBoundingClientRect().bottom - mainNode.getBoundingClientRect().bottom : 0;
410
+ const fullContentHeight = Math.floor(
411
+ scrollableNodeTopOffsetFromRoot + scrollHeight + scrollBar + belowLyingNodesHeight + additionalPaddings
412
+ );
413
+ const contentHeight = fullContentHeight > MAX_AUTO_HEIGHT_PX ? MAX_AUTO_HEIGHT_PX : fullContentHeight;
414
+ setNewLayout({
415
+ contentHeight: Math.max(MIN_AUTO_HEIGHT_PX, contentHeight),
416
+ gridLayout,
417
+ layout,
418
+ cb,
419
+ widgetId,
420
+ needSetDefault
421
+ });
422
+ if (needHeightReset) {
423
+ setStyle(node, "height", prevHeight);
424
+ }
425
+ }
426
+ function collectBelowLyingNodesHeight(node, limitNode, currentHeight = 0) {
427
+ if (node === limitNode) {
428
+ return currentHeight;
429
+ }
430
+ const nextSibling = node.nextElementSibling;
431
+ let height = currentHeight;
432
+ if (nextSibling) {
433
+ height = currentHeight + nextSibling.getBoundingClientRect().height;
434
+ }
435
+ if (nextSibling && nextSibling.nextElementSibling) {
436
+ return collectBelowLyingNodesHeight(nextSibling, limitNode, height);
437
+ } else if (node.parentElement) {
438
+ return collectBelowLyingNodesHeight(node.parentElement, limitNode, height);
439
+ } else {
440
+ return height;
441
+ }
442
+ }
443
+ function getControlHint(source) {
444
+ return source.showHint ? source.hint : void 0;
445
+ }
446
+ function getPreparedWrapSettings(backgroundColor, additionalStyle) {
447
+ const hasBgColor = Boolean(backgroundColor) && backgroundColor !== CustomPaletteBgColors.NONE;
448
+ const newBackgroundColor = backgroundColor === CustomPaletteBgColors.LIKE_CHART ? LIKE_CHART_COLOR_TOKEN : backgroundColor;
449
+ const style = {
450
+ ...additionalStyle,
451
+ backgroundColor: hasBgColor || backgroundColor === CustomPaletteBgColors.NONE ? newBackgroundColor : void 0
452
+ };
453
+ return {
454
+ style,
455
+ hasBgColor
456
+ };
457
+ }
458
+ function useTextColorStyles(oldTextColor, textColorSettings) {
459
+ const theme = useThemeType();
460
+ return React__default.useMemo(() => {
461
+ const resultedNewTextColor = typeof textColorSettings === "string" ? textColorSettings : textColorSettings?.[theme];
462
+ return {
463
+ color: typeof oldTextColor === "string" ? oldTextColor : resultedNewTextColor
464
+ };
465
+ }, [oldTextColor, textColorSettings, theme]);
466
+ }
467
+ function useBorderRadiusStyles(borderRadius, globalBorderRadius) {
468
+ return React__default.useMemo(() => {
469
+ return {
470
+ borderRadius: borderRadius ?? globalBorderRadius
471
+ };
472
+ }, [borderRadius, globalBorderRadius]);
473
+ }
474
+ function usePreparedWrapSettings({
475
+ ownWidgetSettings,
476
+ globalWidgetSettings,
477
+ additionalStyle,
478
+ defaultOldColor
479
+ }) {
480
+ const theme = useThemeType();
481
+ const borderRadiusStyles = useBorderRadiusStyles(
482
+ ownWidgetSettings.borderRadius,
483
+ globalWidgetSettings.borderRadius
484
+ );
485
+ return React__default.useMemo(() => {
486
+ return getPreparedWrapSettings(
487
+ getResultedBgColor(
488
+ ownWidgetSettings.background,
489
+ theme,
490
+ defaultOldColor,
491
+ ownWidgetSettings.backgroundSettings
492
+ ) ?? getResultedBgColor(
493
+ globalWidgetSettings.background,
494
+ theme,
495
+ defaultOldColor,
496
+ globalWidgetSettings.backgroundSettings
497
+ ),
498
+ { ...borderRadiusStyles, ...additionalStyle }
499
+ );
500
+ }, [
501
+ ownWidgetSettings.background,
502
+ globalWidgetSettings.background,
503
+ ownWidgetSettings.backgroundSettings,
504
+ globalWidgetSettings.backgroundSettings,
505
+ additionalStyle,
506
+ borderRadiusStyles,
507
+ defaultOldColor,
508
+ theme
509
+ ]);
510
+ }
511
+ function getResultedBgColor(oldBgColor, theme, defaultColor, newBgColor) {
512
+ if (newBgColor?.color) {
513
+ return typeof newBgColor.color === "string" ? newBgColor.color : newBgColor.color?.[theme];
514
+ }
515
+ return getResultedOldBgColor(oldBgColor, defaultColor);
516
+ }
517
+ const b$d = block("chartkit-control-item");
518
+ function withWrapForControls(WrappedComponent) {
519
+ function WithWrapForControls(props) {
520
+ const {
521
+ type,
522
+ width,
523
+ hidden,
524
+ label,
525
+ labelInside,
526
+ className,
527
+ style,
528
+ renderOverlay,
529
+ labelClassName,
530
+ hint,
531
+ labelPlacement
532
+ } = props;
533
+ if (hidden) {
534
+ return null;
535
+ }
536
+ const showLabel = label && !labelInside && type !== CONTROL_TYPE.BUTTON && type !== CONTROL_TYPE.CHECKBOX && type !== CONTROL_TYPE.TEXTAREA;
537
+ const customStyle = style || { width };
538
+ const controlStyle = DL.IS_MOBILE ? { width: "100%" } : customStyle;
539
+ const vertical = showLabel && labelPlacement === TitlePlacementOption.Top;
540
+ return /* @__PURE__ */ React__default.createElement(
541
+ "div",
542
+ {
543
+ className: b$d(
544
+ "control",
545
+ { mobile: DL.IS_MOBILE, "without-label": !showLabel, vertical },
546
+ className
547
+ ),
548
+ style: controlStyle,
549
+ "data-qa": ControlQA.chartkitControl
550
+ },
551
+ renderOverlay?.(),
552
+ showLabel && /* @__PURE__ */ React__default.createElement(
553
+ "div",
554
+ {
555
+ className: b$d("title", { vertical }, labelClassName),
556
+ "data-qa": ControlQA.controlLabel
557
+ },
558
+ /* @__PURE__ */ React__default.createElement("span", { title: label, className: b$d("title-text") }, label),
559
+ hint && /* @__PURE__ */ React__default.createElement(MarkdownHelpPopover, { markdown: hint })
560
+ ),
561
+ /* @__PURE__ */ React__default.createElement(WrappedComponent, { ...props }),
562
+ hint && !showLabel && /* @__PURE__ */ React__default.createElement(MarkdownHelpPopover, { markdown: hint })
563
+ );
564
+ }
565
+ WithWrapForControls.propTypes = {
566
+ ...WrappedComponent.propTypes,
567
+ type: PropTypes.oneOf(Object.values(CONTROL_TYPE)).isRequired,
568
+ label: PropTypes.string,
569
+ labelInside: PropTypes.bool,
570
+ innerLabel: PropTypes.string,
571
+ className: PropTypes.string,
572
+ hidden: PropTypes.bool,
573
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
574
+ };
575
+ return WithWrapForControls;
576
+ }
577
+ var withWrapForControls_default = withWrapForControls;
578
+ const DatepickerControl = registry.common.components.get("DatepickerControl", { wrap: true });
579
+ const b$c = block("chartkit-control-item");
580
+ const legoThemeNameMapper = {
581
+ light: "flat-secondary",
582
+ pseudo: "outlined",
583
+ link: "outlined-info",
584
+ accent: "action",
585
+ websearch: "action",
586
+ "flat-special": "flat-contrast",
587
+ "normal-special": "normal-contrast",
588
+ "pseudo-special": "outlined-contrast"
589
+ };
590
+ const tryResolveRelativeDate = (value, intervalPart) => {
591
+ try {
592
+ return resolveRelativeDate(value, intervalPart);
593
+ } catch (e) {
594
+ return false;
595
+ }
596
+ };
597
+ const tryResolveIntervalDate = (value) => {
598
+ try {
599
+ return resolveIntervalDate(value);
600
+ } catch (e) {
601
+ return false;
602
+ }
603
+ };
604
+ const controlSize = DL.IS_MOBILE ? MOBILE_SIZE.CONTROL : "m";
605
+ const controlWidth = DL.IS_MOBILE ? "100%" : void 0;
606
+ function BaseControlSelect({
607
+ searchable = true,
608
+ multiselect,
609
+ content,
610
+ value,
611
+ onChange,
612
+ getItems,
613
+ label,
614
+ labelInside,
615
+ innerLabel,
616
+ errorContent,
617
+ loadingItems,
618
+ itemsLoaderClassName,
619
+ onOpenChange,
620
+ placeholder,
621
+ required,
622
+ hasValidationError,
623
+ limitLabel,
624
+ disabled,
625
+ accentType
626
+ }) {
627
+ const [currentValue, setCurrentValue] = React__default.useState(
628
+ multiselect ? wrapToArray(value) : value
629
+ );
630
+ React__default.useEffect(() => {
631
+ setCurrentValue(multiselect ? wrapToArray(value) : value);
632
+ }, [value, multiselect]);
633
+ const items = content.filter(({ value: value2 }) => value2 !== null && value2 !== "" && value2 !== void 0).map(({ title, value: value2 }) => ({
634
+ value: value2,
635
+ title,
636
+ key: value2
637
+ }));
638
+ const wrappedOnChange = React__default.useCallback(
639
+ (value2) => {
640
+ const wrappedValue = value2 === null || Array.isArray(value2) && !value2.length ? "" : value2;
641
+ setCurrentValue(multiselect ? wrapToArray(wrappedValue) : wrappedValue);
642
+ return onChange(wrappedValue);
643
+ },
644
+ [onChange, multiselect]
645
+ );
646
+ const showSelectAll = currentValue?.length === items?.length && required ? false : void 0;
647
+ const size = DL.IS_MOBILE ? MOBILE_SIZE.YC_SELECT : "s";
648
+ return /* @__PURE__ */ React__default.createElement(
649
+ YCSelect,
650
+ {
651
+ showSearch: searchable,
652
+ type: multiselect ? YCSelect.MULTIPLE : YCSelect.SINGLE,
653
+ allowEmptyValue: !required,
654
+ showMissingItems: true,
655
+ value: currentValue,
656
+ onUpdate: wrappedOnChange,
657
+ controlTestAnchor: ControlQA.controlSelect,
658
+ itemsListTestAnchor: ControlQA.controlSelectItems,
659
+ items: getItems ? void 0 : items,
660
+ initialItems: getItems ? items : void 0,
661
+ label: labelInside ? label : innerLabel,
662
+ limitLabel,
663
+ getItems,
664
+ loadingItems,
665
+ errorContent,
666
+ itemsLoaderClassName,
667
+ onOpenChange,
668
+ placeholder,
669
+ size,
670
+ className: b$c("yc-select", { accent: accentType }),
671
+ showSelectAll,
672
+ hasValidationError,
673
+ disabled
674
+ }
675
+ );
676
+ }
677
+ BaseControlSelect.propTypes = {
678
+ label: PropTypes.string,
679
+ param: PropTypes.string.isRequired,
680
+ multiselect: PropTypes.bool,
681
+ searchable: PropTypes.bool,
682
+ content: PropTypes.arrayOf(
683
+ PropTypes.shape({
684
+ title: PropTypes.string.isRequired,
685
+ value: PropTypes.string.isRequired
686
+ })
687
+ ).isRequired,
688
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),
689
+ onChange: PropTypes.func.isRequired,
690
+ getItems: PropTypes.func,
691
+ className: PropTypes.string,
692
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
693
+ hidden: PropTypes.bool,
694
+ labelInside: PropTypes.bool,
695
+ innerLabel: PropTypes.string,
696
+ loadingItems: PropTypes.bool,
697
+ errorContent: PropTypes.node,
698
+ itemsLoaderClassName: PropTypes.string,
699
+ onOpenChange: PropTypes.func,
700
+ placeholder: PropTypes.string,
701
+ widgetId: PropTypes.string,
702
+ required: PropTypes.bool,
703
+ hasValidationError: PropTypes.bool,
704
+ limitLabel: PropTypes.bool,
705
+ disabled: PropTypes.bool,
706
+ accentType: PropTypes.string
707
+ };
708
+ function BaseControlInput({
709
+ placeholder,
710
+ value,
711
+ onChange,
712
+ innerLabel,
713
+ labelInside,
714
+ label,
715
+ hasValidationError,
716
+ disabled,
717
+ accentType
718
+ }) {
719
+ const [text, setText] = React__default.useState(value || "");
720
+ React__default.useEffect(() => setText(value), [value]);
721
+ const isInvalid = hasValidationError && !text?.length;
722
+ return /* @__PURE__ */ React__default.createElement(
723
+ TextInput,
724
+ {
725
+ placeholder,
726
+ className: b$c("component", { input: true, accent: accentType }),
727
+ value: text,
728
+ onUpdate: (value2) => setText(value2),
729
+ onKeyPress: (event) => event.charCode === 13 && onChange(text),
730
+ onBlur: () => {
731
+ setTimeout(() => {
732
+ onChange(text);
733
+ });
734
+ },
735
+ label: labelInside ? label : innerLabel,
736
+ qa: ControlQA.controlInput,
737
+ size: controlSize,
738
+ error: isInvalid,
739
+ disabled
740
+ }
741
+ );
742
+ }
743
+ BaseControlInput.propTypes = {
744
+ label: PropTypes.string,
745
+ param: PropTypes.string.isRequired,
746
+ placeholder: PropTypes.string,
747
+ value: PropTypes.string,
748
+ onChange: PropTypes.func.isRequired,
749
+ className: PropTypes.string,
750
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
751
+ hidden: PropTypes.bool,
752
+ innerLabel: PropTypes.string,
753
+ labelInside: PropTypes.bool,
754
+ widgetId: PropTypes.string,
755
+ required: PropTypes.bool,
756
+ hasValidationError: PropTypes.bool,
757
+ disabled: PropTypes.bool,
758
+ accentType: PropTypes.string
759
+ };
760
+ function BaseControlTextArea({ label, theme, value, placeholder, onChange }) {
761
+ const [text, setText] = React__default.useState(value);
762
+ const [showModal, setShowModal] = React__default.useState(false);
763
+ const handleClose = React__default.useCallback(() => {
764
+ if (text === value) {
765
+ setShowModal(false);
766
+ } else if (confirm(i18n$8("chartkit.control.items", "close-confirm"))) {
767
+ setShowModal(false);
768
+ setText(value);
769
+ }
770
+ }, [value, text]);
771
+ const handleClick = () => {
772
+ setShowModal(true);
773
+ };
774
+ const buttonTheme = theme in legoThemeNameMapper ? legoThemeNameMapper[theme] : theme;
775
+ const buttonSize = DL.IS_MOBILE ? MOBILE_SIZE.BUTTON : "s";
776
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
777
+ Button,
778
+ {
779
+ view: buttonTheme || "normal",
780
+ size: buttonSize,
781
+ width: "max",
782
+ onClick: handleClick
783
+ },
784
+ label
785
+ ), showModal && /* @__PURE__ */ React__default.createElement(Dialog, { open: showModal, onClose: handleClose }, /* @__PURE__ */ React__default.createElement(Dialog.Header, { caption: label }), /* @__PURE__ */ React__default.createElement(Dialog.Body, null, /* @__PURE__ */ React__default.createElement(
786
+ TextArea,
787
+ {
788
+ value: text,
789
+ placeholder,
790
+ className: b$c("textarea"),
791
+ controlProps: {
792
+ style: {
793
+ resize: "both",
794
+ minWidth: 480,
795
+ minHeight: 28
796
+ }
797
+ },
798
+ onUpdate: (value2) => setText(value2),
799
+ size: controlSize
800
+ }
801
+ )), /* @__PURE__ */ React__default.createElement(
802
+ Dialog.Footer,
803
+ {
804
+ textButtonApply: i18n$8("chartkit.control.items", "apply"),
805
+ onClickButtonApply: () => {
806
+ setShowModal(false);
807
+ onChange(text);
808
+ },
809
+ textButtonCancel: i18n$8("chartkit.control.items", "close"),
810
+ onClickButtonCancel: handleClose
811
+ }
812
+ )));
813
+ }
814
+ BaseControlTextArea.propTypes = {
815
+ label: PropTypes.string,
816
+ param: PropTypes.string.isRequired,
817
+ theme: PropTypes.string,
818
+ value: PropTypes.string,
819
+ placeholder: PropTypes.string,
820
+ onChange: PropTypes.func.isRequired,
821
+ className: PropTypes.string,
822
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
823
+ hidden: PropTypes.bool,
824
+ widgetId: PropTypes.string
825
+ };
826
+ function BaseControlDatepicker({
827
+ minDate,
828
+ maxDate,
829
+ format,
830
+ timeFormat,
831
+ value,
832
+ onChange,
833
+ widgetId = "",
834
+ required,
835
+ hasValidationError,
836
+ innerLabel,
837
+ labelInside,
838
+ label,
839
+ labelPlacement,
840
+ disabled,
841
+ accentType
842
+ }) {
843
+ const date = value && tryResolveRelativeDate(value) || value;
844
+ const wrappedOnChange = React__default.useCallback(
845
+ ({ from }) => onChange(from === null ? "" : from),
846
+ [onChange]
847
+ );
848
+ const vertical = labelPlacement === TitlePlacementOption.Top;
849
+ return /* @__PURE__ */ React__default.createElement(
850
+ DatepickerControl,
851
+ {
852
+ widgetId,
853
+ min: minDate,
854
+ max: maxDate,
855
+ from: date,
856
+ format: format || `dd.MM.yyyy ${timeFormat || ""}`.trim(),
857
+ scale: "day",
858
+ timezoneOffset: 0,
859
+ range: false,
860
+ hasClear: !required,
861
+ showApply: false,
862
+ allowNullableValues: true,
863
+ emptyValueText: i18n$8("chartkit.control.items", "value_undefined"),
864
+ onUpdate: wrappedOnChange,
865
+ controlSize,
866
+ controlWidth,
867
+ className: b$c("component", { vertical, accent: accentType }),
868
+ hasValidationError,
869
+ required,
870
+ label: labelInside ? label : innerLabel,
871
+ disabled
872
+ }
873
+ );
874
+ }
875
+ BaseControlDatepicker.propTypes = {
876
+ label: PropTypes.string,
877
+ param: PropTypes.string.isRequired,
878
+ minDate: PropTypes.string,
879
+ maxDate: PropTypes.string,
880
+ format: PropTypes.string,
881
+ timeFormat: PropTypes.string,
882
+ value: PropTypes.string,
883
+ onChange: PropTypes.func.isRequired,
884
+ className: PropTypes.string,
885
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
886
+ hidden: PropTypes.bool,
887
+ widgetId: PropTypes.string,
888
+ required: PropTypes.bool,
889
+ hasValidationError: PropTypes.bool,
890
+ innerLabel: PropTypes.string,
891
+ labelInside: PropTypes.bool,
892
+ labelPlacement: PropTypes.string,
893
+ disabled: PropTypes.bool,
894
+ accentType: PropTypes.string
895
+ };
896
+ function BaseControlRangeDatepicker({
897
+ minDate,
898
+ maxDate,
899
+ format,
900
+ timeFormat,
901
+ value,
902
+ returnInterval,
903
+ onChange,
904
+ widgetId = "",
905
+ required,
906
+ hasValidationError,
907
+ innerLabel,
908
+ labelInside,
909
+ label,
910
+ labelPlacement,
911
+ disabled,
912
+ accentType
913
+ }) {
914
+ let from;
915
+ let to;
916
+ if (value) {
917
+ if (typeof value === "object") {
918
+ from = value.from && tryResolveRelativeDate(value.from, "start") || value.from;
919
+ to = value.to && tryResolveRelativeDate(value.to, "end") || value.to;
920
+ } else {
921
+ const resolved = value && tryResolveIntervalDate(value);
922
+ if (resolved) {
923
+ from = resolved.from;
924
+ to = resolved.to;
925
+ }
926
+ }
927
+ }
928
+ const wrappedOnChange = React__default.useCallback(
929
+ ({ from: from2, to: to2 }) => {
930
+ const resultFrom = from2 === null ? "" : from2;
931
+ const resultTo = to2 === null ? "" : to2;
932
+ let result;
933
+ if (returnInterval) {
934
+ result = resultFrom && resultTo ? `__interval_${resultFrom}_${resultTo}` : "";
935
+ } else {
936
+ result = { from: resultFrom, to: resultTo };
937
+ }
938
+ onChange(result);
939
+ },
940
+ [returnInterval, onChange]
941
+ );
942
+ const vertical = labelPlacement === TitlePlacementOption.Top;
943
+ return /* @__PURE__ */ React__default.createElement(
944
+ DatepickerControl,
945
+ {
946
+ widgetId,
947
+ min: minDate,
948
+ max: maxDate,
949
+ from,
950
+ to,
951
+ format: format || `dd.MM.yyyy ${timeFormat || ""}`.trim(),
952
+ timezoneOffset: 0,
953
+ hasClear: !required,
954
+ showApply: false,
955
+ allowNullableValues: true,
956
+ emptyValueText: i18n$8("chartkit.control.items", "value_undefined"),
957
+ onUpdate: wrappedOnChange,
958
+ controlSize,
959
+ controlWidth,
960
+ className: b$c("component", { vertical, accent: accentType }),
961
+ hasValidationError,
962
+ required,
963
+ fillPartialInterval: true,
964
+ label: labelInside ? label : innerLabel,
965
+ disabled
966
+ }
967
+ );
968
+ }
969
+ BaseControlRangeDatepicker.propTypes = {
970
+ label: PropTypes.string,
971
+ param: PropTypes.string,
972
+ // for the case __interval_YYYY-MM-DD_YYYY-MM-DD
973
+ paramFrom: PropTypes.string,
974
+ paramTo: PropTypes.string,
975
+ format: PropTypes.string,
976
+ timeFormat: PropTypes.string,
977
+ returnInterval: PropTypes.bool,
978
+ minDate: PropTypes.string,
979
+ maxDate: PropTypes.string,
980
+ value: PropTypes.oneOfType([
981
+ PropTypes.shape({
982
+ from: PropTypes.string,
983
+ to: PropTypes.string
984
+ }),
985
+ PropTypes.string
986
+ ]),
987
+ onChange: PropTypes.func.isRequired,
988
+ className: PropTypes.string,
989
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
990
+ hidden: PropTypes.bool,
991
+ widgetId: PropTypes.string,
992
+ required: PropTypes.bool,
993
+ hasValidationError: PropTypes.bool,
994
+ innerLabel: PropTypes.string,
995
+ labelInside: PropTypes.bool,
996
+ labelPlacement: PropTypes.string,
997
+ disabled: PropTypes.bool,
998
+ accentType: PropTypes.string
999
+ };
1000
+ function BaseControlButton({ label, theme, onChange, qa, disabled, loading }) {
1001
+ const buttonTheme = theme in legoThemeNameMapper ? legoThemeNameMapper[theme] : theme;
1002
+ const size = DL.IS_MOBILE ? MOBILE_SIZE.BUTTON : "s";
1003
+ const handleClick = () => {
1004
+ setTimeout(onChange);
1005
+ };
1006
+ return /* @__PURE__ */ React__default.createElement(
1007
+ Button,
1008
+ {
1009
+ view: buttonTheme || "normal",
1010
+ size,
1011
+ width: "max",
1012
+ onClick: handleClick,
1013
+ disabled,
1014
+ qa,
1015
+ loading
1016
+ },
1017
+ label || i18n$8("chartkit.control.items", "apply")
1018
+ );
1019
+ }
1020
+ BaseControlButton.propTypes = {
1021
+ label: PropTypes.string,
1022
+ theme: PropTypes.string,
1023
+ onChange: PropTypes.func.isRequired,
1024
+ qa: PropTypes.string,
1025
+ loading: PropTypes.bool
1026
+ };
1027
+ function BaseControlCheckbox({ label, value, onChange, disabled }) {
1028
+ const checked = value === CheckboxControlValue.TRUE;
1029
+ const size = DL.IS_MOBILE ? MOBILE_SIZE.CHECKBOX : "m";
1030
+ return /* @__PURE__ */ React__default.createElement(
1031
+ Checkbox,
1032
+ {
1033
+ theme: "normal",
1034
+ view: "default",
1035
+ size,
1036
+ checked,
1037
+ title: label,
1038
+ onChange: () => onChange(checked ? CheckboxControlValue.FALSE : CheckboxControlValue.TRUE),
1039
+ disabled
1040
+ },
1041
+ label
1042
+ );
1043
+ }
1044
+ BaseControlCheckbox.propTypes = {
1045
+ label: PropTypes.string,
1046
+ param: PropTypes.string.isRequired,
1047
+ dateFormat: PropTypes.string,
1048
+ minDate: PropTypes.string,
1049
+ maxDate: PropTypes.string,
1050
+ value: PropTypes.string,
1051
+ onChange: PropTypes.func.isRequired,
1052
+ className: PropTypes.string,
1053
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
1054
+ hidden: PropTypes.bool,
1055
+ widgetId: PropTypes.string,
1056
+ disabled: PropTypes.bool
1057
+ };
1058
+ const ControlInput = withWrapForControls_default(BaseControlInput);
1059
+ const ControlTextArea = withWrapForControls_default(BaseControlTextArea);
1060
+ const ControlSelect = withWrapForControls_default(BaseControlSelect);
1061
+ const ControlButton = withWrapForControls_default(BaseControlButton);
1062
+ const ControlCheckbox = withWrapForControls_default(BaseControlCheckbox);
1063
+ const ControlDatepicker = withWrapForControls_default(BaseControlDatepicker);
1064
+ const ControlRangeDatepicker = withWrapForControls_default(BaseControlRangeDatepicker);
1065
+ const b$b = block("debug-info-tool");
1066
+ function getDebugText({ label, value }, index) {
1067
+ return /* @__PURE__ */ jsxs(
1068
+ "span",
1069
+ {
1070
+ className: b$b("text"),
1071
+ children: [
1072
+ label,
1073
+ ": ",
1074
+ value
1075
+ ]
1076
+ },
1077
+ index === void 0 ? null : `debug-item-${label}-${value}-${index}`
1078
+ );
1079
+ }
1080
+ const DebugInfoTool = (props) => {
1081
+ const dlDebugMode = useSelector(selectDebugMode);
1082
+ if (!dlDebugMode) {
1083
+ return null;
1084
+ }
1085
+ const text = props.data?.length ? props.data.map((item, index) => getDebugText(item, index)) : getDebugText(props);
1086
+ const { modType } = props;
1087
+ const mod = modType ? { [modType]: true } : null;
1088
+ return /* @__PURE__ */ jsx("div", { className: b$b("label", mod), children: text });
1089
+ };
1090
+ const useBeforeLoad = (onBeforeLoad) => {
1091
+ const onUpdate = React__default.useRef();
1092
+ if (!onUpdate.current && onBeforeLoad) {
1093
+ onUpdate.current = debounce(onBeforeLoad(), DEBOUNCE_RENDER_TIMEOUT);
1094
+ }
1095
+ return onUpdate.current;
1096
+ };
1097
+ const ExtendedDashKitContext = createContext(null);
1098
+ const i18n$7 = I18n.keyset("component.dashkit.view");
1099
+ const b$a = block("dashkit-plugin-menu");
1100
+ function getEntryId(configItem, state) {
1101
+ const { type, data } = configItem;
1102
+ let entryId;
1103
+ if (type === DashTabItemType.Control) {
1104
+ const source = data?.source;
1105
+ if (source) {
1106
+ entryId = source?.chartId;
1107
+ }
1108
+ } else {
1109
+ const itemTabs = data?.tabs;
1110
+ if (itemTabs) {
1111
+ const stateTabId = state?.tabId;
1112
+ const itemTab = itemTabs.find((iTab) => iTab.id === stateTabId) || itemTabs[0];
1113
+ entryId = itemTab.chartId;
1114
+ }
1115
+ }
1116
+ return entryId ? entryId : null;
1117
+ }
1118
+ function getDashKitMenu(onRemoveItem) {
1119
+ return [
1120
+ {
1121
+ id: "edit",
1122
+ title: i18n$7("label_edit"),
1123
+ icon: /* @__PURE__ */ jsx(Icon, { data: Pencil, size: 16 }),
1124
+ handler: (configItem, params, state) => {
1125
+ const entryId = getEntryId(configItem, state);
1126
+ if (entryId) {
1127
+ getRouter().open(
1128
+ { pathname: `/navigate/${entryId}`, search: toSearchParams(params) },
1129
+ "_blank"
1130
+ );
1131
+ }
1132
+ },
1133
+ visible: (configItem) => {
1134
+ const { type, data } = configItem;
1135
+ return type === DashTabItemType.Widget || type === DashTabItemType.Control && data?.sourceType === DashTabItemControlSourceType.External;
1136
+ }
1137
+ },
1138
+ {
1139
+ id: MenuItems.Copy,
1140
+ title: i18n$7("label_copy"),
1141
+ icon: /* @__PURE__ */ jsx(Icon, { data: Copy, size: 16 }),
1142
+ qa: DashKitOverlayMenuQa.CopyButton
1143
+ },
1144
+ {
1145
+ id: MenuItems.Delete,
1146
+ title: i18n$7("label_delete"),
1147
+ icon: /* @__PURE__ */ jsx(Icon, { data: TrashBin, size: 16 }),
1148
+ className: b$a("item", { danger: true }),
1149
+ qa: DashKitOverlayMenuQa.RemoveButton,
1150
+ handler: onRemoveItem
1151
+ }
1152
+ ];
1153
+ }
1154
+ const DashkitWrapper = React__default.forwardRef(
1155
+ ({
1156
+ skipReload = false,
1157
+ dataProviderContextGetter,
1158
+ setWidgetCurrentTab,
1159
+ updateTabsWithGlobalState,
1160
+ ...props
1161
+ }, ref) => {
1162
+ const contextValue = React__default.useMemo(() => {
1163
+ return {
1164
+ config: props.config,
1165
+ defaultGlobalParams: props.defaultGlobalParams,
1166
+ skipReload,
1167
+ setWidgetCurrentTab,
1168
+ updateTabsWithGlobalState,
1169
+ dataProviderContextGetter,
1170
+ hideErrorDetails: props.hideErrorDetails,
1171
+ selectorsGroupTitlePlaceholder: props.selectorsGroupTitlePlaceholder
1172
+ };
1173
+ }, [
1174
+ props.config,
1175
+ props.defaultGlobalParams,
1176
+ skipReload,
1177
+ setWidgetCurrentTab,
1178
+ updateTabsWithGlobalState,
1179
+ dataProviderContextGetter,
1180
+ props.hideErrorDetails,
1181
+ props.selectorsGroupTitlePlaceholder
1182
+ ]);
1183
+ return /* @__PURE__ */ jsx(ExtendedDashKitContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(DashKit, { ...props, ref }) });
1184
+ }
1185
+ );
1186
+ DashkitWrapper.displayName = "DashkitContainer";
1187
+ const WidgetContext = React__default.createContext(null);
1188
+ const WidgetContextProvider = (props) => {
1189
+ const contextValue = React__default.useMemo(
1190
+ () => ({
1191
+ onWidgetMountChange: props.onWidgetMountChange,
1192
+ onWidgetLoadData: props.onWidgetLoadData
1193
+ }),
1194
+ [props.onWidgetMountChange, props.onWidgetLoadData]
1195
+ );
1196
+ return /* @__PURE__ */ jsx(WidgetContext.Provider, { value: contextValue, children: props.children });
1197
+ };
1198
+ const useWidgetContext = ({
1199
+ id,
1200
+ elementRef
1201
+ }) => {
1202
+ const context = React__default.useContext(WidgetContext);
1203
+ const onMountChange = context?.onWidgetMountChange;
1204
+ const onWidgetLoadData = context?.onWidgetLoadData;
1205
+ React__default.useEffect(() => {
1206
+ const element = elementRef.current;
1207
+ if (element && onMountChange) {
1208
+ onMountChange(true, id, element);
1209
+ return () => {
1210
+ onMountChange(false, id, element);
1211
+ };
1212
+ }
1213
+ return () => {
1214
+ };
1215
+ }, [id, elementRef, onMountChange]);
1216
+ return { onWidgetLoadData };
1217
+ };
1218
+ const b$9 = block("control-item-select");
1219
+ const i18n$6 = I18n.keyset("dash.dashkit-plugin-control.view");
1220
+ const ControlItemSelect = ({
1221
+ defaults,
1222
+ data,
1223
+ id,
1224
+ loadedData,
1225
+ status,
1226
+ actualParams,
1227
+ onChange,
1228
+ getDistincts,
1229
+ loadingItems,
1230
+ errorData,
1231
+ validationError,
1232
+ init,
1233
+ setItemsLoader,
1234
+ validateValue,
1235
+ classMixin,
1236
+ selectProps,
1237
+ renderOverlay,
1238
+ labelMixin
1239
+ }) => {
1240
+ const dispatch = useDispatch();
1241
+ let _loadingItemsTimer;
1242
+ const workbookId = useSelector(selectDashWorkbookId);
1243
+ const getSelectDistincts = React__default.useCallback(
1244
+ async ({ searchPattern, nextPageToken }) => {
1245
+ try {
1246
+ const datasetData = data;
1247
+ const datasetSourceInfo = getDatasetSourceInfo({
1248
+ actualLoadedData: loadedData,
1249
+ data: datasetData
1250
+ });
1251
+ const { datasetId, datasetFieldId } = datasetSourceInfo;
1252
+ const { filters, parameter_values } = processParamsForGetDistincts({
1253
+ params: actualParams,
1254
+ datasetSourceInfo,
1255
+ searchPattern
1256
+ });
1257
+ const { result } = await getDistincts(
1258
+ {
1259
+ datasetId,
1260
+ workbookId,
1261
+ fields: [
1262
+ {
1263
+ ref: { type: "id", id: datasetFieldId },
1264
+ role_spec: { role: "distinct" }
1265
+ }
1266
+ ],
1267
+ limit: LIMIT,
1268
+ offset: LIMIT * nextPageToken,
1269
+ filters,
1270
+ parameter_values
1271
+ },
1272
+ void 0,
1273
+ { datasetSourceInfo, searchPattern }
1274
+ );
1275
+ return {
1276
+ items: result.data.Data.map(([value2]) => ({ value: value2, title: value2 })),
1277
+ nextPageToken: result.data.Data.length < LIMIT ? void 0 : nextPageToken + 1
1278
+ };
1279
+ } catch (error) {
1280
+ logger.logError("DashKit: Control getDistincts failed", error);
1281
+ console.error("SELECT_GET_ITEMS_FAILED", error);
1282
+ throw error;
1283
+ }
1284
+ },
1285
+ [actualParams, data, getDistincts, loadedData, workbookId]
1286
+ );
1287
+ const getItems = async ({
1288
+ searchPattern,
1289
+ exactKeys,
1290
+ nextPageToken = 0
1291
+ }) => {
1292
+ if (searchPattern || !searchPattern && nextPageToken) {
1293
+ return getSelectDistincts({ searchPattern, nextPageToken });
1294
+ } else if (exactKeys) {
1295
+ return {
1296
+ items: exactKeys.map((value2) => ({ value: value2, title: value2 })),
1297
+ nextPageToken: nextPageToken + 1
1298
+ };
1299
+ }
1300
+ return { items: [] };
1301
+ };
1302
+ const getErrorContent = () => {
1303
+ const data2 = errorData?.data;
1304
+ const errorText = getErrorText(data2 || {});
1305
+ const errorTitle = data2?.title;
1306
+ const errorMessage = errorTitle || errorText;
1307
+ const showButtons = !errorData?.extra?.hideErrorDetails;
1308
+ const buttonsSize = DL.IS_MOBILE ? MOBILE_SIZE.BUTTON : "s";
1309
+ const buttonsWidth = DL.IS_MOBILE ? "max" : "auto";
1310
+ return /* @__PURE__ */ jsxs("div", { className: b$9("error", { inside: true, mobile: DL.IS_MOBILE }), children: [
1311
+ /* @__PURE__ */ jsx("span", { className: b$9("error-text"), title: errorMessage, children: errorMessage }),
1312
+ showButtons && /* @__PURE__ */ jsxs("div", { className: b$9("buttons"), children: [
1313
+ /* @__PURE__ */ jsx(
1314
+ Button,
1315
+ {
1316
+ size: buttonsSize,
1317
+ onClick: () => {
1318
+ setItemsLoader(true);
1319
+ init();
1320
+ },
1321
+ width: buttonsWidth,
1322
+ children: i18n$6("button_retry")
1323
+ }
1324
+ ),
1325
+ /* @__PURE__ */ jsx(
1326
+ Button,
1327
+ {
1328
+ size: buttonsSize,
1329
+ view: "flat",
1330
+ onClick: () => dispatch(
1331
+ openDialogErrorWithTabs({
1332
+ error: prepareSelectorError(
1333
+ data2 || {}
1334
+ ),
1335
+ title: errorTitle
1336
+ })
1337
+ ),
1338
+ width: buttonsWidth,
1339
+ children: i18n$6("button_details")
1340
+ }
1341
+ )
1342
+ ] })
1343
+ ] });
1344
+ };
1345
+ const onOpenChange = ({ open }) => {
1346
+ clearTimeout(_loadingItemsTimer);
1347
+ if (status !== LOAD_STATUS.PENDING && loadingItems) {
1348
+ setItemsLoader(false);
1349
+ }
1350
+ if (status === LOAD_STATUS.PENDING) {
1351
+ if (open) {
1352
+ setItemsLoader(true);
1353
+ } else {
1354
+ _loadingItemsTimer = setTimeout(() => {
1355
+ if (status === LOAD_STATUS.PENDING) {
1356
+ setItemsLoader(true);
1357
+ }
1358
+ });
1359
+ }
1360
+ }
1361
+ };
1362
+ const { source, sourceType } = data;
1363
+ const fieldId = sourceType === DashTabItemControlSourceType.Dataset ? source.datasetFieldId : source.fieldName;
1364
+ const selectedValue = unwrapFromArrayAndSkipOperation(defaults[fieldId]);
1365
+ const preselectedContent = [{ title: selectedValue, value: selectedValue }];
1366
+ const content = loadedData ? (loadedData.uiScheme?.controls[0]).content : null;
1367
+ const disabled = loadedData?.uiScheme?.controls[0].disabled;
1368
+ const emptyPaceholder = i18n$6("placeholder_empty");
1369
+ const preparedValue = unwrapFromArrayAndSkipOperation(actualParams[fieldId]);
1370
+ const initialValidationError = isValidRequiredValue({
1371
+ required: source.required,
1372
+ value: preparedValue
1373
+ }) ? i18n$6("value_required") : null;
1374
+ const selectValidationError = validationError || initialValidationError;
1375
+ const placeholder = selectValidationError || emptyPaceholder;
1376
+ const onSelectChange = (value2) => {
1377
+ const hasError = validateValue({
1378
+ required: source.required,
1379
+ value: value2
1380
+ });
1381
+ if (hasError) {
1382
+ return;
1383
+ }
1384
+ const valueWithOperation = addOperationForValue({
1385
+ value: value2,
1386
+ operation: source.operation
1387
+ });
1388
+ onChange({ param: fieldId, value: valueWithOperation });
1389
+ };
1390
+ const value = disabled || !loadedData ? "" : preparedValue;
1391
+ const props = {
1392
+ widgetId: id,
1393
+ content: content || preselectedContent,
1394
+ param: fieldId,
1395
+ multiselect: source.multiselectable,
1396
+ type: TYPE.SELECT,
1397
+ className: b$9(null, classMixin),
1398
+ labelClassName: b$9(null, labelMixin),
1399
+ key: fieldId,
1400
+ value,
1401
+ onChange: onSelectChange,
1402
+ onOpenChange,
1403
+ loadingItems,
1404
+ placeholder,
1405
+ required: source.required,
1406
+ hint: getControlHint(source),
1407
+ hasValidationError: Boolean(selectValidationError),
1408
+ renderOverlay,
1409
+ disabled,
1410
+ ...selectProps
1411
+ };
1412
+ if (status === LOAD_STATUS.FAIL) {
1413
+ props.errorContent = getErrorContent();
1414
+ props.itemsLoaderClassName = b$9("select-loader");
1415
+ }
1416
+ if (props.content.length >= LIMIT && sourceType === DashTabItemControlSourceType.Dataset) {
1417
+ props.getItems = getItems;
1418
+ }
1419
+ return /* @__PURE__ */ jsx(ControlSelect, { ...props });
1420
+ };
1421
+ const b$8 = block("dashkit-control-error");
1422
+ const i18n$5 = I18n.keyset("component.dashkit.view");
1423
+ function Error({ onClickRetry, errorData }) {
1424
+ const dispatch = useDispatch();
1425
+ const errorTitle = errorData?.data?.title;
1426
+ const hideErrorDetails = errorData?.extra?.hideErrorDetails;
1427
+ const errorText = errorTitle || i18n$5("label_error");
1428
+ const handleClick = () => {
1429
+ if (errorData) {
1430
+ dispatch(
1431
+ openDialogErrorWithTabs({
1432
+ error: prepareSelectorError(
1433
+ errorData?.data || {},
1434
+ errorData?.requestId
1435
+ ),
1436
+ title: errorTitle,
1437
+ onRetry: () => {
1438
+ onClickRetry?.();
1439
+ dispatch(closeDialog());
1440
+ }
1441
+ })
1442
+ );
1443
+ }
1444
+ };
1445
+ const renderErrorContent = () => {
1446
+ return /* @__PURE__ */ jsxs("div", { className: b$8({ mobile: DL.IS_MOBILE, "no-action": hideErrorDetails }), children: [
1447
+ /* @__PURE__ */ jsx("span", { className: b$8("label"), children: errorText }),
1448
+ /* @__PURE__ */ jsx(Icon, { data: TriangleExclamationFill, className: b$8("icon") })
1449
+ ] });
1450
+ };
1451
+ return /* @__PURE__ */ jsx(React__default.Fragment, { children: hideErrorDetails ? /* @__PURE__ */ jsx("div", { title: errorText, children: renderErrorContent() }) : /* @__PURE__ */ jsx(Button, { onClick: handleClick, title: errorText, view: "flat", children: renderErrorContent() }) });
1452
+ }
1453
+ const DATE_FORMAT = "YYYY-MM-DD";
1454
+ const intervalToString = (from, to) => {
1455
+ return `__interval_${moment(from).format(DATE_FORMAT)}_${moment(to).format(DATE_FORMAT)}`;
1456
+ };
1457
+ const dateToString = (date) => {
1458
+ return moment(date).format(DATE_FORMAT);
1459
+ };
1460
+ const getAfterDate = (first, second) => moment(first).isAfter(second) ? first : second;
1461
+ const getBeforeDate = (first, second) => moment(first).isAfter(second) ? second : first;
1462
+ const formatDefaultToString = (defaultValue, source) => {
1463
+ const { acceptableValues, isRange } = source;
1464
+ const { type, value: { from, to } = {} } = defaultValue;
1465
+ switch (type) {
1466
+ case "acceptableFrom":
1467
+ return acceptableValues && acceptableValues.from ? dateToString(acceptableValues.from) : "";
1468
+ case "acceptableTo":
1469
+ return acceptableValues && acceptableValues.to ? dateToString(acceptableValues.to) : "";
1470
+ case "acceptableFullInterval":
1471
+ return acceptableValues && acceptableValues.from && acceptableValues.to ? intervalToString(acceptableValues.from, acceptableValues.to) : "";
1472
+ case "date":
1473
+ if (isRange) {
1474
+ const fromDate = acceptableValues && acceptableValues.from ? getAfterDate(from, acceptableValues.from) : from;
1475
+ const toDate = acceptableValues && acceptableValues.to ? getBeforeDate(to, acceptableValues.to) : to;
1476
+ return intervalToString(fromDate, toDate);
1477
+ } else {
1478
+ return dateToString(from);
1479
+ }
1480
+ case "relative":
1481
+ if (isRange) {
1482
+ return intervalToString(
1483
+ moment().subtract(from, "days"),
1484
+ moment().subtract(to, "days")
1485
+ );
1486
+ } else {
1487
+ return dateToString(moment().subtract(from, "days"));
1488
+ }
1489
+ default:
1490
+ return "";
1491
+ }
1492
+ };
1493
+ function prerenderMiddleware(item) {
1494
+ const { defaults = {}, data = {} } = item;
1495
+ const defaultsKeys = Object.keys(defaults);
1496
+ if (defaultsKeys.some((key) => isPlainObject(defaults[key]))) {
1497
+ const { source } = data;
1498
+ return {
1499
+ ...item,
1500
+ defaults: defaultsKeys.reduce((acc, key) => {
1501
+ const value = defaults[key];
1502
+ acc[key] = isPlainObject(value) ? formatDefaultToString(value, source) : value;
1503
+ return acc;
1504
+ }, {})
1505
+ };
1506
+ }
1507
+ return item;
1508
+ }
1509
+ const b$7 = block("dashkit-plugin-control");
1510
+ const i18n$4 = I18n.keyset("dash.dashkit-plugin-control.view");
1511
+ const CONTROL_LAYOUT_DEBOUNCE_TIME = 20;
1512
+ const ControlWrapper = React__default.forwardRef(function ControlWrapper2(props, nodeRef) {
1513
+ useWidgetContext({ id: props.id, elementRef: nodeRef });
1514
+ return /* @__PURE__ */ jsx("div", { ref: nodeRef, className: props.className, style: props.style, children: props.children });
1515
+ });
1516
+ let Control$1 = (_a = class extends React__default.PureComponent {
1517
+ constructor(props) {
1518
+ super(props);
1519
+ this.chartKitRef = React__default.createRef();
1520
+ this.rootNode = React__default.createRef();
1521
+ this._isUnmounted = false;
1522
+ this._silentLoaderTimer = void 0;
1523
+ this._cancelSource = null;
1524
+ this.adjustWidgetLayout = debounce(this.setAdjustWidgetLayout, CONTROL_LAYOUT_DEBOUNCE_TIME);
1525
+ this._onRedraw = null;
1526
+ this.resolve = null;
1527
+ this.initialParams = {
1528
+ params: {}
1529
+ };
1530
+ this.showSilentLoader = () => {
1531
+ this.setState((prevState) => {
1532
+ return prevState.status === LOAD_STATUS.PENDING && prevState.silentLoading ? { showSilentLoader: true } : null;
1533
+ });
1534
+ };
1535
+ this.setItemsLoader = (loadingItems) => {
1536
+ if (this._isUnmounted) {
1537
+ return;
1538
+ }
1539
+ this.setState({ loadingItems });
1540
+ };
1541
+ this.reload = ({ silentLoading } = {}) => {
1542
+ if (this.context?.skipReload || !this.state.isInit) {
1543
+ return;
1544
+ }
1545
+ this.setState({ status: LOAD_STATUS.PENDING, silentLoading: Boolean(silentLoading) });
1546
+ this.init();
1547
+ };
1548
+ this.setLoadedData = (loadedData, status) => {
1549
+ const isAvailableStatus = [LOAD_STATUS.SUCCESS, LOAD_STATUS.FAIL].includes(status);
1550
+ if (this._isUnmounted || !isAvailableStatus) {
1551
+ return;
1552
+ }
1553
+ const newInitialParams = { ...loadedData?.defaultParams, ...this.props.defaults };
1554
+ const initialParamsChanged = !isEqual(newInitialParams, this.initialParams.params);
1555
+ if (initialParamsChanged) {
1556
+ this.initialParams.params = newInitialParams;
1557
+ }
1558
+ const statusResponse = getStatus(status);
1559
+ if (statusResponse) {
1560
+ this.setState({
1561
+ status: statusResponse,
1562
+ loadedData,
1563
+ silentLoading: false,
1564
+ showSilentLoader: false,
1565
+ loadingItems: false
1566
+ });
1567
+ }
1568
+ this.getCurrentWidgetResolvedMetaInfo(loadedData);
1569
+ this._onRedraw?.();
1570
+ };
1571
+ this.init = async () => {
1572
+ try {
1573
+ const data = this.props.data;
1574
+ const { workbookId } = this.props;
1575
+ const payloadCancellation = chartsDataProvider.getRequestCancellation();
1576
+ const dataProviderContextGetter = this.context?.dataProviderContextGetter?.(
1577
+ this.props.id
1578
+ );
1579
+ const payload = {
1580
+ data: {
1581
+ config: {
1582
+ data: {
1583
+ shared: data
1584
+ },
1585
+ meta: {
1586
+ stype: ControlType.Dash
1587
+ }
1588
+ },
1589
+ controlData: {
1590
+ id: this.props.id,
1591
+ tabId: this.context?.config?.id
1592
+ },
1593
+ params: this.actualParams,
1594
+ ...workbookId ? { workbookId } : {}
1595
+ },
1596
+ cancelToken: payloadCancellation.token,
1597
+ headers: dataProviderContextGetter
1598
+ };
1599
+ if (data.sourceType !== DashTabItemControlSourceType.External) {
1600
+ this.cancelCurrentRequests();
1601
+ }
1602
+ this._cancelSource = payloadCancellation;
1603
+ const response = data.sourceType === DashTabItemControlSourceType.External ? null : (
1604
+ // @ts-ignore
1605
+ await chartsDataProvider.makeRequest(payload)
1606
+ );
1607
+ if (response === null || this._isUnmounted) {
1608
+ return;
1609
+ }
1610
+ const loadedData = response.data;
1611
+ loadedData.uiScheme = Array.isArray(loadedData.uiScheme) ? { controls: loadedData.uiScheme } : loadedData.uiScheme;
1612
+ if (data.sourceType === DashTabItemControlSourceType.Dataset) {
1613
+ checkDatasetFieldType({
1614
+ currentLoadedData: loadedData,
1615
+ datasetData: data,
1616
+ actualLoadedData: this.state.loadedData,
1617
+ onError: this.setErrorData,
1618
+ onSucces: this.setLoadedData
1619
+ });
1620
+ } else {
1621
+ this.setLoadedData(loadedData, LOAD_STATUS.SUCCESS);
1622
+ }
1623
+ if (this.state.isInit === false) {
1624
+ this.setState({ isInit: true });
1625
+ }
1626
+ } catch (error) {
1627
+ if (axios.isCancel(error)) {
1628
+ return;
1629
+ }
1630
+ if (this.state.isInit === false) {
1631
+ this.setState({ isInit: true });
1632
+ }
1633
+ logger.logError("DashKit: Control init failed", error);
1634
+ console.error("DASHKIT_CONTROL_RUN", error);
1635
+ let errorData = null;
1636
+ if (this._isUnmounted) {
1637
+ return;
1638
+ }
1639
+ if (error.response && error.response.data) {
1640
+ errorData = {
1641
+ data: { error: error.response.data?.error, status: error.response.data?.status },
1642
+ requestId: error.response.headers["x-request-id"]
1643
+ };
1644
+ } else {
1645
+ errorData = { data: { message: error.message } };
1646
+ }
1647
+ this.setErrorData(errorData, LOAD_STATUS.FAIL);
1648
+ }
1649
+ };
1650
+ this.onChange = ({ param, value }) => {
1651
+ const params = { [param]: value };
1652
+ this.context?.updateTabsWithGlobalState?.({
1653
+ params,
1654
+ selectorItem: {
1655
+ type: DashTabItemType.Control,
1656
+ data: this.propsControlData,
1657
+ id: this.props.id
1658
+ },
1659
+ appliedSelectorsIds: [this.props.id]
1660
+ });
1661
+ this.props.onStateAndParamsChange({ params: { [param]: value } }, { action: "setParams" });
1662
+ };
1663
+ this.onChangeExternal = ({ type, data }) => {
1664
+ if (type === "PARAMS_CHANGED") {
1665
+ const { params } = data;
1666
+ this.context?.updateTabsWithGlobalState?.({
1667
+ params,
1668
+ selectorItem: {
1669
+ type: DashTabItemType.Control,
1670
+ data: this.propsControlData,
1671
+ id: this.props.id
1672
+ },
1673
+ appliedSelectorsIds: [this.props.id]
1674
+ });
1675
+ this.props.onStateAndParamsChange({ params: params || {} });
1676
+ }
1677
+ };
1678
+ this.onLoadExternal = ({ status, requestId, data }) => {
1679
+ return status === "success" ? this.setLoadedData(
1680
+ data.loadedData,
1681
+ LOAD_STATUS.SUCCESS
1682
+ ) : this.setLoadedData({ data, requestId }, LOAD_STATUS.FAIL);
1683
+ };
1684
+ this.setErrorData = (errorData, status) => {
1685
+ if (this._isUnmounted) {
1686
+ return;
1687
+ }
1688
+ this._onRedraw?.();
1689
+ const statusResponse = getStatus(status);
1690
+ if (statusResponse) {
1691
+ this.setState({
1692
+ status: statusResponse,
1693
+ errorData,
1694
+ silentLoading: false,
1695
+ showSilentLoader: false,
1696
+ loadingItems: false
1697
+ });
1698
+ }
1699
+ };
1700
+ this.validateValue = (args) => {
1701
+ const hasError = isValidRequiredValue(args);
1702
+ this.setValidationError(hasError);
1703
+ return hasError;
1704
+ };
1705
+ this._onRedraw = debounce(this.props.onBeforeLoad(), DEBOUNCE_RENDER_TIMEOUT);
1706
+ this.state = {
1707
+ status: LOAD_STATUS.PENDING,
1708
+ loadedData: null,
1709
+ errorData: null,
1710
+ silentLoading: false,
1711
+ // loader with a vail that is not shown immediately
1712
+ showSilentLoader: false,
1713
+ // ChartKit parameter that equals false in case selector-chart has postUpdateOnChange param.
1714
+ // Its mean, you do not need to do this.init, because the request has already been executed on the ChartKit side
1715
+ forceUpdate: true,
1716
+ dialogVisible: false,
1717
+ loadingItems: true,
1718
+ isInit: false,
1719
+ validationError: null
1720
+ };
1721
+ }
1722
+ componentDidMount() {
1723
+ this.init();
1724
+ }
1725
+ componentDidUpdate(prevProps) {
1726
+ if (this.state.status !== LOAD_STATUS.PENDING && this._silentLoaderTimer) {
1727
+ this.clearSilentLoaderTimer();
1728
+ }
1729
+ if (this.rootNode.current && this.props.data.sourceType !== DashTabItemControlSourceType.External) {
1730
+ if (this.props.data.autoHeight) {
1731
+ this.adjustWidgetLayout(false);
1732
+ } else if (prevProps.data.autoHeight) {
1733
+ this.adjustWidgetLayout(true);
1734
+ }
1735
+ }
1736
+ const hasDataChanged = !isEqual(this.props.data, prevProps.data);
1737
+ const hasParamsChanged = !isEqual(
1738
+ this.filterSignificantParams(this.props.params),
1739
+ this.filterSignificantParams(prevProps.params)
1740
+ );
1741
+ const hasDefaultsChanged = !isEqual(this.props.defaults, prevProps.defaults);
1742
+ const initialParams = { ...this.state.loadedData?.defaultParams, ...this.props.defaults };
1743
+ const needUpdateInitialParams = hasDefaultsChanged || !isEqual(initialParams, this.initialParams.params);
1744
+ if (needUpdateInitialParams) {
1745
+ this.initialParams = {
1746
+ params: initialParams
1747
+ };
1748
+ }
1749
+ const hasChanged = hasDataChanged || hasParamsChanged || hasDefaultsChanged;
1750
+ if (this.state.forceUpdate && hasChanged) {
1751
+ this.setState({
1752
+ status: LOAD_STATUS.PENDING,
1753
+ silentLoading: true
1754
+ });
1755
+ this.clearSilentLoaderTimer();
1756
+ if (this.props.data.source.elementType !== ELEMENT_TYPE.SELECT) {
1757
+ this._silentLoaderTimer = setTimeout(this.showSilentLoader, 800);
1758
+ }
1759
+ this.init();
1760
+ }
1761
+ }
1762
+ componentWillUnmount() {
1763
+ this._isUnmounted = true;
1764
+ this.clearSilentLoaderTimer();
1765
+ this.cancelCurrentRequests();
1766
+ }
1767
+ setAdjustWidgetLayout(needSetDefault) {
1768
+ adjustWidgetLayout({
1769
+ widgetId: this.props.id,
1770
+ needSetDefault,
1771
+ rootNode: this.rootNode,
1772
+ gridLayout: this.props.gridLayout,
1773
+ layout: this.props.layout,
1774
+ cb: (data) => {
1775
+ this.props.adjustWidgetLayout(data);
1776
+ this._onRedraw?.();
1777
+ }
1778
+ });
1779
+ }
1780
+ get actualParams() {
1781
+ return this.filterSignificantParams(this.props.params);
1782
+ }
1783
+ clearSilentLoaderTimer() {
1784
+ if (this._silentLoaderTimer) {
1785
+ clearTimeout(this._silentLoaderTimer);
1786
+ }
1787
+ }
1788
+ filterSignificantParams(params) {
1789
+ if (!params) {
1790
+ return {};
1791
+ }
1792
+ const loadedData = this.state.loadedData;
1793
+ const dependentSelectors = this.props.settings.dependentSelectors ?? false;
1794
+ if (loadedData && loadedData.usedParams && dependentSelectors) {
1795
+ return pick(params, Object.keys(loadedData.usedParams));
1796
+ }
1797
+ return dependentSelectors ? params : pick(params, Object.keys(this.props.defaults));
1798
+ }
1799
+ cancelCurrentRequests() {
1800
+ if (this._cancelSource) {
1801
+ this._cancelSource.cancel("DASHKIT_CONTROL_CANCEL_CURRENT_REQUESTS");
1802
+ }
1803
+ }
1804
+ // public
1805
+ getMeta() {
1806
+ if (this.props.data.sourceType === DashTabItemControlSourceType.External) {
1807
+ return this.chartKitRef.current?.getMeta();
1808
+ }
1809
+ return this.getCurrentWidgetMetaInfo();
1810
+ }
1811
+ getCurrentWidgetMetaInfo() {
1812
+ return new Promise((resolve) => {
1813
+ this.resolve = resolve;
1814
+ if (this.state.status !== LOAD_STATUS.PENDING) {
1815
+ const metaData = this.state.loadedData || null;
1816
+ if (this.state.loadedData || this.state.status === LOAD_STATUS.FAIL) {
1817
+ this.getCurrentWidgetResolvedMetaInfo(metaData);
1818
+ }
1819
+ }
1820
+ });
1821
+ }
1822
+ filterDefaultsBySource() {
1823
+ const sourcedFieldId = this.props.data?.sourceType === "dataset" ? this.props.data?.source?.datasetFieldId : null;
1824
+ if (sourcedFieldId && this.props.defaults) {
1825
+ return { [sourcedFieldId]: this.props.defaults[sourcedFieldId] };
1826
+ }
1827
+ return this.props.defaults;
1828
+ }
1829
+ getCurrentWidgetResolvedMetaInfo(data) {
1830
+ if (!this.resolve) {
1831
+ return;
1832
+ }
1833
+ const loadedData = data || this.state.loadedData || null;
1834
+ const firstControlWithLabel = loadedData?.controls?.controls?.find(
1835
+ (item) => item.label
1836
+ );
1837
+ const loadedWithError = Boolean(data?.data?.error) || this.state.status === LOAD_STATUS.FAIL;
1838
+ const widgetMetaInfo = {
1839
+ layoutId: this.props.id,
1840
+ chartId: null,
1841
+ widgetId: this.props.id,
1842
+ title: this.props.data?.title || "",
1843
+ label: firstControlWithLabel?.label || "",
1844
+ params: this.props.params,
1845
+ defaultParams: this.filterDefaultsBySource(),
1846
+ loaded: Boolean(loadedData),
1847
+ entryId: this.chartKitRef?.current?.props.id || null,
1848
+ // to do built in widget ?
1849
+ usedParams: loadedData?.usedParams ? Object.keys(this.filterSignificantParams(loadedData.usedParams)) : null,
1850
+ datasets: loadedData?.extra?.datasets || null,
1851
+ datasetId: loadedData?.sources?.fields?.datasetId || "",
1852
+ type: "control",
1853
+ sourceType: this.props.data?.sourceType,
1854
+ visualizationType: null,
1855
+ loadError: loadedWithError
1856
+ };
1857
+ this.resolve(widgetMetaInfo);
1858
+ }
1859
+ renderSilentLoader() {
1860
+ if (this.state.showSilentLoader) {
1861
+ return /* @__PURE__ */ jsx("div", { className: b$7("loader", { silent: true }), children: /* @__PURE__ */ jsx(Loader, { size: "s" }) });
1862
+ }
1863
+ return null;
1864
+ }
1865
+ getDistinctsWithHeaders() {
1866
+ if (this.props.getDistincts) {
1867
+ this._getDistinctsMemo = this._getDistinctsMemo || ((params, _, options) => {
1868
+ const { getDistincts } = this.props;
1869
+ const headers = this?.context?.dataProviderContextGetter?.(this.props.id);
1870
+ return getDistincts?.(
1871
+ params,
1872
+ headers,
1873
+ options
1874
+ );
1875
+ });
1876
+ } else {
1877
+ this._getDistinctsMemo = void 0;
1878
+ }
1879
+ return this._getDistinctsMemo;
1880
+ }
1881
+ renderSelectControl() {
1882
+ const data = this.props.data;
1883
+ const { id, defaults } = this.props;
1884
+ const { loadedData, status, loadingItems, errorData, validationError } = this.state;
1885
+ const { label, innerLabel } = getLabels(data);
1886
+ return /* @__PURE__ */ jsx(
1887
+ ControlItemSelect,
1888
+ {
1889
+ id,
1890
+ data,
1891
+ defaults,
1892
+ status,
1893
+ loadedData,
1894
+ loadingItems,
1895
+ actualParams: this.actualParams,
1896
+ onChange: this.onChange,
1897
+ init: this.init,
1898
+ setItemsLoader: this.setItemsLoader,
1899
+ validationError,
1900
+ errorData,
1901
+ validateValue: this.validateValue,
1902
+ getDistincts: this.getDistinctsWithHeaders(),
1903
+ classMixin: b$7("item"),
1904
+ selectProps: { label, innerLabel }
1905
+ }
1906
+ );
1907
+ }
1908
+ renderControls() {
1909
+ const data = this.propsControlData;
1910
+ const { sourceType } = data;
1911
+ const { id } = this.props;
1912
+ switch (this.state.status) {
1913
+ case LOAD_STATUS.PENDING:
1914
+ if (!this.state.loadedData) {
1915
+ return /* @__PURE__ */ jsx("div", { className: b$7(), children: /* @__PURE__ */ jsx(Loader, { size: "s" }) });
1916
+ }
1917
+ break;
1918
+ case LOAD_STATUS.FAIL: {
1919
+ return /* @__PURE__ */ jsx(Error, { errorData: this.state.errorData, onClickRetry: this.reload });
1920
+ }
1921
+ }
1922
+ const { loadedData } = this.state;
1923
+ const uiScheme = loadedData?.uiScheme;
1924
+ return uiScheme?.controls.map((control) => {
1925
+ const { param, type } = control;
1926
+ const { source } = data;
1927
+ const { required, operation } = source;
1928
+ if (!Object.keys(this.actualParams).includes(param)) {
1929
+ return null;
1930
+ }
1931
+ const preparedValue = unwrapFromArrayAndSkipOperation(this.actualParams[param]);
1932
+ const validationError = this.getValidationError({
1933
+ required,
1934
+ value: preparedValue
1935
+ });
1936
+ const onChange = (value) => {
1937
+ const hasError = this.validateValue({
1938
+ required,
1939
+ value
1940
+ });
1941
+ if (hasError) {
1942
+ return;
1943
+ }
1944
+ const valueWithOperation = addOperationForValue({
1945
+ value,
1946
+ operation
1947
+ });
1948
+ this.onChange({ param, value: valueWithOperation });
1949
+ };
1950
+ const { label, innerLabel } = getLabels(data);
1951
+ const props = {
1952
+ ...control,
1953
+ widgetId: id,
1954
+ className: b$7("item"),
1955
+ key: param,
1956
+ value: control.disabled ? "" : preparedValue,
1957
+ onChange,
1958
+ innerLabel,
1959
+ label,
1960
+ required,
1961
+ hasValidationError: Boolean(validationError),
1962
+ hint: getControlHint(source)
1963
+ };
1964
+ if (type === TYPE.RANGE_DATEPICKER || type === TYPE.DATEPICKER) {
1965
+ let fieldType = source?.fieldType || null;
1966
+ if (sourceType === DashTabItemControlSourceType.Dataset) {
1967
+ const { datasetFieldType } = getDatasetSourceInfo({
1968
+ data,
1969
+ actualLoadedData: this.state.loadedData
1970
+ });
1971
+ fieldType = datasetFieldType;
1972
+ }
1973
+ if (fieldType === "datetime" || fieldType === DATASET_FIELD_TYPES.GENERICDATETIME) {
1974
+ props.timeFormat = "HH:mm:ss";
1975
+ }
1976
+ }
1977
+ if (type === TYPE.INPUT) {
1978
+ props.placeholder = validationError ? validationError : control.placeholder;
1979
+ }
1980
+ switch (type) {
1981
+ case TYPE.INPUT:
1982
+ return /* @__PURE__ */ jsx(ControlInput, { ...props });
1983
+ case TYPE.DATEPICKER:
1984
+ return /* @__PURE__ */ jsx(ControlDatepicker, { ...props });
1985
+ case TYPE.RANGE_DATEPICKER:
1986
+ return /* @__PURE__ */ jsx(ControlRangeDatepicker, { returnInterval: true, ...props });
1987
+ case TYPE.CHECKBOX:
1988
+ return /* @__PURE__ */ jsx(ControlCheckbox, { ...props });
1989
+ }
1990
+ return null;
1991
+ });
1992
+ }
1993
+ render() {
1994
+ const { data, editMode, id, workbookId, globalWidgetSettings, borderRadius } = this.props;
1995
+ const controlData = data;
1996
+ const { sourceType, source } = controlData;
1997
+ const resultedBorderRadius = borderRadius ?? globalWidgetSettings?.borderRadius;
1998
+ const style = resultedBorderRadius ? { borderRadius: resultedBorderRadius } : void 0;
1999
+ if (sourceType === DashTabItemControlSourceType.External) {
2000
+ const chartId = source.chartId;
2001
+ return /* @__PURE__ */ jsxs(
2002
+ ControlWrapper,
2003
+ {
2004
+ id: this.props.id,
2005
+ ref: this.rootNode,
2006
+ className: b$7({
2007
+ external: true
2008
+ }),
2009
+ style,
2010
+ children: [
2011
+ /* @__PURE__ */ jsx(DebugInfoTool, { label: "chartId", value: chartId }),
2012
+ /* @__PURE__ */ jsx(
2013
+ ChartWrapper,
2014
+ {
2015
+ ...this.props,
2016
+ usageType: "control",
2017
+ id: chartId,
2018
+ widgetId: id,
2019
+ config: {
2020
+ data: {
2021
+ shared: data
2022
+ },
2023
+ meta: {
2024
+ stype: ControlType.Dash
2025
+ }
2026
+ },
2027
+ params: this.actualParams,
2028
+ initialParams: this.initialParams,
2029
+ onChartLoad: this.onLoadExternal,
2030
+ onChange: this.onChangeExternal,
2031
+ widgetType: sourceType,
2032
+ editMode,
2033
+ forwardedRef: this.chartKitRef,
2034
+ workbookId,
2035
+ updateTabsWithGlobalState: this.context?.updateTabsWithGlobalState
2036
+ }
2037
+ )
2038
+ ]
2039
+ }
2040
+ );
2041
+ }
2042
+ const paramIdDebug = source.datasetFieldId || source.fieldName || data.param || "";
2043
+ return /* @__PURE__ */ jsxs(
2044
+ ControlWrapper,
2045
+ {
2046
+ id: this.props.id,
2047
+ ref: this.rootNode,
2048
+ className: b$7({ mobile: DL.IS_MOBILE }),
2049
+ style,
2050
+ children: [
2051
+ this.renderSilentLoader(),
2052
+ /* @__PURE__ */ jsx(
2053
+ DebugInfoTool,
2054
+ {
2055
+ modType: "corner",
2056
+ data: [
2057
+ { label: "widgetId", value: id },
2058
+ { label: "paramId", value: paramIdDebug }
2059
+ ]
2060
+ }
2061
+ ),
2062
+ source.elementType === TYPE.SELECT ? this.renderSelectControl() : this.renderControls()
2063
+ ]
2064
+ }
2065
+ );
2066
+ }
2067
+ get propsControlData() {
2068
+ return this.props.data;
2069
+ }
2070
+ setValidationError(hasError) {
2071
+ if (hasError) {
2072
+ this.setState({ validationError: i18n$4("value_required") });
2073
+ return;
2074
+ }
2075
+ if (this.state.validationError) {
2076
+ this.setState({ validationError: null });
2077
+ }
2078
+ }
2079
+ getValidationError({ required, value }) {
2080
+ let validationError = null;
2081
+ if (required) {
2082
+ const initialValidationError = isValidRequiredValue({
2083
+ required,
2084
+ value
2085
+ }) ? i18n$4("value_required") : null;
2086
+ validationError = this.state.validationError || initialValidationError;
2087
+ }
2088
+ return validationError;
2089
+ }
2090
+ }, _a.contextType = ExtendedDashKitContext, _a);
2091
+ const plugin$1 = {
2092
+ type: DashTabItemType.Control,
2093
+ defaultLayout: DEFAULT_CONTROL_LAYOUT,
2094
+ setSettings(settings) {
2095
+ const { getDistincts } = settings;
2096
+ plugin$1.getDistincts = getDistincts;
2097
+ plugin$1.globalWidgetSettings = settings.globalWidgetSettings;
2098
+ return plugin$1;
2099
+ },
2100
+ prerenderMiddleware,
2101
+ renderer(props, forwardedRef) {
2102
+ const workbookId = props.context.workbookId;
2103
+ return /* @__PURE__ */ jsx(
2104
+ Control$1,
2105
+ {
2106
+ ...props,
2107
+ workbookId,
2108
+ getDistincts: plugin$1.getDistincts,
2109
+ ref: forwardedRef,
2110
+ globalWidgetSettings: plugin$1.globalWidgetSettings
2111
+ }
2112
+ );
2113
+ }
2114
+ };
2115
+ const i18n$3 = I18N.keyset("common.errors");
2116
+ const getControlWidthStyle = (placementMode, width) => {
2117
+ if (placementMode === "auto") {
2118
+ return { flex: "1 1 auto" };
2119
+ }
2120
+ return { width: `${width}${placementMode}` };
2121
+ };
2122
+ const clearLoaderTimer = (timer) => {
2123
+ if (timer) {
2124
+ clearTimeout(timer);
2125
+ }
2126
+ };
2127
+ const addItemToLocalQueue = (queue, widgetId, groupItemId, param) => {
2128
+ const updatedQueue = queue.filter((queueItem) => queueItem.groupItemId !== groupItemId);
2129
+ updatedQueue.push({ id: widgetId, groupItemId, param });
2130
+ return updatedQueue;
2131
+ };
2132
+ const filterSignificantParams = ({
2133
+ params,
2134
+ loadedData,
2135
+ defaults,
2136
+ dependentSelectors
2137
+ }) => {
2138
+ if (!params) {
2139
+ return {};
2140
+ }
2141
+ if (loadedData && loadedData.usedParams && dependentSelectors) {
2142
+ return pick(params, Object.keys(loadedData.usedParams));
2143
+ }
2144
+ return dependentSelectors || !defaults ? params : pick(params, Object.keys(defaults));
2145
+ };
2146
+ const getErrorTitle = (errorInfo) => {
2147
+ const datasetsField = errorInfo?.details && "sources" in errorInfo.details && errorInfo.details.sources ? Object.keys(errorInfo.details.sources)[0] : null;
2148
+ if (!datasetsField) {
2149
+ return null;
2150
+ }
2151
+ const datasetInfo = errorInfo?.details?.sources?.[datasetsField];
2152
+ const isIncorrectEntryIdCode = datasetInfo?.code === ErrorCode.IncorrectEntryIdForEmbed || datasetInfo?.body?.code === ErrorCode.IncorrectEntryIdForEmbed;
2153
+ if (errorInfo?.code === CHARTS_ERROR_CODE.DATA_FETCHING_ERROR && isIncorrectEntryIdCode) {
2154
+ return i18n$3("label_error-outdated-message");
2155
+ }
2156
+ return null;
2157
+ };
2158
+ const CONTROL_SET_ERROR_DATA = /* @__PURE__ */ Symbol("control/SET_ERROR_DATA");
2159
+ const setErrorData = (payload) => {
2160
+ return {
2161
+ type: CONTROL_SET_ERROR_DATA,
2162
+ payload
2163
+ };
2164
+ };
2165
+ const CONTROL_SET_LOADED_DATA = /* @__PURE__ */ Symbol("control/SET_LOADED_DATA");
2166
+ const setLoadedData = (payload) => {
2167
+ return {
2168
+ type: CONTROL_SET_LOADED_DATA,
2169
+ payload
2170
+ };
2171
+ };
2172
+ const CONTROL_SET_LOADING_ITEMS = /* @__PURE__ */ Symbol("control/SET_LOADING_ITEMS");
2173
+ const setLoadingItems = (payload) => {
2174
+ return {
2175
+ type: CONTROL_SET_LOADING_ITEMS,
2176
+ payload
2177
+ };
2178
+ };
2179
+ const CONTROL_SET_VALIDATION_ERROR = /* @__PURE__ */ Symbol("control/SET_VALIDATION_ERROR");
2180
+ const setValidationError = (payload) => {
2181
+ return {
2182
+ type: CONTROL_SET_VALIDATION_ERROR,
2183
+ payload
2184
+ };
2185
+ };
2186
+ const CONTROL_SET_STATUS = /* @__PURE__ */ Symbol("control/SET_STATUS");
2187
+ const setStatus = (payload) => {
2188
+ return {
2189
+ type: CONTROL_SET_STATUS,
2190
+ payload
2191
+ };
2192
+ };
2193
+ const CONTROL_SET_IS_INIT = /* @__PURE__ */ Symbol("control/SET_IS_INIT");
2194
+ const setIsInit = (payload) => {
2195
+ return {
2196
+ type: CONTROL_SET_IS_INIT,
2197
+ payload
2198
+ };
2199
+ };
2200
+ const CONTROL_SET_SILENT_LOADER = /* @__PURE__ */ Symbol("control/SET_SILENT_LOADER");
2201
+ const setSilentLoader = (payload) => {
2202
+ return {
2203
+ type: CONTROL_SET_SILENT_LOADER,
2204
+ payload
2205
+ };
2206
+ };
2207
+ const i18n$2 = I18n.keyset("dash.dashkit-plugin-control.view");
2208
+ const getInitialState = () => {
2209
+ return {
2210
+ status: LOAD_STATUS.INITIAL,
2211
+ loadedData: null,
2212
+ errorData: null,
2213
+ loadingItems: false,
2214
+ validationError: null,
2215
+ isInit: false,
2216
+ showSilentLoader: false,
2217
+ control: null
2218
+ };
2219
+ };
2220
+ const reducer = (state, action) => {
2221
+ switch (action.type) {
2222
+ case CONTROL_SET_LOADED_DATA: {
2223
+ const { status, loadedData } = action.payload;
2224
+ loadedData.uiScheme = Array.isArray(loadedData.uiScheme) ? { controls: loadedData.uiScheme } : loadedData.uiScheme;
2225
+ const control = loadedData.uiScheme ? loadedData.uiScheme.controls[0] : null;
2226
+ return {
2227
+ ...state,
2228
+ status,
2229
+ loadedData,
2230
+ loadingItems: false,
2231
+ showSilentLoader: false,
2232
+ control
2233
+ };
2234
+ }
2235
+ case CONTROL_SET_ERROR_DATA: {
2236
+ const { status, errorData } = action.payload;
2237
+ return {
2238
+ ...state,
2239
+ status,
2240
+ errorData,
2241
+ loadingItems: false,
2242
+ showSilentLoader: false
2243
+ };
2244
+ }
2245
+ case CONTROL_SET_LOADING_ITEMS: {
2246
+ return { ...state, loadingItems: action.payload.loadingItems };
2247
+ }
2248
+ case CONTROL_SET_VALIDATION_ERROR: {
2249
+ if (action.payload.hasError) {
2250
+ return { ...state, validationError: i18n$2("value_required") };
2251
+ }
2252
+ if (state.validationError) {
2253
+ return { ...state, validationError: null };
2254
+ }
2255
+ return state;
2256
+ }
2257
+ case CONTROL_SET_STATUS: {
2258
+ return { ...state, status: action.payload.status };
2259
+ }
2260
+ case CONTROL_SET_IS_INIT: {
2261
+ return { ...state, isInit: action.payload.isInit };
2262
+ }
2263
+ case CONTROL_SET_SILENT_LOADER: {
2264
+ if (state.status === LOAD_STATUS.PENDING && action.payload.silentLoading) {
2265
+ return { ...state, showSilentLoader: true };
2266
+ }
2267
+ return state;
2268
+ }
2269
+ default: {
2270
+ return state;
2271
+ }
2272
+ }
2273
+ };
2274
+ const b$6 = block("dashkit-plugin-group-control");
2275
+ const i18n$1 = I18n.keyset("dash.dashkit-plugin-control.view");
2276
+ const Control = ({
2277
+ id,
2278
+ data,
2279
+ params,
2280
+ silentLoading,
2281
+ onStatusChanged,
2282
+ getDistincts,
2283
+ requestHeaders,
2284
+ onChange,
2285
+ needReload,
2286
+ workbookId,
2287
+ dependentSelectors,
2288
+ widgetId
2289
+ }) => {
2290
+ const extDashkitContext = React__default.useContext(ExtendedDashKitContext);
2291
+ const [prevNeedReload, setPrevNeedReload] = React__default.useState(needReload);
2292
+ const isMounted = useMountedState([]);
2293
+ const [prevParams, setPrevParams] = React__default.useState(null);
2294
+ const currentSignificantParams = React__default.useRef();
2295
+ const requestCancellationRef = React__default.useRef();
2296
+ const [
2297
+ {
2298
+ status,
2299
+ loadedData,
2300
+ errorData,
2301
+ loadingItems,
2302
+ validationError,
2303
+ isInit,
2304
+ showSilentLoader,
2305
+ control
2306
+ },
2307
+ dispatch
2308
+ ] = React__default.useReducer(reducer, getInitialState());
2309
+ let silentLoaderTimer;
2310
+ const setErrorState = React__default.useCallback(
2311
+ (newErrorData, errorStatus) => {
2312
+ const statusResponse = getStatus(errorStatus);
2313
+ if (statusResponse) {
2314
+ dispatch(
2315
+ setErrorData({
2316
+ status: statusResponse,
2317
+ errorData: newErrorData
2318
+ })
2319
+ );
2320
+ onStatusChanged({ controlId: id, status: statusResponse });
2321
+ }
2322
+ },
2323
+ [id, onStatusChanged]
2324
+ );
2325
+ const setLoadedDataState = React__default.useCallback(
2326
+ (newLoadedData, loadedStatus) => {
2327
+ const statusResponse = getStatus(loadedStatus);
2328
+ if (statusResponse) {
2329
+ if (!currentSignificantParams.current) {
2330
+ currentSignificantParams.current = filterSignificantParams({
2331
+ params,
2332
+ loadedData: newLoadedData,
2333
+ defaults: data.defaults,
2334
+ dependentSelectors
2335
+ });
2336
+ }
2337
+ dispatch(setLoadedData({ status: statusResponse, loadedData: newLoadedData }));
2338
+ onStatusChanged({
2339
+ controlId: id,
2340
+ status: statusResponse,
2341
+ loadedData: newLoadedData ? {
2342
+ ...newLoadedData,
2343
+ sourceType: data.sourceType,
2344
+ id: data.id
2345
+ } : null
2346
+ });
2347
+ }
2348
+ },
2349
+ [data.defaults, data.id, data.sourceType, dependentSelectors, id, onStatusChanged, params]
2350
+ );
2351
+ const cancelCurrentRunRequest = () => {
2352
+ if (requestCancellationRef.current) {
2353
+ requestCancellationRef.current.cancel();
2354
+ }
2355
+ };
2356
+ const init = React__default.useCallback(async () => {
2357
+ try {
2358
+ const payloadCancellation = chartsDataProvider.getRequestCancellation();
2359
+ const payload = {
2360
+ data: {
2361
+ config: {
2362
+ data: {
2363
+ shared: data
2364
+ },
2365
+ meta: {
2366
+ stype: ControlType.Dash
2367
+ }
2368
+ },
2369
+ controlData: {
2370
+ id,
2371
+ widgetId,
2372
+ tabId: extDashkitContext?.config?.id
2373
+ },
2374
+ // currentParams are filled in after the first receiving of loadedData
2375
+ params: currentSignificantParams.current || params,
2376
+ ...workbookId ? { workbookId } : {}
2377
+ },
2378
+ cancelToken: payloadCancellation.token,
2379
+ headers: requestHeaders?.()
2380
+ };
2381
+ cancelCurrentRunRequest();
2382
+ if (status !== LOAD_STATUS.PENDING) {
2383
+ dispatch(setStatus({ status: LOAD_STATUS.PENDING }));
2384
+ onStatusChanged({ controlId: id, status: LOAD_STATUS.PENDING });
2385
+ }
2386
+ requestCancellationRef.current = payloadCancellation;
2387
+ const response = await chartsDataProvider.makeRequest(payload);
2388
+ if (response === null) {
2389
+ return;
2390
+ }
2391
+ const newLoadedData = response.data;
2392
+ if (data.sourceType === DashTabItemControlSourceType.Dataset) {
2393
+ checkDatasetFieldType({
2394
+ currentLoadedData: newLoadedData,
2395
+ datasetData: data,
2396
+ actualLoadedData: loadedData,
2397
+ onSucces: setLoadedDataState,
2398
+ onError: setErrorState
2399
+ });
2400
+ } else {
2401
+ setLoadedDataState(newLoadedData, LOAD_STATUS.SUCCESS);
2402
+ }
2403
+ } catch (error) {
2404
+ if (axios.isCancel(error)) {
2405
+ return;
2406
+ }
2407
+ logger.logError("DashKit: Control init failed", error);
2408
+ console.error("DASHKIT_CONTROL_RUN", error);
2409
+ let errorData2 = null;
2410
+ if (error.response && error.response.data) {
2411
+ const errorInfo = error.response.data?.error;
2412
+ errorData2 = {
2413
+ data: {
2414
+ error: errorInfo,
2415
+ status: error.response.data?.status,
2416
+ title: getErrorTitle(errorInfo)
2417
+ },
2418
+ requestId: error.response.headers["x-request-id"],
2419
+ extra: {
2420
+ hideErrorDetails: Boolean(extDashkitContext?.hideErrorDetails)
2421
+ }
2422
+ };
2423
+ } else {
2424
+ errorData2 = { data: { message: error.message } };
2425
+ }
2426
+ setErrorState(errorData2, LOAD_STATUS.FAIL);
2427
+ }
2428
+ }, [
2429
+ data,
2430
+ extDashkitContext?.config,
2431
+ extDashkitContext?.hideErrorDetails,
2432
+ widgetId,
2433
+ id,
2434
+ loadedData,
2435
+ onStatusChanged,
2436
+ params,
2437
+ requestHeaders,
2438
+ setErrorState,
2439
+ setLoadedDataState,
2440
+ status,
2441
+ workbookId
2442
+ ]);
2443
+ const reload = () => {
2444
+ clearLoaderTimer(silentLoaderTimer);
2445
+ if (data.source.elementType !== ELEMENT_TYPE.SELECT) {
2446
+ silentLoaderTimer = setTimeout(() => {
2447
+ if (isInit) {
2448
+ dispatch(setSilentLoader({ silentLoading }));
2449
+ }
2450
+ }, 800);
2451
+ }
2452
+ init();
2453
+ };
2454
+ const reloadAfterParamsChanges = () => {
2455
+ const significantParams = filterSignificantParams({
2456
+ params,
2457
+ loadedData,
2458
+ defaults: data.defaults,
2459
+ dependentSelectors
2460
+ });
2461
+ if (!needReload && !isEqual(currentSignificantParams.current, significantParams)) {
2462
+ currentSignificantParams.current = significantParams;
2463
+ reload();
2464
+ }
2465
+ };
2466
+ React__default.useEffect(() => {
2467
+ dispatch(setIsInit({ isInit: true }));
2468
+ return () => {
2469
+ if (!isMounted()) {
2470
+ clearLoaderTimer(silentLoaderTimer);
2471
+ onStatusChanged({ controlId: id, status: LOAD_STATUS.DESTROYED });
2472
+ cancelCurrentRunRequest();
2473
+ }
2474
+ };
2475
+ }, [id, isMounted, onStatusChanged, silentLoaderTimer]);
2476
+ if (status !== LOAD_STATUS.PENDING && silentLoaderTimer) {
2477
+ clearLoaderTimer(silentLoaderTimer);
2478
+ }
2479
+ if (loadedData && !isEqual(params, prevParams)) {
2480
+ if (currentSignificantParams.current) {
2481
+ reloadAfterParamsChanges();
2482
+ }
2483
+ setPrevParams(params);
2484
+ }
2485
+ if (prevNeedReload !== needReload) {
2486
+ setPrevNeedReload(needReload);
2487
+ if (needReload) {
2488
+ reload();
2489
+ }
2490
+ }
2491
+ if (!isInit && status === LOAD_STATUS.INITIAL) {
2492
+ init();
2493
+ }
2494
+ const setItemsLoader = React__default.useCallback(
2495
+ (isLoadingItems) => {
2496
+ if (!isMounted) {
2497
+ return;
2498
+ }
2499
+ dispatch(setLoadingItems({ loadingItems: isLoadingItems }));
2500
+ },
2501
+ [isMounted]
2502
+ );
2503
+ const validateValue = React__default.useCallback((args) => {
2504
+ const hasError = isValidRequiredValue(args);
2505
+ dispatch(setValidationError({ hasError }));
2506
+ return hasError;
2507
+ }, []);
2508
+ const getValidationError = ({
2509
+ required,
2510
+ value
2511
+ }) => {
2512
+ let activeValidationError = null;
2513
+ if (required) {
2514
+ const initialValidationError = isValidRequiredValue({
2515
+ required,
2516
+ value
2517
+ }) ? i18n$1("value_required") : null;
2518
+ activeValidationError = validationError || initialValidationError;
2519
+ }
2520
+ return activeValidationError;
2521
+ };
2522
+ const onChangeParams = React__default.useCallback(
2523
+ ({ value, param }) => {
2524
+ const newParam = { [param]: value };
2525
+ onChange({ params: newParam, controlId: id });
2526
+ },
2527
+ [id, onChange]
2528
+ );
2529
+ const getTypeProps = (control2, controlData, currentValidationError) => {
2530
+ const { source } = controlData;
2531
+ const { type } = control2;
2532
+ const typeProps = {};
2533
+ if (type === "range-datepicker" || type === "datepicker") {
2534
+ let fieldType = source?.fieldType || null;
2535
+ if (controlData.sourceType === DashTabItemControlSourceType.Dataset) {
2536
+ const { datasetFieldType } = getDatasetSourceInfo({
2537
+ data: controlData,
2538
+ actualLoadedData: loadedData
2539
+ });
2540
+ fieldType = datasetFieldType;
2541
+ }
2542
+ if (fieldType === "datetime" || fieldType === DATASET_FIELD_TYPES.GENERICDATETIME) {
2543
+ typeProps.timeFormat = "HH:mm:ss";
2544
+ }
2545
+ }
2546
+ if (type === "input") {
2547
+ typeProps.placeholder = currentValidationError || control2.placeholder;
2548
+ }
2549
+ return typeProps;
2550
+ };
2551
+ const renderSilentLoader = () => {
2552
+ if (showSilentLoader || !control && status === LOAD_STATUS.SUCCESS) {
2553
+ return /* @__PURE__ */ jsx("div", { className: b$6("loader", { silent: true }), children: /* @__PURE__ */ jsx(Loader, { size: "s" }) });
2554
+ }
2555
+ return null;
2556
+ };
2557
+ const renderOverlay = React__default.useCallback(() => {
2558
+ const paramId = data.source.datasetFieldId || data.source.fieldName || control?.param || "";
2559
+ const debugData = [
2560
+ { label: "itemId", value: id },
2561
+ { label: "paramId", value: paramId }
2562
+ ];
2563
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
2564
+ /* @__PURE__ */ jsx(DebugInfoTool, { data: debugData, modType: "top" }),
2565
+ renderSilentLoader()
2566
+ ] });
2567
+ }, [control?.param, data.source, id, renderSilentLoader]);
2568
+ const renderLoadingStub = (props) => {
2569
+ const {
2570
+ source: { elementType }
2571
+ } = data;
2572
+ const stubProps = {
2573
+ ...props,
2574
+ value: "",
2575
+ param: "",
2576
+ onChange: () => {
2577
+ }
2578
+ };
2579
+ switch (elementType) {
2580
+ case DashTabItemControlElementType.Input:
2581
+ return /* @__PURE__ */ jsx(ControlInput, { ...stubProps, type: "input" });
2582
+ case DashTabItemControlElementType.Date:
2583
+ return /* @__PURE__ */ jsx(ControlDatepicker, { ...stubProps, type: "datepicker" });
2584
+ case DashTabItemControlElementType.Checkbox:
2585
+ return /* @__PURE__ */ jsx(
2586
+ ControlCheckbox,
2587
+ {
2588
+ ...stubProps,
2589
+ className: b$6("item", { checkbox: true }),
2590
+ type: "checkbox"
2591
+ }
2592
+ );
2593
+ }
2594
+ return null;
2595
+ };
2596
+ const handleClickRetry = React__default.useCallback(() => {
2597
+ reload();
2598
+ }, [reload]);
2599
+ const renderControl = () => {
2600
+ const controlData = data;
2601
+ const { source, placementMode, width } = controlData;
2602
+ const { required, operation, elementType, titlePlacement, accentType } = source;
2603
+ const { label, innerLabel } = getLabels(controlData);
2604
+ const style = getControlWidthStyle(placementMode, width);
2605
+ const vertical = titlePlacement === TitlePlacementOption.Top;
2606
+ const initialProps = {
2607
+ innerLabel,
2608
+ label,
2609
+ labelPlacement: titlePlacement,
2610
+ className: b$6("item"),
2611
+ // TODO: move class to withWrapForContros after cleaning code from GroupControls flag
2612
+ labelClassName: b$6("item-label", { vertical }),
2613
+ style,
2614
+ renderOverlay,
2615
+ hint: getControlHint(controlData.source),
2616
+ accentType
2617
+ };
2618
+ if (elementType === DashTabItemControlElementType.Select) {
2619
+ return /* @__PURE__ */ jsx(
2620
+ ControlItemSelect,
2621
+ {
2622
+ id,
2623
+ data,
2624
+ defaults: data.defaults || {},
2625
+ status,
2626
+ loadedData,
2627
+ loadingItems,
2628
+ actualParams: currentSignificantParams.current || params,
2629
+ onChange: onChangeParams,
2630
+ init,
2631
+ setItemsLoader,
2632
+ validationError,
2633
+ errorData,
2634
+ validateValue,
2635
+ getDistincts,
2636
+ classMixin: b$6("item"),
2637
+ labelMixin: b$6("item-label", { vertical }),
2638
+ selectProps: {
2639
+ innerLabel,
2640
+ label,
2641
+ style,
2642
+ limitLabel: true,
2643
+ labelPlacement: titlePlacement,
2644
+ accentType
2645
+ },
2646
+ renderOverlay
2647
+ }
2648
+ );
2649
+ }
2650
+ if (status === LOAD_STATUS.FAIL) {
2651
+ return /* @__PURE__ */ jsx("div", { className: b$6("item-stub", { error: true }), style, children: /* @__PURE__ */ jsx(Error, { errorData, onClickRetry: handleClickRetry }) });
2652
+ }
2653
+ if (!control) {
2654
+ return renderLoadingStub(initialProps);
2655
+ }
2656
+ const { param, disabled } = control;
2657
+ const preparedValue = unwrapFromArrayAndSkipOperation(params[param]);
2658
+ const currentValidationError = getValidationError({
2659
+ required,
2660
+ value: preparedValue
2661
+ });
2662
+ const onChangeControl = (value) => {
2663
+ const hasError = validateValue({
2664
+ required,
2665
+ value
2666
+ });
2667
+ dispatch(setValidationError({ hasError }));
2668
+ if (hasError) {
2669
+ return;
2670
+ }
2671
+ const valueWithOperation = addOperationForValue({
2672
+ value,
2673
+ operation
2674
+ });
2675
+ if (!isEqual(valueWithOperation, unwrapFromArray(params[param]))) {
2676
+ onChangeParams({ value: valueWithOperation, param });
2677
+ }
2678
+ };
2679
+ const props = {
2680
+ ...initialProps,
2681
+ param,
2682
+ type: control.type,
2683
+ widgetId: id,
2684
+ value: disabled ? "" : preparedValue,
2685
+ required,
2686
+ onChange: onChangeControl,
2687
+ hasValidationError: Boolean(currentValidationError),
2688
+ disabled,
2689
+ ...getTypeProps(control, controlData, currentValidationError)
2690
+ };
2691
+ switch (control.type) {
2692
+ case CONTROL_TYPE.INPUT:
2693
+ return /* @__PURE__ */ jsx(ControlInput, { ...props });
2694
+ case CONTROL_TYPE.DATEPICKER:
2695
+ return /* @__PURE__ */ jsx(ControlDatepicker, { ...props });
2696
+ case CONTROL_TYPE.RANGE_DATEPICKER:
2697
+ return /* @__PURE__ */ jsx(ControlRangeDatepicker, { returnInterval: true, ...props });
2698
+ case CONTROL_TYPE.CHECKBOX:
2699
+ return /* @__PURE__ */ jsx(ControlCheckbox, { ...props, className: b$6("item", { checkbox: true }) });
2700
+ }
2701
+ return null;
2702
+ };
2703
+ return renderControl();
2704
+ };
2705
+ const GROUP_CONTROL_LAYOUT_DEBOUNCE_TIME = 20;
2706
+ const GROUP_CONTROL_LOADING_EMULATION_TIMEOUT = 100;
2707
+ const b$5 = block("dashkit-plugin-group-control");
2708
+ const i18n = I18n.keyset("dash.dashkit-plugin-control.view");
2709
+ const LOCAL_META_VERSION = 2;
2710
+ const GroupControlWrapper = React__default.forwardRef(function GroupControlWrapper2(props, nodeRef) {
2711
+ useWidgetContext({ id: props.id, elementRef: nodeRef });
2712
+ return /* @__PURE__ */ jsx(
2713
+ "div",
2714
+ {
2715
+ ref: nodeRef,
2716
+ className: b$5({ mobile: DL.IS_MOBILE, static: !props.autoHeight, pulsate: props.pulsate }),
2717
+ style: props.style,
2718
+ children: props.children
2719
+ }
2720
+ );
2721
+ });
2722
+ const _GroupControl = class _GroupControl extends React__default.PureComponent {
2723
+ constructor(props) {
2724
+ super(props);
2725
+ this.rootNode = React__default.createRef();
2726
+ this._isUnmounted = false;
2727
+ this.adjustWidgetLayout = debounce(this.setAdjustWidgetLayout, GROUP_CONTROL_LAYOUT_DEBOUNCE_TIME);
2728
+ this.resolve = null;
2729
+ this.controlsLoadedCount = 0;
2730
+ this.controlsProgressCount = 0;
2731
+ this.controlsStatus = {};
2732
+ this.controlsData = {};
2733
+ this._quickActionTimer = null;
2734
+ this.initialParams = {};
2735
+ this.localMeta = { version: LOCAL_META_VERSION, queue: [] };
2736
+ this._onRedraw = null;
2737
+ this.fillQueueWithInitial = (checkByProps) => {
2738
+ const initialQueue = [];
2739
+ for (const groupItem of this.state.memoGroupItems || []) {
2740
+ if (!groupItem.defaults) {
2741
+ continue;
2742
+ }
2743
+ const param = Object.keys(groupItem.defaults)[0];
2744
+ const defaultItemParam = groupItem.defaults[param];
2745
+ if (!checkByProps && !this.state.stateParams[groupItem.id]) {
2746
+ continue;
2747
+ }
2748
+ const isItemSignificant = checkByProps ? this.props.params[groupItem.id][param] !== defaultItemParam : this.state.stateParams[groupItem.id][param] !== defaultItemParam;
2749
+ if (isItemSignificant) {
2750
+ initialQueue.push(groupItem.id);
2751
+ }
2752
+ }
2753
+ initialQueue.forEach((queueItemId) => {
2754
+ this.localMeta.queue = addItemToLocalQueue(
2755
+ this.localMeta.queue,
2756
+ this.props.id,
2757
+ queueItemId
2758
+ );
2759
+ });
2760
+ };
2761
+ this.getControlsIds = ({
2762
+ data,
2763
+ controlId
2764
+ }) => {
2765
+ let controlIdOrder = this.state.memoGroupItems.map(({ id }) => id);
2766
+ if (!data.buttonApply || controlId) {
2767
+ return controlId ? [controlId] : controlIdOrder;
2768
+ }
2769
+ const paramsInGroup = this.state.memoGroupItems.map(
2770
+ (groupItem) => Object.keys(groupItem.defaults || {})[0]
2771
+ );
2772
+ const currentNamespaceAliases = this.getCurrentTabConfig()?.aliases[this.props.namespace];
2773
+ const groupAliasesList = currentNamespaceAliases ? currentNamespaceAliases.reduce((aliasArr, currentAlias) => {
2774
+ let participationInGroupCount = 0;
2775
+ for (const alias of currentAlias) {
2776
+ if (paramsInGroup.includes(alias)) {
2777
+ participationInGroupCount++;
2778
+ }
2779
+ if (participationInGroupCount >= 2) {
2780
+ aliasArr.push(currentAlias);
2781
+ break;
2782
+ }
2783
+ }
2784
+ return aliasArr;
2785
+ }, []) : [];
2786
+ groupAliasesList.forEach((alias) => {
2787
+ const placementOrderIds = [];
2788
+ controlIdOrder.forEach((id) => {
2789
+ const usedParams = this.controlsData[id]?.uiScheme;
2790
+ const control = Array.isArray(usedParams) ? usedParams[0] : usedParams?.controls[0];
2791
+ if (control && "param" in control && alias.includes(control.param)) {
2792
+ placementOrderIds.push(id);
2793
+ }
2794
+ });
2795
+ const queueOrderIds = [];
2796
+ const outQueueIds = [];
2797
+ this.localMeta.queue.forEach(({ groupItemId, param }) => {
2798
+ if (groupItemId && param && alias.includes(param)) {
2799
+ queueOrderIds.push(groupItemId);
2800
+ }
2801
+ });
2802
+ placementOrderIds.forEach((id) => {
2803
+ if (!queueOrderIds.includes(id)) {
2804
+ outQueueIds.push(id);
2805
+ }
2806
+ });
2807
+ const changedOrderIds = outQueueIds.concat(queueOrderIds);
2808
+ let currentPlacementIndex = 0;
2809
+ controlIdOrder = controlIdOrder.map((id) => {
2810
+ if (placementOrderIds[currentPlacementIndex] === id && changedOrderIds[currentPlacementIndex]) {
2811
+ const newControlId = changedOrderIds[currentPlacementIndex];
2812
+ currentPlacementIndex++;
2813
+ return newControlId;
2814
+ }
2815
+ return id;
2816
+ });
2817
+ });
2818
+ return controlIdOrder;
2819
+ };
2820
+ this.onChange = ({
2821
+ params,
2822
+ callChangeByClick,
2823
+ controlId
2824
+ }) => {
2825
+ const controlData = this.propsControlData;
2826
+ if (!controlData.buttonApply || callChangeByClick) {
2827
+ const appliedControlsIds = this.getControlsIds({ data: controlData, controlId });
2828
+ this.props.onStateAndParamsChange({ params }, { groupItemIds: appliedControlsIds });
2829
+ this.localMeta.queue = [];
2830
+ this.context?.updateTabsWithGlobalState?.({
2831
+ params,
2832
+ selectorItem: {
2833
+ type: DashTabItemType.GroupControl,
2834
+ data: controlData,
2835
+ id: this.props.id
2836
+ },
2837
+ appliedSelectorsIds: appliedControlsIds
2838
+ });
2839
+ return;
2840
+ }
2841
+ if (controlId) {
2842
+ if (controlData.buttonApply) {
2843
+ this.localMeta.queue = addItemToLocalQueue(
2844
+ this.localMeta.queue,
2845
+ this.props.id,
2846
+ controlId,
2847
+ // need name of control main param for alias case
2848
+ Object.keys(params)[0]
2849
+ );
2850
+ }
2851
+ if (controlData.updateControlsOnChange && controlData.buttonApply) {
2852
+ this.setState({
2853
+ stateParams: this.getLocalUpdatedParams(controlId, params),
2854
+ localUpdateLoader: true
2855
+ });
2856
+ } else {
2857
+ this.setState({
2858
+ stateParams: {
2859
+ ...this.state.stateParams,
2860
+ [controlId]: {
2861
+ ...this.state.stateParams[controlId],
2862
+ ...params
2863
+ }
2864
+ }
2865
+ });
2866
+ }
2867
+ return;
2868
+ }
2869
+ this.setState({ stateParams: params });
2870
+ this.localMeta.queue = [];
2871
+ };
2872
+ this.getUpdatedGroupParams = ({
2873
+ params,
2874
+ meta
2875
+ }) => {
2876
+ const defaultGlobalParams = this.context?.defaultGlobalParams || {};
2877
+ const currentConfigItem = {
2878
+ id: this.props.id,
2879
+ data: this.props.data,
2880
+ type: DashTabItemType.GroupControl,
2881
+ namespace: this.props.namespace
2882
+ };
2883
+ const updatedStateParams = getItemsParams({
2884
+ config: {
2885
+ ...this.getCurrentTabConfig(),
2886
+ items: [currentConfigItem]
2887
+ },
2888
+ itemsStateAndParams: {
2889
+ [this.props.id]: { params },
2890
+ __meta__: meta || this.localMeta
2891
+ },
2892
+ plugins: [pluginGroupControlBaseDL],
2893
+ defaultGlobalParams,
2894
+ globalParams: getUrlGlobalParams(getLocation().search, defaultGlobalParams) || {},
2895
+ useStateAsInitial: true
2896
+ });
2897
+ return updatedStateParams[this.props.id];
2898
+ };
2899
+ this.getLocalUpdatedParams = (controlId, params) => {
2900
+ const newParams = {
2901
+ ...this.state.stateParams,
2902
+ [controlId]: { ...this.state.stateParams[controlId], ...params }
2903
+ };
2904
+ return this.getUpdatedGroupParams({ params: newParams });
2905
+ };
2906
+ this.getCurrentWidgetResolvedMetaInfo = (id, loadedData) => {
2907
+ let label = "";
2908
+ if (loadedData?.uiScheme && "controls" in loadedData.uiScheme) {
2909
+ label = loadedData.uiScheme.controls[0].label;
2910
+ }
2911
+ const currentItem = this.state.memoGroupItems?.find((item) => item.id === id);
2912
+ const widgetMetaInfo = {
2913
+ layoutId: this.props.id,
2914
+ widgetId: this.props.id,
2915
+ title: currentItem?.title,
2916
+ label,
2917
+ params: loadedData?.params,
2918
+ defaultParams: currentItem ? this.filterDefaultsBySource(currentItem) : {},
2919
+ loaded: Boolean(loadedData),
2920
+ itemId: id,
2921
+ usedParams: loadedData?.usedParams ? Object.keys(
2922
+ filterSignificantParams({
2923
+ params: loadedData.usedParams,
2924
+ loadedData,
2925
+ defaults: currentItem?.defaults,
2926
+ dependentSelectors: this.dependentSelectors
2927
+ })
2928
+ ) : null,
2929
+ datasets: loadedData?.extra?.datasets || null,
2930
+ datasetId: loadedData?.sources?.fields?.datasetId || "",
2931
+ type: "control",
2932
+ sourceType: loadedData?.sourceType,
2933
+ loadError: !loadedData
2934
+ };
2935
+ return widgetMetaInfo;
2936
+ };
2937
+ this.resolveMetaInControl = () => {
2938
+ if (!this.resolve) {
2939
+ return;
2940
+ }
2941
+ const result = [];
2942
+ for (const [id, data] of Object.entries(this.controlsData)) {
2943
+ result.push(this.getCurrentWidgetResolvedMetaInfo(id, data));
2944
+ }
2945
+ this.resolve(result);
2946
+ };
2947
+ this.handleStatusChanged = ({
2948
+ controlId,
2949
+ status,
2950
+ loadedData
2951
+ }) => {
2952
+ if (this._isUnmounted) {
2953
+ return;
2954
+ }
2955
+ if (status === LOAD_STATUS.DESTROYED) {
2956
+ delete this.controlsData[controlId];
2957
+ delete this.controlsStatus[controlId];
2958
+ if (this.controlsStatus[controlId] === LOAD_STATUS.PENDING || this.controlsStatus[controlId] === LOAD_STATUS.INITIAL) {
2959
+ this.controlsProgressCount--;
2960
+ return;
2961
+ }
2962
+ this.controlsLoadedCount--;
2963
+ return;
2964
+ }
2965
+ const isLoaded = status === LOAD_STATUS.SUCCESS || status === LOAD_STATUS.FAIL;
2966
+ const isInitialPending = !this.controlsStatus[controlId] && status === LOAD_STATUS.PENDING;
2967
+ const isReloadPending = this.controlsStatus[controlId] !== LOAD_STATUS.INITIAL && status === LOAD_STATUS.PENDING;
2968
+ if (isLoaded) {
2969
+ this.controlsLoadedCount++;
2970
+ this.controlsProgressCount--;
2971
+ if (loadedData || loadedData === null) {
2972
+ this.controlsData[controlId] = loadedData;
2973
+ }
2974
+ this._onRedraw?.();
2975
+ } else if (isInitialPending) {
2976
+ this.controlsProgressCount++;
2977
+ } else if (isReloadPending) {
2978
+ this.controlsLoadedCount--;
2979
+ this.controlsProgressCount++;
2980
+ }
2981
+ this.controlsStatus[controlId] = status;
2982
+ if (!this.controlsProgressCount) {
2983
+ if (this.props.data.autoHeight && !this.state.isInit) {
2984
+ this.adjustWidgetLayout(false);
2985
+ }
2986
+ const disableButtons = Object.values(this.controlsData).every(
2987
+ (data) => data === null || data.uiScheme?.controls[0].disabled
2988
+ );
2989
+ this.resolveMetaInControl();
2990
+ this.setState({
2991
+ needReload: false,
2992
+ status: LOAD_STATUS.SUCCESS,
2993
+ silentLoading: false,
2994
+ isInit: true,
2995
+ localUpdateLoader: false,
2996
+ disableButtons
2997
+ });
2998
+ }
2999
+ };
3000
+ this.requestHeadersGetter = () => {
3001
+ if (this.context?.dataProviderContextGetter) {
3002
+ return this.context.dataProviderContextGetter(this.props.id);
3003
+ }
3004
+ return {};
3005
+ };
3006
+ this.handleApplyChange = () => {
3007
+ this.applyButtonAction(CLICK_ACTION_TYPE.SET_PARAMS);
3008
+ };
3009
+ this.handleResetChange = () => {
3010
+ this.applyButtonAction(CLICK_ACTION_TYPE.SET_INITIAL_PARAMS);
3011
+ };
3012
+ const memoGroupItems = this.getVisibleGroupItems();
3013
+ this._onRedraw = debounce(this.props.onBeforeLoad(), DEBOUNCE_RENDER_TIMEOUT);
3014
+ this.controlsProgressCount = memoGroupItems.length || 0;
3015
+ memoGroupItems.forEach((item) => {
3016
+ this.controlsStatus[item.id] = LOAD_STATUS.INITIAL;
3017
+ this.controlsData[item.id] = null;
3018
+ });
3019
+ this.initialParams = this.props.params;
3020
+ this.state = {
3021
+ status: LOAD_STATUS.INITIAL,
3022
+ silentLoading: false,
3023
+ isInit: false,
3024
+ stateParams: this.props.params,
3025
+ needReload: false,
3026
+ localUpdateLoader: false,
3027
+ quickActionLoader: false,
3028
+ disableButtons: true,
3029
+ memoGroupItems
3030
+ };
3031
+ }
3032
+ componentDidMount() {
3033
+ this.init();
3034
+ }
3035
+ componentDidUpdate(prevProps) {
3036
+ if (this.rootNode.current) {
3037
+ if (this.props.data.autoHeight) {
3038
+ this.adjustWidgetLayout(false);
3039
+ } else if (prevProps.data.autoHeight) {
3040
+ this.adjustWidgetLayout(true);
3041
+ }
3042
+ }
3043
+ const hasDataChanged = !isEqual(this.props.data, prevProps.data);
3044
+ const hasParamsChanged = !isEqual(this.props.params, prevProps.params);
3045
+ const hasTabChanged = this.props.context.currentTabId !== prevProps.context.currentTabId;
3046
+ let memoGroupItems = this.state.memoGroupItems;
3047
+ if (hasDataChanged || hasTabChanged) {
3048
+ const updatedMemoGroupItems = this.getVisibleGroupItems();
3049
+ memoGroupItems = updatedMemoGroupItems;
3050
+ this.setState({
3051
+ memoGroupItems
3052
+ });
3053
+ }
3054
+ if (hasDataChanged) {
3055
+ this.setState({
3056
+ status: LOAD_STATUS.PENDING,
3057
+ needReload: true,
3058
+ silentLoading: true
3059
+ });
3060
+ }
3061
+ if (hasParamsChanged || hasDataChanged) {
3062
+ if (!this.props.data.buttonApply) {
3063
+ this.setState({
3064
+ stateParams: this.props.params
3065
+ });
3066
+ return;
3067
+ }
3068
+ const updatedStateParams = {};
3069
+ const updatedItemsIds = [];
3070
+ memoGroupItems?.forEach((groupItem) => {
3071
+ const newPropsParams = filterSignificantParams({
3072
+ params: this.props.params[groupItem.id],
3073
+ loadedData: this.controlsData[groupItem.id],
3074
+ defaults: groupItem.defaults,
3075
+ dependentSelectors: this.dependentSelectors
3076
+ });
3077
+ const initialParams = filterSignificantParams({
3078
+ params: this.initialParams[groupItem.id],
3079
+ loadedData: this.controlsData[groupItem.id],
3080
+ defaults: groupItem.defaults,
3081
+ dependentSelectors: this.dependentSelectors
3082
+ });
3083
+ if (isEqual(initialParams, newPropsParams)) {
3084
+ updatedStateParams[groupItem.id] = { ...this.state.stateParams[groupItem.id] };
3085
+ } else {
3086
+ updatedStateParams[groupItem.id] = { ...this.props.params[groupItem.id] };
3087
+ this.initialParams[groupItem.id] = { ...this.props.params[groupItem.id] };
3088
+ updatedItemsIds.push(groupItem.id);
3089
+ }
3090
+ });
3091
+ if (this.props.data.updateControlsOnChange && (updatedItemsIds.length || !prevProps.data.updateControlsOnChange)) {
3092
+ if (prevProps.data.updateControlsOnChange) {
3093
+ updatedItemsIds.forEach((queueItemId) => {
3094
+ this.localMeta.queue = addItemToLocalQueue(
3095
+ this.localMeta.queue,
3096
+ this.props.id,
3097
+ queueItemId
3098
+ );
3099
+ });
3100
+ } else {
3101
+ this.fillQueueWithInitial();
3102
+ }
3103
+ const locallyUpdatedParams = this.getUpdatedGroupParams({
3104
+ params: updatedStateParams
3105
+ });
3106
+ this.setState({ stateParams: locallyUpdatedParams });
3107
+ return;
3108
+ }
3109
+ this.setState({
3110
+ stateParams: updatedStateParams
3111
+ });
3112
+ }
3113
+ }
3114
+ componentWillUnmount() {
3115
+ this._isUnmounted = true;
3116
+ if (this.props.data.autoHeight) {
3117
+ this.setAdjustWidgetLayout(true);
3118
+ }
3119
+ }
3120
+ render() {
3121
+ const isLoading = this.state.status === LOAD_STATUS.PENDING && !this.state.silentLoading || this.state.quickActionLoader || this.state.localUpdateLoader;
3122
+ const { borderRadius, globalWidgetSettings } = this.props;
3123
+ const resultedBorderRadius = borderRadius ?? globalWidgetSettings?.borderRadius;
3124
+ const style = resultedBorderRadius ? { borderRadius: resultedBorderRadius } : void 0;
3125
+ return /* @__PURE__ */ jsx(
3126
+ GroupControlWrapper,
3127
+ {
3128
+ ref: this.rootNode,
3129
+ id: this.props.id,
3130
+ autoHeight: this.props.data.autoHeight ?? false,
3131
+ pulsate: isLoading,
3132
+ style,
3133
+ children: /* @__PURE__ */ jsxs(
3134
+ "div",
3135
+ {
3136
+ className: b$5("container", CHARTKIT_SCROLLABLE_NODE_CLASSNAME),
3137
+ "data-qa": ControlQA.groupChartkitControl,
3138
+ children: [
3139
+ /* @__PURE__ */ jsx(
3140
+ DebugInfoTool,
3141
+ {
3142
+ label: "widgetId",
3143
+ value: this.props.id,
3144
+ modType: "bottom-right-corner"
3145
+ }
3146
+ ),
3147
+ this.renderControls(),
3148
+ isLoading && /* @__PURE__ */ jsx("div", { className: b$5("locked"), "data-qa": ControlQA.groupCommonLockedBlock })
3149
+ ]
3150
+ }
3151
+ )
3152
+ }
3153
+ );
3154
+ }
3155
+ getMeta() {
3156
+ return new Promise((resolve) => {
3157
+ this.resolve = resolve;
3158
+ if (this.state.status === LOAD_STATUS.SUCCESS) {
3159
+ this.resolveMetaInControl();
3160
+ }
3161
+ });
3162
+ }
3163
+ // need for autoreload from dashkit
3164
+ reload({ silentLoading }) {
3165
+ if (this.context?.skipReload || !this.state.isInit || this._isUnmounted) {
3166
+ return;
3167
+ }
3168
+ this.setState({
3169
+ needReload: true,
3170
+ status: LOAD_STATUS.PENDING,
3171
+ silentLoading: Boolean(silentLoading)
3172
+ });
3173
+ }
3174
+ get propsControlData() {
3175
+ return this.props.data;
3176
+ }
3177
+ getVisibleGroupItems() {
3178
+ const controlData = this.propsControlData;
3179
+ const currentTabId = this.props.context.currentTabId;
3180
+ if (!isEnabledFeature(Feature.EnableGlobalSelectors) || !currentTabId || !isItemGlobal({
3181
+ data: controlData,
3182
+ type: DashTabItemType.GroupControl
3183
+ })) {
3184
+ return controlData.group;
3185
+ }
3186
+ const isGroupSettingPrevailing = controlData.group.every(
3187
+ (item) => item.impactType === void 0 || item.impactType === "asGroup"
3188
+ );
3189
+ const isGroupAvailableOnTab = isGlobalWidgetVisibleByMainSetting(
3190
+ currentTabId,
3191
+ controlData.impactType,
3192
+ controlData.impactTabsIds
3193
+ );
3194
+ if (isGroupSettingPrevailing && isGroupAvailableOnTab) {
3195
+ return controlData.group;
3196
+ }
3197
+ return controlData.group.filter(
3198
+ (item) => isGroupItemVisibleOnTab({
3199
+ item,
3200
+ tabId: currentTabId,
3201
+ isVisibleByMainSetting: isGroupAvailableOnTab
3202
+ })
3203
+ );
3204
+ }
3205
+ get dependentSelectors() {
3206
+ return this.props.settings.dependentSelectors ?? false;
3207
+ }
3208
+ getCurrentTabConfig() {
3209
+ return this.context?.config || {
3210
+ aliases: {},
3211
+ connections: []
3212
+ };
3213
+ }
3214
+ filterDefaultsBySource(item) {
3215
+ const sourcedFieldId = item.sourceType === "dataset" ? item.source?.datasetFieldId : null;
3216
+ if (sourcedFieldId && item.defaults) {
3217
+ return { [sourcedFieldId]: item.defaults[sourcedFieldId] };
3218
+ }
3219
+ return item.defaults;
3220
+ }
3221
+ getDistinctsWithHeaders() {
3222
+ if (this.props.getDistincts) {
3223
+ this._getDistinctsMemo = this._getDistinctsMemo || ((params, _, options) => {
3224
+ const { getDistincts } = this.props;
3225
+ const headers = this?.context?.dataProviderContextGetter?.(this.props.id);
3226
+ return getDistincts?.(
3227
+ params,
3228
+ headers,
3229
+ options
3230
+ );
3231
+ });
3232
+ } else {
3233
+ this._getDistinctsMemo = void 0;
3234
+ }
3235
+ return this._getDistinctsMemo;
3236
+ }
3237
+ renderControl(item) {
3238
+ const { workbookId } = this.props;
3239
+ const { silentLoading } = this.state;
3240
+ return /* @__PURE__ */ jsx(
3241
+ Control,
3242
+ {
3243
+ id: item.id,
3244
+ data: item,
3245
+ params: this.state.stateParams[item.id] || {},
3246
+ onStatusChanged: this.handleStatusChanged,
3247
+ silentLoading,
3248
+ getDistincts: this.getDistinctsWithHeaders(),
3249
+ onChange: this.onChange,
3250
+ needReload: this.state.needReload,
3251
+ workbookId,
3252
+ dependentSelectors: this.dependentSelectors,
3253
+ widgetId: this.props.id,
3254
+ requestHeaders: this.requestHeadersGetter
3255
+ },
3256
+ item.id
3257
+ );
3258
+ }
3259
+ applyButtonAction(action) {
3260
+ let newParams = {};
3261
+ let callChangeByClick = true;
3262
+ switch (action) {
3263
+ case CLICK_ACTION_TYPE.SET_PARAMS:
3264
+ newParams = this.state.stateParams;
3265
+ break;
3266
+ case CLICK_ACTION_TYPE.SET_INITIAL_PARAMS: {
3267
+ const defaultParams = this.state.memoGroupItems?.reduce(
3268
+ (paramsState, data) => {
3269
+ paramsState[data.id] = data.defaults || {};
3270
+ return paramsState;
3271
+ },
3272
+ {}
3273
+ ) || this.state.stateParams;
3274
+ newParams = this.getUpdatedGroupParams({
3275
+ params: defaultParams,
3276
+ meta: { version: LOCAL_META_VERSION, queue: [] }
3277
+ });
3278
+ if (this.props.data.buttonApply) {
3279
+ callChangeByClick = false;
3280
+ }
3281
+ break;
3282
+ }
3283
+ }
3284
+ if (action === CLICK_ACTION_TYPE.SET_INITIAL_PARAMS || !isEqual(newParams, this.state.stateParams) || !isEqual(newParams, this.props.params)) {
3285
+ if (action === CLICK_ACTION_TYPE.SET_PARAMS) {
3286
+ if (this._quickActionTimer) {
3287
+ clearTimeout(this._quickActionTimer);
3288
+ }
3289
+ this.setState({ quickActionLoader: true }, () => {
3290
+ this._quickActionTimer = setTimeout(() => {
3291
+ this._quickActionTimer = null;
3292
+ this.setState({ quickActionLoader: false });
3293
+ }, GROUP_CONTROL_LOADING_EMULATION_TIMEOUT);
3294
+ });
3295
+ }
3296
+ this.onChange({ params: newParams, callChangeByClick });
3297
+ }
3298
+ }
3299
+ renderSubHeader() {
3300
+ const { showGroupName, groupName } = this.propsControlData;
3301
+ const headerText = groupName || this.context?.selectorsGroupTitlePlaceholder;
3302
+ if (showGroupName && headerText) {
3303
+ return /* @__PURE__ */ jsx("div", { className: b$5("header"), children: /* @__PURE__ */ jsx(Text, { variant: "subheader-2", className: b$5("controls-title"), children: headerText }) });
3304
+ }
3305
+ return null;
3306
+ }
3307
+ renderButtons() {
3308
+ const controlData = this.propsControlData;
3309
+ const resetAction = { action: CLICK_ACTION_TYPE.SET_INITIAL_PARAMS };
3310
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
3311
+ controlData.buttonApply && /* @__PURE__ */ jsx(
3312
+ ControlButton,
3313
+ {
3314
+ type: CONTROL_TYPE.BUTTON,
3315
+ label: i18n("button_apply"),
3316
+ updateOnChange: true,
3317
+ theme: "action",
3318
+ className: b$5("item", { button: true }),
3319
+ onChange: this.handleApplyChange,
3320
+ qa: ControlQA.controlButtonApply,
3321
+ disabled: this.state.disableButtons
3322
+ }
3323
+ ),
3324
+ controlData.buttonReset && /* @__PURE__ */ jsx(
3325
+ ControlButton,
3326
+ {
3327
+ type: CONTROL_TYPE.BUTTON,
3328
+ className: b$5("item", { button: true }),
3329
+ label: i18n("button_reset"),
3330
+ onClick: resetAction,
3331
+ onChange: this.handleResetChange,
3332
+ qa: ControlQA.controlButtonReset,
3333
+ disabled: this.state.disableButtons
3334
+ }
3335
+ )
3336
+ ] });
3337
+ }
3338
+ renderControls() {
3339
+ return /* @__PURE__ */ jsxs("div", { className: b$5("controls"), children: [
3340
+ this.renderSubHeader(),
3341
+ this.state.memoGroupItems?.map(
3342
+ (item) => this.renderControl(item)
3343
+ ),
3344
+ this.renderButtons()
3345
+ ] });
3346
+ }
3347
+ async init() {
3348
+ if (this._isUnmounted) {
3349
+ return;
3350
+ }
3351
+ let stateParams;
3352
+ const controlData = this.propsControlData;
3353
+ if (controlData.updateControlsOnChange) {
3354
+ this.fillQueueWithInitial(true);
3355
+ stateParams = this.getUpdatedGroupParams({
3356
+ params: this.props.params
3357
+ });
3358
+ } else {
3359
+ stateParams = this.props.params;
3360
+ }
3361
+ this.setState({
3362
+ status: LOAD_STATUS.PENDING,
3363
+ stateParams
3364
+ });
3365
+ }
3366
+ setAdjustWidgetLayout(needSetDefault) {
3367
+ adjustWidgetLayout({
3368
+ widgetId: this.props.id,
3369
+ needSetDefault,
3370
+ rootNode: this.rootNode,
3371
+ gridLayout: this.props.gridLayout,
3372
+ layout: this.props.layout,
3373
+ cb: (data) => {
3374
+ this.props.adjustWidgetLayout(data);
3375
+ this._onRedraw?.();
3376
+ }
3377
+ });
3378
+ }
3379
+ };
3380
+ _GroupControl.contextType = ExtendedDashKitContext;
3381
+ let GroupControl = _GroupControl;
3382
+ const plugin = {
3383
+ type: DashTabItemType.GroupControl,
3384
+ defaultLayout: DEFAULT_CONTROL_LAYOUT,
3385
+ setSettings(settings) {
3386
+ const { getDistincts } = settings;
3387
+ plugin.getDistincts = getDistincts;
3388
+ plugin.globalWidgetSettings = settings.globalWidgetSettings;
3389
+ return plugin;
3390
+ },
3391
+ renderer(props, forwardedRef) {
3392
+ const workbookId = props.context.workbookId;
3393
+ return /* @__PURE__ */ jsx(
3394
+ GroupControl,
3395
+ {
3396
+ ...props,
3397
+ getDistincts: plugin.getDistincts,
3398
+ workbookId,
3399
+ ref: forwardedRef,
3400
+ globalWidgetSettings: plugin.globalWidgetSettings
3401
+ }
3402
+ );
3403
+ }
3404
+ };
3405
+ const b$4 = block("dashkit-plugin-container");
3406
+ const RendererWrapper = React__default.memo(function RendererWrapper2({
3407
+ children,
3408
+ type,
3409
+ nodeRef,
3410
+ classMod,
3411
+ beforeContentNode,
3412
+ style,
3413
+ ...props
3414
+ }) {
3415
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
3416
+ beforeContentNode,
3417
+ /* @__PURE__ */ jsx(
3418
+ "div",
3419
+ {
3420
+ ref: nodeRef,
3421
+ className: b$4("wrapper", {
3422
+ [type]: Boolean(type),
3423
+ [String(classMod)]: Boolean(classMod)
3424
+ }),
3425
+ style,
3426
+ ...props,
3427
+ children
3428
+ }
3429
+ )
3430
+ ] });
3431
+ });
3432
+ const b$3 = block("dashkit-plugin-image");
3433
+ const pluginImage = {
3434
+ type: DashTabItemType.Image,
3435
+ defaultLayout: { w: 12, h: 12, minH: 1, minW: 1 },
3436
+ setSettings: (settings) => {
3437
+ pluginImage.globalWidgetSettings = settings.globalWidgetSettings;
3438
+ return pluginImage;
3439
+ },
3440
+ renderer: PluginImageRenderer
3441
+ };
3442
+ function PluginImageRenderer(props, _ref) {
3443
+ const {
3444
+ id,
3445
+ data: { alt, background, backgroundSettings, borderRadius, src, preserveAspectRatio },
3446
+ layout
3447
+ } = props;
3448
+ const rootNodeRef = React__default.useRef(null);
3449
+ useWidgetContext({
3450
+ id: props.id,
3451
+ elementRef: rootNodeRef
3452
+ });
3453
+ const handleUpdate = useBeforeLoad(props.onBeforeLoad);
3454
+ const currentLayout = layout.find(({ i }) => i === props.id) || {
3455
+ x: null,
3456
+ y: null,
3457
+ h: null,
3458
+ w: null
3459
+ };
3460
+ const { style } = usePreparedWrapSettings({
3461
+ ownWidgetSettings: {
3462
+ background,
3463
+ backgroundSettings,
3464
+ borderRadius
3465
+ },
3466
+ globalWidgetSettings: pluginImage.globalWidgetSettings ?? {},
3467
+ defaultOldColor: CustomPaletteBgColors.NONE
3468
+ });
3469
+ React__default.useEffect(() => {
3470
+ handleUpdate?.();
3471
+ }, [
3472
+ handleUpdate,
3473
+ currentLayout.x,
3474
+ currentLayout.y,
3475
+ currentLayout.h,
3476
+ currentLayout.w,
3477
+ preserveAspectRatio,
3478
+ style
3479
+ ]);
3480
+ return /* @__PURE__ */ jsx(RendererWrapper, { id, type: DashTabItemType.Image, nodeRef: rootNodeRef, style, children: /* @__PURE__ */ jsx(
3481
+ "img",
3482
+ {
3483
+ className: b$3({ "preserve-aspect-ratio": preserveAspectRatio }),
3484
+ alt,
3485
+ src
3486
+ }
3487
+ ) });
3488
+ }
3489
+ const b$2 = block("dashkit-plugin-text-container");
3490
+ const WIDGET_RESIZE_DEBOUNCE_TIMEOUT$1 = 100;
3491
+ const useWatchDomResizeObserver = ({
3492
+ domNodeGetter,
3493
+ onResize,
3494
+ enable = false
3495
+ }) => {
3496
+ const currentRectRef = React__default.useRef({ width: 0, height: 0 });
3497
+ const domElement = enable ? domNodeGetter() : null;
3498
+ const onResizeRef = React__default.useRef(onResize);
3499
+ onResizeRef.current = onResize;
3500
+ React__default.useEffect(() => {
3501
+ if (!domElement) {
3502
+ return;
3503
+ }
3504
+ const observer = new ResizeObserver((entries) => {
3505
+ if (!entries[0]) {
3506
+ return;
3507
+ }
3508
+ const { width, height } = entries[0].contentRect;
3509
+ const currentRect = currentRectRef.current;
3510
+ if (currentRect.height !== height || currentRect.width !== width) {
3511
+ currentRect.height = height;
3512
+ currentRect.width = width;
3513
+ onResizeRef.current();
3514
+ }
3515
+ });
3516
+ observer.observe(domElement);
3517
+ return () => {
3518
+ observer.disconnect();
3519
+ };
3520
+ }, [domElement, onResizeRef]);
3521
+ };
3522
+ const textPlugin = {
3523
+ ...pluginText,
3524
+ setSettings(settings) {
3525
+ const { apiHandler, globalWidgetSettings } = settings;
3526
+ pluginText._apiHandler = apiHandler;
3527
+ textPlugin.globalWidgetSettings = globalWidgetSettings;
3528
+ return textPlugin;
3529
+ },
3530
+ renderer: function Wrapper(props, forwardedRef) {
3531
+ const rootNodeRef = React__default.useRef(null);
3532
+ const [metaScripts, setMetaScripts] = React__default.useState();
3533
+ const [isPending, setIsPending] = React__default.useState(false);
3534
+ useWidgetContext({
3535
+ id: props.id,
3536
+ elementRef: rootNodeRef
3537
+ });
3538
+ const previousPendingState = usePrevious(isPending);
3539
+ const isPendingChanged = isPending !== previousPendingState;
3540
+ const handleUpdate = useBeforeLoad(props.onBeforeLoad);
3541
+ const YfmWrapperKeyRef = React__default.useRef(0);
3542
+ const layoutRef = React__default.useRef(props.layout);
3543
+ layoutRef.current = props.layout;
3544
+ const adjustLayout = React__default.useCallback(
3545
+ debounce((needSetDefault) => {
3546
+ adjustWidgetLayout({
3547
+ widgetId: props.id,
3548
+ needSetDefault,
3549
+ rootNode: rootNodeRef,
3550
+ gridLayout: props.gridLayout,
3551
+ layout: layoutRef.current,
3552
+ cb: (...args) => {
3553
+ return props.adjustWidgetLayout(...args);
3554
+ },
3555
+ mainNodeSelector: `.${YFM_MARKDOWN_CLASSNAME}.${b$2()}`,
3556
+ scrollableNodeSelector: `.${YFM_MARKDOWN_CLASSNAME} .${YFM_MARKDOWN_CLASSNAME}`
3557
+ });
3558
+ }, WIDGET_RESIZE_DEBOUNCE_TIMEOUT$1),
3559
+ [props.id, rootNodeRef, layoutRef, props.adjustWidgetLayout, props.gridLayout]
3560
+ );
3561
+ const handleTextRender = React__default.useCallback(() => {
3562
+ adjustLayout(!props.data.autoHeight);
3563
+ handleUpdate?.();
3564
+ }, [handleUpdate, adjustLayout, props.data.autoHeight]);
3565
+ const textHandler = React__default.useCallback(
3566
+ async (arg) => {
3567
+ setIsPending(true);
3568
+ const text = await pluginText._apiHandler(arg);
3569
+ const nextMetaScripts = get(text, "meta.script");
3570
+ setMetaScripts(nextMetaScripts);
3571
+ setIsPending(false);
3572
+ return text;
3573
+ },
3574
+ [setIsPending]
3575
+ );
3576
+ React__default.useEffect(() => {
3577
+ handleTextRender();
3578
+ }, [props.data.autoHeight]);
3579
+ useWatchDomResizeObserver({
3580
+ domNodeGetter: () => rootNodeRef.current?.querySelector(
3581
+ `.${YFM_MARKDOWN_CLASSNAME}.${b$2()} .${YFM_MARKDOWN_CLASSNAME}`
3582
+ ) || null,
3583
+ onResize: () => {
3584
+ adjustLayout(false);
3585
+ },
3586
+ enable: props.data.autoHeight
3587
+ });
3588
+ const content = /* @__PURE__ */ jsx(PluginText, { ...props, apiHandler: textHandler, ref: forwardedRef });
3589
+ const data = props.data;
3590
+ const { style, hasBgColor } = usePreparedWrapSettings({
3591
+ ownWidgetSettings: {
3592
+ background: data.background,
3593
+ backgroundSettings: data.backgroundSettings,
3594
+ borderRadius: data.borderRadius
3595
+ },
3596
+ globalWidgetSettings: textPlugin.globalWidgetSettings ?? {},
3597
+ defaultOldColor: CustomPaletteBgColors.NONE
3598
+ });
3599
+ const currentLayout = props.layout.find(({ i }) => i === props.id) || {
3600
+ x: null,
3601
+ y: null,
3602
+ h: null,
3603
+ w: null
3604
+ };
3605
+ React__default.useEffect(() => {
3606
+ if (isPendingChanged && !isPending) {
3607
+ handleTextRender();
3608
+ }
3609
+ }, [isPendingChanged, isPending, handleTextRender]);
3610
+ React__default.useEffect(() => {
3611
+ handleUpdate?.();
3612
+ }, [
3613
+ // Widget dimensions
3614
+ currentLayout.x,
3615
+ currentLayout.y,
3616
+ currentLayout.h,
3617
+ currentLayout.w,
3618
+ data.background?.color
3619
+ ]);
3620
+ React__default.useEffect(() => {
3621
+ YfmWrapperKeyRef.current += 1;
3622
+ }, [YfmWrapperKeyRef, data.text]);
3623
+ return /* @__PURE__ */ jsx(RendererWrapper, { id: props.id, type: "text", nodeRef: rootNodeRef, style, children: /* @__PURE__ */ jsx(
3624
+ YfmWrapper,
3625
+ {
3626
+ content: /* @__PURE__ */ jsx("div", { className: b$2("content-wrap", null), children: content }),
3627
+ className: b$2({ "with-color": Boolean(hasBgColor) }),
3628
+ metaScripts,
3629
+ onRenderCallback: handleTextRender
3630
+ },
3631
+ `yfm_${YfmWrapperKeyRef.current}`
3632
+ ) });
3633
+ }
3634
+ };
3635
+ const b$1 = block("dashkit-plugin-title-container");
3636
+ const AnchorLink = ({ to, show }) => {
3637
+ const location = useLocation();
3638
+ const hash = `#${encodeURIComponent(to)}`;
3639
+ const link = { ...location, hash };
3640
+ if (DL.IS_MOBILE || !show) {
3641
+ return null;
3642
+ }
3643
+ return /* @__PURE__ */ jsx(Link, { className: b$1("anchor"), to: link, children: "#" });
3644
+ };
3645
+ const HINT_SIZE = 16;
3646
+ const TITLE_WITH_BG_COLOR_PADDING_TOP = 5;
3647
+ const getFontStyleBySize = (size) => {
3648
+ if (typeof size === "object" && "fontSize" in size) {
3649
+ return {
3650
+ fontSize: size.fontSize + "px",
3651
+ lineHeight: RECCOMMENDED_LINE_HEIGHT_MULTIPLIER
3652
+ };
3653
+ }
3654
+ if (typeof size === "string") {
3655
+ return TITLE_DEFAULT_SIZES[size];
3656
+ }
3657
+ return {};
3658
+ };
3659
+ const getTopOffsetBySize = (size, showBgColor) => {
3660
+ const defaultPadding = showBgColor ? TITLE_WITH_BG_COLOR_PADDING_TOP : 0;
3661
+ if (typeof size === "string") {
3662
+ const fontStyles = TITLE_DEFAULT_SIZES[size];
3663
+ const lineHeight2 = fontStyles.lineHeight ? parseInt(fontStyles.lineHeight, 10) : parseInt(fontStyles.fontSize, 10) * RECCOMMENDED_LINE_HEIGHT_MULTIPLIER;
3664
+ return (lineHeight2 - HINT_SIZE) / 2 + defaultPadding;
3665
+ }
3666
+ const lineHeight = size.fontSize * RECCOMMENDED_LINE_HEIGHT_MULTIPLIER;
3667
+ return (lineHeight - HINT_SIZE) / 2 + defaultPadding;
3668
+ };
3669
+ const isTitleOverflowed = (element, extraElements) => {
3670
+ const originalWhiteSpace = element.style.whiteSpace;
3671
+ element.style.whiteSpace = "nowrap";
3672
+ const originalPosition = extraElements.style.position;
3673
+ extraElements.style.position = "static";
3674
+ const isOverflowed = element.scrollWidth > element.offsetWidth;
3675
+ element.style.whiteSpace = originalWhiteSpace;
3676
+ extraElements.style.position = originalPosition;
3677
+ return isOverflowed;
3678
+ };
3679
+ const getHelpIconSizeBySize = (size) => {
3680
+ const ICON_SIZE_MAP = [
3681
+ ["xl", 20],
3682
+ ["l", 18],
3683
+ ["m", 16],
3684
+ ["s", 14]
3685
+ ];
3686
+ if (typeof size === "string") {
3687
+ return size === DashTabItemTitleSizes.XS ? "s" : size;
3688
+ }
3689
+ const fontSize = size.fontSize;
3690
+ for (const [key, value] of ICON_SIZE_MAP) {
3691
+ if (fontSize >= value) {
3692
+ return key;
3693
+ }
3694
+ }
3695
+ return "m";
3696
+ };
3697
+ const b = block("dashkit-plugin-title-container");
3698
+ const WIDGET_RESIZE_DEBOUNCE_TIMEOUT = 100;
3699
+ const MIN_AVAILABLE_TOP_OFFSET = -5;
3700
+ const titlePlugin = {
3701
+ ...pluginTitle,
3702
+ setSettings(settings) {
3703
+ const { hideAnchor, hideHint, globalWidgetSettings } = settings;
3704
+ titlePlugin.hideAnchor = hideAnchor;
3705
+ titlePlugin.hideHint = hideHint;
3706
+ titlePlugin.globalWidgetSettings = globalWidgetSettings;
3707
+ return titlePlugin;
3708
+ },
3709
+ renderer: function PluginTitleRenderer(props, forwardedRef) {
3710
+ const rootNodeRef = React__default.useRef(null);
3711
+ const contentRef = React__default.useRef(null);
3712
+ const extraRef = React__default.useRef(null);
3713
+ useWidgetContext({
3714
+ id: props.id,
3715
+ elementRef: rootNodeRef
3716
+ });
3717
+ const [isInlineExtraElements, setIsInlineExtraElements] = React__default.useState(
3718
+ false
3719
+ );
3720
+ const [extraElementsTop, setExtraElementsTop] = React__default.useState(
3721
+ void 0
3722
+ );
3723
+ const data = props.data;
3724
+ const handleUpdate = useBeforeLoad(props.onBeforeLoad);
3725
+ const layoutRef = React__default.useRef(props.layout);
3726
+ layoutRef.current = props.layout;
3727
+ const adjustLayout = React__default.useCallback(
3728
+ debounce((needSetDefault) => {
3729
+ adjustWidgetLayout({
3730
+ widgetId: props.id,
3731
+ needSetDefault,
3732
+ rootNode: rootNodeRef,
3733
+ gridLayout: props.gridLayout,
3734
+ layout: layoutRef.current,
3735
+ // TODO: optimize call times in future
3736
+ cb: (...args) => {
3737
+ return props.adjustWidgetLayout(...args);
3738
+ },
3739
+ mainNodeSelector: `[${PLUGIN_ROOT_ATTR_NAME}="title"]`,
3740
+ scrollableNodeSelector: `.${b()}`,
3741
+ needHeightReset: true
3742
+ });
3743
+ }, WIDGET_RESIZE_DEBOUNCE_TIMEOUT),
3744
+ [props.id, props.adjustWidgetLayout, props.gridLayout]
3745
+ );
3746
+ React__default.useEffect(() => {
3747
+ adjustLayout(!data.autoHeight);
3748
+ }, [adjustLayout, data.autoHeight, props.data?.text, props.data?.size]);
3749
+ const content = /* @__PURE__ */ jsx(PluginTitle, { ...props, ref: forwardedRef });
3750
+ const showHint = Boolean(!titlePlugin.hideHint && data.hint?.enabled && data.hint.text);
3751
+ const showAnchor = !titlePlugin.hideAnchor && !DL.IS_MOBILE;
3752
+ const withInlineExtraElements = (showAnchor || showHint) && isInlineExtraElements;
3753
+ const withAbsoluteAnchor = showAnchor && !isInlineExtraElements;
3754
+ const withAbsoluteHint = showHint && !isInlineExtraElements;
3755
+ const { style, hasBgColor } = usePreparedWrapSettings({
3756
+ ownWidgetSettings: {
3757
+ background: data.background,
3758
+ backgroundSettings: data.backgroundSettings,
3759
+ borderRadius: data.borderRadius
3760
+ },
3761
+ globalWidgetSettings: titlePlugin.globalWidgetSettings ?? {},
3762
+ defaultOldColor: CustomPaletteBgColors.NONE
3763
+ });
3764
+ const textColorStyles = useTextColorStyles(data.textColor, data.textSettings?.color);
3765
+ const wrapperStyles = { ...style, ...textColorStyles };
3766
+ const currentLayout = props.layout.find(({ i }) => i === props.id) || {
3767
+ x: null,
3768
+ y: null,
3769
+ h: null,
3770
+ w: null
3771
+ };
3772
+ React__default.useEffect(() => {
3773
+ handleUpdate?.();
3774
+ }, [
3775
+ currentLayout.x,
3776
+ currentLayout.y,
3777
+ currentLayout.h,
3778
+ currentLayout.w,
3779
+ data.background,
3780
+ data.size,
3781
+ data.text
3782
+ ]);
3783
+ const calculateExtraElements = React__default.useCallback(() => {
3784
+ if (contentRef.current && rootNodeRef.current) {
3785
+ const contentRect = contentRef.current.getBoundingClientRect();
3786
+ const rootRect = rootNodeRef.current.getBoundingClientRect();
3787
+ const offsetTop = contentRect.top - rootRect.top;
3788
+ const titleElement = contentRef.current.children[0];
3789
+ const isWidthFits = titleElement instanceof HTMLDivElement && extraRef.current ? !isTitleOverflowed(contentRef.current, extraRef.current) : contentRect.width <= rootRect.width;
3790
+ const calculatedAnchorTop = offsetTop < MIN_AVAILABLE_TOP_OFFSET || isWidthFits ? 0 : offsetTop;
3791
+ setExtraElementsTop(calculatedAnchorTop);
3792
+ setIsInlineExtraElements(isWidthFits);
3793
+ }
3794
+ }, []);
3795
+ React__default.useLayoutEffect(() => {
3796
+ if (showAnchor || showHint) {
3797
+ calculateExtraElements();
3798
+ } else {
3799
+ setIsInlineExtraElements(false);
3800
+ }
3801
+ }, [
3802
+ currentLayout.x,
3803
+ currentLayout.h,
3804
+ currentLayout.w,
3805
+ data.text,
3806
+ data.size,
3807
+ calculateExtraElements,
3808
+ showAnchor,
3809
+ showHint
3810
+ ]);
3811
+ React__default.useEffect(() => {
3812
+ if (!showAnchor && !showHint) {
3813
+ return void 0;
3814
+ }
3815
+ const debouncedCalculateAnchor = debounce(
3816
+ calculateExtraElements,
3817
+ WIDGET_RESIZE_DEBOUNCE_TIMEOUT
3818
+ );
3819
+ window.addEventListener("resize", debouncedCalculateAnchor);
3820
+ return () => {
3821
+ window.removeEventListener("resize", debouncedCalculateAnchor);
3822
+ };
3823
+ }, [showAnchor, showHint]);
3824
+ const getStyles = () => {
3825
+ const fontStyles = getFontStyleBySize(data.size);
3826
+ if (isInlineExtraElements) {
3827
+ return fontStyles;
3828
+ }
3829
+ return {
3830
+ ...fontStyles,
3831
+ top: showAnchor ? extraElementsTop : getTopOffsetBySize(data.size, hasBgColor)
3832
+ };
3833
+ };
3834
+ return /* @__PURE__ */ jsx(RendererWrapper, { id: props.id, type: "title", nodeRef: rootNodeRef, style: wrapperStyles, children: /* @__PURE__ */ jsxs(
3835
+ "div",
3836
+ {
3837
+ className: b({
3838
+ "with-auto-height": Boolean(data.autoHeight),
3839
+ "with-color": Boolean(hasBgColor),
3840
+ "with-inline-extra-elements": Boolean(withInlineExtraElements),
3841
+ "with-absolute-anchor": withAbsoluteAnchor && !withAbsoluteHint,
3842
+ "with-absolute-hint": withAbsoluteHint && !withAbsoluteAnchor,
3843
+ "with-absolute-hint-and-anchor": withAbsoluteHint && withAbsoluteAnchor,
3844
+ absolute: !isInlineExtraElements,
3845
+ relative: !showAnchor
3846
+ }),
3847
+ ref: contentRef,
3848
+ children: [
3849
+ content,
3850
+ /* @__PURE__ */ jsxs(
3851
+ "div",
3852
+ {
3853
+ className: b("extra-elements-container", {
3854
+ absolute: !isInlineExtraElements
3855
+ }),
3856
+ style: getStyles(),
3857
+ ref: extraRef,
3858
+ ...{ [EXPORT_PRINT_HIDDEN_ATTR]: true },
3859
+ children: [
3860
+ showHint && /* @__PURE__ */ jsx(
3861
+ MarkdownHelpPopover,
3862
+ {
3863
+ iconSize: getHelpIconSizeBySize(data.size),
3864
+ markdown: data.hint?.text ?? "",
3865
+ className: b("hint"),
3866
+ popoverProps: {
3867
+ placement: "bottom"
3868
+ }
3869
+ }
3870
+ ),
3871
+ /* @__PURE__ */ jsx(AnchorLink, { to: data.text, show: showAnchor })
3872
+ ]
3873
+ }
3874
+ )
3875
+ ]
3876
+ }
3877
+ ) });
3878
+ }
3879
+ };
3880
+ const widgetPlugin = {
3881
+ type: "widget",
3882
+ defaultLayout: { w: 12, h: 12 },
3883
+ setSettings: (settings) => {
3884
+ widgetPlugin.scope = settings.scope;
3885
+ widgetPlugin.globalWidgetSettings = settings.globalWidgetSettings;
3886
+ return widgetPlugin;
3887
+ },
3888
+ renderer: function Wrapper2(props, forwardedRef) {
3889
+ const rootNodeRef = React__default.useRef(null);
3890
+ const { onWidgetLoadData } = useWidgetContext({
3891
+ id: props.id,
3892
+ elementRef: rootNodeRef
3893
+ });
3894
+ const workbookId = props.context.workbookId;
3895
+ const enableAssistant = props.context.enableAssistant;
3896
+ const propsBg = props.data.tabs?.[0]?.background;
3897
+ let oldWidgetBg = isOldBackgroundSettings(propsBg) ? propsBg : void 0;
3898
+ if (widgetPlugin.scope === "dash" && !props.data.backgroundSettings) {
3899
+ oldWidgetBg = { color: CustomPaletteBgColors.LIKE_CHART };
3900
+ }
3901
+ const { style } = usePreparedWrapSettings({
3902
+ ownWidgetSettings: {
3903
+ background: oldWidgetBg,
3904
+ backgroundSettings: props.backgroundSettings,
3905
+ borderRadius: props.borderRadius
3906
+ },
3907
+ globalWidgetSettings: widgetPlugin.globalWidgetSettings ?? {},
3908
+ defaultOldColor: widgetPlugin.scope === "dash" ? CustomPaletteBgColors.LIKE_CHART : CustomPaletteBgColors.NONE
3909
+ });
3910
+ return /* @__PURE__ */ jsx(RendererWrapper, { type: "widget", nodeRef: rootNodeRef, id: props.id, style, children: /* @__PURE__ */ jsx(
3911
+ ChartWrapper,
3912
+ {
3913
+ ...props,
3914
+ usageType: "widget",
3915
+ forwardedRef,
3916
+ getMarkdown: MarkdownProvider.getMarkdown,
3917
+ workbookId,
3918
+ enableAssistant,
3919
+ onWidgetLoadData,
3920
+ backgroundColor: style?.backgroundColor
3921
+ }
3922
+ ) });
3923
+ }
3924
+ };
3925
+ let isConfigured = false;
3926
+ const getDistinctsAction = () => {
3927
+ const fetchDistinctsByApi = registry.common.functions.get("fetchDistinctsByApi");
3928
+ return fetchDistinctsByApi;
3929
+ };
3930
+ let currentDefaultsGetter = null;
3931
+ const wrapPlugins = (plugins, pluginDefaultsGetter) => {
3932
+ return plugins.map((plugin2) => {
3933
+ return {
3934
+ ...plugin2,
3935
+ defaultLayout: pluginDefaultsGetter ? pluginDefaultsGetter(plugin2) : plugin2.defaultLayout
3936
+ };
3937
+ });
3938
+ };
3939
+ const getConfiguredDashKit = (pluginDefaultsGetter = null, options, shouldReconfigure) => {
3940
+ if (currentDefaultsGetter !== pluginDefaultsGetter || !isConfigured || shouldReconfigure) {
3941
+ const commonSettings = {
3942
+ scope: options?.scope,
3943
+ globalWidgetSettings: {
3944
+ background: options?.globalWidgetSettings?.background,
3945
+ backgroundSettings: options?.globalWidgetSettings?.backgroundSettings,
3946
+ borderRadius: options?.globalWidgetSettings?.borderRadius ?? OLD_DEFAULT_WIDGET_BORDER_RADIUS
3947
+ }
3948
+ };
3949
+ const titleSettings = {
3950
+ ...commonSettings,
3951
+ hideAnchor: options?.disableHashNavigation,
3952
+ hideHint: options?.disableTitleHints
3953
+ };
3954
+ const textSettings = {
3955
+ ...commonSettings,
3956
+ apiHandler: MarkdownProvider.getMarkdown
3957
+ };
3958
+ const controlSettings = {
3959
+ ...commonSettings,
3960
+ getDistincts: getDistinctsAction()
3961
+ };
3962
+ const plugins = wrapPlugins(
3963
+ [
3964
+ titlePlugin.setSettings(titleSettings),
3965
+ textPlugin.setSettings(textSettings),
3966
+ plugin$1.setSettings(controlSettings),
3967
+ plugin.setSettings(controlSettings),
3968
+ widgetPlugin.setSettings(commonSettings),
3969
+ pluginImage.setSettings(commonSettings)
3970
+ ],
3971
+ pluginDefaultsGetter
3972
+ );
3973
+ if (isConfigured) {
3974
+ DashKit.reloadPlugins(...plugins);
3975
+ } else {
3976
+ DashKit.registerPlugins(...plugins);
3977
+ }
3978
+ currentDefaultsGetter = pluginDefaultsGetter;
3979
+ }
3980
+ if (isConfigured) {
3981
+ return DashkitWrapper;
3982
+ }
3983
+ isConfigured = true;
3984
+ DashKit.setSettings({
3985
+ gridLayout: { margin: DEFAULT_DASH_MARGINS },
3986
+ theme: "datalens",
3987
+ isMobile: DL.IS_MOBILE,
3988
+ menu: getDashKitMenu()
3989
+ });
3990
+ return DashkitWrapper;
3991
+ };
3992
+ export {
3993
+ ControlButton as C,
3994
+ DEFAULT_CONTROL_LAYOUT as D,
3995
+ ExtendedDashKitContext as E,
3996
+ FIXED_GROUP_HEADER_ID as F,
3997
+ MAX_DASH_BORDER_RADIUS as M,
3998
+ OLD_DEFAULT_WIDGET_BORDER_RADIUS as O,
3999
+ WidgetContextProvider as W,
4000
+ FIXED_GROUP_CONTAINER_ID as a,
4001
+ DASH_BORDER_RADIUS_STEP as b,
4002
+ MIN_DASH_BORDER_RADIUS as c,
4003
+ isExternalControl as d,
4004
+ adjustWidgetLayout as e,
4005
+ DebugInfoTool as f,
4006
+ DASH_MARGIN_STEP as g,
4007
+ MAX_DASH_MARGIN as h,
4008
+ isWidgetTypeDoNotNeedOverlay as i,
4009
+ MIN_DASH_MARGIN as j,
4010
+ DEFAULT_DASH_MARGINS as k,
4011
+ getUrlGlobalParams as l,
4012
+ getDashEntryUrl as m,
4013
+ getNewDashUrl as n,
4014
+ ControlCheckbox as o,
4015
+ ControlRangeDatepicker as p,
4016
+ ControlDatepicker as q,
4017
+ ControlTextArea as r,
4018
+ ControlInput as s,
4019
+ ControlSelect as t,
4020
+ useBeforeLoad as u,
4021
+ isValidRequiredValue as v,
4022
+ MIN_AUTO_HEIGHT_PX as w,
4023
+ MIN_AUTO_HEIGHT_ROWS as x,
4024
+ getDashKitMenu as y,
4025
+ getConfiguredDashKit as z
4026
+ };