@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,4451 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import React__default, { Component } from "react";
3
+ import { TextInput, Icon, TabProvider, TabList, Tab, Button, MobileContext, Sheet, Popup, eventBroker, Loader } from "@gravity-ui/uikit";
4
+ import block from "bem-cn-lite";
5
+ import { debounce } from "lodash";
6
+ import Slider from "rc-slider";
7
+ import _range from "lodash/range";
8
+ import { l as I18n } from "./AccessRights.js";
9
+ import { DateTime, Interval } from "luxon";
10
+ import PropTypes from "prop-types";
11
+ import { F as FieldWrapper } from "./FieldWrapper.js";
12
+ import throttle from "lodash/throttle";
13
+ import _repeat from "lodash/repeat";
14
+ import { ChevronRight, ArrowUpRightFromSquare, Check, ChevronDown } from "@gravity-ui/icons";
15
+ import debounce$1 from "lodash/debounce";
16
+ import _filter from "lodash/filter";
17
+ import _flatMap from "lodash/flatMap";
18
+ import isEqual from "lodash/isEqual";
19
+ import isUndefined from "lodash/isUndefined";
20
+ import _max from "lodash/max";
21
+ import uniq from "lodash/uniq";
22
+ import _uniqBy from "lodash/uniqBy";
23
+ import AutoSizer from "react-virtualized-auto-sizer";
24
+ import { VariableSizeList } from "react-window";
25
+ import md5 from "blueimp-md5";
26
+ const LEFT_INFO_POINT_STYLE = {
27
+ position: "static",
28
+ marginLeft: 0,
29
+ display: "flex",
30
+ verticalAlign: "none"
31
+ };
32
+ const RIGHT_INFO_POINT_STYLE = {
33
+ position: "static",
34
+ marginLeft: 0,
35
+ display: "flex",
36
+ verticalAlign: "none",
37
+ flexDirection: "row-reverse"
38
+ };
39
+ const prepareAvailableValues = (availableValues) => {
40
+ if (!availableValues || !availableValues.length) {
41
+ return void 0;
42
+ }
43
+ return [...availableValues].sort((v1, v2) => v1 - v2);
44
+ };
45
+ const prepareValue = ({
46
+ value = 0,
47
+ min = 0,
48
+ max = 100
49
+ }) => {
50
+ if (value > max) {
51
+ return max;
52
+ }
53
+ if (value < min) {
54
+ return min;
55
+ }
56
+ return value;
57
+ };
58
+ const getInfoPoints = ({
59
+ infoPointsCount,
60
+ min,
61
+ max,
62
+ values
63
+ }) => {
64
+ let mapInfoPoints;
65
+ if (values && infoPointsCount >= values.length) {
66
+ return values;
67
+ }
68
+ if (infoPointsCount < 1) {
69
+ return [];
70
+ }
71
+ if (infoPointsCount === 1) {
72
+ return [min];
73
+ }
74
+ if (!values || !values.length) {
75
+ const step = Math.abs(max - min) / (infoPointsCount - 1);
76
+ mapInfoPoints = (el) => Math.round((min + step * el) * 100) / 100;
77
+ } else {
78
+ const step = values.length / infoPointsCount;
79
+ mapInfoPoints = (el, i, arr) => {
80
+ let index = Math.ceil(el * step);
81
+ if (i === arr.length - 1) {
82
+ index = values.length - 1;
83
+ }
84
+ return values[index];
85
+ };
86
+ }
87
+ return _range(0, infoPointsCount).map(mapInfoPoints);
88
+ };
89
+ const getParsedValue = (textValue, parse) => {
90
+ return parse ? parse(textValue) : parseFloat(textValue);
91
+ };
92
+ const getTextValue = (value, format) => {
93
+ return format ? format(value) : value.toString();
94
+ };
95
+ const getClosestValue = (value, values) => {
96
+ if (!values || !values.length) {
97
+ return value;
98
+ }
99
+ let low = 0;
100
+ let hi = values.length - 1;
101
+ while (hi - low > 1) {
102
+ const mid = Math.floor((low + hi) / 2);
103
+ if (values[mid] < value) {
104
+ low = mid;
105
+ } else {
106
+ hi = mid;
107
+ }
108
+ }
109
+ const left = values[low];
110
+ const right = values[hi];
111
+ return value - left <= right - value ? left : right;
112
+ };
113
+ const b$d = block("dl-range-input-picker");
114
+ const _RangeInputPicker = class _RangeInputPicker extends Component {
115
+ constructor(props) {
116
+ super(props);
117
+ this.wrapperRef = React__default.createRef();
118
+ this.sliderRef = React__default.createRef();
119
+ this.textInputInnerRef = React__default.createRef();
120
+ this.callOnUpdate = () => {
121
+ const { onUpdate } = this.props;
122
+ const { currentValue } = this.state;
123
+ if (onUpdate) {
124
+ onUpdate(currentValue);
125
+ }
126
+ };
127
+ this.prepareChange = (textValue) => {
128
+ const { parse } = this.props;
129
+ const { values, min, max, currentValue } = this.state;
130
+ let value = getParsedValue(textValue, parse);
131
+ if (isNaN(value)) {
132
+ value = currentValue;
133
+ }
134
+ let actualValue = prepareValue({ value, min, max });
135
+ if (values && values.length) {
136
+ actualValue = getClosestValue(actualValue, values);
137
+ }
138
+ return actualValue;
139
+ };
140
+ this.handleOnAfterUpdate = () => {
141
+ const { onAfterUpdate } = this.props;
142
+ const { currentValue } = this.state;
143
+ if (onAfterUpdate) {
144
+ onAfterUpdate(currentValue);
145
+ }
146
+ };
147
+ this.handleInputBlur = (event) => {
148
+ event.preventDefault();
149
+ const { onBlur } = this.props;
150
+ const { textValue } = this.state;
151
+ const actualValue = this.prepareChange(textValue);
152
+ this.setState(
153
+ {
154
+ focused: false,
155
+ currentValue: actualValue,
156
+ textValue: _RangeInputPicker.getDisplayTextValue(this.props, actualValue)
157
+ },
158
+ () => {
159
+ if (onBlur) {
160
+ onBlur(actualValue);
161
+ }
162
+ }
163
+ );
164
+ };
165
+ this.handleInputFocus = () => {
166
+ const { format, onFocus } = this.props;
167
+ const { currentValue } = this.state;
168
+ this.setState(
169
+ {
170
+ textValue: getTextValue(currentValue, format)
171
+ },
172
+ () => {
173
+ if (onFocus) {
174
+ onFocus(currentValue);
175
+ }
176
+ }
177
+ );
178
+ };
179
+ this.handleInputUpdate = (newValue) => {
180
+ if (this.patternRegex && !this.patternRegex.test(newValue)) {
181
+ return;
182
+ }
183
+ const actualValue = this.prepareChange(newValue);
184
+ this.setState(
185
+ {
186
+ currentValue: actualValue,
187
+ textValue: newValue
188
+ },
189
+ this.debouncedCallOnUpdate
190
+ );
191
+ };
192
+ this.handleKeyDown = (event) => {
193
+ if (event.key !== "Enter") {
194
+ return;
195
+ }
196
+ const { format, onSubmit } = this.props;
197
+ const { textValue } = this.state;
198
+ const actualValue = this.prepareChange(textValue);
199
+ this.setState(
200
+ {
201
+ currentValue: actualValue,
202
+ textValue: getTextValue(actualValue, format),
203
+ focused: false
204
+ },
205
+ () => {
206
+ if (this.textInputInnerRef.current) {
207
+ this.textInputInnerRef.current.blur();
208
+ }
209
+ if (onSubmit) {
210
+ onSubmit(actualValue);
211
+ }
212
+ }
213
+ );
214
+ };
215
+ this.handleSliderChange = (sliderValue) => {
216
+ const { min, max, values } = this.state;
217
+ const nextValue = Array.isArray(sliderValue) ? sliderValue[0] : sliderValue;
218
+ const value = getClosestValue(prepareValue({ min, max, value: nextValue }), values);
219
+ this.setState(
220
+ {
221
+ currentValue: value,
222
+ textValue: _RangeInputPicker.getDisplayTextValue(this.props, value)
223
+ },
224
+ this.debouncedCallOnUpdate
225
+ );
226
+ };
227
+ this.handleWrapperClick = (event) => {
228
+ const slider = this.sliderRef.current && this.sliderRef.current.sliderRef;
229
+ const isSliderContainsTarget = slider && slider.contains(event.target);
230
+ if (!isSliderContainsTarget) {
231
+ this.setState({ focused: true });
232
+ }
233
+ };
234
+ this.handleInfoPointClick = (value) => {
235
+ return (event) => {
236
+ const { format, parse } = this.props;
237
+ event.preventDefault();
238
+ const val = getParsedValue(getTextValue(value, format), parse);
239
+ this.setState(
240
+ {
241
+ currentValue: val,
242
+ textValue: _RangeInputPicker.getDisplayTextValue(this.props, val)
243
+ },
244
+ () => {
245
+ const { onUpdate, onAfterUpdate } = this.props;
246
+ if (onUpdate) {
247
+ onUpdate(val);
248
+ }
249
+ if (onAfterUpdate) {
250
+ onAfterUpdate(val);
251
+ }
252
+ }
253
+ );
254
+ };
255
+ };
256
+ this.handleOutsideClick = (event) => {
257
+ const { onOutsideClick } = this.props;
258
+ const { currentValue, focused } = this.state;
259
+ const wrapper = this.wrapperRef.current;
260
+ if (!onOutsideClick || !wrapper) {
261
+ return;
262
+ }
263
+ if (!wrapper.contains(event.target) && focused) {
264
+ this.setState(
265
+ {
266
+ focused: false
267
+ },
268
+ () => {
269
+ if (onOutsideClick) {
270
+ onOutsideClick(currentValue);
271
+ }
272
+ }
273
+ );
274
+ }
275
+ };
276
+ this.renderItem = (value) => _RangeInputPicker.getDisplayTextValue(this.props, value);
277
+ this.renderRangeItem = (value) => /* @__PURE__ */ jsx(
278
+ "span",
279
+ {
280
+ className: b$d("range-info-item"),
281
+ onClick: this.handleInfoPointClick(value),
282
+ children: _RangeInputPicker.getDisplayTextValue(this.props, value)
283
+ },
284
+ value
285
+ );
286
+ this.renderRangeInfoItems = () => {
287
+ const { infoPointsCount = 2, minValue = 0, maxValue = 100 } = this.props;
288
+ const { values } = this.state;
289
+ if (infoPointsCount < 1) {
290
+ return [];
291
+ }
292
+ let infoItems = [];
293
+ if (infoPointsCount === 1) {
294
+ infoItems.push(minValue);
295
+ } else if (!values || !values.length) {
296
+ const step = Math.abs(maxValue - minValue) / (infoPointsCount - 1);
297
+ for (let i = 0; i < infoPointsCount; i++) {
298
+ const point = Math.round((minValue + step * i) * 100) / 100;
299
+ infoItems.push(point);
300
+ }
301
+ } else {
302
+ infoItems = values;
303
+ }
304
+ const pointsCount = infoItems.length;
305
+ const unit = 100 / (pointsCount - 1);
306
+ const pointWidth = unit * 0.9;
307
+ const pointsRange = maxValue - minValue;
308
+ return infoItems.map((point, i) => {
309
+ const style = {
310
+ width: pointWidth + "%",
311
+ marginLeft: -pointWidth / 2 + "%",
312
+ left: (point - minValue) / pointsRange * 100 + "%"
313
+ };
314
+ if (i === 0) {
315
+ Object.assign(style, LEFT_INFO_POINT_STYLE);
316
+ } else if (i === infoItems.length - 1) {
317
+ Object.assign(style, RIGHT_INFO_POINT_STYLE);
318
+ }
319
+ return /* @__PURE__ */ jsx("span", { className: b$d("range-info-item-container"), style, children: this.renderRangeItem(point) }, point);
320
+ });
321
+ };
322
+ this.renderInfoItems = () => {
323
+ const { infoPointsCount = 2 } = this.props;
324
+ const { values, min, max } = this.state;
325
+ const points = getInfoPoints({ infoPointsCount, min, max, values });
326
+ const infoItems = points.reduce(
327
+ (acc, point) => {
328
+ acc[point] = { label: this.renderItem(point), style: {} };
329
+ return acc;
330
+ },
331
+ {}
332
+ );
333
+ if (infoItems[min]) {
334
+ infoItems[min].style = LEFT_INFO_POINT_STYLE;
335
+ }
336
+ if (infoItems[max]) {
337
+ infoItems[max].style = RIGHT_INFO_POINT_STYLE;
338
+ }
339
+ return infoItems;
340
+ };
341
+ this.debouncedCallOnUpdate = debounce(this.callOnUpdate, props.debounceDelay);
342
+ this.debouncedHandleOnAfterUpdate = debounce(this.handleOnAfterUpdate, props.debounceDelay);
343
+ this.state = _RangeInputPicker.getPreparedState(props);
344
+ }
345
+ static getDisplayTextValue(props, value) {
346
+ const { displayFormat, format } = props;
347
+ const formatFunc = displayFormat || format || String;
348
+ return formatFunc(value);
349
+ }
350
+ static getPreparedState(props, currentState) {
351
+ const { availableValues, value, minValue = 0, maxValue = 100 } = props;
352
+ const { focused = false, textValue = "" } = currentState || {};
353
+ const values = prepareAvailableValues(availableValues);
354
+ const min = values ? values[0] : minValue;
355
+ const max = values ? values[values.length - 1] : maxValue;
356
+ const actualValue = prepareValue({ value, min, max });
357
+ return {
358
+ prevProps: props,
359
+ textValue: focused ? textValue : _RangeInputPicker.getDisplayTextValue(props, value),
360
+ currentValue: actualValue,
361
+ min,
362
+ max,
363
+ values,
364
+ focused
365
+ };
366
+ }
367
+ static getDerivedStateFromProps(nextProps, state) {
368
+ if (nextProps === state.prevProps) {
369
+ return null;
370
+ }
371
+ return _RangeInputPicker.getPreparedState(nextProps, state);
372
+ }
373
+ componentDidMount() {
374
+ const { onOutsideClick } = this.props;
375
+ if (onOutsideClick) {
376
+ document.addEventListener("touchstart", this.handleOutsideClick);
377
+ document.addEventListener("mousedown", this.handleOutsideClick);
378
+ }
379
+ }
380
+ componentWillUnmount() {
381
+ this.debouncedCallOnUpdate.cancel();
382
+ this.debouncedHandleOnAfterUpdate.cancel();
383
+ document.removeEventListener("touchstart", this.handleOutsideClick);
384
+ document.removeEventListener("mousedown", this.handleOutsideClick);
385
+ }
386
+ render() {
387
+ const { placeholder, autoFocus, disabled, readOnly, size, pattern, className } = this.props;
388
+ const { currentValue, textValue, min, max, values } = this.state;
389
+ let rangeInfoItems;
390
+ let rcSliderInfoItems;
391
+ if (!values || !values.length) {
392
+ rangeInfoItems = this.renderRangeInfoItems();
393
+ } else {
394
+ rcSliderInfoItems = this.renderInfoItems();
395
+ }
396
+ return /* @__PURE__ */ jsxs(
397
+ "div",
398
+ {
399
+ ref: this.wrapperRef,
400
+ className: b$d({ size }, className),
401
+ tabIndex: 0,
402
+ onKeyDown: this.handleKeyDown,
403
+ onMouseDown: this.handleWrapperClick,
404
+ children: [
405
+ /* @__PURE__ */ jsx(
406
+ TextInput,
407
+ {
408
+ controlRef: this.textInputInnerRef,
409
+ placeholder,
410
+ size,
411
+ disabled,
412
+ onUpdate: this.handleInputUpdate,
413
+ onFocus: this.handleInputFocus,
414
+ onBlur: this.handleInputBlur,
415
+ value: textValue,
416
+ autoFocus,
417
+ controlProps: { readOnly, pattern }
418
+ }
419
+ ),
420
+ /* @__PURE__ */ jsx(
421
+ Slider,
422
+ {
423
+ ref: this.sliderRef,
424
+ tabIndex: 0,
425
+ min,
426
+ max,
427
+ value: currentValue,
428
+ disabled,
429
+ onChange: this.handleSliderChange,
430
+ step: this.step,
431
+ marks: rcSliderInfoItems,
432
+ onAfterChange: this.debouncedHandleOnAfterUpdate
433
+ }
434
+ ),
435
+ rangeInfoItems && /* @__PURE__ */ jsx("div", { className: b$d("range-info-items-list"), children: rangeInfoItems })
436
+ ]
437
+ }
438
+ );
439
+ }
440
+ get patternRegex() {
441
+ const { pattern } = this.props;
442
+ if (!pattern) {
443
+ return null;
444
+ }
445
+ return new RegExp(`^(?:${pattern})$`);
446
+ }
447
+ get step() {
448
+ const { step } = this.props;
449
+ const { values } = this.state;
450
+ return !values || !values.length ? step : void 0;
451
+ }
452
+ };
453
+ _RangeInputPicker.defaultProps = {
454
+ size: "m",
455
+ placeholder: "",
456
+ value: 0,
457
+ minValue: 0,
458
+ maxValue: 100,
459
+ debounceDelay: 200,
460
+ disabled: false,
461
+ readOnly: false,
462
+ autoFocus: false,
463
+ infoPointsCount: 2,
464
+ step: 1
465
+ };
466
+ let RangeInputPicker = _RangeInputPicker;
467
+ const i18n$5 = I18n.keyset("components.common.Datepicker");
468
+ const MINUTES_IN_HOUR = 60;
469
+ const AVAILABLE_POPUP_PLACEMENT = ["bottom-start", "bottom-end", "top-start", "top-end"];
470
+ const WEEKDAYS = {
471
+ MONDAY: 1,
472
+ THURSDAY: 4,
473
+ SATURDAY: 6,
474
+ SUNDAY: 7
475
+ };
476
+ const MONTHS = {
477
+ JANUARY: 1,
478
+ DECEMBER: 12
479
+ };
480
+ const TABS = {
481
+ DAY: "day",
482
+ WEEK: "week",
483
+ MONTH: "month",
484
+ QUARTER: "quarter",
485
+ YEAR: "year"
486
+ };
487
+ const DISPLAY_FORMAT = {
488
+ DATE: "dd.MM.yyyy",
489
+ DATETIME: "dd.MM.yyyy HH:mm:ss"
490
+ };
491
+ const OUTPUT_FORMAT = {
492
+ DATE: "date",
493
+ DATETIME: "datetime"
494
+ };
495
+ function getTabs() {
496
+ return [TABS.DAY, TABS.WEEK, TABS.MONTH, TABS.QUARTER, TABS.YEAR].map((tab) => ({
497
+ id: tab,
498
+ title: i18n$5(`tab_${tab}`)
499
+ }));
500
+ }
501
+ const i18n$4 = I18n.keyset("components.common.Datepicker");
502
+ const b$c = block("dl-datepicker-month");
503
+ const CELLS$2 = {
504
+ DAY: "day",
505
+ TITLE: "title"
506
+ };
507
+ const isDatesEqual = (d1, d2) => {
508
+ if (!d1 || !d2) {
509
+ return false;
510
+ }
511
+ return d1.hasSame(d2, "day") && d1.hasSame(d2, "month") && d1.hasSame(d2, "year");
512
+ };
513
+ class Month extends React__default.Component {
514
+ static propTypes = {
515
+ month: PropTypes.number.isRequired,
516
+ year: PropTypes.number.isRequired,
517
+ from: PropTypes.object,
518
+ to: PropTypes.object,
519
+ min: PropTypes.object,
520
+ max: PropTypes.object,
521
+ selectedInterval: PropTypes.object,
522
+ hovered: PropTypes.object,
523
+ zone: PropTypes.string,
524
+ isDefaultFrom: PropTypes.bool,
525
+ isNeedScroll: PropTypes.bool,
526
+ onDateClick: PropTypes.func,
527
+ onRangeDateClick: PropTypes.func
528
+ };
529
+ scrollRef = React__default.createRef();
530
+ firstMonthDate = DateTime.fromObject({
531
+ year: this.props.year,
532
+ month: this.props.month,
533
+ day: 1,
534
+ zone: this.props.zone
535
+ });
536
+ todayDateTime = DateTime.fromObject({ zone: this.props.zone });
537
+ titleCells = this.firstMonthDate.weekday < WEEKDAYS.THURSDAY ? WEEKDAYS.SUNDAY : this.firstMonthDate.weekday - 1;
538
+ isMonthIncludeToday = this.todayDateTime >= this.firstMonthDate && this.todayDateTime <= this.firstMonthDate.endOf("month");
539
+ getOnDateClick = ({ start, end }) => {
540
+ const { onDateClick, onRangeDateClick } = this.props;
541
+ if (onRangeDateClick) {
542
+ return () => onRangeDateClick({ start, end });
543
+ }
544
+ return () => onDateClick({ dateTime: start });
545
+ };
546
+ renderTitleCell = ({ titleCell, month, year }) => {
547
+ const { min, max } = this.props;
548
+ const startMonth = this.firstMonthDate;
549
+ const endMonth = this.firstMonthDate.set({ day: startMonth.daysInMonth });
550
+ const disabled = min && endMonth < min || max && startMonth > max;
551
+ let title = titleCell === 0 ? i18n$4(`month_long_${month}`) : null;
552
+ if (title && [MONTHS.DECEMBER, MONTHS.JANUARY].includes(month)) {
553
+ title += ` ${year}`;
554
+ }
555
+ return /* @__PURE__ */ React__default.createElement("div", { key: `title-${titleCell}-${month}-${year}`, className: b$c(CELLS$2.TITLE, { disabled }) }, title);
556
+ };
557
+ renderEmptyCell = ({ emptyCell, month, year }) => {
558
+ return /* @__PURE__ */ React__default.createElement("div", { key: `empty-${emptyCell}-${month}-${year}` });
559
+ };
560
+ // eslint-disable-next-line complexity
561
+ getMods = ({ currentDateTime, mergedIntervals, flags }) => {
562
+ const { min, max, selectedInterval, hovered, isDefaultFrom, onRangeDateClick } = this.props;
563
+ let isToday = false;
564
+ let isSelected = false;
565
+ if (this.isMonthIncludeToday && !flags.hasToday) {
566
+ isToday = isDatesEqual(currentDateTime, this.todayDateTime);
567
+ if (isToday) {
568
+ flags.hasToday = true;
569
+ }
570
+ }
571
+ if (hovered && onRangeDateClick) {
572
+ isSelected = selectedInterval.contains(currentDateTime) || hovered.contains(currentDateTime);
573
+ } else if (hovered) {
574
+ isSelected = mergedIntervals ? mergedIntervals.contains(currentDateTime) : hovered.contains(currentDateTime);
575
+ } else {
576
+ isSelected = selectedInterval.contains(currentDateTime) && !isDefaultFrom;
577
+ }
578
+ const disabled = min && currentDateTime < min || max && currentDateTime > max;
579
+ const isMonday = currentDateTime.weekday === WEEKDAYS.MONDAY;
580
+ const isSunday = currentDateTime.weekday === WEEKDAYS.SUNDAY;
581
+ const isFirsDay = currentDateTime.day === 1;
582
+ const isLastDay = currentDateTime.day === currentDateTime.daysInMonth;
583
+ const mods = {
584
+ disabled,
585
+ weekend: currentDateTime.weekday >= WEEKDAYS.SATURDAY,
586
+ today: isToday,
587
+ selected: isSelected,
588
+ "left-edge": isMonday || isFirsDay,
589
+ "right-edge": isSunday || isLastDay
590
+ };
591
+ return mods;
592
+ };
593
+ renderDayCell = ({ day, month, year, mergedIntervals }) => {
594
+ const { hovered, onRangeDateClick } = this.props;
595
+ const flags = {
596
+ hasToday: false
597
+ };
598
+ const currentDateTime = this.firstMonthDate.set({ day });
599
+ const mods = this.getMods({ currentDateTime, mergedIntervals, flags });
600
+ let start = currentDateTime;
601
+ let end;
602
+ if (hovered && onRangeDateClick) {
603
+ [start, end] = [hovered.start, hovered.end];
604
+ }
605
+ return /* @__PURE__ */ React__default.createElement(
606
+ "div",
607
+ {
608
+ key: `${day}-${month}-${year}`,
609
+ className: b$c(CELLS$2.DAY, mods),
610
+ date: currentDateTime.toISODate(),
611
+ ...!mods.disabled && { onClick: this.getOnDateClick({ start, end }) }
612
+ },
613
+ day
614
+ );
615
+ };
616
+ renderMonth = () => {
617
+ const { month, year, selectedInterval, hovered, onRangeDateClick } = this.props;
618
+ const emptyCells = this.titleCells === WEEKDAYS.SUNDAY ? this.firstMonthDate.weekday - 1 : 0;
619
+ const mergedIntervals = !onRangeDateClick && selectedInterval && hovered && selectedInterval.union(hovered);
620
+ return _range(this.titleCells).map((titleCell) => this.renderTitleCell({ titleCell, month, year })).concat(
621
+ _range(emptyCells).map(
622
+ (emptyCell) => this.renderEmptyCell({ emptyCell, month, year })
623
+ )
624
+ ).concat(
625
+ _range(1, this.firstMonthDate.daysInMonth + 1).map(
626
+ (day) => this.renderDayCell({ day, month, year, mergedIntervals })
627
+ )
628
+ );
629
+ };
630
+ render() {
631
+ const { isNeedScroll } = this.props;
632
+ return /* @__PURE__ */ React__default.createElement(
633
+ "div",
634
+ {
635
+ ...isNeedScroll && { ref: this.scrollRef },
636
+ style: {
637
+ gridTemplateAreas: `"${_repeat("title ", this.titleCells)}"`
638
+ },
639
+ className: b$c(),
640
+ year: this.firstMonthDate.year,
641
+ month: this.firstMonthDate.month
642
+ },
643
+ this.renderMonth()
644
+ );
645
+ }
646
+ }
647
+ const i18n$3 = I18n.keyset("components.common.Datepicker");
648
+ const b$b = block("dl-datepicker-months");
649
+ const CELLS_COUNT$1 = 17;
650
+ const EMPTY_CELLS = [5, 9, 13];
651
+ const CELLS$1 = {
652
+ MONTH: "month",
653
+ TITLE: "title"
654
+ };
655
+ const COLUMNS$2 = {
656
+ LEFT: 1,
657
+ RIGHT: 3
658
+ };
659
+ class Months extends React__default.PureComponent {
660
+ static propTypes = {
661
+ year: PropTypes.number.isRequired,
662
+ from: PropTypes.object,
663
+ to: PropTypes.object,
664
+ min: PropTypes.object,
665
+ max: PropTypes.object,
666
+ selectedInterval: PropTypes.object,
667
+ hovered: PropTypes.object,
668
+ zone: PropTypes.string,
669
+ isNeedScroll: PropTypes.bool,
670
+ onRangeDateClick: PropTypes.func
671
+ };
672
+ scrollRef = React__default.createRef();
673
+ dateTime = DateTime.fromObject({
674
+ year: this.props.year,
675
+ month: 1,
676
+ day: 1,
677
+ zone: this.props.zone
678
+ });
679
+ todayDateTime = DateTime.fromObject({ zone: this.props.zone });
680
+ getOnRangeDateClick = ({ start, end, isAllRangePicked }) => {
681
+ return () => this.props.onRangeDateClick({ start, end, isAllRangePicked });
682
+ };
683
+ renderMonthes() {
684
+ const { from, to, min, max, selectedInterval, hovered } = this.props;
685
+ let currentMonth = 0;
686
+ let currentColumn = 0;
687
+ return _range(1, CELLS_COUNT$1).map((cell) => {
688
+ const isTitle = cell === 1;
689
+ const isEmpty = EMPTY_CELLS.includes(cell);
690
+ if (isTitle || isEmpty) {
691
+ const startYear = this.dateTime;
692
+ let endYear = this.dateTime.set({ month: MONTHS.DECEMBER });
693
+ endYear = endYear.set({ day: endYear.daysInMonth });
694
+ const disabled2 = min && endYear < min || max && startYear > max;
695
+ return /* @__PURE__ */ React__default.createElement(
696
+ "div",
697
+ {
698
+ key: `title-${cell}-${this.dateTime.year}`,
699
+ ...isTitle && { className: b$b(CELLS$1.TITLE, { disabled: disabled2 }) },
700
+ ...isTitle && {
701
+ onClick: this.getOnRangeDateClick({
702
+ start: this.dateTime,
703
+ end: this.dateTime.set({ month: 12, day: 31 }),
704
+ isAllRangePicked: true
705
+ })
706
+ }
707
+ },
708
+ isTitle && this.dateTime.year
709
+ );
710
+ }
711
+ currentMonth += 1;
712
+ currentColumn += 1;
713
+ if (currentColumn > COLUMNS$2.RIGHT) {
714
+ currentColumn = COLUMNS$2.LEFT;
715
+ }
716
+ const startMonth = this.dateTime.set({
717
+ day: 1,
718
+ month: currentMonth
719
+ });
720
+ const endMonth = this.dateTime.set({
721
+ day: startMonth.daysInMonth,
722
+ month: currentMonth
723
+ }).endOf("month");
724
+ const disabled = min && endMonth < min || max && startMonth > max;
725
+ const monthInterval = Interval.fromDateTimes(startMonth, endMonth);
726
+ const isContainsFrom = from && monthInterval.contains(from);
727
+ const isContainsTo = to && monthInterval.end >= to;
728
+ const isSelected = Boolean(
729
+ selectedInterval && selectedInterval.intersection(monthInterval)
730
+ );
731
+ const isHovered = Boolean(hovered && hovered.intersection(monthInterval));
732
+ const isContainsHoverStart = isHovered && monthInterval.contains(hovered.start);
733
+ const isContainsHoverEnd = isHovered && monthInterval.end >= hovered.end;
734
+ const mods = {
735
+ disabled,
736
+ today: monthInterval.contains(this.todayDateTime),
737
+ selected: isSelected || isHovered
738
+ };
739
+ if (isHovered) {
740
+ mods["left-edge"] = currentColumn === COLUMNS$2.LEFT || isContainsHoverStart;
741
+ mods["right-edge"] = currentColumn === COLUMNS$2.RIGHT || isContainsHoverEnd;
742
+ } else {
743
+ mods["left-edge"] = currentColumn === COLUMNS$2.LEFT || isContainsFrom;
744
+ mods["right-edge"] = currentColumn === COLUMNS$2.RIGHT || isContainsTo;
745
+ }
746
+ return /* @__PURE__ */ React__default.createElement(
747
+ "div",
748
+ {
749
+ key: `${cell}-${this.dateTime.year}`,
750
+ className: b$b(CELLS$1.MONTH, mods),
751
+ range: `${startMonth.toISODate()}/${endMonth.toISODate()}`,
752
+ ...!disabled && {
753
+ onClick: this.getOnRangeDateClick({
754
+ start: startMonth,
755
+ end: endMonth
756
+ })
757
+ }
758
+ },
759
+ i18n$3(`month_short_${currentMonth}`)
760
+ );
761
+ });
762
+ }
763
+ render() {
764
+ const { isNeedScroll } = this.props;
765
+ return /* @__PURE__ */ React__default.createElement("div", { ...isNeedScroll && { ref: this.scrollRef }, className: b$b() }, this.renderMonthes());
766
+ }
767
+ }
768
+ const b$a = block("dl-datepicker-quarters");
769
+ const CELLS_COUNT = 5;
770
+ const CELLS = {
771
+ QUARTER: "quarter",
772
+ TITLE: "title"
773
+ };
774
+ const COLUMNS$1 = {
775
+ LEFT: 1,
776
+ RIGHT: 4
777
+ };
778
+ class Quarters extends React__default.PureComponent {
779
+ static propTypes = {
780
+ year: PropTypes.number.isRequired,
781
+ from: PropTypes.object,
782
+ to: PropTypes.object,
783
+ min: PropTypes.object,
784
+ max: PropTypes.object,
785
+ selectedInterval: PropTypes.object,
786
+ hovered: PropTypes.object,
787
+ zone: PropTypes.string,
788
+ isNeedScroll: PropTypes.bool,
789
+ onRangeDateClick: PropTypes.func
790
+ };
791
+ scrollRef = React__default.createRef();
792
+ dateTime = DateTime.fromObject({
793
+ year: this.props.year,
794
+ month: 1,
795
+ day: 1,
796
+ zone: this.props.zone
797
+ });
798
+ todayDateTime = DateTime.fromObject({ zone: this.props.zone });
799
+ getOnRangeDateClick = ({ start, end }) => {
800
+ return () => this.props.onRangeDateClick({ start, end });
801
+ };
802
+ renderQuarter() {
803
+ const { from, to, min, max, selectedInterval, hovered } = this.props;
804
+ return _range(0, CELLS_COUNT).map((cell) => {
805
+ if (cell === 0) {
806
+ const startYear = this.dateTime;
807
+ let endYear = this.dateTime.set({ month: MONTHS.DECEMBER });
808
+ endYear = endYear.set({ day: endYear.daysInMonth });
809
+ const disabled2 = min && endYear < min || max && startYear > max;
810
+ return /* @__PURE__ */ React__default.createElement(
811
+ "div",
812
+ {
813
+ key: `title-${cell}-${this.dateTime.year}`,
814
+ className: b$a(CELLS.TITLE, { disabled: disabled2 })
815
+ },
816
+ this.dateTime.year
817
+ );
818
+ }
819
+ const quarter = cell;
820
+ const startQuarter = this.dateTime.set({
821
+ day: 1,
822
+ month: quarter * 3 - 2
823
+ });
824
+ const endQuarter = this.dateTime.set({
825
+ day: 1,
826
+ month: quarter * 3
827
+ }).endOf("month");
828
+ const disabled = min && endQuarter < min || max && startQuarter > max;
829
+ const quarterInterval = Interval.fromDateTimes(startQuarter, endQuarter);
830
+ const isContainsFrom = from && quarterInterval.contains(from);
831
+ const isContainsTo = to && quarterInterval.end >= to;
832
+ const isSelected = Boolean(
833
+ selectedInterval && selectedInterval.intersection(quarterInterval)
834
+ );
835
+ const isHovered = Boolean(hovered && hovered.intersection(quarterInterval));
836
+ const isContainsHoverStart = isHovered && quarterInterval.contains(hovered.start);
837
+ const isContainsHoverEnd = isHovered && quarterInterval.end >= hovered.end;
838
+ const mods = {
839
+ disabled,
840
+ selected: isSelected || isHovered,
841
+ today: quarterInterval.contains(this.todayDateTime)
842
+ };
843
+ if (isHovered) {
844
+ mods["left-edge"] = cell === COLUMNS$1.LEFT || isContainsHoverStart;
845
+ mods["right-edge"] = cell === COLUMNS$1.RIGHT || isContainsHoverEnd;
846
+ } else {
847
+ mods["left-edge"] = cell === COLUMNS$1.LEFT || isContainsFrom;
848
+ mods["right-edge"] = cell === COLUMNS$1.RIGHT || isContainsTo;
849
+ }
850
+ return /* @__PURE__ */ React__default.createElement(
851
+ "div",
852
+ {
853
+ key: `${cell}-${this.dateTime.year}`,
854
+ className: b$a(CELLS.QUARTER, mods),
855
+ range: `${startQuarter.toISODate()}/${endQuarter.toISODate()}`,
856
+ ...!disabled && {
857
+ onClick: this.getOnRangeDateClick({
858
+ start: startQuarter,
859
+ end: endQuarter
860
+ })
861
+ }
862
+ },
863
+ `Q${quarter}`
864
+ );
865
+ });
866
+ }
867
+ render() {
868
+ const { isNeedScroll } = this.props;
869
+ return /* @__PURE__ */ React__default.createElement("div", { ...isNeedScroll && { ref: this.scrollRef }, className: b$a() }, this.renderQuarter());
870
+ }
871
+ }
872
+ const b$9 = block("dl-datepicker-year-switcher");
873
+ class YearSwitcher extends React__default.Component {
874
+ static propTypes = {
875
+ switcherDate: PropTypes.object,
876
+ offsetTop: PropTypes.number,
877
+ visible: PropTypes.bool,
878
+ onShiftMonths: PropTypes.func
879
+ };
880
+ static getDerivedStateFromProps(props) {
881
+ const changedState = {};
882
+ if (props.switcherDate) {
883
+ changedState.switcherDate = props.switcherDate;
884
+ }
885
+ return changedState;
886
+ }
887
+ state = {
888
+ switcherDate: this.props.switcherDate
889
+ };
890
+ onLeftArrowClick = () => this.props.onShiftMonths(-12);
891
+ onRightArrowClick = () => this.props.onShiftMonths(12);
892
+ render() {
893
+ const { offsetTop, visible } = this.props;
894
+ const { switcherDate } = this.state;
895
+ if (!visible) {
896
+ return null;
897
+ }
898
+ return /* @__PURE__ */ React__default.createElement(
899
+ "div",
900
+ {
901
+ className: b$9(),
902
+ style: {
903
+ top: offsetTop + 4
904
+ }
905
+ },
906
+ /* @__PURE__ */ React__default.createElement("div", { className: b$9("arrow", { left: true }), onClick: this.onLeftArrowClick }, /* @__PURE__ */ React__default.createElement(Icon, { data: ChevronRight })),
907
+ /* @__PURE__ */ React__default.createElement("div", { className: b$9("value") }, switcherDate.year),
908
+ /* @__PURE__ */ React__default.createElement("div", { className: b$9("arrow", { right: true }), onClick: this.onRightArrowClick }, /* @__PURE__ */ React__default.createElement(Icon, { data: ChevronRight }))
909
+ );
910
+ }
911
+ }
912
+ const b$8 = block("dl-datepicker-years");
913
+ const COLUMNS = {
914
+ LEFT: 1,
915
+ RIGHT: 4
916
+ };
917
+ class Years extends React__default.PureComponent {
918
+ static propTypes = {
919
+ years: PropTypes.array.isRequired,
920
+ from: PropTypes.object,
921
+ to: PropTypes.object,
922
+ min: PropTypes.object,
923
+ max: PropTypes.object,
924
+ middle: PropTypes.object,
925
+ selectedInterval: PropTypes.object,
926
+ hovered: PropTypes.object,
927
+ zone: PropTypes.string,
928
+ onRangeDateClick: PropTypes.func
929
+ };
930
+ scrollRef = React__default.createRef();
931
+ todayDateTime = DateTime.fromObject({ zone: this.props.zone });
932
+ getOnRangeDateClick = ({ start, end }) => {
933
+ return () => this.props.onRangeDateClick({ start, end });
934
+ };
935
+ renderYears() {
936
+ const { from, to, min, max, middle, zone, years, selectedInterval, hovered } = this.props;
937
+ let currentColumn = 0;
938
+ return years.map((year) => {
939
+ currentColumn += 1;
940
+ if (currentColumn > COLUMNS.RIGHT) {
941
+ currentColumn = COLUMNS.LEFT;
942
+ }
943
+ const startYear = DateTime.fromObject({
944
+ year,
945
+ month: 1,
946
+ day: 1,
947
+ zone
948
+ });
949
+ const endYear = startYear.endOf("year");
950
+ const disabled = min && endYear < min || max && startYear > max;
951
+ const yearInterval = Interval.fromDateTimes(startYear, endYear);
952
+ const isContainsFrom = from && yearInterval.contains(from);
953
+ const isContainsTo = to && yearInterval.end >= to;
954
+ const isSelected = Boolean(
955
+ selectedInterval && selectedInterval.intersection(yearInterval)
956
+ );
957
+ const isHovered = Boolean(hovered && hovered.intersection(yearInterval));
958
+ const isContainsHoverStart = isHovered && yearInterval.contains(hovered.start);
959
+ const isContainsHoverEnd = isHovered && yearInterval.end >= hovered.end;
960
+ const isNeedScroll = middle.year === year;
961
+ const mods = {
962
+ disabled,
963
+ selected: isSelected || isHovered,
964
+ today: yearInterval.contains(this.todayDateTime)
965
+ };
966
+ if (isHovered) {
967
+ mods["left-edge"] = currentColumn === COLUMNS.LEFT || isContainsHoverStart;
968
+ mods["right-edge"] = currentColumn === COLUMNS.RIGHT || isContainsHoverEnd;
969
+ } else {
970
+ mods["left-edge"] = currentColumn === COLUMNS.LEFT || isContainsFrom;
971
+ mods["right-edge"] = currentColumn === COLUMNS.RIGHT || isContainsTo;
972
+ }
973
+ return /* @__PURE__ */ React__default.createElement(
974
+ "div",
975
+ {
976
+ ...isNeedScroll && { ref: this.scrollRef },
977
+ key: year,
978
+ className: b$8("year", mods),
979
+ range: `${startYear.toISODate()}/${endYear.toISODate()}`,
980
+ onClick: this.getOnRangeDateClick({
981
+ start: startYear,
982
+ end: endYear
983
+ })
984
+ },
985
+ year
986
+ );
987
+ });
988
+ }
989
+ render() {
990
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$8() }, this.renderYears());
991
+ }
992
+ }
993
+ const i18n$2 = I18n.keyset("components.common.Datepicker");
994
+ const FORMAT_LETTERS = ["y", "M", "d", "h", "H", "m", "s", "S"];
995
+ function createDateTime({ date, zone }) {
996
+ if (!date) {
997
+ return void 0;
998
+ }
999
+ const type = typeof date;
1000
+ let dateTime;
1001
+ switch (type) {
1002
+ case "string": {
1003
+ dateTime = DateTime.fromISO(date, { zone });
1004
+ break;
1005
+ }
1006
+ case "number": {
1007
+ dateTime = DateTime.fromMillis(date, { zone });
1008
+ break;
1009
+ }
1010
+ }
1011
+ return dateTime;
1012
+ }
1013
+ function getPlaceholder(format) {
1014
+ return format.split("").map((letter) => {
1015
+ return FORMAT_LETTERS.includes(letter) ? i18n$2(`placeholder_letter_${letter}`) : letter;
1016
+ }).join("");
1017
+ }
1018
+ function getSearchText({ from, to, format, emptyValueText, range, required }) {
1019
+ switch (true) {
1020
+ case Boolean(!range && from): {
1021
+ return `${from.toFormat(format)}`;
1022
+ }
1023
+ case Boolean(from && !to): {
1024
+ return `${from.toFormat(format)} - ${emptyValueText ? emptyValueText : ""}`;
1025
+ }
1026
+ case Boolean(from && to): {
1027
+ return `${from.toFormat(format)} - ${to.toFormat(format)}`;
1028
+ }
1029
+ // return value_required text if value is required and is not fully filled
1030
+ case (required && (range && !from && !to || !range && !from)): {
1031
+ return i18n$2("value_required");
1032
+ }
1033
+ case Boolean(range): {
1034
+ return emptyValueText ? `${emptyValueText} - ${emptyValueText}` : "";
1035
+ }
1036
+ default: {
1037
+ return emptyValueText || "";
1038
+ }
1039
+ }
1040
+ }
1041
+ function getZone(offset) {
1042
+ if (!offset && offset !== 0) {
1043
+ return DateTime.local().zoneName;
1044
+ }
1045
+ const offsetHours = Math.round(offset / MINUTES_IN_HOUR);
1046
+ if (offsetHours === 0) {
1047
+ return "UTC";
1048
+ }
1049
+ return `UTC${offsetHours > 0 ? "+" : ""}${offsetHours}`;
1050
+ }
1051
+ function isValidDate(dateTime) {
1052
+ if (!dateTime) {
1053
+ return false;
1054
+ }
1055
+ return dateTime.isValid;
1056
+ }
1057
+ function getDefaultPreset({ zone, activeTab, range }) {
1058
+ switch (activeTab) {
1059
+ case "day": {
1060
+ if (range) {
1061
+ return [
1062
+ {
1063
+ title: () => i18n$2("preset_day_7"),
1064
+ start: DateTime.fromObject({ zone }).plus({ day: -6 }).startOf("day"),
1065
+ end: DateTime.fromObject({ zone })
1066
+ },
1067
+ {
1068
+ title: () => i18n$2("preset_day_30"),
1069
+ start: DateTime.fromObject({ zone }).plus({ day: -29 }).startOf("day"),
1070
+ end: DateTime.fromObject({ zone })
1071
+ },
1072
+ {
1073
+ title: () => i18n$2("preset_day_90"),
1074
+ start: DateTime.fromObject({ zone }).plus({ day: -89 }).startOf("day"),
1075
+ end: DateTime.fromObject({ zone })
1076
+ },
1077
+ {
1078
+ title: () => i18n$2("preset_day_365"),
1079
+ start: DateTime.fromObject({ zone }).plus({ day: -364 }).startOf("day"),
1080
+ end: DateTime.fromObject({ zone })
1081
+ }
1082
+ ];
1083
+ }
1084
+ return [
1085
+ {
1086
+ title: () => i18n$2("preset_day_today"),
1087
+ start: DateTime.fromObject({ zone }).startOf("day"),
1088
+ end: DateTime.fromObject({ zone })
1089
+ },
1090
+ {
1091
+ title: () => i18n$2("preset_day_yesterday"),
1092
+ start: DateTime.fromObject({ zone }).plus({ day: -1 }).startOf("day"),
1093
+ end: DateTime.fromObject({ zone }).plus({ day: -1 })
1094
+ },
1095
+ {
1096
+ title: () => i18n$2("preset_day_two_days_ago"),
1097
+ start: DateTime.fromObject({ zone }).plus({ day: -2 }).startOf("day"),
1098
+ end: DateTime.fromObject({ zone }).plus({ day: -2 })
1099
+ }
1100
+ ];
1101
+ }
1102
+ case "week": {
1103
+ return [
1104
+ {
1105
+ title: () => i18n$2("preset_week_current"),
1106
+ start: DateTime.fromObject({ zone }).startOf("week"),
1107
+ end: DateTime.fromObject({ zone }).endOf("week")
1108
+ },
1109
+ {
1110
+ title: () => i18n$2("preset_week_past"),
1111
+ start: DateTime.fromObject({ zone }).startOf("week").plus({ day: -7 }),
1112
+ end: DateTime.fromObject({ zone }).startOf("week").plus({ day: -1 })
1113
+ }
1114
+ ];
1115
+ }
1116
+ case "month": {
1117
+ return [
1118
+ {
1119
+ title: () => i18n$2("preset_current"),
1120
+ start: DateTime.fromObject({ zone }).startOf("month"),
1121
+ end: DateTime.fromObject({ zone }).endOf("month")
1122
+ },
1123
+ {
1124
+ title: () => i18n$2("preset_past"),
1125
+ start: DateTime.fromObject({ zone }).startOf("month").plus({ day: -1 }).startOf("month"),
1126
+ end: DateTime.fromObject({ zone }).startOf("month").plus({ day: -1 })
1127
+ }
1128
+ ];
1129
+ }
1130
+ case "quarter": {
1131
+ return [
1132
+ {
1133
+ title: () => i18n$2("preset_current"),
1134
+ start: DateTime.fromObject({ zone }).startOf("quarter"),
1135
+ end: DateTime.fromObject({ zone }).endOf("quarter")
1136
+ },
1137
+ {
1138
+ title: () => i18n$2("preset_past"),
1139
+ start: DateTime.fromObject({ zone }).startOf("quarter").plus({ day: -1 }).startOf("quarter"),
1140
+ end: DateTime.fromObject({ zone }).startOf("quarter").plus({ day: -1 })
1141
+ }
1142
+ ];
1143
+ }
1144
+ case "year": {
1145
+ return [
1146
+ {
1147
+ title: () => i18n$2("preset_current"),
1148
+ start: DateTime.fromObject({ zone }).startOf("year"),
1149
+ end: DateTime.fromObject({ zone }).endOf("year")
1150
+ },
1151
+ {
1152
+ title: () => i18n$2("preset_past"),
1153
+ start: DateTime.fromObject({ zone }).startOf("year").plus({ day: -1 }).startOf("year"),
1154
+ end: DateTime.fromObject({ zone }).startOf("year").plus({ day: -1 })
1155
+ }
1156
+ ];
1157
+ }
1158
+ }
1159
+ }
1160
+ function getHashedData(data) {
1161
+ return JSON.stringify(data);
1162
+ }
1163
+ function resolveDates({ from, to }) {
1164
+ let resolveFrom = from;
1165
+ let resolveTo = to;
1166
+ const isFromValid = isValidDate(resolveFrom);
1167
+ const isToValid = isValidDate(resolveTo);
1168
+ if (isFromValid && isToValid && resolveTo < resolveFrom) {
1169
+ [resolveFrom, resolveTo] = [resolveTo, resolveFrom];
1170
+ }
1171
+ if (!isFromValid && isToValid) {
1172
+ [resolveFrom, resolveTo] = [resolveTo, resolveFrom];
1173
+ }
1174
+ resolveFrom = isValidDate(resolveFrom) ? resolveFrom : void 0;
1175
+ resolveTo = isValidDate(resolveTo) ? resolveTo : void 0;
1176
+ return [resolveFrom, resolveTo];
1177
+ }
1178
+ function checkBrowser$1() {
1179
+ const agent = navigator.userAgent;
1180
+ if (agent.indexOf("Firefox") !== -1 && parseFloat(agent.substring(agent.indexOf("Firefox") + 8)) >= 3.6) {
1181
+ return "Firefox";
1182
+ } else if (agent.indexOf("Safari") !== -1 && agent.indexOf("Version") !== -1 && parseFloat(agent.substring(agent.indexOf("Version") + 8).split(" ")[0]) >= 5) {
1183
+ return "Safari";
1184
+ }
1185
+ return "Good Browser";
1186
+ }
1187
+ function getListWithoutNullableValues(...args) {
1188
+ return args.filter(Boolean);
1189
+ }
1190
+ function hasTimeUnitsInFormat(format) {
1191
+ return /H|h|m|s/.test(format);
1192
+ }
1193
+ const fillEmptyToDate = (from) => {
1194
+ const diff = from.toUTC().startOf("day").diff(from).toMillis();
1195
+ return diff === 0 ? from.toUTC().endOf("day") : from;
1196
+ };
1197
+ const b$7 = block("dl-datepicker-calendar");
1198
+ const MONTH_NARGIN_BOTTOM = 5;
1199
+ const MIN_YEAR = 1e3;
1200
+ const MAX_YEAR = 3e3;
1201
+ const THRESHOLD = {
1202
+ [TABS.DAY]: 150,
1203
+ [TABS.WEEK]: 150,
1204
+ [TABS.MONTH]: 150,
1205
+ [TABS.QUARTER]: 100,
1206
+ [TABS.YEAR]: 50
1207
+ };
1208
+ const SHIFT = {
1209
+ [TABS.DAY]: 4,
1210
+ [TABS.WEEK]: 4,
1211
+ [TABS.MONTH]: 48,
1212
+ [TABS.QUARTER]: 344,
1213
+ [TABS.YEAR]: 1008
1214
+ };
1215
+ const getWarningMessage = ({ from, min, max }) => {
1216
+ const date = min ? min : max;
1217
+ const dateType2 = min ? "min" : "max";
1218
+ const adverb = min ? "less" : "more";
1219
+ return `'from' date (${from.toString()}) is ${adverb} than '${dateType2}' date (${date.toString()})`;
1220
+ };
1221
+ const getMiddleDate = ({ zone, from, min, max }) => {
1222
+ let middle = from ? from : DateTime.fromObject({ zone });
1223
+ let warningMessage;
1224
+ if (from) {
1225
+ if (max && from > max) {
1226
+ middle = max;
1227
+ warningMessage = getWarningMessage({ from, max });
1228
+ } else if (min && from < min) {
1229
+ middle = min;
1230
+ warningMessage = getWarningMessage({ from, min });
1231
+ }
1232
+ } else if (max) {
1233
+ middle = max;
1234
+ } else if (min) {
1235
+ middle = min;
1236
+ }
1237
+ if (warningMessage) {
1238
+ console.warn(warningMessage);
1239
+ }
1240
+ return middle;
1241
+ };
1242
+ const getInterval = ({ zone, activeTab, from, min, max, init }) => {
1243
+ const middle = getMiddleDate({ zone, from, min, max });
1244
+ const start = middle.plus({ month: -SHIFT[activeTab] });
1245
+ const end = middle.plus({ month: SHIFT[activeTab] });
1246
+ return {
1247
+ middle,
1248
+ interval: Interval.fromDateTimes(start, end)
1249
+ };
1250
+ };
1251
+ const getOffsetTop = (calendarNode) => {
1252
+ let offset = 0;
1253
+ if (!calendarNode) {
1254
+ return offset;
1255
+ }
1256
+ let sib = calendarNode.previousSibling;
1257
+ while (sib) {
1258
+ offset += sib.clientHeight;
1259
+ sib = sib.previousSibling;
1260
+ }
1261
+ return offset;
1262
+ };
1263
+ const getSwitcherDate = ({ zone, nodes, currentScrollTop }) => {
1264
+ let switcherDate = null;
1265
+ nodes.forEach((node) => {
1266
+ const year = node.getAttribute("year");
1267
+ const month = node.getAttribute("month");
1268
+ if (!year || !month) {
1269
+ return;
1270
+ }
1271
+ if (currentScrollTop >= node.offsetTop - node.clientHeight && currentScrollTop < node.offsetTop) {
1272
+ switcherDate = DateTime.fromObject({
1273
+ zone,
1274
+ year: Number(year),
1275
+ month: Number(month)
1276
+ });
1277
+ }
1278
+ });
1279
+ return switcherDate;
1280
+ };
1281
+ class Calendar extends React__default.Component {
1282
+ static propTypes = {
1283
+ zone: PropTypes.string,
1284
+ activeTab: PropTypes.string,
1285
+ from: PropTypes.object,
1286
+ to: PropTypes.object,
1287
+ min: PropTypes.object,
1288
+ max: PropTypes.object,
1289
+ pick: PropTypes.number,
1290
+ range: PropTypes.bool,
1291
+ scrollCalendar: PropTypes.bool,
1292
+ onDateClick: PropTypes.func,
1293
+ onRangeDateClick: PropTypes.func
1294
+ };
1295
+ static getDerivedStateFromProps(props, state) {
1296
+ const changedState = {
1297
+ prevProps: props
1298
+ };
1299
+ if (props.activeTab !== state.prevProps.activeTab || props.from !== state.prevProps.from && props.scrollCalendar && !state.interval.contains(props.from) || props.max !== state.prevProps.max || props.min !== state.prevProps.min) {
1300
+ const { interval, middle } = getInterval({
1301
+ zone: props.zone,
1302
+ activeTab: props.activeTab,
1303
+ from: props.from,
1304
+ min: props.min,
1305
+ max: props.max
1306
+ });
1307
+ changedState.interval = interval;
1308
+ changedState.middle = middle;
1309
+ changedState.switcherDate = null;
1310
+ }
1311
+ if (props.from !== state.prevProps.from) {
1312
+ changedState.switcherDate = null;
1313
+ }
1314
+ return changedState;
1315
+ }
1316
+ constructor(props) {
1317
+ super(props);
1318
+ const { zone, activeTab, from, min, max } = this.props;
1319
+ this.containerRef = React__default.createRef();
1320
+ this.contentRef = React__default.createRef();
1321
+ const { interval, middle } = getInterval({ zone, activeTab, from, min, max });
1322
+ this.state = {
1323
+ interval,
1324
+ middle,
1325
+ prevProps: this.props,
1326
+ hovered: void 0,
1327
+ switcherDate: middle,
1328
+ switcherOffset: 0
1329
+ };
1330
+ }
1331
+ componentDidMount() {
1332
+ const browser = checkBrowser$1();
1333
+ this.isNeedScrollOffsetHandling = browser === "Safari" || browser === "Firefox";
1334
+ this.containerRef.current.addEventListener("scroll", throttle(this.onScroll, 5));
1335
+ this.scrollTo();
1336
+ this.setState({
1337
+ switcherOffset: getOffsetTop(this.containerRef.current)
1338
+ });
1339
+ }
1340
+ componentDidUpdate(prevProps) {
1341
+ if (this.state.switcherClicked || prevProps.activeTab !== this.props.activeTab || prevProps.from !== this.props.from && this.props.scrollCalendar || prevProps.max !== this.props.max || prevProps.min !== this.props.min) {
1342
+ this.scrollTo();
1343
+ }
1344
+ const switcherOffset = getOffsetTop(this.containerRef.current);
1345
+ if ((switcherOffset || switcherOffset === 0) && switcherOffset !== this.state.switcherOffset) {
1346
+ this.setState({ switcherOffset });
1347
+ }
1348
+ }
1349
+ componentWillUnmount() {
1350
+ this.containerRef.current.removeEventListener("scroll", this.onScroll);
1351
+ }
1352
+ onScroll = (e) => {
1353
+ const container = this.containerRef.current;
1354
+ if (!container) {
1355
+ return;
1356
+ }
1357
+ const { clientHeight, scrollHeight, scrollTop } = e.target;
1358
+ const { zone, activeTab } = this.props;
1359
+ const { interval } = this.state;
1360
+ const changedState = {};
1361
+ const threshold = THRESHOLD[activeTab];
1362
+ let switcherDate = null;
1363
+ let diff;
1364
+ let scrollToTop;
1365
+ if (activeTab === TABS.DAY || activeTab === TABS.WEEK) {
1366
+ switcherDate = getSwitcherDate({
1367
+ zone,
1368
+ nodes: Array.from(e.target.children),
1369
+ currentScrollTop: scrollTop
1370
+ });
1371
+ }
1372
+ if (scrollTop < threshold && interval.start.year >= MIN_YEAR) {
1373
+ scrollToTop = true;
1374
+ container.scrollTop = threshold;
1375
+ const start = interval.start.plus({ month: -SHIFT[activeTab] });
1376
+ const end = interval.end.plus({ month: -SHIFT[activeTab] });
1377
+ changedState.interval = Interval.fromDateTimes(start, end);
1378
+ changedState.switcherDate = null;
1379
+ diff = changedState.interval.difference(this.state.interval);
1380
+ }
1381
+ if (scrollTop + clientHeight > scrollHeight - threshold && interval.end.year <= MAX_YEAR) {
1382
+ container.scrollTop = scrollHeight - threshold - clientHeight;
1383
+ const start = interval.start.plus({ month: SHIFT[activeTab] });
1384
+ const end = interval.end.plus({ month: SHIFT[activeTab] });
1385
+ changedState.interval = Interval.fromDateTimes(start, end);
1386
+ changedState.switcherDate = null;
1387
+ diff = changedState.interval.difference(this.state.interval);
1388
+ }
1389
+ if (!this.state.switcherDate || switcherDate && this.state.switcherDate && switcherDate.year !== this.state.switcherDate.year) {
1390
+ changedState.switcherDate = switcherDate;
1391
+ }
1392
+ if (Object.keys(changedState).length) {
1393
+ this.setState(changedState, () => {
1394
+ if (changedState.interval && this.isNeedScrollOffsetHandling) {
1395
+ switch (activeTab) {
1396
+ case TABS.DAY:
1397
+ case TABS.WEEK: {
1398
+ let browserOffset = 0;
1399
+ Array.from(container.children).forEach((node) => {
1400
+ const year = node.getAttribute("year");
1401
+ const month = node.getAttribute("month");
1402
+ const dateTime = DateTime.fromObject({
1403
+ zone,
1404
+ year: Number(year),
1405
+ month: Number(month)
1406
+ });
1407
+ if (diff[0].start.startOf("month") <= dateTime && diff[0].end >= dateTime) {
1408
+ browserOffset += node.offsetHeight + MONTH_NARGIN_BOTTOM;
1409
+ }
1410
+ });
1411
+ if (scrollToTop) {
1412
+ this.containerRef.current.scrollTop = browserOffset;
1413
+ } else {
1414
+ this.containerRef.current.scrollTop = this.containerRef.current.scrollHeight - clientHeight - browserOffset;
1415
+ }
1416
+ break;
1417
+ }
1418
+ case TABS.MONTH: {
1419
+ if (scrollToTop) {
1420
+ this.containerRef.current.scrollTop = 317 * 3 - 34;
1421
+ } else {
1422
+ this.containerRef.current.scrollTop = scrollHeight - 317 * 3 - 198;
1423
+ }
1424
+ break;
1425
+ }
1426
+ case TABS.QUARTER: {
1427
+ if (scrollToTop) {
1428
+ this.containerRef.current.scrollTop = this.containerRef.current.scrollHeight / 2 + 74;
1429
+ } else {
1430
+ this.containerRef.current.scrollTop = this.containerRef.current.scrollHeight / 2 - 312;
1431
+ }
1432
+ break;
1433
+ }
1434
+ case TABS.YEAR: {
1435
+ if (scrollToTop) {
1436
+ this.containerRef.current.scrollTop = this.containerRef.current.scrollHeight / 2 + 50;
1437
+ } else {
1438
+ this.containerRef.current.scrollTop = this.containerRef.current.scrollHeight / 2 - 284;
1439
+ }
1440
+ }
1441
+ }
1442
+ }
1443
+ });
1444
+ }
1445
+ };
1446
+ scrollTo = () => {
1447
+ const container = this.containerRef.current;
1448
+ const content = this.contentRef.current;
1449
+ if (!content) {
1450
+ return;
1451
+ }
1452
+ const nodeToScroll = content.scrollRef.current;
1453
+ if (!nodeToScroll) {
1454
+ return;
1455
+ }
1456
+ const offset = getOffsetTop(container);
1457
+ container.scrollTop = nodeToScroll.offsetTop - offset;
1458
+ };
1459
+ onSwitcherClick = (middleShift) => {
1460
+ const { zone, activeTab, from } = this.props;
1461
+ let switcherDate = null;
1462
+ if (this.state.switcherDate) {
1463
+ switcherDate = this.state.switcherDate;
1464
+ } else {
1465
+ switcherDate = from ? from : DateTime.fromObject({ zone });
1466
+ }
1467
+ const middle = switcherDate.plus({ month: middleShift });
1468
+ const start = middle.plus({ month: -SHIFT[activeTab] });
1469
+ const end = middle.plus({ month: SHIFT[activeTab] });
1470
+ this.setState(
1471
+ {
1472
+ interval: Interval.fromDateTimes(start, end),
1473
+ switcherDate: middle,
1474
+ switcherClicked: true
1475
+ },
1476
+ () => this.setState({ switcherClicked: false })
1477
+ );
1478
+ };
1479
+ getMouseOverHandler() {
1480
+ const { zone, activeTab, range } = this.props;
1481
+ switch (activeTab) {
1482
+ case TABS.DAY: {
1483
+ return range ? this.onDayMouseOver : null;
1484
+ }
1485
+ case TABS.WEEK: {
1486
+ return this.onWeekMouseOver;
1487
+ }
1488
+ default: {
1489
+ return (e) => {
1490
+ const { from, to, pick } = this.props;
1491
+ const range2 = e.target.getAttribute("range");
1492
+ if (!range2 || !from || !to || !pick) {
1493
+ if (this.state.hovered && !pick) {
1494
+ this.setState({ hovered: void 0 });
1495
+ }
1496
+ return;
1497
+ }
1498
+ const hovered = Interval.fromDateTimes(from, to).union(
1499
+ Interval.fromISO(range2, { zone })
1500
+ );
1501
+ if (!this.state.hovered || !hovered.equals(this.state.hovered)) {
1502
+ this.setState({ hovered });
1503
+ }
1504
+ };
1505
+ }
1506
+ }
1507
+ }
1508
+ onDayMouseOver = (e) => {
1509
+ const { from, to, zone } = this.props;
1510
+ const date = e.target.getAttribute("date");
1511
+ if (!date || !from || to) {
1512
+ if (this.state.hovered && to) {
1513
+ this.setState({ hovered: void 0 });
1514
+ }
1515
+ return;
1516
+ }
1517
+ const dateTime = DateTime.fromISO(date, { zone });
1518
+ let hovered;
1519
+ if (from < dateTime) {
1520
+ hovered = Interval.fromDateTimes(from, dateTime.endOf("day"));
1521
+ } else {
1522
+ hovered = Interval.fromDateTimes(dateTime, from.endOf("day"));
1523
+ }
1524
+ if (!this.state.hovered || !hovered.equals(this.state.hovered)) {
1525
+ this.setState({ hovered });
1526
+ }
1527
+ };
1528
+ onWeekMouseOver = (e) => {
1529
+ const { zone } = this.props;
1530
+ const date = e.target.getAttribute("date");
1531
+ if (!date) {
1532
+ return;
1533
+ }
1534
+ const dateTime = DateTime.fromISO(date, { zone });
1535
+ const monday = dateTime.startOf("week");
1536
+ const sunday = dateTime.endOf("week");
1537
+ const hovered = Interval.fromDateTimes(monday, sunday);
1538
+ if (!this.state.hovered || !hovered.equals(this.state.hovered)) {
1539
+ this.setState({ hovered });
1540
+ }
1541
+ };
1542
+ onMouseLeave = () => {
1543
+ if (this.state.hovered) {
1544
+ this.setState({ hovered: void 0 });
1545
+ }
1546
+ };
1547
+ renderDayContent() {
1548
+ const { zone, activeTab, to, min, max } = this.props;
1549
+ const { switcherDate, hovered } = this.state;
1550
+ const months = [];
1551
+ const from = this.props.from ? this.props.from : DateTime.fromObject({ zone });
1552
+ const isDefaultFrom = !this.props.from;
1553
+ let interval = this.state.interval;
1554
+ let start = interval.start;
1555
+ const selectedInterval = to ? Interval.fromDateTimes(from.startOf("day"), to.endOf("day")) : Interval.fromDateTimes(from.startOf("day"), from.endOf("day"));
1556
+ while (start) {
1557
+ let isNeedScroll;
1558
+ if (switcherDate) {
1559
+ isNeedScroll = switcherDate.month === start.month && switcherDate.year === start.year;
1560
+ } else if (isDefaultFrom && max) {
1561
+ isNeedScroll = max.month === start.month && max.year === start.year;
1562
+ } else {
1563
+ isNeedScroll = from.month === start.month && from.year === start.year;
1564
+ }
1565
+ months.push(
1566
+ /* @__PURE__ */ React__default.createElement(
1567
+ Month,
1568
+ {
1569
+ ...isNeedScroll && { ref: this.contentRef },
1570
+ key: `month-${start.month}-${start.year}`,
1571
+ year: start.year,
1572
+ month: start.month,
1573
+ from,
1574
+ to,
1575
+ min: min && min.startOf("day"),
1576
+ max,
1577
+ zone,
1578
+ selectedInterval,
1579
+ hovered,
1580
+ isDefaultFrom,
1581
+ isNeedScroll,
1582
+ onDateClick: this.props.onDateClick,
1583
+ onRangeDateClick: activeTab === TABS.WEEK ? this.props.onRangeDateClick : void 0
1584
+ }
1585
+ )
1586
+ );
1587
+ interval = interval.set({ start: start.plus({ month: 1 }) });
1588
+ start = interval.start;
1589
+ }
1590
+ return months;
1591
+ }
1592
+ renderMonthContent() {
1593
+ const { to, min, max, zone } = this.props;
1594
+ const { hovered, middle } = this.state;
1595
+ const years = [];
1596
+ const from = this.props.from ? this.props.from : DateTime.fromObject({ zone });
1597
+ let interval = this.state.interval;
1598
+ let start = interval.start;
1599
+ const selectedInterval = from && to && Interval.fromDateTimes(from, to);
1600
+ while (start) {
1601
+ const isNeedScroll = middle.year === start.year;
1602
+ years.push(
1603
+ /* @__PURE__ */ React__default.createElement(
1604
+ Months,
1605
+ {
1606
+ ...isNeedScroll && { ref: this.contentRef },
1607
+ key: `year-${start.year}`,
1608
+ year: start.year,
1609
+ from,
1610
+ to,
1611
+ min,
1612
+ max,
1613
+ zone,
1614
+ selectedInterval,
1615
+ hovered,
1616
+ isNeedScroll,
1617
+ onRangeDateClick: this.props.onRangeDateClick
1618
+ }
1619
+ )
1620
+ );
1621
+ interval = interval.set({ start: start.plus({ month: 12 }) });
1622
+ start = interval.start;
1623
+ }
1624
+ return years;
1625
+ }
1626
+ renderQuartersContent() {
1627
+ const { to, min, max, zone } = this.props;
1628
+ const { hovered, middle } = this.state;
1629
+ const years = [];
1630
+ const from = this.props.from ? this.props.from : DateTime.fromObject({ zone });
1631
+ let interval = this.state.interval;
1632
+ let start = interval.start;
1633
+ const selectedInterval = from && to && Interval.fromDateTimes(from, to);
1634
+ while (start) {
1635
+ const isNeedScroll = middle.year === start.year;
1636
+ years.push(
1637
+ /* @__PURE__ */ React__default.createElement(
1638
+ Quarters,
1639
+ {
1640
+ ...isNeedScroll && { ref: this.contentRef },
1641
+ key: `quarter-year-${start.year}`,
1642
+ year: start.year,
1643
+ from,
1644
+ to,
1645
+ min,
1646
+ max,
1647
+ zone,
1648
+ selectedInterval,
1649
+ hovered,
1650
+ isNeedScroll,
1651
+ onRangeDateClick: this.props.onRangeDateClick
1652
+ }
1653
+ )
1654
+ );
1655
+ interval = interval.set({ start: start.plus({ month: 12 }) });
1656
+ start = interval.start;
1657
+ }
1658
+ return years;
1659
+ }
1660
+ renderYearsContent() {
1661
+ const { to, min, max, zone } = this.props;
1662
+ const { hovered, middle } = this.state;
1663
+ const from = this.props.from ? this.props.from : DateTime.fromObject({ zone });
1664
+ const isDefaultFrom = !this.props.from;
1665
+ const selectedInterval = from && to && Interval.fromDateTimes(from, to);
1666
+ const yearsCount = this.state.interval.length("years");
1667
+ const startYear = this.state.interval.start.year;
1668
+ return /* @__PURE__ */ React__default.createElement(
1669
+ Years,
1670
+ {
1671
+ ref: this.contentRef,
1672
+ years: _range(startYear, startYear + yearsCount),
1673
+ from,
1674
+ to,
1675
+ min,
1676
+ max,
1677
+ middle,
1678
+ zone,
1679
+ isDefaultFrom,
1680
+ selectedInterval,
1681
+ hovered,
1682
+ onRangeDateClick: this.props.onRangeDateClick
1683
+ }
1684
+ );
1685
+ }
1686
+ // eslint-disable-next-line consistent-return
1687
+ renderContent() {
1688
+ const { activeTab } = this.props;
1689
+ switch (activeTab) {
1690
+ case TABS.DAY:
1691
+ case TABS.WEEK: {
1692
+ return this.renderDayContent();
1693
+ }
1694
+ case TABS.MONTH: {
1695
+ return this.renderMonthContent();
1696
+ }
1697
+ case TABS.QUARTER: {
1698
+ return this.renderQuartersContent();
1699
+ }
1700
+ case TABS.YEAR: {
1701
+ return this.renderYearsContent();
1702
+ }
1703
+ }
1704
+ }
1705
+ render() {
1706
+ const { activeTab } = this.props;
1707
+ const { switcherDate, switcherOffset } = this.state;
1708
+ return /* @__PURE__ */ React__default.createElement(
1709
+ "div",
1710
+ {
1711
+ ref: this.containerRef,
1712
+ className: b$7(),
1713
+ onMouseOver: this.getMouseOverHandler(),
1714
+ onMouseLeave: this.onMouseLeave
1715
+ },
1716
+ /* @__PURE__ */ React__default.createElement(
1717
+ YearSwitcher,
1718
+ {
1719
+ switcherDate,
1720
+ offsetTop: switcherOffset,
1721
+ onShiftMonths: this.onSwitcherClick,
1722
+ visible: activeTab === TABS.DAY || activeTab === TABS.WEEK
1723
+ }
1724
+ ),
1725
+ this.renderContent()
1726
+ );
1727
+ }
1728
+ }
1729
+ const b$6 = block("dl-datepicker-presets");
1730
+ class Presets extends React__default.PureComponent {
1731
+ static propTypes = {
1732
+ zone: PropTypes.string,
1733
+ activeTab: PropTypes.string,
1734
+ range: PropTypes.bool,
1735
+ onRangeDateClick: PropTypes.func
1736
+ };
1737
+ renderPresetItem({ title, start, end }) {
1738
+ const presetTitle = typeof title === "function" ? title() : title;
1739
+ return /* @__PURE__ */ React__default.createElement(
1740
+ "div",
1741
+ {
1742
+ key: presetTitle,
1743
+ className: b$6("item"),
1744
+ onClick: () => this.props.onRangeDateClick({
1745
+ start,
1746
+ end,
1747
+ isAllRangePicked: true,
1748
+ scrollCalendar: true
1749
+ })
1750
+ },
1751
+ presetTitle
1752
+ );
1753
+ }
1754
+ render() {
1755
+ const { zone, activeTab, range } = this.props;
1756
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$6() }, getDefaultPreset({ zone, activeTab, range }).map(
1757
+ (preset) => this.renderPresetItem(preset)
1758
+ ));
1759
+ }
1760
+ }
1761
+ const i18n$1 = I18n.keyset("components.common.Datepicker");
1762
+ const b$5 = block("dl-datepicker-popup-content");
1763
+ class PopupContent extends React__default.PureComponent {
1764
+ static propTypes = {
1765
+ from: PropTypes.object,
1766
+ to: PropTypes.object,
1767
+ min: PropTypes.object,
1768
+ max: PropTypes.object,
1769
+ zone: PropTypes.string,
1770
+ activeTab: PropTypes.string,
1771
+ mod: PropTypes.string,
1772
+ pick: PropTypes.number,
1773
+ range: PropTypes.bool,
1774
+ scrollCalendar: PropTypes.bool,
1775
+ showTabs: PropTypes.bool,
1776
+ showApply: PropTypes.bool,
1777
+ onDateClick: PropTypes.func,
1778
+ onRangeDateClick: PropTypes.func,
1779
+ onSelectTab: PropTypes.func,
1780
+ onSubmit: PropTypes.func
1781
+ };
1782
+ render() {
1783
+ const {
1784
+ from,
1785
+ to,
1786
+ min,
1787
+ max,
1788
+ zone,
1789
+ activeTab,
1790
+ mod,
1791
+ pick,
1792
+ range,
1793
+ scrollCalendar,
1794
+ showTabs,
1795
+ showApply
1796
+ } = this.props;
1797
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$5(null, mod) }, showTabs && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("div", { className: b$5("tabs") }, /* @__PURE__ */ React__default.createElement(TabProvider, { value: activeTab, onUpdate: this.props.onSelectTab }, /* @__PURE__ */ React__default.createElement(TabList, null, getTabs().map((item) => /* @__PURE__ */ React__default.createElement(Tab, { key: item.id, value: item.id }, item.title))))), range && /* @__PURE__ */ React__default.createElement(
1798
+ Presets,
1799
+ {
1800
+ zone,
1801
+ activeTab,
1802
+ range,
1803
+ onRangeDateClick: this.props.onRangeDateClick
1804
+ }
1805
+ )), /* @__PURE__ */ React__default.createElement(
1806
+ Calendar,
1807
+ {
1808
+ from,
1809
+ to,
1810
+ min,
1811
+ max,
1812
+ zone,
1813
+ activeTab,
1814
+ pick,
1815
+ range,
1816
+ scrollCalendar,
1817
+ onDateClick: this.props.onDateClick,
1818
+ onRangeDateClick: this.props.onRangeDateClick
1819
+ }
1820
+ ), showApply && /* @__PURE__ */ React__default.createElement("div", { className: b$5("apply-btn") }, /* @__PURE__ */ React__default.createElement(Button, { view: "action", size: "l", width: "max", onClick: this.props.onSubmit }, i18n$1("apply_button_text"))));
1821
+ }
1822
+ }
1823
+ const i18n = I18n.keyset("components.common.Datepicker");
1824
+ const b$4 = block("dl-datepicker");
1825
+ const dateType = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
1826
+ const getModifier$1 = (name) => b$4({ [name]: true }).split(" ")[1];
1827
+ const datepickerDefaultProps = {
1828
+ format: DISPLAY_FORMAT.DATE,
1829
+ outputFormat: OUTPUT_FORMAT.DATETIME,
1830
+ range: true,
1831
+ allowNullableValues: false,
1832
+ showApply: false,
1833
+ hasClear: true,
1834
+ disabled: false,
1835
+ controlSize: "m",
1836
+ fillPartialInterval: false
1837
+ };
1838
+ class Datepicker extends React__default.PureComponent {
1839
+ static propTypes = {
1840
+ onUpdate: PropTypes.func.isRequired,
1841
+ onError: PropTypes.func,
1842
+ from: dateType,
1843
+ to: dateType,
1844
+ min: dateType,
1845
+ max: dateType,
1846
+ format: PropTypes.string,
1847
+ emptyValueText: PropTypes.string,
1848
+ placeholder: PropTypes.string,
1849
+ timezoneOffset: PropTypes.number,
1850
+ outputFormat: PropTypes.oneOf([OUTPUT_FORMAT.DATE, OUTPUT_FORMAT.DATETIME]),
1851
+ scale: PropTypes.oneOf([TABS.DAY, TABS.WEEK, TABS.MONTH, TABS.QUARTER, TABS.YEAR]),
1852
+ controlWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
1853
+ range: PropTypes.bool,
1854
+ allowNullableValues: PropTypes.bool,
1855
+ showApply: PropTypes.bool,
1856
+ hasClear: PropTypes.bool,
1857
+ disabled: PropTypes.bool,
1858
+ controlSize: PropTypes.oneOf(["s", "m", "l", "xl"]),
1859
+ className: PropTypes.string,
1860
+ popupClassName: PropTypes.string,
1861
+ required: PropTypes.bool,
1862
+ hasValidationError: PropTypes.bool,
1863
+ fillPartialInterval: PropTypes.bool,
1864
+ label: PropTypes.string
1865
+ };
1866
+ static defaultProps = datepickerDefaultProps;
1867
+ static getDerivedStateFromProps(props, state) {
1868
+ const changedState = {};
1869
+ const zone = getZone(props.timezoneOffset);
1870
+ if (props.from !== state.prevProps.from || props.to !== state.prevProps.to || props.timezoneOffset !== state.prevProps.timezoneOffset) {
1871
+ changedState.from = createDateTime({ date: props.from, zone });
1872
+ changedState.to = createDateTime({ date: props.to, zone });
1873
+ [changedState.from, changedState.to] = resolveDates({
1874
+ from: changedState.from,
1875
+ to: changedState.to
1876
+ });
1877
+ changedState.searchText = getSearchText({
1878
+ from: changedState.from,
1879
+ to: changedState.to,
1880
+ format: props.format,
1881
+ emptyValueText: props.emptyValueText,
1882
+ range: props.range,
1883
+ required: props.required
1884
+ });
1885
+ changedState.zone = zone;
1886
+ changedState.lastValidHash = getHashedData({
1887
+ from: changedState.from,
1888
+ to: changedState.to
1889
+ });
1890
+ }
1891
+ if (props.min !== state.prevProps.min) {
1892
+ const min = createDateTime({ date: props.min, zone });
1893
+ changedState.min = isValidDate(min) ? min : void 0;
1894
+ }
1895
+ if (props.max !== state.prevProps.max) {
1896
+ const max = createDateTime({ date: props.max, zone });
1897
+ changedState.max = isValidDate(max) ? max : void 0;
1898
+ }
1899
+ if (props.disabled && !state.prevProps.disabled) {
1900
+ changedState.error = "";
1901
+ }
1902
+ changedState.prevProps = props;
1903
+ return changedState;
1904
+ }
1905
+ constructor(props) {
1906
+ super(props);
1907
+ const { format, timezoneOffset, emptyValueText, range, required } = this.props;
1908
+ const zone = getZone(timezoneOffset);
1909
+ let from = createDateTime({ date: this.props.from, zone });
1910
+ let to = createDateTime({ date: this.props.to, zone });
1911
+ const min = createDateTime({ date: this.props.min, zone });
1912
+ const max = createDateTime({ date: this.props.max, zone });
1913
+ [from, to] = resolveDates({ from, to });
1914
+ const searchText = getSearchText({
1915
+ from,
1916
+ to,
1917
+ format,
1918
+ emptyValueText,
1919
+ range,
1920
+ required
1921
+ });
1922
+ this.ControlNodeRef = React__default.createRef();
1923
+ this.state = {
1924
+ searchText,
1925
+ from,
1926
+ to,
1927
+ zone,
1928
+ min: isValidDate(min) ? min : void 0,
1929
+ max: isValidDate(max) ? max : void 0,
1930
+ lastValidHash: getHashedData({ from, to }),
1931
+ prevProps: this.props,
1932
+ activeTab: "day",
1933
+ pick: 0,
1934
+ error: "",
1935
+ active: false
1936
+ };
1937
+ }
1938
+ static SCALE = TABS;
1939
+ static DISPLAY_FORMAT = DISPLAY_FORMAT;
1940
+ static OUTPUT_FORMAT = OUTPUT_FORMAT;
1941
+ get placeholder() {
1942
+ const { format, range, placeholder } = this.props;
1943
+ if (placeholder) {
1944
+ return placeholder;
1945
+ }
1946
+ const placeholderPart = getPlaceholder(format);
1947
+ return `${placeholderPart}${range ? ` - ${placeholderPart}` : ""}`;
1948
+ }
1949
+ isInvalidState() {
1950
+ const { range, allowNullableValues } = this.props;
1951
+ const { invalidInput, from, to } = this.state;
1952
+ if (allowNullableValues) {
1953
+ return invalidInput;
1954
+ }
1955
+ if (range) {
1956
+ return !from || !to || invalidInput;
1957
+ }
1958
+ return !from || invalidInput;
1959
+ }
1960
+ getErrorText() {
1961
+ const { range, onError } = this.props;
1962
+ if (!this.isInvalidState() || onError) {
1963
+ return "";
1964
+ }
1965
+ return range ? i18n("error_dates_range") : i18n("error_date");
1966
+ }
1967
+ onSelectTab = (activeTab) => {
1968
+ this.setState({
1969
+ activeTab,
1970
+ pick: 0
1971
+ });
1972
+ };
1973
+ onDateClick = ({ dateTime }) => {
1974
+ const state = {
1975
+ pick: 0,
1976
+ error: "",
1977
+ invalidInput: false,
1978
+ scrollCalendar: false
1979
+ };
1980
+ if (this.state.from && this.state.to || this.state.from && !this.props.range) {
1981
+ state.from = dateTime;
1982
+ state.to = void 0;
1983
+ } else if (!this.state.from && !this.state.to) {
1984
+ state.from = dateTime;
1985
+ } else {
1986
+ const isStartBeforeDateTime = this.state.from < dateTime;
1987
+ if (isStartBeforeDateTime) {
1988
+ state.from = this.state.from;
1989
+ state.to = dateTime;
1990
+ } else {
1991
+ state.from = dateTime;
1992
+ state.to = this.state.from;
1993
+ }
1994
+ }
1995
+ if (state.to) {
1996
+ state.to = state.to.endOf("day");
1997
+ }
1998
+ state.searchText = getSearchText({
1999
+ from: state.from,
2000
+ to: state.to,
2001
+ format: this.props.format,
2002
+ emptyValueText: this.props.emptyValueText,
2003
+ range: this.props.range,
2004
+ required: this.props.required
2005
+ });
2006
+ this.setState(state, () => {
2007
+ const { range, showApply } = this.props;
2008
+ const { from, to } = this.state;
2009
+ if (!showApply && range && from && to || !showApply && !range && from) {
2010
+ this.onUpdate();
2011
+ }
2012
+ });
2013
+ };
2014
+ onRangeDateClick = ({ start, end, isAllRangePicked, scrollCalendar }) => {
2015
+ const { range } = this.props;
2016
+ let pick = this.state.pick + 1;
2017
+ let from, to;
2018
+ switch (true) {
2019
+ case (pick === 1 || isAllRangePicked || !range): {
2020
+ from = start;
2021
+ to = end;
2022
+ if (isAllRangePicked || !range) {
2023
+ pick = 0;
2024
+ }
2025
+ break;
2026
+ }
2027
+ case pick === 2: {
2028
+ const dates = getListWithoutNullableValues(
2029
+ start,
2030
+ end,
2031
+ this.state.from,
2032
+ this.state.to
2033
+ );
2034
+ from = DateTime.min(...dates);
2035
+ to = DateTime.max(...dates);
2036
+ pick = 0;
2037
+ break;
2038
+ }
2039
+ }
2040
+ if (to) {
2041
+ to = to.endOf("day");
2042
+ }
2043
+ const searchText = getSearchText({
2044
+ from,
2045
+ to,
2046
+ format: this.props.format,
2047
+ emptyValueText: this.props.emptyValueText,
2048
+ range: this.props.range,
2049
+ required: this.props.required
2050
+ });
2051
+ this.setState(
2052
+ {
2053
+ searchText,
2054
+ pick,
2055
+ from,
2056
+ to,
2057
+ scrollCalendar,
2058
+ error: "",
2059
+ invalidInput: false
2060
+ },
2061
+ () => {
2062
+ const { showApply } = this.props;
2063
+ const { from: from2, to: to2, pick: pick2 } = this.state;
2064
+ if (!showApply && from2 && to2 && pick2 === 0) {
2065
+ this.onUpdate();
2066
+ }
2067
+ }
2068
+ );
2069
+ };
2070
+ onInputUpdate = (searchText) => {
2071
+ const { format, range } = this.props;
2072
+ const { zone } = this.state;
2073
+ const dates = searchText.split(/\s-\s?/);
2074
+ let from;
2075
+ let to;
2076
+ let isFromValid = true;
2077
+ let isToValid = true;
2078
+ if (dates[0]) {
2079
+ from = DateTime.fromFormat(dates[0].trim(), format, { zone });
2080
+ isFromValid = isValidDate(from);
2081
+ }
2082
+ if (dates[1] && dates[1] !== this.props.emptyValueText) {
2083
+ to = DateTime.fromFormat(dates[1].trim(), format, { zone });
2084
+ isToValid = isValidDate(to);
2085
+ }
2086
+ if (range) {
2087
+ [from, to] = resolveDates({ from, to });
2088
+ if (to && !hasTimeUnitsInFormat(format)) {
2089
+ to = to.endOf("day");
2090
+ }
2091
+ }
2092
+ if (!isFromValid || !isToValid) {
2093
+ this.setState({
2094
+ searchText,
2095
+ invalidInput: true
2096
+ });
2097
+ return;
2098
+ }
2099
+ const resetPickCounter = !searchText || range && !to;
2100
+ this.setState(
2101
+ {
2102
+ searchText,
2103
+ from,
2104
+ to: range ? to : void 0,
2105
+ error: "",
2106
+ invalidInput: false,
2107
+ ...resetPickCounter ? { pick: 0 } : {}
2108
+ },
2109
+ () => {
2110
+ if (!from && !to) {
2111
+ this.ControlNodeRef.current.focus();
2112
+ }
2113
+ }
2114
+ );
2115
+ };
2116
+ onInputKeyPress = (e) => {
2117
+ switch (e.key) {
2118
+ case "Enter": {
2119
+ this.ControlNodeRef.current.blur();
2120
+ this.onUpdate();
2121
+ break;
2122
+ }
2123
+ }
2124
+ };
2125
+ onInputFocus = () => {
2126
+ if (!this.state.active) {
2127
+ this.setState({ active: true });
2128
+ }
2129
+ };
2130
+ onClose = () => {
2131
+ if (document.activeElement === this.ControlNodeRef.current) {
2132
+ return;
2133
+ }
2134
+ const { format, emptyValueText, range, required } = this.props;
2135
+ const { from, to, lastValidHash } = this.state;
2136
+ const currentHash = getHashedData({ from, to });
2137
+ if (lastValidHash === currentHash) {
2138
+ const searchText = getSearchText({
2139
+ from,
2140
+ to,
2141
+ format,
2142
+ emptyValueText,
2143
+ range,
2144
+ required
2145
+ });
2146
+ this.setState({ searchText, active: false });
2147
+ } else {
2148
+ this.onUpdate();
2149
+ }
2150
+ };
2151
+ onUpdate = () => {
2152
+ const { allowNullableValues, onError, fillPartialInterval } = this.props;
2153
+ const { min, max } = this.state;
2154
+ if (this.isInvalidState()) {
2155
+ this.setState(
2156
+ {
2157
+ error: this.getErrorText(),
2158
+ active: false
2159
+ },
2160
+ () => onError && onError()
2161
+ );
2162
+ return;
2163
+ }
2164
+ let from = this.state.from;
2165
+ let to = this.state.to;
2166
+ if (min && from && from < min) {
2167
+ from = min;
2168
+ }
2169
+ if (min && to && from < min) {
2170
+ to = min;
2171
+ }
2172
+ if (max && from && from > max) {
2173
+ from = max;
2174
+ }
2175
+ if (max && to && to > max) {
2176
+ to = max;
2177
+ }
2178
+ [from, to] = resolveDates({ from, to });
2179
+ if (fillPartialInterval && from && !to) {
2180
+ to = fillEmptyToDate(from);
2181
+ }
2182
+ const searchText = getSearchText({
2183
+ from,
2184
+ to,
2185
+ format: this.props.format,
2186
+ emptyValueText: this.props.emptyValueText,
2187
+ range: this.props.range,
2188
+ required: this.props.required
2189
+ });
2190
+ this.ControlNodeRef.current.blur();
2191
+ const showSearchText = Boolean(allowNullableValues || from && to);
2192
+ this.setState(
2193
+ {
2194
+ from,
2195
+ to,
2196
+ active: false,
2197
+ lastValidHash: getHashedData({ from, to }),
2198
+ ...showSearchText ? { searchText } : {}
2199
+ },
2200
+ () => {
2201
+ const { range, outputFormat } = this.props;
2202
+ let outputFrom = null;
2203
+ let outputTo = null;
2204
+ if (from) {
2205
+ outputFrom = outputFormat === OUTPUT_FORMAT.DATE ? from.toISODate() : from.toISO();
2206
+ }
2207
+ if (range && to) {
2208
+ outputTo = outputFormat === OUTPUT_FORMAT.DATE ? to.toISODate() : to.toISO();
2209
+ }
2210
+ this.props.onUpdate({
2211
+ from: outputFrom,
2212
+ to: outputTo
2213
+ });
2214
+ }
2215
+ );
2216
+ };
2217
+ renderContent(mobile) {
2218
+ const { scale, range, showApply } = this.props;
2219
+ const { from, to, min, max, zone, activeTab, pick, scrollCalendar } = this.state;
2220
+ const mod = mobile ? getModifier$1("mobile") : getModifier$1("desktop");
2221
+ return /* @__PURE__ */ React__default.createElement(
2222
+ PopupContent,
2223
+ {
2224
+ from,
2225
+ to,
2226
+ min,
2227
+ max,
2228
+ zone,
2229
+ activeTab: scale || activeTab,
2230
+ mod,
2231
+ pick,
2232
+ range,
2233
+ scrollCalendar,
2234
+ showTabs: !scale,
2235
+ showApply,
2236
+ onDateClick: this.onDateClick,
2237
+ onRangeDateClick: this.onRangeDateClick,
2238
+ onSelectTab: this.onSelectTab,
2239
+ onSubmit: this.onUpdate
2240
+ }
2241
+ );
2242
+ }
2243
+ render() {
2244
+ const {
2245
+ controlWidth,
2246
+ hasClear,
2247
+ disabled,
2248
+ controlSize,
2249
+ className,
2250
+ popupClassName,
2251
+ hasValidationError,
2252
+ label
2253
+ } = this.props;
2254
+ const { searchText, active, error, from } = this.state;
2255
+ const hasPlaceholderError = hasValidationError && !from;
2256
+ return /* @__PURE__ */ React__default.createElement(MobileContext.Consumer, null, ({ mobile }) => /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
2257
+ "div",
2258
+ {
2259
+ className: b$4("control", className),
2260
+ ...controlWidth ? {
2261
+ style: {
2262
+ width: controlWidth
2263
+ }
2264
+ } : {}
2265
+ },
2266
+ /* @__PURE__ */ React__default.createElement(FieldWrapper, { error }, /* @__PURE__ */ React__default.createElement(
2267
+ TextInput,
2268
+ {
2269
+ value: searchText,
2270
+ size: controlSize,
2271
+ placeholder: this.placeholder,
2272
+ hasClear: hasClear && !mobile,
2273
+ disabled,
2274
+ onUpdate: this.onInputUpdate,
2275
+ onFocus: this.onInputFocus,
2276
+ onKeyDown: this.onInputKeyPress,
2277
+ controlRef: this.ControlNodeRef,
2278
+ error: hasValidationError,
2279
+ controlProps: {
2280
+ className: b$4("input", { error: hasPlaceholderError })
2281
+ },
2282
+ label
2283
+ }
2284
+ ), mobile && /* @__PURE__ */ React__default.createElement(
2285
+ "div",
2286
+ {
2287
+ className: b$4("control-veil"),
2288
+ onClick: this.onInputFocus
2289
+ }
2290
+ ))
2291
+ ), mobile ? /* @__PURE__ */ React__default.createElement(
2292
+ Sheet,
2293
+ {
2294
+ id: "datepicker",
2295
+ visible: active && !disabled,
2296
+ contentClassName: b$4("sheet"),
2297
+ allowHideOnContentScroll: false,
2298
+ onClose: this.onClose
2299
+ },
2300
+ this.renderContent(mobile)
2301
+ ) : /* @__PURE__ */ React__default.createElement(
2302
+ Popup,
2303
+ {
2304
+ contentClassName: b$4("popup", popupClassName),
2305
+ open: active && !disabled,
2306
+ anchorElement: this.ControlNodeRef.current,
2307
+ placement: AVAILABLE_POPUP_PLACEMENT,
2308
+ onOpenChange: (open) => {
2309
+ if (!open) {
2310
+ this.onClose();
2311
+ }
2312
+ },
2313
+ returnFocus: false
2314
+ },
2315
+ /* @__PURE__ */ React__default.createElement("div", { className: b$4("popup-content") }, this.renderContent(mobile))
2316
+ )));
2317
+ }
2318
+ }
2319
+ const DatepickerControl = ({ widgetId: _id, ...otherProps }) => {
2320
+ return /* @__PURE__ */ jsx(Datepicker, { ...otherProps });
2321
+ };
2322
+ const trans$4 = I18n.keyset("components.common.YCSelect");
2323
+ const MULTIPLE_MIN_WIDTH = 150;
2324
+ const WITH_SEARCH_MIN_WIDTH = 170;
2325
+ const WITH_SEARCH_MULTIPLE_MIN_WIDTH = 200;
2326
+ function checkBrowser() {
2327
+ const agent = navigator.userAgent;
2328
+ if (agent.indexOf("Firefox") !== -1 && parseFloat(agent.substring(agent.indexOf("Firefox") + 8)) >= 3.6) {
2329
+ return "Firefox";
2330
+ } else if (agent.indexOf("Safari") !== -1 && agent.indexOf("Version") !== -1 && parseFloat(agent.substring(agent.indexOf("Version") + 8).split(" ")[0]) >= 5) {
2331
+ return "Safari";
2332
+ }
2333
+ return "Good Browser";
2334
+ }
2335
+ function getEscapedRegExp(string) {
2336
+ return new RegExp(string.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "i");
2337
+ }
2338
+ function getTitleValue(title) {
2339
+ if (title === null) {
2340
+ return trans$4("null");
2341
+ }
2342
+ if (title === "") {
2343
+ return trans$4("empty_string");
2344
+ }
2345
+ return title;
2346
+ }
2347
+ function isFalsy(value) {
2348
+ return !value && value !== 0;
2349
+ }
2350
+ function getPossiblePopupMinWidth({ withSearch, multiple }) {
2351
+ let possibleMinWidth;
2352
+ if (withSearch && multiple) {
2353
+ possibleMinWidth = WITH_SEARCH_MULTIPLE_MIN_WIDTH;
2354
+ } else if (withSearch) {
2355
+ possibleMinWidth = WITH_SEARCH_MIN_WIDTH;
2356
+ } else if (multiple) {
2357
+ possibleMinWidth = MULTIPLE_MIN_WIDTH;
2358
+ }
2359
+ return possibleMinWidth;
2360
+ }
2361
+ const trans$3 = I18n.keyset("components.common.YCSelect");
2362
+ const b$3 = block("yc-select-item");
2363
+ const bWrap = block("yc-select-item-wrap");
2364
+ const ACTION_WIDTH = 80;
2365
+ const DESKTOP_TICK_ICON_SIZE = 16;
2366
+ const MOBILE_TICK_ICON_SIZE = 14;
2367
+ const SWIPE_DIR = {
2368
+ LEFT: "left",
2369
+ RIGHT: "right"
2370
+ };
2371
+ class Item extends React__default.PureComponent {
2372
+ static propTypes = {
2373
+ onItemClick: PropTypes.func,
2374
+ selectOnlyCurrentItem: PropTypes.func,
2375
+ getTouchedItem: PropTypes.func,
2376
+ setTouchedItem: PropTypes.func,
2377
+ selectType: PropTypes.string,
2378
+ showItemIcon: PropTypes.bool,
2379
+ showItemMeta: PropTypes.bool,
2380
+ isSelected: PropTypes.bool,
2381
+ mobile: PropTypes.bool,
2382
+ item: PropTypes.object,
2383
+ selectedCurrentItem: PropTypes.object,
2384
+ style: PropTypes.object
2385
+ };
2386
+ state = {
2387
+ startX: 0,
2388
+ deltaX: 0,
2389
+ actionNodes: [],
2390
+ swipeDirection: null,
2391
+ opening: false
2392
+ };
2393
+ componentDidMount() {
2394
+ const actionNodes = [];
2395
+ if (this._linkButtonRef.current) {
2396
+ actionNodes.push(this._linkButtonRef.current);
2397
+ }
2398
+ if (this._onlyButtonRef.current) {
2399
+ actionNodes.push(this._onlyButtonRef.current);
2400
+ }
2401
+ this.setState({ actionNodes });
2402
+ }
2403
+ _itemRef = React__default.createRef();
2404
+ _onlyButtonRef = React__default.createRef();
2405
+ _linkButtonRef = React__default.createRef();
2406
+ _publishEvent = eventBroker.withEventPublisher("Select");
2407
+ get height() {
2408
+ if (this._itemRef.current) {
2409
+ return this._itemRef.current.getBoundingClientRect().height;
2410
+ }
2411
+ return void 0;
2412
+ }
2413
+ get prevLeft() {
2414
+ if (this._itemRef.current && this._itemRef.current.style.left) {
2415
+ return parseFloat(this._itemRef.current.style.left);
2416
+ }
2417
+ return 0;
2418
+ }
2419
+ _handleTouchedItem = () => {
2420
+ const { item, actions } = this.props.getTouchedItem();
2421
+ if (item && item !== this._itemRef.current) {
2422
+ item.style.left = "0px";
2423
+ actions.forEach((node) => {
2424
+ node.style.right = `${-ACTION_WIDTH}px`;
2425
+ });
2426
+ }
2427
+ this.props.setTouchedItem({
2428
+ item: this._itemRef.current,
2429
+ actions: this.state.actionNodes
2430
+ });
2431
+ };
2432
+ _handleItemMovement = (deltaX) => {
2433
+ const { actionNodes, opening } = this.state;
2434
+ const preparedDeltaX = deltaX * actionNodes.length;
2435
+ let left;
2436
+ if (opening) {
2437
+ left = preparedDeltaX;
2438
+ if (left > 0) {
2439
+ left = 0;
2440
+ } else if (Math.abs(left) > actionNodes.length * ACTION_WIDTH) {
2441
+ left = -actionNodes.length * ACTION_WIDTH;
2442
+ }
2443
+ } else {
2444
+ left = -actionNodes.length * ACTION_WIDTH + preparedDeltaX;
2445
+ if (left > 0) {
2446
+ left = 0;
2447
+ } else if (left < -actionNodes.length * ACTION_WIDTH) {
2448
+ left = -actionNodes.length * ACTION_WIDTH;
2449
+ }
2450
+ }
2451
+ this._itemRef.current.style.left = `${left}px`;
2452
+ };
2453
+ _handleActionsMovement = (deltaX) => {
2454
+ this.state.actionNodes.forEach((node, index) => {
2455
+ const preparedDeltaX = deltaX * (index + 1);
2456
+ const rightBound = ACTION_WIDTH * index;
2457
+ let right;
2458
+ if (this.state.opening) {
2459
+ right = Math.abs(preparedDeltaX) - ACTION_WIDTH;
2460
+ } else {
2461
+ right = rightBound - preparedDeltaX;
2462
+ }
2463
+ if (right > rightBound) {
2464
+ right = rightBound;
2465
+ } else if (right < -ACTION_WIDTH) {
2466
+ right = -ACTION_WIDTH;
2467
+ }
2468
+ node.style.right = `${right}px`;
2469
+ });
2470
+ };
2471
+ _setItemToExtremePosition = () => {
2472
+ const { actionNodes, swipeDirection } = this.state;
2473
+ if (!this._itemRef.current) {
2474
+ return;
2475
+ }
2476
+ const left = swipeDirection === SWIPE_DIR.LEFT ? -actionNodes.length * ACTION_WIDTH : 0;
2477
+ this._itemRef.current.style.left = `${left}px`;
2478
+ };
2479
+ _setActionsToExtremePosition = () => {
2480
+ const { actionNodes, swipeDirection } = this.state;
2481
+ actionNodes.forEach((node, index) => {
2482
+ const right = swipeDirection === SWIPE_DIR.LEFT ? ACTION_WIDTH * index : -ACTION_WIDTH;
2483
+ node.style.right = `${right}px`;
2484
+ });
2485
+ };
2486
+ _onOnlyButtonClick = (e) => {
2487
+ const { item, selectOnlyCurrentItem } = this.props;
2488
+ e.stopPropagation();
2489
+ selectOnlyCurrentItem(item);
2490
+ };
2491
+ _onItemClick = () => this.props.onItemClick(this.props.item);
2492
+ _onItemClickCapture = (e) => {
2493
+ const {
2494
+ item: { value }
2495
+ } = this.props;
2496
+ this._publishEvent({
2497
+ eventId: "select",
2498
+ domEvent: e,
2499
+ meta: {
2500
+ valueHash: md5(value)
2501
+ }
2502
+ });
2503
+ };
2504
+ _onTouchStart = (e) => {
2505
+ this._handleTouchedItem();
2506
+ this.setState({
2507
+ startX: e.nativeEvent.touches[0].clientX,
2508
+ opening: this.prevLeft === 0
2509
+ });
2510
+ };
2511
+ _onTouchMove = (e) => {
2512
+ const deltaX = e.nativeEvent.touches[0].clientX - this.state.startX;
2513
+ const swipeDirection = this.state.deltaX > deltaX ? SWIPE_DIR.LEFT : SWIPE_DIR.RIGHT;
2514
+ const handleMovement = !(this.state.opening && deltaX > 0);
2515
+ if (handleMovement) {
2516
+ this._handleItemMovement(deltaX);
2517
+ this._handleActionsMovement(deltaX);
2518
+ }
2519
+ this.setState({ deltaX, swipeDirection });
2520
+ };
2521
+ _onTouchEnd = () => {
2522
+ const endDeltaX = this.state.deltaX;
2523
+ this.setState(
2524
+ {
2525
+ startX: 0,
2526
+ deltaX: 0,
2527
+ opening: false
2528
+ },
2529
+ () => {
2530
+ if (endDeltaX === 0) {
2531
+ return;
2532
+ }
2533
+ this._setItemToExtremePosition();
2534
+ this._setActionsToExtremePosition();
2535
+ }
2536
+ );
2537
+ };
2538
+ _renderItemIcon() {
2539
+ const {
2540
+ showItemIcon,
2541
+ showItemMeta,
2542
+ item: { icon }
2543
+ } = this.props;
2544
+ if (!showItemIcon || !icon) {
2545
+ return null;
2546
+ }
2547
+ const mods = {
2548
+ small: !showItemMeta,
2549
+ large: showItemMeta
2550
+ };
2551
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$3("icon", mods) }, icon);
2552
+ }
2553
+ _renderItemInfo() {
2554
+ const {
2555
+ item: { title, meta, hint },
2556
+ showItemMeta
2557
+ } = this.props;
2558
+ const titleValue = getTitleValue(title);
2559
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$3("info") }, /* @__PURE__ */ React__default.createElement(
2560
+ "div",
2561
+ {
2562
+ className: b$3("title", { secondary: title === "" || title === null }),
2563
+ title: hint ?? (typeof titleValue === "string" && titleValue || "")
2564
+ },
2565
+ titleValue
2566
+ ), showItemMeta && meta && /* @__PURE__ */ React__default.createElement("div", { className: b$3("meta"), title: meta }, meta));
2567
+ }
2568
+ _renderOnlyButton() {
2569
+ const {
2570
+ item: { value },
2571
+ selectedCurrentItem: { value: selectedCurrentItemValue } = {},
2572
+ selectType,
2573
+ mobile,
2574
+ style
2575
+ } = this.props;
2576
+ const { deltaX } = this.state;
2577
+ if (selectType !== "multiple") {
2578
+ return null;
2579
+ }
2580
+ const text = selectedCurrentItemValue === value ? trans$3("item_except") : trans$3("item_only");
2581
+ if (mobile) {
2582
+ const mods = {
2583
+ mobile: true,
2584
+ "with-transition": deltaX === 0
2585
+ };
2586
+ return /* @__PURE__ */ React__default.createElement(
2587
+ "div",
2588
+ {
2589
+ ref: this._onlyButtonRef,
2590
+ className: b$3("only-btn", mods),
2591
+ style: {
2592
+ top: style.top,
2593
+ height: this.height
2594
+ },
2595
+ onClick: this._onOnlyButtonClick
2596
+ },
2597
+ text
2598
+ );
2599
+ }
2600
+ return /* @__PURE__ */ React__default.createElement(
2601
+ Button,
2602
+ {
2603
+ view: "flat-secondary",
2604
+ size: "s",
2605
+ className: b$3("only-btn"),
2606
+ onClick: this._onOnlyButtonClick
2607
+ },
2608
+ text
2609
+ );
2610
+ }
2611
+ _renderExternalUrl() {
2612
+ const {
2613
+ item: { url },
2614
+ mobile,
2615
+ style
2616
+ } = this.props;
2617
+ const { deltaX } = this.state;
2618
+ if (!url) {
2619
+ return null;
2620
+ }
2621
+ if (mobile) {
2622
+ const mods = {
2623
+ mobile: true,
2624
+ "with-transition": deltaX === 0
2625
+ };
2626
+ return /* @__PURE__ */ React__default.createElement(
2627
+ "div",
2628
+ {
2629
+ ref: this._linkButtonRef,
2630
+ className: b$3("ext-link", mods),
2631
+ style: {
2632
+ top: style.top,
2633
+ height: this.height
2634
+ },
2635
+ onClick: () => window.open(url, "_blank")
2636
+ },
2637
+ /* @__PURE__ */ React__default.createElement(Icon, { data: ArrowUpRightFromSquare })
2638
+ );
2639
+ }
2640
+ return /* @__PURE__ */ React__default.createElement(
2641
+ Button,
2642
+ {
2643
+ view: "flat-secondary",
2644
+ size: "s",
2645
+ href: url,
2646
+ target: "_blank",
2647
+ onClick: (e) => e.stopPropagation(),
2648
+ className: b$3("ext-link")
2649
+ },
2650
+ /* @__PURE__ */ React__default.createElement(Icon, { data: ArrowUpRightFromSquare })
2651
+ );
2652
+ }
2653
+ _renderTickIcon() {
2654
+ const { mobile } = this.props;
2655
+ const tickIconSize = mobile ? MOBILE_TICK_ICON_SIZE : DESKTOP_TICK_ICON_SIZE;
2656
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$3("tick-wrap") }, /* @__PURE__ */ React__default.createElement(
2657
+ Icon,
2658
+ {
2659
+ data: Check,
2660
+ className: b$3("tick"),
2661
+ width: tickIconSize,
2662
+ height: tickIconSize
2663
+ }
2664
+ ));
2665
+ }
2666
+ render() {
2667
+ const {
2668
+ item: { value, disabled, modifier, meta },
2669
+ selectType,
2670
+ showItemMeta,
2671
+ isSelected,
2672
+ mobile,
2673
+ style
2674
+ } = this.props;
2675
+ const { actionNodes, deltaX } = this.state;
2676
+ const isMultiple = selectType === "multiple";
2677
+ const hasTouchHandlers = mobile && actionNodes.length;
2678
+ const mods = {
2679
+ disabled,
2680
+ selected: isSelected,
2681
+ multiple: isMultiple,
2682
+ [modifier]: Boolean(modifier),
2683
+ "show-meta": Boolean(showItemMeta && meta),
2684
+ "with-transition": deltaX === 0
2685
+ };
2686
+ return /* @__PURE__ */ React__default.createElement("div", { className: bWrap() }, /* @__PURE__ */ React__default.createElement(
2687
+ "div",
2688
+ {
2689
+ ref: this._itemRef,
2690
+ className: b$3(mods),
2691
+ style,
2692
+ "data-value": value,
2693
+ onClick: this._onItemClick,
2694
+ onClickCapture: this._onItemClickCapture,
2695
+ onTouchStart: hasTouchHandlers ? this._onTouchStart : void 0,
2696
+ onTouchMove: hasTouchHandlers ? this._onTouchMove : void 0,
2697
+ onTouchEnd: hasTouchHandlers ? this._onTouchEnd : void 0
2698
+ },
2699
+ this._renderItemIcon(),
2700
+ this._renderItemInfo(),
2701
+ !mobile && this._renderOnlyButton(),
2702
+ !mobile && this._renderExternalUrl(),
2703
+ isSelected && isMultiple && this._renderTickIcon()
2704
+ ), mobile && this._renderOnlyButton(), mobile && this._renderExternalUrl());
2705
+ }
2706
+ }
2707
+ const trans$2 = I18n.keyset("components.common.YCSelect");
2708
+ const b$2 = block("yc-select-items");
2709
+ const ITEM_HEIGHT = 28;
2710
+ const MOBILE_ITEM_HEIGHT = 40;
2711
+ const ITEM_WITH_META_HEIGHT = 48;
2712
+ const MOBILE_ITEM_WITH_META_HEIGHT = 60;
2713
+ const GROUP_TITLE_HEIGHT = 21;
2714
+ const MARGIN_OFFSET = 4;
2715
+ class ItemsWrapper extends React__default.PureComponent {
2716
+ static propTypes = {
2717
+ virtualizeThreshold: PropTypes.number,
2718
+ items: PropTypes.array,
2719
+ inputValue: PropTypes.string,
2720
+ innerValue: PropTypes.object,
2721
+ isFetchingItems: PropTypes.bool,
2722
+ isDynamic: PropTypes.bool,
2723
+ isItemsGrouped: PropTypes.bool,
2724
+ showItemMeta: PropTypes.bool,
2725
+ showMoreItems: PropTypes.bool,
2726
+ showSearch: PropTypes.bool,
2727
+ showApply: PropTypes.bool,
2728
+ selectedItemsPopup: PropTypes.bool,
2729
+ mobile: PropTypes.bool,
2730
+ fetchError: PropTypes.any,
2731
+ onFetchErrorDetails: PropTypes.func,
2732
+ fetchErrorDetailsTitle: PropTypes.string,
2733
+ visible: PropTypes.bool,
2734
+ fetchItems: PropTypes.func,
2735
+ addNewItem: PropTypes.func,
2736
+ setPopupWidth: PropTypes.func,
2737
+ setAllowHideOnContentScroll: PropTypes.func,
2738
+ errorContent: PropTypes.node
2739
+ };
2740
+ static defaultProps = {
2741
+ showMoreItems: false
2742
+ };
2743
+ static getDerivedStateFromProps(props, state) {
2744
+ const changedState = {};
2745
+ if (props.visible) {
2746
+ changedState.items = props.selectedItemsPopup ? props.items : props.items.filter(({ missing }) => !missing);
2747
+ if (!state.hasItems) {
2748
+ changedState.hasItems = true;
2749
+ }
2750
+ }
2751
+ return Object.keys(changedState).length > 0 ? changedState : null;
2752
+ }
2753
+ state = {
2754
+ items: [],
2755
+ touchedItem: {},
2756
+ minHeight: void 0,
2757
+ isAddingUserItem: false,
2758
+ isFetchingNextItems: false,
2759
+ hasItems: false
2760
+ };
2761
+ componentDidMount() {
2762
+ this.addedItemsCount = this.state.items.length;
2763
+ this._setPopupWidth();
2764
+ }
2765
+ componentDidUpdate(prevProps, prevState) {
2766
+ const { isDynamic } = this.props;
2767
+ const { isFetchingNextItems } = this.state;
2768
+ const listRef = this.listRef.current;
2769
+ const isSelectedItemsChanged = prevProps.innerValue !== this.props.innerValue;
2770
+ if (isSelectedItemsChanged && listRef || isFetchingNextItems && listRef) {
2771
+ listRef.forceUpdate();
2772
+ }
2773
+ if (prevProps.inputValue && !this.props.inputValue && isDynamic && listRef) {
2774
+ listRef.scrollTo(0);
2775
+ }
2776
+ if (prevState.items.length !== this.state.items.length) {
2777
+ this.addedItemsCount = prevState.items.length > this.state.items.length ? this.state.items.length : this.state.items.length - prevState.items.length;
2778
+ }
2779
+ if (prevProps.showItemMeta !== this.props.showItemMeta && listRef) {
2780
+ listRef.resetAfterIndex(0);
2781
+ }
2782
+ if (prevProps.errorContent && !this.props.errorContent) {
2783
+ this._setPopupWidth();
2784
+ }
2785
+ }
2786
+ componentWillUnmount() {
2787
+ this._removeObserver();
2788
+ }
2789
+ addedItemsCount = 0;
2790
+ ref = React__default.createRef();
2791
+ listRef = React__default.createRef();
2792
+ observer = null;
2793
+ get items() {
2794
+ const { isItemsGrouped } = this.props;
2795
+ let items = this.state.items;
2796
+ if (isItemsGrouped) {
2797
+ items = [];
2798
+ this.state.items.forEach((group) => {
2799
+ items.push({ groupTitle: group.groupTitle });
2800
+ items = items.concat(group.items);
2801
+ });
2802
+ }
2803
+ return items;
2804
+ }
2805
+ getTouchedItem = () => {
2806
+ return this.state.touchedItem;
2807
+ };
2808
+ setTouchedItem = (touchedItem) => {
2809
+ this.setState({ touchedItem });
2810
+ };
2811
+ _onResize = () => {
2812
+ if (!this.ref.current) {
2813
+ return;
2814
+ }
2815
+ const { minHeight } = this.state;
2816
+ const height = this.ref.current.getBoundingClientRect().height;
2817
+ if (height > minHeight) {
2818
+ this.setState({ minHeight: height });
2819
+ }
2820
+ };
2821
+ _addObserver() {
2822
+ const config = { subtree: true, childList: true };
2823
+ this.observer = new MutationObserver(this._onResize);
2824
+ this.observer.observe(this.ref.current, config);
2825
+ }
2826
+ _setPopupWidth() {
2827
+ if (!this.ref.current) {
2828
+ return;
2829
+ }
2830
+ const { width } = this.ref.current.getBoundingClientRect();
2831
+ this.props.setPopupWidth(width + this._getScrollbarWidth());
2832
+ if (this.props.mobile) {
2833
+ this._addObserver();
2834
+ }
2835
+ }
2836
+ _removeObserver() {
2837
+ if (this.observer) {
2838
+ this.observer.disconnect();
2839
+ }
2840
+ }
2841
+ _getScrollbarWidth() {
2842
+ if (!this.ref.current) {
2843
+ return 0;
2844
+ }
2845
+ const browser = checkBrowser();
2846
+ let offset = 0;
2847
+ if (browser === "Firefox" || browser === "Safari") {
2848
+ offset = this.ref.current.offsetWidth - this.ref.current.clientWidth;
2849
+ }
2850
+ return offset;
2851
+ }
2852
+ _getItemHeight = () => {
2853
+ const { showItemMeta, mobile } = this.props;
2854
+ if (mobile) {
2855
+ return showItemMeta ? MOBILE_ITEM_WITH_META_HEIGHT : MOBILE_ITEM_HEIGHT;
2856
+ }
2857
+ return showItemMeta ? ITEM_WITH_META_HEIGHT : ITEM_HEIGHT;
2858
+ };
2859
+ _getItemSize = (index) => {
2860
+ const items = this.items;
2861
+ const itemHeight = this._getItemHeight();
2862
+ if (!items[index]) {
2863
+ return itemHeight;
2864
+ }
2865
+ return items[index].groupTitle ? GROUP_TITLE_HEIGHT : itemHeight;
2866
+ };
2867
+ _fetchNextItems = async () => {
2868
+ const { fetchItems } = this.props;
2869
+ this.setState({ isFetchingNextItems: true });
2870
+ await fetchItems();
2871
+ this.setState({ isFetchingNextItems: false });
2872
+ };
2873
+ _addUserItem = async () => {
2874
+ const { inputValue, addNewItem } = this.props;
2875
+ this.setState({ isAddingUserItem: true });
2876
+ await addNewItem(inputValue);
2877
+ this.setState({ isAddingUserItem: false });
2878
+ };
2879
+ _onAddButtonClick = (e) => {
2880
+ e.stopPropagation();
2881
+ this._addUserItem();
2882
+ };
2883
+ _renderItem = (item, style = {}) => {
2884
+ const { innerValue } = this.props;
2885
+ const isSelected = innerValue.has(item.value);
2886
+ if (style.left) {
2887
+ delete style.left;
2888
+ }
2889
+ return /* @__PURE__ */ React__default.createElement(
2890
+ Item,
2891
+ {
2892
+ ...this.props,
2893
+ key: item.key || item.value,
2894
+ style,
2895
+ item,
2896
+ isSelected,
2897
+ getTouchedItem: this.getTouchedItem,
2898
+ setTouchedItem: this.setTouchedItem
2899
+ }
2900
+ );
2901
+ };
2902
+ _renderGroupTitle = (title, style = {}) => {
2903
+ return /* @__PURE__ */ React__default.createElement("div", { style, key: title, className: b$2("group-title") }, title);
2904
+ };
2905
+ _itemRenderer = ({ index, style }) => {
2906
+ const { isFetchingNextItems } = this.state;
2907
+ const items = this.items;
2908
+ const item = items[index];
2909
+ if (index === items.length && isFetchingNextItems) {
2910
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$2("loader"), style }, /* @__PURE__ */ React__default.createElement(Loader, { size: "s" }));
2911
+ }
2912
+ if (!item) {
2913
+ return null;
2914
+ }
2915
+ if (item.groupTitle) {
2916
+ return this._renderGroupTitle(item.groupTitle, style);
2917
+ }
2918
+ return this._renderItem(item, style);
2919
+ };
2920
+ _onItemsRendered = ({ visibleStopIndex }) => {
2921
+ const { showMoreItems } = this.props;
2922
+ const { items, isFetchingNextItems } = this.state;
2923
+ const threshold = Math.round(this.addedItemsCount / 3);
2924
+ const needFetch = showMoreItems && !isFetchingNextItems && items.length - visibleStopIndex < threshold;
2925
+ if (needFetch) {
2926
+ this._fetchNextItems();
2927
+ }
2928
+ };
2929
+ _renderItemsWithoutVirtualized() {
2930
+ const { isItemsGrouped } = this.props;
2931
+ const { items } = this.state;
2932
+ if (isItemsGrouped) {
2933
+ return items.map((item) => {
2934
+ const { groupTitle, items: items2 } = item;
2935
+ if (!groupTitle && !items2) {
2936
+ return this._renderItem(item);
2937
+ }
2938
+ const groupTitleNode = this._renderGroupTitle(groupTitle);
2939
+ const groupItems = items2.map((item2) => this._renderItem(item2));
2940
+ return groupItems.length ? [groupTitleNode, ...groupItems] : null;
2941
+ });
2942
+ }
2943
+ return items.map((item) => this._renderItem(item));
2944
+ }
2945
+ // eslint-disable-next-line complexity
2946
+ render() {
2947
+ const {
2948
+ virtualizeThreshold,
2949
+ inputValue,
2950
+ showSearch,
2951
+ showApply,
2952
+ isDynamic,
2953
+ showMoreItems,
2954
+ selectedItemsPopup,
2955
+ mobile,
2956
+ addNewItem,
2957
+ fetchItems,
2958
+ isFetchingItems,
2959
+ isItemsGrouped,
2960
+ fetchError,
2961
+ itemsListTestAnchor,
2962
+ errorContent
2963
+ } = this.props;
2964
+ const { minHeight, hasItems, isAddingUserItem, isFetchingNextItems } = this.state;
2965
+ const items = this.items;
2966
+ if (!hasItems) {
2967
+ return null;
2968
+ }
2969
+ if (isFetchingItems && !isFetchingNextItems) {
2970
+ return /* @__PURE__ */ React__default.createElement("div", { ref: this.ref, className: b$2("loader"), style: { minHeight } }, /* @__PURE__ */ React__default.createElement(Loader, { size: "s" }));
2971
+ }
2972
+ if (fetchError || errorContent) {
2973
+ const { onFetchErrorDetails, fetchErrorDetailsTitle } = this.props;
2974
+ return /* @__PURE__ */ React__default.createElement("div", { ref: this.ref, className: b$2("prompt"), style: { minHeight } }, errorContent ? errorContent : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("span", null, trans$2("items_fetch_error")), /* @__PURE__ */ React__default.createElement("div", { className: b$2("buttons") }, /* @__PURE__ */ React__default.createElement(
2975
+ Button,
2976
+ {
2977
+ disabled: isAddingUserItem,
2978
+ className: b$2("prompt-button", { retry: true }),
2979
+ onClick: fetchItems
2980
+ },
2981
+ trans$2("refresh_button_text")
2982
+ ), onFetchErrorDetails && /* @__PURE__ */ React__default.createElement(
2983
+ Button,
2984
+ {
2985
+ view: "flat",
2986
+ className: b$2("prompt-button"),
2987
+ onClick: () => onFetchErrorDetails(fetchError)
2988
+ },
2989
+ fetchErrorDetailsTitle || trans$2("error_details_button_text")
2990
+ ))));
2991
+ }
2992
+ if (isDynamic && !inputValue && !items.length) {
2993
+ return /* @__PURE__ */ React__default.createElement("div", { ref: this.ref, className: b$2("prompt"), style: { minHeight } }, /* @__PURE__ */ React__default.createElement("span", null, trans$2("items_prompt")));
2994
+ }
2995
+ const isNotFound = !items.length || isItemsGrouped && items.every((group) => group.items && !group.items.length);
2996
+ if (isNotFound) {
2997
+ return /* @__PURE__ */ React__default.createElement("div", { ref: this.ref, className: b$2("prompt"), style: { minHeight } }, /* @__PURE__ */ React__default.createElement("span", null, trans$2("items_not_found", { inputValue })), addNewItem && !isItemsGrouped && /* @__PURE__ */ React__default.createElement(
2998
+ Button,
2999
+ {
3000
+ disabled: isAddingUserItem,
3001
+ className: b$2("prompt-button"),
3002
+ onClick: this._onAddButtonClick
3003
+ },
3004
+ trans$2("items_add_new")
3005
+ ));
3006
+ }
3007
+ const wrapperMods = {
3008
+ "with-search": !selectedItemsPopup && showSearch,
3009
+ "with-selected-title": selectedItemsPopup,
3010
+ "with-apply-button": showApply,
3011
+ grouped: isItemsGrouped,
3012
+ mobile
3013
+ };
3014
+ if (!isDynamic && items.length < virtualizeThreshold) {
3015
+ wrapperMods["without-virtualized"] = true;
3016
+ return /* @__PURE__ */ React__default.createElement(
3017
+ "div",
3018
+ {
3019
+ ref: this.ref,
3020
+ className: b$2(wrapperMods),
3021
+ style: { minHeight },
3022
+ "data-qa": itemsListTestAnchor
3023
+ },
3024
+ this._renderItemsWithoutVirtualized()
3025
+ );
3026
+ }
3027
+ const itemHeight = this._getItemHeight();
3028
+ const itemCount = showMoreItems ? items.length + 1 : items.length;
3029
+ const marginOffset = items.length === 1 ? MARGIN_OFFSET * 2 : MARGIN_OFFSET;
3030
+ return /* @__PURE__ */ React__default.createElement(
3031
+ "div",
3032
+ {
3033
+ ref: this.ref,
3034
+ className: b$2(wrapperMods),
3035
+ style: {
3036
+ minHeight,
3037
+ height: itemCount * itemHeight + marginOffset
3038
+ },
3039
+ "data-qa": itemsListTestAnchor
3040
+ },
3041
+ /* @__PURE__ */ React__default.createElement(AutoSizer, null, ({ width, height }) => /* @__PURE__ */ React__default.createElement(
3042
+ VariableSizeList,
3043
+ {
3044
+ ref: this.listRef,
3045
+ style: { overflowX: "hidden" },
3046
+ width,
3047
+ height,
3048
+ itemSize: this._getItemSize,
3049
+ itemData: items,
3050
+ itemCount,
3051
+ overscanCount: 5,
3052
+ estimatedItemSize: itemHeight,
3053
+ onItemsRendered: this._onItemsRendered
3054
+ },
3055
+ this._itemRenderer
3056
+ ))
3057
+ );
3058
+ }
3059
+ }
3060
+ const trans$1 = I18n.keyset("components.common.YCSelect");
3061
+ const b$1 = block("yc-select-search");
3062
+ class Search extends React__default.PureComponent {
3063
+ static propTypes = {
3064
+ value: PropTypes.string,
3065
+ width: PropTypes.number,
3066
+ minWidth: PropTypes.number,
3067
+ searchButtonSettings: PropTypes.object,
3068
+ onInputUpdate: PropTypes.func,
3069
+ selectAllItems: PropTypes.func,
3070
+ onClick: PropTypes.func
3071
+ };
3072
+ focusInput = () => {
3073
+ if (!this.inputNode) {
3074
+ return;
3075
+ }
3076
+ this.inputNode.focus({ preventScroll: true });
3077
+ };
3078
+ _setInputNode = (ref) => {
3079
+ if (!this.inputNode) {
3080
+ this.inputNode = ref;
3081
+ }
3082
+ };
3083
+ _handleOnClick = () => {
3084
+ if (this.props.onClick) {
3085
+ this.props.onClick();
3086
+ }
3087
+ };
3088
+ render() {
3089
+ const {
3090
+ value,
3091
+ width,
3092
+ minWidth,
3093
+ searchButtonSettings: { isCleaning, visible },
3094
+ onInputUpdate,
3095
+ selectAllItems
3096
+ } = this.props;
3097
+ return /* @__PURE__ */ React__default.createElement(MobileContext.Consumer, null, ({ mobile }) => {
3098
+ const size = mobile ? "xl" : "m";
3099
+ let style;
3100
+ if (!mobile) {
3101
+ style = {
3102
+ width,
3103
+ minWidth
3104
+ };
3105
+ }
3106
+ return /* @__PURE__ */ React__default.createElement("div", { className: b$1(), style, onClick: this._handleOnClick }, /* @__PURE__ */ React__default.createElement("div", { className: b$1("input-wrap") }, /* @__PURE__ */ React__default.createElement(
3107
+ TextInput,
3108
+ {
3109
+ controlRef: mobile ? void 0 : this._setInputNode,
3110
+ view: "clear",
3111
+ size,
3112
+ value,
3113
+ placeholder: trans$1("search_placeholder"),
3114
+ onUpdate: onInputUpdate,
3115
+ clear: true
3116
+ }
3117
+ )), visible && /* @__PURE__ */ React__default.createElement(Button, { view: "flat", size, onClick: selectAllItems }, isCleaning ? trans$1("search_clear") : trans$1("search_select_all")));
3118
+ });
3119
+ }
3120
+ }
3121
+ const MIN_VIRTUALIZED_POPUP_WIDTH = 170;
3122
+ const MAX_CONTROL_WIDTH_WITH_ANIMATION = 500;
3123
+ function isBothEmpty(valueA, valueB) {
3124
+ if (Array.isArray(valueA) && Array.isArray(valueB)) {
3125
+ return valueA.length === 0 && valueB.length === 0;
3126
+ }
3127
+ if (valueA instanceof Set && valueB instanceof Set) {
3128
+ return valueA.size === 0 && valueB.size === 0;
3129
+ }
3130
+ return false;
3131
+ }
3132
+ const trans = I18n.keyset("components.common.YCSelect");
3133
+ const b = block("yc-select");
3134
+ const bControl = block("yc-select-control");
3135
+ const bAction = block("yc-select-action");
3136
+ const bPopup = block("yc-select-popup");
3137
+ const bSheet = block("yc-select-sheet");
3138
+ const DEBOUNCE_DELAY = 350;
3139
+ const THROTTLE_DELAY = 33;
3140
+ const EMPTY_VALUE = "—";
3141
+ const AVAILABLE_POPUP_DIRECTIONS = ["bottom-start", "bottom-end", "top-start", "top-end"];
3142
+ const getModifier = (name) => b({ [name]: true }).split(" ")[1];
3143
+ const ItemShape = PropTypes.shape({
3144
+ value: PropTypes.string.isRequired,
3145
+ title: PropTypes.string.isRequired,
3146
+ key: PropTypes.string,
3147
+ meta: PropTypes.string,
3148
+ icon: PropTypes.node,
3149
+ disabled: PropTypes.bool,
3150
+ url: PropTypes.string
3151
+ });
3152
+ const ItemsGroupShape = PropTypes.shape({
3153
+ groupTitle: PropTypes.string.isRequired,
3154
+ items: PropTypes.arrayOf(ItemShape)
3155
+ });
3156
+ const ItemsShape = PropTypes.oneOfType([
3157
+ PropTypes.array,
3158
+ PropTypes.arrayOf(ItemShape),
3159
+ PropTypes.arrayOf(ItemsGroupShape)
3160
+ ]);
3161
+ const getFlattenItems = ({ items, isItemsGrouped, innerValue }) => {
3162
+ return isItemsGrouped ? _flatMap(
3163
+ items,
3164
+ ({ items: groupedItems }) => groupedItems.filter((item) => innerValue.has(item.value))
3165
+ ) : items.filter((item) => innerValue.has(item.value));
3166
+ };
3167
+ function getInnerValueLength(value) {
3168
+ if (value === void 0 || value === null) {
3169
+ return 0;
3170
+ }
3171
+ return Array.isArray(value) ? value.length : 1;
3172
+ }
3173
+ const arrayProps = ["items", "titles", "innerValue", "prevPropsItems", "shownItems"];
3174
+ function safeStateUpdater(currentState, nextPartialState) {
3175
+ let nextState = currentState;
3176
+ const entries = Object.entries(nextPartialState);
3177
+ for (const [key, nextValue] of entries) {
3178
+ const currentValue = nextState[key];
3179
+ if (arrayProps.includes(key) && !isBothEmpty(currentValue, nextValue) || currentValue !== nextValue) {
3180
+ nextState = { ...nextState, [key]: nextValue };
3181
+ }
3182
+ }
3183
+ return nextState;
3184
+ }
3185
+ class YCSelect extends React__default.PureComponent {
3186
+ static SINGLE = "single";
3187
+ static MULTIPLE = "multiple";
3188
+ static INIT_ITEMS_PLACEHOLDER = "Fetching initial items...";
3189
+ static getInnerValue(value, allowNullableValues) {
3190
+ const checkFunction = allowNullableValues ? isUndefined : isFalsy;
3191
+ if (checkFunction(value)) {
3192
+ return /* @__PURE__ */ new Set();
3193
+ }
3194
+ return Array.isArray(value) ? new Set(value.filter((val) => !checkFunction(val))) : /* @__PURE__ */ new Set([value]);
3195
+ }
3196
+ static getMissingItems(items = [], value, showMissingItems) {
3197
+ if (!showMissingItems) {
3198
+ return [];
3199
+ }
3200
+ const itemsSet = new Set(items.map((item) => item.value));
3201
+ return (Array.isArray(value) ? value : [value]).filter((valueItem) => {
3202
+ return !itemsSet.has(valueItem);
3203
+ }).map((missingValue) => ({
3204
+ value: missingValue,
3205
+ title: missingValue,
3206
+ missing: true
3207
+ }));
3208
+ }
3209
+ static getDerivedStateFromProps(props, state) {
3210
+ const changedState = {};
3211
+ const isPropsItemsChange = props.items !== state.prevPropsItems && !props.getItems;
3212
+ if (isPropsItemsChange) {
3213
+ const missingItems = YCSelect.getMissingItems(
3214
+ props.items,
3215
+ props.value,
3216
+ props.showMissingItems
3217
+ );
3218
+ const items = missingItems.concat(props.items);
3219
+ changedState.prevPropsItems = props.items;
3220
+ changedState.items = items;
3221
+ changedState.isItemsGrouped = YCSelect.isItemsGrouped(props.items);
3222
+ if (state.inputValue) {
3223
+ const regExp = getEscapedRegExp(state.inputValue);
3224
+ if (changedState.isItemsGrouped) {
3225
+ changedState.shownItems = props.items.map((group) => {
3226
+ const groupItems = group.items.filter(
3227
+ (item) => regExp.test(item.title)
3228
+ );
3229
+ return {
3230
+ groupTitle: group.groupTitle,
3231
+ items: groupItems
3232
+ };
3233
+ }).filter((group) => group.items.length);
3234
+ } else {
3235
+ changedState.shownItems = items.filter((item) => regExp.test(item.title));
3236
+ }
3237
+ } else {
3238
+ changedState.shownItems = items;
3239
+ }
3240
+ }
3241
+ if (props.value !== state.prevPropsValue || isPropsItemsChange) {
3242
+ const missingItems = YCSelect.getMissingItems(
3243
+ props.getItems ? state.items.concat(state.selectItems) : props.items,
3244
+ props.value,
3245
+ props.showMissingItems
3246
+ );
3247
+ let items = YCSelect.isItemsGrouped(props.items) ? props.items : missingItems.concat(props.getItems ? state.items : props.items);
3248
+ if (props.getItems) {
3249
+ items = _uniqBy(items.concat(state.selectItems), "value");
3250
+ }
3251
+ changedState.prevPropsValue = props.value;
3252
+ const { innerValue, singleSelectItem, titles } = YCSelect.getInnerValueState(
3253
+ props,
3254
+ items
3255
+ );
3256
+ Object.assign(changedState, { innerValue, singleSelectItem, titles });
3257
+ if (props.getItems) {
3258
+ const length = getInnerValueLength(props.value);
3259
+ if (length !== 0 && titles.length !== length) {
3260
+ changedState.isInitPending = true;
3261
+ } else {
3262
+ changedState.selectItems = _filter(
3263
+ state.selectItems,
3264
+ (item) => innerValue.has(item.value)
3265
+ );
3266
+ }
3267
+ }
3268
+ if (props.showMissingItems) {
3269
+ changedState.items = items;
3270
+ }
3271
+ }
3272
+ return Object.keys(changedState).length > 0 ? changedState : null;
3273
+ }
3274
+ static getInnerValueState(props, items) {
3275
+ const { value, type, showItemIcon, allowNullableValues } = props;
3276
+ const res = {};
3277
+ res.innerValue = YCSelect.getInnerValue(value, allowNullableValues);
3278
+ if (type === YCSelect.SINGLE && showItemIcon) {
3279
+ res.singleSelectItem = YCSelect.getSingleSelectedItem(items, res.innerValue);
3280
+ }
3281
+ res.titles = YCSelect.getTitles(items, res.innerValue);
3282
+ return res;
3283
+ }
3284
+ static getTitles(items, innerValue) {
3285
+ if (!innerValue.size) {
3286
+ return [];
3287
+ }
3288
+ const isItemsGrouped = YCSelect.isItemsGrouped(items);
3289
+ if (isItemsGrouped) {
3290
+ return _flatMap(
3291
+ items,
3292
+ ({ items: groupedItems }) => groupedItems.filter((item) => innerValue.has(item.value)).map((item) => item.title)
3293
+ );
3294
+ }
3295
+ return items.filter((item) => innerValue.has(item.value)).map(({ title }) => getTitleValue(title));
3296
+ }
3297
+ static getSingleSelectedItem(items, innerValue) {
3298
+ const isItemsGrouped = YCSelect.isItemsGrouped(items);
3299
+ if (isItemsGrouped) {
3300
+ const filteredList = items.map(
3301
+ ({ items: groupedItems }) => groupedItems.find((item) => innerValue.has(item.value))
3302
+ ).filter(Boolean);
3303
+ return filteredList[0];
3304
+ }
3305
+ return items.find((item) => innerValue.has(item.value));
3306
+ }
3307
+ static isItemsGrouped(items) {
3308
+ if (!items || !items.length) {
3309
+ return false;
3310
+ }
3311
+ return Object.prototype.hasOwnProperty.call(items[0], "groupTitle");
3312
+ }
3313
+ static propTypes = {
3314
+ onUpdate: PropTypes.func.isRequired,
3315
+ getItems: PropTypes.func,
3316
+ addItem: PropTypes.func,
3317
+ renderSwitcher: PropTypes.func,
3318
+ onOpenChange: PropTypes.func,
3319
+ size: PropTypes.oneOf(["xs", "s", "m", "n", "promo"]),
3320
+ type: PropTypes.oneOf([YCSelect.SINGLE, YCSelect.MULTIPLE]),
3321
+ className: PropTypes.string,
3322
+ popupClassName: PropTypes.string,
3323
+ controlTestAnchor: PropTypes.string,
3324
+ itemsListTestAnchor: PropTypes.string,
3325
+ switcherClassName: PropTypes.string,
3326
+ label: PropTypes.string,
3327
+ limitLabel: PropTypes.bool,
3328
+ itemsLoaderClassName: PropTypes.string,
3329
+ controlWidth: PropTypes.number,
3330
+ popupWidth: PropTypes.number,
3331
+ itemsPageSize: PropTypes.number,
3332
+ virtualizeThreshold: PropTypes.number,
3333
+ showSearch: PropTypes.bool,
3334
+ showArrow: PropTypes.bool,
3335
+ showApply: PropTypes.bool,
3336
+ showItemIcon: PropTypes.bool,
3337
+ showItemMeta: PropTypes.bool,
3338
+ showMissingItems: PropTypes.bool,
3339
+ showSelectAll: PropTypes.bool,
3340
+ allowEmptyValue: PropTypes.bool,
3341
+ allowNullableValues: PropTypes.bool,
3342
+ hiding: PropTypes.bool,
3343
+ disabled: PropTypes.bool,
3344
+ stretched: PropTypes.bool,
3345
+ loading: PropTypes.bool,
3346
+ loadingItems: PropTypes.bool,
3347
+ applyOnOutsideClick: PropTypes.bool,
3348
+ items: ItemsShape,
3349
+ initialItems: ItemsShape,
3350
+ value: (props, propName, componentName) => {
3351
+ const propTypeSpec = props["type"] === YCSelect.SINGLE ? { [propName]: PropTypes.string } : { [propName]: PropTypes.arrayOf(PropTypes.string) };
3352
+ PropTypes.checkPropTypes(propTypeSpec, props, propName, componentName);
3353
+ },
3354
+ placeholder: PropTypes.oneOfType([
3355
+ PropTypes.string,
3356
+ PropTypes.shape({
3357
+ text: PropTypes.string.isRequired,
3358
+ icon: PropTypes.node.isRequired
3359
+ })
3360
+ ]),
3361
+ errorContent: PropTypes.node,
3362
+ onFetchErrorDetails: PropTypes.func,
3363
+ fetchErrorDetailsTitle: PropTypes.string,
3364
+ hasValidationError: PropTypes.bool
3365
+ };
3366
+ constructor(props) {
3367
+ super(props);
3368
+ const {
3369
+ type,
3370
+ value,
3371
+ showItemIcon,
3372
+ showMissingItems,
3373
+ allowNullableValues,
3374
+ getItems,
3375
+ initialItems,
3376
+ controlTestAnchor
3377
+ } = this.props;
3378
+ this.controlRef = React__default.createRef();
3379
+ this.badgeRef = React__default.createRef();
3380
+ this.searchRef = React__default.createRef();
3381
+ this.popupRef = React__default.createRef();
3382
+ this.selectorRef = React__default.createRef();
3383
+ this._publishEvent = eventBroker.withEventPublisher("Select", controlTestAnchor);
3384
+ this.fetchCounter = 0;
3385
+ let items = [];
3386
+ let titles = [];
3387
+ let isInitPending = false;
3388
+ let innerValue = /* @__PURE__ */ new Set();
3389
+ let singleSelectItem;
3390
+ if (getItems && (!this.isEmpty() || initialItems)) {
3391
+ const missingItems = YCSelect.getMissingItems(initialItems, value, showMissingItems);
3392
+ items = missingItems.concat(initialItems || []);
3393
+ isInitPending = true;
3394
+ innerValue = YCSelect.getInnerValue(value, allowNullableValues);
3395
+ } else if (!getItems) {
3396
+ const missingItems = YCSelect.getMissingItems(
3397
+ this.props.items,
3398
+ value,
3399
+ showMissingItems
3400
+ );
3401
+ items = missingItems.concat(this.props.items || []);
3402
+ innerValue = YCSelect.getInnerValue(value, allowNullableValues);
3403
+ titles = YCSelect.getTitles(items, innerValue);
3404
+ }
3405
+ if (type === YCSelect.SINGLE && showItemIcon) {
3406
+ singleSelectItem = YCSelect.getSingleSelectedItem(items, innerValue);
3407
+ }
3408
+ this.state = {
3409
+ items,
3410
+ titles,
3411
+ innerValue,
3412
+ isInitPending,
3413
+ singleSelectItem,
3414
+ prevPropsItems: items,
3415
+ prevPropsValue: value,
3416
+ shownItems: items,
3417
+ selectedPopupItems: [],
3418
+ selectItems: [],
3419
+ inputValue: "",
3420
+ showMainPopup: false,
3421
+ showSelectedPopup: false,
3422
+ isFetchingItems: false,
3423
+ isControlClicked: false,
3424
+ isItemsGrouped: YCSelect.isItemsGrouped(items),
3425
+ fetchError: null
3426
+ };
3427
+ }
3428
+ _updateControlWidth = throttle(() => {
3429
+ if (!this._isMounted) {
3430
+ return;
3431
+ }
3432
+ const controlWidth = Math.ceil(this.controlRef.current.getBoundingClientRect().width);
3433
+ if (this.state.controlWidth !== controlWidth) {
3434
+ this.setState({ controlWidth });
3435
+ }
3436
+ }, THROTTLE_DELAY);
3437
+ componentDidMount() {
3438
+ this._isMounted = true;
3439
+ setTimeout(() => {
3440
+ this._updateControlWidth();
3441
+ }, 0);
3442
+ if (this.state.isInitPending) {
3443
+ this._initItems();
3444
+ }
3445
+ }
3446
+ componentDidUpdate(prevProps) {
3447
+ const { controlWidth } = this.props;
3448
+ if (!prevProps.getItems && this.props.getItems || prevProps.getItems && this.props.getItems && !isEqual(prevProps.initialItems, this.props.initialItems)) {
3449
+ const { type, value, showItemIcon, showMissingItems, allowNullableValues, initialItems } = this.props;
3450
+ this.fetchCounter = 0;
3451
+ let items = [];
3452
+ let isInitPending = false;
3453
+ let innerValue = /* @__PURE__ */ new Set();
3454
+ let singleSelectItem;
3455
+ if (!this.isEmpty() || initialItems) {
3456
+ const missingItems = YCSelect.getMissingItems(
3457
+ initialItems,
3458
+ value,
3459
+ showMissingItems
3460
+ );
3461
+ items = missingItems.concat(initialItems);
3462
+ isInitPending = true;
3463
+ innerValue = YCSelect.getInnerValue(value, allowNullableValues);
3464
+ }
3465
+ const titles = YCSelect.getTitles(items, innerValue);
3466
+ if (type === YCSelect.SINGLE && showItemIcon) {
3467
+ singleSelectItem = YCSelect.getSingleSelectedItem(items, innerValue);
3468
+ }
3469
+ this.setState(
3470
+ safeStateUpdater(this.state, {
3471
+ items,
3472
+ titles,
3473
+ innerValue,
3474
+ isInitPending,
3475
+ singleSelectItem,
3476
+ prevPropsItems: items,
3477
+ prevPropsValue: value,
3478
+ shownItems: items,
3479
+ inputValue: ""
3480
+ })
3481
+ );
3482
+ return;
3483
+ }
3484
+ if (this.state.isInitPending) {
3485
+ this._initItems();
3486
+ }
3487
+ if (controlWidth) {
3488
+ return;
3489
+ }
3490
+ this._updateControlWidth();
3491
+ if (this.selectorRef.current) {
3492
+ if (this.state.showMainPopup) {
3493
+ this.selectorRef.current.addEventListener(
3494
+ "scroll",
3495
+ this._handleSelectorScroll,
3496
+ true
3497
+ );
3498
+ } else {
3499
+ this.selectorRef.current.removeEventListener(
3500
+ "scroll",
3501
+ this._handleSelectorScroll,
3502
+ true
3503
+ );
3504
+ }
3505
+ }
3506
+ }
3507
+ componentWillUnmount() {
3508
+ this._isMounted = false;
3509
+ if (this.selectorRef.current) {
3510
+ this.selectorRef.current.removeEventListener(
3511
+ "scroll",
3512
+ this._handleSelectorScroll,
3513
+ true
3514
+ );
3515
+ }
3516
+ }
3517
+ isEmpty() {
3518
+ const { type, value } = this.props;
3519
+ if (type === YCSelect.SINGLE) {
3520
+ return isFalsy(value);
3521
+ } else {
3522
+ return (value || []).filter((value2) => !isFalsy(value2)).length === 0;
3523
+ }
3524
+ }
3525
+ selectItem = (item) => {
3526
+ const { allowEmptyValue } = this.props;
3527
+ const prevInnerValue = new Set(this.state.innerValue);
3528
+ const innerValue = allowEmptyValue && prevInnerValue.has(item.value) ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([item.value]);
3529
+ const state = {
3530
+ innerValue,
3531
+ showMainPopup: false
3532
+ };
3533
+ this.setState(safeStateUpdater(this.state, state), () => {
3534
+ this._onUpdate();
3535
+ this._onOpenChange({ open: false });
3536
+ });
3537
+ };
3538
+ selectItems = (item) => {
3539
+ const { getItems } = this.props;
3540
+ const { items } = this.state;
3541
+ const innerValue = new Set(this.state.innerValue);
3542
+ if (innerValue.has(item.value)) {
3543
+ innerValue.delete(item.value);
3544
+ } else {
3545
+ innerValue.add(item.value);
3546
+ }
3547
+ const state = {
3548
+ innerValue,
3549
+ selectedCurrentItem: void 0
3550
+ };
3551
+ if (getItems) {
3552
+ state.selectItems = [
3553
+ .../* @__PURE__ */ new Set([...this.state.selectItems, ...this.state.selectedPopupItems, ...items])
3554
+ ].filter((item2) => innerValue.has(item2.value));
3555
+ }
3556
+ this.setState(safeStateUpdater(this.state, state), this._beforeOnUpdate);
3557
+ };
3558
+ onSingleSearchButtonClick = () => {
3559
+ this.setState(
3560
+ safeStateUpdater(this.state, {
3561
+ innerValue: /* @__PURE__ */ new Set(),
3562
+ showMainPopup: false
3563
+ }),
3564
+ this._onUpdate
3565
+ );
3566
+ };
3567
+ onMultipleSearchButtonClick = () => {
3568
+ const { getItems } = this.props;
3569
+ const { items, shownItems, isItemsGrouped } = this.state;
3570
+ const state = {};
3571
+ let shownItemsValue;
3572
+ if (isItemsGrouped) {
3573
+ shownItemsValue = new Set(
3574
+ _flatMap(
3575
+ shownItems,
3576
+ ({ items: groupedItems }) => groupedItems.filter((item) => !item.disabled).map((item) => item.value)
3577
+ )
3578
+ );
3579
+ } else {
3580
+ shownItemsValue = new Set(
3581
+ shownItems.filter((item) => !item.disabled && !item.missing).map((item) => item.value)
3582
+ );
3583
+ }
3584
+ let innerValue = /* @__PURE__ */ new Set([...this.state.innerValue, ...shownItemsValue]);
3585
+ if (innerValue.size === this.state.innerValue.size) {
3586
+ innerValue = new Set(
3587
+ [...this.state.innerValue].filter((innerVal) => !shownItemsValue.has(innerVal))
3588
+ );
3589
+ }
3590
+ state.innerValue = innerValue;
3591
+ if (getItems) {
3592
+ const allItems = /* @__PURE__ */ new Set([
3593
+ ...items,
3594
+ ...this.state.selectedPopupItems,
3595
+ ...this.state.selectItems || []
3596
+ ]);
3597
+ state.selectItems = [...allItems].filter((item) => innerValue.has(item.value));
3598
+ }
3599
+ this.setState(safeStateUpdater(this.state, state), this._beforeOnUpdate);
3600
+ };
3601
+ selectOnlyCurrentItem = (selectedItem) => {
3602
+ const { getItems } = this.props;
3603
+ const {
3604
+ items,
3605
+ selectedCurrentItem: { value: prevSelectedItemValue } = {},
3606
+ shownItems,
3607
+ selectedPopupItems,
3608
+ showSelectedPopup,
3609
+ isItemsGrouped
3610
+ } = this.state;
3611
+ const state = { selectedCurrentItem: void 0 };
3612
+ if (selectedItem.value === prevSelectedItemValue) {
3613
+ const itemsToFilter = showSelectedPopup ? selectedPopupItems : shownItems;
3614
+ let innerValue;
3615
+ if (isItemsGrouped) {
3616
+ innerValue = new Set(
3617
+ _flatMap(
3618
+ itemsToFilter,
3619
+ ({ items: groupedItems }) => groupedItems.filter((item) => !item.disabled && item.value !== selectedItem.value).map((item) => item.value)
3620
+ )
3621
+ );
3622
+ } else {
3623
+ innerValue = new Set(
3624
+ itemsToFilter.filter((item) => !item.disabled && item.value !== selectedItem.value).map((item) => item.value)
3625
+ );
3626
+ }
3627
+ state.innerValue = innerValue;
3628
+ if (getItems) {
3629
+ const allItems = /* @__PURE__ */ new Set([...items, ...this.state.selectedPopupItems]);
3630
+ state.selectItems = [...allItems].filter((item) => innerValue.has(item.value));
3631
+ }
3632
+ } else {
3633
+ state.innerValue = /* @__PURE__ */ new Set([selectedItem.value]);
3634
+ state.selectedCurrentItem = selectedItem;
3635
+ if (getItems) {
3636
+ state.selectItems = [selectedItem];
3637
+ }
3638
+ }
3639
+ this.setState(safeStateUpdater(this.state, state), this._beforeOnUpdate);
3640
+ };
3641
+ addNewItem = async (inputValue) => {
3642
+ const { getItems, addItem } = this.props;
3643
+ await addItem(inputValue);
3644
+ if (getItems) {
3645
+ this._onInputUpdateDynamic(inputValue);
3646
+ } else {
3647
+ this._onInputUpdateStatic(inputValue);
3648
+ }
3649
+ };
3650
+ setPopupWidth = (width) => {
3651
+ this.setState({ popupWidth: width });
3652
+ };
3653
+ _handleSelectorScroll = debounce$1((event) => {
3654
+ const { scrollTop } = event.target || {};
3655
+ this._publishEvent({ eventId: "selector-scroll", meta: { scrollTop } });
3656
+ }, 200);
3657
+ _initItems = async () => {
3658
+ const { value, initialItems, showMissingItems } = this.props;
3659
+ const { initialNextPageToken } = this.state;
3660
+ const exactKeys = new Set(Array.isArray(value) ? value.filter(Boolean) : [value]);
3661
+ const { items: fetchedItems, nextPageToken } = await this.props.getItems({
3662
+ exactKeys: [...exactKeys.values()]
3663
+ });
3664
+ let items = fetchedItems;
3665
+ let shownItems = fetchedItems;
3666
+ if (initialItems && (nextPageToken === initialNextPageToken || !initialNextPageToken)) {
3667
+ items = uniq(this.state.items, fetchedItems);
3668
+ shownItems = items;
3669
+ }
3670
+ const missingItems = YCSelect.getMissingItems(fetchedItems, value, showMissingItems);
3671
+ const { innerValue, singleSelectItem, titles } = YCSelect.getInnerValueState(
3672
+ this.props,
3673
+ missingItems.length ? _uniqBy(fetchedItems.concat(missingItems), "value") : fetchedItems
3674
+ );
3675
+ this.setState(
3676
+ safeStateUpdater(this.state, {
3677
+ items,
3678
+ shownItems,
3679
+ selectItems: fetchedItems,
3680
+ innerValue,
3681
+ titles,
3682
+ singleSelectItem,
3683
+ nextPageToken,
3684
+ initialNextPageToken: nextPageToken,
3685
+ isInitPending: false
3686
+ })
3687
+ );
3688
+ };
3689
+ _fetchItems = async () => {
3690
+ const { getItems, itemsPageSize } = this.props;
3691
+ if (getItems) {
3692
+ const { inputValue, nextPageToken, selectItems = [] } = this.state;
3693
+ this.setState(
3694
+ { isFetchingItems: true },
3695
+ this.popupRef.current && this.popupRef.current.forceUpdate
3696
+ );
3697
+ try {
3698
+ this.fetchCounter += 1;
3699
+ const fetchData = await getItems({
3700
+ searchPattern: inputValue,
3701
+ itemsPageSize,
3702
+ nextPageToken
3703
+ });
3704
+ this.fetchCounter -= 1;
3705
+ if (this.fetchCounter > 0) {
3706
+ this.setState(
3707
+ {
3708
+ fetchError: null,
3709
+ isFetchingItems: true
3710
+ },
3711
+ this.popupRef.current && this.popupRef.current.forceUpdate
3712
+ );
3713
+ return;
3714
+ }
3715
+ const items = uniq(
3716
+ nextPageToken ? this.state.items.concat(fetchData.items) : fetchData.items,
3717
+ selectItems
3718
+ );
3719
+ this.setState(
3720
+ safeStateUpdater(this.state, {
3721
+ items,
3722
+ shownItems: items,
3723
+ nextPageToken: fetchData.nextPageToken,
3724
+ fetchError: null,
3725
+ isFetchingItems: false
3726
+ }),
3727
+ this.popupRef.current && this.popupRef.current.forceUpdate
3728
+ );
3729
+ } catch (error) {
3730
+ this.fetchCounter -= 1;
3731
+ if (this.fetchCounter > 0) {
3732
+ this.setState({
3733
+ fetchError: null,
3734
+ isFetchingItems: true
3735
+ });
3736
+ return;
3737
+ }
3738
+ this.setState({
3739
+ fetchError: error,
3740
+ isFetchingItems: false
3741
+ });
3742
+ }
3743
+ }
3744
+ };
3745
+ _getSearchButtonSettings() {
3746
+ const { type, allowEmptyValue, showSelectAll } = this.props;
3747
+ const { shownItems = [], isItemsGrouped } = this.state;
3748
+ const settings = {
3749
+ isCleaning: true,
3750
+ visible: showSelectAll
3751
+ };
3752
+ if (type === YCSelect.SINGLE) {
3753
+ settings.visible = Boolean(
3754
+ showSelectAll && this.state.innerValue.size && allowEmptyValue
3755
+ );
3756
+ return settings;
3757
+ }
3758
+ if (!shownItems.length) {
3759
+ settings.visible = false;
3760
+ return settings;
3761
+ }
3762
+ let shownItemsValue;
3763
+ if (isItemsGrouped) {
3764
+ shownItemsValue = new Set(
3765
+ _flatMap(
3766
+ shownItems,
3767
+ ({ items: groupedItems }) => groupedItems.filter((item) => !item.disabled).map((item) => item.value)
3768
+ )
3769
+ );
3770
+ } else {
3771
+ shownItemsValue = new Set(
3772
+ shownItems.filter((item) => !item.disabled).map((item) => item.value)
3773
+ );
3774
+ }
3775
+ const innerValue = /* @__PURE__ */ new Set([...this.state.innerValue, ...shownItemsValue]);
3776
+ settings.isCleaning = innerValue.size === this.state.innerValue.size;
3777
+ return settings;
3778
+ }
3779
+ _getOutputItems() {
3780
+ const {
3781
+ innerValue,
3782
+ items,
3783
+ selectItems,
3784
+ selectedPopupItems,
3785
+ showSelectedPopup,
3786
+ isItemsGrouped
3787
+ } = this.state;
3788
+ if (showSelectedPopup) {
3789
+ return getFlattenItems({
3790
+ innerValue,
3791
+ isItemsGrouped,
3792
+ items: selectedPopupItems
3793
+ });
3794
+ }
3795
+ const knownItems = _uniqBy(items.concat(selectItems), "value");
3796
+ return getFlattenItems({
3797
+ innerValue,
3798
+ isItemsGrouped,
3799
+ items: knownItems
3800
+ });
3801
+ }
3802
+ _getPreviousValue = () => {
3803
+ const { value, allowNullableValues } = this.props;
3804
+ const { items, selectItems } = this.state;
3805
+ const knownItems = _uniqBy(items.concat(selectItems), "value");
3806
+ const innerValue = YCSelect.getInnerValue(value, allowNullableValues);
3807
+ const titles = YCSelect.getTitles(knownItems, innerValue);
3808
+ return { innerValue, titles };
3809
+ };
3810
+ _onInputUpdateStatic = (inputValue) => {
3811
+ const { showItemMeta } = this.props;
3812
+ const { items, isItemsGrouped } = this.state;
3813
+ let shownItems;
3814
+ if (inputValue) {
3815
+ const regExp = getEscapedRegExp(inputValue);
3816
+ if (isItemsGrouped) {
3817
+ shownItems = items.map((group) => {
3818
+ const groupItems = group.items.filter(
3819
+ (item) => regExp.test(item.title) || showItemMeta && regExp.test(item.meta)
3820
+ );
3821
+ return {
3822
+ groupTitle: group.groupTitle,
3823
+ items: groupItems
3824
+ };
3825
+ }).filter((group) => group.items.length);
3826
+ } else {
3827
+ shownItems = items.filter(
3828
+ (item) => regExp.test(item.title) || showItemMeta && regExp.test(item.meta)
3829
+ );
3830
+ }
3831
+ } else {
3832
+ shownItems = [...items];
3833
+ }
3834
+ const state = {
3835
+ shownItems,
3836
+ inputValue
3837
+ };
3838
+ this.setState(safeStateUpdater(this.state, state));
3839
+ };
3840
+ _onInputUpdateDynamic = (inputValue) => {
3841
+ const { initialItems } = this.props;
3842
+ if (!inputValue) {
3843
+ this.setState(
3844
+ safeStateUpdater(this.state, {
3845
+ items: initialItems || [],
3846
+ shownItems: initialItems || [],
3847
+ inputValue: "",
3848
+ nextPageToken: this.state.initialNextPageToken,
3849
+ fetchError: false,
3850
+ isFetchingItems: false
3851
+ }),
3852
+ () => {
3853
+ if (this.popupRef.current) {
3854
+ this.popupRef.current.forceUpdate();
3855
+ }
3856
+ if (this.debouncedFetchItems) {
3857
+ this.debouncedFetchItems.cancel();
3858
+ }
3859
+ }
3860
+ );
3861
+ return;
3862
+ }
3863
+ const { nextPageToken } = this.state;
3864
+ this.setState(
3865
+ safeStateUpdater(this.state, {
3866
+ inputValue,
3867
+ prevInputValue: this.state.inputValue,
3868
+ nextPageToken: inputValue === this.state.inputValue ? nextPageToken : void 0,
3869
+ isFetchingItems: true
3870
+ }),
3871
+ () => {
3872
+ if (this.debouncedFetchItems) {
3873
+ this.debouncedFetchItems.cancel();
3874
+ }
3875
+ this.debouncedFetchItems = debounce$1(this._fetchItems, DEBOUNCE_DELAY);
3876
+ this.debouncedFetchItems();
3877
+ if (this.popupRef.current) {
3878
+ this.popupRef.current.forceUpdate();
3879
+ }
3880
+ }
3881
+ );
3882
+ };
3883
+ _onBadgeClick = (e) => {
3884
+ const { getItems, showApply, applyOnOutsideClick, loadingItems } = this.props;
3885
+ const {
3886
+ items,
3887
+ innerValue,
3888
+ showSelectedPopup,
3889
+ selectItems,
3890
+ isItemsGrouped,
3891
+ isControlClicked,
3892
+ showMainPopup
3893
+ } = this.state;
3894
+ if (e.target !== this.badgeRef.current) {
3895
+ return;
3896
+ }
3897
+ let state = {
3898
+ showSelectedPopup: !showSelectedPopup,
3899
+ showMainPopup: false
3900
+ };
3901
+ if (loadingItems) {
3902
+ state = {
3903
+ showMainPopup: !showMainPopup,
3904
+ showSelectedPopup: false
3905
+ };
3906
+ this.setState(state);
3907
+ return;
3908
+ }
3909
+ if (showApply && !applyOnOutsideClick) {
3910
+ state = {
3911
+ ...state,
3912
+ ...this._getPreviousValue()
3913
+ };
3914
+ }
3915
+ if (getItems) {
3916
+ state.selectedPopupItems = _uniqBy(
3917
+ [
3918
+ ...items.filter((item) => (state.innerValue || innerValue).has(item.value)),
3919
+ ...selectItems
3920
+ ],
3921
+ "value"
3922
+ );
3923
+ } else if (isItemsGrouped) {
3924
+ state.selectedPopupItems = items.map((group) => {
3925
+ const groupItems = group.items.filter(
3926
+ (item) => (state.innerValue || innerValue).has(item.value)
3927
+ );
3928
+ return {
3929
+ groupTitle: group.groupTitle,
3930
+ items: groupItems
3931
+ };
3932
+ });
3933
+ } else {
3934
+ state.selectedPopupItems = items.filter(
3935
+ (item) => (state.innerValue || innerValue).has(item.value)
3936
+ );
3937
+ }
3938
+ if (!isControlClicked) {
3939
+ state.isControlClicked = true;
3940
+ }
3941
+ if (!showMainPopup) {
3942
+ this._onOpenChange({ open: state.showSelectedPopup });
3943
+ }
3944
+ this.setState(safeStateUpdater(this.state, state));
3945
+ };
3946
+ _onControlClick = (e) => {
3947
+ const { showMainPopup, isControlClicked, showSelectedPopup } = this.state;
3948
+ const { showApply, applyOnOutsideClick, disabled } = this.props;
3949
+ if (disabled || e.target === this.badgeRef.current) {
3950
+ return;
3951
+ }
3952
+ let state = {
3953
+ showMainPopup: !showMainPopup,
3954
+ showSelectedPopup: false
3955
+ };
3956
+ if (showMainPopup && showApply) {
3957
+ if (applyOnOutsideClick) {
3958
+ this._onUpdate({ isOutsideClick: true });
3959
+ } else {
3960
+ state = {
3961
+ ...state,
3962
+ ...this._getPreviousValue()
3963
+ };
3964
+ }
3965
+ }
3966
+ if (!isControlClicked) {
3967
+ state.isControlClicked = true;
3968
+ }
3969
+ if (!showSelectedPopup) {
3970
+ this._onOpenChange({ open: state.showMainPopup });
3971
+ }
3972
+ this.setState(safeStateUpdater(this.state, state));
3973
+ };
3974
+ _onControlClickCapture = (e) => {
3975
+ this._publishEvent({
3976
+ eventId: "click",
3977
+ domEvent: e
3978
+ });
3979
+ };
3980
+ _onControlKeyPress = (e) => {
3981
+ if (e.nativeEvent.code === "Enter" || e.nativeEvent.code === "Space") {
3982
+ this._onControlClick(e);
3983
+ e.preventDefault();
3984
+ }
3985
+ };
3986
+ _onControlKeyPressCapture = (e) => {
3987
+ if (e.nativeEvent.code === "Enter" || e.nativeEvent.code === "Space") {
3988
+ this._onControlClickCapture(e);
3989
+ }
3990
+ };
3991
+ _onApplyClick = () => {
3992
+ this._onUpdate();
3993
+ this.setState({
3994
+ showMainPopup: false,
3995
+ showSelectedPopup: false
3996
+ });
3997
+ };
3998
+ _beforeOnUpdate() {
3999
+ const { getItems, showApply } = this.props;
4000
+ const { selectItems, innerValue } = this.state;
4001
+ let items = this.state.items;
4002
+ if (getItems) {
4003
+ items = [...new Set(items.concat(selectItems || []))];
4004
+ }
4005
+ if (showApply) {
4006
+ this.setState(
4007
+ safeStateUpdater(this.state, {
4008
+ titles: YCSelect.getTitles(items, innerValue)
4009
+ })
4010
+ );
4011
+ } else {
4012
+ this._onUpdate();
4013
+ }
4014
+ }
4015
+ _onUpdate = ({ isOutsideClick } = {}) => {
4016
+ const { type, allowNullableValues, onUpdate } = this.props;
4017
+ const { innerValue } = this.state;
4018
+ const values = [...innerValue];
4019
+ let outputValues;
4020
+ let outputItems;
4021
+ if (onUpdate.length > 1) {
4022
+ outputItems = this._getOutputItems();
4023
+ }
4024
+ if (type === YCSelect.SINGLE) {
4025
+ const checkFunction = allowNullableValues ? isUndefined : isFalsy;
4026
+ const nullableValue = allowNullableValues ? void 0 : null;
4027
+ outputValues = checkFunction(values[0]) ? nullableValue : values[0];
4028
+ outputItems = outputItems ? outputItems[0] : nullableValue;
4029
+ } else {
4030
+ outputValues = values;
4031
+ }
4032
+ onUpdate(outputValues, { items: outputItems, isOutsideClick });
4033
+ };
4034
+ _onOutsideMainPopupClick = () => {
4035
+ const { showApply, applyOnOutsideClick } = this.props;
4036
+ const { shownItems, isItemsGrouped } = this.state;
4037
+ const isDisabled = isItemsGrouped ? shownItems.every((group) => group.items && !group.items.length) : !shownItems.length;
4038
+ let state = { showMainPopup: false };
4039
+ if (showApply && !isDisabled) {
4040
+ if (applyOnOutsideClick) {
4041
+ this._onUpdate({ isOutsideClick: true });
4042
+ } else {
4043
+ state = {
4044
+ ...state,
4045
+ ...this._getPreviousValue()
4046
+ };
4047
+ }
4048
+ }
4049
+ this.setState(safeStateUpdater(this.state, state));
4050
+ this._onOpenChange({ open: state.showMainPopup });
4051
+ };
4052
+ _onOutsideSelectedItemsPopupClick = () => {
4053
+ const { showApply, applyOnOutsideClick } = this.props;
4054
+ const { selectedPopupItems, isItemsGrouped } = this.state;
4055
+ const isDisabled = isItemsGrouped ? selectedPopupItems.every((group) => group.items && !group.items.length) : !selectedPopupItems.length;
4056
+ let state = { showSelectedPopup: false };
4057
+ if (showApply && !isDisabled) {
4058
+ if (applyOnOutsideClick) {
4059
+ this._onUpdate({ isOutsideClick: true });
4060
+ } else {
4061
+ state = {
4062
+ ...state,
4063
+ ...this._getPreviousValue()
4064
+ };
4065
+ }
4066
+ }
4067
+ this.setState(safeStateUpdater(this.state, state));
4068
+ this._onOpenChange({ open: state.showSelectedPopup });
4069
+ };
4070
+ _onOpenChange = (popupState) => {
4071
+ const { onOpenChange } = this.props;
4072
+ if (onOpenChange && typeof onOpenChange === "function") {
4073
+ onOpenChange(popupState);
4074
+ }
4075
+ };
4076
+ _getPopupMinWidth() {
4077
+ const { controlWidth, type, showSearch, onFetchErrorDetails } = this.props;
4078
+ const { fetchError } = this.state;
4079
+ const errorDetailsMinWidth = fetchError && onFetchErrorDetails ? 250 : void 0;
4080
+ const possibleMinWidth = getPossiblePopupMinWidth({
4081
+ withSearch: showSearch,
4082
+ multiple: type === YCSelect.MULTIPLE
4083
+ });
4084
+ return _max([
4085
+ errorDetailsMinWidth,
4086
+ possibleMinWidth,
4087
+ controlWidth || this.state.controlWidth
4088
+ ]);
4089
+ }
4090
+ _getPopupClassNames() {
4091
+ const { popupClassName, type, showSearch } = this.props;
4092
+ const isMultiply = type === YCSelect.MULTIPLE;
4093
+ const mods = {
4094
+ search: showSearch,
4095
+ multi: isMultiply
4096
+ };
4097
+ let mixins = getModifier("desktop");
4098
+ if (popupClassName) {
4099
+ mixins += " " + popupClassName;
4100
+ }
4101
+ return bPopup(mods, mixins);
4102
+ }
4103
+ _getPopupStyles() {
4104
+ const { controlWidth, virtualizeThreshold, getItems, errorContent } = this.props;
4105
+ const { shownItems = [] } = this.state;
4106
+ const popupStyles = { minWidth: this._getPopupMinWidth() };
4107
+ if (!errorContent) {
4108
+ if (getItems || shownItems.length > virtualizeThreshold || this.props.popupWidth) {
4109
+ const width = this.props.popupWidth || controlWidth || this.state.controlWidth;
4110
+ popupStyles.width = width > MIN_VIRTUALIZED_POPUP_WIDTH ? width : MIN_VIRTUALIZED_POPUP_WIDTH;
4111
+ } else if (this.state.popupWidth) {
4112
+ popupStyles.width = this.state.popupWidth;
4113
+ }
4114
+ }
4115
+ return popupStyles;
4116
+ }
4117
+ _renderTokens() {
4118
+ const { placeholder } = this.props;
4119
+ const { titles, isInitPending } = this.state;
4120
+ let placeholderIcon;
4121
+ let placeholderText;
4122
+ if (placeholder && typeof placeholder === "object") {
4123
+ placeholderIcon = placeholder.icon;
4124
+ placeholderText = placeholder.text;
4125
+ } else if (placeholder) {
4126
+ placeholderText = placeholder;
4127
+ }
4128
+ placeholderText = isInitPending ? YCSelect.INIT_ITEMS_PLACEHOLDER : placeholderText || EMPTY_VALUE;
4129
+ const empty = !titles.length;
4130
+ return /* @__PURE__ */ React__default.createElement("div", { className: bControl("tokens") }, placeholderIcon && !titles.length && /* @__PURE__ */ React__default.createElement("div", { className: bControl("placeholder-icon") }, placeholderIcon), /* @__PURE__ */ React__default.createElement("span", { className: bControl("tokens-text", { empty }) }, empty ? placeholderText : this._renderTitles(titles)));
4131
+ }
4132
+ _renderTitles(titles) {
4133
+ return titles.map((title, index) => {
4134
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, { key: index }, title, index === titles.length - 1 ? "" : ", ");
4135
+ });
4136
+ }
4137
+ _renderControl() {
4138
+ const {
4139
+ controlWidth,
4140
+ size,
4141
+ type,
4142
+ className,
4143
+ label,
4144
+ limitLabel,
4145
+ showArrow,
4146
+ showItemIcon,
4147
+ stretched,
4148
+ disabled,
4149
+ loading,
4150
+ renderSwitcher,
4151
+ switcherClassName,
4152
+ controlTestAnchor,
4153
+ errorContent,
4154
+ hasValidationError
4155
+ } = this.props;
4156
+ const {
4157
+ showMainPopup,
4158
+ showSelectedPopup,
4159
+ innerValue,
4160
+ isInitPending,
4161
+ singleSelectItem: { icon } = {}
4162
+ } = this.state;
4163
+ if (renderSwitcher) {
4164
+ return /* @__PURE__ */ React__default.createElement(
4165
+ "div",
4166
+ {
4167
+ ref: this.controlRef,
4168
+ className: b("switcher", switcherClassName),
4169
+ onClick: this._onControlClick,
4170
+ onClickCapture: this._onControlClickCapture,
4171
+ "data-qa": controlTestAnchor
4172
+ },
4173
+ renderSwitcher()
4174
+ );
4175
+ }
4176
+ const controlMods = {
4177
+ size,
4178
+ focused: showMainPopup || showSelectedPopup,
4179
+ stretched,
4180
+ disabled: disabled || isInitPending || loading,
4181
+ "without-animation": (controlWidth || this.state.controlWidth) > MAX_CONTROL_WIDTH_WITH_ANIMATION,
4182
+ error: Boolean(errorContent) || hasValidationError
4183
+ };
4184
+ const badgeMods = {
4185
+ clicked: showSelectedPopup,
4186
+ "without-arrow": !showArrow
4187
+ };
4188
+ const isMultiply = type === YCSelect.MULTIPLE;
4189
+ const controlStyles = {};
4190
+ if (controlWidth) {
4191
+ controlStyles.width = controlWidth;
4192
+ }
4193
+ return /* @__PURE__ */ React__default.createElement(
4194
+ "div",
4195
+ {
4196
+ ref: this.controlRef,
4197
+ tabIndex: disabled ? -1 : 0,
4198
+ className: className ? bControl(controlMods, className) : bControl(controlMods),
4199
+ style: controlStyles,
4200
+ onClick: this._onControlClick,
4201
+ onClickCapture: this._onControlClickCapture,
4202
+ onKeyPressCapture: this._onControlKeyPressCapture,
4203
+ onKeyPress: this._onControlKeyPress,
4204
+ "data-qa": controlTestAnchor
4205
+ },
4206
+ loading ? /* @__PURE__ */ React__default.createElement("div", { className: bControl("loader") }, /* @__PURE__ */ React__default.createElement(Loader, { size: "s" })) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, label && /* @__PURE__ */ React__default.createElement("span", { className: bControl("label", { limited: limitLabel }) }, label), !isMultiply && showItemIcon && icon && /* @__PURE__ */ React__default.createElement("div", { className: bControl("selected-item-icon") }, icon), this._renderTokens(), isMultiply && Boolean(innerValue.size) && /* @__PURE__ */ React__default.createElement(
4207
+ "div",
4208
+ {
4209
+ ref: this.badgeRef,
4210
+ className: bControl("badge", badgeMods),
4211
+ onClick: this._onBadgeClick
4212
+ },
4213
+ innerValue.size
4214
+ )),
4215
+ showArrow && /* @__PURE__ */ React__default.createElement("div", { className: bControl("arrow", { loading }) }, /* @__PURE__ */ React__default.createElement(Icon, { data: ChevronDown }))
4216
+ );
4217
+ }
4218
+ _renderSearch() {
4219
+ const { controlWidth, type, virtualizeThreshold, getItems } = this.props;
4220
+ const { inputValue, shownItems } = this.state;
4221
+ const inputUpdateHandler = getItems ? this._onInputUpdateDynamic : this._onInputUpdateStatic;
4222
+ let searchWidth;
4223
+ if (getItems || shownItems.length > virtualizeThreshold || this.props.popupWidth) {
4224
+ const width = this.props.popupWidth || controlWidth || this.state.controlWidth;
4225
+ searchWidth = width > MIN_VIRTUALIZED_POPUP_WIDTH ? width : MIN_VIRTUALIZED_POPUP_WIDTH;
4226
+ } else if (this.state.popupWidth) {
4227
+ searchWidth = this.state.popupWidth > this.state.controlWidth ? this.state.popupWidth : this.state.controlWidth;
4228
+ }
4229
+ return /* @__PURE__ */ React__default.createElement(
4230
+ Search,
4231
+ {
4232
+ ref: this.searchRef,
4233
+ value: inputValue,
4234
+ width: this.props.popupWidth || searchWidth,
4235
+ minWidth: _max([this._getPopupMinWidth(), controlWidth || this.state.controlWidth]),
4236
+ searchButtonSettings: this._getSearchButtonSettings(),
4237
+ onInputUpdate: inputUpdateHandler,
4238
+ selectAllItems: type === YCSelect.MULTIPLE ? this.onMultipleSearchButtonClick : this.onSingleSearchButtonClick,
4239
+ onClick: () => this._publishEvent({ eventId: "search-tap" })
4240
+ }
4241
+ );
4242
+ }
4243
+ _renderItems({ selectedPopup = false, mobile = false } = {}) {
4244
+ const {
4245
+ virtualizeThreshold,
4246
+ type,
4247
+ showSearch,
4248
+ showApply,
4249
+ showItemIcon,
4250
+ showItemMeta,
4251
+ getItems,
4252
+ addItem,
4253
+ onFetchErrorDetails,
4254
+ fetchErrorDetailsTitle,
4255
+ itemsListTestAnchor,
4256
+ errorContent
4257
+ } = this.props;
4258
+ const {
4259
+ shownItems,
4260
+ selectedPopupItems,
4261
+ showMainPopup,
4262
+ showSelectedPopup,
4263
+ selectedCurrentItem,
4264
+ inputValue,
4265
+ isFetchingItems,
4266
+ isItemsGrouped,
4267
+ innerValue,
4268
+ nextPageToken,
4269
+ fetchError
4270
+ } = this.state;
4271
+ let props = {
4272
+ innerValue,
4273
+ inputValue,
4274
+ virtualizeThreshold,
4275
+ selectedCurrentItem,
4276
+ selectType: type,
4277
+ showSearch,
4278
+ showApply,
4279
+ showItemIcon,
4280
+ showItemMeta,
4281
+ isItemsGrouped,
4282
+ mobile,
4283
+ itemsListTestAnchor,
4284
+ onItemClick: type === YCSelect.MULTIPLE ? this.selectItems : this.selectItem,
4285
+ selectOnlyCurrentItem: this.selectOnlyCurrentItem,
4286
+ setPopupWidth: this.setPopupWidth,
4287
+ errorContent
4288
+ };
4289
+ if (selectedPopup) {
4290
+ props = {
4291
+ ...props,
4292
+ items: selectedPopupItems,
4293
+ visible: showSelectedPopup,
4294
+ selectedItemsPopup: true
4295
+ };
4296
+ } else {
4297
+ props = {
4298
+ ...props,
4299
+ items: shownItems,
4300
+ visible: showMainPopup,
4301
+ showMoreItems: Boolean(nextPageToken),
4302
+ isDynamic: Boolean(getItems),
4303
+ isFetchingItems,
4304
+ fetchError,
4305
+ onFetchErrorDetails,
4306
+ fetchErrorDetailsTitle,
4307
+ fetchItems: this._fetchItems,
4308
+ addNewItem: addItem ? this.addNewItem : void 0
4309
+ };
4310
+ }
4311
+ return /* @__PURE__ */ React__default.createElement(ItemsWrapper, { ...props });
4312
+ }
4313
+ _renderApplyButton() {
4314
+ const { type, showApply } = this.props;
4315
+ const { shownItems, selectedPopupItems, isItemsGrouped, showMainPopup, showSelectedPopup } = this.state;
4316
+ const isMultiply = type === YCSelect.MULTIPLE;
4317
+ if (!isMultiply || !showApply) {
4318
+ return null;
4319
+ }
4320
+ const isClosing = !showMainPopup && !showSelectedPopup;
4321
+ let isDisabled;
4322
+ if (showMainPopup) {
4323
+ isDisabled = isItemsGrouped ? shownItems.every((group) => group.items && !group.items.length) : !shownItems.length;
4324
+ } else {
4325
+ isDisabled = isItemsGrouped ? selectedPopupItems.every((group) => group.items && !group.items.length) : !selectedPopupItems.length;
4326
+ }
4327
+ return /* @__PURE__ */ React__default.createElement("div", { className: bAction() }, /* @__PURE__ */ React__default.createElement(
4328
+ Button,
4329
+ {
4330
+ view: "action",
4331
+ size: "l",
4332
+ width: "max",
4333
+ onClick: this._onApplyClick,
4334
+ disabled: isDisabled || isClosing
4335
+ },
4336
+ trans("apply_button_text")
4337
+ ));
4338
+ }
4339
+ _renderPopupContent({ isMobile }) {
4340
+ const { showSearch, errorContent, loadingItems, itemsLoaderClassName } = this.props;
4341
+ const shouldRenderSearch = showSearch && !errorContent && (isMobile || this.state.popupWidth);
4342
+ return loadingItems ? /* @__PURE__ */ React__default.createElement("div", { className: bPopup("loader", { mobile: isMobile }, itemsLoaderClassName) }, /* @__PURE__ */ React__default.createElement(Loader, { size: "s" })) : /* @__PURE__ */ React__default.createElement(
4343
+ "div",
4344
+ {
4345
+ style: isMobile ? {} : this._getPopupStyles(),
4346
+ className: isMobile ? {} : this._getPopupClassNames()
4347
+ },
4348
+ shouldRenderSearch && this._renderSearch(),
4349
+ /* @__PURE__ */ React__default.createElement("div", { ref: this.selectorRef }, this._renderItems({ mobile: isMobile })),
4350
+ this._renderApplyButton()
4351
+ );
4352
+ }
4353
+ _renderDesktopContent() {
4354
+ const { showMainPopup, showSelectedPopup, isControlClicked } = this.state;
4355
+ if (!isControlClicked) {
4356
+ return null;
4357
+ }
4358
+ const popupStyles = this._getPopupStyles();
4359
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
4360
+ Popup,
4361
+ {
4362
+ open: showMainPopup,
4363
+ anchorElement: this.controlRef.current,
4364
+ placement: AVAILABLE_POPUP_DIRECTIONS,
4365
+ onOpenChange: (open) => {
4366
+ if (!open) {
4367
+ this._onOutsideMainPopupClick();
4368
+ }
4369
+ },
4370
+ initialFocus: 0
4371
+ },
4372
+ this._renderPopupContent({ isMobile: false })
4373
+ ), /* @__PURE__ */ React__default.createElement(
4374
+ Popup,
4375
+ {
4376
+ open: showSelectedPopup,
4377
+ anchorElement: this.controlRef.current,
4378
+ placement: AVAILABLE_POPUP_DIRECTIONS,
4379
+ onOpenChange: (open) => {
4380
+ if (!open) {
4381
+ this._onOutsideSelectedItemsPopupClick();
4382
+ }
4383
+ }
4384
+ },
4385
+ /* @__PURE__ */ React__default.createElement("div", { style: popupStyles, className: this._getPopupClassNames() }, /* @__PURE__ */ React__default.createElement("div", { className: bPopup("select-title") }, trans("selected_popup_title")), this._renderItems({ selectedPopup: true }), this._renderApplyButton())
4386
+ ));
4387
+ }
4388
+ _renderMobileContent() {
4389
+ const { label } = this.props;
4390
+ const { showMainPopup, showSelectedPopup } = this.state;
4391
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
4392
+ Sheet,
4393
+ {
4394
+ id: "yc-select-main",
4395
+ title: label,
4396
+ visible: showMainPopup,
4397
+ contentClassName: bSheet(null, getModifier("mobile")),
4398
+ allowHideOnContentScroll: false,
4399
+ onClose: this._onOutsideMainPopupClick
4400
+ },
4401
+ this._renderPopupContent({ isMobile: true })
4402
+ ), /* @__PURE__ */ React__default.createElement(
4403
+ Sheet,
4404
+ {
4405
+ id: "yc-select-selected",
4406
+ title: label,
4407
+ visible: showSelectedPopup,
4408
+ contentClassName: bSheet(null, getModifier("mobile")),
4409
+ allowHideOnContentScroll: false,
4410
+ onClose: this._onOutsideSelectedItemsPopupClick
4411
+ },
4412
+ /* @__PURE__ */ React__default.createElement("div", { className: bPopup("select-title") }, trans("selected_popup_title")),
4413
+ this._renderItems({ selectedPopup: true, mobile: true }),
4414
+ this._renderApplyButton()
4415
+ ));
4416
+ }
4417
+ render() {
4418
+ return /* @__PURE__ */ React__default.createElement(MobileContext.Consumer, null, ({ mobile }) => {
4419
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, this._renderControl(), mobile ? this._renderMobileContent() : this._renderDesktopContent());
4420
+ });
4421
+ }
4422
+ }
4423
+ const YCSelectDefaultProps = {
4424
+ size: "s",
4425
+ itemsPageSize: 100,
4426
+ virtualizeThreshold: 100,
4427
+ type: YCSelect.SINGLE,
4428
+ items: [],
4429
+ showSearch: true,
4430
+ showArrow: true,
4431
+ stretched: true,
4432
+ showApply: false,
4433
+ showItemIcon: false,
4434
+ showItemMeta: false,
4435
+ showMissingItems: false,
4436
+ allowEmptyValue: false,
4437
+ allowNullableValues: false,
4438
+ showSelectAll: true,
4439
+ hiding: false,
4440
+ disabled: false,
4441
+ loading: false,
4442
+ applyOnOutsideClick: true,
4443
+ loadingItems: false
4444
+ };
4445
+ YCSelect.defaultProps = YCSelectDefaultProps;
4446
+ export {
4447
+ Datepicker as D,
4448
+ RangeInputPicker as R,
4449
+ YCSelect as Y,
4450
+ DatepickerControl as a
4451
+ };